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
bdd3ab9d894a791877cd5b110bbcf4db48bff423
7,943
py
Python
test/test_state.py
bjornaa/ladim2
f6c1be9028ca54370ce33dde25b005d5b0bb4677
[ "MIT" ]
null
null
null
test/test_state.py
bjornaa/ladim2
f6c1be9028ca54370ce33dde25b005d5b0bb4677
[ "MIT" ]
null
null
null
test/test_state.py
bjornaa/ladim2
f6c1be9028ca54370ce33dde25b005d5b0bb4677
[ "MIT" ]
null
null
null
import numpy as np # type: ignore import pytest from ladim2.state import State # ------------ # __init__ # ------------ def test_init_minimal(): """Init State with no arguments""" S = State() assert len(S) == 0 assert S.npid == 0 assert set(S.variables) == {"pid", "X", "Y", "Z", "active", "aliv...
27.675958
85
0.590583
1,216
7,943
3.775493
0.14227
0.02091
0.043563
0.048791
0.418427
0.312786
0.272925
0.241124
0.218689
0.172511
0
0.067487
0.222082
7,943
286
86
27.772727
0.675514
0.154727
0
0.258065
0
0
0.020393
0
0
0
0
0
0.408602
1
0.123656
false
0
0.016129
0
0.139785
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
bdd65fd304b42fd5e57669cf829df3d843fd24ed
814
py
Python
dwi/patient.py
jupito/dwilib
6655eea21037977ed528b992b3a8471393127b77
[ "MIT" ]
9
2018-02-02T07:26:06.000Z
2021-07-28T11:27:38.000Z
dwi/patient.py
jupito/dwilib
6655eea21037977ed528b992b3a8471393127b77
[ "MIT" ]
null
null
null
dwi/patient.py
jupito/dwilib
6655eea21037977ed528b992b3a8471393127b77
[ "MIT" ]
4
2017-02-22T03:23:44.000Z
2021-12-10T10:32:08.000Z
"""Routines for handling patient lists.""" # TODO: Some functions from dwi.compat should be replaced with something better # here, they're still used by tools/{roc_auc,correlation}.py. from .types import GleasonScore def label_lesions(patients, thresholds=None): """Label lesions according to score groups.""" ...
33.916667
79
0.697789
118
814
4.779661
0.542373
0.021277
0.031915
0.024823
0.060284
0
0
0
0
0
0
0
0.202703
814
23
80
35.391304
0.869029
0.422604
0
0
0
0
0
0
0
0
0
0.043478
0
1
0.181818
false
0
0.090909
0
0.272727
0
0
0
0
null
0
0
0
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
bdd8443fccc1ae0affec98253387eaf4b0c3a80b
5,039
py
Python
runNum.py
NuPatchara/gitCV
68d1ecf3150cc819051a3bb718fae160da0ddcf9
[ "Apache-2.0" ]
null
null
null
runNum.py
NuPatchara/gitCV
68d1ecf3150cc819051a3bb718fae160da0ddcf9
[ "Apache-2.0" ]
null
null
null
runNum.py
NuPatchara/gitCV
68d1ecf3150cc819051a3bb718fae160da0ddcf9
[ "Apache-2.0" ]
null
null
null
import sys import cv2 import os, os.path import ColorClustering import numpy as np from PIL import Image from pytesser import * from sklearn.cluster import KMeans from sklearn.externals import joblib def find_most_Color(im, clusters): imBodyRGB = cv2.cvtColor(im, cv2.COLOR_BGR2RGB) imBodyRGB = imBodyRGB.reshap...
41.991667
118
0.519944
656
5,039
3.946646
0.286585
0.013905
0.011587
0.011587
0.066435
0.053302
0.053302
0.053302
0.053302
0.032445
0
0.076133
0.343124
5,039
120
119
41.991667
0.706042
0.014884
0
0.018692
0
0
0.017936
0.007054
0
0
0.000806
0
0
0
null
null
0
0.084112
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
bddf37e95b95085df635e34da4f5fe3ecddbccb0
1,751
py
Python
src/richie/apps/courses/migrations/0013_migrate_data_translated_licence_fields.py
leduong/richie
bf7ed379b7e2528cd790dadcec10ac2656efd189
[ "MIT" ]
174
2018-04-14T23:36:01.000Z
2022-03-10T09:27:01.000Z
src/richie/apps/courses/migrations/0013_migrate_data_translated_licence_fields.py
leduong/richie
bf7ed379b7e2528cd790dadcec10ac2656efd189
[ "MIT" ]
631
2018-04-04T11:28:53.000Z
2022-03-31T11:18:31.000Z
src/richie/apps/courses/migrations/0013_migrate_data_translated_licence_fields.py
leduong/richie
bf7ed379b7e2528cd790dadcec10ac2656efd189
[ "MIT" ]
64
2018-06-27T08:35:01.000Z
2022-03-10T09:27:43.000Z
# Generated by Django 2.2.8 on 2020-01-02 13:56 from django.conf import settings from django.core.exceptions import ObjectDoesNotExist from django.db import migrations def forwards_func(apps, schema_editor): Licence = apps.get_model("courses", "Licence") LicenceTranslation = apps.get_model("courses", "Licenc...
35.02
88
0.718447
191
1,751
6.418848
0.39267
0.058728
0.039152
0.06199
0.326264
0.290375
0.223491
0.223491
0.223491
0.223491
0
0.013542
0.198744
1,751
49
89
35.734694
0.860299
0.126214
0
0.322581
1
0
0.085358
0.029547
0
0
0
0
0
1
0.096774
false
0
0.096774
0
0.387097
0
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
bdea2dca87fdb221f4d7b5d7f20709164e7c3a60
1,029
py
Python
code2/day07/demo03.py
picktsh/python
0f758dcdf9eee3580d8f6e2241ef557b6320ef54
[ "MIT" ]
1
2019-12-31T16:44:06.000Z
2019-12-31T16:44:06.000Z
code2/day07/demo03.py
picktsh/python
0f758dcdf9eee3580d8f6e2241ef557b6320ef54
[ "MIT" ]
null
null
null
code2/day07/demo03.py
picktsh/python
0f758dcdf9eee3580d8f6e2241ef557b6320ef54
[ "MIT" ]
1
2022-01-13T10:32:22.000Z
2022-01-13T10:32:22.000Z
# 引入requests import requests # 封装headers headers = { 'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36'} # 写入网址 url = 'https://www.zhihu.com/api/v4/members/zhang-jia-wei/articles?' # 封装参数 params = { 'include': 'data[*].commen...
32.15625
292
0.739553
140
1,029
5.3
0.742857
0.024259
0
0
0
0
0
0
0
0
0
0.033659
0.104956
1,029
31
293
33.193548
0.771987
0.169096
0
0
0
0.157895
0.614929
0.324645
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0.263158
0
0
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
bdf19052bf08ce92ba043372f3b11061a349f71e
408
py
Python
app/pages/urls.py
julianpetrich/jpdotcom
ba9dac9c86f6d15374da9a37aac68963e56bcd93
[ "MIT" ]
null
null
null
app/pages/urls.py
julianpetrich/jpdotcom
ba9dac9c86f6d15374da9a37aac68963e56bcd93
[ "MIT" ]
null
null
null
app/pages/urls.py
julianpetrich/jpdotcom
ba9dac9c86f6d15374da9a37aac68963e56bcd93
[ "MIT" ]
null
null
null
from django.urls import path from .views import AboutView, ContactView, HomePageView, PrivacyView, TermsView urlpatterns = [ path("", HomePageView.as_view(), name="home"), path("about", AboutView.as_view(), name="about"), path("contact", ContactView.as_view(), name="contact"), path("terms", TermsView....
34
79
0.688725
48
408
5.75
0.416667
0.108696
0.181159
0
0
0
0
0
0
0
0
0
0.129902
408
11
80
37.090909
0.777465
0
0
0
0
0
0.127451
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
da04bc9087b18cc1593f2b126074d0370e63d6a0
1,040
py
Python
tests/integration/conftest.py
gcallaghan/openapi-spec-validator
3ab3411936faaee91246627f957ba6108cd47d44
[ "Apache-2.0" ]
null
null
null
tests/integration/conftest.py
gcallaghan/openapi-spec-validator
3ab3411936faaee91246627f957ba6108cd47d44
[ "Apache-2.0" ]
null
null
null
tests/integration/conftest.py
gcallaghan/openapi-spec-validator
3ab3411936faaee91246627f957ba6108cd47d44
[ "Apache-2.0" ]
null
null
null
from os import path import pytest from six.moves.urllib import request from six.moves.urllib.parse import urlunparse from yaml import safe_load from openapi_spec_validator import openapi_v3_spec_validator def spec_url(spec_file, schema='file'): directory = path.abspath(path.dirname(__file__)) full_path = pa...
22.608696
66
0.742308
146
1,040
4.876712
0.294521
0.067416
0.046348
0.067416
0.224719
0.109551
0.109551
0
0
0
0
0.002328
0.174038
1,040
45
67
23.111111
0.826542
0
0
0.129032
0
0
0.003846
0
0
0
0
0
0
1
0.16129
false
0
0.193548
0.064516
0.612903
0
0
0
0
null
0
0
0
0
0
0
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
da0ee8203f152fc62fcdc9038c65fc7421a7da86
2,399
py
Python
pywrap.py
rosejn/pywrap
21076e66e3ae99013524e4f391a5928193072fd6
[ "MIT" ]
null
null
null
pywrap.py
rosejn/pywrap
21076e66e3ae99013524e4f391a5928193072fd6
[ "MIT" ]
null
null
null
pywrap.py
rosejn/pywrap
21076e66e3ae99013524e4f391a5928193072fd6
[ "MIT" ]
null
null
null
import ctypes def _wrap(functype, name, library, restype, params, errcheck=None): prototype = functype(restype, *(param.type for param in params)) paramflags = tuple(param.paramflags for param in params) wrapper = prototype((name, library), paramflags) if errcheck: wrapper.errcheck = errcheck ...
24.731959
87
0.615673
265
2,399
5.449057
0.215094
0.055402
0.077562
0.066482
0.530471
0.509695
0.429363
0.364266
0.317175
0.204986
0
0.001784
0.298875
2,399
96
88
24.989583
0.856718
0
0
0.424658
0
0
0
0
0
0
0
0
0
1
0.219178
false
0
0.013699
0.041096
0.493151
0.027397
0
0
0
null
0
0
0
0
0
0
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
da11aa1d5d2c57b57bf78f6eb3a605f93202667a
2,211
py
Python
utils/utils_math.py
spisakt/PUMI
bea29696aa90e5581f08919e1a2cd9f569284984
[ "BSD-3-Clause" ]
5
2018-06-12T08:17:13.000Z
2022-02-25T20:07:00.000Z
utils/utils_math.py
spisakt/PUMI
bea29696aa90e5581f08919e1a2cd9f569284984
[ "BSD-3-Clause" ]
null
null
null
utils/utils_math.py
spisakt/PUMI
bea29696aa90e5581f08919e1a2cd9f569284984
[ "BSD-3-Clause" ]
2
2020-10-19T15:27:28.000Z
2021-06-04T17:02:27.000Z
from nipype.interfaces.utility import Function def add_two(a, b): return float(a)+float(b) def sum_list(in_list): return sum(in_list) def sub_two(a,b): return float(a)-float(b) def abs_val(x): return abs(x) def sec2sigmaV(TR, sec): sigmaV=sec/(2*TR) return sigmaV # calculates colmeans,...
27.6375
82
0.557214
267
2,211
4.483146
0.280899
0.0401
0.105263
0.056809
0.487886
0.452799
0.452799
0.401003
0.401003
0.282373
0
0.007717
0.296698
2,211
80
83
27.6375
0.762058
0.065129
0
0.315789
0
0
0.094246
0
0
0
0
0
0
0
null
null
0
0.087719
null
null
0.070175
0
0
0
null
0
0
0
0
0
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
da17721d993049cf0bec2f0d42ed1fdb58798fac
951
py
Python
lightcycle-frontend/tournament/admin.py
Onapsis/pytron
2ed0622ae13f010bcd8fdbbd2f1e9cba3d2e3d58
[ "MIT" ]
1
2015-11-04T12:04:42.000Z
2015-11-04T12:04:42.000Z
lightcycle-frontend/tournament/admin.py
Onapsis/pytron
2ed0622ae13f010bcd8fdbbd2f1e9cba3d2e3d58
[ "MIT" ]
null
null
null
lightcycle-frontend/tournament/admin.py
Onapsis/pytron
2ed0622ae13f010bcd8fdbbd2f1e9cba3d2e3d58
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from django.contrib.auth.models import User from tournament.models import Bot, Challenge, UserProfile class UserProfileAdmin(admin.ModelAdmin): list_display = ('user', 'score') model = UserProfile class UserProfileInline(admin.Ta...
32.793103
84
0.773922
104
951
6.961538
0.403846
0.062155
0.093923
0.107735
0
0
0
0
0
0
0
0
0.115668
951
28
85
33.964286
0.86088
0
0
0.090909
0
0
0.135647
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
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
da1abe2987395fdd9c8ec09105630f0f84d026d1
3,637
py
Python
tests/test_per_sample_wrapper.py
NiWaRe/deepee
98b5cd09f356f4a597fe204799a524c4d444dd2d
[ "Apache-2.0" ]
16
2021-03-24T09:50:32.000Z
2022-03-10T12:03:37.000Z
tests/test_per_sample_wrapper.py
NiWaRe/deepee
98b5cd09f356f4a597fe204799a524c4d444dd2d
[ "Apache-2.0" ]
4
2021-03-27T09:36:20.000Z
2021-10-18T09:30:47.000Z
tests/test_per_sample_wrapper.py
NiWaRe/deepee
98b5cd09f356f4a597fe204799a524c4d444dd2d
[ "Apache-2.0" ]
4
2021-06-24T08:30:47.000Z
2021-11-09T08:33:57.000Z
from deepee import PerSampleGradientWrapper import torch import pytest class MiniModel(torch.nn.Module): def __init__(self): super().__init__() self.lin = torch.nn.Linear(10, 1) def forward(self, x): return self.lin(x) def test_wrap(): wrapped = PerSampleGradientWrapper(MiniMode...
29.096
88
0.636239
420
3,637
5.311905
0.207143
0.028687
0.035858
0.128642
0.753922
0.696549
0.667862
0.626625
0.600628
0.600628
0
0.01582
0.252681
3,637
125
89
29.096
0.805004
0.006324
0
0.596154
0
0
0.023256
0.005814
0
0
0
0
0.067308
1
0.105769
false
0.009615
0.028846
0.019231
0.173077
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
da2640c8cad77dff99c17a878df82c7bc7beb176
786
py
Python
accountlist.py
beitnes/accountlist
5bca4960405a23b20bce0d9928536ed6db8c39d0
[ "Apache-2.0" ]
null
null
null
accountlist.py
beitnes/accountlist
5bca4960405a23b20bce0d9928536ed6db8c39d0
[ "Apache-2.0" ]
null
null
null
accountlist.py
beitnes/accountlist
5bca4960405a23b20bce0d9928536ed6db8c39d0
[ "Apache-2.0" ]
null
null
null
import boto3 import pprint def account_list(output_format = "json"): #TODO: Add other output formats client = boto3.client('organizations') pretty_printer = pprint.PrettyPrinter(indent=4) accounts = list() response = client.list_accounts() while True: next_token = response.get('Ne...
18.714286
65
0.625954
87
786
5.436782
0.528736
0.057082
0.067653
0.109937
0
0
0
0
0
0
0
0.005199
0.265903
786
41
66
19.170732
0.814558
0.136132
0
0
0
0
0.068148
0
0
0
0
0.02439
0
1
0.095238
false
0
0.095238
0
0.190476
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
da284cabcfa7c599a3b1aad0183ba6d119a7c17a
23,536
py
Python
vendor/packages/translate-toolkit/translate/storage/base.py
jgmize/kitsune
8f23727a9c7fcdd05afc86886f0134fb08d9a2f0
[ "BSD-3-Clause" ]
2
2019-08-19T17:08:47.000Z
2019-10-05T11:37:02.000Z
vendor/packages/translate-toolkit/translate/storage/base.py
jgmize/kitsune
8f23727a9c7fcdd05afc86886f0134fb08d9a2f0
[ "BSD-3-Clause" ]
null
null
null
vendor/packages/translate-toolkit/translate/storage/base.py
jgmize/kitsune
8f23727a9c7fcdd05afc86886f0134fb08d9a2f0
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2006-2009 Zuza Software Foundation # # This file is part of the Translate Toolkit. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; e...
34.209302
97
0.613443
2,795
23,536
5.088372
0.194991
0.008438
0.00443
0.007031
0.20187
0.160245
0.126916
0.113275
0.104556
0.076079
0
0.001928
0.29491
23,536
687
98
34.259098
0.855077
0.337313
0
0.307479
0
0
0.034779
0
0
0
0
0.004367
0
1
0.204986
false
0.022161
0.019391
0.00831
0.412742
0
0
0
0
null
0
0
0
0
0
0
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
da32e41f6a6f935279a78a5bb3c83c1544bb8fec
494
py
Python
CodeWars/Python/EvenTimesLast.py
BobbyRobillard/CodingChallenges
71d5ca0b7f7c470c547d858dde7a799ce7d0d1a0
[ "MIT" ]
null
null
null
CodeWars/Python/EvenTimesLast.py
BobbyRobillard/CodingChallenges
71d5ca0b7f7c470c547d858dde7a799ce7d0d1a0
[ "MIT" ]
null
null
null
CodeWars/Python/EvenTimesLast.py
BobbyRobillard/CodingChallenges
71d5ca0b7f7c470c547d858dde7a799ce7d0d1a0
[ "MIT" ]
null
null
null
# First Correct Solution # def even_last(numbers): return ( 0 if len(numbers) == 0 else sum(numbers[x] for x in range(0, len(numbers), 2)) * numbers[len(numbers) - 1] ) # REFACTORED Solution # def even_last(numbers): return sum(numbers[::2]) * numbers[-1] if numbers else 0 ...
24.7
88
0.595142
77
494
3.766234
0.467532
0.110345
0.031034
0.041379
0.303448
0.303448
0
0
0
0
0
0.063492
0.234818
494
19
89
26
0.703704
0.168016
0
0.181818
0
0
0.1067
0
0
0
0
0
0.090909
1
0.181818
false
0
0
0.181818
0.363636
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
da35f10f0968905caacfa6b0d419287aa50e3f84
603
py
Python
scatter.py
Deego88/pands-project
89f0baad690b0772502d5d336c9fd56ad5470cdc
[ "MIT" ]
null
null
null
scatter.py
Deego88/pands-project
89f0baad690b0772502d5d336c9fd56ad5470cdc
[ "MIT" ]
null
null
null
scatter.py
Deego88/pands-project
89f0baad690b0772502d5d336c9fd56ad5470cdc
[ "MIT" ]
null
null
null
# Third output required for project- A scatter plot of the output of the variables import seaborn as sns import pandas as pd import matplotlib.pyplot as plt # First output required for project- Read iris CSV file to into DataFrame iris = pd.read_csv("iris.csv") sns.set_style("darkgrid") sns.pairplot(iris, h...
35.470588
99
0.739635
94
603
4.723404
0.606383
0.063063
0.076577
0.108108
0
0
0
0
0
0
0
0.003899
0.149254
603
17
100
35.470588
0.861598
0.529022
0
0.222222
0
0
0.110687
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
da3d14bdecf4a0d019902eff7b7a5c16a38e1ceb
2,434
py
Python
privatebin.py
iomintz/python-snippets
982861c173bf4bcd5d908514a9e8b1914a580a5d
[ "CC0-1.0" ]
2
2020-04-10T07:29:56.000Z
2020-05-27T03:45:21.000Z
privatebin.py
LyricLy/python-snippets
9d868b7bbccd793ea1dc513f51290963584a1dee
[ "CC0-1.0" ]
null
null
null
privatebin.py
LyricLy/python-snippets
9d868b7bbccd793ea1dc513f51290963584a1dee
[ "CC0-1.0" ]
2
2018-11-24T08:16:59.000Z
2019-02-24T04:41:30.000Z
#!/usr/bin/env python3 # encoding: utf-8 """ privatebin.py: uploads text to privatebin using code from <https://github.com/r4sas/PBinCLI/blob/master/pbincli/actions.py>, © 2017–2018 R4SAS <r4sas@i2pmail.org> using code from <https://github.com/khazhyk/dango.py/blob/master/dango/zerobin.py>, © 2017 khazhyk """ import ...
26.747253
107
0.711586
356
2,434
4.766854
0.457865
0.011786
0.026517
0.033589
0.031821
0.031821
0
0
0
0
0
0.021408
0.136401
2,434
90
108
27.044444
0.784491
0.158998
0
0
0
0
0.116519
0
0
0
0
0.011111
0
1
0.067797
false
0.016949
0.152542
0.016949
0.322034
0.016949
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
da44b530cb372e0a45fbccf1c2f6a0b2f6789174
511
py
Python
oscar/shared/economy.py
Xaxetrov/OSCAR
f3a264e2bc7d4253756b11b0dbaa58c4f9ea82a6
[ "Apache-2.0" ]
5
2017-10-11T18:08:13.000Z
2018-06-11T09:23:03.000Z
oscar/shared/economy.py
Xaxetrov/OSCAR
f3a264e2bc7d4253756b11b0dbaa58c4f9ea82a6
[ "Apache-2.0" ]
2
2018-04-18T16:25:20.000Z
2019-04-26T14:49:52.000Z
oscar/shared/economy.py
Xaxetrov/OSCAR
f3a264e2bc7d4253756b11b0dbaa58c4f9ea82a6
[ "Apache-2.0" ]
null
null
null
class Economy: """ Stores economic state """ def __init__(self): self.supply_depots = [] self.command_centers = [] self.scv = 8 def add_supply_depot(self, obs, shared, location): location.compute_minimap_loc(obs, shared) self.supply_depots.append(location) def ...
26.894737
56
0.645793
62
511
5.048387
0.403226
0.115016
0.102236
0.134185
0.376997
0.376997
0.376997
0.376997
0.376997
0.376997
0
0.005208
0.248532
511
18
57
28.388889
0.809896
0.041096
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.307692
false
0
0
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
da45407cbca582a2a771bd09b1b4379b9b0b026a
10,818
py
Python
tcga_encoder/analyses/old/survival_from_z_space3.py
tedmeeds/tcga_encoder
805f9a5bcc422a43faea45baa0996c88d346e3b4
[ "MIT" ]
2
2017-12-19T15:32:46.000Z
2018-01-12T11:24:24.000Z
tcga_encoder/analyses/old/survival_from_z_space3.py
tedmeeds/tcga_encoder
805f9a5bcc422a43faea45baa0996c88d346e3b4
[ "MIT" ]
null
null
null
tcga_encoder/analyses/old/survival_from_z_space3.py
tedmeeds/tcga_encoder
805f9a5bcc422a43faea45baa0996c88d346e3b4
[ "MIT" ]
null
null
null
from tcga_encoder.utils.helpers import * from tcga_encoder.data.data import * from tcga_encoder.definitions.tcga import * #from tcga_encoder.definitions.nn import * from tcga_encoder.definitions.locations import * #from tcga_encoder.algorithms import * import seaborn as sns from sklearn.manifold import TSNE, locally_li...
41.930233
376
0.68839
1,667
10,818
4.170366
0.15117
0.070771
0.038838
0.038262
0.50561
0.44275
0.384494
0.321922
0.281789
0.270282
0
0.014281
0.177944
10,818
258
377
41.930233
0.767458
0.155574
0
0.106509
0
0
0.079213
0.037135
0
0
0
0
0
0
null
null
0
0.071006
null
null
0.047337
0
0
0
null
0
0
0
0
0
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
da4b5460725c138c9033a42b82f19db166cfb84d
1,935
py
Python
tests/test_one_of_schema.py
bwind/sticky-marshmallow
e3e7c215fe9b221164c17121197ffca1b396e81a
[ "MIT" ]
2
2019-11-28T11:25:47.000Z
2019-12-05T09:53:31.000Z
tests/test_one_of_schema.py
bwind/sticky-marshmallow
e3e7c215fe9b221164c17121197ffca1b396e81a
[ "MIT" ]
null
null
null
tests/test_one_of_schema.py
bwind/sticky-marshmallow
e3e7c215fe9b221164c17121197ffca1b396e81a
[ "MIT" ]
1
2019-11-29T15:32:14.000Z
2019-11-29T15:32:14.000Z
from dataclasses import dataclass from typing import List import bson from sticky_marshmallow import Repository from marshmallow_oneofschema import OneOfSchema from marshmallow import fields, post_load, Schema from tests.db import connect @dataclass class Foo: id: str foo: str @dataclass class A(Foo): ...
19.744898
78
0.657364
222
1,935
5.603604
0.324324
0.045016
0.027331
0.040193
0.184887
0.184887
0.184887
0.101286
0.101286
0.101286
0
0.00067
0.228941
1,935
97
79
19.948454
0.83311
0
0
0.246154
0
0
0.006718
0
0
0
0
0
0.046154
1
0.107692
false
0
0.107692
0.030769
0.630769
0
0
0
0
null
0
0
0
0
0
0
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
da4ce36d9c8b0451cd19a4276193992895c3a0ed
23,304
py
Python
create_dataset.py
akudan/nephi
83d3ccee0b83b3ca2349e92c454ed178afd1d1fb
[ "MIT" ]
50
2018-04-22T23:12:18.000Z
2022-02-14T15:10:24.000Z
create_dataset.py
akudan/nephi
83d3ccee0b83b3ca2349e92c454ed178afd1d1fb
[ "MIT" ]
1
2019-03-01T02:54:19.000Z
2019-03-01T15:30:12.000Z
create_dataset.py
akudan/nephi
83d3ccee0b83b3ca2349e92c454ed178afd1d1fb
[ "MIT" ]
19
2018-02-07T21:17:13.000Z
2022-02-14T15:11:46.000Z
import os import lmdb # install lmdb by "pip install lmdb" import cv2 import numpy as np from tool.xml_parser import page_images from glob import glob import re import sys import io import argparse from scipy.spatial import distance encoding = 'utf-8' stdout = sys.stdout reload(sys) sys.setdefaultencoding('utf-8') s...
40.458333
277
0.573249
2,961
23,304
4.355961
0.133063
0.015196
0.006203
0.011165
0.57947
0.543728
0.498449
0.482633
0.468677
0.435184
0
0.022841
0.314281
23,304
576
278
40.458333
0.784293
0.117662
0
0.568238
0
0
0.104642
0
0
0
0
0
0.002481
0
null
null
0
0.027295
null
null
0.129032
0
0
0
null
0
0
0
0
0
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
da55b03a123eb70e524ac2c9ba783fe7003f5224
250
py
Python
mundo 1/ex020.py
thiagofreitascarneiro/Curso-de-Python---Curso-em-Video
0342e482780b5a1c6f78cddd51d9bfad785c79fa
[ "MIT" ]
1
2021-08-04T13:21:22.000Z
2021-08-04T13:21:22.000Z
mundo 1/ex020.py
thiagofreitascarneiro/Curso-de-Python---Curso-em-Video
0342e482780b5a1c6f78cddd51d9bfad785c79fa
[ "MIT" ]
null
null
null
mundo 1/ex020.py
thiagofreitascarneiro/Curso-de-Python---Curso-em-Video
0342e482780b5a1c6f78cddd51d9bfad785c79fa
[ "MIT" ]
null
null
null
import random n1 = str(input('Primeiro Aluno')) n2 = str(input('Segundo Aluno')) n3 = str(input('Terceiro Aluno')) n4 = str(input('Quarto Aluno')) lista = [n1,n2,n3,n4] Ordem = random.sample(lista,k=4) print(f'A ordem de apresentação será: {Ordem}')
27.777778
47
0.692
41
250
4.219512
0.585366
0.184971
0
0
0
0
0
0
0
0
0
0.040909
0.12
250
9
47
27.777778
0.745455
0
0
0
0
0
0.358566
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
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
da58d89c89872e8d53a290617cb5b532f0d040f3
1,157
py
Python
hard-gists/1023456/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
21
2019-07-08T08:26:45.000Z
2022-01-24T23:53:25.000Z
hard-gists/1023456/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
5
2019-06-15T14:47:47.000Z
2022-02-26T05:02:56.000Z
hard-gists/1023456/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
17
2019-05-16T03:50:34.000Z
2021-01-14T14:35:12.000Z
import scriptcontext import time import System import Rhino rc, view = Rhino.Input.RhinoGet.GetView("select view") print "position mouse where you want" for i in [5,4,3,2,1]: time.sleep(0.5) print i screen_point = System.Windows.Forms.Cursor.Position print "screen_point =", screen_point # convert screen coo...
33.057143
84
0.78911
169
1,157
5.260355
0.39645
0.061867
0.067492
0.074241
0.181102
0.074241
0.074241
0
0
0
0
0.006903
0.123596
1,157
35
85
33.057143
0.869822
0.19879
0
0
0
0
0.096529
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.208333
0
0
0
null
0
0
0
0
0
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
da5c80138d99d10b2de1007d8d74ecb978a6b876
3,483
py
Python
dl/cifar_python_data_layer.py
zsffq999/DISH
2285747d9a410363ce09778aed5314a2e1b1aed9
[ "MIT" ]
3
2018-09-22T13:13:46.000Z
2020-05-09T07:24:44.000Z
dl/cifar_python_data_layer.py
zsffq999/DISH
2285747d9a410363ce09778aed5314a2e1b1aed9
[ "MIT" ]
null
null
null
dl/cifar_python_data_layer.py
zsffq999/DISH
2285747d9a410363ce09778aed5314a2e1b1aed9
[ "MIT" ]
null
null
null
# imports import caffe import numpy as np from random import shuffle import cPickle as cp import scipy.io as sio class PythonDataLayer(caffe.Layer): """ This is a simple syncronous datalayer for training a multilabel model on CIFAR. """ def setup(self, bottom, top): self.top_names = ['dat...
29.025
125
0.669825
509
3,483
4.471513
0.328094
0.051406
0.06283
0.052724
0.211336
0.155975
0.131371
0.131371
0.074692
0
0
0.019685
0.197818
3,483
119
126
29.268908
0.794918
0.146713
0
0.109091
0
0
0.078686
0.038046
0
0
0
0
0
0
null
null
0.036364
0.090909
null
null
0.018182
0
0
0
null
0
0
0
0
0
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
da5fdaa047dc2cba3b58d7d4eab745c4fc398500
9,138
py
Python
task.py
zhester/aptask
4fc5c2bfe8dbe373e2ddc5bc15562885bb20b28e
[ "BSD-2-Clause" ]
null
null
null
task.py
zhester/aptask
4fc5c2bfe8dbe373e2ddc5bc15562885bb20b28e
[ "BSD-2-Clause" ]
null
null
null
task.py
zhester/aptask
4fc5c2bfe8dbe373e2ddc5bc15562885bb20b28e
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python """ User Task Interface This module should be used to implement new task execution drivers. Semantically, a task is the object a worker creates and manipulates to execute long-running code or programs. """ import inspect import data #=========================================================...
31.402062
78
0.478989
896
9,138
4.804688
0.270089
0.014634
0.012544
0.022997
0.15331
0.129617
0.125668
0.105691
0.105691
0.105691
0
0.003051
0.31856
9,138
290
79
31.510345
0.688293
0.258809
0
0.141176
0
0
0.045244
0
0
0
0
0
0
0
null
null
0
0.047059
null
null
0.011765
0
0
0
null
0
0
0
0
0
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
da624c2d151313fbe9db0021e53684c69e6d4b5f
247
py
Python
config.py
TaskeHAMANO/sample_application
628699c62197dd5079e0b600f431c791ac3a301a
[ "BSD-3-Clause" ]
null
null
null
config.py
TaskeHAMANO/sample_application
628699c62197dd5079e0b600f431c791ac3a301a
[ "BSD-3-Clause" ]
null
null
null
config.py
TaskeHAMANO/sample_application
628699c62197dd5079e0b600f431c791ac3a301a
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # vim:fileencoding=utf-8 # Author: Shinya Suzuki # Created: 2017-11-16 database_path = "/techathon.db" SQLALCHEMY_DATABASE_URI = "sqlite://{0}".format(database_path) SECRET_KEY = 'test' SQLALCHEMY_TRACK_MODIFICATIONS = True
24.7
62
0.761134
34
247
5.323529
0.882353
0.132597
0
0
0
0
0
0
0
0
0
0.044843
0.097166
247
9
63
27.444444
0.766816
0.34413
0
0
0
0
0.183544
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
da68786bead17edb9e00b001f796346815fc35ed
2,412
py
Python
digsby/src/jabber/objects/gmail/mail_thread_info.py
ifwe/digsby
f5fe00244744aa131e07f09348d10563f3d8fa99
[ "Python-2.0" ]
35
2015-08-15T14:32:38.000Z
2021-12-09T16:21:26.000Z
digsby/src/jabber/objects/gmail/mail_thread_info.py
niterain/digsby
16a62c7df1018a49eaa8151c0f8b881c7e252949
[ "Python-2.0" ]
4
2015-09-12T10:42:57.000Z
2017-02-27T04:05:51.000Z
digsby/src/jabber/objects/gmail/mail_thread_info.py
niterain/digsby
16a62c7df1018a49eaa8151c0f8b881c7e252949
[ "Python-2.0" ]
15
2015-07-10T23:58:07.000Z
2022-01-23T22:16:33.000Z
#tid The thread id of this thread. #participation A number indicating the user's participation level in this thread: 0 indicates that the user has not participated; 1 indicates that the user is one of many recipients listed in the thread; 2 indicates that the user is the sole recipient for messages in this thr...
47.294118
285
0.69942
344
2,412
4.726744
0.284884
0.04428
0.059041
0.066421
0.206642
0.075646
0
0
0
0
0
0.008316
0.202322
2,412
50
286
48.24
0.836798
0.21932
0
0
0
0
0.092755
0
0
0
0
0
0
0
null
null
0
0.193548
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
da7bd622d1ddbda2597706e2f3a2142e325287e0
4,540
py
Python
SignLAnguage/proyecto.py
val171001/SignLanguage
fc7622e4a31f007791f34fbf0ba08c89138389c5
[ "MIT" ]
null
null
null
SignLAnguage/proyecto.py
val171001/SignLanguage
fc7622e4a31f007791f34fbf0ba08c89138389c5
[ "MIT" ]
null
null
null
SignLAnguage/proyecto.py
val171001/SignLanguage
fc7622e4a31f007791f34fbf0ba08c89138389c5
[ "MIT" ]
null
null
null
#Universidad del Valle de Guatemala #HCI #David valenzuela #Marcos Gutierrez #Fernando Hengstenebrg #Librerias from tkinter import * from tkinter import messagebox as ms #base de datos import sqlite3 import os import webbrowser #Conectamos con base de datos y creamos usuarios with sqlite3.connect('cuentas.db') as db:...
38.803419
140
0.596256
601
4,540
4.484193
0.274542
0.032653
0.018553
0.016698
0.410761
0.388497
0.377737
0.329499
0.329499
0.329499
0
0.024341
0.239868
4,540
116
141
39.137931
0.756592
0.128855
0
0.157895
0
0
0.164335
0.005851
0
0
0
0
0
1
0.078947
false
0.144737
0.065789
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
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
da858baf0350df7bd476677ebd9b47d2ce1cc39c
2,736
py
Python
tools/bin/clearAssignment.py
cpausmit/Tapas
283016cebc036a703609317aafc28675b1c1ea17
[ "MIT" ]
null
null
null
tools/bin/clearAssignment.py
cpausmit/Tapas
283016cebc036a703609317aafc28675b1c1ea17
[ "MIT" ]
null
null
null
tools/bin/clearAssignment.py
cpausmit/Tapas
283016cebc036a703609317aafc28675b1c1ea17
[ "MIT" ]
null
null
null
#!/usr/bin/python #--------------------------------------------------------------------------------------------------- # Clear an existing assignment in the database using the unique task Id. # #--------------------------------------------------------------------------------------------------- import sys,os,re import M...
31.813953
100
0.482822
277
2,736
4.761733
0.436823
0.018196
0.018196
0.025777
0.133434
0.078848
0.078848
0.078848
0.078848
0.078848
0
0.004634
0.211257
2,736
85
101
32.188235
0.60658
0.394371
0
0.170213
0
0
0.375535
0
0
0
0
0
0
0
null
null
0
0.06383
null
null
0.170213
0
0
0
null
0
0
0
0
0
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
da92e435dd529ef7c6adb64e5afe197974724936
660
py
Python
tests/client/test_spread_sheet.py
shin-hama/git-svn-monitor
acb793c2da63d6802efa8e0e6c99482f4fad0f80
[ "MIT" ]
null
null
null
tests/client/test_spread_sheet.py
shin-hama/git-svn-monitor
acb793c2da63d6802efa8e0e6c99482f4fad0f80
[ "MIT" ]
36
2021-07-12T00:08:03.000Z
2022-03-25T11:19:39.000Z
tests/client/test_spread_sheet.py
shin-hama/git-svn-monitor
acb793c2da63d6802efa8e0e6c99482f4fad0f80
[ "MIT" ]
null
null
null
from datetime import datetime from git_svn_monitor.client import spread_seat from git_svn_monitor.core.config import TIMESTAMP_FORMAT def test__convert_datetime_to_str() -> None: timestamp = "2021-01-01 12:34:56" _timestamp = datetime.strptime(timestamp, TIMESTAMP_FORMAT) converted = spread_seat._convert...
27.5
63
0.75
92
660
4.978261
0.380435
0.054585
0.091703
0.170306
0.203057
0.203057
0
0
0
0
0
0.028933
0.162121
660
23
64
28.695652
0.799277
0
0
0
0
0
0.045455
0
0
0
0
0
0.1875
1
0.1875
false
0
0.1875
0
0.375
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
16f3b2b6831a8b521ba1a14a11fa6b224ec5222f
1,785
py
Python
cryptotest.py
xebia/django-DefectDojo
7bc6695bd8fb93e23b0d8ed8326f5d01283eadaa
[ "BSD-3-Clause" ]
null
null
null
cryptotest.py
xebia/django-DefectDojo
7bc6695bd8fb93e23b0d8ed8326f5d01283eadaa
[ "BSD-3-Clause" ]
null
null
null
cryptotest.py
xebia/django-DefectDojo
7bc6695bd8fb93e23b0d8ed8326f5d01283eadaa
[ "BSD-3-Clause" ]
1
2017-09-22T20:39:39.000Z
2017-09-22T20:39:39.000Z
import binascii, os from Crypto.Cipher import AES KEY = 'a0b8c7398c9363b3216ff1d001a1308e5f96a77dbf6bda2367f87519d80995fb' IV = os.urandom(16) def encrypt(key, iv, plaintext): aes = AES.new(key, AES.MODE_CBC, iv, segment_size=128) plaintext = _pad_string(plaintext) encrypted_text = aes.encrypt(plaintext)...
31.875
101
0.729412
228
1,785
5.412281
0.276316
0.115883
0.034036
0.019449
0.19611
0.115073
0.061588
0.061588
0.061588
0.061588
0
0.075067
0.164146
1,785
55
102
32.454545
0.752011
0
0
0.046512
0
0
0.10084
0.07563
0
0
0
0
0.023256
0
null
null
0
0.046512
null
null
0.116279
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
16fa4d94e2d23cb6b84df2ab54d37fba71a56141
1,597
py
Python
examples/zegar.py
BrownEmmett/8digit
aa9ab5e6673ec0fa3764510bd845a94ac37c4c1e
[ "MIT" ]
null
null
null
examples/zegar.py
BrownEmmett/8digit
aa9ab5e6673ec0fa3764510bd845a94ac37c4c1e
[ "MIT" ]
null
null
null
examples/zegar.py
BrownEmmett/8digit
aa9ab5e6673ec0fa3764510bd845a94ac37c4c1e
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2017-18 Richard Hull and contributors # See LICENSE.rst for details. """ Example for seven segment displays. """ import time from datetime import datetime from luma.led_matrix.device import max7219 from luma.core.interface.serial import spi, noop from lum...
22.492958
55
0.612398
222
1,597
4.378378
0.441441
0.036008
0.041152
0.074074
0.200617
0.200617
0.200617
0.088477
0
0
0
0.017677
0.256105
1,597
70
56
22.814286
0.800505
0.14402
0
0.324324
0
0
0.0278
0
0
0
0
0
0
0
null
null
0.027027
0.135135
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
16fd36971459752eacaa3008f88c6855b286e881
1,439
py
Python
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/commerce/tests/factories.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
3
2021-12-15T04:58:18.000Z
2022-02-06T12:15:37.000Z
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/commerce/tests/factories.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
null
null
null
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/commerce/tests/factories.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
1
2019-01-02T14:38:50.000Z
2019-01-02T14:38:50.000Z
""" Factories for generating fake commerce-related data. """ import factory from factory.fuzzy import FuzzyText class OrderFactory(factory.Factory): """ Factory for stubbing orders resources from Ecommerce (v2). """ class Meta: model = dict number = factory.Sequence(lambda n: 'edx-%d' % n) ...
24.810345
75
0.645587
166
1,439
5.53012
0.445783
0.122004
0.091503
0.104575
0.431373
0.267974
0.183007
0.183007
0
0
0
0.036397
0.236275
1,439
57
76
25.245614
0.798908
0.23558
0
0.333333
0
0
0.110377
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
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
e5052a97fcc4c82072c34cd78471734f05a4fd9c
1,339
py
Python
proyecto utilizando pewee migrations/models.py
Raul-Flores/ORM-example
ff289f74f858514cebefe7070c3688ad773a0e2a
[ "MIT" ]
null
null
null
proyecto utilizando pewee migrations/models.py
Raul-Flores/ORM-example
ff289f74f858514cebefe7070c3688ad773a0e2a
[ "MIT" ]
null
null
null
proyecto utilizando pewee migrations/models.py
Raul-Flores/ORM-example
ff289f74f858514cebefe7070c3688ad773a0e2a
[ "MIT" ]
null
null
null
import pymysql import sqlite3 import psycopg2 from peewee import * db = "postgres" class BaseModel(Model): class Meta: global db secretvar= "Secret" while True: try: #db = input("BD Options: [mariadb|postgres|sqlite] :") db_migration = db ...
33.475
117
0.570575
131
1,339
5.740458
0.580153
0.079787
0.119681
0.055851
0.074468
0
0
0
0
0
0
0.023438
0.330844
1,339
40
118
33.475
0.815848
0.067214
0
0.085714
0
0
0.097111
0
0
0
0
0
0
1
0
false
0.057143
0.114286
0
0.485714
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
0
0
0
1
0
0
0
0
0
1
e508ffc9689183a1879c3556805bdcd71560a700
4,390
py
Python
Packs/ZeroTrustAnalyticsPlatform/Integrations/ZeroTrustAnalyticsPlatform/test_data/xsoar_data.py
mazmat-panw/content
024a65c1dea2548e2637a9cbbe54966e9e34a722
[ "MIT" ]
2
2021-12-06T21:38:24.000Z
2022-01-13T08:23:36.000Z
Packs/ZeroTrustAnalyticsPlatform/Integrations/ZeroTrustAnalyticsPlatform/test_data/xsoar_data.py
mazmat-panw/content
024a65c1dea2548e2637a9cbbe54966e9e34a722
[ "MIT" ]
87
2022-02-23T12:10:53.000Z
2022-03-31T11:29:05.000Z
Packs/ZeroTrustAnalyticsPlatform/Integrations/ZeroTrustAnalyticsPlatform/test_data/xsoar_data.py
henry-sue-pa/content
043c6badfb4f9c80673cad9242fdea72efe301f7
[ "MIT" ]
2
2022-01-05T15:27:01.000Z
2022-02-01T19:27:43.000Z
def event_response(): return [ { "ata_event_count": 1, "datetime_created": "2021-05-11T20:11:30Z", "fields": [ { "key": "auto_run", "label": "Auto Run", "value": "False", "orde...
32.043796
107
0.479499
413
4,390
4.861985
0.227603
0.050797
0.082171
0.071215
0.711653
0.631474
0.542829
0.461155
0.437749
0.437749
0
0.098096
0.366059
4,390
136
108
32.279412
0.623428
0
0
0.421875
0
0
0.432346
0.070159
0
0
0
0
0
1
0.054688
true
0
0
0.054688
0.109375
0
0
0
0
null
0
0
0
0
0
0
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
e514aa24f7ecd44a5165bc096f98b796fc4f0c6f
2,432
py
Python
mc/helpers.py
sprout42/binja-i8086
a0131f3c9a57572ae286029cd2c35ef40a7511d7
[ "0BSD" ]
13
2018-08-21T09:58:04.000Z
2021-08-21T16:40:23.000Z
mc/helpers.py
sprout42/binja-i8086
a0131f3c9a57572ae286029cd2c35ef40a7511d7
[ "0BSD" ]
1
2019-07-04T20:11:53.000Z
2019-09-04T19:52:51.000Z
mc/helpers.py
sprout42/binja-i8086
a0131f3c9a57572ae286029cd2c35ef40a7511d7
[ "0BSD" ]
1
2022-02-04T03:22:47.000Z
2022-02-04T03:22:47.000Z
from binaryninja import InstructionTextToken from binaryninja.enums import InstructionTextTokenType __all__ = ['fmt_dec', 'fmt_dec_sign', 'fmt_hex', 'fmt_hex2', 'fmt_hex4', 'fmt_hexW', 'fmt_hex_sign'] __all__ += ['fmt_imm', 'fmt_imm_sign', 'fmt_disp', 'fmt_code_rel', 'fmt_code_abs'] __all__ += ['token', ...
27.636364
82
0.672286
274
2,432
5.755474
0.248175
0.045656
0.069753
0.06468
0.169943
0.133164
0.073557
0
0
0
0
0.009875
0.208882
2,432
87
83
27.954023
0.809771
0
0
0.142857
0
0
0.101563
0
0
0
0
0
0
1
0.2
false
0
0.028571
0.128571
0.471429
0
0
0
0
null
0
0
0
0
0
0
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
e52269e8fc4cd21064d9405f8d3f8808a86630c6
4,219
py
Python
handlers/passport.py
python9339/tornado_ihome
a128f2140749186f177417c76472aded12427e6b
[ "Apache-2.0" ]
null
null
null
handlers/passport.py
python9339/tornado_ihome
a128f2140749186f177417c76472aded12427e6b
[ "Apache-2.0" ]
null
null
null
handlers/passport.py
python9339/tornado_ihome
a128f2140749186f177417c76472aded12427e6b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # @Time : 20-4-13 下午4:40 # @File : handlers.py import logging import re import hashlib import config from utils.response_code import RET from utils.session import Session from basehandler import BaseHandler class RegisterHandler(BaseHandler): def post(self, *args, **kwargs): ...
37.008772
121
0.603698
484
4,219
5.169421
0.266529
0.055955
0.083933
0.106315
0.520783
0.503997
0.479217
0.463629
0.33693
0.257794
0
0.008125
0.27068
4,219
113
122
37.336283
0.805005
0.189144
0
0.328125
0
0.015625
0.112293
0.015366
0
0
0
0
0
1
0.046875
false
0.1875
0.109375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e525b73b902da2ecc912124afa970b8027a3b324
1,049
py
Python
graphql/app/models/ndb/faction.py
py-in-the-sky/appengine-swapi
824d770cd11e5510b2300d1e248a9474e3fde8c2
[ "MIT" ]
null
null
null
graphql/app/models/ndb/faction.py
py-in-the-sky/appengine-swapi
824d770cd11e5510b2300d1e248a9474e3fde8c2
[ "MIT" ]
null
null
null
graphql/app/models/ndb/faction.py
py-in-the-sky/appengine-swapi
824d770cd11e5510b2300d1e248a9474e3fde8c2
[ "MIT" ]
null
null
null
from google.appengine.ext import ndb from .character import Character from .utils import paginated_query class Faction(ndb.Model): name = ndb.StringProperty(required=True) description = ndb.TextProperty() created = ndb.DateTimeProperty(required=True, auto_now_add=True) updated = ndb.DateTimeProperty(...
33.83871
68
0.691134
134
1,049
5.261194
0.328358
0.04539
0.051064
0.059574
0.295035
0.241135
0.133333
0.133333
0.133333
0
0
0
0.204004
1,049
30
69
34.966667
0.844311
0.089609
0
0.166667
0
0
0.088656
0
0
0
0
0
0
1
0.125
false
0
0.125
0.041667
0.583333
0
0
0
0
null
0
0
0
0
0
0
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
e5303983f7442fd8fa1385cd72155b552858073b
1,581
py
Python
plugins/module_utils/syntropy.py
SyntropyNet/syntropy-ansible-collection
9ec9020faf81bc1b9d46aef71de88397a2b5d625
[ "MIT" ]
4
2021-01-06T08:24:45.000Z
2021-09-15T20:05:15.000Z
plugins/module_utils/syntropy.py
SyntropyNet/syntropy-ansible-collection
9ec9020faf81bc1b9d46aef71de88397a2b5d625
[ "MIT" ]
null
null
null
plugins/module_utils/syntropy.py
SyntropyNet/syntropy-ansible-collection
9ec9020faf81bc1b9d46aef71de88397a2b5d625
[ "MIT" ]
1
2021-03-30T20:38:03.000Z
2021-03-30T20:38:03.000Z
# Copyright: (c) 2020, Syntropy Network # MIT License from __future__ import absolute_import, division, print_function __metaclass__ = type import os import traceback SDK_IMP_ERR = None try: from syntropy_sdk import ApiClient, ApiKeysApi, AuthApi, Configuration, PlatformApi from syntropy_sdk.exceptions impor...
29.277778
88
0.762176
215
1,581
5.27907
0.362791
0.037004
0.052863
0.05022
0.102203
0.035242
0
0
0
0
0
0.003058
0.172676
1,581
53
89
29.830189
0.864679
0.030993
0
0
0
0
0.032701
0
0
0
0
0
0
1
0.078947
false
0
0.289474
0.026316
0.526316
0.026316
0
0
0
null
0
0
0
0
0
0
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
e533417d7abdd0f090ec7b783eb6b6201bbec4a5
360
py
Python
pypresence/__init__.py
GhostofGoes/pypresence
902f406345213fed4acd10d567f76abc64df5ace
[ "MIT" ]
null
null
null
pypresence/__init__.py
GhostofGoes/pypresence
902f406345213fed4acd10d567f76abc64df5ace
[ "MIT" ]
null
null
null
pypresence/__init__.py
GhostofGoes/pypresence
902f406345213fed4acd10d567f76abc64df5ace
[ "MIT" ]
null
null
null
""" Python RPC Client for Discord ----------------------------- By: qwertyquerty and LewdNeko """ from .baseclient import BaseClient from .client import Client from .presence import Presence from .exceptions import * __title__ = 'pypresence' __author__ = 'qwertyquerty' __copyright__ = 'Copyright 2018 qwertyquerty' __...
21.176471
45
0.708333
38
360
6.184211
0.657895
0
0
0
0
0
0
0
0
0
0
0.022364
0.130556
360
16
46
22.5
0.728435
0.247222
0
0
0
0
0.21673
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e536c28016db6252f76243560211157a7504c1af
3,352
py
Python
restapi/endpoints/profile.py
rapydo/http-api
ef0a299173195145303069534d45d446ea4da93a
[ "MIT" ]
8
2018-07-04T09:54:46.000Z
2022-03-17T08:21:06.000Z
restapi/endpoints/profile.py
rapydo/http-api
ef0a299173195145303069534d45d446ea4da93a
[ "MIT" ]
19
2018-04-18T07:24:55.000Z
2022-03-04T01:03:15.000Z
restapi/endpoints/profile.py
rapydo/http-api
ef0a299173195145303069534d45d446ea4da93a
[ "MIT" ]
7
2018-07-03T12:17:50.000Z
2021-05-05T04:33:32.000Z
from typing import Any, Optional from restapi import decorators from restapi.endpoints.schemas import NewPassword, profile_output, profile_patch_input from restapi.exceptions import Unauthorized from restapi.rest.definition import EndpointResource, Response from restapi.services.authentication import AuthMissingTOTP, ...
34.204082
86
0.651253
377
3,352
5.657825
0.376658
0.033755
0.029536
0.043601
0.118143
0.099391
0.043132
0
0
0
0
0.004752
0.246718
3,352
97
87
34.556701
0.84
0.091885
0
0.175676
0
0
0.13085
0
0
0
0
0
0
1
0.040541
false
0.135135
0.108108
0
0.22973
0
0
0
0
null
0
0
0
0
0
0
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
e53797255ddf8c7e28dc3a9ceca68b9b6f0d9c22
323
py
Python
main/amy/setup.py
drepetto/alles
bb72c36f1b07f539e73726a91c9538482b4c06cb
[ "MIT" ]
81
2020-03-01T22:18:48.000Z
2022-03-20T16:53:01.000Z
main/amy/setup.py
bwhitman/synthserver
98f824fd5c2056823727884a3bdf8c8a6ff7ced1
[ "MIT" ]
12
2021-04-22T01:21:25.000Z
2021-12-11T18:29:18.000Z
main/amy/setup.py
bwhitman/synthserver
98f824fd5c2056823727884a3bdf8c8a6ff7ced1
[ "MIT" ]
8
2020-04-29T18:26:25.000Z
2021-12-07T22:55:00.000Z
from distutils.core import setup, Extension import glob import os # the c++ extension module sources = glob.glob("*.c") os.environ["CC"] = "gcc" os.environ["CXX"] = "g++" extension_mod = Extension("libamy", sources=sources, extra_link_args=["-lsoundio", "-lpthread"]) setup(name = "libamy", ext_modules=[extension_mo...
26.916667
96
0.708978
44
323
5.090909
0.613636
0.080357
0
0
0
0
0
0
0
0
0
0
0.111455
323
12
97
26.916667
0.780488
0.074303
0
0
0
0
0.147651
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e53b4e82439a5be972e3455d4b58df9c2ff3541c
826
py
Python
app/model/job_keyword.py
awesome-archive/webspider
072e9944db8fe05cbb47f8ea6d1a327c2a8929b1
[ "MIT" ]
null
null
null
app/model/job_keyword.py
awesome-archive/webspider
072e9944db8fe05cbb47f8ea6d1a327c2a8929b1
[ "MIT" ]
null
null
null
app/model/job_keyword.py
awesome-archive/webspider
072e9944db8fe05cbb47f8ea6d1a327c2a8929b1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from sqlalchemy import Column from sqlalchemy.dialects.mysql import INTEGER from common.db import BaseModel class JobKeywordModel(BaseModel): __tablename__ = 'job_keyword' id = Column(INTEGER, primary_key=True, autoincrement=True) job_id = Column(INTEGER, doc=u'工作 id') keywor...
29.5
95
0.671913
119
826
4.462185
0.378151
0.07533
0.112994
0.101695
0.107345
0
0
0
0
0
0
0.001531
0.209443
826
27
96
30.592593
0.811639
0.025424
0
0.1
0
0
0.039851
0
0
0
0
0
0
1
0.1
false
0
0.15
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
e542dba77b736c853c5f81ad6228519c31bfebd5
6,656
py
Python
tests/usecases/test_exchange_rate_interactors.py
sdediego/forex-django-clean-architecture
915a8d844a8db5a40c726fe4cf9f6d50f7c95275
[ "MIT" ]
8
2021-11-09T16:43:38.000Z
2022-03-25T16:04:26.000Z
tests/usecases/test_exchange_rate_interactors.py
sdediego/forex-django-clean-architecture
915a8d844a8db5a40c726fe4cf9f6d50f7c95275
[ "MIT" ]
null
null
null
tests/usecases/test_exchange_rate_interactors.py
sdediego/forex-django-clean-architecture
915a8d844a8db5a40c726fe4cf9f6d50f7c95275
[ "MIT" ]
2
2021-11-16T21:17:31.000Z
2022-02-11T11:15:29.000Z
# coding: utf-8 import datetime import random from unittest.mock import Mock from django.db import reset_queries import pytest from src.domain.exchange_rate import CurrencyEntity, CurrencyExchangeRateEntity from src.usecases.exchange_rate import CurrencyInteractor, CurrencyExchangeRateInteractor from tests.fixtures ...
41.341615
89
0.783804
810
6,656
6.088889
0.106173
0.180049
0.077859
0.034469
0.763382
0.723033
0.664436
0.627534
0.575831
0.523723
0
0.003667
0.139724
6,656
160
90
41.6
0.857667
0.001953
0
0.470588
0
0
0.028008
0
0
0
0
0
0.272059
1
0.073529
false
0
0.058824
0
0.132353
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
e545cf0e67826a43917bc1e5665f0de69c08ad62
278
py
Python
scripts/rename_fq.py
jodyphelan/pathogenseq
2e04190f25063d722ef653e819b94eb66407ea8d
[ "MIT" ]
null
null
null
scripts/rename_fq.py
jodyphelan/pathogenseq
2e04190f25063d722ef653e819b94eb66407ea8d
[ "MIT" ]
null
null
null
scripts/rename_fq.py
jodyphelan/pathogenseq
2e04190f25063d722ef653e819b94eb66407ea8d
[ "MIT" ]
1
2018-05-11T14:54:51.000Z
2018-05-11T14:54:51.000Z
#! /usr/bin/env python import csv import sys import os import pathogenseq.files as psf infile = sys.argv[1] for row in csv.DictReader(open(infile)): f1 = "%s.fastq.gz" % row["Barcode"] f2 = "%s.%s.fastq.gz" % (row["Name"],row["Barcode"]) psf.filecheck(f1) os.rename(f1,f2)
21.384615
53
0.672662
48
278
3.895833
0.604167
0.064171
0.085562
0.117647
0
0
0
0
0
0
0
0.024896
0.133094
278
12
54
23.166667
0.751037
0.07554
0
0
0
0
0.167969
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e547b6a838dfd62eee61bf8e0dfa8ecb24093404
18,522
py
Python
backend/generate_z3.py
uwplse/stng
ce12c2c079516df873382a5aa3c18c407833d130
[ "MIT" ]
14
2017-03-07T00:14:33.000Z
2022-02-09T00:59:22.000Z
backend/generate_z3.py
uwplse/stng
ce12c2c079516df873382a5aa3c18c407833d130
[ "MIT" ]
11
2016-11-22T13:14:55.000Z
2021-12-14T00:56:51.000Z
backend/generate_z3.py
uwplse/stng
ce12c2c079516df873382a5aa3c18c407833d130
[ "MIT" ]
6
2016-11-07T13:38:45.000Z
2021-04-04T12:13:31.000Z
import logging from stencil_ir import * from verify import * from assertion_to_z3 import * import generate_sketch import asp.codegen.ast_tools as ast_tools def loop_key(node): import hashlib return hashlib.sha224(tree_to_str(node)).hexdigest()[0:10] class Z3Generator(object): """ Generates a Z3 script...
43.275701
166
0.576774
2,089
18,522
4.89325
0.137865
0.027392
0.012326
0.011739
0.367638
0.246821
0.207983
0.156329
0.126785
0.106046
0
0.003938
0.32815
18,522
427
167
43.377049
0.817502
0.137134
0
0.242215
1
0
0.035933
0.006451
0
0
0
0.002342
0.010381
1
0.15917
false
0
0.058824
0.020761
0.321799
0
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
e552b7215e51626970b737861ed04a252b5cb791
1,293
py
Python
biblepaycentral/masternodes/migrations/0001_initial.py
Lichtsucher/biblepaycentral
0575c9c6851bd87d35d8cda9840301ee510698e8
[ "MIT" ]
3
2018-03-18T22:36:20.000Z
2020-02-13T15:52:25.000Z
biblepaycentral/masternodes/migrations/0001_initial.py
Lichtsucher/biblepaycentral
0575c9c6851bd87d35d8cda9840301ee510698e8
[ "MIT" ]
null
null
null
biblepaycentral/masternodes/migrations/0001_initial.py
Lichtsucher/biblepaycentral
0575c9c6851bd87d35d8cda9840301ee510698e8
[ "MIT" ]
1
2018-10-16T10:51:11.000Z
2018-10-16T10:51:11.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2018-05-20 16:32 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Maste...
34.026316
114
0.572312
126
1,293
5.68254
0.47619
0.104749
0.100559
0.134078
0.47905
0.400838
0.400838
0.400838
0.400838
0.400838
0
0.030635
0.293117
1,293
37
115
34.945946
0.752735
0.053364
0
0.482759
1
0
0.086814
0
0
0
0
0
0
1
0
false
0
0.068966
0
0.206897
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e559a7fb012d10180f481f20a5e14d31f9279b77
2,368
py
Python
helper.py
HackerLion123/CNN_for_Fashion
25eb3fc449cf9ee2f1591e3c137a11915f0ee199
[ "MIT" ]
null
null
null
helper.py
HackerLion123/CNN_for_Fashion
25eb3fc449cf9ee2f1591e3c137a11915f0ee199
[ "MIT" ]
null
null
null
helper.py
HackerLion123/CNN_for_Fashion
25eb3fc449cf9ee2f1591e3c137a11915f0ee199
[ "MIT" ]
null
null
null
import numpy as np import tensorflow as tf from tensorflow import gfile from PIL import Image from sklearn.model_selection import train_test_split from sklearn.preprocessing import LabelBinarizer import multiprocessing import sys import os def resize(img,shape): return tf.image.resize(img,shape) def load_mnist(): ...
26.606742
132
0.752956
367
2,368
4.632153
0.239782
0.041176
0.05
0.051765
0.035294
0.035294
0
0
0
0
0
0.012658
0.132601
2,368
89
133
26.606742
0.814995
0.034206
0
0.075758
0
0
0.011827
0
0
0
0
0
0
1
0.136364
false
0.075758
0.136364
0.015152
0.348485
0.060606
0
0
0
null
0
0
0
0
0
0
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
e55d3600b75d26796ee6898a2f70d9baa125034f
1,091
py
Python
elkm1_lib/settings.py
stevemcquaid/elkm1
843092329208a3a2bafdedc0a8984a6f20626480
[ "MIT" ]
null
null
null
elkm1_lib/settings.py
stevemcquaid/elkm1
843092329208a3a2bafdedc0a8984a6f20626480
[ "MIT" ]
null
null
null
elkm1_lib/settings.py
stevemcquaid/elkm1
843092329208a3a2bafdedc0a8984a6f20626480
[ "MIT" ]
null
null
null
"""Definition of an ElkM1 Custom Value""" from .const import Max, TextDescriptions from .elements import Element, Elements from .message import add_message_handler, cp_encode, cw_encode class Setting(Element): """Class representing an Custom Value""" def __init__(self, index, elk): super().__init__(in...
32.088235
72
0.679193
137
1,091
5.124088
0.321168
0.094017
0.048433
0.062678
0
0
0
0
0
0
0
0.003476
0.208983
1,091
33
73
33.060606
0.809965
0.153071
0
0
0
0
0.002227
0
0
0
0
0
0
1
0.238095
false
0
0.142857
0
0.47619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e563d88bca3ef7c6f932060d4826c5924fd546b6
3,284
py
Python
easytrader/pazq_remote_trader.py
CHiSec/nextrader
28b9becf23f6e40d36f5bda0515ac383913899d6
[ "MIT" ]
null
null
null
easytrader/pazq_remote_trader.py
CHiSec/nextrader
28b9becf23f6e40d36f5bda0515ac383913899d6
[ "MIT" ]
null
null
null
easytrader/pazq_remote_trader.py
CHiSec/nextrader
28b9becf23f6e40d36f5bda0515ac383913899d6
[ "MIT" ]
null
null
null
import abc import requests import time import json from easytrader.utils.misc import file2dict class IRemoteTrader(abc.ABC): @abc.abstractmethod def prepare( self, config_path=None, user=None, password=None, token=None, address=None, ...
26.063492
95
0.563033
356
3,284
5.05618
0.213483
0.075556
0.088889
0.044444
0.538333
0.474444
0.426667
0.313333
0.313333
0.258889
0
0.001356
0.326431
3,284
125
96
26.272
0.812387
0.015834
0
0.621359
0
0
0.080186
0
0
0
0
0
0
1
0.174757
false
0.106796
0.048544
0.058252
0.359223
0.009709
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e5669614b0e617bd22827739713131fdd9270edc
2,030
py
Python
examples/old-examples/Kivy/window_coordinates.py
asnt/moderngl
b39cedd8cf216c34e43371b4aec822f6084f0f79
[ "MIT" ]
916
2019-03-11T19:15:20.000Z
2022-03-31T19:22:16.000Z
examples/old-examples/Kivy/window_coordinates.py
asnt/moderngl
b39cedd8cf216c34e43371b4aec822f6084f0f79
[ "MIT" ]
218
2019-03-11T06:05:52.000Z
2022-03-30T16:59:22.000Z
examples/old-examples/Kivy/window_coordinates.py
asnt/moderngl
b39cedd8cf216c34e43371b4aec822f6084f0f79
[ "MIT" ]
110
2019-04-06T18:32:24.000Z
2022-03-21T20:30:47.000Z
import struct import ModernGL from kivy.app import App from kivy.core.window import Window from kivy.graphics import Callback from kivy.uix.widget import Widget class CustomWidget(Widget): def __init__(self, **kwargs): super(CustomWidget, self).__init__(**kwargs) with self.canvas: se...
26.363636
97
0.484729
238
2,030
3.97479
0.336134
0.033827
0.028541
0.016913
0.086681
0.023256
0.023256
0.023256
0.023256
0
0
0.055738
0.399015
2,030
76
98
26.710526
0.719672
0
0
0.109091
0
0
0.328571
0
0
0
0
0
0
0
null
null
0
0.109091
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
e568447e5a2058ff096a7764cac780efbf11101d
213
py
Python
edx_6.00.1x_python/ex7_7.py
TimothyDJones/learn-python
687239572bee5e5c94bebb6b175b3fba4d47600e
[ "MIT" ]
null
null
null
edx_6.00.1x_python/ex7_7.py
TimothyDJones/learn-python
687239572bee5e5c94bebb6b175b3fba4d47600e
[ "MIT" ]
null
null
null
edx_6.00.1x_python/ex7_7.py
TimothyDJones/learn-python
687239572bee5e5c94bebb6b175b3fba4d47600e
[ "MIT" ]
null
null
null
# ex7_7.py def f(n): """ n: integer, n >= 0. """ if n == 0: return 1 else: return n * f(n-1) if __name__ == "__main__": print(f(0)) print(f(1)) print(f(3)) print(f(5))
12.529412
26
0.43662
36
213
2.333333
0.472222
0.285714
0
0
0
0
0
0
0
0
0
0.072464
0.352113
213
16
27
13.3125
0.536232
0.13615
0
0
0
0
0.047059
0
0
0
0
0
0
1
0.1
false
0
0
0
0.3
0.4
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
e568882780ef0ac998bdbf653d401680333f8d0d
919
py
Python
zeus/factories/revision.py
conrad-kronos/zeus
ddb6bc313e51fb22222b30822b82d76f37dbbd35
[ "Apache-2.0" ]
221
2017-07-03T17:29:21.000Z
2021-12-07T19:56:59.000Z
zeus/factories/revision.py
conrad-kronos/zeus
ddb6bc313e51fb22222b30822b82d76f37dbbd35
[ "Apache-2.0" ]
298
2017-07-04T18:08:14.000Z
2022-03-03T22:24:51.000Z
zeus/factories/revision.py
conrad-kronos/zeus
ddb6bc313e51fb22222b30822b82d76f37dbbd35
[ "Apache-2.0" ]
24
2017-07-15T13:46:45.000Z
2020-08-16T16:14:45.000Z
import factory import factory.faker from datetime import timedelta from faker import Factory faker = Factory.create() from zeus import models from zeus.config import db from zeus.utils import timezone from .base import ModelFactory class RevisionFactory(ModelFactory): sha = factory.Faker("sha1") repositor...
23.564103
71
0.68444
102
919
6.137255
0.509804
0.0623
0.057508
0.086262
0
0
0
0
0
0
0
0.004184
0.219804
919
38
72
24.184211
0.868898
0
0
0
0
0
0.062024
0.03482
0
0
0
0
0
1
0.035714
false
0
0.285714
0
0.607143
0
0
0
0
null
0
0
0
0
0
0
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
e569092e20bd1bfebd7bbcdc409a0332fd58245a
18,701
py
Python
xga/xspec/run.py
DavidT3/XGA
cde51c3f29f98b5f1e981fb6d327c04072b0ba38
[ "BSD-3-Clause" ]
12
2020-05-16T09:45:45.000Z
2022-02-14T14:41:46.000Z
xga/xspec/run.py
DavidT3/XGA
cde51c3f29f98b5f1e981fb6d327c04072b0ba38
[ "BSD-3-Clause" ]
684
2020-05-28T08:52:09.000Z
2022-03-31T10:56:24.000Z
xga/xspec/run.py
DavidT3/XGA
cde51c3f29f98b5f1e981fb6d327c04072b0ba38
[ "BSD-3-Clause" ]
2
2022-02-04T10:55:55.000Z
2022-02-04T11:30:56.000Z
# This code is a part of XMM: Generate and Analyse (XGA), a module designed for the XMM Cluster Survey (XCS). # Last modified by David J Turner (david.turner@sussex.ac.uk) 09/06/2021, 16:34. Copyright (c) David J Turner import os import warnings from functools import wraps # from multiprocessing.dummy import Pool fr...
55.492582
119
0.579006
2,465
18,701
4.260852
0.223124
0.009997
0.004665
0.003808
0.124155
0.08112
0.048177
0.028373
0.005713
0.005713
0
0.008347
0.340142
18,701
336
120
55.657738
0.842788
0.331587
0
0.107143
1
0
0.092035
0
0.005102
0
0
0
0
1
0.020408
false
0.005102
0.071429
0
0.112245
0
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
e56b278c08c9a210c958ffc52ff78cb97e76e231
718
py
Python
scripts/metadata_comparison/metadata_comparison/lib/digester_keys.py
leipzig/cromwell
e46adf05cc96343c4b4b9f081e68160b7f178ded
[ "Apache-2.0", "BSD-3-Clause" ]
850
2015-05-17T12:45:42.000Z
2022-03-31T08:36:54.000Z
scripts/metadata_comparison/metadata_comparison/lib/digester_keys.py
leipzig/cromwell
e46adf05cc96343c4b4b9f081e68160b7f178ded
[ "Apache-2.0", "BSD-3-Clause" ]
5,136
2015-05-06T14:58:16.000Z
2022-03-31T15:44:37.000Z
scripts/metadata_comparison/metadata_comparison/lib/digester_keys.py
leipzig/cromwell
e46adf05cc96343c4b4b9f081e68160b7f178ded
[ "Apache-2.0", "BSD-3-Clause" ]
363
2015-11-18T13:15:45.000Z
2022-03-31T08:05:56.000Z
Attempt = "attempt" CromwellAdditionalTotalTimeSeconds = "cromwellAdditionalTotalTimeSeconds" CromwellEnd = "cromwellEnd" CromwellStart = "cromwellStart" CromwellTotalTimeSeconds = "cromwellTotalTimeSeconds" DelocalizationTimeSeconds = "delocalizationTimeSeconds" Disks = "disks" DockerImagePullTimeSeconds = "dockerImag...
35.9
73
0.841226
38
718
15.894737
0.5
0
0
0
0
0
0
0
0
0
0
0
0.079387
718
19
74
37.789474
0.913767
0
0
0
0
0
0.420613
0.214485
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e56ec1987b2697fa228af32ab9806f8ffcfab331
536
py
Python
01-algorithmic-design-and-techniques/week-2/fibonacci-fast.py
andrewnachtigal/UCSD-Algorithms
25acae36752e37fab74b8e331db554af704ccf4c
[ "MIT" ]
null
null
null
01-algorithmic-design-and-techniques/week-2/fibonacci-fast.py
andrewnachtigal/UCSD-Algorithms
25acae36752e37fab74b8e331db554af704ccf4c
[ "MIT" ]
null
null
null
01-algorithmic-design-and-techniques/week-2/fibonacci-fast.py
andrewnachtigal/UCSD-Algorithms
25acae36752e37fab74b8e331db554af704ccf4c
[ "MIT" ]
null
null
null
#!/user/bin/python '''FibonacciList(n) create an array F[0... n] F[0] <- 0 F[1] <- 1 for i from 2 to n: F[i] <- F[i-1] + F[i-2] return F[n] ''' def fibonacci_recurs(n): if (n <= 1): return n else: return fibonacci_recurs(n - 1) + fibonacci_recurs(n - 2) def fibo...
16.242424
64
0.516791
89
536
2.966292
0.348315
0.022727
0.181818
0
0
0
0
0
0
0
0
0.051213
0.307836
536
32
65
16.75
0.660377
0.259328
0
0
0
0
0.021918
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.357143
0.071429
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e56ec44fd01f43bc003d160541bb7a0ae0b9a6ae
1,715
py
Python
pynYNAB/schema/catalog.py
rienafairefr/pynYNAB
d5fc0749618409c6bb01cc2b93832cc59d780eaa
[ "MIT" ]
82
2017-02-21T11:07:24.000Z
2022-03-20T21:56:17.000Z
pynYNAB/schema/catalog.py
rienafairefr/pynYNAB
d5fc0749618409c6bb01cc2b93832cc59d780eaa
[ "MIT" ]
37
2017-02-19T10:28:03.000Z
2021-01-23T07:44:06.000Z
pynYNAB/schema/catalog.py
rienafairefr/pynYNAB
d5fc0749618409c6bb01cc2b93832cc59d780eaa
[ "MIT" ]
13
2017-03-07T10:08:59.000Z
2018-05-11T04:53:25.000Z
from sqlalchemy import Boolean from sqlalchemy import Column from sqlalchemy import DateTime from sqlalchemy import ForeignKey from sqlalchemy import String from sqlalchemy.ext.declarative import declared_attr from sqlalchemy.orm import relationship from pynYNAB.schema.Entity import Entity, Base from pynYNAB.schema.ty...
28.583333
73
0.744606
197
1,715
6.345178
0.309645
0.1152
0.08
0.0336
0.2272
0.2272
0.2272
0.2272
0.2272
0.1152
0
0
0.161516
1,715
59
74
29.067797
0.869263
0
0
0.136364
0
0
0.065306
0
0
0
0
0
0
1
0.045455
false
0
0.204545
0.045455
0.954545
0
0
0
0
null
0
0
0
0
0
0
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
e57008133545852ca9c37cb6b1fc3ddad68b824d
675
py
Python
registry/migrations/0041_auto_20210505_1210.py
not-vibhu/aerobridge
2edcd5e75782663184ac57da8145427613f4ef2b
[ "Apache-2.0" ]
null
null
null
registry/migrations/0041_auto_20210505_1210.py
not-vibhu/aerobridge
2edcd5e75782663184ac57da8145427613f4ef2b
[ "Apache-2.0" ]
null
null
null
registry/migrations/0041_auto_20210505_1210.py
not-vibhu/aerobridge
2edcd5e75782663184ac57da8145427613f4ef2b
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2 on 2021-05-05 12:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('registry', '0040_auto_20210216_1404'), ] operations = [ migrations.AlterField( model_name='firmware', name='binary_fil...
28.125
119
0.619259
79
675
5.164557
0.658228
0.098039
0.122549
0.142157
0.20098
0.20098
0
0
0
0
0
0.061983
0.282963
675
23
120
29.347826
0.780992
0.063704
0
0.352941
1
0
0.309524
0.036508
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e577c049fff9107639adbdf73d533e3bceafb55b
323
py
Python
app/migrations/0003_remove_opinions_idea_opinion.py
sergane13/WorkingPlace
51f3550dbfa077cdfc7dd1a5421f787ad5bd84b1
[ "MIT" ]
1
2021-12-10T17:58:09.000Z
2021-12-10T17:58:09.000Z
app/migrations/0003_remove_opinions_idea_opinion.py
sergane13/IdeaTool-testSite
51f3550dbfa077cdfc7dd1a5421f787ad5bd84b1
[ "MIT" ]
null
null
null
app/migrations/0003_remove_opinions_idea_opinion.py
sergane13/IdeaTool-testSite
51f3550dbfa077cdfc7dd1a5421f787ad5bd84b1
[ "MIT" ]
null
null
null
# Generated by Django 2.1.15 on 2021-01-26 08:59 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('app', '0002_opinions'), ] operations = [ migrations.RemoveField( model_name='opinions', name='idea_opinion', ), ...
17.944444
48
0.585139
34
323
5.470588
0.823529
0
0
0
0
0
0
0
0
0
0
0.088496
0.30031
323
17
49
19
0.734513
0.142415
0
0
1
0
0.130909
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e57c0b31f4195a26edf8f9247751452b0807e246
1,709
py
Python
wifi.py
4yub1k/Python-Wifi-Password
913d39fe532c566f96aa3605191d142bea759498
[ "MIT" ]
null
null
null
wifi.py
4yub1k/Python-Wifi-Password
913d39fe532c566f96aa3605191d142bea759498
[ "MIT" ]
null
null
null
wifi.py
4yub1k/Python-Wifi-Password
913d39fe532c566f96aa3605191d142bea759498
[ "MIT" ]
null
null
null
#@ayuboid --- salahuddin[@]protonmail.ch/com import subprocess class t: def user(self): x_1=subprocess.Popen("netsh wlan show profiles",stdout=subprocess.PIPE) #run IDE as admin stdout=x_1.communicate()[0] return stdout def password_1(self,name): for pswd in name: #r...
39.744186
139
0.591574
238
1,709
4.184874
0.445378
0.016064
0.012048
0.034137
0.106426
0.066265
0.066265
0
0
0
0
0.015523
0.283792
1,709
42
140
40.690476
0.798203
0.346401
0
0.071429
0
0
0.11413
0
0
0
0
0
0
1
0.142857
false
0.178571
0.035714
0
0.321429
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e5862640078cc1b43e3103a6081579e3c5f73b50
1,386
py
Python
collectDataFromNet/postTest.py
xu6148152/Binea_Python_Project
d943eb5f4685d08f080b372dcf1a7cbd5d63efed
[ "MIT" ]
null
null
null
collectDataFromNet/postTest.py
xu6148152/Binea_Python_Project
d943eb5f4685d08f080b372dcf1a7cbd5d63efed
[ "MIT" ]
null
null
null
collectDataFromNet/postTest.py
xu6148152/Binea_Python_Project
d943eb5f4685d08f080b372dcf1a7cbd5d63efed
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- encoding: utf-8 -*- import requests def simple_post_test(): params = {'firstname': 'Ryan', 'lastname': 'Mitchell'} r = requests.post("http://pythonscraping.com/files/processing.php", data=params) print(r.text) def cookie_test(): params = {'username': 'Ryan', 'password':...
30.130435
94
0.647186
172
1,386
5.122093
0.30814
0.122588
0.143019
0.14756
0.421112
0.421112
0.372304
0.372304
0.267877
0.172531
0
0.001709
0.155844
1,386
46
95
30.130435
0.751282
0.032468
0
0.21875
0
0
0.389552
0
0
0
0
0
0
1
0.125
false
0.09375
0.09375
0
0.21875
0.375
0
0
0
null
0
0
0
0
0
0
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
e58deea7e4ceca8f46170fba5c491445e89261b9
4,606
py
Python
pysnmp/H323-TRAP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/H323-TRAP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/H323-TRAP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module H323-TRAP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/H323-TRAP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:07:51 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 201...
139.575758
559
0.745766
507
4,606
6.771203
0.266272
0.109816
0.135159
0.011652
0.543548
0.485872
0.445674
0.420041
0.413341
0.40635
0
0.077867
0.079896
4,606
32
560
143.9375
0.732185
0.069475
0
0
0
0
0.325929
0.010288
0
0
0
0
0
1
0
false
0
0.28
0
0.28
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e5955e9b54c057b715c9c61eeca8482e6b1cbc74
474
py
Python
src/entrypoint.py
nastjamakh/home-credit-risk
610d5cd4ddfed4298b4119ca1a5d73609a339e6a
[ "MIT" ]
null
null
null
src/entrypoint.py
nastjamakh/home-credit-risk
610d5cd4ddfed4298b4119ca1a5d73609a339e6a
[ "MIT" ]
null
null
null
src/entrypoint.py
nastjamakh/home-credit-risk
610d5cd4ddfed4298b4119ca1a5d73609a339e6a
[ "MIT" ]
null
null
null
"""CLI interface.""" import fire from train import TrainingPipeline from data.load import FileDataLoader from modelling.estimator import HeuristicEstimator class Entrypoint: """CLI entrypoint.""" def __init__(self) -> None: self.train = TrainingPipeline() self.data = FileDataLoader() ...
18.96
50
0.672996
49
474
6.265306
0.530612
0
0
0
0
0
0
0
0
0
0
0
0.208861
474
24
51
19.75
0.818667
0.111814
0
0
0
0
0.019753
0
0
0
0
0
0
1
0.153846
false
0
0.307692
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
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
e59fc847dbc2cbfebb58016de59804f87b3a6672
686
py
Python
Code/Data_Generator/dgenerator_instances_json.py
AymanABDELHAMID/OD_MTO_DARP
a942faabfa6c1a24d9046d74e56a48bd0d2a6d48
[ "MIT" ]
1
2020-06-19T18:38:31.000Z
2020-06-19T18:38:31.000Z
Code/Data_Generator/dgenerator_instances_json.py
AymanABDELHAMID/OD_MTO_DARP
a942faabfa6c1a24d9046d74e56a48bd0d2a6d48
[ "MIT" ]
null
null
null
Code/Data_Generator/dgenerator_instances_json.py
AymanABDELHAMID/OD_MTO_DARP
a942faabfa6c1a24d9046d74e56a48bd0d2a6d48
[ "MIT" ]
null
null
null
""" Mai 2020 - Ayman Mahmoud -------------------------------------------- This code - as the title tells will read the data in the instances .txt files and generate .json files along the way the data will be modified to input missing data from the instances given """ import re second_part = False costs = [] with op...
26.384615
86
0.590379
99
686
3.989899
0.59596
0.111392
0.070886
0
0
0
0
0
0
0
0
0.017375
0.244898
686
25
87
27.44
0.745174
0.377551
0
0
1
0
0.102625
0.090692
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e5a1307319cf2f807f6042d57a0f8ef329aff915
2,322
py
Python
Modulos/cfirm.py
ovpn-web/lundy
15f6743995aa5916ba5957dd284e695d1dcc83d5
[ "CC0-1.0" ]
1
2020-07-14T16:48:06.000Z
2020-07-14T16:48:06.000Z
Modulos/cfirm.py
ovpn-web/lundy
15f6743995aa5916ba5957dd284e695d1dcc83d5
[ "CC0-1.0" ]
null
null
null
Modulos/cfirm.py
ovpn-web/lundy
15f6743995aa5916ba5957dd284e695d1dcc83d5
[ "CC0-1.0" ]
1
2021-12-27T00:38:34.000Z
2021-12-27T00:38:34.000Z
#!/usr/bin/env python # encoding: utf-8 import smtplib,socket,sys from os import system from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from datetime import datetime _NOME_ = sys.argv[1] _IP_ = sys.argv[2] _ADRESS_OS_ = '/etc/issue.net' OS = open(_ADRESS_OS_).readlines() for SYS in O...
40.736842
108
0.586994
367
2,322
3.760218
0.280654
0.097826
0.130435
0.078261
0.37971
0.37971
0.344203
0.22029
0.098551
0.055072
0
0.013602
0.081826
2,322
56
109
41.464286
0.584897
0.015504
0
0
0
0.185185
0.604203
0.120403
0
0
0
0
0
1
0
false
0
0.092593
0
0.092593
0
0
0
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
e5a13e5250764c306a86cb714394aa76f09f4016
673
py
Python
pollsite/poll/migrations/0009_remove_meeting_meeting_date_start_and_more.py
RduMarais/django-polling-site
d194e906cd099531257cf0537b1664295f593c05
[ "MIT" ]
2
2022-01-11T16:46:36.000Z
2022-01-11T16:46:51.000Z
pollsite/poll/migrations/0009_remove_meeting_meeting_date_start_and_more.py
RduMarais/django-polling-site
d194e906cd099531257cf0537b1664295f593c05
[ "MIT" ]
null
null
null
pollsite/poll/migrations/0009_remove_meeting_meeting_date_start_and_more.py
RduMarais/django-polling-site
d194e906cd099531257cf0537b1664295f593c05
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2022-01-06 16:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('poll', '0008_remove_meeting_meeting_date_and_more'), ] operations = [ migrations.RemoveField( model_name='meeting', na...
24.925926
89
0.594354
67
673
5.746269
0.597015
0.171429
0.124675
0.155844
0.27013
0.27013
0.27013
0.27013
0
0
0
0.038217
0.300149
673
26
90
25.884615
0.779193
0.063893
0
0.4
1
0
0.208599
0.065287
0
0
0
0
0
1
0
false
0
0.05
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
e5a35747d0cd68dc4fa0ce60853f7e9f138b0cb3
21,201
py
Python
ThesisPlot.py
dtiarks/ThesisPlot
b9eaa5f2b2c472667cb17b2ba5a0471c741f0abe
[ "MIT" ]
1
2018-12-27T01:35:40.000Z
2018-12-27T01:35:40.000Z
ThesisPlot.py
dtiarks/ThesisPlot
b9eaa5f2b2c472667cb17b2ba5a0471c741f0abe
[ "MIT" ]
null
null
null
ThesisPlot.py
dtiarks/ThesisPlot
b9eaa5f2b2c472667cb17b2ba5a0471c741f0abe
[ "MIT" ]
null
null
null
import locale import numpy as np import io import json import pandas as pd import ast import os # Set to German locale to get comma decimal separater locale.setlocale(locale.LC_NUMERIC, 'deu_deu') #locale.setlocale(locale.LC_NUMERIC, 'de_DE.utf8') import matplotlib as mpl mpl.use('pgf') preamble = [ # use utf8 fon...
52.738806
274
0.466582
2,701
21,201
3.559422
0.144391
0.054296
0.057208
0.055336
0.505201
0.468379
0.431974
0.412835
0.392969
0.363532
0
0.039145
0.362577
21,201
402
275
52.738806
0.672266
0.28527
0
0.358885
0
0
0.103348
0.011203
0
0
0
0
0
0
null
null
0
0.031359
null
null
0.076655
0
0
0
null
0
0
0
0
0
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
e5aa8f799f1cb16c92d8d94d9ce091e420f85e52
958
py
Python
programdom/problems/urls.py
vCra/Programdom
23d734409102917734e67d233768b494904a5cef
[ "MIT" ]
1
2021-06-14T01:08:55.000Z
2021-06-14T01:08:55.000Z
programdom/problems/urls.py
vCra/Programdom
23d734409102917734e67d233768b494904a5cef
[ "MIT" ]
10
2019-01-28T16:03:12.000Z
2019-01-28T16:09:48.000Z
programdom/problems/urls.py
vCra/Programdom
23d734409102917734e67d233768b494904a5cef
[ "MIT" ]
null
null
null
from django.urls import path from programdom.problems.views import ProblemStudentView, ProblemListView, ProblemDetailView, ProblemDeleteView, \ ProblemCreateView, ProblemTestcaseCreateView, ProblemTestCaseUpdateView, ProblemTestCaseDeleteView urlpatterns = [ path("", ProblemListView.as_view(), name="problem_l...
50.421053
114
0.746347
104
958
6.673077
0.317308
0.069164
0.115274
0.195965
0.151297
0.060519
0.060519
0
0
0
0
0
0.088727
958
18
115
53.222222
0.79496
0
0
0
0
0
0.259916
0.063674
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e5ab3b077876292916d291b072dc3571dc23411f
3,023
py
Python
Diff-TVT.py
vipersnews/py-tvt-nbn
02164752db44967c33001f0c738f69feb1a2b283
[ "Unlicense" ]
null
null
null
Diff-TVT.py
vipersnews/py-tvt-nbn
02164752db44967c33001f0c738f69feb1a2b283
[ "Unlicense" ]
null
null
null
Diff-TVT.py
vipersnews/py-tvt-nbn
02164752db44967c33001f0c738f69feb1a2b283
[ "Unlicense" ]
null
null
null
from getpass import getpass import netmiko import re import difflib def make_connection (ip, username, password): return netmiko.ConnectHandler(device_type='cisco_ios', ip=ip, username=username, password=password) def get_ip (input): return(re.findall(r'(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2...
32.159574
120
0.68872
505
3,023
4.019802
0.29901
0.078818
0.016256
0.023645
0.116256
0.042365
0.042365
0.014778
0.014778
0.014778
0
0.015482
0.166722
3,023
93
121
32.505376
0.790393
0.253721
0
0.123077
0
0.015385
0.218109
0.039697
0
0
0
0
0
1
0.076923
false
0.076923
0.061538
0.030769
0.153846
0.138462
0
0
0
null
0
0
0
0
0
0
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
e5ad2e5b2f0edde8b2e2a850a9a192abd378fd9f
1,221
py
Python
pihkaparser.py
K4ldun/slack-starterbot
e0c1468df3b343715cf88f66b5cdb959daa25c0e
[ "MIT" ]
null
null
null
pihkaparser.py
K4ldun/slack-starterbot
e0c1468df3b343715cf88f66b5cdb959daa25c0e
[ "MIT" ]
null
null
null
pihkaparser.py
K4ldun/slack-starterbot
e0c1468df3b343715cf88f66b5cdb959daa25c0e
[ "MIT" ]
null
null
null
from selenium import webdriver #Browser control with options/waits/exceptions. from selenium.webdriver.common.keys import Keys from selenium.webdriver.chrome.options import Options from bs4 import BeautifulSoup import json def main(): opts = Options() opts.add_argument('--headless') opts.add_argument('--disable-gp...
23.480769
79
0.692056
163
1,221
5.08589
0.466258
0.043426
0.054282
0.033776
0
0
0
0
0
0
0
0.010763
0.162981
1,221
51
80
23.941176
0.800391
0.091728
0
0.052632
0
0
0.109502
0.019005
0
0
0
0
0
0
null
null
0
0.131579
null
null
0.026316
0
0
0
null
0
0
0
0
0
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
e5ae9ba55496f9a8c174dd1ac0caa3926485c92a
2,277
py
Python
RFEM/TypesForMembers/memberResultIntermediatePoints.py
Dlubal-Software/RFEM_Python_Client
9e29c598dadf380d49677c463931f0be659ccc40
[ "MIT" ]
16
2021-10-13T21:00:11.000Z
2022-03-21T11:12:09.000Z
RFEM/TypesForMembers/memberResultIntermediatePoints.py
Dlubal-Software/RFEM_Python_Client
9e29c598dadf380d49677c463931f0be659ccc40
[ "MIT" ]
49
2021-10-19T13:18:51.000Z
2022-03-30T08:20:17.000Z
RFEM/TypesForMembers/memberResultIntermediatePoints.py
Dlubal-Software/RFEM_Python_Client
9e29c598dadf380d49677c463931f0be659ccc40
[ "MIT" ]
7
2021-10-13T06:06:24.000Z
2022-03-29T17:48:39.000Z
from RFEM.initModel import ConvertToDlString, Model, clearAtributes class MemberResultIntermediatePoint(): def __init__(self, no: int = 1, members: str = "", point_count: int = 2, uniform_distribution: bool = True, distances = Non...
36.725806
119
0.615283
212
2,277
6.462264
0.34434
0.078832
0.157664
0.190511
0.234307
0.146715
0.146715
0.146715
0.146715
0.10219
0
0.004505
0.317523
2,277
61
120
37.327869
0.877091
0.256478
0
0
0
0
0.079701
0.079701
0
0
0
0
0
1
0.032258
false
0
0.032258
0
0.096774
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
e5b81ac7187e3d891702be4006393c6f2fc6c15a
327
py
Python
apps/experiments/models.py
mikicz/bulk-update-tests
85bca2ea05513c42d8f12e3439c27853bbed8c44
[ "MIT" ]
1
2020-02-23T18:16:48.000Z
2020-02-23T18:16:48.000Z
apps/experiments/models.py
mikicz/bulk-update-tests
85bca2ea05513c42d8f12e3439c27853bbed8c44
[ "MIT" ]
null
null
null
apps/experiments/models.py
mikicz/bulk-update-tests
85bca2ea05513c42d8f12e3439c27853bbed8c44
[ "MIT" ]
1
2020-01-23T14:21:44.000Z
2020-01-23T14:21:44.000Z
from django.db import models class Experiment(models.Model): INBUILT = 0 PACKAGE = 1 method = models.IntegerField() field_types = models.CharField(max_length=100) fields = models.SmallIntegerField() count = models.IntegerField() batch_size = models.IntegerField() time = models.FloatF...
21.8
50
0.700306
36
327
6.277778
0.75
0.238938
0
0
0
0
0
0
0
0
0
0.019157
0.201835
327
14
51
23.357143
0.846743
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.1
0
1
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
e5bd703be1b27cb762cec30b232a4d069f3d4c16
204
py
Python
PySrc/4day/Mod00.py
Timmy-Oh/Adorable-Lab
c21454d011e6888fd28c41d1624721ea1826be40
[ "Apache-2.0" ]
null
null
null
PySrc/4day/Mod00.py
Timmy-Oh/Adorable-Lab
c21454d011e6888fd28c41d1624721ea1826be40
[ "Apache-2.0" ]
null
null
null
PySrc/4day/Mod00.py
Timmy-Oh/Adorable-Lab
c21454d011e6888fd28c41d1624721ea1826be40
[ "Apache-2.0" ]
null
null
null
# Mod00.py print('name: {}'.format(__name__)) import Calc00 import Calc00 as c from Calc00 import * x= 20; y= 10; Calc00.Sum(x, y) c.Sub(x,y) Mul(x,y) import sys for path in sys.path: print(path)
12
34
0.661765
39
204
3.358974
0.538462
0.045802
0
0
0
0
0
0
0
0
0
0.083832
0.181373
204
16
35
12.75
0.700599
0.039216
0
0
0
0
0.041237
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0.181818
0
0
0
null
0
0
0
0
0
0
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
e5bd9846792ca0380e9358b95728eb11553310f8
1,887
py
Python
bot.py
liamkirsh/FBChatBot
59eafee2c78f2d6a93c38a74fecf1a4d311a00e9
[ "MIT" ]
3
2017-07-23T20:10:19.000Z
2020-09-23T21:21:47.000Z
bot.py
liamkirsh/FBChatBot
59eafee2c78f2d6a93c38a74fecf1a4d311a00e9
[ "MIT" ]
1
2018-03-06T05:34:07.000Z
2018-03-07T19:51:18.000Z
bot.py
liamkirsh/FBChatBot
59eafee2c78f2d6a93c38a74fecf1a4d311a00e9
[ "MIT" ]
null
null
null
from collections import namedtuple from fbchat import Client from fbchat.models import ThreadType class Bot(Client): Command = namedtuple('Command', ['func', 'admin', 'directed']) def __init__(self, email, password, name, admins=[], protected=[], *args, **kwargs): super(Bot, self).__init__(email=ema...
38.510204
88
0.598304
227
1,887
4.810573
0.325991
0.054945
0.029304
0.043956
0.049451
0
0
0
0
0
0
0.002861
0.259141
1,887
48
89
39.3125
0.778255
0.010069
0
0
0
0
0.077873
0
0
0
0
0
0
1
0.135135
false
0.054054
0.081081
0.027027
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
e5c0e09f7a45cb2ecf9eba32890f4af165a441f0
273
py
Python
Draft/Decode a cipher.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
6
2020-09-03T09:32:25.000Z
2020-12-07T04:10:01.000Z
Draft/Decode a cipher.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
1
2021-12-13T15:30:21.000Z
2021-12-13T15:30:21.000Z
Draft/Decode a cipher.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
null
null
null
table={i:j for i,j in enumerate("abcdefghijklmnopqrstuvwxyz"+"abcdefghijklmnopqrstuvwxyz".upper())} def decode(cipher, b, c): cipher.insert(0, 0) res=[] for i in range(1, len(cipher)): res.append(table[cipher[i]-cipher[i-1]-b-c]) return "".join(res)
39
99
0.655678
41
273
4.365854
0.536585
0.022346
0
0
0
0
0
0
0
0
0
0.017391
0.157509
273
7
100
39
0.76087
0
0
0
0
0
0.189781
0.189781
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e5c143fee608434a37b93838fcca4dd45eb0545b
627
py
Python
cases/migrations/0002_auto_20200506_2202.py
testyourcodenow/core
05865b02ff7e60ffd3b30652161b3523046b9696
[ "MIT" ]
1
2020-05-10T06:40:58.000Z
2020-05-10T06:40:58.000Z
cases/migrations/0002_auto_20200506_2202.py
testyourcodenow/core
05865b02ff7e60ffd3b30652161b3523046b9696
[ "MIT" ]
25
2020-05-03T08:10:38.000Z
2021-09-22T18:59:29.000Z
cases/migrations/0002_auto_20200506_2202.py
testyourcodenow/core
05865b02ff7e60ffd3b30652161b3523046b9696
[ "MIT" ]
10
2020-05-03T08:25:56.000Z
2020-06-03T06:49:34.000Z
# Generated by Django 3.0.3 on 2020-05-06 22:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cases', '0001_initial'), ] operations = [ migrations.AddField( model_name='visual', name='id', field=mod...
25.08
119
0.586922
66
627
5.454545
0.712121
0.05
0.083333
0.105556
0
0
0
0
0
0
0
0.052036
0.295056
627
24
120
26.125
0.762443
0.07177
0
0.222222
1
0
0.068966
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e5c7a4ae568522e409aa3f1c6efdf5afa6011ded
6,517
py
Python
train_blstm_e2e.py
ishine/E2E-langauge-diarization
0bcb3ec82bd6de6fac848c66fd5ad8fe7b284f0e
[ "MIT" ]
4
2021-12-13T10:24:23.000Z
2021-12-22T09:40:58.000Z
train_blstm_e2e.py
ishine/E2E-langauge-diarization
0bcb3ec82bd6de6fac848c66fd5ad8fe7b284f0e
[ "MIT" ]
null
null
null
train_blstm_e2e.py
ishine/E2E-langauge-diarization
0bcb3ec82bd6de6fac848c66fd5ad8fe7b284f0e
[ "MIT" ]
2
2021-04-07T02:34:17.000Z
2021-04-23T03:33:54.000Z
import os import random import argparse import torch import torch.nn as nn import numpy as np from torch.utils.data import DataLoader from tqdm import tqdm from model import * from Loss import * from data_load import * from model_evaluation import * #python train_blstm_e2e.py --savedir "/home/hexin/Desktop/models" --t...
43.446667
153
0.588154
829
6,517
4.437877
0.247286
0.029356
0.05545
0.017396
0.164719
0.144061
0.129927
0.129927
0.111987
0.111987
0
0.02124
0.284794
6,517
149
154
43.738255
0.768076
0.060457
0
0.062016
0
0
0.099918
0.004415
0
0
0
0
0
0
null
null
0
0.093023
null
null
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e5d100195ec1f56bb39011ceafce3d09ae2b3187
9,539
py
Python
tests/test_flask_cuttlepool.py
smitchell556/flask-cuttlepool
32112c41947197d255646e408ede8f6b86ffb21c
[ "BSD-3-Clause" ]
1
2019-06-13T21:18:10.000Z
2019-06-13T21:18:10.000Z
tests/test_flask_cuttlepool.py
smitchell556/flask-cuttlepool
32112c41947197d255646e408ede8f6b86ffb21c
[ "BSD-3-Clause" ]
11
2018-01-16T19:12:12.000Z
2020-05-11T12:05:56.000Z
tests/test_flask_cuttlepool.py
smitchell556/flask-cuttlepool
32112c41947197d255646e408ede8f6b86ffb21c
[ "BSD-3-Clause" ]
1
2018-01-17T05:36:43.000Z
2018-01-17T05:36:43.000Z
# -*- coding: utf-8 -*- """Tests for Flask-CuttlePool.""" import pytest from flask import Flask # Find the stack on which we want to store the database connection. # Starting with Flask 0.9, the _app_ctx_stack is the correct one, # before that we need to use the _request_ctx_stack. try: from flask import _app_ctx_...
27.891813
84
0.679945
1,249
9,539
4.98799
0.156926
0.040449
0.025682
0.040931
0.424077
0.347673
0.250883
0.123114
0.069663
0.039807
0
0.008622
0.221826
9,539
341
85
27.973607
0.830661
0.228745
0
0.371859
0
0
0.03177
0.010357
0
0
0
0
0.18593
1
0.180905
false
0.075377
0.035176
0.040201
0.291457
0
0
0
0
null
0
0
0
0
0
0
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
e5d3badd80eff4da8c9ac59f2ae9e00ec9a2daf0
6,516
py
Python
backend/tests/test_scoringHelpers.py
brownben/munro
2beeae23f29fd064b102a44a1c2d3d852eed65e0
[ "MIT" ]
5
2020-02-02T14:58:15.000Z
2022-01-07T08:24:37.000Z
backend/tests/test_scoringHelpers.py
brownben/munro
2beeae23f29fd064b102a44a1c2d3d852eed65e0
[ "MIT" ]
773
2020-01-04T22:54:01.000Z
2022-03-31T16:07:56.000Z
backend/tests/test_scoringHelpers.py
brownben/munro
2beeae23f29fd064b102a44a1c2d3d852eed65e0
[ "MIT" ]
1
2021-12-25T14:32:25.000Z
2021-12-25T14:32:25.000Z
from typing import List, Dict from ..utils.scoringHelpers import * def listToResult(l: List[int]) -> List[Dict[str, int]]: return [{"position": item} for item in l] class Test_countOccurancesOfPosition: def test_noData(self) -> None: assert occuracesOfPosition([], False) == 0 assert occurace...
44.630137
86
0.57612
650
6,516
5.746154
0.178462
0.198394
0.123159
0.122088
0.448996
0.41071
0.368942
0.357162
0.313788
0.257296
0
0.078544
0.249693
6,516
145
87
44.937931
0.685416
0
0
0.290323
0
0
0.157459
0
0
0
0
0
0.524194
1
0.129032
false
0
0.016129
0.008065
0.185484
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
e5d700f93cac04fc331b71c3c1e4693e6a3e9976
1,600
py
Python
emojis/db/generator.py
mercuree/emojis
43437a2929ccb1f1783ae13c8dcb9570ce401abd
[ "MIT" ]
null
null
null
emojis/db/generator.py
mercuree/emojis
43437a2929ccb1f1783ae13c8dcb9570ce401abd
[ "MIT" ]
null
null
null
emojis/db/generator.py
mercuree/emojis
43437a2929ccb1f1783ae13c8dcb9570ce401abd
[ "MIT" ]
null
null
null
import argparse import os from datetime import datetime import requests JSON_DB_FILE = 'https://raw.githubusercontent.com/github/gemoji/master/db/emoji.json' def generate(path, dbname): req = requests.get(JSON_DB_FILE) req.raise_for_status() data = req.json() path = os.path.join(path, dbname) ...
32.653061
96
0.575
192
1,600
4.6875
0.380208
0.12
0.077778
0.046667
0.142222
0.121111
0.055556
0
0
0
0
0.002483
0.245
1,600
48
97
33.333333
0.74255
0
0
0.083333
1
0
0.31625
0
0
0
0
0
0
1
0.027778
false
0
0.138889
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e5d89d2a5e74dad3c40f155b2e13235f2835045c
528
py
Python
awx/main/management/commands/deprovision_node.py
gitEdouble/awx
5885654405ccaf465f08df4db998a6dafebd9b4d
[ "Apache-2.0" ]
1
2018-09-28T16:02:30.000Z
2018-09-28T16:02:30.000Z
awx/main/management/commands/deprovision_node.py
gitEdouble/awx
5885654405ccaf465f08df4db998a6dafebd9b4d
[ "Apache-2.0" ]
4
2020-04-29T23:03:16.000Z
2022-03-01T23:56:09.000Z
awx/main/management/commands/deprovision_node.py
gitEdouble/awx
5885654405ccaf465f08df4db998a6dafebd9b4d
[ "Apache-2.0" ]
2
2018-09-03T19:10:02.000Z
2019-06-12T07:07:16.000Z
# Copyright (c) 2017 Ansible by Red Hat # All Rights Reserved # Borrow from another AWX command from awx.main.management.commands.deprovision_instance import Command as OtherCommand # Python import warnings class Command(OtherCommand): def handle(self, *args, **options): # TODO: delete this entire file...
29.333333
86
0.69697
69
528
5.304348
0.710145
0.103825
0
0
0
0
0
0
0
0
0
0.01937
0.217803
528
17
87
31.058824
0.866828
0.251894
0
0
0
0
0.226221
0.056555
0
0
0
0.058824
0
1
0.142857
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
0
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
e5daabddd78accd0c119c7d00f383e8e6adda241
2,954
py
Python
hbruraldoctor/hbvirtual/lib/python3.7/site-packages/Naked/settings.py
hallohubo/DjangoDocterAPI
2d86d17c718affa968c0b2d4f9590aa08d43716e
[ "Apache-2.0" ]
89
2015-04-10T14:34:05.000Z
2021-11-08T09:17:09.000Z
hbruraldoctor/hbvirtual/lib/python3.7/site-packages/Naked/settings.py
hallohubo/DjangoDocterAPI
2d86d17c718affa968c0b2d4f9590aa08d43716e
[ "Apache-2.0" ]
13
2015-03-17T15:44:41.000Z
2020-11-19T03:07:13.000Z
hbruraldoctor/hbvirtual/lib/python3.7/site-packages/Naked/settings.py
hallohubo/DjangoDocterAPI
2d86d17c718affa968c0b2d4f9590aa08d43716e
[ "Apache-2.0" ]
19
2015-05-13T09:18:12.000Z
2021-04-28T10:35:39.000Z
#!/usr/bin/env python # encoding: utf-8 #------------------------------------------------------------------------------ # Application Name #------------------------------------------------------------------------------ app_name = "naked" #------------------------------------------------------------------------------ ...
33.954023
396
0.474611
269
2,954
5.237918
0.486989
0.069553
0.053939
0.039745
0.117814
0.072392
0.072392
0.072392
0.072392
0
0
0.003701
0.17671
2,954
86
397
34.348837
0.571135
0.314827
0
0.088889
0
0.066667
0.932203
0.090229
0
0
0
0
0
1
0
false
0
0.022222
0
0.022222
0
0
0
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
e5e0321b867fbd3540821c3d571734424765569b
326
py
Python
setup.py
mephizzle/python-funkyfunc
5b7b9edc817830348227e8c7f9178d26ecc9991f
[ "Apache-2.0" ]
null
null
null
setup.py
mephizzle/python-funkyfunc
5b7b9edc817830348227e8c7f9178d26ecc9991f
[ "Apache-2.0" ]
null
null
null
setup.py
mephizzle/python-funkyfunc
5b7b9edc817830348227e8c7f9178d26ecc9991f
[ "Apache-2.0" ]
null
null
null
from distutils.core import setup setup( author='Marco Westerhof', author_email='mephistolomaniac@gmail.com', url='https://github.com/mephizzle/python-funkyfunc', name='FunkyFunk', version='0.0.2-dev', packages=['funkyfunc'], license='Apache 2.0', long_description=open('README.txt').read...
25.076923
56
0.677914
40
326
5.475
0.825
0
0
0
0
0
0
0
0
0
0
0.018051
0.150307
326
12
57
27.166667
0.772563
0
0
0
0
0
0.407975
0.079755
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
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
e5e53846e2bb66fb7964f5329a489cc90405aafd
881
py
Python
Python/BasicTutorials/loops.py
ronkitay/Rons-Tutorials
c0459c57cc24b546847ec24afa94d2c1e5373bd4
[ "MIT" ]
null
null
null
Python/BasicTutorials/loops.py
ronkitay/Rons-Tutorials
c0459c57cc24b546847ec24afa94d2c1e5373bd4
[ "MIT" ]
null
null
null
Python/BasicTutorials/loops.py
ronkitay/Rons-Tutorials
c0459c57cc24b546847ec24afa94d2c1e5373bd4
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- from rons_tutorial_formatting import * print_block_separator() x = 1 while x < 10: print x, x += 1 end_block(True) start_block() words = ['hello', 'world', 'have', 'a', 'nice', 'day'] for word in words: if word.isalpha() and word[0] == 'h': print word,...
16.622642
83
0.594779
134
881
3.761194
0.455224
0.063492
0.095238
0.10119
0.130952
0
0
0
0
0
0
0.04321
0.264472
881
53
84
16.622642
0.734568
0.043133
0
0.25
0
0
0.095012
0
0
0
0
0
0
0
null
null
0
0.027778
null
null
0.277778
0
0
0
null
0
0
0
0
0
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
e5e8dd52ec7800abc2fea2d0e906bb4110812873
382
py
Python
users/urls.py
Gabriel-limadev/learning_log
c8f0d0e95d19da652c7a56d80df0990d5c3a18d0
[ "MIT" ]
null
null
null
users/urls.py
Gabriel-limadev/learning_log
c8f0d0e95d19da652c7a56d80df0990d5c3a18d0
[ "MIT" ]
null
null
null
users/urls.py
Gabriel-limadev/learning_log
c8f0d0e95d19da652c7a56d80df0990d5c3a18d0
[ "MIT" ]
null
null
null
"""Define padrões de URL para users""" from django.urls import path, include from django.contrib.auth.views import LoginView from . import views urlpatterns = [ # Página de Login path('login', LoginView.as_view(template_name='users/login.html'), name='login'), path('logout', views.logout_view, name='logo...
27.285714
85
0.712042
51
382
5.27451
0.509804
0.074349
0
0
0
0
0
0
0
0
0
0
0.143979
382
13
86
29.384615
0.82263
0.128272
0
0
0
0
0.165138
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e5ebdbe01f05c949fa7304e210592a5bcd39cded
5,923
py
Python
resumecollection/users/v1/views.py
m-ali-ubit/resume-collection
1e598928fed38f4a3b5972ff473e26e07e4c464a
[ "MIT" ]
null
null
null
resumecollection/users/v1/views.py
m-ali-ubit/resume-collection
1e598928fed38f4a3b5972ff473e26e07e4c464a
[ "MIT" ]
null
null
null
resumecollection/users/v1/views.py
m-ali-ubit/resume-collection
1e598928fed38f4a3b5972ff473e26e07e4c464a
[ "MIT" ]
null
null
null
import logging from django.contrib.auth import get_user_model, authenticate from django.contrib.auth.mixins import LoginRequiredMixin from django.http import Http404 from django.views.generic import RedirectView from rest_framework import status, permissions from rest_framework.exceptions import ValidationError from r...
39.225166
96
0.667905
608
5,923
6.307566
0.241776
0.032855
0.042243
0.024772
0.232595
0.16219
0.097001
0.08292
0.08292
0.08292
0
0.010538
0.263042
5,923
150
97
39.486667
0.868041
0
0
0.178295
0
0
0.140976
0
0
0
0
0
0
1
0.046512
false
0.170543
0.139535
0.007752
0.364341
0
0
0
0
null
0
0
0
0
0
0
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
e5f2df89ffd4743d543ef9c3d879f0b8408bef7f
2,011
py
Python
flight-data/adb_7_eda.py
plzm/azure-databricks
29884a184698a034a7e5c25ac5b80d36757b2fff
[ "MIT" ]
null
null
null
flight-data/adb_7_eda.py
plzm/azure-databricks
29884a184698a034a7e5c25ac5b80d36757b2fff
[ "MIT" ]
null
null
null
flight-data/adb_7_eda.py
plzm/azure-databricks
29884a184698a034a7e5c25ac5b80d36757b2fff
[ "MIT" ]
null
null
null
# Databricks notebook source # MAGIC %md # MAGIC References # MAGIC # MAGIC https://spark.apache.org/docs/latest/api/python/pyspark.sql.html#pyspark.sql.DataFrameStatFunctions<br> # MAGIC https://docs.azuredatabricks.net/user-guide/visualizations/index.html<br> # COMMAND ---------- # MAGIC %md # MAGIC #### Get a dat...
19.336538
117
0.655893
251
2,011
5.103586
0.442231
0.119438
0.172521
0.093677
0.246682
0.115535
0.115535
0.070258
0
0
0
0.007407
0.1273
2,011
103
118
19.524272
0.722507
0.56191
0
0
0
0
0.115012
0
0
0
0
0
0
1
0
true
0
0
0
0
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
e5f93c424e080bb00d32a11707e9198b4d6328be
1,466
py
Python
mm_SA_001/solver.py
DmitriKudryashov/setcover
d95d37c268c99d5ed1772e86e9810b6c996a179a
[ "MIT" ]
86
2015-03-10T16:39:52.000Z
2022-03-24T08:13:40.000Z
mm_SA_001/solver.py
DmitriKudryashov/setcover
d95d37c268c99d5ed1772e86e9810b6c996a179a
[ "MIT" ]
7
2015-03-04T09:30:51.000Z
2020-12-31T18:56:51.000Z
mm_SA_001/solver.py
DmitriKudryashov/setcover
d95d37c268c99d5ed1772e86e9810b6c996a179a
[ "MIT" ]
102
2015-01-02T15:12:14.000Z
2022-03-18T09:59:11.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # ------------------------------------------------------------------------------- # HOW TO USE THIS SOLVER: # ------------------------------------------------------------------------------- # # Compile the C++ code setCoversa.cpp into an executable setCoversa # Linux: g+...
28.745098
131
0.597544
190
1,466
4.421053
0.5
0.075
0.039286
0.042857
0.047619
0
0
0
0
0
0
0.007634
0.195771
1,466
50
132
29.32
0.704835
0.410641
0
0
0
0.045455
0.178066
0
0
0
0
0
0
0
null
null
0
0.136364
null
null
0.136364
0
0
0
null
0
0
0
0
0
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
f9019bd17eb89cddd56f5b092e2ea9378fef8dc4
516
py
Python
setup.py
gelo-zhukov/django-simple-seo
872894917b39f2e938ac9a25471326d7a8c01873
[ "BSD-3-Clause" ]
1
2020-02-18T13:54:02.000Z
2020-02-18T13:54:02.000Z
setup.py
gelo-zhukov/django-simple-seo
872894917b39f2e938ac9a25471326d7a8c01873
[ "BSD-3-Clause" ]
null
null
null
setup.py
gelo-zhukov/django-simple-seo
872894917b39f2e938ac9a25471326d7a8c01873
[ "BSD-3-Clause" ]
2
2015-06-23T09:10:28.000Z
2020-07-25T10:04:31.000Z
import os from setuptools import setup setup( name='simpleseo', version='0.0.1', author='Glamping Hub', author_email='it@glampinghub.com', packages=['simpleseo'], url='https://github.com/Glamping-Hub/django-simple-seo', license='LICENSE', description='Simple SEO app for django framewor...
24.571429
87
0.656977
66
516
5
0.712121
0.066667
0
0
0
0
0
0
0
0
0
0.016509
0.178295
516
20
88
25.8
0.761792
0
0
0
0
0
0.329457
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
f9067c53c005e376f4cfe9ae079b5ab8e9d70c34
285
py
Python
setup.py
rectangletangle/iterlib
5863f5d2ca3fc89cc71e1f170b2fd52e7d376a5d
[ "BSD-2-Clause" ]
1
2015-03-06T09:33:25.000Z
2015-03-06T09:33:25.000Z
setup.py
rectangletangle/iterlib
5863f5d2ca3fc89cc71e1f170b2fd52e7d376a5d
[ "BSD-2-Clause" ]
null
null
null
setup.py
rectangletangle/iterlib
5863f5d2ca3fc89cc71e1f170b2fd52e7d376a5d
[ "BSD-2-Clause" ]
null
null
null
import iterlib from distutils.core import setup setup(name=iterlib.__name__, version=iterlib.__version__, description=iterlib.__doc__, author=iterlib.__author__, author_email=iterlib.__email__, url=iterlib.__url__, packages=[iterlib.__name__])
19
37
0.722807
30
285
5.9
0.466667
0.124294
0
0
0
0
0
0
0
0
0
0
0.189474
285
14
38
20.357143
0.766234
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
f9093408439e26def7b0c8a935ff0f1ec59c9b79
364
py
Python
mix_backup/workspace/KirkB-Automation/check_point_finder/Network02.py
0dadj1an/mix
a4f289b115686b221cc71aaf232bc76d4453dff8
[ "Apache-2.0" ]
null
null
null
mix_backup/workspace/KirkB-Automation/check_point_finder/Network02.py
0dadj1an/mix
a4f289b115686b221cc71aaf232bc76d4453dff8
[ "Apache-2.0" ]
null
null
null
mix_backup/workspace/KirkB-Automation/check_point_finder/Network02.py
0dadj1an/mix
a4f289b115686b221cc71aaf232bc76d4453dff8
[ "Apache-2.0" ]
null
null
null
import cpauto session = cpauto.CoreClient('admin', 'cisco123', '192.168.0.250') output = session.login() policies = cpauto.PolicyPackage(session) output = policies.show_all() outputdictfromserver = output.json() outputdictfromserver['packages'] counter=0 print outputdictfromserver output = session.logout() pr...
19.157895
65
0.725275
38
364
6.894737
0.631579
0.099237
0
0
0
0
0
0
0
0
0
0.045902
0.162088
364
18
66
20.222222
0.813115
0
0
0
0
0
0.093407
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.181818
0
0
0
null
0
0
0
0
0
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
f91e45056e688bc8a35dc7a92e07d9a8e0b4f848
322
py
Python
torchsupport/flex/context/context_module.py
coding-ecoli/torchsupport
a8de0e8db4f4b9cfd4ac93c0fa6923fe9151b309
[ "MIT" ]
18
2019-05-02T16:32:15.000Z
2021-04-16T09:33:54.000Z
torchsupport/flex/context/context_module.py
coding-ecoli/torchsupport
a8de0e8db4f4b9cfd4ac93c0fa6923fe9151b309
[ "MIT" ]
5
2019-10-14T13:46:49.000Z
2021-06-08T11:48:34.000Z
torchsupport/flex/context/context_module.py
coding-ecoli/torchsupport
a8de0e8db4f4b9cfd4ac93c0fa6923fe9151b309
[ "MIT" ]
12
2019-05-12T21:34:24.000Z
2021-07-15T14:14:16.000Z
import torch.nn as nn class ContextModule(nn.Module): def __init__(self, ctx=None): super().__init__() self._ctx = ctx @property def ctx(self): return self._ctx @ctx.setter def ctx(self, ctx): for module in self.modules(): if isinstance(module, ContextModule): module._ctx = ct...
18.941176
43
0.649068
44
322
4.5
0.477273
0.141414
0.111111
0
0
0
0
0
0
0
0
0
0.232919
322
16
44
20.125
0.801619
0
0
0
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0.076923
0.461538
0
0
0
0
null
0
0
0
0
0
0
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
f920cd367ef49151e3bcd850b0a3a30a2385fffe
296
py
Python
examples/full-example/app/app.py
alwye/fastapi_login
a7a94f6e191e5f81f87cb35ac3ff1947aef33136
[ "MIT" ]
318
2019-10-24T20:18:41.000Z
2022-03-23T16:55:51.000Z
examples/full-example/app/app.py
alwye/fastapi_login
a7a94f6e191e5f81f87cb35ac3ff1947aef33136
[ "MIT" ]
47
2020-01-24T01:07:33.000Z
2022-03-16T12:59:06.000Z
examples/full-example/app/app.py
alwye/fastapi_login
a7a94f6e191e5f81f87cb35ac3ff1947aef33136
[ "MIT" ]
39
2020-04-01T07:23:13.000Z
2022-02-25T12:43:40.000Z
from fastapi import FastAPI from app.routes.auth import router as auth_router from app.routes.user import router as user_router from app.routes.posts import router as posts_router app = FastAPI() app.include_router(auth_router) app.include_router(user_router) app.include_router(posts_router)
24.666667
51
0.834459
48
296
4.958333
0.229167
0.088235
0.163866
0.159664
0
0
0
0
0
0
0
0
0.10473
296
11
52
26.909091
0.898113
0
0
0
0
0
0
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
f9212d62b2c6b0b4be3c55d60532491667f432fd
17,444
py
Python
infomercial/memory.py
CoAxLab/infomercial
fa5d1c1e5c1351735dda2961a2a94f71cd17e270
[ "MIT" ]
4
2019-11-14T03:13:25.000Z
2021-01-04T17:30:23.000Z
infomercial/memory.py
CoAxLab/infomercial
fa5d1c1e5c1351735dda2961a2a94f71cd17e270
[ "MIT" ]
null
null
null
infomercial/memory.py
CoAxLab/infomercial
fa5d1c1e5c1351735dda2961a2a94f71cd17e270
[ "MIT" ]
null
null
null
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from collections import OrderedDict from collections import deque from sklearn.neighbors import KernelDensity from scipy.stats import entropy as scientropy import random class NoveltyMemory: def __init__(self, bonus=0): ...
29.073333
112
0.54116
2,201
17,444
4.197637
0.169014
0.021647
0.017534
0.020781
0.412923
0.374066
0.337049
0.330772
0.323412
0.314969
0
0.008189
0.334958
17,444
599
113
29.12187
0.788208
0.671291
0
0.394366
0
0
0.012147
0
0
0
0
0.001669
0
1
0.239437
false
0.014085
0.06338
0.098592
0.492958
0
0
0
0
null
0
0
0
0
0
0
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
f927320e5b5b42a05587f21c0bf8e8733e0a3c7a
4,987
py
Python
messaging_components/clients/external/java/command/java_options.py
fgiorgetti/qpid-dispatch-tests
164c609d28db87692eed53d5361aa1ee5c97375c
[ "Apache-2.0" ]
null
null
null
messaging_components/clients/external/java/command/java_options.py
fgiorgetti/qpid-dispatch-tests
164c609d28db87692eed53d5361aa1ee5c97375c
[ "Apache-2.0" ]
null
null
null
messaging_components/clients/external/java/command/java_options.py
fgiorgetti/qpid-dispatch-tests
164c609d28db87692eed53d5361aa1ee5c97375c
[ "Apache-2.0" ]
null
null
null
from optconstruct import OptionAbstract from optconstruct.types import Toggle, Prefixed, KWOption, ListOption from messaging_components.clients.external.command.options.client_options import ControlOptionsCommon, \ ControlOptionsSenderReceiver, ControlOptionsReceiver, ConnectionOptionsCommon """ Specialized optio...
52.494737
118
0.677161
535
4,987
6.048598
0.173832
0.054079
0.046354
0.021632
0.422126
0.399258
0.300371
0.300371
0.126082
0.126082
0
0.009067
0.225988
4,987
94
119
53.053191
0.829275
0.057349
0
0.089552
0
0
0.090015
0.03321
0
0
0
0
0
1
0.119403
false
0.089552
0.044776
0.059701
0.283582
0
0
0
0
null
0
0
0
0
0
0
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
0056d7846cb988b379249f9ed5834e68bd878b2b
468
py
Python
pug-bot/commands/team.py
stevenktruong/pug-bot
315c21363eebb51d67d5b5c9fa9326cd8bcb2b54
[ "MIT" ]
17
2018-06-27T03:49:03.000Z
2021-04-13T07:32:43.000Z
pug-bot/commands/team.py
stevenktruong/pug-bot
315c21363eebb51d67d5b5c9fa9326cd8bcb2b54
[ "MIT" ]
3
2020-03-26T06:49:10.000Z
2020-04-23T07:20:41.000Z
pug-bot/commands/team.py
stevenktruong/pug-bot
315c21363eebb51d67d5b5c9fa9326cd8bcb2b54
[ "MIT" ]
14
2018-06-27T03:49:06.000Z
2021-10-07T23:28:44.000Z
from .checks import * from ..config import * from ..pug import Pug from ..team import Team from ..utils import * @check(input_too_long, not_in_pug, team_already_exists, already_in_team) async def team(message, pugs, user_input, client): existing_pug = find_in_list(lambda pug: message.author in pug.players, pugs) ...
33.428571
80
0.767094
71
468
4.788732
0.478873
0.097059
0
0
0
0
0
0
0
0
0
0
0.136752
468
14
81
33.428571
0.841584
0
0
0
0
0
0.01919
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
005bd8e49cfeaa8abf66aa7e3cd2da4991107a70
18,988
py
Python
modules/online.py
y11en/break-free
2da737b38114a8f6e69d478e847e1728e67be402
[ "BSD-3-Clause" ]
52
2019-01-22T22:12:40.000Z
2022-03-14T17:24:48.000Z
modules/online.py
y11en/break-free
2da737b38114a8f6e69d478e847e1728e67be402
[ "BSD-3-Clause" ]
null
null
null
modules/online.py
y11en/break-free
2da737b38114a8f6e69d478e847e1728e67be402
[ "BSD-3-Clause" ]
8
2019-01-30T02:05:22.000Z
2022-02-19T18:09:34.000Z
# -*- coding: utf-8 -*- __all__ = ( 'check_transparent_proxy', 'external_ip', 'external_headers', 'online', 'ntp_time_diff', 'check', 'bits_to_dict', 'PortQuiz', ) import tinyhttp import socket import time import threading import random import urllib2 import scan import netaddr import ...
30.874797
98
0.588951
2,070
18,988
5.274396
0.221256
0.03224
0.029309
0.038285
0.235391
0.192526
0.155431
0.115497
0.098553
0.086096
0
0.050823
0.302612
18,988
614
99
30.925081
0.773675
0.016063
0
0.211066
0
0.010246
0.27189
0.12253
0
0
0
0.001629
0
0
null
null
0.006148
0.038934
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
0069b966fdcc2ad83f7436ac64bf728e3690f9ec
297
py
Python
eelbrain/testnd.py
jpkulasingham/Eelbrain
1061ce0b781a8e55ec187723b58491a5cde32e08
[ "BSD-3-Clause" ]
1
2021-07-26T21:22:35.000Z
2021-07-26T21:22:35.000Z
eelbrain/testnd.py
jpkulasingham/Eelbrain
1061ce0b781a8e55ec187723b58491a5cde32e08
[ "BSD-3-Clause" ]
1
2019-03-22T15:35:17.000Z
2019-03-22T15:35:17.000Z
eelbrain/testnd.py
jpkulasingham/Eelbrain
1061ce0b781a8e55ec187723b58491a5cde32e08
[ "BSD-3-Clause" ]
null
null
null
"""Statistical tests for multidimensional data in :class:`NDVar` objects""" __test__ = False from ._stats.testnd import ( NDTest, MultiEffectNDTest, t_contrast_rel, corr, ttest_1samp, ttest_ind, ttest_rel, anova, Vector, VectorDifferenceRelated, ) from ._stats.spm import LM, LMGroup
29.7
75
0.757576
36
297
5.944444
0.833333
0.084112
0
0
0
0
0
0
0
0
0
0.003953
0.148148
297
9
76
33
0.841897
0.232323
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
006d6da55a319b603163ea87aa72bdcea51b3155
1,982
py
Python
tests/test_gui.py
lgehring/bl-predictor
2de8cb682391f81670178fcb22b2429469ba9f0c
[ "MIT" ]
null
null
null
tests/test_gui.py
lgehring/bl-predictor
2de8cb682391f81670178fcb22b2429469ba9f0c
[ "MIT" ]
8
2021-01-18T18:16:12.000Z
2021-03-02T10:20:12.000Z
tests/test_gui.py
lgehring/bl-predictor
2de8cb682391f81670178fcb22b2429469ba9f0c
[ "MIT" ]
5
2021-01-19T11:17:33.000Z
2022-02-12T15:36:13.000Z
from datetime import date from bl_predictor import gui def test_gui(): try: tested_gui = gui.MainWindow("test") # detects headless server except: return None assert (tested_gui.picked_home_team is None) assert (tested_gui.picked_guest_team is None) assert (tested_gui.date_lab...
36.036364
71
0.679617
251
1,982
5.067729
0.270916
0.183962
0.176887
0.066038
0.474843
0.29717
0.257862
0.196541
0.139937
0
0
0.001914
0.209384
1,982
54
72
36.703704
0.809828
0.094854
0
0.142857
0
0
0.12605
0
0
0
0
0
0.428571
1
0.02381
false
0
0.047619
0
0.095238
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
007300a90b2659b369135139510ec91a38faf7c2
1,091
py
Python
arcade/python/arcade-theCore/07_BookMarket/058_IsUnstablePair.py
netor27/codefights-arcade-solutions
69701ab06d45902c79ec9221137f90b75969d8c8
[ "MIT" ]
null
null
null
arcade/python/arcade-theCore/07_BookMarket/058_IsUnstablePair.py
netor27/codefights-arcade-solutions
69701ab06d45902c79ec9221137f90b75969d8c8
[ "MIT" ]
null
null
null
arcade/python/arcade-theCore/07_BookMarket/058_IsUnstablePair.py
netor27/codefights-arcade-solutions
69701ab06d45902c79ec9221137f90b75969d8c8
[ "MIT" ]
null
null
null
def isUnstablePair(filename1, filename2): ''' Some file managers sort filenames taking into account case of the letters, others compare strings as if all of the letters are of the same case. That may lead to different ways of filename ordering. Call two filenames an unstable pair if their ordering depends on t...
38.964286
202
0.700275
163
1,091
4.693252
0.503067
0.090196
0.12549
0.044444
0.128105
0.128105
0.128105
0
0
0
0
0.020785
0.206233
1,091
28
203
38.964286
0.861432
0.76077
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0073bbe227dbf4e8883741282f8123662ad068bf
14,018
py
Python
validator/tests/unit/test_journal_transactions.py
gabykyei/GC_BlockChain_T_Rec
b72cb483064852d0a60286943ff55233462fea08
[ "Apache-2.0" ]
1
2019-03-18T13:31:11.000Z
2019-03-18T13:31:11.000Z
validator/tests/unit/test_journal_transactions.py
gabykyei/GC_BlockChain_T_Rec
b72cb483064852d0a60286943ff55233462fea08
[ "Apache-2.0" ]
null
null
null
validator/tests/unit/test_journal_transactions.py
gabykyei/GC_BlockChain_T_Rec
b72cb483064852d0a60286943ff55233462fea08
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 Intel 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 agreed to in wri...
43.265432
80
0.661721
1,481
14,018
5.989872
0.16813
0.056363
0.042611
0.050727
0.495773
0.452147
0.351708
0.326682
0.304588
0.276632
0
0.008981
0.245399
14,018
323
81
43.399381
0.829646
0.173349
0
0.446809
0
0
0.104136
0.016561
0
0
0
0
0.182979
0
null
null
0
0.055319
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