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
c75ff0e710ace516504836a7c03b7b23e1b70f42
1,481
py
Python
SlideShow/SlideShow/migrations/0001_initial.py
waiterorg/Django-OwlCarousel
a802082f76286664f695b913cb6baa6a9a341496
[ "MIT" ]
null
null
null
SlideShow/SlideShow/migrations/0001_initial.py
waiterorg/Django-OwlCarousel
a802082f76286664f695b913cb6baa6a9a341496
[ "MIT" ]
null
null
null
SlideShow/SlideShow/migrations/0001_initial.py
waiterorg/Django-OwlCarousel
a802082f76286664f695b913cb6baa6a9a341496
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-05-02 09:14 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Article', ...
34.44186
119
0.562458
135
1,481
6.066667
0.459259
0.029304
0.034188
0.053724
0.288156
0.200244
0.200244
0.200244
0.200244
0.200244
0
0.016409
0.300473
1,481
42
120
35.261905
0.774131
0.029034
0
0.4
1
0
0.0961
0
0
0
0
0
0
1
0
false
0
0.085714
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c7632df1fdc7a9d173a65a5ede553dd43ed06d6b
517
py
Python
Examples/example_fdmnes_analysis.py
DanPorter/Dans_Diffaction
74aea3d2b54d841271f22841f405a9a7c6fa1c81
[ "Apache-2.0" ]
22
2018-05-03T13:13:43.000Z
2022-02-28T16:55:45.000Z
Examples/example_fdmnes_analysis.py
DanPorter/Dans_Diffaction
74aea3d2b54d841271f22841f405a9a7c6fa1c81
[ "Apache-2.0" ]
7
2018-05-21T06:01:13.000Z
2022-03-25T10:39:35.000Z
Examples/example_fdmnes_analysis.py
DanPorter/Dans_Diffaction
74aea3d2b54d841271f22841f405a9a7c6fa1c81
[ "Apache-2.0" ]
6
2020-03-08T17:40:50.000Z
2022-02-28T04:49:31.000Z
""" Dans_Diffraction Examples Analyse FDMNES results """ import sys,os import numpy as np import matplotlib.pyplot as plt # Plotting from mpl_toolkits.mplot3d import Axes3D # 3D plotting cf = os.path.dirname(__file__) sys.path.insert(0,os.path.join(cf,'..')) import Dans_Diffraction as dif output_path = r'C:\Users\gr...
20.68
60
0.760155
81
517
4.716049
0.592593
0.054974
0.057592
0
0
0
0
0
0
0
0
0.028139
0.106383
517
24
61
21.541667
0.798701
0.135397
0
0.1875
0
0
0.109589
0.098174
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
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
c77708571f3adf5c991ed2d7304703daec0dc2ff
392
py
Python
my_pytoch/requires_grad.py
beijing-penguin/pytorch-tutorial
986aade6848ef4809975aa029ae83d8bb84fd26e
[ "MIT" ]
null
null
null
my_pytoch/requires_grad.py
beijing-penguin/pytorch-tutorial
986aade6848ef4809975aa029ae83d8bb84fd26e
[ "MIT" ]
null
null
null
my_pytoch/requires_grad.py
beijing-penguin/pytorch-tutorial
986aade6848ef4809975aa029ae83d8bb84fd26e
[ "MIT" ]
null
null
null
import torch from builtins import print x = torch.ones(2, 2, requires_grad=True) print(x) y = x + 2 print(y) print(y.grad_fn) z = y * y * 3 out = z.mean() print("out = ",out) print(z, out) print("out = ",out) out.backward() print("x.grad = ",x.grad) a = torch.randn(2, 2) a = ((a * 3) / (a - 1)) print("a = ",a) a.r...
14
40
0.586735
76
392
2.960526
0.302632
0.035556
0.142222
0
0
0
0
0
0
0
0
0.025078
0.186224
392
27
41
14.518519
0.680251
0
0
0.095238
0
0
0.074169
0
0
0
0
0
0
1
0
false
0
0.095238
0
0.095238
0.52381
0
0
0
null
0
0
0
0
0
0
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
c7773a6d34d2dbc5ef8ce7afab02a81e5cb7788b
3,581
py
Python
backend/rest_users/models.py
sinamohsenifar/Techsaw
76e6962df0aaa188bf80bbe62416075ce2077d95
[ "MIT" ]
null
null
null
backend/rest_users/models.py
sinamohsenifar/Techsaw
76e6962df0aaa188bf80bbe62416075ce2077d95
[ "MIT" ]
null
null
null
backend/rest_users/models.py
sinamohsenifar/Techsaw
76e6962df0aaa188bf80bbe62416075ce2077d95
[ "MIT" ]
null
null
null
from distutils.command.upload import upload from django.db import models from django.contrib.auth.models import AbstractUser # Create your models here. from django.contrib.auth.validators import UnicodeUsernameValidator import os import shutil import uuid from django.utils.translation import gettext_lazy as _ from djan...
35.455446
116
0.627758
388
3,581
5.613402
0.358247
0.045455
0.034894
0.028926
0.210285
0.170799
0.124885
0.124885
0.085399
0.045914
0
0.003836
0.271991
3,581
101
117
35.455446
0.831607
0.053058
0
0.105263
0
0
0.16238
0.026615
0
0
0
0
0
1
0.052632
false
0.052632
0.131579
0.013158
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
c777b224feb69b84548181b6024ecab6538f1635
483
py
Python
Code/settings.py
PacktPublishing/Modern-Python-Cookbook
40ff656c64421ddf6c288e058bb99a929f6d4c39
[ "MIT" ]
107
2016-11-30T02:13:39.000Z
2022-03-31T06:38:59.000Z
Code/settings.py
fengfanzhiwu/Modern-Python-Cookbook
8eff962f6eae514d531beca9051aefa34941ef4d
[ "MIT" ]
2
2017-04-19T04:08:21.000Z
2019-03-09T16:18:33.000Z
Code/settings.py
fengfanzhiwu/Modern-Python-Cookbook
8eff962f6eae514d531beca9051aefa34941ef4d
[ "MIT" ]
71
2017-01-16T06:35:17.000Z
2022-03-01T21:25:54.000Z
"""Python Cookbook Chapter 13, recipe 4 settings """ class Configuration: """ Generic Configuration """ url = { 'scheme': 'http', 'netloc': 'forecast.weather.gov', 'path': '/shmrn.php' } class Bahamas(Configuration): """ Weather forecast for Offshore including the Bahama...
17.888889
55
0.575569
45
483
6.177778
0.733333
0.143885
0
0
0
0
0
0
0
0
0
0.033613
0.26087
483
26
56
18.576923
0.745098
0.304348
0
0
0
0
0.253521
0
0
0
0
0
0
1
0
false
0
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c778d3d5c9ca82d94335d61106915c3ce081c411
665
py
Python
models/landmarks_models/lanmdarks_sequential_model.py
hearai/hearai
2f2bc2923fa2bb170d9ed895c3f638e99811442f
[ "MIT" ]
16
2021-12-16T20:19:31.000Z
2022-03-19T15:59:23.000Z
models/landmarks_models/lanmdarks_sequential_model.py
hearai/hearai
2f2bc2923fa2bb170d9ed895c3f638e99811442f
[ "MIT" ]
34
2021-12-21T19:33:31.000Z
2022-03-31T19:04:39.000Z
models/landmarks_models/lanmdarks_sequential_model.py
hearai/hearai
2f2bc2923fa2bb170d9ed895c3f638e99811442f
[ "MIT" ]
5
2021-12-18T22:35:20.000Z
2022-02-20T12:26:39.000Z
import torch.nn as nn from models.common.simple_sequential_model import SimpleSequentialModel class LandmarksSequentialModel(nn.Module): """ Basic sequential model for processing landmarks """ def __init__(self, representation_size=1024, dropout_rate=0.2): super().__init__() self.representat...
35
83
0.651128
67
665
6.164179
0.507463
0.217918
0.106538
0.125908
0
0
0
0
0
0
0
0.014523
0.275188
665
18
84
36.944444
0.842324
0.070677
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.083333
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c77927198c9c90cdd7e04fee254facc32446c77d
472
py
Python
test/__init__.py
sd0408/amazon-cloudwatch-alarms-controller-for-kubernetes
cd778768363bf5575be0a73cab3b375950bc8c94
[ "MIT-0" ]
3
2021-08-13T17:21:06.000Z
2021-12-18T00:13:05.000Z
test/__init__.py
sd0408/amazon-cloudwatch-alarms-controller-for-kubernetes
cd778768363bf5575be0a73cab3b375950bc8c94
[ "MIT-0" ]
null
null
null
test/__init__.py
sd0408/amazon-cloudwatch-alarms-controller-for-kubernetes
cd778768363bf5575be0a73cab3b375950bc8c94
[ "MIT-0" ]
1
2021-08-04T19:19:26.000Z
2021-08-04T19:19:26.000Z
""" Holds common functions for test """ import json import os import sys from os import environ environ["AWS_DEFAULT_REGION"] = "us-west-2" sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) def fixture_json(filename): """ Loads a file as json from the fixtures folder """ full_path = os.path.j...
29.5
77
0.716102
72
472
4.458333
0.513889
0.074766
0.062305
0.074766
0.168224
0.168224
0.168224
0
0
0
0
0.004975
0.148305
472
15
78
31.466667
0.793532
0.165254
0
0
0
0
0.097368
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c77c30c3f8763927d91a0883cdc7a3c129abc4a2
344
py
Python
tianshou/env/__init__.py
allegro/tianshou
3592f45446e6cc98423df2f1c28d8ca0ef2be821
[ "MIT" ]
4,714
2018-04-16T22:52:05.000Z
2022-03-31T14:14:51.000Z
tianshou/env/__init__.py
GradientDescentEX/tianshou
3592f45446e6cc98423df2f1c28d8ca0ef2be821
[ "MIT" ]
529
2020-03-26T00:58:03.000Z
2022-03-31T01:59:14.000Z
tianshou/env/__init__.py
GradientDescentEX/tianshou
3592f45446e6cc98423df2f1c28d8ca0ef2be821
[ "MIT" ]
798
2018-05-26T23:34:07.000Z
2022-03-30T11:26:19.000Z
"""Env package.""" from tianshou.env.maenv import MultiAgentEnv from tianshou.env.venvs import ( BaseVectorEnv, DummyVectorEnv, RayVectorEnv, ShmemVectorEnv, SubprocVectorEnv, ) __all__ = [ "BaseVectorEnv", "DummyVectorEnv", "SubprocVectorEnv", "ShmemVectorEnv", "RayVectorEnv",...
17.2
44
0.677326
25
344
9.16
0.56
0.104803
0.131004
0
0
0
0
0
0
0
0
0
0.209302
344
19
45
18.105263
0.841912
0.034884
0
0
0
0
0.251534
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
c77eabdf244bcaed80b0228508406f50c9c67227
828
py
Python
test/third/pywvad-test.py
yehuohan/ln-asr
f035548b262c126c10adc43592375d343b29ea02
[ "MIT" ]
2
2021-09-07T16:48:14.000Z
2021-12-23T01:10:53.000Z
test/third/pywvad-test.py
yehuohan/ln-asr
f035548b262c126c10adc43592375d343b29ea02
[ "MIT" ]
null
null
null
test/third/pywvad-test.py
yehuohan/ln-asr
f035548b262c126c10adc43592375d343b29ea02
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys,os sys.path.append(os.getcwd() + '/../../') sys.path.append(os.getcwd() + '/../../third/pywvad') from lnasr.utils import read_pcm import wvad import pywvad import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt def on_key(event:mpl.backend_bases.KeyEvent): i...
19.714286
52
0.650966
144
828
3.673611
0.4375
0.05293
0.049149
0.056711
0.41966
0.340265
0.340265
0.340265
0.340265
0.340265
0
0.047686
0.138889
828
41
53
20.195122
0.69425
0.280193
0
0
0
0
0.102389
0
0
0
0
0
0
1
0.047619
false
0
0.333333
0
0.380952
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c785200fe65bae899961e5e3348bea742b50fc25
781
py
Python
examples/system.py
regnarg/butter
31e8c280e6fc061fd2e146b092843f1983c67194
[ "BSD-3-Clause" ]
4
2017-11-13T22:22:55.000Z
2017-11-14T15:25:35.000Z
examples/system.py
regnarg/butter
31e8c280e6fc061fd2e146b092843f1983c67194
[ "BSD-3-Clause" ]
null
null
null
examples/system.py
regnarg/butter
31e8c280e6fc061fd2e146b092843f1983c67194
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import os path = "/tmp/test" print("Mounting temp filesystem at {}".format(path)) try: os.mkdir(path) except OSError: pass mount('tmpfs-testing', path, 'tmpfs') #print("Pivoting to temp filesystem") #pivot_root('/tmp', '/tmp') print("Unmounting temp filesystem") umount(path) hostname ...
20.025641
52
0.683739
100
781
5.32
0.47
0.078947
0.090226
0.086466
0.116541
0.116541
0
0
0
0
0
0
0.138284
781
38
53
20.552632
0.79049
0.104994
0
0.222222
0
0
0.351079
0
0
0
0
0
0
1
0
false
0.037037
0.037037
0
0.037037
0.444444
0
0
0
null
0
0
0
0
0
0
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
c785264f368b02cab439d8a80b3d68b6b6ca8a2c
309
py
Python
amos/urls.py
chuckoy/grabyaya
5fbd7135cc74bdbb29c6d86b1b202b37b94e1660
[ "MIT" ]
null
null
null
amos/urls.py
chuckoy/grabyaya
5fbd7135cc74bdbb29c6d86b1b202b37b94e1660
[ "MIT" ]
null
null
null
amos/urls.py
chuckoy/grabyaya
5fbd7135cc74bdbb29c6d86b1b202b37b94e1660
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # django from django.conf.urls import url from django.contrib.auth.decorators import login_required # views from .views import (IndexView) # django admin from django.contrib import admin admin.autodiscover() urlpatterns = [ url(r'^$', IndexView.as_view(), name='amos_index') ]
18.176471
57
0.724919
41
309
5.390244
0.609756
0.135747
0.153846
0
0
0
0
0
0
0
0
0.003774
0.142395
309
16
58
19.3125
0.830189
0.152104
0
0
0
0
0.046693
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
c787e9e3457f16f5d0a3aae234a0d7f76fa5eb26
758
py
Python
final_project/machinetranslation/tests/test_translator.py
breezypay13/xzceb-flask_eng_fr
b0c610da9b7788f514cec24797b08ab11e7045a1
[ "Apache-2.0" ]
null
null
null
final_project/machinetranslation/tests/test_translator.py
breezypay13/xzceb-flask_eng_fr
b0c610da9b7788f514cec24797b08ab11e7045a1
[ "Apache-2.0" ]
null
null
null
final_project/machinetranslation/tests/test_translator.py
breezypay13/xzceb-flask_eng_fr
b0c610da9b7788f514cec24797b08ab11e7045a1
[ "Apache-2.0" ]
null
null
null
import unittest from machinetranslation.translator import french_to_english from machinetranslation.translator import english_to_french null = '' class TestTranslator(unittest.TestCase): def test_f2e(self): b = 'Bonjour' self.assertEqual(french_to_english(b), 'Hello') pass self.as...
26.137931
60
0.670185
86
758
5.604651
0.383721
0.06639
0.124481
0.157676
0.307054
0.307054
0
0
0
0
0
0.005076
0.220317
758
28
61
27.071429
0.810491
0
0
0.181818
0
0
0.083113
0
0
0
0
0
0.272727
1
0.090909
false
0.227273
0.136364
0
0.272727
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c7885d1200c2ab414702e96f55fe1cd8c7858883
34,566
py
Python
overdrive.py
datalogics-cgreen/server_core
4459314cd2cdb92b7cabeed8fd1125d8c5cb7941
[ "Apache-2.0" ]
null
null
null
overdrive.py
datalogics-cgreen/server_core
4459314cd2cdb92b7cabeed8fd1125d8c5cb7941
[ "Apache-2.0" ]
1
2017-05-12T22:14:16.000Z
2017-05-12T22:14:16.000Z
overdrive.py
datalogics-cgreen/server_core
4459314cd2cdb92b7cabeed8fd1125d8c5cb7941
[ "Apache-2.0" ]
2
2017-05-12T21:27:53.000Z
2021-08-04T12:27:25.000Z
from nose.tools import set_trace import base64 import datetime import isbnlib import os import json import logging import urlparse import urllib import sys from config import ( temp_config, Configuration, ) from model import ( Contributor, Credential, DataSource, DeliveryMechanism, Editio...
37.530945
158
0.574698
3,487
34,566
5.514769
0.166045
0.00728
0.00936
0.010608
0.253406
0.182423
0.127509
0.115237
0.091368
0.076651
0
0.004329
0.338367
34,566
920
159
37.571739
0.836511
0.054504
0
0.168776
0
0.011252
0.10991
0.005715
0
0
0
0
0
0
null
null
0
0.02391
null
null
0.002813
0
0
0
null
0
0
0
0
0
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
c78b2699aca3a144a92d0128209880d37d12fb13
968
py
Python
Bugscan_exploits-master/exp_list/exp-2184.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
11
2020-05-30T13:53:49.000Z
2021-03-17T03:20:59.000Z
Bugscan_exploits-master/exp_list/exp-2184.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-13T03:25:18.000Z
2020-07-21T06:24:16.000Z
Bugscan_exploits-master/exp_list/exp-2184.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-30T13:53:51.000Z
2020-12-01T21:44:26.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ POC Name : TerraMaster NAS网络存储服务器 任意文件下载 Author : a mail : a@lcx.cc """ import urlparse def assign(service, arg): if service == 'terramaster': arr = urlparse.urlparse(arg) return True, '%s://%s/' % (arr.scheme, arr.ne...
31.225806
127
0.588843
127
968
4.409449
0.606299
0.078571
0.157143
0.185714
0.201786
0
0
0
0
0
0
0.074468
0.223141
968
31
128
31.225806
0.670213
0.315083
0
0
0
0
0.294212
0.173633
0
0
0
0
0
1
0.153846
false
0
0.153846
0
0.384615
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
c78df139328e1ba3c99c0d0f3620723b744395b1
2,463
py
Python
dfirtrack_artifacts/tests/artifacttype/test_artifacttype_forms.py
blackhatethicalhacking/dfirtrack
9c2e13015291f2981d14d63c9683e7c447e91f3a
[ "MIT" ]
4
2020-03-06T17:37:09.000Z
2020-03-17T07:50:55.000Z
dfirtrack_artifacts/tests/artifacttype/test_artifacttype_forms.py
blackhatethicalhacking/dfirtrack
9c2e13015291f2981d14d63c9683e7c447e91f3a
[ "MIT" ]
null
null
null
dfirtrack_artifacts/tests/artifacttype/test_artifacttype_forms.py
blackhatethicalhacking/dfirtrack
9c2e13015291f2981d14d63c9683e7c447e91f3a
[ "MIT" ]
1
2020-03-06T20:54:52.000Z
2020-03-06T20:54:52.000Z
from django.test import TestCase from dfirtrack_artifacts.forms import ArtifacttypeForm class ArtifacttypeFormTestCase(TestCase): """ artifacttype form tests """ def test_artifacttype_name_form_label(self): """ test form label """ # get object form = ArtifacttypeForm() # compa...
37.892308
321
0.704019
195
2,463
8.671795
0.246154
0.094619
0.078652
0.120047
0.517445
0.426966
0.394441
0.374335
0.374335
0.270846
0
0.001029
0.210719
2,463
64
322
38.484375
0.868827
0.140479
0
0.259259
0
0
0.344039
0.248662
0
0
0
0
0.259259
1
0.259259
false
0
0.074074
0
0.37037
0
0
0
0
null
0
0
0
0
0
0
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
c78f81152dbed8914d346ebe2cf4aa24c158f74f
2,251
py
Python
bcipy/acquisition/demo/demo_client_and_server.py
theGreenJedi/BciPy
222ac9b79f1ab3374e888be9e9b8d86f88d1bc82
[ "MIT" ]
1
2020-07-28T16:59:24.000Z
2020-07-28T16:59:24.000Z
bcipy/acquisition/demo/demo_client_and_server.py
sci-tab/BciPy
6f3aaa8cefaa198f66567f9de829c7eda5dbf686
[ "MIT" ]
5
2021-06-08T23:56:19.000Z
2022-03-12T00:57:00.000Z
bcipy/acquisition/demo/demo_client_and_server.py
theGreenJedi/BciPy
222ac9b79f1ab3374e888be9e9b8d86f88d1bc82
[ "MIT" ]
null
null
null
# pylint: disable=fixme """Demo script demonstrating both the acquisition server and client.""" def main(): """Creates a sample client that reads data from a sample TCP server (see demo/server.py). Data is written to a rawdata.csv file, as well as a buffer.db sqlite3 database. These files are written in w...
33.102941
78
0.644158
274
2,251
5.208029
0.430657
0.025228
0.056062
0.022425
0.215137
0.215137
0.187807
0.187807
0.187807
0.187807
0
0.010107
0.252777
2,251
67
79
33.597015
0.838288
0.24789
0
0.243902
0
0
0.170379
0
0
0
0
0.014925
0
1
0.02439
false
0
0.146341
0
0.170732
0.146341
0
0
0
null
0
0
0
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
c7928d5cfefce7a19cd9a433f27c4b6a8c16aeda
901
py
Python
authors/apps/articles/filter.py
andela/ah-django-unchained
a4e5f6cd11fdc0b9422020693ac1200b849cf0f3
[ "BSD-3-Clause" ]
null
null
null
authors/apps/articles/filter.py
andela/ah-django-unchained
a4e5f6cd11fdc0b9422020693ac1200b849cf0f3
[ "BSD-3-Clause" ]
26
2019-01-07T14:22:05.000Z
2019-02-28T17:11:48.000Z
authors/apps/articles/filter.py
andela/ah-django-unchained
a4e5f6cd11fdc0b9422020693ac1200b849cf0f3
[ "BSD-3-Clause" ]
3
2019-09-19T22:16:09.000Z
2019-10-16T21:16:16.000Z
from django_filters import rest_framework as filters from rest_framework.generics import ListAPIView from .serializers import ArticleSerializer from .models import Article class ArticleFilter(filters.FilterSet): author = filters.CharFilter(field_name='author__username', lookup_expr...
34.653846
75
0.733629
96
901
6.677083
0.479167
0.079563
0.102964
0.121685
0
0
0
0
0
0
0
0
0.17869
901
25
76
36.04
0.866216
0
0
0
0
0
0.076582
0
0
0
0
0
0
1
0.052632
false
0
0.210526
0.052632
0.842105
0
0
0
0
null
0
0
0
0
0
0
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
c79c547818d5d7f9aa7446080e11c2a6390d8c77
2,304
py
Python
src/raspberrypi/trainLBPHFaceRecognizer_raspberry.py
FlorianBergeron/security-camera_computer-vision
eff4ae2bbbd385bb4900feaf1896a592080f6d06
[ "MIT" ]
null
null
null
src/raspberrypi/trainLBPHFaceRecognizer_raspberry.py
FlorianBergeron/security-camera_computer-vision
eff4ae2bbbd385bb4900feaf1896a592080f6d06
[ "MIT" ]
null
null
null
src/raspberrypi/trainLBPHFaceRecognizer_raspberry.py
FlorianBergeron/security-camera_computer-vision
eff4ae2bbbd385bb4900feaf1896a592080f6d06
[ "MIT" ]
null
null
null
import os import cv2 import pickle import numpy as np from face_recognition import * from src.variables.global_variables import * def trainModel_raspberry(): # Variables current_id = 0 label_ids = {} x_train = [] y_labels = [] try: os.mkdir(DATA_DIR) except: ...
29.922078
122
0.569444
271
2,304
4.682657
0.376384
0.031521
0.016548
0.030733
0.148148
0.105595
0
0
0
0
0
0.012378
0.333767
2,304
77
123
29.922078
0.814332
0.143663
0
0.18
0
0
0.142857
0
0
0
0
0
0
1
0.02
false
0.06
0.12
0
0.14
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c7a08d7527f6fec58b5f91ce997314c4789e8e9a
2,100
py
Python
configs/DOTA1.5/r3det_dcl/cfgs_res50_dota1.5_r3det_dcl_v1.py
chisyliu/RotationDetection
6f2bd55a51a6de0bcd0959a85977682511fd440d
[ "Apache-2.0" ]
2
2022-03-05T09:55:49.000Z
2022-03-05T10:12:51.000Z
configs/DOTA1.5/r3det_dcl/cfgs_res50_dota1.5_r3det_dcl_v1.py
ZhangRan24/RotationDetection
85791a4ec944bb0b14b8721193477eb0f582e981
[ "Apache-2.0" ]
null
null
null
configs/DOTA1.5/r3det_dcl/cfgs_res50_dota1.5_r3det_dcl_v1.py
ZhangRan24/RotationDetection
85791a4ec944bb0b14b8721193477eb0f582e981
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import division, print_function, absolute_import import numpy as np from alpharotate.utils.pretrain_zoo import PretrainModelZoo from configs._base_.models.retinanet_r50_fpn import * from configs._base_.datasets.dota_detection import * from configs._base_.schedules.schedule_1x i...
26.25
72
0.769524
296
2,100
5.206081
0.601351
0.028553
0.038936
0.027255
0.044127
0.044127
0.044127
0.044127
0
0
0
0.200439
0.132857
2,100
79
73
26.582278
0.645799
0.051429
0
0
0
0
0.069533
0.05764
0
0
0
0
0
1
0
false
0
0.206897
0
0.206897
0.034483
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
c7a9eabc5eb91dc2a815a546a7288fca8d413934
2,685
py
Python
src/brouwers/shop/payments/sisow/constants.py
modelbrouwers/modelbrouwers
e0ba4819bf726d6144c0a648fdd4731cdc098a52
[ "MIT" ]
6
2015-03-03T13:23:07.000Z
2021-12-19T18:12:41.000Z
src/brouwers/shop/payments/sisow/constants.py
modelbrouwers/modelbrouwers
e0ba4819bf726d6144c0a648fdd4731cdc098a52
[ "MIT" ]
95
2015-02-07T00:55:39.000Z
2022-02-08T20:22:05.000Z
src/brouwers/shop/payments/sisow/constants.py
modelbrouwers/modelbrouwers
e0ba4819bf726d6144c0a648fdd4731cdc098a52
[ "MIT" ]
2
2016-03-22T16:53:26.000Z
2019-02-09T22:46:04.000Z
from django.utils.translation import ugettext_lazy as _ from djchoices import ChoiceItem, DjangoChoices class Payments(DjangoChoices): """ Possible payment methods """ ideal = ChoiceItem("ideal", label=_("iDEAL")) idealqr = ChoiceItem("idealqr", label=_("iDEAL QR")) overboeking = ChoiceItem(...
41.307692
97
0.65959
258
2,685
6.728682
0.395349
0.020161
0.048963
0.043779
0
0
0
0
0
0
0
0
0.195158
2,685
64
98
41.953125
0.803332
0.008939
0
0.109091
0
0
0.350095
0
0
0
0
0
0
1
0
false
0
0.036364
0
0.672727
0
0
0
0
null
0
0
0
0
0
0
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
c7b1313ccc9d4e45e1f47b7b76f84c39bc9d802a
1,518
py
Python
blaze/expr/utils.py
jreback/blaze
85c39335cac4ef7f2921a7f621bc13525880fc44
[ "BSD-3-Clause" ]
1
2015-05-17T23:17:12.000Z
2015-05-17T23:17:12.000Z
blaze/expr/utils.py
jreback/blaze
85c39335cac4ef7f2921a7f621bc13525880fc44
[ "BSD-3-Clause" ]
null
null
null
blaze/expr/utils.py
jreback/blaze
85c39335cac4ef7f2921a7f621bc13525880fc44
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import, division, print_function class _slice(object): """ A hashable slice object >>> _slice(0, 10, None) 0:10 """ def __init__(self, start, stop, step): self.start = start self.stop = stop self.step = step def __hash__(self): r...
24.095238
66
0.588933
195
1,518
4.369231
0.241026
0.073944
0.061033
0.059859
0.329812
0.329812
0.21831
0
0
0
0
0.010176
0.287879
1,518
62
67
24.483871
0.777983
0.12253
0
0.111111
0
0
0.001559
0
0
0
0
0
0
1
0.194444
false
0
0.027778
0.083333
0.555556
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c7b1df4927cf3af37646ed91e6f2b30c7231feaa
777
py
Python
examples/material/steps/snackbar_steps.py
xrg/behave_manners
93cb570e04af870f3401048d26dd7f0e8350759e
[ "BSD-2-Clause" ]
3
2020-02-02T11:11:44.000Z
2021-11-17T22:21:18.000Z
examples/material/steps/snackbar_steps.py
xrg/behave_manners
93cb570e04af870f3401048d26dd7f0e8350759e
[ "BSD-2-Clause" ]
null
null
null
examples/material/steps/snackbar_steps.py
xrg/behave_manners
93cb570e04af870f3401048d26dd7f0e8350759e
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -* from __future__ import print_function from behave import given, when, then, step from behave_manners.step_utils import implies from behave_manners.pagelems.scopes import DOMScope import time @given(u'I set duration to {num}') def step_set_duration(context, num): context.cur_element['duratio...
25.064516
51
0.736165
115
777
4.782609
0.443478
0.072727
0.061818
0
0
0
0
0
0
0
0
0.001486
0.133848
777
30
52
25.9
0.81575
0.02574
0
0
0
0
0.168659
0.029216
0
0
0
0
0.052632
1
0.210526
false
0
0.263158
0
0.473684
0.052632
0
0
0
null
0
0
0
0
0
0
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
c7b28bbb99b0d5ed6d680068dd1912e12b359b31
10,321
py
Python
AutotestWebD/apps/deployment_tool/views/deployment_tool.py
ltx100/sosotest_opensource
57f2312bd4c43575046b0d2763ab5621af4144dd
[ "MIT" ]
1
2022-03-31T02:41:53.000Z
2022-03-31T02:41:53.000Z
AutotestWebD/apps/deployment_tool/views/deployment_tool.py
ltx100/sosotest_opensource
57f2312bd4c43575046b0d2763ab5621af4144dd
[ "MIT" ]
null
null
null
AutotestWebD/apps/deployment_tool/views/deployment_tool.py
ltx100/sosotest_opensource
57f2312bd4c43575046b0d2763ab5621af4144dd
[ "MIT" ]
null
null
null
from apps.common.model.RedisDBConfig import * from django.views.decorators.csrf import csrf_exempt from apps.common.func.WebFunc import * from apps.common.config import commonWebConfig import datetime,requests,time from urllib import parse import datetime import requests import time from urllib import parse from djang...
46.282511
289
0.654588
1,117
10,321
6.000895
0.222919
0.027898
0.035506
0.013427
0.312547
0.216172
0.166642
0.166642
0.138296
0.107564
0
0.007749
0.199787
10,321
222
290
46.490991
0.80385
0.04486
0
0.293814
0
0.010309
0.232081
0.050761
0
0
0
0
0
1
0.030928
false
0.056701
0.072165
0
0.175258
0.010309
0
0
0
null
0
0
0
0
0
0
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
c7b3eb3ccb26b8b77ffb2f14852a4f62ca99b071
323
py
Python
labscode/ind2.py
ReyBek/lb6
7e4e49711ff9ba7c545a88f8995910d393bbfed0
[ "MIT" ]
null
null
null
labscode/ind2.py
ReyBek/lb6
7e4e49711ff9ba7c545a88f8995910d393bbfed0
[ "MIT" ]
null
null
null
labscode/ind2.py
ReyBek/lb6
7e4e49711ff9ba7c545a88f8995910d393bbfed0
[ "MIT" ]
null
null
null
s = input("Введите предложение: ") l = len(s) n = 0 r = 0 d = 0 while n < 1: if (s[r] == "А") or (s[r] == "а"): print("Буква 'а' есть в предложении, порядковый номер буквы -", r + 1) n = l + 1 d = 1 else r = r + 1 n = n + 1 if d != 1: print("Буква 'а' нет в предложени...
21.533333
78
0.452012
56
323
2.607143
0.446429
0.027397
0.054795
0
0
0
0
0
0
0
0
0.049261
0.371517
323
15
79
21.533333
0.669951
0
0
0
0
0
0.320988
0
0
0
0
0
0
0
null
null
0
0
null
null
0.133333
0
0
0
null
0
0
0
0
0
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
c7b9917745918eccdd80d7ba757bfba7f7d7f99c
312
py
Python
Python/problem02.py
koturn/FiveProgrammingProblems
bde99ae3b559c17bf21d0854d2317e43c8278123
[ "MIT" ]
1
2015-11-08T06:38:01.000Z
2015-11-08T06:38:01.000Z
Python/problem02.py
koturn/FiveProgrammingProblems
bde99ae3b559c17bf21d0854d2317e43c8278123
[ "MIT" ]
null
null
null
Python/problem02.py
koturn/FiveProgrammingProblems
bde99ae3b559c17bf21d0854d2317e43c8278123
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- def problem02(lst1, lst2): retlst = [] for e1, e2 in zip(lst1, lst2): retlst.append(e1) retlst.append(e2) return retlst + lst1[len(lst2) :] + lst2[len(lst1) :] if __name__ == '__main__': print problem02(['a', 'b', 'c'], [1, 2, 3])
22.285714
57
0.548077
44
312
3.704545
0.681818
0.09816
0.171779
0
0
0
0
0
0
0
0
0.084388
0.240385
312
13
58
24
0.603376
0.134615
0
0
0
0
0.041045
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
1
c7b9962e6091ede02525f5f2f72c44ac8830510a
185
py
Python
NOV25/01.py
Razdeep/PythonSnippets
76f9313894f511c487a99bc38bdf0fe5e594caf5
[ "MIT" ]
null
null
null
NOV25/01.py
Razdeep/PythonSnippets
76f9313894f511c487a99bc38bdf0fe5e594caf5
[ "MIT" ]
null
null
null
NOV25/01.py
Razdeep/PythonSnippets
76f9313894f511c487a99bc38bdf0fe5e594caf5
[ "MIT" ]
null
null
null
# WAP to traverse a string using for loop and while loop text='Hello World' for i in text: print(i,end='') print() i=0 while(i<len(text)): print(text[i],end='') i+=1 print()
18.5
56
0.632432
35
185
3.342857
0.571429
0.153846
0
0
0
0
0
0
0
0
0
0.013423
0.194595
185
10
57
18.5
0.771812
0.291892
0
0.222222
0
0
0.084615
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
0
0
0
0
0
0
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
c7bb0fa14b9fa39f99ef61e9d40d3d2c4bc4c067
1,194
py
Python
app/models/theme.py
Allen7D/mini-shop-server
5f3ddd5a4e5e99a1e005f11abc620cefff2493fc
[ "MIT" ]
533
2019-01-19T07:12:00.000Z
2022-03-30T09:08:46.000Z
app/models/theme.py
Alimazing/mini-shop-server
5f3ddd5a4e5e99a1e005f11abc620cefff2493fc
[ "MIT" ]
8
2019-06-10T03:58:54.000Z
2021-06-10T08:21:19.000Z
app/models/theme.py
Allen7D/mini-shop-server
5f3ddd5a4e5e99a1e005f11abc620cefff2493fc
[ "MIT" ]
161
2019-01-24T04:06:21.000Z
2022-03-14T06:05:16.000Z
# _*_ coding: utf-8 _*_ """ Created by Allen7D on 2018/6/17. """ from sqlalchemy import Column, Integer, String from sqlalchemy.orm import relationship, backref from app.core.db import EntityModel as Base, db from app.models.image import Image __author__ = 'Allen7D' class Theme(Base): '''商城活动主题''' __table...
32.27027
107
0.687605
161
1,194
4.888199
0.447205
0.038119
0.057179
0.045743
0.246506
0.246506
0.246506
0.149936
0
0
0
0.0154
0.184255
1,194
36
108
33.166667
0.792608
0.068677
0
0.166667
0
0
0.105936
0
0
0
0
0
0
1
0.125
false
0
0.166667
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c7c4f2a8c3c59aed3f6ec2fa563b352343cabb16
5,939
py
Python
features/extensions/apigee/install.py
SauarvD/jazz-installer
ec1df0a1a67c3f76a721ecc441b9961c02b5c2c1
[ "Apache-2.0" ]
null
null
null
features/extensions/apigee/install.py
SauarvD/jazz-installer
ec1df0a1a67c3f76a721ecc441b9961c02b5c2c1
[ "Apache-2.0" ]
null
null
null
features/extensions/apigee/install.py
SauarvD/jazz-installer
ec1df0a1a67c3f76a721ecc441b9961c02b5c2c1
[ "Apache-2.0" ]
null
null
null
import click from extensions.apigee.terraformBugWorkaround import runTerraform,\ linkNewRoleToExistingFunctionWithCLI,\ getTerraformOutputVar,\ featureName,\ ...
34.132184
108
0.64691
679
5,939
5.46539
0.266568
0.038534
0.044462
0.062247
0.330639
0.259768
0.216653
0.190784
0.143897
0.143897
0
0.005179
0.252231
5,939
173
109
34.32948
0.830444
0.029803
0
0.267081
0
0.006211
0.206915
0.050035
0
0
0
0.00578
0
1
0.012422
false
0.130435
0.037267
0
0.055901
0
0
0
0
null
0
0
0
0
0
0
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
c7c60bb118c6e5d4f48c37b579632564013d9ed6
236
py
Python
topCoder/srms/300s/srm300/div2/taxi.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
25
2015-01-21T16:39:18.000Z
2021-05-24T07:01:24.000Z
topCoder/srms/300s/srm300/div2/taxi.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
2
2020-09-30T19:39:36.000Z
2020-10-01T17:15:16.000Z
topCoder/srms/300s/srm300/div2/taxi.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
15
2015-01-21T16:39:27.000Z
2020-10-01T17:00:22.000Z
class Taxi: def maxDis(self, maxX, maxY, taxiDis): m = -1.0 for i in xrange(maxX + 1): y = taxiDis - i if 0 <= y <= maxY: m = max(m, (i ** 2 + y ** 2) ** 0.5) return m
26.222222
52
0.389831
35
236
2.628571
0.6
0
0
0
0
0
0
0
0
0
0
0.062992
0.461864
236
8
53
29.5
0.661417
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c7c9ffc3500db236abef790be06eeb10af82dd08
1,147
py
Python
tests/test_tag_handlers.py
onap/integration-data-provider
0565394ecbd96730bf982909693514ab88703708
[ "Apache-2.0" ]
null
null
null
tests/test_tag_handlers.py
onap/integration-data-provider
0565394ecbd96730bf982909693514ab88703708
[ "Apache-2.0" ]
null
null
null
tests/test_tag_handlers.py
onap/integration-data-provider
0565394ecbd96730bf982909693514ab88703708
[ "Apache-2.0" ]
null
null
null
from unittest.mock import patch, PropertyMock import pytest from onap_data_provider.tag_handlers import join, generate_random_uuid, resource_property def test_generate_random_uuid(): uuid1 = generate_random_uuid(None, None) uuid2 = generate_random_uuid(None, None) assert isinstance(uuid1, str) asser...
38.233333
89
0.778553
150
1,147
5.62
0.36
0.075919
0.132859
0.081851
0.39739
0.335706
0.155397
0
0
0
0
0.012871
0.119442
1,147
29
90
39.551724
0.821782
0
0
0.095238
1
0
0.159547
0.044464
0
0
0
0
0.190476
1
0.142857
false
0
0.142857
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c7caea8ada29941670bd8ac279d162fe6537556c
8,667
py
Python
pxr/usd/lib/usdShade/testenv/testUsdShadeGetValueProducingAttribute.py
YuqiaoZhang/USD
bf3a21e6e049486441440ebf8c0387db2538d096
[ "BSD-2-Clause" ]
5
2017-11-06T10:21:18.000Z
2020-04-02T13:20:55.000Z
pxr/usd/lib/usdShade/testenv/testUsdShadeGetValueProducingAttribute.py
YuqiaoZhang/USD
bf3a21e6e049486441440ebf8c0387db2538d096
[ "BSD-2-Clause" ]
1
2020-07-07T22:39:42.000Z
2020-07-07T22:39:42.000Z
pxr/usd/lib/usdShade/testenv/testUsdShadeGetValueProducingAttribute.py
YuqiaoZhang/USD
bf3a21e6e049486441440ebf8c0387db2538d096
[ "BSD-2-Clause" ]
null
null
null
#!/pxrpythonsubst # # Copyright 2019 Pixar # # Licensed under the Apache License, Version 2.0 (the "Apache License") # with the following modification; you may not use this file except in # compliance with the Apache License and the following modification to it: # Section 6. Trademarks. is deleted and replaced with: # ...
48.691011
86
0.607938
707
8,667
7.415842
0.272984
0.057219
0.078962
0.106428
0.575815
0.549495
0.484646
0.484646
0.484646
0.484646
0
0.004815
0.209184
8,667
177
87
48.966102
0.76014
0.295835
0
0.509804
0
0
0.176665
0.11023
0
0
0
0
0.27451
0
null
null
0
0.019608
null
null
0.009804
0
0
0
null
0
0
0
0
0
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
c7cb7414d3ade28e706add395355a3689dac3a31
4,352
py
Python
gpu_bdb/queries/q09/gpu_bdb_query_09_dask_sql.py
VibhuJawa/gpu-bdb
13987b4ef8b92db3b9d2905dec7bd2fd81f42ae9
[ "Apache-2.0" ]
62
2020-05-14T13:33:02.000Z
2020-10-29T13:28:26.000Z
gpu_bdb/queries/q09/gpu_bdb_query_09_dask_sql.py
VibhuJawa/gpu-bdb
13987b4ef8b92db3b9d2905dec7bd2fd81f42ae9
[ "Apache-2.0" ]
104
2020-07-01T21:07:42.000Z
2020-11-13T16:36:04.000Z
gpu_bdb/queries/q09/gpu_bdb_query_09_dask_sql.py
VibhuJawa/gpu-bdb
13987b4ef8b92db3b9d2905dec7bd2fd81f42ae9
[ "Apache-2.0" ]
21
2020-05-14T14:44:40.000Z
2020-11-07T12:08:28.000Z
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
33.221374
75
0.644761
595
4,352
4.258824
0.243697
0.063931
0.031965
0.028414
0.485004
0.239937
0.239937
0.239937
0.140095
0.11247
0
0.060577
0.283088
4,352
130
76
33.476923
0.751603
0.130055
0
0.056604
0
0
0.628647
0.190981
0
0
0
0
0
1
0.018868
false
0
0.037736
0
0.066038
0
0
0
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
c7d09d101b0bfa9914b70e36fd7d158e911a4950
1,595
py
Python
flatisfy/database/types.py
Phyks/Flatisfy
9e495bb63ec32686e6dc6be566da9672ad014880
[ "MIT" ]
15
2017-06-07T07:17:47.000Z
2021-04-22T21:04:32.000Z
flatisfy/database/types.py
Phyks/Flatisfy
9e495bb63ec32686e6dc6be566da9672ad014880
[ "MIT" ]
15
2017-06-13T11:12:02.000Z
2021-03-27T12:28:42.000Z
flatisfy/database/types.py
Phyks/Flatisfy
9e495bb63ec32686e6dc6be566da9672ad014880
[ "MIT" ]
5
2017-09-23T20:13:34.000Z
2021-01-16T09:17:09.000Z
# coding: utf-8 """ This modules implements custom types in SQLAlchemy. """ from __future__ import absolute_import, print_function, unicode_literals import json import sqlalchemy.types as types class StringyJSON(types.TypeDecorator): """ Stores and retrieves JSON as TEXT for SQLite. From https://av...
29.537037
88
0.672727
207
1,595
5.120773
0.545894
0.025472
0.018868
0.024528
0.132075
0.04717
0.04717
0
0
0
0
0.004188
0.251411
1,595
53
89
30.09434
0.883585
0.572414
0
0.285714
0
0
0.010753
0
0
0
0
0
0
1
0.142857
false
0
0.214286
0
0.642857
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c7d854a57524cee2abd59b4de49f84998780a5ca
293
py
Python
src/olympia/blocklist/migrations/0010_merge_20200120_0426.py
shashwatsingh/addons-server
8fce98901104349055a828b5a47865f5e8f4120b
[ "BSD-3-Clause" ]
843
2016-02-09T13:00:37.000Z
2022-03-20T19:17:06.000Z
src/olympia/blocklist/migrations/0010_merge_20200120_0426.py
shashwatsingh/addons-server
8fce98901104349055a828b5a47865f5e8f4120b
[ "BSD-3-Clause" ]
10,187
2016-02-05T23:51:05.000Z
2022-03-31T15:24:44.000Z
src/olympia/blocklist/migrations/0010_merge_20200120_0426.py
shashwatsingh/addons-server
8fce98901104349055a828b5a47865f5e8f4120b
[ "BSD-3-Clause" ]
551
2016-02-08T20:32:16.000Z
2022-03-15T16:49:24.000Z
# Generated by Django 2.2.9 on 2020-01-20 04:26 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blocklist', '0009_blocksumission_rm_processed_guids'), ('blocklist', '0009_merge_20200117_0302'), ] operations = [ ]
19.533333
64
0.672355
34
293
5.588235
0.823529
0.136842
0
0
0
0
0
0
0
0
0
0.152174
0.215017
293
14
65
20.928571
0.673913
0.153584
0
0
1
0
0.325203
0.252033
0
0
0
0
0
1
0
false
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c7dd765e80b875159b21cd6228d34e771cfdf35b
2,125
py
Python
get_operational.py
labeveryday/startnow-with-restconf
08fa1568145a7879af7377a33be4efadce7bf494
[ "BSD-3-Clause" ]
null
null
null
get_operational.py
labeveryday/startnow-with-restconf
08fa1568145a7879af7377a33be4efadce7bf494
[ "BSD-3-Clause" ]
null
null
null
get_operational.py
labeveryday/startnow-with-restconf
08fa1568145a7879af7377a33be4efadce7bf494
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python """ Copyright 2016 Cisco Systems All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of co...
41.666667
85
0.745412
297
2,125
5.282828
0.555556
0.038241
0.016571
0.020395
0
0
0
0
0
0
0
0.010882
0.178353
2,125
50
86
42.5
0.887743
0.610353
0
0
0
0
0.253149
0.105793
0
0
0
0
0
1
0.05
false
0.15
0.1
0
0.2
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c7de43eb7b3f2ed3aa8dc30b8919c959ee9ce628
3,983
py
Python
users/awf/ks_to_expr.py
tomjaguarpaw/knossos-ksc
8fa75e67c0db8f632b135379740051cd10ff31f2
[ "MIT" ]
31
2021-09-09T16:09:55.000Z
2022-02-20T02:15:19.000Z
users/awf/ks_to_expr.py
tomjaguarpaw/knossos-ksc
8fa75e67c0db8f632b135379740051cd10ff31f2
[ "MIT" ]
40
2021-08-06T14:30:08.000Z
2022-01-19T08:49:52.000Z
users/awf/ks_to_expr.py
tomjaguarpaw/knossos-ksc
8fa75e67c0db8f632b135379740051cd10ff31f2
[ "MIT" ]
5
2021-08-06T11:20:31.000Z
2022-01-07T19:39:40.000Z
import argparse import os import sys from typing import List, NamedTuple, Union # Generate expressions for "Hashing modulo alpha equivalence", PLDI2021 ############################################################################ # Oops, some of this code was written by functional programmers... import resource # res...
27.853147
95
0.645493
569
3,983
4.347979
0.237258
0.044462
0.054972
0.05093
0.143088
0.047696
0.027486
0.027486
0
0
0
0.005075
0.208386
3,983
142
96
28.049296
0.779575
0.08009
0
0.053763
1
0
0.097684
0
0
0
0
0
0.053763
1
0.064516
false
0
0.086022
0.010753
0.397849
0.021505
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
c7e455f30323b91632492aadb28ef05b1b8fbc87
3,221
py
Python
circuitpython/CIRC02/eight_leds.py
brentru/METROX-Examples-and-Project-Sketches-1
2412a92043e1073b389a4b412a83446620913db3
[ "MIT" ]
null
null
null
circuitpython/CIRC02/eight_leds.py
brentru/METROX-Examples-and-Project-Sketches-1
2412a92043e1073b389a4b412a83446620913db3
[ "MIT" ]
null
null
null
circuitpython/CIRC02/eight_leds.py
brentru/METROX-Examples-and-Project-Sketches-1
2412a92043e1073b389a4b412a83446620913db3
[ "MIT" ]
null
null
null
""" 'eight_leds.py'. ================================================= lights up 8 leds with different animations """ import time import board import digitalio led_pins = [digitalio.DigitalInOut(board.D2), digitalio.DigitalInOut(board.D3), digitalio.DigitalInOut(board.D4), digitali...
26.619835
61
0.595157
486
3,221
3.699588
0.148148
0.10901
0.163515
0.210234
0.620133
0.543382
0.485539
0.485539
0.159622
0.141824
0
0.029974
0.285315
3,221
120
62
26.841667
0.751086
0.111146
0
0.378947
0
0
0
0
0
0
0
0
0
1
0.042105
false
0
0.031579
0
0.073684
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
c7e9c66adf2a6e2314193a9f5e0aa2cf9dac0328
475
py
Python
netbox/extras/__init__.py
xcorp/netbox
48b9c9da932dc736710d9c14793067093f8f1bde
[ "Apache-2.0" ]
6
2017-12-01T05:13:39.000Z
2020-01-23T13:04:43.000Z
netbox/extras/__init__.py
xcorp/netbox
48b9c9da932dc736710d9c14793067093f8f1bde
[ "Apache-2.0" ]
9
2019-01-20T08:35:13.000Z
2022-03-12T00:50:13.000Z
netbox/extras/__init__.py
xcorp/netbox
48b9c9da932dc736710d9c14793067093f8f1bde
[ "Apache-2.0" ]
3
2017-11-18T01:28:22.000Z
2018-05-17T14:04:43.000Z
from django.conf import settings from django.core.exceptions import ImproperlyConfigured default_app_config = 'extras.apps.ExtrasConfig' # check that django-rq is installed and we can connect to redis if settings.WEBHOOKS_ENABLED: try: import django_rq except ImportError: raise ImproperlyConf...
29.6875
76
0.72
59
475
5.728814
0.745763
0.071006
0.059172
0
0
0
0
0
0
0
0
0
0.231579
475
15
77
31.666667
0.926027
0.128421
0
0
0
0
0.317961
0.058252
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c7eb7186971f8b8ef2e1dc5fa2ab4955d6644eaa
1,367
py
Python
axiom/test/brokenapp.py
hawkowl/axiom
8636e29aa224d05388a0f58106dc29f895b82209
[ "MIT" ]
23
2015-01-08T07:29:32.000Z
2021-11-03T11:27:48.000Z
axiom/test/brokenapp.py
hawkowl/axiom
8636e29aa224d05388a0f58106dc29f895b82209
[ "MIT" ]
109
2015-01-08T05:54:56.000Z
2022-03-02T04:06:40.000Z
axiom/test/brokenapp.py
hawkowl/axiom
8636e29aa224d05388a0f58106dc29f895b82209
[ "MIT" ]
16
2015-01-08T07:08:43.000Z
2021-07-28T02:53:17.000Z
# -*- test-case-name: axiom.test.test_upgrading -*- from axiom.item import Item from axiom.attributes import text, integer, reference, inmemory from axiom.upgrade import registerUpgrader class UpgradersAreBrokenHere(Exception): """ The upgraders in this module are broken. They raise this exception. """...
22.783333
72
0.716898
146
1,367
6.623288
0.363014
0.043433
0.040331
0.062048
0.128232
0
0
0
0
0
0
0.018936
0.188734
1,367
59
73
23.169492
0.853021
0.087052
0
0.228571
0
0
0.070674
0
0
0
0
0
0
1
0.114286
false
0
0.085714
0
0.657143
0
0
0
0
null
0
0
0
0
0
0
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
1bdbd88a1e4695e597caa0d8b53d5d212317974c
2,023
py
Python
infrastructure_victorgalvez.online.py
vhgalvez/Documentation_IT
1c36c2f19854ed2a3b43f1d092e3bfd75e034e69
[ "MIT" ]
1
2022-01-19T01:34:02.000Z
2022-01-19T01:34:02.000Z
infrastructure_victorgalvez.online.py
vhgalvez/Documentation_IT
1c36c2f19854ed2a3b43f1d092e3bfd75e034e69
[ "MIT" ]
null
null
null
infrastructure_victorgalvez.online.py
vhgalvez/Documentation_IT
1c36c2f19854ed2a3b43f1d092e3bfd75e034e69
[ "MIT" ]
null
null
null
from diagrams import Diagram, Cluster from diagrams.custom import Custom from urllib.request import urlretrieve from diagrams.programming.framework import Django from diagrams.programming.flowchart import Database from diagrams.programming.framework import Vue from diagrams.programming.framework import FastAPI from dia...
29.318841
104
0.673258
221
2,023
6.036199
0.348416
0.089955
0.086207
0.095952
0.250375
0.05997
0
0
0
0
0
0.022121
0.240237
2,023
68
105
29.75
0.845804
0.176965
0
0.060606
0
0.030303
0.15534
0.013956
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1bdcd9c0df1840cef9ffa5bcd43bfc54951958a0
19,939
py
Python
asynq/async_task.py
JelleZijlstra/asynq
e69469b7c3af62439c82434202a349c43da4159d
[ "Apache-2.0" ]
null
null
null
asynq/async_task.py
JelleZijlstra/asynq
e69469b7c3af62439c82434202a349c43da4159d
[ "Apache-2.0" ]
null
null
null
asynq/async_task.py
JelleZijlstra/asynq
e69469b7c3af62439c82434202a349c43da4159d
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 Quora, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, so...
37.763258
116
0.59687
2,360
19,939
4.874576
0.185593
0.013039
0.013387
0.015647
0.175156
0.140908
0.109788
0.102486
0.091794
0.075974
0
0.003046
0.324941
19,939
527
117
37.834915
0.851634
0.187723
0
0.292958
0
0
0.052942
0
0
0
0
0
0.008451
0
null
null
0.008451
0.028169
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1bdf47ed7b4b16c0a3bacab1bf1665fba25c2374
1,556
py
Python
packit_service/worker/handlers/__init__.py
majamassarini/packit-service
12baf67799412c8fa56e2a821cd9d584e2437141
[ "MIT" ]
20
2019-05-24T12:33:05.000Z
2020-07-28T06:03:57.000Z
packit_service/worker/handlers/__init__.py
majamassarini/packit-service
12baf67799412c8fa56e2a821cd9d584e2437141
[ "MIT" ]
735
2019-05-15T11:52:36.000Z
2020-08-02T23:21:44.000Z
packit_service/worker/handlers/__init__.py
majamassarini/packit-service
12baf67799412c8fa56e2a821cd9d584e2437141
[ "MIT" ]
28
2019-05-16T13:32:03.000Z
2020-07-29T10:23:54.000Z
# Copyright Contributors to the Packit project. # SPDX-License-Identifier: MIT # If you have some problems with the imports between files in this directory, # try using absolute import. # Example: # from packit_service.worker.handlers.fedmsg import something # instead of # from packit_service.worker.handlers import so...
27.298246
77
0.789846
138
1,556
8.398551
0.427536
0.077653
0.13201
0.178602
0.240725
0
0
0
0
0
0
0
0.145887
1,556
56
78
27.785714
0.872084
0.199229
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.159091
0
0.159091
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
1bea8f04dbc81e0d542e1a464136db0080425115
2,296
py
Python
project/server/pickle_builder.py
RiccardoNizzolo/prime_num
3a28a85228b6abc2b6097dae8d8c7363ae80757c
[ "MIT" ]
1
2019-02-26T09:32:41.000Z
2019-02-26T09:32:41.000Z
project/server/pickle_builder.py
RiccardoNizzolo/prime_num
3a28a85228b6abc2b6097dae8d8c7363ae80757c
[ "MIT" ]
null
null
null
project/server/pickle_builder.py
RiccardoNizzolo/prime_num
3a28a85228b6abc2b6097dae8d8c7363ae80757c
[ "MIT" ]
null
null
null
import pickle from project.data_science.orchestrator import Orchestrator from project.config.data_science_config import DataScienceOrcherstratorConfig import os from project.decorators.singleton import Singleton from project.data_science import ds_config from git.repo import Repo import datetime import logging log=logg...
31.888889
104
0.656359
279
2,296
5.229391
0.422939
0.041124
0.020562
0.030158
0.03427
0
0
0
0
0
0
0
0.255662
2,296
71
105
32.338028
0.853716
0.077962
0
0.083333
0
0
0.110845
0.011036
0
0
0
0.014085
0
1
0.104167
false
0
0.1875
0
0.354167
0
0
0
0
null
0
0
0
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
1beb143f581f4f9a5ee2dfc7256b136f785127cc
567
py
Python
setup.py
anademarr/Software-Engineering-project
e9e9d97fe43537e9ff7702b583c82bc3e1e09aec
[ "MIT" ]
null
null
null
setup.py
anademarr/Software-Engineering-project
e9e9d97fe43537e9ff7702b583c82bc3e1e09aec
[ "MIT" ]
null
null
null
setup.py
anademarr/Software-Engineering-project
e9e9d97fe43537e9ff7702b583c82bc3e1e09aec
[ "MIT" ]
null
null
null
from setuptools import setup from setuptools import find_packages setup( name='cyberattacksscraper', version='0.0.1', description='Web scraper that scrapes cyber attacks data from the Council on Foreign Relations Cyber Operations Tracker, .', url='https://github.com/anademarr/Software-Engineer...
35.4375
130
0.710758
68
567
5.882353
0.838235
0.07
0.1
0
0
0
0
0
0
0
0
0.006522
0.188713
567
15
131
37.8
0.863043
0.135802
0
0
0
0
0.492569
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1befa5a70aeaee3e3abd793af2ad2eebfd788d26
2,268
py
Python
rest_framework_simplejwt/token_blacklist/admin.py
asudoma/django-rest-framework-simplejwt
7933cfa8629e51d5611f20c972652be651f93415
[ "MIT" ]
null
null
null
rest_framework_simplejwt/token_blacklist/admin.py
asudoma/django-rest-framework-simplejwt
7933cfa8629e51d5611f20c972652be651f93415
[ "MIT" ]
null
null
null
rest_framework_simplejwt/token_blacklist/admin.py
asudoma/django-rest-framework-simplejwt
7933cfa8629e51d5611f20c972652be651f93415
[ "MIT" ]
null
null
null
from django.contrib import admin from django.utils.translation import gettext_lazy as _ from .models import BlacklistedToken, OutstandingToken class OutstandingTokenAdmin(admin.ModelAdmin): list_display = ( 'jti', 'user', 'created_at', 'expires_at', ) search_fields = ( ...
25.483146
63
0.647266
262
2,268
5.267176
0.278626
0.058696
0.06087
0.046377
0.276812
0.150725
0.117391
0.117391
0.117391
0.117391
0
0.001751
0.244709
2,268
88
64
25.772727
0.803853
0.018959
0
0.212121
0
0
0.111161
0
0
0
0
0
0
1
0.136364
false
0
0.045455
0.106061
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
0
1
0
0
0
1
40058c60bbc1099b2e3a20c05e9fa1e52610c5c4
1,866
py
Python
slixmpp/plugins/xep_0377/stanza.py
anirudhrata/slixmpp
1fcee0e80a212eeb274d2f560e69099d8a61bf7f
[ "BSD-3-Clause" ]
86
2016-07-04T13:26:02.000Z
2022-02-19T10:26:21.000Z
slixmpp/plugins/xep_0377/stanza.py
anirudhrata/slixmpp
1fcee0e80a212eeb274d2f560e69099d8a61bf7f
[ "BSD-3-Clause" ]
10
2016-09-30T18:55:41.000Z
2020-05-01T14:22:47.000Z
slixmpp/plugins/xep_0377/stanza.py
anirudhrata/slixmpp
1fcee0e80a212eeb274d2f560e69099d8a61bf7f
[ "BSD-3-Clause" ]
45
2016-09-30T18:48:41.000Z
2022-03-18T21:39:33.000Z
# Slixmpp: The Slick XMPP Library # Copyright (C) 2020 Mathieu Pasquet # This file is part of Slixmpp. # See the file LICENSE for copying permission. from slixmpp.xmlstream import ET, ElementBase class Report(ElementBase): """ A spam/abuse report. Example sub stanza: :: <report xmlns="urn:x...
26.28169
70
0.591104
238
1,866
4.554622
0.352941
0.066421
0.051661
0.047048
0.308118
0.134686
0.051661
0
0
0
0
0.005251
0.285638
1,866
70
71
26.657143
0.807952
0.299035
0
0.30303
0
0
0.103896
0
0
0
0
0
0
1
0.181818
false
0
0.030303
0.060606
0.575758
0
0
0
0
null
0
0
0
0
0
0
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
4006573e5d0dde643b076010accaaa8c1680ee90
4,751
py
Python
tests/musicxml/elements/note/test_note.py
alexgorji/music_score
b4176da52295361f3436826903485c5cb8054c5e
[ "MIT" ]
2
2020-06-22T13:33:28.000Z
2020-12-30T15:09:00.000Z
tests/musicxml/elements/note/test_note.py
alexgorji/music_score
b4176da52295361f3436826903485c5cb8054c5e
[ "MIT" ]
37
2020-02-18T12:15:00.000Z
2021-12-13T20:01:14.000Z
tests/musicxml/elements/note/test_note.py
alexgorji/music_score
b4176da52295361f3436826903485c5cb8054c5e
[ "MIT" ]
null
null
null
from musicscore.musicxml.elements.note import Note, Grace, Duration, Beam, Tie, Type, Lyric from musicscore.musicxml.elements.fullnote import Chord, Pitch, DisplayStep, DisplayOctave, Rest from musicscore.dtd.dtd import ChildOccurrenceDTDConflict, ChildTypeDTDConflict, ChildIsNotOptional from unittest import TestCase ...
30.850649
119
0.612503
581
4,751
4.858864
0.16179
0.136026
0.13638
0.198371
0.48955
0.431456
0.391782
0.379738
0.353879
0.32554
0
0.010287
0.222479
4,751
153
120
31.052288
0.753925
0.189223
0
0.524752
0
0
0.179386
0.018096
0
0
0
0
0.09901
1
0.108911
false
0
0.049505
0
0.168317
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
4010039dbcc1d7d38b92907b6385b9b6ee8065c6
2,588
py
Python
dashboard/dashboard/can_bisect.py
PLSV/catapult
88e5b1f40c89c4b80d3dd56a722936d07f222a55
[ "BSD-3-Clause" ]
null
null
null
dashboard/dashboard/can_bisect.py
PLSV/catapult
88e5b1f40c89c4b80d3dd56a722936d07f222a55
[ "BSD-3-Clause" ]
null
null
null
dashboard/dashboard/can_bisect.py
PLSV/catapult
88e5b1f40c89c4b80d3dd56a722936d07f222a55
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """A handler and functions to check whether bisect is supported.""" from __future__ import print_function from __future__ import division from __future__ imp...
34.506667
79
0.757728
398
2,588
4.731156
0.371859
0.038237
0.04461
0.055762
0.128518
0.087095
0.087095
0.053107
0.053107
0.053107
0
0.007407
0.165379
2,588
74
80
34.972973
0.864352
0.422334
0
0.190476
0
0
0.087466
0.017218
0
0
0
0
0
1
0.119048
false
0
0.119048
0
0.52381
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
401463719340ee31aa79e61ee72f3b12d5d5f52f
1,052
py
Python
pyoverkiz/enums/protocol.py
Archcry/python-overkiz-api
3f958d4a54ed065f90212336a2dc5ee480e1adf1
[ "MIT" ]
9
2022-01-02T11:41:21.000Z
2022-03-09T23:17:15.000Z
pyoverkiz/enums/protocol.py
Archcry/python-overkiz-api
3f958d4a54ed065f90212336a2dc5ee480e1adf1
[ "MIT" ]
44
2021-12-30T08:16:39.000Z
2022-03-31T17:02:02.000Z
pyoverkiz/enums/protocol.py
Archcry/python-overkiz-api
3f958d4a54ed065f90212336a2dc5ee480e1adf1
[ "MIT" ]
7
2022-01-11T23:30:06.000Z
2022-03-26T07:37:10.000Z
import logging from enum import Enum, unique _LOGGER = logging.getLogger(__name__) @unique class Protocol(str, Enum): """Protocol used by Overkiz. Values have been retrieved from /reference/protocolTypes """ UNKNOWN = "unknown" IO = "io" RTS = "rts" RTD = "rtd" RTDS = "rtds" RAM...
21.916667
84
0.609316
110
1,052
5.718182
0.645455
0
0
0
0
0
0
0
0
0
0
0.007853
0.273764
1,052
47
85
22.382979
0.815445
0.092205
0
0
0
0
0.248936
0
0
0
0
0
0
1
0.026316
false
0
0.052632
0
0.894737
0
0
0
0
null
0
0
0
0
0
0
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
4016a94f570cb0b99dae4f20415b98ada4042059
387
py
Python
Articles/migrations/0007_auto_20181217_2231.py
Abdulrahmannaser/Journal
ee10dfe6e3d447087b4de829a4a46af74595b730
[ "MIT" ]
null
null
null
Articles/migrations/0007_auto_20181217_2231.py
Abdulrahmannaser/Journal
ee10dfe6e3d447087b4de829a4a46af74595b730
[ "MIT" ]
null
null
null
Articles/migrations/0007_auto_20181217_2231.py
Abdulrahmannaser/Journal
ee10dfe6e3d447087b4de829a4a46af74595b730
[ "MIT" ]
2
2020-07-08T00:55:49.000Z
2020-12-11T04:14:50.000Z
# Generated by Django 2.1.3 on 2018-12-17 20:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Articles', '0006_auto_20181217_2223'), ] operations = [ migrations.AlterField( model_name='posts', name='Status', ...
20.368421
51
0.594315
41
387
5.512195
0.829268
0
0
0
0
0
0
0
0
0
0
0.115942
0.286822
387
18
52
21.5
0.702899
0.116279
0
0
1
0
0.126471
0.067647
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
4016b31738197ebf2d7c1e9d7b40a859f82040ad
225
py
Python
04-current-working-script/help_me_decide.py
CliffordBridges/help-me-decide
3094d24bfe16e5d08f4b29ecf2bac540e4d963ce
[ "MIT" ]
null
null
null
04-current-working-script/help_me_decide.py
CliffordBridges/help-me-decide
3094d24bfe16e5d08f4b29ecf2bac540e4d963ce
[ "MIT" ]
null
null
null
04-current-working-script/help_me_decide.py
CliffordBridges/help-me-decide
3094d24bfe16e5d08f4b29ecf2bac540e4d963ce
[ "MIT" ]
null
null
null
import os import sys src_dir = os.path.join(os.getcwd(), '..', '03-src') sys.path.append(src_dir) import decisionclass.decision_functions as hmd decision = hmd.Decision() decision.build_decision() decision.print_results()
18.75
51
0.76
33
225
5.030303
0.545455
0.072289
0
0
0
0
0
0
0
0
0
0.009852
0.097778
225
11
52
20.454545
0.807882
0
0
0
0
0
0.035556
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
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
0
1
0
0
0
0
1
401bf20835acbe87d005f1b5dd4ae3c6df95056b
2,903
py
Python
janela_Frontend.py
undersonrs/PYTHON_Projetos
1a4f61eb8e3c767c7b2daa993b9f70ddcfbfbb22
[ "MIT" ]
null
null
null
janela_Frontend.py
undersonrs/PYTHON_Projetos
1a4f61eb8e3c767c7b2daa993b9f70ddcfbfbb22
[ "MIT" ]
null
null
null
janela_Frontend.py
undersonrs/PYTHON_Projetos
1a4f61eb8e3c767c7b2daa993b9f70ddcfbfbb22
[ "MIT" ]
null
null
null
from tkinter import * class Gui(): """Classe que define a interface grafica da aplicação """ #Criando a Janela... window = Tk() window.wm_title("Cadastro de Clientes") #Criando Variáveis que armazenarão o texto inserido pelo usuário... txtNome = StringVar() tx...
34.975904
72
0.637272
352
2,903
5.184659
0.363636
0.06137
0.052603
0.049315
0.073425
0.056986
0.039452
0.039452
0.039452
0
0
0.024412
0.23803
2,903
82
73
35.402439
0.800633
0
0
0
0
0
0.063456
0
0
0
0
0
0
0
null
null
0
0.025
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
40206f32c6870837b3251e71891e3f715deb546e
1,397
py
Python
inspectio/thermo_quiz.py
nicholasmalaya/paleologos
11959056caa80d3c910759b714a0f8e42f986f0f
[ "MIT" ]
1
2021-11-04T17:49:42.000Z
2021-11-04T17:49:42.000Z
inspectio/thermo_quiz.py
nicholasmalaya/paleologos
11959056caa80d3c910759b714a0f8e42f986f0f
[ "MIT" ]
null
null
null
inspectio/thermo_quiz.py
nicholasmalaya/paleologos
11959056caa80d3c910759b714a0f8e42f986f0f
[ "MIT" ]
2
2019-01-04T16:08:18.000Z
2019-12-16T19:34:24.000Z
import quiz def loadProblems(a): a.problems.append(quiz.Problem( "What is an adiabatic wall?", "No net heat transfer to or from the working fluid. (Insulated)", "B", "C", "A")) a.problems.append(quiz.Problem( "What is a control mass?", "A closed system: a volume that has no mass trans...
19.136986
84
0.591267
184
1,397
4.445652
0.38587
0.077017
0.128362
0.162592
0.469438
0.469438
0.469438
0.469438
0.387531
0.387531
0
0.004878
0.266285
1,397
72
85
19.402778
0.793171
0.032928
0
0.62
0
0
0.482116
0
0
0
0
0
0
1
0.04
false
0
0.02
0
0.06
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
4023729deb0f5b1c8df83cf3d8df8d985afc887f
377
py
Python
tracker/migrations/0002_auto_20200807_1030.py
Naveendata-ux/ufaber
93b0b357f2bf6befcbab8248e2df0f911630dc9e
[ "MIT" ]
null
null
null
tracker/migrations/0002_auto_20200807_1030.py
Naveendata-ux/ufaber
93b0b357f2bf6befcbab8248e2df0f911630dc9e
[ "MIT" ]
null
null
null
tracker/migrations/0002_auto_20200807_1030.py
Naveendata-ux/ufaber
93b0b357f2bf6befcbab8248e2df0f911630dc9e
[ "MIT" ]
null
null
null
# Generated by Django 3.1 on 2020-09-18 05:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tracker', '0001_initial'), ] operations = [ migrations.AlterField( model_name='tasktracker', name='end_time', ...
19.842105
47
0.591512
39
377
5.641026
0.846154
0
0
0
0
0
0
0
0
0
0
0.067669
0.29443
377
18
48
20.944444
0.759399
0.114058
0
0
1
0
0.114458
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
40267f966bca878ba409b3a8281420eb5a0bbcaf
1,053
py
Python
dynamic-form-flask/app.py
ikhovryak/PyTorchHackathon
7a75edeccaee15ff142f9561c1c98fe49ca81e8c
[ "MIT" ]
1
2020-07-28T15:41:36.000Z
2020-07-28T15:41:36.000Z
dynamic-form-flask/app.py
ikhovryak/PyTorchHackathon
7a75edeccaee15ff142f9561c1c98fe49ca81e8c
[ "MIT" ]
null
null
null
dynamic-form-flask/app.py
ikhovryak/PyTorchHackathon
7a75edeccaee15ff142f9561c1c98fe49ca81e8c
[ "MIT" ]
1
2020-08-25T04:03:48.000Z
2020-08-25T04:03:48.000Z
from flask import Flask, render_template, url_for, redirect, current_app, request from forms import PurchasePersonCountForm, PersonDetailForm, PurchasePersonDetailsForm app = Flask(__name__) @app.route("/people", methods=["GET", "POST"]) def people_count(): person_count_form = PurchasePersonCountForm() if pe...
36.310345
109
0.737892
126
1,053
5.865079
0.365079
0.11908
0.121786
0.046008
0.227334
0
0
0
0
0
0
0
0.138651
1,053
28
110
37.607143
0.814774
0.006648
0
0
0
0
0.137105
0
0
0
0
0
0
1
0.105263
false
0.052632
0.105263
0
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
4026a4b7b3beb76808514f3e969b4d7c0adc7fb3
2,826
py
Python
setup.py
willingc/pingo
0890bf5ed763e9061320093fc3fb5f7543c5cc2c
[ "MIT" ]
null
null
null
setup.py
willingc/pingo
0890bf5ed763e9061320093fc3fb5f7543c5cc2c
[ "MIT" ]
null
null
null
setup.py
willingc/pingo
0890bf5ed763e9061320093fc3fb5f7543c5cc2c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # MIT Licensed. See LICENSE for more information. """ Pingo setup module """ from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand import io import os import sys pkgname = "pingo" version = "0.1.9" class PyTest(TestCommand):...
29.747368
83
0.661713
316
2,826
5.838608
0.528481
0.069377
0.067751
0.042276
0
0
0
0
0
0
0
0.004431
0.201345
2,826
94
84
30.06383
0.813026
0.098372
0
0
0
0
0.523866
0
0
0
0
0.010638
0
1
0.027778
false
0
0.083333
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
4027fb96b476b84a7b6361a46ad778866cd08247
1,537
py
Python
rsakeys/models.py
djangulo/django-crypto
40d165aac5618877eb41d95f2a899606d32a8d4c
[ "MIT" ]
null
null
null
rsakeys/models.py
djangulo/django-crypto
40d165aac5618877eb41d95f2a899606d32a8d4c
[ "MIT" ]
null
null
null
rsakeys/models.py
djangulo/django-crypto
40d165aac5618877eb41d95f2a899606d32a8d4c
[ "MIT" ]
null
null
null
from cryptography.hazmat.primitives import serialization from django.conf import settings from django.db import models from rsakeys.fields import RSAKeyField class RSAKeys(models.Model): user = models.OneToOneField(settings.AUTH_USER_MODEL, on_delete=models.CASCADE, related_name='rsa_keys') p...
34.931818
71
0.653221
169
1,537
5.763314
0.35503
0.056468
0.057495
0.051335
0.238193
0.190965
0.190965
0
0
0
0
0.008734
0.255042
1,537
43
72
35.744186
0.841921
0.033832
0
0.0625
0
0
0.005559
0
0
0
0
0
0
1
0.1875
false
0
0.125
0.09375
0.5625
0
0
0
0
null
0
0
0
0
0
0
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
402e8186d1c081a6f2952b676e3902cc7bab3f43
2,835
py
Python
python/src/ipset/tests/c.py
rogers0/libredjackipset
91e42e2b3553d3f1fb30c0011b468b0537887632
[ "BSD-3-Clause" ]
7,353
2018-03-20T13:46:41.000Z
2022-03-31T14:33:14.000Z
python/src/ipset/tests/c.py
rogers0/libredjackipset
91e42e2b3553d3f1fb30c0011b468b0537887632
[ "BSD-3-Clause" ]
835
2018-03-21T06:01:59.000Z
2022-03-31T12:23:24.000Z
python/src/ipset/tests/c.py
rogers0/libredjackipset
91e42e2b3553d3f1fb30c0011b468b0537887632
[ "BSD-3-Clause" ]
1,364
2018-03-21T05:30:01.000Z
2022-03-31T10:27:39.000Z
# -*- coding: utf-8 -*- # ---------------------------------------------------------------------- # Copyright © 2010, RedJack, LLC. # All rights reserved. # # Please see the LICENSE.txt file in this distribution for license # details. # ---------------------------------------------------------------------- import unitt...
29.53125
72
0.620106
412
2,835
3.958738
0.179612
0.147149
0.061312
0.079706
0.754139
0.70325
0.653587
0.653587
0.618026
0.47946
0
0.044857
0.221517
2,835
95
73
29.842105
0.693702
0.102293
0
0.529412
0
0.014706
0.031546
0.025237
0
0
0
0
0.176471
1
0.176471
false
0
0.029412
0
0.235294
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
402ffcec8d8b07680b040b1a96e2bc6187229ea3
4,890
py
Python
lib/surface/service_management/add_quota_override.py
eyalev/gcloud
421ee63a0a6d90a097e8530d53a6df5b905a0205
[ "Apache-2.0" ]
null
null
null
lib/surface/service_management/add_quota_override.py
eyalev/gcloud
421ee63a0a6d90a097e8530d53a6df5b905a0205
[ "Apache-2.0" ]
null
null
null
lib/surface/service_management/add_quota_override.py
eyalev/gcloud
421ee63a0a6d90a097e8530d53a6df5b905a0205
[ "Apache-2.0" ]
2
2020-11-04T03:08:21.000Z
2020-11-05T08:14:41.000Z
# Copyright 2016 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 applicable law or ag...
35.179856
80
0.711861
556
4,890
6.134892
0.365108
0.03518
0.05277
0.058047
0.251832
0.166227
0.166227
0.085019
0.085019
0.085019
0
0.003618
0.208589
4,890
138
81
35.434783
0.877778
0.15092
0
0.234568
0
0
0.120533
0.009926
0
0
0
0.007246
0
0
null
null
0
0.08642
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
40334fb959e104b86308d6f7235852e228fa730d
1,623
py
Python
nominal-mdp/simple_testcase.py
ByzanTine/RobustMDP
6a17ed857ff77fdf1aeddac9296e99688775d160
[ "MIT" ]
null
null
null
nominal-mdp/simple_testcase.py
ByzanTine/RobustMDP
6a17ed857ff77fdf1aeddac9296e99688775d160
[ "MIT" ]
2
2018-11-19T01:00:51.000Z
2018-11-30T21:40:55.000Z
nominal-mdp/simple_testcase.py
ByzanTine/RobustMDP
6a17ed857ff77fdf1aeddac9296e99688775d160
[ "MIT" ]
3
2018-11-17T07:44:31.000Z
2018-11-24T00:06:51.000Z
### MDP Value Iteration and Policy Iteratoin # You might not need to use all parameters import numpy as np import gym import time from test_env import * from value_iteration import value_iteration from robust_value_iteration import robust_value_iteration def run_single(env, policy, seed_feed=99, iter_tot=100, gamma=...
28.473684
72
0.651263
259
1,623
3.911197
0.436293
0.096742
0.05923
0.017769
0.192498
0.106614
0.106614
0.075025
0.075025
0.075025
0
0.034846
0.23968
1,623
56
73
28.982143
0.786062
0.468885
0
0.08
0
0
0.059102
0.049645
0
0
0
0.017857
0
1
0.04
false
0
0.24
0
0.32
0.04
0
0
0
null
0
0
0
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
40348174bc95e44085d3876a4709db1f01f91258
1,246
py
Python
wordament/state_manager_factory.py
chrisguest75/wordament_solver_service
4a4ed950b54b30f935b3587e2a8cb998d8cc71a2
[ "MIT" ]
null
null
null
wordament/state_manager_factory.py
chrisguest75/wordament_solver_service
4a4ed950b54b30f935b3587e2a8cb998d8cc71a2
[ "MIT" ]
null
null
null
wordament/state_manager_factory.py
chrisguest75/wordament_solver_service
4a4ed950b54b30f935b3587e2a8cb998d8cc71a2
[ "MIT" ]
null
null
null
from state_manager import state_manager from injector import Module, Injector, singleton, provider class ConfigurationError(Exception): pass class StateManagerProvider(Module): """ None singleton state_manager """ @provider def get_state_manager(self) -> state_manager: return state_manager...
25.428571
81
0.682986
118
1,246
6.991525
0.271186
0.189091
0.139394
0.046061
0.157576
0.157576
0.157576
0.157576
0.157576
0.157576
0
0
0.239165
1,246
48
82
25.958333
0.870253
0.086677
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.181818
false
0.060606
0.060606
0.060606
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4041b8d5c9e8b547a1a1bef79f8ef947218d4596
4,539
py
Python
src/bot/cocoa/eval/eval_cm.py
s-akanksha/DialoGraph_ICLR21
d5bbc10b2623c9f84d21a99a5e54e7dcfdfb1bcc
[ "Apache-2.0" ]
12
2021-03-17T05:15:33.000Z
2022-01-19T06:09:21.000Z
src/bot/cocoa/eval/eval_cm.py
s-akanksha/DialoGraph_ICLR21
d5bbc10b2623c9f84d21a99a5e54e7dcfdfb1bcc
[ "Apache-2.0" ]
2
2021-05-25T07:28:46.000Z
2022-02-11T01:54:43.000Z
src/bot/cocoa/eval/eval_cm.py
s-akanksha/DialoGraph_ICLR21
d5bbc10b2623c9f84d21a99a5e54e7dcfdfb1bcc
[ "Apache-2.0" ]
4
2021-10-11T03:39:38.000Z
2022-02-01T23:58:50.000Z
import json from collections import defaultdict import unidecode import spacy from argparse import ArgumentParser import os """ Script to process cocoa chat in JSON Note: We strip all accents from user's chat. Useful for matching lexicon, may hurt LID performance. Example use from top dir: python eval/eval_cm.py...
27.343373
78
0.69024
726
4,539
4.095041
0.267218
0.030272
0.018163
0.030272
0.254289
0.225362
0.209889
0.13589
0.13589
0.125799
0
0.012035
0.17625
4,539
165
79
27.509091
0.783097
0.130205
0
0.162162
0
0
0.144704
0.03879
0
0
0
0
0
0
null
null
0
0.054054
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
4045bc5dbe4801f13978ccf6eb6f29307eb98b37
724
py
Python
irisflower/iris/predictor.py
ajayKumar99/Iris-Flower-Classifier
b6b9499b8d093e1910f279a0fa744bec824c8d5e
[ "MIT" ]
null
null
null
irisflower/iris/predictor.py
ajayKumar99/Iris-Flower-Classifier
b6b9499b8d093e1910f279a0fa744bec824c8d5e
[ "MIT" ]
null
null
null
irisflower/iris/predictor.py
ajayKumar99/Iris-Flower-Classifier
b6b9499b8d093e1910f279a0fa744bec824c8d5e
[ "MIT" ]
null
null
null
#First ML app to classify petals of iris flowers #Dependencies import numpy as np import pandas as pd import matplotlib as mp from sklearn.datasets import load_iris from sklearn.model_selection import train_test_split from pandas.plotting import scatter_matrix from sklearn.neighbors import KNeighborsClassifier def i...
23.354839
122
0.737569
103
724
5.009709
0.543689
0.063953
0.054264
0.031008
0
0
0
0
0
0
0
0.005025
0.175414
724
30
123
24.133333
0.859296
0.081492
0
0
0
0
0.033283
0
0
0
0
0
0
1
0.066667
false
0
0.466667
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
404b56afb27adda4056f1529218608b0128ef4e0
1,089
py
Python
kol/Opener.py
zeryl/RUcwbot
734716506066da599fcbc96d0a815a5e30f6e077
[ "BSD-3-Clause" ]
null
null
null
kol/Opener.py
zeryl/RUcwbot
734716506066da599fcbc96d0a815a5e30f6e077
[ "BSD-3-Clause" ]
1
2019-04-15T02:48:19.000Z
2019-04-15T03:02:36.000Z
kol/Opener.py
rlbond86/cwbot
2432a9c9d048b7600b53d5cb8f7ef608c6613258
[ "BSD-3-Clause" ]
null
null
null
import cookielib import urllib2 import urllib import traceback try: import requests except ImportError: requests = None class Response(object): "This class abstracts handling request responses created by an opener" def __init__(self, text, url): self.text = text self.url = url class...
27.923077
94
0.707071
130
1,089
5.815385
0.4
0.095238
0.059524
0.060847
0.238095
0.116402
0.116402
0.116402
0
0
0
0.009153
0.197429
1,089
38
95
28.657895
0.855835
0.195592
0
0.148148
0
0
0.169347
0
0
0
0
0
0
1
0.185185
false
0
0.222222
0
0.592593
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
404d377e8e23a47ab51e254ae52e5e92e32c805f
1,470
py
Python
Lib/Foundation/__init__.py
Khan/pyobjc-framework-Cocoa
f8b015ea2a72d8d78be6084fb12925c4785b8f1f
[ "MIT" ]
132
2015-01-01T10:02:42.000Z
2022-03-09T12:51:01.000Z
mac/pyobjc-framework-Cocoa/Lib/Foundation/__init__.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
6
2015-01-06T08:23:19.000Z
2019-03-14T12:22:06.000Z
mac/pyobjc-framework-Cocoa/Lib/Foundation/__init__.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
27
2015-02-23T11:51:43.000Z
2022-03-07T02:34:18.000Z
''' Python mapping for the Foundation framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. ''' import sys import objc import CoreFoundation from Foundation import _metadata from Foundation._inlines import _inline_li...
29.4
81
0.719048
170
1,470
5.976471
0.435294
0.07874
0.020669
0.029528
0.144685
0
0
0
0
0
0
0.003331
0.182993
1,470
49
82
30
0.842631
0.179592
0
0.0625
0
0
0.111111
0.056809
0
0
0
0
0
1
0
false
0
0.34375
0
0.34375
0
0
0
0
null
0
0
0
0
0
0
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
404f5e401b3dd673f8eb8f59bb4d058de0fde640
254
py
Python
prova/relazioni/urls.py
mary023010/prova_django
a69a37a4f26f21018cef48e5d637dd630ca68877
[ "MIT" ]
null
null
null
prova/relazioni/urls.py
mary023010/prova_django
a69a37a4f26f21018cef48e5d637dd630ca68877
[ "MIT" ]
null
null
null
prova/relazioni/urls.py
mary023010/prova_django
a69a37a4f26f21018cef48e5d637dd630ca68877
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path, include from . import views urlpatterns = [ path('prenotazione/',views.selection_airport, name="selection_airport"), path('voli/',views.visualizza_voli, name="visualizza_volo"), ]
23.090909
76
0.751969
31
254
6.032258
0.548387
0.106952
0
0
0
0
0
0
0
0
0
0
0.125984
254
11
77
23.090909
0.842342
0
0
0
0
0
0.19685
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
40529baca0fd9ac52da05934d2033fe2d0809bf8
4,365
py
Python
models.py
JesseLivezey/mixture_models
9ae1188c8a823f2f713deacdb4b3fa21ad8efaba
[ "MIT" ]
null
null
null
models.py
JesseLivezey/mixture_models
9ae1188c8a823f2f713deacdb4b3fa21ad8efaba
[ "MIT" ]
null
null
null
models.py
JesseLivezey/mixture_models
9ae1188c8a823f2f713deacdb4b3fa21ad8efaba
[ "MIT" ]
null
null
null
import numpy as np import theano import theano.tensor as T from collections import OrderedDict floatX = theano.config.floatX def log_gaussian_symbolic(X, alpha, beta): alpha = alpha.dimshuffle('x', 0) X = X.dimshuffle(0, 'x') sqrt2pi = np.sqrt(2. * np.pi).astype(floatX) return ((alpha * X) + (beta *...
34.642857
82
0.590149
560
4,365
4.423214
0.176786
0.05329
0.039564
0.050868
0.303189
0.235365
0.187323
0.163908
0.100929
0.071861
0
0.012601
0.290951
4,365
125
83
34.92
0.787722
0.040779
0
0.168539
0
0
0.003737
0
0
0
0
0
0
0
null
null
0
0.044944
null
null
0.011236
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4056d8f6ec3fc56211896851da3e1f9931298e5d
365
py
Python
setup.py
rodrigoneal/Desafio-Viva-Decora
b0a0bca2125db46dbd18c534e04ee3141a6cf7e4
[ "RSA-MD" ]
null
null
null
setup.py
rodrigoneal/Desafio-Viva-Decora
b0a0bca2125db46dbd18c534e04ee3141a6cf7e4
[ "RSA-MD" ]
null
null
null
setup.py
rodrigoneal/Desafio-Viva-Decora
b0a0bca2125db46dbd18c534e04ee3141a6cf7e4
[ "RSA-MD" ]
1
2021-02-02T18:32:15.000Z
2021-02-02T18:32:15.000Z
"""arquivo necessario para tornar o pacote instalavel.""" from setuptools import setup, find_packages setup( name="git-scraping", version="0.1.0", description="List all files in a github repository and save in txt", packages=find_packages(), include_package_data=True, install_requires=["httpx",...
28.076923
72
0.712329
47
365
5.404255
0.851064
0.094488
0
0
0
0
0
0
0
0
0
0.013158
0.167123
365
12
73
30.416667
0.822368
0.139726
0
0
0
0
0.301948
0
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
406ad9e6572fbad9eb31e711dac3cac4e868ae03
940
py
Python
language/transaction-builder/generator/examples/python3/stdlib_demo.py
WingsDao/libra
c46b32d73087ed2afc6c1ac3e78535cac37e3fa9
[ "Apache-2.0" ]
3
2020-05-16T08:46:16.000Z
2020-08-06T19:46:49.000Z
language/transaction-builder/generator/examples/python3/stdlib_demo.py
WingsDao/libra
c46b32d73087ed2afc6c1ac3e78535cac37e3fa9
[ "Apache-2.0" ]
null
null
null
language/transaction-builder/generator/examples/python3/stdlib_demo.py
WingsDao/libra
c46b32d73087ed2afc6c1ac3e78535cac37e3fa9
[ "Apache-2.0" ]
1
2022-03-31T04:46:02.000Z
2022-03-31T04:46:02.000Z
# Copyright (c) The Libra Core Contributors # SPDX-License-Identifier: Apache-2.0 # pyre-strict import libra_types as libra import serde_types as st import lcs import libra_stdlib as stdlib def make_address(content: bytes) -> libra.AccountAddress: assert len(content) == 16 # pyre-fixme return libra.Acco...
24.736842
92
0.639362
125
940
4.608
0.56
0.057292
0.041667
0
0
0
0
0
0
0
0
0.033195
0.230851
940
37
93
25.405405
0.763485
0.106383
0
0
0
0
0.034731
0
0
0
0
0.027027
0.041667
1
0.083333
false
0
0.166667
0
0.291667
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
1
0
0
0
0
0
0
0
0
0
0
1
406ef1abaebd16fe02f0b595e350037ae2780711
546
py
Python
stationery/migrations/0016_auto_20210801_2152.py
shaxpakistan/e-stationery
00c7027f74e9f0e90247e44d9dbd86203cd9dbb4
[ "CC0-1.0" ]
1
2022-02-17T19:13:40.000Z
2022-02-17T19:13:40.000Z
stationery/migrations/0016_auto_20210801_2152.py
shaxpakistan/e-stationery
00c7027f74e9f0e90247e44d9dbd86203cd9dbb4
[ "CC0-1.0" ]
null
null
null
stationery/migrations/0016_auto_20210801_2152.py
shaxpakistan/e-stationery
00c7027f74e9f0e90247e44d9dbd86203cd9dbb4
[ "CC0-1.0" ]
null
null
null
# Generated by Django 3.1.4 on 2021-08-02 04:52 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('stationery', '0015_order_status'), ] operations = [ migrations.AlterField( model_name='booking'...
23.73913
106
0.617216
58
546
5.724138
0.672414
0.072289
0.084337
0.13253
0
0
0
0
0
0
0
0.047382
0.265568
546
22
107
24.818182
0.780549
0.082418
0
0.125
1
0
0.134269
0
0
0
0
0
0
1
0
false
0
0.125
0
0.3125
0
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
406fd50349a4b22680f7a06aa1bdfa3458a960ed
4,940
py
Python
samples/a8/games/MadKingdom/tools/extract_cards.py
zbyti/Mad-Pascal
546cae9724828f93047080109488be7d0d07d47e
[ "MIT" ]
1
2021-12-15T23:47:19.000Z
2021-12-15T23:47:19.000Z
samples/a8/games/MadKingdom/tools/extract_cards.py
michalkolodziejski/Mad-Pascal
0a7a1e2f379e50b0a23878b0d881ff3407269ed6
[ "MIT" ]
null
null
null
samples/a8/games/MadKingdom/tools/extract_cards.py
michalkolodziejski/Mad-Pascal
0a7a1e2f379e50b0a23878b0d881ff3407269ed6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # tool for extracting/converting sqllite card database into asm data file # probably not very useful for anyone else on the enitre world # usage python extract_cards.py otputFile.asm # author: bocianu@gmail.com <Wojciech Bociański> import sqlite3 import codecs import sys UTF8Writer = codecs.g...
30.306748
138
0.592308
691
4,940
4.18958
0.248915
0.034197
0.027634
0.026598
0.209672
0.124698
0.096373
0.081865
0.076684
0.076684
0
0.041365
0.217004
4,940
162
139
30.493827
0.707084
0.049595
0
0.221311
0
0.016393
0.307594
0.03285
0
0
0.00192
0
0
0
null
null
0
0.02459
null
null
0.286885
0
0
0
null
0
0
0
0
0
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
407ff454fef5dc61e71c2d530c747430899c949d
1,296
py
Python
makeRegressMethylBatchFactorsScript.py
imk1/MethylationQTLCode
d193f518994074a29a39e081d470b1c67a95a527
[ "MIT" ]
null
null
null
makeRegressMethylBatchFactorsScript.py
imk1/MethylationQTLCode
d193f518994074a29a39e081d470b1c67a95a527
[ "MIT" ]
null
null
null
makeRegressMethylBatchFactorsScript.py
imk1/MethylationQTLCode
d193f518994074a29a39e081d470b1c67a95a527
[ "MIT" ]
null
null
null
def makeRegressMethylBatchFactorsScript(methylBatchFactorsListFileName, numFeatures, suffix, scriptFileName, codePath): # Make a script that will remove Cs with fewer than minReads methylBatchFactorsListFile = open(methylBatchFactorsListFileName) scriptFile = open(scriptFileName, 'w+') for line in methylBatchFactor...
56.347826
152
0.786265
118
1,296
8.567797
0.550847
0.034619
0.150346
0.162216
0.205737
0.205737
0
0
0
0
0
0.007055
0.125
1,296
22
153
58.909091
0.88448
0.145833
0
0
0
0
0.040835
0.025408
0
0
0
0
0
1
0.052632
false
0
0.052632
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
40805c0191602e9a9f7d844607173ab3730bafbc
3,364
py
Python
compiler-rt/lib/dfsan/scripts/build-libc-list.py
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
compiler-rt/lib/dfsan/scripts/build-libc-list.py
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
compiler-rt/lib/dfsan/scripts/build-libc-list.py
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
#!/usr/bin/env python #===- lib/dfsan/scripts/build-libc-list.py ---------------------------------===# # # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. # See https://llvm.org/LICENSE.txt for license information. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # #===-----------...
35.041667
80
0.61742
454
3,364
4.488987
0.363436
0.013248
0.029441
0.046614
0.276251
0.241904
0.204122
0.089303
0.062807
0.044161
0
0.024935
0.201249
3,364
95
81
35.410526
0.733532
0.183115
0
0.085714
0
0
0.296635
0.069129
0
0
0
0
0
0
null
null
0
0.057143
null
null
0.028571
0
0
0
null
0
0
0
0
0
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
408281aabd6f2855f2c92a1805d4a91619964b7d
616
py
Python
appCore/apps/replica/contrib/redirection/migrations/0003_auto_20180422_1552.py
jadedgamer/alifewellplayed.com
b7b3dee8d3b9526c7cfe77078570a29394ef7e76
[ "MIT" ]
4
2017-04-22T11:03:01.000Z
2018-01-16T22:28:15.000Z
appCore/apps/replica/contrib/redirection/migrations/0003_auto_20180422_1552.py
alifewellplayed/alifewellplayed.com
b7b3dee8d3b9526c7cfe77078570a29394ef7e76
[ "MIT" ]
10
2017-04-06T19:54:42.000Z
2017-11-07T06:53:10.000Z
appCore/apps/replica/contrib/redirection/migrations/0003_auto_20180422_1552.py
alifewellplayed/alifewellplayed.com
b7b3dee8d3b9526c7cfe77078570a29394ef7e76
[ "MIT" ]
1
2017-12-14T12:49:40.000Z
2017-12-14T12:49:40.000Z
# Generated by Django 2.0 on 2018-04-22 15:52 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import replica.contrib.redirection.models class Migration(migrations.Migration): dependencies = [ ('redirection', '0002_auto_20170923_1107'), ] ...
28
170
0.701299
72
616
5.888889
0.597222
0.056604
0.066038
0.103774
0
0
0
0
0
0
0
0.060606
0.196429
616
21
171
29.333333
0.79596
0.069805
0
0
1
0
0.08056
0.04028
0
0
0
0
0
1
0
false
0
0.266667
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
40847a6d07d48423d11f116747e1a9a24f6922dc
2,377
py
Python
pugsley/schemas/images.py
kfields/pugsley-lite
9fdd4868895b38fb81855952f19bdf9cca1635b3
[ "MIT" ]
1
2019-06-11T21:15:18.000Z
2019-06-11T21:15:18.000Z
pugsley/schemas/images.py
kfields/pugsley-lite
9fdd4868895b38fb81855952f19bdf9cca1635b3
[ "MIT" ]
11
2019-07-21T04:04:22.000Z
2022-03-11T23:47:31.000Z
pugsley/schemas/images.py
kfields/pugsley-lite
9fdd4868895b38fb81855952f19bdf9cca1635b3
[ "MIT" ]
null
null
null
import graphene from graphene import relay from graphene_sqlalchemy import SQLAlchemyObjectType, SQLAlchemyConnectionField from pugsley import db from pugsley.models.users import User from pugsley.models.images import Image from pugsley.jwt import decode_auth_token, load_user class ImageNode(SQLAlchemyObjectType): ...
26.411111
79
0.647034
279
2,377
5.422939
0.240143
0.041639
0.031725
0.059484
0.325843
0.325843
0.298744
0.298744
0.206213
0.134831
0
0
0.257888
2,377
89
80
26.707865
0.85771
0.055532
0
0.415385
0
0
0
0
0
0
0
0
0
1
0.046154
false
0
0.107692
0
0.507692
0.092308
0
0
0
null
0
0
0
0
0
0
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
4085f27beecd26882cfb1d25b32ef8e131f47a0e
2,068
py
Python
tests/test_envtoml.py
manfredlotz/tomlext
1538df45becadfdc3b84a7f00727bc85167c6ec5
[ "MIT" ]
4
2020-09-07T19:53:53.000Z
2022-03-18T14:25:43.000Z
tests/test_envtoml.py
manfredlotz/tomlext
1538df45becadfdc3b84a7f00727bc85167c6ec5
[ "MIT" ]
1
2021-05-15T03:58:18.000Z
2021-05-15T07:33:49.000Z
tests/test_envtoml.py
manfredlotz/tomlext
1538df45becadfdc3b84a7f00727bc85167c6ec5
[ "MIT" ]
2
2019-11-24T20:17:04.000Z
2021-12-22T07:42:58.000Z
from envtoml import __version__ from envtoml import load, loads import os SIMPLE_OUTPUT = {'x': 5, 'y': 10} MORE_COMPLEX_OUTPUT = { 'fruit': [ {'name': 'apple', 'price': 2}, {'name': 'orange', 'price': 3.14} ], 'other': [ {'name': 'laptop', 'price': 1000, 'sold': True}, {'n...
27.573333
92
0.634913
292
2,068
4.136986
0.212329
0.096854
0.09106
0.07947
0.477649
0.341887
0.209437
0.160596
0.124172
0.059603
0
0.026316
0.173114
2,068
74
93
27.945946
0.680117
0.001934
0
0.041667
0
0
0.320078
0.101843
0
0
0
0
0.270833
1
0.229167
false
0
0.0625
0
0.291667
0
0
0
0
null
0
0
0
0
0
0
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
40866114d165908395fc07d0292e2e40f5e42906
19,982
py
Python
build.py
EiNSTeiN-/idapython
a03c7a511715ad63a2df068b82fe82eafe175fa2
[ "BSD-3-Clause" ]
46
2015-01-02T09:02:07.000Z
2022-03-25T12:51:40.000Z
build.py
EiNSTeiN-/idapython
a03c7a511715ad63a2df068b82fe82eafe175fa2
[ "BSD-3-Clause" ]
null
null
null
build.py
EiNSTeiN-/idapython
a03c7a511715ad63a2df068b82fe82eafe175fa2
[ "BSD-3-Clause" ]
62
2015-04-13T11:25:53.000Z
2022-03-25T12:52:10.000Z
#!/usr/bin/env python #--------------------------------------------------------------------- # IDAPython - Python plugin for Interactive Disassembler # # (c) The IDAPython Team <idapython@googlegroups.com> # # All rights reserved. # # For detailed copyright information see the file COPYING in # the root of the distribu...
33.982993
141
0.545091
2,107
19,982
4.987186
0.212625
0.019033
0.026266
0.013704
0.223734
0.173106
0.149315
0.132946
0.113628
0.088314
0
0.010416
0.284106
19,982
587
142
34.040886
0.724152
0.135522
0
0.117096
0
0.002342
0.212372
0.037106
0
0
0
0
0.01171
0
null
null
0.002342
0.025761
null
null
0.021077
0
0
0
null
0
0
0
0
0
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
4087573efda85a4505f0251a081c089a239becf4
32,636
py
Python
src/oci/database/models/vm_cluster.py
pabs3/oci-python-sdk
437ba18ce39af2d1090e277c4bb8750c89f83021
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/database/models/vm_cluster.py
pabs3/oci-python-sdk
437ba18ce39af2d1090e277c4bb8750c89f83021
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/database/models/vm_cluster.py
pabs3/oci-python-sdk
437ba18ce39af2d1090e277c4bb8750c89f83021
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# coding: utf-8 # Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
33.819689
245
0.661294
4,133
32,636
4.937818
0.068473
0.039984
0.099226
0.048412
0.763818
0.667189
0.57355
0.471678
0.429929
0.387789
0
0.000756
0.270346
32,636
964
246
33.854772
0.856255
0.540875
0
0.098182
0
0
0.147169
0.057928
0
0
0
0
0
1
0.210909
false
0
0.007273
0.007273
0.367273
0
0
0
0
null
0
0
0
0
0
0
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
408852a474fe8f726f272bcc135b43c64f179c93
1,552
py
Python
mapss/static/packages/arches/arches/app/models/migrations/4467_sync_log.py
MPI-MAPSS/MAPSS
3a5c0109758801717aaa8de1125ca5e98f83d3b4
[ "CC0-1.0" ]
null
null
null
mapss/static/packages/arches/arches/app/models/migrations/4467_sync_log.py
MPI-MAPSS/MAPSS
3a5c0109758801717aaa8de1125ca5e98f83d3b4
[ "CC0-1.0" ]
null
null
null
mapss/static/packages/arches/arches/app/models/migrations/4467_sync_log.py
MPI-MAPSS/MAPSS
3a5c0109758801717aaa8de1125ca5e98f83d3b4
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2019-01-25 16:00 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MOD...
38.8
129
0.615979
159
1,552
5.867925
0.515723
0.060021
0.107181
0.111468
0.24866
0.24866
0.102894
0.102894
0.102894
0
0
0.023236
0.251289
1,552
39
130
39.794872
0.77969
0.044459
0
0
1
0
0.15
0.047973
0
0
0
0
0
1
0
false
0
0.133333
0
0.233333
0
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
408f271d82ba0f5cbd1dd78fd6110731cf796be4
2,471
py
Python
workon/contrib/notification/migrations/0001_initial.py
dalou/django-workon
ef63c0a81c00ef560ed693e435cf3825f5170126
[ "BSD-3-Clause" ]
null
null
null
workon/contrib/notification/migrations/0001_initial.py
dalou/django-workon
ef63c0a81c00ef560ed693e435cf3825f5170126
[ "BSD-3-Clause" ]
null
null
null
workon/contrib/notification/migrations/0001_initial.py
dalou/django-workon
ef63c0a81c00ef560ed693e435cf3825f5170126
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-06-08 23:12 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('content...
53.717391
177
0.645083
285
2,471
5.37193
0.389474
0.100588
0.058785
0.07838
0.363161
0.321359
0.212933
0.154148
0.154148
0.154148
0
0.020672
0.216916
2,471
45
178
54.911111
0.770543
0.027115
0
0
1
0
0.199917
0.035402
0
0
0
0
0
1
0
false
0
0.108108
0
0.216216
0
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
409071cfae4cfc182c584ee910f37e24f2d14c5e
2,574
py
Python
structure/grouped/node.py
smerkousdavid/membrane-analysis
f001db2a9ff836e304b8250531ef0d47882d5879
[ "MIT" ]
null
null
null
structure/grouped/node.py
smerkousdavid/membrane-analysis
f001db2a9ff836e304b8250531ef0d47882d5879
[ "MIT" ]
null
null
null
structure/grouped/node.py
smerkousdavid/membrane-analysis
f001db2a9ff836e304b8250531ef0d47882d5879
[ "MIT" ]
null
null
null
from typing import List from structure.analysis.statistics import Statistics, compute_statistics import numpy as np import h5py as hf import copy class AnalysisData(object): def __init__(self, file_name: str, dtype=np.double): self.data = np.array([], dtype=dtype) self.name = file_name sel...
29.930233
87
0.637529
340
2,574
4.579412
0.229412
0.052023
0.035967
0.032755
0.136159
0.038536
0
0
0
0
0
0.003198
0.271173
2,574
85
88
30.282353
0.826759
0.055556
0
0.101695
0
0
0
0
0
0
0
0
0
1
0.237288
false
0
0.084746
0.067797
0.508475
0
0
0
0
null
0
0
0
0
0
0
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
40937d463c80943790c1aa4dd5a8ea74cb11937d
4,247
py
Python
src/mongo.py
bergplace/block-engine
0e754f98a6f28566aaf1ab11a8dd5c723fab12e8
[ "MIT" ]
1
2019-11-25T02:47:10.000Z
2019-11-25T02:47:10.000Z
src/mongo.py
bergplace/block-engine
0e754f98a6f28566aaf1ab11a8dd5c723fab12e8
[ "MIT" ]
4
2019-01-26T11:15:52.000Z
2019-03-14T01:13:04.000Z
src/mongo.py
bergplace/block-engine
0e754f98a6f28566aaf1ab11a8dd5c723fab12e8
[ "MIT" ]
1
2020-08-25T06:10:12.000Z
2020-08-25T06:10:12.000Z
""" Mongo handler """ import traceback from urllib.parse import quote_plus # pylint: disable=no-name-in-module import time import os from pymongo import MongoClient, ASCENDING # pylint: disable=import-error from pymongo.errors import OperationFailure, DuplicateKeyError # noqa pylint: disable=import-error from cons...
34.25
99
0.592418
460
4,247
5.256522
0.280435
0.052109
0.033085
0.034739
0.179901
0.103805
0.039289
0.027295
0
0
0
0.003651
0.290558
4,247
123
100
34.528455
0.798872
0.08453
0
0.11236
0
0
0.132442
0.028324
0
0
0
0
0
1
0.123596
false
0.05618
0.078652
0.022472
0.325843
0
0
0
0
null
0
0
0
0
0
0
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
4093ccc98b6146a21060123482b9af85017d76b9
1,562
py
Python
src/get_wiki_data.py
pull-fiction/ada-project
5189fb1d9e527d50d6eedbae599d2b5ed410274a
[ "MIT" ]
4
2019-10-28T14:27:38.000Z
2020-02-18T23:00:36.000Z
src/get_wiki_data.py
pull-fiction/make-crops-not-war
5189fb1d9e527d50d6eedbae599d2b5ed410274a
[ "MIT" ]
null
null
null
src/get_wiki_data.py
pull-fiction/make-crops-not-war
5189fb1d9e527d50d6eedbae599d2b5ed410274a
[ "MIT" ]
1
2019-10-28T12:43:48.000Z
2019-10-28T12:43:48.000Z
# pip install sparqlwrapper # https://rdflib.github.io/sparqlwrapper/ from SPARQLWrapper import SPARQLWrapper, JSON endpoint_url = "https://query.wikidata.org/sparql" query = """ SELECT DISTINCT ?armed_conflictLabel ?start_year ?end_year ?participantLabel ?countryWarLabel ?locationLabel { # Get all the armed confl...
28.925926
108
0.704225
202
1,562
5.336634
0.465347
0.060297
0.059369
0.036178
0.183673
0.055659
0
0
0
0
0
0.049334
0.182458
1,562
53
109
29.471698
0.794832
0.041613
0
0
0
0
0.761714
0.014726
0
0
0
0
0
1
0.027778
false
0
0.027778
0
0.083333
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4098a02f5130f5d06e256427b11e8df5a1da7b7e
1,217
py
Python
src/constants.py
ethan-leba/transcriboid-backend
2b146bb71d8512c15d4f90c6aeab336345a4eb49
[ "MIT" ]
null
null
null
src/constants.py
ethan-leba/transcriboid-backend
2b146bb71d8512c15d4f90c6aeab336345a4eb49
[ "MIT" ]
null
null
null
src/constants.py
ethan-leba/transcriboid-backend
2b146bb71d8512c15d4f90c6aeab336345a4eb49
[ "MIT" ]
null
null
null
# User change # The minimum amount of notes that a song can have. minimum_duration = 10 # -- File paths relative to the parent directory -- # The directory containing the midi files to be converted into a markov chain. midi_path = './markov_src' # The directory to save the file to. save_midi_path = './markov_output/' ...
22.127273
78
0.546426
191
1,217
3.408377
0.445026
0.061444
0.059908
0.0553
0.064516
0
0
0
0
0
0
0.081585
0.294988
1,217
54
79
22.537037
0.677156
0.439606
0
0
0
0
0.115269
0
0
0
0
0.018519
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
409a7f699bdbd467ead46bdd5113ac344bb12607
1,051
py
Python
h1st/trust/explainer.py
Adatao/H1st
c6a92f303d150664fe49f7f41e23b473b4a5d17f
[ "Apache-2.0" ]
796
2020-08-13T07:28:45.000Z
2022-03-24T04:28:02.000Z
h1st/trust/explainer.py
Adatao/H1st
c6a92f303d150664fe49f7f41e23b473b4a5d17f
[ "Apache-2.0" ]
67
2020-08-17T20:53:38.000Z
2022-03-29T04:42:43.000Z
h1st/trust/explainer.py
Adatao/H1st
c6a92f303d150664fe49f7f41e23b473b4a5d17f
[ "Apache-2.0" ]
104
2020-08-16T06:03:30.000Z
2022-01-25T10:46:10.000Z
class Explainer: """ An Explainer is one that stores all relevant details about the explanation of a decision that was made by the Model or Graph. For example, details such as `what was the original decision`, `what were the key factors that led to that decision` and `what type of model was used to ...
43.791667
95
0.682207
130
1,051
5.261538
0.484615
0.070175
0.035088
0.04386
0
0
0
0
0
0
0
0.01118
0.234063
1,051
24
96
43.791667
0.838509
0.287345
0
0
0
0
0.106648
0
0
0
0
0
0
1
0.1875
false
0.0625
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
409d018ede0a84d157c1dc4fc94c469c7007254f
520
py
Python
deckbuilder/deckbuilder/views.py
maxawolff/mtg-deckbuilder
4ac7d0d7a0ed015dafd5143df0021182deb7cb01
[ "MIT" ]
null
null
null
deckbuilder/deckbuilder/views.py
maxawolff/mtg-deckbuilder
4ac7d0d7a0ed015dafd5143df0021182deb7cb01
[ "MIT" ]
null
null
null
deckbuilder/deckbuilder/views.py
maxawolff/mtg-deckbuilder
4ac7d0d7a0ed015dafd5143df0021182deb7cb01
[ "MIT" ]
null
null
null
"""Views associated with the core of the site.""" from django.views.generic import TemplateView, ListView from card.models import Set class HomeView(ListView): """Display the home page.""" template_name = 'deckbuilder/base.html' model = Set def get_context_data(self, **kwargs): """.""" ...
26
66
0.65
65
520
5.061538
0.615385
0.06383
0.085106
0
0
0
0
0
0
0
0
0
0.226923
520
19
67
27.368421
0.818408
0.186538
0
0
0
0
0.071253
0.051597
0
0
0
0
0
1
0.1
false
0
0.2
0
0.7
0
0
0
0
null
0
0
0
0
0
0
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
40a0d91fb22345572d6c462e759d694d7a9563ee
502
py
Python
activities/migrations/0007_transcript_status.py
Iamdavidonuh/REQAP
1df199c54d6e3f1bb91a3732d99510e27e831b4b
[ "MIT" ]
1
2021-07-08T06:16:33.000Z
2021-07-08T06:16:33.000Z
activities/migrations/0007_transcript_status.py
adole99/REQAP
6d95040fa2e5b7de23d4ba230877721f3f17f633
[ "MIT" ]
5
2020-05-01T19:37:52.000Z
2021-09-22T18:44:51.000Z
activities/migrations/0007_transcript_status.py
adole99/REQAP
6d95040fa2e5b7de23d4ba230877721f3f17f633
[ "MIT" ]
1
2020-03-13T10:15:07.000Z
2020-03-13T10:15:07.000Z
# Generated by Django 3.0.4 on 2020-05-02 18:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('activities', '0006_note'), ] operations = [ migrations.AddField( model_name='transcript', name='status', ...
26.421053
175
0.595618
51
502
5.803922
0.784314
0
0
0
0
0
0
0
0
0
0
0.054974
0.239044
502
18
176
27.888889
0.719895
0.089641
0
0
1
0
0.215385
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
40a39efc4d8aa7aae7d90db09415cd3d1e6addc8
1,076
py
Python
Provisioning/GenerateAWSCredentials.py
foundriesio/plug-and-trust-ssscli
f77c65d5b3de649d7db1c023ee41d871f77cd224
[ "Apache-2.0" ]
null
null
null
Provisioning/GenerateAWSCredentials.py
foundriesio/plug-and-trust-ssscli
f77c65d5b3de649d7db1c023ee41d871f77cd224
[ "Apache-2.0" ]
null
null
null
Provisioning/GenerateAWSCredentials.py
foundriesio/plug-and-trust-ssscli
f77c65d5b3de649d7db1c023ee41d871f77cd224
[ "Apache-2.0" ]
null
null
null
# # Copyright 2018-2020 NXP # SPDX-License-Identifier: Apache-2.0 # # """License text""" # This script is used to generate keys and CA certificates using openssl engine. # The generated keys shall be available in aws directory # These keys are used to provision to the secure element import os import sys import loggi...
27.589744
112
0.683086
131
1,076
5.473282
0.664122
0.025105
0.036262
0.041841
0
0
0
0
0
0
0
0.011905
0.219331
1,076
38
113
28.315789
0.841667
0.451673
0
0
1
0
0.043243
0
0
0
0
0
0
1
0.071429
false
0
0.285714
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
40a65e7d2d717e6838d171f7e144d318d420cd9a
697
py
Python
descriptor/support/interface.py
BlueWhaleMain/descriptor
008fb9bc7859f66ba0c8a960b7f4a4a0ef21f1aa
[ "MIT" ]
1
2021-09-03T23:17:47.000Z
2021-09-03T23:17:47.000Z
descriptor/support/interface.py
BlueWhaleMain/descriptor
008fb9bc7859f66ba0c8a960b7f4a4a0ef21f1aa
[ "MIT" ]
null
null
null
descriptor/support/interface.py
BlueWhaleMain/descriptor
008fb9bc7859f66ba0c8a960b7f4a4a0ef21f1aa
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright by BlueWhale. All Rights Reserved. import typing class Serializable: """ 可序列化 """ class Verifiable: """ 可验证(完整性) """ def verify(self) -> None: """ 验证字段值是否符合规范 """ raise NotImplementedError _EIT = typing.TypeVar("_EIT") _EOT = typing.TypeVar("_EOT") ...
17.425
46
0.591105
73
697
5.424658
0.547945
0.131313
0
0
0
0
0
0
0
0
0
0.001898
0.243902
697
39
47
17.871795
0.749526
0.166428
0
0.2
0
0
0.029795
0
0
0
0
0
0
1
0.2
false
0
0.066667
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
40a6cae451fb43dd79ce4049f24f03d863a5b417
433
py
Python
src/metaloader/serialisations/yaml.py
jacobneiltaylor/metaloader
acea30c5d775e45df2ea533f082a73d839411248
[ "MIT" ]
null
null
null
src/metaloader/serialisations/yaml.py
jacobneiltaylor/metaloader
acea30c5d775e45df2ea533f082a73d839411248
[ "MIT" ]
null
null
null
src/metaloader/serialisations/yaml.py
jacobneiltaylor/metaloader
acea30c5d775e45df2ea533f082a73d839411248
[ "MIT" ]
null
null
null
from typing import TextIO from ruamel.yaml import YAML from .serialisation import TextSerialisation class YamlSerialisation(TextSerialisation, register="yaml"): EXTENSION = "yaml" _YAML = YAML(typ="unsafe", pure=True) def dump(self, datastructure: dict, textstream: TextIO): self._YAML.dump(datast...
28.866667
60
0.729792
49
433
6.387755
0.489796
0.051118
0
0
0
0
0
0
0
0
0
0
0.170901
433
14
61
30.928571
0.871866
0
0
0
0
0
0.032333
0
0
0
0
0
0
1
0.2
false
0
0.3
0.1
0.9
0
0
0
0
null
0
0
0
0
0
0
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
40b10e7573b4fc3401e8ccebfcdd8bc0222cb6b2
425
py
Python
src/aws_environments/migrations/0026_auto_20200423_1102.py
chiliseed/hub
83f29fbdd12e2260397e18e635f508459fa4990e
[ "Apache-2.0" ]
null
null
null
src/aws_environments/migrations/0026_auto_20200423_1102.py
chiliseed/hub
83f29fbdd12e2260397e18e635f508459fa4990e
[ "Apache-2.0" ]
4
2021-04-08T20:10:15.000Z
2021-06-10T20:18:17.000Z
src/aws_environments/migrations/0026_auto_20200423_1102.py
chiliseed/hub
83f29fbdd12e2260397e18e635f508459fa4990e
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.2 on 2020-04-23 11:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("aws_environments", "0025_auto_20200324_1919"), ] operations = [ migrations.AlterField( model_name="resource", name="...
22.368421
74
0.621176
47
425
5.489362
0.851064
0
0
0
0
0
0
0
0
0
0
0.108974
0.265882
425
18
75
23.611111
0.717949
0.105882
0
0
1
0
0.150794
0.060847
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
40b38803172de27d5003bb469827ed507d3de527
446
py
Python
scripts/image_link_preprocessor.py
od2020/openacc-training-materials
216639942c450b68a7607754c9db217e48cb41ea
[ "Apache-2.0" ]
2
2020-06-30T23:44:00.000Z
2020-07-01T00:11:07.000Z
scripts/image_link_preprocessor.py
od2020/openacc-training-materials
216639942c450b68a7607754c9db217e48cb41ea
[ "Apache-2.0" ]
null
null
null
scripts/image_link_preprocessor.py
od2020/openacc-training-materials
216639942c450b68a7607754c9db217e48cb41ea
[ "Apache-2.0" ]
null
null
null
from nbconvert.preprocessors import * import re class ImageLinkPreprocessor(Preprocessor): """Strips 'files/' from image links""" def preprocess_cell(self, cell, resources, index): """Strips 'files/' from image links""" MATCHING = 'files\/images' if 'source' in cell and cell.cell_type ...
31.857143
70
0.64574
49
446
5.836735
0.571429
0.076923
0.104895
0.13986
0.174825
0
0
0
0
0
0
0
0.230942
446
13
71
34.307692
0.833819
0.14574
0
0
0
0
0.121622
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
40b4121d4a6d2358507fb9deff7a54466f977cc6
2,902
py
Python
PCA.py
geneti/cse881-data-mining
05ffc3c8a9c31338687c596629501f43348eaa39
[ "MIT" ]
null
null
null
PCA.py
geneti/cse881-data-mining
05ffc3c8a9c31338687c596629501f43348eaa39
[ "MIT" ]
null
null
null
PCA.py
geneti/cse881-data-mining
05ffc3c8a9c31338687c596629501f43348eaa39
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import matplotlib.pyplot as plt import sys import pickle import json import os.path from sklearn.decomposition import PCA from classifier import tfidf # Load Original unstructured data dataset_address = './dataset/' PCA_address = 'PCA/' a = np.array(pd.read_csv(dataset_address +...
33.744186
130
0.750517
489
2,902
4.190184
0.214724
0.122987
0.124451
0.175695
0.443143
0.399707
0.371401
0.353831
0.143485
0.06735
0
0.012029
0.111992
2,902
85
131
34.141176
0.783081
0.039628
0
0.030303
0
0
0.156419
0
0
0
0
0
0
1
0.015152
false
0
0.136364
0
0.166667
0.181818
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
40b696413eba0be3a69ce12409b23ae5722105d0
1,389
py
Python
mmfashion/models/fashion_recommender/base.py
RyanJiang0416/mmfashion
89f56e3e631b4f5c1403f7e8897396cc02b5aa91
[ "Apache-2.0" ]
952
2019-10-31T01:49:07.000Z
2022-03-29T11:33:27.000Z
mmfashion/models/fashion_recommender/base.py
RyanJiang0416/mmfashion
89f56e3e631b4f5c1403f7e8897396cc02b5aa91
[ "Apache-2.0" ]
135
2019-11-02T07:09:04.000Z
2022-03-17T06:08:11.000Z
mmfashion/models/fashion_recommender/base.py
RyanJiang0416/mmfashion
89f56e3e631b4f5c1403f7e8897396cc02b5aa91
[ "Apache-2.0" ]
239
2019-10-31T02:08:40.000Z
2022-03-22T03:14:38.000Z
import logging from abc import ABCMeta, abstractmethod import torch.nn as nn class BaseFashionRecommender(nn.Module): ''' Base class for fashion recommender''' __metaclass__ = ABCMeta def __init__(self): super(BaseFashionRecommender, self).__init__() @abstractmethod def forward_test(sel...
29.553191
77
0.547876
149
1,389
4.798658
0.322148
0.088112
0.041958
0.039161
0.193007
0.193007
0.193007
0.193007
0.193007
0.193007
0
0
0.37797
1,389
46
78
30.195652
0.827546
0.024478
0
0.108108
0
0
0.014095
0
0
0
0
0
0
1
0.135135
false
0.054054
0.081081
0
0.324324
0
0
0
0
null
0
0
0
0
0
0
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
40b8056c56482900e2c1ff0cef3f01ab72ff5ae7
747
py
Python
week-5-python_numPy_and_Pandas_II/practice-questions-1/1.py
sourabhedake/upgrad-python-bootcamp
2bbec872de8dc650c664adc46c39e72e254e6620
[ "MIT" ]
1
2022-02-03T17:54:36.000Z
2022-02-03T17:54:36.000Z
week-5-python_numPy_and_Pandas_II/practice-questions-1/1.py
sourabhedake/upgrad-python-bootcamp
2bbec872de8dc650c664adc46c39e72e254e6620
[ "MIT" ]
null
null
null
week-5-python_numPy_and_Pandas_II/practice-questions-1/1.py
sourabhedake/upgrad-python-bootcamp
2bbec872de8dc650c664adc46c39e72e254e6620
[ "MIT" ]
null
null
null
# Series Sub-setting # Description # Given a Pandas series and a value 'n', write a program to create a subset of the series whose value is greater than 'n'. # Input: The first line contains a 1D list that will be converted to a Pandas series, and the second line contains an integer 'n'. # Output: Rows of the series wh...
26.678571
130
0.694779
152
747
3.348684
0.440789
0.027505
0.051081
0.062868
0.090373
0.090373
0
0
0
0
0
0.08126
0.192771
747
28
131
26.678571
0.762852
0.669344
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
40ba33517e09e5da6ee3a17e62b0fead22ff2e57
213
py
Python
Tests/test-menu.py
MarcPartensky/Python-2020
1a4ef2edfea6efb353249d5e32c06b230b293c62
[ "MIT" ]
1
2020-09-02T10:41:49.000Z
2020-09-02T10:41:49.000Z
Tests/test-menu.py
MarcPartensky/Python-2020
1a4ef2edfea6efb353249d5e32c06b230b293c62
[ "MIT" ]
null
null
null
Tests/test-menu.py
MarcPartensky/Python-2020
1a4ef2edfea6efb353249d5e32c06b230b293c62
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from simple_term_menu import TerminalMenu def main(): terminal_menu = TerminalMenu(["entry 1", "entry 2", "entry 3"]) terminal_menu.show() if __name__ == "__main__": main()
16.384615
67
0.671362
28
213
4.678571
0.714286
0.183206
0
0
0
0
0
0
0
0
0
0.022989
0.183099
213
12
68
17.75
0.729885
0.098592
0
0
0
0
0.151832
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
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
40c07bd98ddde3070b79847b2e4186d5ddf6abf7
9,262
py
Python
empower/cli/command.py
otibsa/empower-runtime
94ec385ccbd4db3eefa9d3ec9cf0342b89d60d12
[ "Apache-2.0" ]
null
null
null
empower/cli/command.py
otibsa/empower-runtime
94ec385ccbd4db3eefa9d3ec9cf0342b89d60d12
[ "Apache-2.0" ]
null
null
null
empower/cli/command.py
otibsa/empower-runtime
94ec385ccbd4db3eefa9d3ec9cf0342b89d60d12
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # # Copyright (c) 2019 Fondazione Bruno Kessler # Author(s): Roberto Riggio (rriggio@fbk.eu), Cristina Costa (ccosta@fbk.eu) # # 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 Licens...
30.668874
79
0.646837
1,230
9,262
4.652846
0.227642
0.01957
0.015901
0.007339
0.21999
0.181898
0.143806
0.102918
0.029006
0.029006
0
0.009244
0.217448
9,262
301
80
30.770764
0.780353
0.097171
0
0.08377
0
0
0.21494
0
0
0
0
0
0
1
0.036649
false
0.068063
0.089005
0
0.157068
0.057592
0
0
0
null
0
0
0
0
0
0
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
40c6f53697351fb01d355e6241a87d95b02cc7cc
782
py
Python
happenings/urls.py
marquicus/django-happenings
a8eaa29706f530934a3cf401d62123c3cd32d304
[ "BSD-2-Clause" ]
null
null
null
happenings/urls.py
marquicus/django-happenings
a8eaa29706f530934a3cf401d62123c3cd32d304
[ "BSD-2-Clause" ]
null
null
null
happenings/urls.py
marquicus/django-happenings
a8eaa29706f530934a3cf401d62123c3cd32d304
[ "BSD-2-Clause" ]
null
null
null
from __future__ import unicode_literals from django.conf.urls import url from . import views app_name = 'calendar' urlpatterns = [ url(r'^$', views.EventMonthView.as_view(), name='list'), url(r'^month/shift/$', views.EventMonthView.as_view(), name='month_shift'), url(r'^event-list/shift/$', views.EventMo...
46
135
0.648338
122
782
3.991803
0.311475
0.057495
0.143737
0.256674
0.474333
0.455852
0.386037
0.229979
0.086242
0.086242
0
0.015559
0.095908
782
16
136
48.875
0.673267
0.011509
0
0
0
0.153846
0.333333
0.190661
0
0
0
0
0
1
0
false
0
0.230769
0
0.230769
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
40cc0a1b0d85df1d5d5bc614b6720a0f532e46fe
2,260
py
Python
sirena/readers/samsa.py
JohannesSMHI/sirena
32b75121a4f228c1c6fe5c4c24bd6f6760d50c1e
[ "MIT" ]
null
null
null
sirena/readers/samsa.py
JohannesSMHI/sirena
32b75121a4f228c1c6fe5c4c24bd6f6760d50c1e
[ "MIT" ]
null
null
null
sirena/readers/samsa.py
JohannesSMHI/sirena
32b75121a4f228c1c6fe5c4c24bd6f6760d50c1e
[ "MIT" ]
null
null
null
# Copyright (c) 2020 SMHI, Swedish Meteorological and Hydrological Institute. # License: MIT License (see LICENSE.txt or http://opensource.org/licenses/mit). """ Created on 2020-10-19 13:53 @author: a002028 """ import requests class SAMSABase: """Base class for SAMSA reader.""" def __init__(self): "...
25.111111
79
0.580973
247
2,260
5.137652
0.340081
0.06383
0.040977
0.028369
0.058314
0.058314
0.058314
0
0
0
0
0.013489
0.278319
2,260
89
80
25.393258
0.764562
0.210619
0
0.142857
0
0
0.030606
0
0.040816
0
0
0
0
1
0.265306
false
0
0.020408
0
0.44898
0.040816
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
40cc1b354c3011142d168ae9530516dee89b8152
37,823
py
Python
build/lib/fs/expose/dokan/__init__.py
offlinehacker/pyfilesystem
ca62cbd30750e0e3b3edd8cee5ee7a1d7cbef9a0
[ "BSD-3-Clause" ]
1
2015-07-09T21:20:21.000Z
2015-07-09T21:20:21.000Z
fs/expose/dokan/__init__.py
offlinehacker/pyfilesystem
ca62cbd30750e0e3b3edd8cee5ee7a1d7cbef9a0
[ "BSD-3-Clause" ]
null
null
null
fs/expose/dokan/__init__.py
offlinehacker/pyfilesystem
ca62cbd30750e0e3b3edd8cee5ee7a1d7cbef9a0
[ "BSD-3-Clause" ]
null
null
null
""" fs.expose.dokan =============== Expose an FS object to the native filesystem via Dokan. This module provides the necessary interfaces to mount an FS object into the local filesystem using Dokan on win32:: http://dokan-dev.net/en/ For simple usage, the function 'mount' takes an FS object and a drive letter, ...
35.216946
118
0.625757
4,600
37,823
4.996957
0.18413
0.031062
0.014618
0.01701
0.271383
0.22492
0.181502
0.167537
0.149613
0.113808
0
0.013418
0.292626
37,823
1,073
119
35.249767
0.845711
0.08984
0
0.416999
0
0
0.030269
0.001861
0
0
0.003435
0.000932
0.001328
0
null
null
0.005312
0.035857
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1