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
40d2dc29ac25a85dd529812f63761eec0589d759
2,441
py
Python
quantipy/core/link.py
sfermigier/quantipy3
6b1a5404a70b1a419493f612c39127d7baed4124
[ "MIT" ]
null
null
null
quantipy/core/link.py
sfermigier/quantipy3
6b1a5404a70b1a419493f612c39127d7baed4124
[ "MIT" ]
null
null
null
quantipy/core/link.py
sfermigier/quantipy3
6b1a5404a70b1a419493f612c39127d7baed4124
[ "MIT" ]
null
null
null
#-*- coding: utf-8 -*- import numpy as np from .view_generators.view_maps import QuantipyViews as View class Link(dict): """ The Link object is a subclassed dictionary that generates an instance of Pandas.DataFrame for every view method applied """ def __init__(self, th...
27.426966
78
0.511676
291
2,441
4.161512
0.316151
0.063584
0.049546
0.024773
0.09744
0.09744
0.059455
0.059455
0.059455
0
0
0.002072
0.4068
2,441
88
79
27.738636
0.834254
0.174519
0
0.140351
1
0
0.002729
0
0
0
0
0
0
1
0.105263
false
0
0.035088
0.017544
0.263158
0
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
40d81f4ba5aabb140109b55184d5dd6ec6c10b8e
3,125
py
Python
finrl_meta/env_future_trading/wt4elegantrl/wtpy/wrapper/WtDtServoApi.py
eitin-infant/FinRL-Meta
4c94011e58425796e7e2e5c1bf848afd65c828d6
[ "MIT" ]
214
2021-11-08T17:06:11.000Z
2022-03-31T18:29:48.000Z
finrl_meta/env_future_trading/wt4elegantrl/wtpy/wrapper/WtDtServoApi.py
eitin-infant/FinRL-Meta
4c94011e58425796e7e2e5c1bf848afd65c828d6
[ "MIT" ]
51
2021-11-14T19:11:02.000Z
2022-03-30T20:23:08.000Z
finrl_meta/env_future_trading/wt4elegantrl/wtpy/wrapper/WtDtServoApi.py
eitin-infant/FinRL-Meta
4c94011e58425796e7e2e5c1bf848afd65c828d6
[ "MIT" ]
110
2021-11-03T07:41:40.000Z
2022-03-31T03:23:38.000Z
''' Descripttion: Automatically generated file comment version: Author: Wesley Date: 2021-07-27 09:53:43 LastEditors: Wesley LastEditTime: 2021-08-13 15:34:36 ''' from ctypes import cdll, CFUNCTYPE, c_char_p, c_void_p, c_bool, POINTER, c_uint64, c_uint32 from wtpy.WtCoreDefs import BarList, TickList, WTSBarStruct, WTS...
37.202381
154
0.6656
427
3,125
4.611241
0.278689
0.042661
0.050787
0.024886
0.461148
0.393093
0.317928
0.23159
0.217369
0.078212
0
0.028111
0.22592
3,125
84
155
37.202381
0.785862
0.15296
0
0.222222
1
0
0.017495
0
0
0
0
0
0
1
0.088889
false
0
0.111111
0
0.355556
0
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
40e0a39a81056ba4374b9c038c727caa0cf7071f
68,724
py
Python
lib/objects.py
apyrgio/snf-ganeti
c59bb92f5bf4a98d90b4f10fb509a5a2f11c65b7
[ "BSD-2-Clause" ]
null
null
null
lib/objects.py
apyrgio/snf-ganeti
c59bb92f5bf4a98d90b4f10fb509a5a2f11c65b7
[ "BSD-2-Clause" ]
null
null
null
lib/objects.py
apyrgio/snf-ganeti
c59bb92f5bf4a98d90b4f10fb509a5a2f11c65b7
[ "BSD-2-Clause" ]
null
null
null
# # # Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # 1. Redistributions of source code must retain the above copyri...
29.892997
80
0.669766
8,809
68,724
5.087297
0.123737
0.008703
0.006917
0.007029
0.268398
0.215401
0.186125
0.156491
0.133998
0.108939
0
0.003304
0.238185
68,724
2,298
81
29.906005
0.85266
0.062773
0
0.258981
0
0
0.090119
0.003073
0
0
0
0.000435
0.010025
0
null
null
0.005013
0.012531
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
40e2ac0cc86df5b12f03e6dd83195e943daeccef
1,637
py
Python
pandas/pythonista/url.py
timkphd/examples
04c162ec890a1c9ba83498b275fbdc81a4704062
[ "Unlicense" ]
5
2020-11-01T00:29:22.000Z
2022-01-24T19:09:47.000Z
pandas/pythonista/url.py
timkphd/examples
04c162ec890a1c9ba83498b275fbdc81a4704062
[ "Unlicense" ]
1
2022-02-09T01:59:47.000Z
2022-02-09T01:59:47.000Z
pandas/pythonista/url.py
timkphd/examples
04c162ec890a1c9ba83498b275fbdc81a4704062
[ "Unlicense" ]
null
null
null
import appex import requests import console import dialogs import os def startdir(): cwd=os.getcwd() # print("cwd=",cwd) basein=cwd.find("Documents")+9 newdir=cwd[0:basein] os.chdir(newdir) cwd=os.getcwd() return cwd # print(cwd) def setdir(top): cwd=os.getcwd() files=os.listdir(cwd) dirs=[] cwd_short=cwd.rep...
22.121622
89
0.638974
247
1,637
4.17004
0.384615
0.031068
0.032039
0.027184
0.058252
0.058252
0.058252
0
0
0
0
0.005166
0.172266
1,637
73
90
22.424658
0.754982
0.123396
0
0.15625
0
0
0.121318
0
0
0
0
0.013699
0
1
0.046875
false
0
0.078125
0
0.140625
0.046875
0
0
0
null
0
0
0
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
40e7a04e5c0bb0cd9a63b0d652bd05821c2440ca
588
py
Python
python/meetup/meetup.py
baduker/exercism.io
7e1b9ea20aa6f6b0fea947911053cd3e196c0642
[ "MIT" ]
null
null
null
python/meetup/meetup.py
baduker/exercism.io
7e1b9ea20aa6f6b0fea947911053cd3e196c0642
[ "MIT" ]
null
null
null
python/meetup/meetup.py
baduker/exercism.io
7e1b9ea20aa6f6b0fea947911053cd3e196c0642
[ "MIT" ]
null
null
null
import calendar class MeetupDayException(Exception): pass def meetup(year, month, week, day_of_week): days_of_week = dict(zip(list(calendar.day_name), range(7))) cal = calendar.Calendar() days = [ day for day in cal.itermonthdates(year, month) if day.weekday() == days_of_week[week]...
22.615385
69
0.608844
87
588
3.965517
0.436782
0.104348
0.104348
0
0
0
0
0
0
0
0
0.020785
0.263605
588
25
70
23.52
0.775982
0
0
0
0
0
0.017007
0
0
0
0
0
0
1
0.058824
false
0.058824
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
40e9fc87072c9ec4f5616da72b1544016f7e5765
3,419
py
Python
cluster/collectjobs.py
pelagia/votca-scripts
5c10cabe6458b4682cd9c214bc665d389f34a939
[ "Apache-2.0" ]
2
2017-10-17T16:46:28.000Z
2020-01-09T15:06:14.000Z
cluster/collectjobs.py
pelagia/votca-scripts
5c10cabe6458b4682cd9c214bc665d389f34a939
[ "Apache-2.0" ]
null
null
null
cluster/collectjobs.py
pelagia/votca-scripts
5c10cabe6458b4682cd9c214bc665d389f34a939
[ "Apache-2.0" ]
2
2018-05-25T09:15:47.000Z
2020-06-25T07:18:31.000Z
#!bin/python import os import re import shutil import subprocess username="wehnerj" sortstring="8PNPO12" #sortstring=None apename="APE_ISO" workground="WORKGROUND" class cd: """Context manager for changing the current working directory""" def __init__(self, newPath): self.newPath = os.path.expanduser(...
35.614583
170
0.536999
355
3,419
5.121127
0.385915
0.029703
0.022002
0.015402
0.027503
0
0
0
0
0
0
0.007682
0.352735
3,419
95
171
35.989474
0.813827
0.016379
0
0.027027
0
0
0.119272
0
0
0
0
0
0
0
null
null
0
0.054054
null
null
0.135135
0
0
0
null
0
0
0
0
0
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
40ec54b6f08caaeb5ca586fad3ebbbabf1c27d72
303
py
Python
gql/resolvers/queries/user.py
apoveda25/graphql-python-server
eb7b911aa1116327120b857beb17da3e30523e74
[ "Apache-2.0" ]
4
2020-06-20T11:54:04.000Z
2021-09-07T11:41:32.000Z
gql/resolvers/queries/user.py
apoveda25/graphql-python-server
eb7b911aa1116327120b857beb17da3e30523e74
[ "Apache-2.0" ]
null
null
null
gql/resolvers/queries/user.py
apoveda25/graphql-python-server
eb7b911aa1116327120b857beb17da3e30523e74
[ "Apache-2.0" ]
null
null
null
from ariadne import ObjectType from datetime import datetime as dt from models.user import User queries_resolvers = ObjectType("Query") @queries_resolvers.field("getUser") async def get_user(parent, info, key: str) -> dict: store_data = User.get_instance() return await store_data.find(key)
23.307692
51
0.765677
43
303
5.255814
0.651163
0.141593
0
0
0
0
0
0
0
0
0
0
0.145215
303
12
52
25.25
0.872587
0
0
0
0
0
0.039604
0
0
0
0
0
0
1
0
false
0
0.375
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
40f99f4f2ed2bcf3e85749a9c568fd02144ce7dc
1,340
py
Python
src/lobber/log.py
SUNET/lobber
2ba707ebd8a6513bff7236262930a24f5e0e9492
[ "BSD-2-Clause-FreeBSD" ]
1
2015-11-10T17:08:57.000Z
2015-11-10T17:08:57.000Z
src/lobber/log.py
SUNET/lobber
2ba707ebd8a6513bff7236262930a24f5e0e9492
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/lobber/log.py
SUNET/lobber
2ba707ebd8a6513bff7236262930a24f5e0e9492
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
# -*- coding: utf-8 -*- import logging import logging.handlers from lobber.settings import LOBBER_LOG_LEVEL class Logger: def __init__(self, subsystem, filename): self.subsystem = subsystem self.filename = filename self.logger = logging.getLogger("lobber." + self.subsystem) ...
31.904762
110
0.664925
152
1,340
5.782895
0.282895
0.102389
0.085324
0.119454
0.243458
0.243458
0.097838
0
0
0
0
0.001881
0.206716
1,340
41
111
32.682927
0.825024
0.015672
0
0
0
0
0.097191
0
0
0
0
0
0
1
0.206897
false
0
0.103448
0
0.344828
0
0
0
0
null
0
0
0
0
0
0
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
dc015165a52510af9ac845362ee00f23f282082a
4,673
py
Python
nssrc/com/citrix/netscaler/nitro/resource/config/ssl/sslvserver_binding.py
benfinke/ns_python
d651d7aa01d7dc63c1cd435c7b3314d7f5b26659
[ "Apache-2.0" ]
1
2015-04-05T21:21:26.000Z
2015-04-05T21:21:26.000Z
nssrc/com/citrix/netscaler/nitro/resource/config/ssl/sslvserver_binding.py
benfinke/ns_python
d651d7aa01d7dc63c1cd435c7b3314d7f5b26659
[ "Apache-2.0" ]
1
2017-01-20T22:56:58.000Z
2017-01-20T22:56:58.000Z
nssrc/com/citrix/netscaler/nitro/resource/config/ssl/sslvserver_binding.py
benfinke/ns_python
d651d7aa01d7dc63c1cd435c7b3314d7f5b26659
[ "Apache-2.0" ]
6
2015-04-21T13:14:08.000Z
2020-12-03T07:27:52.000Z
# # Copyright (c) 2008-2015 Citrix Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
30.148387
120
0.734218
617
4,673
5.410049
0.247974
0.05033
0.050929
0.053925
0.379269
0.363092
0.312163
0.298382
0.298382
0.262732
0
0.005474
0.179114
4,673
154
121
30.344156
0.864703
0.124545
0
0.454545
0
0
0.001512
0
0
0
0
0
0
0
null
null
0
0.045455
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
dc017b92a06d4d9ffcdcc4aaee664d6eefb04a76
7,675
py
Python
src/awkward/_v2/operations/structure/ak_combinations.py
BioGeek/awkward-1.0
0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2
[ "BSD-3-Clause" ]
null
null
null
src/awkward/_v2/operations/structure/ak_combinations.py
BioGeek/awkward-1.0
0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2
[ "BSD-3-Clause" ]
null
null
null
src/awkward/_v2/operations/structure/ak_combinations.py
BioGeek/awkward-1.0
0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2
[ "BSD-3-Clause" ]
null
null
null
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE from __future__ import absolute_import import awkward as ak np = ak.nplike.NumpyMetadata.instance() def combinations( array, n, replacement=False, axis=1, fields=None, parameters=None, with_name=None...
43.607955
95
0.484951
1,024
7,675
3.598633
0.236328
0.013026
0.01791
0.02171
0.171235
0.147083
0.147083
0.102578
0.092266
0.05156
0
0.023029
0.304104
7,675
175
96
43.857143
0.666916
0.921694
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.133333
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dc07d468667f782f85889ea131dcc0020b2279cd
1,810
py
Python
fuel/utils/formats.py
zaimusho/fuel
a5ae89c2c77c7865544e2c68dff3207a62085dd6
[ "MIT" ]
767
2015-05-21T03:32:01.000Z
2019-02-10T13:34:41.000Z
fuel/utils/formats.py
zaimusho/fuel
a5ae89c2c77c7865544e2c68dff3207a62085dd6
[ "MIT" ]
274
2015-05-16T19:18:45.000Z
2018-09-06T07:13:38.000Z
fuel/utils/formats.py
leprophec/fuel
a5ae89c2c77c7865544e2c68dff3207a62085dd6
[ "MIT" ]
258
2015-05-21T04:55:25.000Z
2019-01-23T07:34:27.000Z
"""Low-level utilities for reading a variety of source formats.""" import codecs import gzip import io import tarfile import six def open_(filename, mode='r', encoding=None): """Open a text file with encoding and optional gzip compression. Note that on legacy Python any encoding other than ``None`` or openin...
27.424242
74
0.603867
220
1,810
4.945455
0.395455
0.066176
0.088235
0.066176
0.172794
0.066176
0
0
0
0
0
0.002368
0.3
1,810
65
75
27.846154
0.856354
0.458011
0
0.321429
0
0
0.004603
0
0
0
0
0
0
1
0.071429
false
0
0.178571
0
0.535714
0
0
0
0
null
0
0
0
0
0
0
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
dc1396583759f2195157c1a177d31d0175fcfcd3
946
py
Python
cleave/http/__init__.py
Max201/cleave-server
68253ea62f14738d1756a54ff7b7889d210671c7
[ "Apache-2.0" ]
2
2015-11-06T18:59:14.000Z
2016-02-11T02:50:36.000Z
cleave/http/__init__.py
Max201/cleave-server
68253ea62f14738d1756a54ff7b7889d210671c7
[ "Apache-2.0" ]
1
2016-03-18T18:32:35.000Z
2016-03-18T18:32:35.000Z
cleave/http/__init__.py
Max201/cleave-server
68253ea62f14738d1756a54ff7b7889d210671c7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from cleave.debug import Log from cleave.http import status from cleave.http.request import Request from cleave.http.response import Response from cleave.server import BaseClient, BaseServer from cleave.http.handler import HandleRequest class HttpServer(BaseServer): L...
26.277778
54
0.687104
106
946
6
0.386792
0.09434
0.08805
0.08805
0
0
0
0
0
0
0
0.001385
0.236786
946
35
55
27.028571
0.879501
0.131078
0
0
0
0
0.013836
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
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
dc155000451483236429dbeb7b17f159f00a6a34
4,115
py
Python
tests/models/commondb/test_ramstkcategory.py
TahaEntezari/ramstk
f82e5b31ef5c4e33cc02252263247b99a9abe129
[ "BSD-3-Clause" ]
26
2019-05-15T02:03:47.000Z
2022-02-21T07:28:11.000Z
tests/models/commondb/test_ramstkcategory.py
TahaEntezari/ramstk
f82e5b31ef5c4e33cc02252263247b99a9abe129
[ "BSD-3-Clause" ]
815
2019-05-10T12:31:52.000Z
2022-03-31T12:56:26.000Z
tests/models/commondb/test_ramstkcategory.py
TahaEntezari/ramstk
f82e5b31ef5c4e33cc02252263247b99a9abe129
[ "BSD-3-Clause" ]
9
2019-04-20T23:06:29.000Z
2022-01-24T21:21:04.000Z
# pylint: skip-file # type: ignore # -*- coding: utf-8 -*- # # tests.models.commondb.test_ramstkcategory.py is part of The RAMSTK # Project # # All rights reserved. # Copyright 2007 - 2017 Doyle Rowland doyle.rowland <AT> reliaqual <DOT> com """Test class for testing the RAMSTKCategory module algorithms and...
37.409091
124
0.674119
530
4,115
4.973585
0.224528
0.064871
0.031866
0.039454
0.538316
0.442337
0.260243
0.194234
0.124431
0.076631
0
0.028413
0.213123
4,115
109
125
37.752294
0.78567
0.200243
0
0.164384
0
0
0.162604
0
0
0
0
0
0.465753
1
0.068493
false
0
0.027397
0
0.109589
0
0
0
0
null
0
0
0
0
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
dc1640a79fbfbd61cd097d6f0a164340827dfa51
199
py
Python
samples/createsource.py
coveo/push-api-client.py
bc4e7a6befbaed14ac16863cc25ff43ef41525d8
[ "MIT" ]
null
null
null
samples/createsource.py
coveo/push-api-client.py
bc4e7a6befbaed14ac16863cc25ff43ef41525d8
[ "MIT" ]
1
2022-02-09T11:59:17.000Z
2022-02-09T11:59:17.000Z
samples/createsource.py
coveo/push-api-client.py
bc4e7a6befbaed14ac16863cc25ff43ef41525d8
[ "MIT" ]
null
null
null
from push_api_clientpy import Source source = Source("my_api_key", "my_org_id") response = source.create("the_name_of_my_source", "SECURED") print(f'Successfully created source: {response.json()}')
33.166667
60
0.778894
30
199
4.833333
0.7
0.165517
0
0
0
0
0
0
0
0
0
0
0.085427
199
6
61
33.166667
0.796703
0
0
0
0
0
0.465
0.105
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
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
dc18eabc9b267ca83f50a26e41613f25008346cc
5,465
py
Python
tests/bugs/core_6018_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/bugs/core_6018_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/bugs/core_6018_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
#coding:utf-8 # # id: bugs.core_6018 # title: Make it possible to start multiple transactions (possibly in different attachments) using the same initial transaction snapshot # decription: # We open first connect using FDB and set custom transaction parameter block which is used to ...
36.677852
163
0.555901
673
5,465
4.387816
0.346211
0.0447
0.042668
0.021673
0.314595
0.291229
0.220454
0.204876
0.17914
0.17914
0
0.02426
0.313632
5,465
148
164
36.925676
0.762997
0.682525
0
0.540541
0
0
0.749847
0.207235
0
0
0
0.006757
0
1
0.027027
false
0
0.054054
0
0.081081
0
0
0
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
904f3f6e94655cdef2a543785aa8892b85ca3f7b
622
py
Python
authentek/tests/base.py
eshta/authentek
c81e5e6bd3f0cc68f224fb92b663445f8d1ee4d4
[ "MIT" ]
null
null
null
authentek/tests/base.py
eshta/authentek
c81e5e6bd3f0cc68f224fb92b663445f8d1ee4d4
[ "MIT" ]
null
null
null
authentek/tests/base.py
eshta/authentek
c81e5e6bd3f0cc68f224fb92b663445f8d1ee4d4
[ "MIT" ]
null
null
null
# project/server/tests/base.py import time from flask_testing import TestCase from authentek.app import main from authentek.extensions import db class BaseTestCase(TestCase): """ Base Tests """ def get_timestamp(self): return str(time.time()).replace('.', '_') def create_app(self): fro...
21.448276
71
0.651125
77
622
5.168831
0.506494
0.09799
0
0
0
0
0
0
0
0
0
0.008421
0.236334
622
28
72
22.214286
0.829474
0.065916
0
0
0
0
0.067944
0.06446
0
0
0
0
0
1
0.222222
false
0
0.277778
0.055556
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
905148c1cd03ebdf6e72818811d29dc4afa89a11
456
py
Python
test2_03.py
yoojunwoong/python_review01
9bb34f4ef75f951cd090fa623728c9542e7c7c27
[ "Apache-2.0" ]
null
null
null
test2_03.py
yoojunwoong/python_review01
9bb34f4ef75f951cd090fa623728c9542e7c7c27
[ "Apache-2.0" ]
null
null
null
test2_03.py
yoojunwoong/python_review01
9bb34f4ef75f951cd090fa623728c9542e7c7c27
[ "Apache-2.0" ]
null
null
null
# if문을 사용하여 사칙연산하기 num1 = int(input('input num1...?')) num2 = int(input('input num2...?')) op = input('input op(+ - / *)...?'); result = 0; #op가 해당하는 값이 없을시 출력되는 값 # if와 elif 사용중, if의 경우 모든조건고려, elif의 경우 위에서 걸러진것을 재사용x # 따라서 elif를 사용하는경우, 프로그램의 속도에 더 유리함 if op == '+': result = num1 + num2; if op == '-': ...
20.727273
55
0.532895
65
456
3.738462
0.538462
0.164609
0.164609
0.230453
0.296296
0.296296
0.296296
0.296296
0.296296
0.296296
0
0.039514
0.278509
456
21
56
21.714286
0.699088
0.274123
0
0
0
0
0.176667
0
0
0
0
0
0
1
0
false
0
0
0
0
0.076923
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
9055fd51c4b89b43749fab454077e334d2f59b01
1,207
py
Python
code/data_mining/get_by_elo_players.py
mrcolorblind/chess_covid
419e7b85c9abf1245b542ce6b3dc1674c2feb1d3
[ "MIT" ]
1
2021-04-06T08:57:32.000Z
2021-04-06T08:57:32.000Z
code/data_mining/get_by_elo_players.py
mrcolorblind/chess_covid
419e7b85c9abf1245b542ce6b3dc1674c2feb1d3
[ "MIT" ]
null
null
null
code/data_mining/get_by_elo_players.py
mrcolorblind/chess_covid
419e7b85c9abf1245b542ce6b3dc1674c2feb1d3
[ "MIT" ]
null
null
null
#!/bin/python3 # abre o arquivo players_file = open('br_players.csv','r') players = players_file.readlines() players = [x.strip('\n') for x in players] # obtido por get_max_blitz_rating.py; é o maior rating de blitz atingido max_blitz = 3051 # tamanho da população que quero pegar tam = 15000 # quantidade de pessoas ...
24.14
87
0.676056
173
1,207
4.595376
0.543353
0.062893
0.064151
0.05283
0.128302
0.128302
0.128302
0.128302
0.128302
0
0
0.022605
0.230323
1,207
49
88
24.632653
0.833154
0.350456
0
0.148148
0
0
0.050453
0
0
0
0
0.020408
0
1
0
false
0.037037
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9057f6cd037735533d9313507de28b1279feb71a
1,718
py
Python
src/sterch/scrapingtools/decaptcher.py
maxpmaxp/sterch.scrapingtools
7bae86611e07d969622a84e093f94d939c7279c0
[ "ZPL-2.1" ]
null
null
null
src/sterch/scrapingtools/decaptcher.py
maxpmaxp/sterch.scrapingtools
7bae86611e07d969622a84e093f94d939c7279c0
[ "ZPL-2.1" ]
1
2017-12-14T06:43:37.000Z
2017-12-14T06:43:37.000Z
src/sterch/scrapingtools/decaptcher.py
maxpmaxp/sterch.scrapingtools
7bae86611e07d969622a84e093f94d939c7279c0
[ "ZPL-2.1" ]
null
null
null
### -*- coding: utf-8 -*- ############################################# # Developed by Maksym Polshcha (maxp@sterch.net) # All right reserved, 2012 ####################################################################### """ Captcha resolving tools with the help of http://decapthcer.com/ """ __author__ = "Polsc...
44.051282
150
0.566356
194
1,718
4.907216
0.556701
0.02521
0.027311
0.088235
0
0
0
0
0
0
0
0.008955
0.220023
1,718
39
151
44.051282
0.701493
0.155995
0
0
0
0
0.195238
0
0
0
0
0
0
1
0.04
false
0.08
0.04
0
0.16
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
905973c1763d227bde938bcb17233d9d7263b028
1,138
py
Python
expmanager/utils/experiment_duplicator.py
KanHatakeyama/FlowMaterGUI
d2bfdfcffec66d6b59426f65101b7e6393e298fb
[ "MIT" ]
1
2022-02-17T11:08:04.000Z
2022-02-17T11:08:04.000Z
expmanager/utils/experiment_duplicator.py
KanHatakeyama/FlowMaterGUI
d2bfdfcffec66d6b59426f65101b7e6393e298fb
[ "MIT" ]
null
null
null
expmanager/utils/experiment_duplicator.py
KanHatakeyama/FlowMaterGUI
d2bfdfcffec66d6b59426f65101b7e6393e298fb
[ "MIT" ]
null
null
null
from expmanager.models import Step,Tag from expmanager.models import Experiment from expmanager.models import Property # nested data cannot be duplicated properly by normal save as functions def duplicate_experiment(original_experiment_id): experiment = Experiment.objects.get(pk=original_experiment_id) ...
29.947368
74
0.679262
137
1,138
5.430657
0.306569
0.080645
0.080645
0.104839
0.075269
0
0
0
0
0
0
0
0.259227
1,138
37
75
30.756757
0.882562
0.122144
0
0
0
0
0
0
0
0
0
0.027027
0
1
0.041667
false
0
0.125
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
905bba870d13116b883f0c178aec21558e45a27a
1,480
py
Python
preprocessor.py
petnez9/daylight_estimation_tool
f9e7c7c194083c7a20dbcb0a69dd152f82148cd9
[ "MIT" ]
2
2021-09-08T11:20:10.000Z
2021-11-26T13:32:42.000Z
preprocessor.py
petnez9/daylight_estimation_tool
f9e7c7c194083c7a20dbcb0a69dd152f82148cd9
[ "MIT" ]
null
null
null
preprocessor.py
petnez9/daylight_estimation_tool
f9e7c7c194083c7a20dbcb0a69dd152f82148cd9
[ "MIT" ]
null
null
null
#!/usr/bin/python ''' *********************************************************************************************************************** * Functions * * Created by P.Nezval ...
46.25
119
0.290541
103
1,480
4.009709
0.640777
0.009685
0
0
0
0
0
0
0
0
0
0.015945
0.406757
1,480
31
120
47.741935
0.454442
0.489865
0
0.142857
0
0.071429
0.516693
0.101749
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
905f2ba385fc59211bbc098d02472bc1018252f4
3,413
py
Python
azure/storage/table/_error.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
1
2022-01-25T22:52:58.000Z
2022-01-25T22:52:58.000Z
azure/storage/table/_error.py
EnjoyLifeFund/Debian_py36_packages
1985d4c73fabd5f08f54b922e73a9306e09c77a5
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
azure/storage/table/_error.py
EnjoyLifeFund/Debian_py36_packages
1985d4c73fabd5f08f54b922e73a9306e09c77a5
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
#------------------------------------------------------------------------- # Copyright (c) Microsoft. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apa...
46.121622
108
0.720188
469
3,413
4.98081
0.377399
0.025685
0.015411
0.028253
0.085616
0.027397
0.027397
0.027397
0
0
0
0.00949
0.166423
3,413
73
109
46.753425
0.811248
0.300615
0
0
0
0
0.356298
0
0
0
0
0
0
0
null
null
0
0.022727
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
9061ab76bab61532705358240ab2c14b04905c72
838
py
Python
textattack/goal_function_results/text_to_text_goal_function_result.py
fighting41love/TextAttack
24e48f0022dc3a7bdcd5cbb3430f1c72cfcb522d
[ "MIT" ]
2
2020-07-08T08:55:37.000Z
2020-09-03T00:57:38.000Z
textattack/goal_function_results/text_to_text_goal_function_result.py
SatoshiRobatoFujimoto/TextAttack
a809a9bddddff9f41750949e26edde26c8af6cfa
[ "MIT" ]
null
null
null
textattack/goal_function_results/text_to_text_goal_function_result.py
SatoshiRobatoFujimoto/TextAttack
a809a9bddddff9f41750949e26edde26c8af6cfa
[ "MIT" ]
null
null
null
from .goal_function_result import GoalFunctionResult class TextToTextGoalFunctionResult(GoalFunctionResult): """ Represents the result of a text-to-text goal function. """ def get_text_color_input(self): """ A string representing the color this result's changed portion should b...
33.52
77
0.642005
97
838
5.42268
0.43299
0.074144
0.062738
0.057034
0.307985
0.307985
0.307985
0.307985
0.307985
0.307985
0
0
0.288783
838
25
78
33.52
0.88255
0.439141
0
0
0
0
0.018717
0
0
0
0
0
0
1
0.375
false
0
0.125
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
90622623d8a82f5704e247c5c7538dda52e7c9cc
2,444
py
Python
docs/source/conf.py
akashdhruv/FlashKit
dac777c52795098b75ab4875440d232efa1b0973
[ "MIT" ]
2
2022-02-01T02:41:24.000Z
2022-02-11T20:58:03.000Z
docs/source/conf.py
akashdhruv/FlashKit
dac777c52795098b75ab4875440d232efa1b0973
[ "MIT" ]
39
2021-06-07T04:08:54.000Z
2022-01-14T14:50:52.000Z
docs/source/conf.py
akashdhruv/FlashKit
dac777c52795098b75ab4875440d232efa1b0973
[ "MIT" ]
1
2022-02-11T20:58:20.000Z
2022-02-11T20:58:20.000Z
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
29.445783
79
0.644026
279
2,444
5.415771
0.551971
0.035738
0.017207
0
0
0
0
0
0
0
0
0.002885
0.148936
2,444
82
80
29.804878
0.723558
0.511457
0
0
0
0
0.412116
0.15273
0
0
0
0.012195
0
1
0
false
0
0.102564
0
0.102564
0
0
0
0
null
0
0
0
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
9062cfde31caa370efb1365340b8477ae47b39f4
2,391
py
Python
creme/feature_selection/k_best.py
IFV/creme
a7393b534489422ba156f2d2e83fb777afbd2efb
[ "BSD-3-Clause" ]
null
null
null
creme/feature_selection/k_best.py
IFV/creme
a7393b534489422ba156f2d2e83fb777afbd2efb
[ "BSD-3-Clause" ]
1
2022-02-10T06:24:42.000Z
2022-02-10T06:24:42.000Z
creme/feature_selection/k_best.py
igorol/creme
60977c4accfdca08cfd76a162095ff738ef87281
[ "BSD-3-Clause" ]
1
2021-04-16T08:27:14.000Z
2021-04-16T08:27:14.000Z
import collections import copy import functools from .. import base class SelectKBest(base.Transformer): """Removes all but the $k$ highest scoring features. Parameters: similarity (stats.Bivariate) k (int) Attributes: similarities (dict): The similarity instances used for each ...
26.566667
97
0.492263
243
2,391
4.761317
0.436214
0.051858
0.038894
0.013829
0.024201
0.024201
0
0
0
0
0
0.07367
0.386867
2,391
89
98
26.865169
0.715553
0.570473
0
0
0
0
0
0
0
0
0
0
0
1
0.16
false
0
0.16
0.04
0.52
0
0
0
0
null
0
0
0
0
0
0
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
9068af6d16fc5ea1ef8cd23a2a921df04d1e1e27
1,935
py
Python
flask_easywebdav.py
ghachey/flask-easywebdav
e252b6ea33ccd625932553fe2432331251b2634a
[ "MIT" ]
1
2016-02-04T18:19:08.000Z
2016-02-04T18:19:08.000Z
flask_easywebdav.py
ghachey/flask-easywebdav
e252b6ea33ccd625932553fe2432331251b2634a
[ "MIT" ]
null
null
null
flask_easywebdav.py
ghachey/flask-easywebdav
e252b6ea33ccd625932553fe2432331251b2634a
[ "MIT" ]
null
null
null
import easywebdav from flask import current_app # 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_stack as stack except ImportError: from flas...
33.947368
73
0.593798
225
1,935
4.92
0.36
0.072267
0.076784
0.0271
0
0
0
0
0
0
0
0.001538
0.328165
1,935
56
74
34.553571
0.85
0.173643
0
0.051282
0
0
0.099309
0
0
0
0
0
0
1
0.128205
false
0.051282
0.128205
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
1
0
0
0
0
0
1
906d227039ff8a4bb2499e75bf6c8f0da443c89e
5,172
py
Python
tests/model/test_product.py
taiga4112/pDESy
ff2a77a3f7ad1714960dfabfcb977279a0b53d09
[ "MIT" ]
null
null
null
tests/model/test_product.py
taiga4112/pDESy
ff2a77a3f7ad1714960dfabfcb977279a0b53d09
[ "MIT" ]
2
2020-09-20T10:23:28.000Z
2020-09-23T02:34:13.000Z
tests/model/test_product.py
taiga4112/pDESy
ff2a77a3f7ad1714960dfabfcb977279a0b53d09
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from pDESy.model.component import Component from pDESy.model.product import Product from pDESy.model.task import Task import datetime import os def test_init(): c1 = Component("c1") product = Product([c1]) assert product.component_list == [c1] def test_init...
29.05618
83
0.633024
719
5,172
4.332406
0.132128
0.069342
0.03756
0.028892
0.738684
0.69695
0.644302
0.644302
0.626966
0.614446
0
0.101736
0.209397
5,172
177
84
29.220339
0.660064
0.103635
0
0.666667
0
0
0.065627
0
0
0
0
0.00565
0.060606
1
0.075758
false
0
0.037879
0
0.113636
0.007576
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
907256a5992e54985e881eed4b6d49e0e87f04d7
779
py
Python
Ex39.py
ErickTeixeira777/Python-3
5bd886d13e8118bba556d499ecd6841e9cdb5e9f
[ "MIT" ]
null
null
null
Ex39.py
ErickTeixeira777/Python-3
5bd886d13e8118bba556d499ecd6841e9cdb5e9f
[ "MIT" ]
null
null
null
Ex39.py
ErickTeixeira777/Python-3
5bd886d13e8118bba556d499ecd6841e9cdb5e9f
[ "MIT" ]
null
null
null
'''Faça umprograma que leia o ano de nascimento de um jovem e informe, de acordo com sua idade: Se ele ainda vai se alistar ao serviço militar. Se é a hora de se alistar. Se já passou do alistamento. Seu programa também deverá mostrar o tempo que falta ou que passou do prazo. ''' from datetime import date atual = dat...
38.95
95
0.691913
124
779
4.346774
0.524194
0.051948
0.055659
0.06679
0.092764
0
0
0
0
0
0
0.016181
0.206675
779
20
96
38.95
0.855987
0.353017
0
0
0
0
0.383534
0
0
0
0
0
0
1
0
false
0.076923
0.076923
0
0.076923
0.307692
0
0
0
null
0
0
0
0
0
0
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
907571c7628c8211ec7a5f1fff948ed85c1307d1
1,665
py
Python
python-implementation/maze/mazegame_factory_methods.py
MincheolC/design-patterns
136aa011f44a604f740fd036c5082119c272d7f7
[ "MIT" ]
null
null
null
python-implementation/maze/mazegame_factory_methods.py
MincheolC/design-patterns
136aa011f44a604f740fd036c5082119c272d7f7
[ "MIT" ]
null
null
null
python-implementation/maze/mazegame_factory_methods.py
MincheolC/design-patterns
136aa011f44a604f740fd036c5082119c272d7f7
[ "MIT" ]
2
2019-02-16T15:11:14.000Z
2019-02-17T02:51:34.000Z
from direction import Direction from door import Door from maze import Maze from room import Room, RoomWithABomb from wall import Wall, BombedWall class MazeGameFactory: @classmethod def make_maze(cls): return Maze() @classmethod def make_room(cls, room_number): return Room(room_numbe...
25.615385
65
0.669069
226
1,665
4.672566
0.252212
0.066288
0.121212
0.068182
0.350379
0.350379
0.291667
0.077652
0
0
0
0.015699
0.234835
1,665
64
66
26.015625
0.813187
0
0
0.217391
0
0
0.005155
0
0
0
0
0
0
1
0.152174
false
0
0.108696
0.130435
0.456522
0
0
0
0
null
0
0
0
0
0
0
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
90764c5a897bdf9d77cdb34be07179348f74a9a8
1,375
py
Python
Exercises/PreprocessingTest.py
JeysonAc/machinelearning-az
4f05c2f236a22797de6a0104a2891ed316f17269
[ "MIT" ]
null
null
null
Exercises/PreprocessingTest.py
JeysonAc/machinelearning-az
4f05c2f236a22797de6a0104a2891ed316f17269
[ "MIT" ]
null
null
null
Exercises/PreprocessingTest.py
JeysonAc/machinelearning-az
4f05c2f236a22797de6a0104a2891ed316f17269
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Feb 12 21:24:14 2020 @author: Jeyson """ #1. Importar librerias import numpy as np import pandas as pd import matplotlib.pyplot as plt #2. Cargar el Dataset datasetTest = pd.read_csv("..\datasets\Part 1 - Data Preprocessing\Section 2 -------------------- Part 1 - Data Prep...
28.061224
157
0.749091
199
1,375
5.030151
0.437186
0.065934
0.06993
0.11988
0.095904
0.05994
0
0
0
0
0
0.051948
0.104
1,375
48
158
28.645833
0.760552
0.176727
0
0
0
0.043478
0.121185
0.044883
0
0
0
0
0
1
0
false
0
0.347826
0
0.347826
0
0
0
0
null
0
0
0
0
0
0
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
90785c2a513f63f3a438012a56a3dfb5ddf7f69d
574
py
Python
P10-Perfect Number/Perfect Number.py
necrospiritus/Python-Working-Examples
075d410673e470fc7c4ffc262e92109a3032132f
[ "MIT" ]
null
null
null
P10-Perfect Number/Perfect Number.py
necrospiritus/Python-Working-Examples
075d410673e470fc7c4ffc262e92109a3032132f
[ "MIT" ]
null
null
null
P10-Perfect Number/Perfect Number.py
necrospiritus/Python-Working-Examples
075d410673e470fc7c4ffc262e92109a3032132f
[ "MIT" ]
null
null
null
#Perfect Number - Burak Karabey def perfect_number(input_number): number = 1 perfect_number = [] while number <= input_number: divider = [s for s in range(1, number) if number % s == 0] i = 0 total = 0 while i < len(divider): total = total + divider[i] ...
27.333333
66
0.590592
74
574
4.486486
0.378378
0.23494
0.108434
0
0
0
0
0
0
0
0
0.017632
0.308362
574
20
67
28.7
0.81864
0.060976
0
0
0
0
0.121043
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.125
0.0625
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
908d06eba760bf0684490998b23f8f1f677ab687
359
py
Python
core/migrations/0032_auto_20181107_0225.py
Cell5/nfckey
15a052e4877ad8eb4d71de3c92b2285e3e7d9d57
[ "BSD-3-Clause" ]
null
null
null
core/migrations/0032_auto_20181107_0225.py
Cell5/nfckey
15a052e4877ad8eb4d71de3c92b2285e3e7d9d57
[ "BSD-3-Clause" ]
null
null
null
core/migrations/0032_auto_20181107_0225.py
Cell5/nfckey
15a052e4877ad8eb4d71de3c92b2285e3e7d9d57
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.1.3 on 2018-11-06 13:25 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0031_auto_20181107_0223'), ] operations = [ migrations.RenameField( model_name='employee', old_name='user', ...
18.894737
47
0.579387
39
359
5.179487
0.846154
0
0
0
0
0
0
0
0
0
0
0.124498
0.306407
359
18
48
19.944444
0.686747
0.125348
0
0
1
0
0.141026
0.073718
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
908da62a847ca3e5eb893e9b86e21cd895a54ad2
165
py
Python
IPProxyPool/util/logger.py
zyhibook/igotolibrary
b35ff3b9b3c5c938dfa0a1b62f6d94faef47925a
[ "MIT" ]
171
2018-08-01T15:05:06.000Z
2022-03-28T04:14:54.000Z
IPProxyPool/util/logger.py
zyhibook/igotolibrary
b35ff3b9b3c5c938dfa0a1b62f6d94faef47925a
[ "MIT" ]
19
2018-09-11T13:29:57.000Z
2021-12-13T20:31:38.000Z
IPProxyPool/util/logger.py
zyhibook/igotolibrary
b35ff3b9b3c5c938dfa0a1b62f6d94faef47925a
[ "MIT" ]
55
2018-08-23T01:11:37.000Z
2022-03-26T11:31:38.000Z
# coding:utf-8 import logging __author__ = 'qiye' logger = logging.getLogger() def logger_proxy(proxy): logger.setLevel(logging.INFO) logger.info(proxy)
13.75
33
0.721212
21
165
5.428571
0.619048
0
0
0
0
0
0
0
0
0
0
0.007194
0.157576
165
11
34
15
0.81295
0.072727
0
0
0
0
0.02649
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
90933913f419e5bc31af6040e42f7c3eb1094c83
7,864
py
Python
ryu/services/protocols/vrrp/dumper.py
MrCocoaCat/ryu
9e9571991a73380099b7ba7c6f37e0e587080a6a
[ "Apache-2.0" ]
null
null
null
ryu/services/protocols/vrrp/dumper.py
MrCocoaCat/ryu
9e9571991a73380099b7ba7c6f37e0e587080a6a
[ "Apache-2.0" ]
null
null
null
ryu/services/protocols/vrrp/dumper.py
MrCocoaCat/ryu
9e9571991a73380099b7ba7c6f37e0e587080a6a
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2013 Nippon Telegraph and Telephone Corporation. # Copyright (C) 2013 Isaku Yamahata <yamahata at private email ne jp> # # 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 # ...
50.089172
80
0.569303
937
7,864
4.729989
0.245464
0.074458
0.119134
0.102888
0.607175
0.564756
0.53407
0.51602
0.490072
0.480144
0
0.035354
0.370549
7,864
156
81
50.410256
0.86
0.620168
0
0.222222
0
0
0.035094
0
0
0
0
0
0
1
0.074074
false
0.074074
0.111111
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
0
1
0
0
0
0
0
1
90a4ad5d3c0215a0cbaa89232aa4c46992a5fbf8
307
py
Python
flow.py
dhilipsiva/test
58b87e072eda51c0b744106926d25f1ec8b6aea4
[ "MIT" ]
1
2017-03-12T22:54:25.000Z
2017-03-12T22:54:25.000Z
flow.py
dhilipsiva/test
58b87e072eda51c0b744106926d25f1ec8b6aea4
[ "MIT" ]
40
2015-04-08T06:00:07.000Z
2020-05-11T05:45:10.000Z
flow.py
dhilipsiva/test
58b87e072eda51c0b744106926d25f1ec8b6aea4
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- # # vim: fenc=utf-8 # vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 # # """ File name: flow.py Author: dhilipsiva <dhilipsiva@gmail.com> Date created: 2016-05-12 """ def request(ctx, flow): linkedin print(ctx, flow) flake8 error foosh
14.619048
53
0.648208
44
307
4.522727
0.795455
0.040201
0.070352
0
0
0
0
0
0
0
0
0.056452
0.192182
307
20
54
15.35
0.745968
0.361564
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
90a6c6deba2b98668281ec2799527095ddb58346
245
py
Python
backend/api/urls.py
mezgoodle/meznotes
b867d58e21fa0058d8910a3f17c428911bdf77e3
[ "MIT" ]
2
2022-03-05T14:44:05.000Z
2022-03-19T07:22:30.000Z
backend/api/urls.py
mezgoodle/meznotes
b867d58e21fa0058d8910a3f17c428911bdf77e3
[ "MIT" ]
null
null
null
backend/api/urls.py
mezgoodle/meznotes
b867d58e21fa0058d8910a3f17c428911bdf77e3
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.get_routes, name='routes'), path('notes/', views.NoteList.as_view(), name='notes'), path('notes/<str:pk>/', views.NoteDetail.as_view(), name='note'), ]
27.222222
69
0.657143
33
245
4.787879
0.545455
0.113924
0.126582
0
0
0
0
0
0
0
0
0
0.138776
245
8
70
30.625
0.748815
0
0
0
0
0
0.146939
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
90b3e1936df99284bee7cee89a7cd52a4fd05944
3,799
py
Python
ax/modelbridge/transforms/task_encode.py
mpolson64/Ax-1
cf9e12cc1253efe0fc893f2620e99337e0927a26
[ "MIT" ]
null
null
null
ax/modelbridge/transforms/task_encode.py
mpolson64/Ax-1
cf9e12cc1253efe0fc893f2620e99337e0927a26
[ "MIT" ]
null
null
null
ax/modelbridge/transforms/task_encode.py
mpolson64/Ax-1
cf9e12cc1253efe0fc893f2620e99337e0927a26
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from typing import TYPE_CHECKING, Dict, List, Optional from ax.core.observation import ObservationData, ObservationF...
42.211111
86
0.630429
407
3,799
5.732187
0.348894
0.021432
0.045006
0.022289
0.045435
0.024861
0.024861
0
0
0
0
0.003751
0.298236
3,799
89
87
42.685393
0.871343
0.199789
0
0.0625
0
0
0.05135
0.011671
0
0
0
0.011236
0
1
0.03125
false
0
0.125
0
0.1875
0
0
0
0
null
0
0
0
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
90b781b5361193bdc9b5581c833002866cde1db5
1,952
py
Python
projectq/meta/_util_test.py
ssc1729/ProjectQ
78afc11353387ff9657bf65ac9dfdb834c966792
[ "Apache-2.0" ]
795
2016-12-27T17:29:30.000Z
2022-02-21T13:58:18.000Z
projectq/meta/_util_test.py
ssc1729/ProjectQ
78afc11353387ff9657bf65ac9dfdb834c966792
[ "Apache-2.0" ]
264
2016-12-29T01:13:15.000Z
2022-03-29T12:14:56.000Z
projectq/meta/_util_test.py
ssc1729/ProjectQ
78afc11353387ff9657bf65ac9dfdb834c966792
[ "Apache-2.0" ]
309
2016-12-28T20:26:15.000Z
2022-03-29T15:38:34.000Z
# -*- coding: utf-8 -*- # Copyright 2017 ProjectQ-Framework (www.projectq.ch) # # 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 # # ...
28.705882
76
0.711066
298
1,952
4.516779
0.342282
0.106984
0.080238
0.093611
0.395245
0.317236
0.317236
0.317236
0.317236
0.317236
0
0.029393
0.215676
1,952
67
77
29.134328
0.849771
0.315061
0
0.475
0
0
0
0
0
0
0
0
0.525
1
0.05
false
0
0.1
0
0.15
0
0
0
0
null
0
0
0
0
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
90b9acb03f54b1fd6f484494c45b9220b47a0654
374
py
Python
manage.py
ggjjl1/ggjjl1
8f9484b8569ba69aaf5fdda92c9857537b404fdf
[ "MIT" ]
null
null
null
manage.py
ggjjl1/ggjjl1
8f9484b8569ba69aaf5fdda92c9857537b404fdf
[ "MIT" ]
null
null
null
manage.py
ggjjl1/ggjjl1
8f9484b8569ba69aaf5fdda92c9857537b404fdf
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from flask import Flask from flask_script import Manager from flask_migrate import Migrate, MigrateCommand from ggjjl1 import create_app from ggjjl1.database import db app = create_app() migrate = Migrate(app, db) manager = Manager(app) manager.add_command('db', MigrateC...
20.777778
49
0.751337
52
374
5.153846
0.480769
0.100746
0
0
0
0
0
0
0
0
0
0.009346
0.141711
374
17
50
22
0.825545
0.112299
0
0
0
0
0.030303
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
90c5489ada7b35ac0221eac3838344e1c2a77c3e
1,914
py
Python
env/lib/python3.8/site-packages/biorun/reclib.py
Nata8/Bioformatics-toolbox
ae68783a509412043eb0ae79c98c71544ed32ea6
[ "Apache-2.0" ]
null
null
null
env/lib/python3.8/site-packages/biorun/reclib.py
Nata8/Bioformatics-toolbox
ae68783a509412043eb0ae79c98c71544ed32ea6
[ "Apache-2.0" ]
null
null
null
env/lib/python3.8/site-packages/biorun/reclib.py
Nata8/Bioformatics-toolbox
ae68783a509412043eb0ae79c98c71544ed32ea6
[ "Apache-2.0" ]
null
null
null
""" Utility function for transforming BioPython SeqRecords """ import sys from biorun import utils logger = utils.logger try: from Bio import SeqIO from Bio.Seq import Seq from Bio.SeqRecord import SeqRecord except ImportError as exc: logger.error(f"{__name__}", stop=False) logger.error(f"{exc}",...
21.032967
69
0.638454
270
1,914
4.462963
0.3
0.094606
0.082988
0.124481
0.230705
0.141079
0.081328
0.081328
0.081328
0.081328
0
0.006298
0.253396
1,914
90
70
21.266667
0.836949
0.223615
0
0.078947
0
0
0.10307
0
0
0
0
0
0
1
0.184211
false
0
0.157895
0
0.552632
0
0
0
0
null
0
0
0
0
0
0
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
90c6f08a49cdc6f3eaef0017c1f7f0fb19985ca8
7,145
py
Python
pysnmp/SONUS-IP-ADDRESS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/SONUS-IP-ADDRESS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/SONUS-IP-ADDRESS-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 SONUS-IP-ADDRESS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SONUS-IP-ADDRESS-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:01:51 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (defau...
125.350877
970
0.774388
767
7,145
7.211213
0.182529
0.007955
0.079732
0.014464
0.408968
0.269572
0.195625
0.159103
0.159103
0.159103
0
0.069986
0.078097
7,145
56
971
127.589286
0.769698
0.046746
0
0
0
0
0.175096
0.023964
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
90ca3ca9759f677d0200185dff53c971d155691e
6,883
py
Python
japandas/tseries/tests/test_holiday.py
lupinthe14th/japandas
45b88baec09fdda22e75916b0f793a27b14d7a32
[ "BSD-3-Clause" ]
null
null
null
japandas/tseries/tests/test_holiday.py
lupinthe14th/japandas
45b88baec09fdda22e75916b0f793a27b14d7a32
[ "BSD-3-Clause" ]
null
null
null
japandas/tseries/tests/test_holiday.py
lupinthe14th/japandas
45b88baec09fdda22e75916b0f793a27b14d7a32
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 from __future__ import unicode_literals import datetime import unittest import pandas as pd import japandas as jpd class TestCalendar(unittest.TestCase): def setUp(self): self.expected = [datetime.datetime(2014, 1, 1, 0, 0), datetime.date...
40.727811
77
0.588842
800
6,883
5.00125
0.1675
0.203949
0.169958
0.071982
0.729318
0.551612
0.419645
0.366158
0.27993
0.231442
0
0.092121
0.291879
6,883
168
78
40.970238
0.728765
0.03051
0
0.260504
0
0
0.01366
0.003452
0
0
0
0
0.352941
1
0.084034
false
0
0.05042
0
0.142857
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
90d86f46a5041cc42fbaac89e9fc0a8dc492d5c6
3,978
py
Python
liste_exo.py
LaurentClaessens/exocorr
78a4c80b3c667ee496408ea9aec389ad3eaf2592
[ "CC0-1.0" ]
3
2015-10-25T18:39:26.000Z
2018-01-12T13:58:48.000Z
liste_exo.py
LaurentClaessens/exocorr
78a4c80b3c667ee496408ea9aec389ad3eaf2592
[ "CC0-1.0" ]
null
null
null
liste_exo.py
LaurentClaessens/exocorr
78a4c80b3c667ee496408ea9aec389ad3eaf2592
[ "CC0-1.0" ]
null
null
null
#! /usr/bin/python # -*- coding: utf8 -*- ########################################################################### # This is the program liste_exo.py # # 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 Softw...
32.341463
146
0.676722
632
3,978
4.221519
0.420886
0.026987
0.014993
0.021364
0.081709
0.058471
0.02099
0
0
0
0
0.025656
0.157366
3,978
122
147
32.606557
0.76969
0.288587
0
0.047619
0
0
0.189893
0.020674
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.119048
0
0
0
null
0
0
0
0
0
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
90e0086bb331281449148244aca4832011daea1d
1,726
py
Python
PythonTest/scripts/screens/new_game.py
Eshumkv/WeaponWizard
d1ad7a4ae5209f83054ede28e0787498dffa07ec
[ "MIT" ]
null
null
null
PythonTest/scripts/screens/new_game.py
Eshumkv/WeaponWizard
d1ad7a4ae5209f83054ede28e0787498dffa07ec
[ "MIT" ]
null
null
null
PythonTest/scripts/screens/new_game.py
Eshumkv/WeaponWizard
d1ad7a4ae5209f83054ede28e0787498dffa07ec
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ The new game screen """ from Microsoft.Xna.Framework import Color, Point from Microsoft.Xna.Framework.Graphics import Texture2D from WeaponWizard.Elements import Entity from WeaponWizard.Elements.Enums import Message, Side from WeaponWizard.Elements.Components import TransformComponent, Re...
37.521739
117
0.743337
196
1,726
6.484694
0.377551
0.078678
0.050354
0.039339
0.264359
0.171518
0.171518
0.113297
0.113297
0
0
0.017784
0.152955
1,726
46
118
37.521739
0.850889
0.011587
0
0
0
0
0.035757
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
90e1f3f88dc6079378ad5d9e9dfbc337fe5c84c8
1,879
py
Python
mediagoblin/routing.py
3rdwiki/mediagoblin
a817fb76b1a9f6412cd36ddbef8a9f7a35cb6615
[ "CC0-1.0" ]
1
2017-01-15T13:07:17.000Z
2017-01-15T13:07:17.000Z
mediagoblin/routing.py
3rdwiki/mediagoblin
a817fb76b1a9f6412cd36ddbef8a9f7a35cb6615
[ "CC0-1.0" ]
null
null
null
mediagoblin/routing.py
3rdwiki/mediagoblin
a817fb76b1a9f6412cd36ddbef8a9f7a35cb6615
[ "CC0-1.0" ]
null
null
null
# GNU MediaGoblin -- federated, autonomous media hosting # Copyright (C) 2011, 2012 MediaGoblin contributors. See AUTHORS. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either versio...
37.58
77
0.763704
257
1,879
5.486381
0.447471
0.082979
0.089362
0.040426
0.070922
0.070922
0.048227
0
0
0
0
0.005682
0.156998
1,879
49
78
38.346939
0.88447
0.43108
0
0
0
0
0.079848
0.025665
0
0
0
0
0
1
0.04
false
0
0.32
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
90e3c716d39daf4bdd99c7c066c4f979437efbf4
3,574
py
Python
IGitt/Utils/__init__.py
GitMateIO/IGitt
ddb9164fe9efbb157abb66e05a38527884015866
[ "MIT" ]
6
2017-11-18T03:00:38.000Z
2021-08-04T05:27:05.000Z
IGitt/Utils/__init__.py
GitMateIO/IGitt
ddb9164fe9efbb157abb66e05a38527884015866
[ "MIT" ]
null
null
null
IGitt/Utils/__init__.py
GitMateIO/IGitt
ddb9164fe9efbb157abb66e05a38527884015866
[ "MIT" ]
2
2018-03-16T16:30:03.000Z
2018-03-16T17:36:51.000Z
""" Provides useful stuff, generally! """ from typing import Optional class PossiblyIncompleteDict: """ A dict kind of thing (only supporting item getting) that, if an item isn't available, gets fresh data from a refresh function. """ def __init__(self, data: dict, refresh) -> None: self....
25.71223
79
0.582261
413
3,574
4.861985
0.324455
0.063745
0.021912
0.026892
0.121514
0.079681
0.079681
0.079681
0.079681
0.079681
0
0.00124
0.323167
3,574
138
80
25.898551
0.828855
0.273083
0
0.169492
0
0
0.004421
0
0
0
0
0
0
1
0.237288
false
0
0.016949
0
0.474576
0
0
0
0
null
0
0
0
0
0
0
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
90e888f1e799b5735db21fc5a740e132071ec2e9
715
py
Python
NMT_char/highway.py
wxzcyy/NMT
7562379d47a552a1221d623da6cd635f8e9d9254
[ "BSD-3-Clause" ]
12
2019-05-21T04:26:40.000Z
2021-07-07T12:53:06.000Z
NMT_char/highway.py
wxzcyy/NMT
7562379d47a552a1221d623da6cd635f8e9d9254
[ "BSD-3-Clause" ]
null
null
null
NMT_char/highway.py
wxzcyy/NMT
7562379d47a552a1221d623da6cd635f8e9d9254
[ "BSD-3-Clause" ]
3
2020-07-28T21:15:01.000Z
2022-03-18T03:26:18.000Z
#!/usr/bin/python3 # -*- coding: utf-8 -*- import torch import torch.nn as nn import torch.nn.functional as F class Highway(nn.Module): def __init__(self, features): super(Highway, self).__init__() self.W_proj = nn.Linear(features, features) self.W_gate = nn.Linear(features, f...
25.535714
60
0.560839
98
715
3.836735
0.387755
0.053191
0.069149
0.12766
0
0
0
0
0
0
0
0.006085
0.31049
715
27
61
26.481481
0.756592
0.170629
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.230769
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
0
0
1
0
0
1
90f50e1411da7d618e3c5ec957b3527c76d37691
1,673
py
Python
projects/schemas/project.py
dnlcesilva/projects
8e367d502aa0ffe3ed29f767d6ab039e6bee282f
[ "Apache-2.0" ]
6
2019-09-16T13:07:20.000Z
2021-06-02T19:02:05.000Z
projects/schemas/project.py
ndarvishev/projects
6a9855c5f8af8fad2799ef7a203e126b834c5056
[ "Apache-2.0" ]
325
2019-09-20T20:06:00.000Z
2022-03-30T15:05:49.000Z
projects/schemas/project.py
ndarvishev/projects
6a9855c5f8af8fad2799ef7a203e126b834c5056
[ "Apache-2.0" ]
17
2019-08-02T16:55:47.000Z
2021-06-26T19:13:35.000Z
# -*- coding: utf-8 -*- """Project schema.""" from datetime import datetime from typing import List, Optional from pydantic import BaseModel from projects.schemas.deployment import Deployment from projects.schemas.experiment import Experiment from projects.utils import to_camel_case class ProjectBase(BaseModel): ...
24.246377
67
0.677227
183
1,673
6.021858
0.31694
0.039927
0.059891
0.068058
0.127949
0
0
0
0
0
0
0.000795
0.248057
1,673
68
68
24.602941
0.875199
0.022714
0
0.137255
0
0
0
0
0
0
0
0
0
1
0.039216
false
0
0.117647
0.039216
0.627451
0
0
0
0
null
0
0
0
0
0
0
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
90f6456a909e1d7e61227e7e3ca18a8cb07abcf6
21,174
py
Python
grafeas/models/v1beta1_note.py
hanyuwang1993/client-python
7eadfcc01047bc92fe1ff71faed1173d370b8954
[ "Apache-2.0" ]
null
null
null
grafeas/models/v1beta1_note.py
hanyuwang1993/client-python
7eadfcc01047bc92fe1ff71faed1173d370b8954
[ "Apache-2.0" ]
null
null
null
grafeas/models/v1beta1_note.py
hanyuwang1993/client-python
7eadfcc01047bc92fe1ff71faed1173d370b8954
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ grafeas.proto No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1beta1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import...
31.230088
414
0.620714
2,439
21,174
5.243542
0.083641
0.067558
0.111658
0.103448
0.556025
0.459457
0.4256
0.339511
0.223473
0.168504
0
0.035046
0.297913
21,174
677
415
31.276219
0.825239
0.43577
0
0.083942
1
0
0.097393
0.00909
0
0
0
0
0
1
0.175182
false
0
0.010949
0
0.29562
0.007299
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
90fc0ce62a68725f6af2ba93dd27705fc47c0428
3,833
py
Python
parser/team15/TytusDB_G15/report_tc.py
susanliss/tytus
a613a2352cf4a1d0e90ce27bb346ab60ed8039cc
[ "MIT" ]
1
2021-01-09T05:32:35.000Z
2021-01-09T05:32:35.000Z
parser/team15/TytusDB_G15/report_tc.py
XiomRB/tytus
0873e4bdce5c110bee6ef2aa98240be6a93ae024
[ "MIT" ]
null
null
null
parser/team15/TytusDB_G15/report_tc.py
XiomRB/tytus
0873e4bdce5c110bee6ef2aa98240be6a93ae024
[ "MIT" ]
null
null
null
class TipeChecker: def __init__(self): ''' Reporte Type Checker''' def crearReporte(self,tc_global): f = open("reportes/tc.html", "w") f.write("<!DOCTYPE html>") f.write("<html lang=\"en\" class=\"no-js\">") f.write("") f.write("<head>") f.write(" <me...
57.208955
150
0.435951
415
3,833
3.99759
0.262651
0.202532
0.033755
0.054852
0.449668
0.268234
0.268234
0.222423
0.222423
0.222423
0
0.004806
0.348552
3,833
67
151
57.208955
0.659592
0.005218
0
0.09375
0
0
0.386656
0
0
0
0
0
0
1
0.03125
false
0
0
0
0.046875
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
90fe539fa4352dbabb8ebd8ef958f5f79d888ad2
5,604
py
Python
NeteaseCloudMusicDownload/api.py
rua-aaa/awesome-python-login-model
26f842f9ebb8ef3ee199a7838ed19c87570db5dd
[ "MIT" ]
5,857
2019-08-16T07:57:39.000Z
2022-03-31T10:01:35.000Z
NeteaseCloudMusicDownload/api.py
rua-aaa/awesome-python-login-model
26f842f9ebb8ef3ee199a7838ed19c87570db5dd
[ "MIT" ]
72
2019-08-16T07:23:15.000Z
2022-03-06T23:21:22.000Z
NeteaseCloudMusicDownload/api.py
rua-aaa/awesome-python-login-model
26f842f9ebb8ef3ee199a7838ed19c87570db5dd
[ "MIT" ]
1,599
2019-08-17T08:48:53.000Z
2022-03-31T11:08:55.000Z
# -*- coding: utf-8 -*- # @Author: CriseLYJ # @Date: 2020-08-14 13:48:23 import requests import math import random from Crypto.Cipher import AES import base64 import codecs import os class decrypt_music(object): def __init__(self, d): self.d = d self.e = '010001' self.f = "00e0b509f6259...
45.193548
1,146
0.648644
577
5,604
6.15078
0.448873
0.006762
0.011834
0.00958
0.065371
0.065371
0.065371
0.065371
0.065371
0.065371
0
0.162305
0.222698
5,604
123
1,147
45.560976
0.652433
0.045146
0
0.080808
0
0.030303
0.390815
0.297657
0
0
0
0
0
1
0.111111
false
0
0.070707
0
0.272727
0.080808
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2902496077c798e639c929fd17ae7eb5225b3ea6
676
py
Python
multiworld/envs/mujoco/classic_mujoco/all_ant_environments/ant_multitask_base.py
szk9876/multiworld
c90149d2913280298d5c54236ac40b793b0c2632
[ "MIT" ]
null
null
null
multiworld/envs/mujoco/classic_mujoco/all_ant_environments/ant_multitask_base.py
szk9876/multiworld
c90149d2913280298d5c54236ac40b793b0c2632
[ "MIT" ]
null
null
null
multiworld/envs/mujoco/classic_mujoco/all_ant_environments/ant_multitask_base.py
szk9876/multiworld
c90149d2913280298d5c54236ac40b793b0c2632
[ "MIT" ]
null
null
null
from multiworld.envs.mujoco.classic_mujoco.all_ant_environments.ant import AntEnv class MultitaskAntEnv(AntEnv): def __init__(self, n_tasks=1, action_scale=1, frame_skip=5): self.quick_init(locals()) self._task = {} self.tasks = self.sample_tasks(n_tasks) self._goal = self.tasks[0][...
37.555556
95
0.689349
93
676
4.688172
0.451613
0.082569
0.055046
0.077982
0
0
0
0
0
0
0
0.007366
0.196746
676
17
96
39.764706
0.79558
0.071006
0
0
0
0
0.01278
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0.071429
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
2904d56546488fca6f4b4e1e2cd68b1ec7f1c09e
1,045
py
Python
apps/user/migrations/0006_auto_20190804_1445.py
tiger-fight-tonight/E-Server
3939bc3f8c090441cc2af17f4e6cb777642fb792
[ "Apache-2.0" ]
6
2019-07-18T16:21:17.000Z
2020-11-19T04:47:02.000Z
apps/user/migrations/0006_auto_20190804_1445.py
tiger-fight-tonight/E-Server
3939bc3f8c090441cc2af17f4e6cb777642fb792
[ "Apache-2.0" ]
null
null
null
apps/user/migrations/0006_auto_20190804_1445.py
tiger-fight-tonight/E-Server
3939bc3f8c090441cc2af17f4e6cb777642fb792
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.7 on 2019-08-04 06:45 import datetime from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [ ('user', '0005_auto_20190804_1443'), ] operations = [ migrations.AlterField( model_name='subjectinfo',...
33.709677
181
0.647847
115
1,045
5.747826
0.565217
0.090772
0.113464
0.131619
0.435703
0.435703
0.302572
0.19062
0.19062
0.19062
0
0.09441
0.229665
1,045
30
182
34.833333
0.726708
0.043062
0
0.333333
1
0
0.172345
0.09519
0
0
0
0
0
1
0
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2905777730e03539d8fa94d79a4951f43757ce9b
609
py
Python
packages/pytest-simcore/src/pytest_simcore/service_environs.py
colinRawlings/osparc-simcore
bf2f18d5bc1e574d5f4c238d08ad15156184c310
[ "MIT" ]
25
2018-04-13T12:44:12.000Z
2022-03-12T15:01:17.000Z
packages/pytest-simcore/src/pytest_simcore/service_environs.py
colinRawlings/osparc-simcore
bf2f18d5bc1e574d5f4c238d08ad15156184c310
[ "MIT" ]
2,553
2018-01-18T17:11:55.000Z
2022-03-31T16:26:40.000Z
packages/pytest-simcore/src/pytest_simcore/service_environs.py
mrnicegyu11/osparc-simcore
b6fa6c245dbfbc18cc74a387111a52de9b05d1f4
[ "MIT" ]
20
2018-01-18T19:45:33.000Z
2022-03-29T07:08:47.000Z
# pylint: disable=redefined-outer-name """these are fixtures for when running unit tests """ from pathlib import Path import pytest from dotenv import load_dotenv @pytest.fixture(scope="session") def service_env_file(project_slug_dir: Path) -> Path: env_devel_path = project_slug_dir / ".env-devel" assert...
27.681818
74
0.756979
86
609
5.127907
0.546512
0.072562
0.095238
0.113379
0
0
0
0
0
0
0
0
0.147783
609
21
75
29
0.849711
0.26601
0
0
0
0
0.055046
0
0
0
0
0
0.090909
1
0.181818
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
29082f13e42393add6c160e13647e8aa26419bba
361
py
Python
src/realsense-ransac/RansacShapeAligner/out/build/x64-Debug/GPIO.py
Lucas-SEB/Sewer-Pipes-Measurement
b449a8b5110cedcd93b9e7f3a63d044bd299ba9f
[ "Apache-2.0" ]
2
2022-02-01T12:47:25.000Z
2022-03-09T13:47:36.000Z
src/realsense-ransac/RansacShapeAligner/out/build/x64-Debug/GPIO.py
Lucas-SEB/Sewer-Pipes-Measurement
b449a8b5110cedcd93b9e7f3a63d044bd299ba9f
[ "Apache-2.0" ]
null
null
null
src/realsense-ransac/RansacShapeAligner/out/build/x64-Debug/GPIO.py
Lucas-SEB/Sewer-Pipes-Measurement
b449a8b5110cedcd93b9e7f3a63d044bd299ba9f
[ "Apache-2.0" ]
1
2021-12-16T22:27:50.000Z
2021-12-16T22:27:50.000Z
import RPi.GPIO as GPIO import time # Pin Definitons: actuator = 4 # Broadcom pin 4 (pin 7 on pi) # Pin Setup: GPIO.setmode(GPIO.BCM) # Broadcom pin-numbering scheme GPIO.cleanup() # cleanup all GPIO GPIO.setup(actuator, GPIO.OUT) # LED pin set as output # 3.3v on pin 7 pi: GPIO.output(actuator, GPIO.LOW) time.slee...
20.055556
54
0.722992
62
361
4.209677
0.467742
0.084291
0.137931
0.16092
0.191571
0
0
0
0
0
0
0.026578
0.166205
361
17
55
21.235294
0.840532
0.440443
0
0.222222
0
0
0
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
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
290ee04ed02a45409a57391c1a2aa069e51d32d6
49,035
py
Python
contrib/Onigmo/testpy.py
ikomamik/regextest
c25ca20fd4ac4c778d26d7464805004a9201f987
[ "BSD-2-Clause" ]
null
null
null
contrib/Onigmo/testpy.py
ikomamik/regextest
c25ca20fd4ac4c778d26d7464805004a9201f987
[ "BSD-2-Clause" ]
null
null
null
contrib/Onigmo/testpy.py
ikomamik/regextest
c25ca20fd4ac4c778d26d7464805004a9201f987
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals from ctypes import * import onig import sys import io import locale nerror = 0 nsucc = 0 nfail = 0 # default encoding onig_encoding = onig.ONIG_ENCODING_EUC_JP encoding = onig_encoding[0].name.decode() # special sy...
37.147727
286
0.403467
7,956
49,035
2.433635
0.117521
0.024068
0.028303
0.03073
0.483215
0.385136
0.315515
0.265572
0.215938
0.176738
0
0.09699
0.226858
49,035
1,319
287
37.175891
0.413679
0.044907
0
0.065217
0
0.013378
0.352138
0.108676
0
0
0
0
0
1
0.01087
false
0
0.005017
0.000836
0.022575
0.015886
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
291456af7c31a8784d4d7022a97edd9cf8a662d2
19,611
py
Python
src/easylstm.py
prkriley/htparser
5db635b411d27c5ee8a5c599a297b9780c77bccc
[ "Apache-2.0" ]
null
null
null
src/easylstm.py
prkriley/htparser
5db635b411d27c5ee8a5c599a297b9780c77bccc
[ "Apache-2.0" ]
null
null
null
src/easylstm.py
prkriley/htparser
5db635b411d27c5ee8a5c599a297b9780c77bccc
[ "Apache-2.0" ]
null
null
null
from dynet import * from utils import ParseForest, read_conll, write_conll import utils, time, random import numpy as np class IndexableModel(Model): def __getitem__(self, key): self.IndexableModelIndex = {} params = self.parameters_list() for p in params: self.IndexableModelInd...
49.397985
203
0.568354
2,149
19,611
5.120056
0.151698
0.044988
0.021812
0.031991
0.389439
0.342179
0.273744
0.213578
0.176134
0.111606
0
0.014151
0.315333
19,611
396
204
49.522727
0.805318
0.025037
0
0.211221
0
0
0.043587
0
0
0
0
0.002525
0.0033
0
null
null
0
0.013201
null
null
0.013201
0
0
0
null
0
0
0
0
0
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
2916219b9ba0e26521a0bcee9d7b011c6ee1571d
18,248
py
Python
src/emily_password/frontend/interaction.py
Emily3403/Emily_password
5c9fd126d3f6aa5b7b0b03fa073c21c4beeea2ed
[ "MIT" ]
null
null
null
src/emily_password/frontend/interaction.py
Emily3403/Emily_password
5c9fd126d3f6aa5b7b0b03fa073c21c4beeea2ed
[ "MIT" ]
null
null
null
src/emily_password/frontend/interaction.py
Emily3403/Emily_password
5c9fd126d3f6aa5b7b0b03fa073c21c4beeea2ed
[ "MIT" ]
null
null
null
import shutil import signal from functools import partial from types import SimpleNamespace from urwid import Columns, LineBox try: from .constants import * from .config import * from .crypt import * from .custom_widgets.CascadingBoxes import CascadingBoxes from .custom_widgets.CustomSignals impo...
36.716298
192
0.591517
2,116
18,248
4.871456
0.166352
0.026484
0.023089
0.009507
0.298506
0.222158
0.162495
0.156286
0.118258
0.07499
0
0.005114
0.292799
18,248
496
193
36.790323
0.792948
0.028989
0
0.197708
0
0.011461
0.123439
0.011417
0
0
0
0.002016
0
1
0.094556
false
0.180516
0.045845
0.002865
0.189112
0.014327
0
0
0
null
0
0
0
0
0
0
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
291c2578c22ae5c277b3b4be1ace29aa64dd5576
3,041
py
Python
projects/vehicles/worlds/sumo_interface_example_net/generate_route_file.py
yjf18340/webots
60d441c362031ab8fde120cc0cd97bdb1a31a3d5
[ "Apache-2.0" ]
1
2019-11-13T08:12:02.000Z
2019-11-13T08:12:02.000Z
projects/vehicles/worlds/sumo_interface_example_net/generate_route_file.py
chinakwy/webots
7c35a359848bafe81fe0229ac2ed587528f4c73e
[ "Apache-2.0" ]
null
null
null
projects/vehicles/worlds/sumo_interface_example_net/generate_route_file.py
chinakwy/webots
7c35a359848bafe81fe0229ac2ed587528f4c73e
[ "Apache-2.0" ]
1
2020-09-25T02:01:45.000Z
2020-09-25T02:01:45.000Z
#!/usr/bin/env python # Copyright 1996-2019 Cyberbotics Ltd. # # 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 applica...
44.720588
126
0.58928
436
3,041
4.08945
0.383028
0.055524
0.070667
0.078519
0.388671
0.284913
0.270331
0.215928
0.200785
0.169377
0
0.054031
0.245314
3,041
67
127
45.38806
0.722876
0.251562
0
0.27907
0
0.232558
0.553682
0.028838
0
0
0
0
0
1
0
false
0.046512
0.023256
0
0.023256
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
292124e8e56c6cc712731a2c72c30d75c2bcd9f2
283
py
Python
main/models.py
sirodoht/illich
e699927079a6c6a5845d45ca798a78db8f32bded
[ "MIT" ]
1
2021-07-23T01:29:22.000Z
2021-07-23T01:29:22.000Z
main/models.py
sirodoht/illich
e699927079a6c6a5845d45ca798a78db8f32bded
[ "MIT" ]
3
2021-04-08T19:11:58.000Z
2021-07-23T11:10:43.000Z
main/models.py
sirodoht/illich
e699927079a6c6a5845d45ca798a78db8f32bded
[ "MIT" ]
null
null
null
from django.db import models class Blog(models.Model): title = models.CharField(max_length=500) url = models.URLField(unique=True) description = models.TextField() created_at = models.DateTimeField(auto_now_add=True) def __str__(self): return self.url
23.583333
56
0.713781
37
283
5.243243
0.783784
0
0
0
0
0
0
0
0
0
0
0.013043
0.187279
283
11
57
25.727273
0.830435
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
29213d604ce54dd58320667ff6ae6a2204731996
2,631
py
Python
deepspeed/runtime/zero/test.py
ConnollyLeon/DeepSpeed
2d84d1c185ef0345eaf43a7240d61b33eda43497
[ "MIT" ]
6,728
2020-02-07T23:53:18.000Z
2022-03-31T20:02:53.000Z
deepspeed/runtime/zero/test.py
ConnollyLeon/DeepSpeed
2d84d1c185ef0345eaf43a7240d61b33eda43497
[ "MIT" ]
1,104
2020-02-08T00:26:15.000Z
2022-03-31T22:33:56.000Z
deepspeed/runtime/zero/test.py
ConnollyLeon/DeepSpeed
2d84d1c185ef0345eaf43a7240d61b33eda43497
[ "MIT" ]
801
2020-02-10T15:33:42.000Z
2022-03-29T16:32:33.000Z
import torch from deepspeed.runtime.zero.contiguous_memory_allocator import ContiguousMemoryAllocator def test1(): mem = ContiguousMemoryAllocator(1024, torch.half, 'cpu') mem.print_allocation(resolution=100) a1 = mem.allocate_tensor(64).mul_(0.0).add_(1.0) mem.print_allocation(resolution=100) mem...
36.041096
97
0.666287
438
2,631
3.794521
0.150685
0.145608
0.22503
0.105897
0.738869
0.631769
0.583032
0.51083
0.351384
0.265945
0
0.122885
0.146332
2,631
72
98
36.541667
0.617097
0.026606
0
0.45
0
0
0.026594
0
0
0
0
0
0.033333
1
0.033333
false
0
0.033333
0
0.066667
0.266667
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
2924bcb8b5ece12308f6702c1eab5dc11eabf082
3,849
py
Python
skorch/tests/test_scoring.py
TheAutumnOfRice/skorch
6d778fc38d797644c847a9c87dd23299eea63087
[ "BSD-3-Clause" ]
2,748
2019-03-19T11:43:01.000Z
2022-03-31T13:55:28.000Z
skorch/tests/test_scoring.py
TheAutumnOfRice/skorch
6d778fc38d797644c847a9c87dd23299eea63087
[ "BSD-3-Clause" ]
392
2019-03-19T11:17:04.000Z
2022-03-29T21:36:53.000Z
skorch/tests/test_scoring.py
TheAutumnOfRice/skorch
6d778fc38d797644c847a9c87dd23299eea63087
[ "BSD-3-Clause" ]
197
2019-03-27T09:18:25.000Z
2022-03-27T00:15:23.000Z
"""Tests for scoring.py""" import pytest import numpy as np import torch class TestLossScoring: @pytest.fixture(scope="module") def data(self, classifier_data): return classifier_data @pytest.fixture(scope="module", params=["mean", "sum"]) def reduction(self, request): return request...
32.075
80
0.655755
519
3,849
4.583815
0.152216
0.020177
0.060109
0.100883
0.539302
0.498529
0.401009
0.285834
0.225725
0.200504
0
0.003792
0.246298
3,849
119
81
32.344538
0.81627
0.005196
0
0.333333
0
0
0.025634
0
0
0
0
0
0.053763
1
0.204301
false
0
0.075269
0.064516
0.419355
0
0
0
0
null
0
0
0
0
0
0
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
29273239cdd54bdf2f9415336a3ac7d03430bf5b
792
py
Python
kivyeExemplosDocumentacao/linguagem-kivy/Desenhando-com-a-Linguagem-Kivy.py
wemerson-henrique/kivy
3cb6061a2d19b01e86c3738206f30c8a853763d4
[ "MIT" ]
null
null
null
kivyeExemplosDocumentacao/linguagem-kivy/Desenhando-com-a-Linguagem-Kivy.py
wemerson-henrique/kivy
3cb6061a2d19b01e86c3738206f30c8a853763d4
[ "MIT" ]
null
null
null
kivyeExemplosDocumentacao/linguagem-kivy/Desenhando-com-a-Linguagem-Kivy.py
wemerson-henrique/kivy
3cb6061a2d19b01e86c3738206f30c8a853763d4
[ "MIT" ]
null
null
null
import os os.environ['KIVY_GL_BACKEND'] = 'angle_sdl2' import kivy kivy.require('1.0.5') from kivy.uix.floatlayout import FloatLayout from kivy.app import App from kivy.lang import Builder from kivy.properties import ObjectProperty, StringProperty Builder.load_file('view\Controller.kv') class Controller(FloatLayout):...
28.285714
79
0.719697
110
792
5.045455
0.554545
0.057658
0.032432
0.046847
0.061261
0
0
0
0
0
0
0.006173
0.181818
792
28
80
28.285714
0.850309
0.15404
0
0
0
0
0.16311
0
0
0
0
0
0
1
0.1
false
0
0.3
0.05
0.65
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2929d9d6da9420f5a6221f0d408fd91564907b61
3,165
py
Python
server/bsdfs/tasks.py
paulu/opensurfaces
7f3e987560faa62cd37f821760683ccd1e053c7c
[ "MIT" ]
137
2015-02-19T00:00:42.000Z
2022-03-31T03:56:01.000Z
server/bsdfs/tasks.py
paulu/opensurfaces
7f3e987560faa62cd37f821760683ccd1e053c7c
[ "MIT" ]
20
2015-07-28T23:39:58.000Z
2020-05-19T11:40:55.000Z
server/bsdfs/tasks.py
paulu/opensurfaces
7f3e987560faa62cd37f821760683ccd1e053c7c
[ "MIT" ]
49
2015-02-09T15:21:46.000Z
2021-12-15T14:22:33.000Z
import os from celery import shared_task from imagekit.utils import save_image from bsdfs.models import ShapeBsdfLabel_wd @shared_task def save_substance_reflectance_grid( outdir, initial_id=None, max_sequence_len=None, ncols=25, show_progress=False, substance=None): try: os.make...
28.513514
82
0.589573
394
3,165
4.42132
0.299492
0.02411
0.04822
0.025832
0.118255
0.016073
0
0
0
0
0
0.00991
0.33049
3,165
110
83
28.772727
0.812176
0.038231
0
0.134146
0
0
0.079987
0
0
0
0
0
0
0
null
null
0
0.060976
null
null
0.109756
0
0
0
null
0
0
0
0
0
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
292ca70d6ab185a208904a7252f2cdc322b7bd25
656
py
Python
code/Top_down/lib/dataset/transformations/color_jitter.py
rpytel1/occlusion-vs-data-augmentations
6a21650e578c3cc8b166dea23528d4b76b93dfde
[ "BSD-3-Clause" ]
4
2020-11-15T10:38:41.000Z
2021-08-10T01:42:32.000Z
code/Top_down/lib/dataset/transformations/color_jitter.py
rpytel1/occlusion-vs-data-augmentations
6a21650e578c3cc8b166dea23528d4b76b93dfde
[ "BSD-3-Clause" ]
null
null
null
code/Top_down/lib/dataset/transformations/color_jitter.py
rpytel1/occlusion-vs-data-augmentations
6a21650e578c3cc8b166dea23528d4b76b93dfde
[ "BSD-3-Clause" ]
null
null
null
import random from torchvision.transforms import ColorJitter from PIL import Image import numpy as np class ColorJitterWrapper(object): def __init__(self): super().__init__() def __call__(self, sample): img = sample['image'] img = self.jitter(img) sample['image'] = img ...
24.296296
105
0.652439
78
656
5.282051
0.448718
0.07767
0.067961
0.082524
0
0
0
0
0
0
0
0.010163
0.25
656
26
106
25.230769
0.827236
0
0
0
0
0
0.015244
0
0
0
0
0
0
1
0.157895
false
0
0.210526
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
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
293028092462c026d1ac6844d618226038a9e1d6
8,513
py
Python
scrape_default_pw.py
nmurphy101/Cirt-Default-PW-Scraper
59be25852fa90702df36ae0355b4d3b0f72c2393
[ "MIT" ]
null
null
null
scrape_default_pw.py
nmurphy101/Cirt-Default-PW-Scraper
59be25852fa90702df36ae0355b4d3b0f72c2393
[ "MIT" ]
null
null
null
scrape_default_pw.py
nmurphy101/Cirt-Default-PW-Scraper
59be25852fa90702df36ae0355b4d3b0f72c2393
[ "MIT" ]
null
null
null
'''Script scrapes the cirt website for vendor default passwords and writes them to a file''' # Created by: Nicholas Murphy on 9/7/2017 import os # For I/O operations import sys # For I/O operations from pathlib import Path # To write to a file import logging # To log errors/successes/changes/etc if needed from threadi...
34.326613
137
0.643251
1,121
8,513
4.729706
0.278323
0.018861
0.016598
0.015843
0.16258
0.110524
0.093172
0.092418
0.075443
0.075443
0
0.012725
0.261482
8,513
247
138
34.465587
0.830603
0.291319
0
0.151724
0
0
0.174795
0.020278
0
0
0
0
0
1
0.055172
false
0.096552
0.075862
0
0.165517
0.117241
0
0
0
null
0
0
0
0
0
0
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
2931c70c1e09c3f7aa7c9373b51106dea3100f1b
16,115
py
Python
docusign_esign/models/billing_charge.py
joekohlsdorf/docusign-esign-python-client
40407544f79c88716d36fabf36f65c3ef1a5c3ba
[ "MIT" ]
58
2017-10-18T23:06:57.000Z
2021-04-15T23:14:58.000Z
docusign_esign/models/billing_charge.py
joekohlsdorf/docusign-esign-python-client
40407544f79c88716d36fabf36f65c3ef1a5c3ba
[ "MIT" ]
49
2017-10-27T05:54:09.000Z
2021-04-29T22:06:17.000Z
docusign_esign/models/billing_charge.py
joekohlsdorf/docusign-esign-python-client
40407544f79c88716d36fabf36f65c3ef1a5c3ba
[ "MIT" ]
49
2017-09-16T07:23:41.000Z
2021-05-07T20:21:20.000Z
# coding: utf-8 """ DocuSign REST API The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. # noqa: E501 OpenAPI spec version: v2.1 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.gi...
35.890869
1,308
0.640956
1,808
16,115
5.503872
0.120022
0.054668
0.099287
0.10401
0.629886
0.559642
0.538438
0.478846
0.418852
0.331926
0
0.018025
0.266708
16,115
448
1,309
35.970982
0.824067
0.463978
0
0.094972
0
0
0.139945
0.014911
0
0
0
0
0
1
0.178771
false
0
0.022346
0
0.329609
0.011173
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2932335dd1921cc9103d7353400e557e03067655
9,573
py
Python
AlohomoraCareershala/settings.py
SDOS2020/Team_8_Alohomora_CareerShala
752e43a03ce365020b6523ccb00c967b1cd6aacc
[ "CC-BY-4.0" ]
null
null
null
AlohomoraCareershala/settings.py
SDOS2020/Team_8_Alohomora_CareerShala
752e43a03ce365020b6523ccb00c967b1cd6aacc
[ "CC-BY-4.0" ]
14
2020-12-06T21:44:45.000Z
2021-06-10T20:29:47.000Z
AlohomoraCareershala/settings.py
SDOS2020/Team_8_Alohomora_CareerShala
752e43a03ce365020b6523ccb00c967b1cd6aacc
[ "CC-BY-4.0" ]
null
null
null
""" Django settings for AlohomoraCareershala project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ ...
30.198738
120
0.629061
955
9,573
6.157068
0.430366
0.037585
0.02619
0.029762
0.104082
0.10119
0.067517
0.053912
0.028912
0
0
0.006397
0.216129
9,573
316
121
30.294304
0.777186
0.174136
0
0.066964
1
0
0.459325
0.227244
0
0
0
0.003165
0
1
0
false
0.026786
0.017857
0
0.017857
0
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
2933eb5fe8c72502be847f458903bec0a3194d98
5,734
py
Python
pyprocessor/cookiejar_tp.py
govind4873/auction_cookie
cadc3f7de721e8596360a0053e5d203440fdc528
[ "Apache-2.0" ]
null
null
null
pyprocessor/cookiejar_tp.py
govind4873/auction_cookie
cadc3f7de721e8596360a0053e5d203440fdc528
[ "Apache-2.0" ]
null
null
null
pyprocessor/cookiejar_tp.py
govind4873/auction_cookie
cadc3f7de721e8596360a0053e5d203440fdc528
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softwar...
34.963415
80
0.662714
704
5,734
5.278409
0.338068
0.01507
0.016146
0.025834
0.079656
0.035522
0.013994
0.013994
0
0
0
0.013233
0.235612
5,734
163
81
35.177914
0.834588
0.199337
0
0.084337
0
0
0.093862
0
0
0
0
0
0
0
null
null
0.012048
0.072289
null
null
0.012048
0
0
0
null
0
0
0
0
0
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
2938c43d1a6ec67778e6afd1409ed0f40a706c37
2,918
py
Python
venv/lib/python3.6/site-packages/sqlalchemy/util/__init__.py
aitoehigie/britecore_flask
eef1873dbe6b2cc21f770bc6dec783007ae4493b
[ "MIT" ]
null
null
null
venv/lib/python3.6/site-packages/sqlalchemy/util/__init__.py
aitoehigie/britecore_flask
eef1873dbe6b2cc21f770bc6dec783007ae4493b
[ "MIT" ]
1
2021-06-01T23:32:38.000Z
2021-06-01T23:32:38.000Z
venv/lib/python3.6/site-packages/sqlalchemy/util/__init__.py
aitoehigie/britecore_flask
eef1873dbe6b2cc21f770bc6dec783007ae4493b
[ "MIT" ]
null
null
null
# util/__init__.py # Copyright (C) 2005-2018 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php from .compat import ( callable, cmp, reduce, threading, py3k, ...
19.071895
69
0.694311
300
2,918
6.426667
0.726667
0.014004
0.021784
0
0
0
0
0
0
0
0
0.009585
0.249143
2,918
152
70
19.197368
0.870379
0.108979
0
0
0
0
0
0
0
0
0
0
0.007194
1
0
true
0
0.057554
0
0.057554
0.007194
0
0
0
null
0
0
0
0
0
0
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
293f4f6375a82ae6615d54a862fa348280b2dab7
2,137
py
Python
boardfarm/tests/latency_all.py
nickberry17/boardfarm
80f24fc97eff9a987250a6334b76eff08e001189
[ "BSD-3-Clause-Clear" ]
17
2018-04-19T08:35:47.000Z
2021-11-01T01:38:33.000Z
boardfarm/tests/latency_all.py
nickberry17/boardfarm
80f24fc97eff9a987250a6334b76eff08e001189
[ "BSD-3-Clause-Clear" ]
190
2018-04-19T07:00:18.000Z
2022-02-11T01:42:51.000Z
boardfarm/tests/latency_all.py
nickberry17/boardfarm
80f24fc97eff9a987250a6334b76eff08e001189
[ "BSD-3-Clause-Clear" ]
30
2018-04-12T01:49:21.000Z
2022-02-11T14:53:19.000Z
import re from boardfarm.tests import rootfs_boot class LatencyAllDevices(rootfs_boot.RootFSBootTest): """finds latency between all devices.""" def runTest(self): board = self.dev.board # TODO: create a get devices function? devs = [] for device in self.config.devices: ...
31.895522
87
0.439869
225
2,137
4.097778
0.36
0.02603
0.034707
0.021692
0.305857
0.208243
0.125813
0.125813
0.125813
0.125813
0
0.034662
0.459991
2,137
66
88
32.378788
0.764298
0.033692
0
0.170213
0
0
0.082079
0
0
0
0
0.015152
0
1
0.042553
false
0
0.042553
0
0.12766
0.106383
0
0
0
null
0
0
0
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
293fba2ed5fbda3785ef03730e1b21586c8315d1
389
py
Python
app/migrations/0002_video_selector.py
Khanejo/domainspoof-detector
f7f20ecf21aaf44319795a3daa4544227d55e9ca
[ "Apache-2.0" ]
3
2020-08-17T07:58:59.000Z
2020-11-02T09:18:10.000Z
app/migrations/0002_video_selector.py
Khanejo/domainspoof-detector
f7f20ecf21aaf44319795a3daa4544227d55e9ca
[ "Apache-2.0" ]
null
null
null
app/migrations/0002_video_selector.py
Khanejo/domainspoof-detector
f7f20ecf21aaf44319795a3daa4544227d55e9ca
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.6 on 2020-07-04 00:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0001_initial'), ] operations = [ migrations.AddField( model_name='video', name='selector', field=...
20.473684
69
0.588689
42
389
5.380952
0.857143
0
0
0
0
0
0
0
0
0
0
0.079422
0.287918
389
18
70
21.611111
0.736462
0.115681
0
0
1
0
0.099415
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
294788f46f75ef03adf9be9987d82873af255ab5
1,056
py
Python
models.py
ghasemel/UdacityDevOpsCapstone
b64a1c0553ecf2382e2811e13e75040bf7194667
[ "Apache-2.0" ]
null
null
null
models.py
ghasemel/UdacityDevOpsCapstone
b64a1c0553ecf2382e2811e13e75040bf7194667
[ "Apache-2.0" ]
null
null
null
models.py
ghasemel/UdacityDevOpsCapstone
b64a1c0553ecf2382e2811e13e75040bf7194667
[ "Apache-2.0" ]
null
null
null
import uuid from sqlalchemy.dialects.postgresql import UUID, MONEY from app import db, log class Goods(db.Model): __tablename__ = 'goods' id = db.Column(UUID(as_uuid=True), primary_key=True, default=uuid.uuid4, unique=True) name = db.Column(db.VARCHAR(length=400), nullable=False) description = db.Co...
29.333333
89
0.624053
139
1,056
4.640288
0.460432
0.062016
0.046512
0
0
0
0
0
0
0
0
0.005148
0.264205
1,056
35
90
30.171429
0.824968
0.096591
0
0
0
0
0.045263
0
0
0
0
0
0
1
0.12
false
0
0.12
0.08
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
2947944fd82eee571815417cf3fa127da805b1f7
3,159
py
Python
tests/test_testing.py
joseppinilla/dimod
e33ca5045e31ee2d9d58515f017fb6be5276cd8e
[ "Apache-2.0" ]
1
2019-07-12T18:43:48.000Z
2019-07-12T18:43:48.000Z
tests/test_testing.py
xpin/dimod
5e399317b0bfaae6ed20e22b9f2ef242f5fa5e6c
[ "Apache-2.0" ]
null
null
null
tests/test_testing.py
xpin/dimod
5e399317b0bfaae6ed20e22b9f2ef242f5fa5e6c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 D-Wave Systems Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
44.492958
88
0.668883
394
3,159
5.182741
0.269036
0.075416
0.114594
0.133692
0.646915
0.589618
0.547992
0.547502
0.502449
0.481391
0
0.028706
0.194998
3,159
70
89
45.128571
0.774282
0.209243
0
0.377778
0
0
0.008864
0
0
0
0
0
0.444444
1
0.155556
false
0
0.044444
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
1
0
0
0
0
0
0
0
0
0
1
29551cf8c2b65b372c3570a135866af8bcac910e
1,074
py
Python
motor/motor_py3_compat.py
arthurdarcet/motor
13bc0d548ec3d0c70a585647c70d3223451ab0f8
[ "Apache-2.0" ]
1
2018-01-12T10:06:43.000Z
2018-01-12T10:06:43.000Z
motor/motor_py3_compat.py
arthurdarcet/motor
13bc0d548ec3d0c70a585647c70d3223451ab0f8
[ "Apache-2.0" ]
null
null
null
motor/motor_py3_compat.py
arthurdarcet/motor
13bc0d548ec3d0c70a585647c70d3223451ab0f8
[ "Apache-2.0" ]
null
null
null
# Copyright 2014 MongoDB, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, so...
27.538462
74
0.72905
155
1,074
4.967742
0.619355
0.077922
0.033766
0.041558
0
0
0
0
0
0
0
0.017544
0.203911
1,074
38
75
28.263158
0.883041
0.50838
0
0
0
0
0
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
2955996937dde8c3f0f4ee6012920e679c70d93f
34,394
py
Python
src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/pyNN/pcsim/__init__.py
Roboy/LSM_SpiNNaker_MyoArm
04fa1eaf78778edea3ba3afa4c527d20c491718e
[ "BSD-3-Clause" ]
2
2020-11-01T13:22:11.000Z
2020-11-01T13:22:20.000Z
src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/pyNN/pcsim/__init__.py
Roboy/LSM_SpiNNaker_MyoArm
04fa1eaf78778edea3ba3afa4c527d20c491718e
[ "BSD-3-Clause" ]
null
null
null
src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/pyNN/pcsim/__init__.py
Roboy/LSM_SpiNNaker_MyoArm
04fa1eaf78778edea3ba3afa4c527d20c491718e
[ "BSD-3-Clause" ]
null
null
null
# encoding: utf-8 """ pypcsim implementation of the PyNN API. Dejan Pecevski dejan@igi.tugraz.at Thomas Natschlaeger thomas.natschlaeger@scch.at Andrew Davison davison@unic.cnrs-gif.fr December 2006- :copyright: Copyright 2006-2013 by the PyNN team, see AUTHORS. :license: CeCILL, see L...
45.43461
167
0.58926
3,946
34,394
5.00963
0.17182
0.011837
0.01634
0.008903
0.266036
0.236089
0.197238
0.172046
0.131374
0.122572
0
0.007164
0.293801
34,394
756
168
45.494709
0.806703
0.369454
0
0.212903
0
0
0.047831
0.002738
0
0
0
0
0.006452
0
null
null
0.003226
0.067742
null
null
0.006452
0
0
0
null
0
0
0
0
0
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
295b76a64c348c291733deb3cf1d35051481b1d6
2,556
py
Python
ansible/modules/inventory/add_host.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
1
2022-01-25T22:52:58.000Z
2022-01-25T22:52:58.000Z
ansible/modules/inventory/add_host.py
EnjoyLifeFund/Debian_py36_packages
1985d4c73fabd5f08f54b922e73a9306e09c77a5
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
ansible/modules/inventory/add_host.py
EnjoyLifeFund/Debian_py36_packages
1985d4c73fabd5f08f54b922e73a9306e09c77a5
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
# -*- mode: python -*- # # Copyright: Ansible Team # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['stablein...
34.08
130
0.684272
369
2,556
4.620596
0.447154
0.028739
0.018768
0.012903
0.092669
0.092669
0.060997
0.060997
0.060997
0.060997
0
0.011471
0.215571
2,556
74
131
34.540541
0.838903
0.052817
0
0.183333
0
0.1
0.907699
0
0
0
0
0
0
1
0
false
0.016667
0.016667
0
0.016667
0.016667
0
0
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
295fee91804bcb2cdd620dbd091c1a0f662eff21
4,367
py
Python
make_feed.py
appchamp/create-pg-rss
54507b37a51d377344dbefcff5ff5c0e3dd9c34d
[ "MIT" ]
null
null
null
make_feed.py
appchamp/create-pg-rss
54507b37a51d377344dbefcff5ff5c0e3dd9c34d
[ "MIT" ]
null
null
null
make_feed.py
appchamp/create-pg-rss
54507b37a51d377344dbefcff5ff5c0e3dd9c34d
[ "MIT" ]
null
null
null
#!/usr/bin/python3 r"""*Module to generate PG RSS feed.* """ import logging import re import sys from datetime import datetime, timezone from pathlib import Path from typing import Iterable, Union import arrow # type: ignore import attr import bs4 # type: ignore import requests_cache import requests as rq from bs...
29.113333
86
0.676208
632
4,367
4.574367
0.333861
0.026634
0.029056
0.032861
0.133518
0.124178
0.106192
0.092701
0.062262
0
0
0.012101
0.167392
4,367
149
87
29.308725
0.783003
0.140371
0
0
1
0.01087
0.225074
0.005944
0
0
0
0
0
1
0.086957
false
0
0.141304
0
0.347826
0
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
295ff258eb2480973ec19ee86e8c88edc7edfefb
352
py
Python
python/recursion/0698_partition_to_k_equal_sum_subsets.py
linshaoyong/leetcode
ea052fad68a2fe0cbfa5469398508ec2b776654f
[ "MIT" ]
6
2019-07-15T13:23:57.000Z
2020-01-22T03:12:01.000Z
python/recursion/0698_partition_to_k_equal_sum_subsets.py
linshaoyong/leetcode
ea052fad68a2fe0cbfa5469398508ec2b776654f
[ "MIT" ]
null
null
null
python/recursion/0698_partition_to_k_equal_sum_subsets.py
linshaoyong/leetcode
ea052fad68a2fe0cbfa5469398508ec2b776654f
[ "MIT" ]
1
2019-07-24T02:15:31.000Z
2019-07-24T02:15:31.000Z
class Solution(object): def canPartitionKSubsets(self, nums, k): """ :type nums: List[int] :type k: int :rtype: bool """ s = sum(nums) if s % k != 0: return False def test_can_partition_k_subsets(): s = Solution() assert s.canPartitionKSu...
22
59
0.517045
45
352
3.955556
0.644444
0
0
0
0
0
0
0
0
0
0
0.039301
0.349432
352
15
60
23.466667
0.737991
0.133523
0
0
0
0
0
0
0
0
0
0
0.125
1
0.25
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
2961dea7d42b4048797a30eb2386e95c12882045
919
py
Python
spectator/distsummary.py
dmuino/spectator-py
eb3f70733e83fb035e2960fc04d5afb4585dddf9
[ "Apache-2.0" ]
null
null
null
spectator/distsummary.py
dmuino/spectator-py
eb3f70733e83fb035e2960fc04d5afb4585dddf9
[ "Apache-2.0" ]
null
null
null
spectator/distsummary.py
dmuino/spectator-py
eb3f70733e83fb035e2960fc04d5afb4585dddf9
[ "Apache-2.0" ]
null
null
null
from spectator.atomicnumber import AtomicNumber class DistributionSummary: def __init__(self, meterId): self.meterId = meterId self._count = AtomicNumber(0) self._totalAmount = AtomicNumber(0) self._totalOfSquares = AtomicNumber(0) self._max = AtomicNumber(0) def reco...
28.71875
70
0.612622
103
919
5.213592
0.330097
0.096834
0.094972
0.055866
0
0
0
0
0
0
0
0.009009
0.275299
919
31
71
29.645161
0.797297
0
0
0
0
0
0.039173
0
0
0
0
0
0
1
0.208333
false
0
0.041667
0.083333
0.416667
0
0
0
0
null
0
0
0
0
0
0
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
296301894df377658d9d65ba4ab450ec0f0ff24b
3,238
py
Python
var/spack/repos/builtin/packages/py-watchdog/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
var/spack/repos/builtin/packages/py-watchdog/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
8
2021-11-09T20:28:40.000Z
2022-03-15T03:26:33.000Z
var/spack/repos/builtin/packages/py-watchdog/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2019-02-08T20:37:20.000Z
2019-03-31T15:19:26.000Z
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack.package import * class PyWatchdog(PythonPackage): """Python library and shell utilities to monitor filesy...
55.827586
109
0.677888
418
3,238
5.210526
0.248804
0.023416
0.070707
0.0955
0.321396
0.27135
0.252066
0.162534
0.144628
0.144628
0
0.239307
0.126313
3,238
57
110
56.807018
0.530576
0.177888
0
0
0
0
0.545351
0.277778
0
0
0
0
0
1
0
false
0
0.03125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
296482ea37ebbc2bdba77a318ae5a14bc1b623aa
1,241
py
Python
apps/news/models.py
summerthe/summers_api
db345db7c0ed88c361ea944b96e26c7241ac6ce2
[ "MIT" ]
null
null
null
apps/news/models.py
summerthe/summers_api
db345db7c0ed88c361ea944b96e26c7241ac6ce2
[ "MIT" ]
4
2022-03-09T09:34:28.000Z
2022-03-16T09:44:10.000Z
apps/news/models.py
summerthe/summers_api
db345db7c0ed88c361ea944b96e26c7241ac6ce2
[ "MIT" ]
null
null
null
from django.contrib.auth import get_user_model from django.db import models from django.utils.translation import gettext as _ from apps.base.models import BaseModel User = get_user_model() class Newsletter(BaseModel): """Weekly Newsletter subscibered users.""" user = models.ForeignKey(User, on_delete=model...
23.865385
60
0.669621
140
1,241
5.664286
0.414286
0.083228
0.037831
0.06053
0.370744
0.370744
0.370744
0.370744
0.370744
0.370744
0
0.003093
0.218372
1,241
51
61
24.333333
0.814433
0.067687
0
0.548387
0
0
0.081507
0
0
0
0
0
0
1
0.096774
false
0
0.129032
0.096774
0.677419
0
0
0
0
null
0
0
0
0
0
0
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
296aa56818d76b3a115b75a7210e682c8d844529
137
py
Python
library/test/colour.py
rowlap/piglow
f0c2ee786d45b577ef9964c26f4898d0c3fcebd2
[ "MIT" ]
98
2015-01-12T15:13:59.000Z
2022-02-17T17:41:23.000Z
library/test/colour.py
rowlap/piglow
f0c2ee786d45b577ef9964c26f4898d0c3fcebd2
[ "MIT" ]
17
2015-07-24T01:48:44.000Z
2021-08-31T08:09:04.000Z
library/test/colour.py
rowlap/piglow
f0c2ee786d45b577ef9964c26f4898d0c3fcebd2
[ "MIT" ]
22
2015-01-03T13:42:11.000Z
2021-03-21T11:07:41.000Z
import time import piglow piglow.auto_update = True for x in range(6): piglow.all(0) piglow.ring(x, 100) time.sleep(0.5)
11.416667
25
0.656934
24
137
3.708333
0.708333
0
0
0
0
0
0
0
0
0
0
0.066038
0.226277
137
11
26
12.454545
0.773585
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
297960d5e2dd67f205c2aecdbebfd5f70b82084a
6,839
py
Python
swift.py
pauldardeau/cloud-jukebox
3e82e3e9ab9bf5bbdab6bdf65e158638456e05cc
[ "BSD-3-Clause" ]
1
2016-11-01T16:01:43.000Z
2016-11-01T16:01:43.000Z
swift.py
pauldardeau/cloud-jukebox
3e82e3e9ab9bf5bbdab6bdf65e158638456e05cc
[ "BSD-3-Clause" ]
24
2015-11-26T03:37:24.000Z
2022-01-12T12:27:21.000Z
swift.py
pauldardeau/cloud-jukebox
3e82e3e9ab9bf5bbdab6bdf65e158638456e05cc
[ "BSD-3-Clause" ]
null
null
null
from typing import List from storage_system import StorageSystem import typing _storage_system_swift_supported = False try: import swiftclient _storage_system_swift_supported = True except ImportError: _storage_system_swift_supported = False def is_available() -> bool: return _storage_system_swift_...
36.768817
109
0.594531
774
6,839
5.005168
0.149871
0.033557
0.060403
0.040268
0.47651
0.410429
0.374806
0.33015
0.196696
0.16572
0
0.002874
0.338646
6,839
185
110
36.967568
0.853637
0.002486
0
0.349315
0
0
0.030205
0
0
0
0
0
0
1
0.082192
false
0.075342
0.034247
0.006849
0.212329
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
0
0
1
0
0
0
0
0
1
298099ebf2992ea1a342ca55a3893027dd146f30
5,925
py
Python
init/strall.py
guoqiumei/pybatis
21d0bd6b0645ffc6fa5864cd4f830316469d76f2
[ "MIT" ]
null
null
null
init/strall.py
guoqiumei/pybatis
21d0bd6b0645ffc6fa5864cd4f830316469d76f2
[ "MIT" ]
null
null
null
init/strall.py
guoqiumei/pybatis
21d0bd6b0645ffc6fa5864cd4f830316469d76f2
[ "MIT" ]
null
null
null
from init import __init as ge def alls(): all = ge.getfile() delsql="delete from " sqland = "select * from where" insersql="insert into" for i in all: sql = "select " for j in range(0, len(i["file"])): if j == len(i["file"]) - 1: sql += i["file"][j][0...
31.854839
131
0.401688
622
5,925
3.823151
0.136656
0.071489
0.058032
0.067704
0.675778
0.634987
0.521026
0.459209
0.409588
0.392347
0
0.020303
0.37654
5,925
185
132
32.027027
0.623443
0.014008
0
0.649007
0
0
0.617208
0.076421
0.059603
0
0
0
0
1
0.006623
false
0
0.046358
0
0.139073
0.013245
0
0
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
2981f610ee77319221597032e8897025cad8c3bb
11,132
py
Python
satoyama/models.py
DgFutureLab/satoyama-api
cc8d80ad4c437d67aa53ba619aa4904350be09f8
[ "MIT" ]
4
2015-10-05T18:35:41.000Z
2018-01-09T20:54:29.000Z
satoyama/models.py
DgFutureLab/satoyama-api
cc8d80ad4c437d67aa53ba619aa4904350be09f8
[ "MIT" ]
56
2015-01-14T08:19:47.000Z
2015-04-03T01:23:55.000Z
satoyama/models.py
DgFutureLab/satoyama-api
cc8d80ad4c437d67aa53ba619aa4904350be09f8
[ "MIT" ]
null
null
null
from sqlalchemy import Column, Integer, String, ForeignKey, DateTime, Float from sqlalchemy.exc import DataError from sqlalchemy.orm import object_mapper, class_mapper, relationship, backref from collections import Iterable from helpers import DatetimeHelper, JSONHelper import json from database import Base, manager fr...
31.7151
386
0.711283
1,413
11,132
5.454352
0.171975
0.020241
0.021409
0.014532
0.279486
0.216946
0.147139
0.121059
0.108603
0.06306
0
0.000864
0.168074
11,132
350
387
31.805714
0.831336
0.11696
0
0.311741
0
0
0.1043
0
0
0
0
0
0.040486
0
null
null
0.020243
0.032389
null
null
0.004049
0
0
0
null
0
0
0
0
0
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
29883bc8a344c7110d6f1af0de2118417500dea4
426
py
Python
expfactory_deploy/experiments/migrations/0008_battery_name2.py
rwblair/expfactory-deploy
509b74fc16b70234b448a727c4fe7759fb6057c8
[ "MIT" ]
null
null
null
expfactory_deploy/experiments/migrations/0008_battery_name2.py
rwblair/expfactory-deploy
509b74fc16b70234b448a727c4fe7759fb6057c8
[ "MIT" ]
31
2021-03-08T21:30:47.000Z
2022-03-01T12:09:09.000Z
expfactory_deploy/experiments/migrations/0008_battery_name2.py
rwblair/expfactory-deploy
509b74fc16b70234b448a727c4fe7759fb6057c8
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-10-29 18:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('experiments', '0007_auto_20211025_2223'), ] operations = [ migrations.AddField( model_name='battery', name='name2', ...
21.3
52
0.596244
44
426
5.659091
0.818182
0
0
0
0
0
0
0
0
0
0
0.109272
0.29108
426
19
53
22.421053
0.715232
0.105634
0
0
1
0
0.134565
0.060686
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
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
461fb4af3fbab4b8a689f8bbd7e3398f73e86c66
2,395
py
Python
alttprbot_racetime/handler_smz3.py
DuoDeca/sahasrahbot
27058b0644487e0b22e91eccaf3c638743bdf826
[ "MIT" ]
null
null
null
alttprbot_racetime/handler_smz3.py
DuoDeca/sahasrahbot
27058b0644487e0b22e91eccaf3c638743bdf826
[ "MIT" ]
null
null
null
alttprbot_racetime/handler_smz3.py
DuoDeca/sahasrahbot
27058b0644487e0b22e91eccaf3c638743bdf826
[ "MIT" ]
null
null
null
from alttprbot.alttprgen import preset from config import Config as c from racetime_bot import RaceHandler class Smz3Handler(RaceHandler): """ SahasrahBot race handler. Generates seeds, presets, and frustration. """ stop_at = ['cancelled', 'finished'] def __init__(self, **kwargs): super()...
34.214286
149
0.620459
302
2,395
4.778146
0.39404
0.081081
0.081081
0.12474
0.123354
0.073458
0.073458
0.073458
0.073458
0.073458
0
0.002331
0.283507
2,395
69
150
34.710145
0.838578
0.028392
0
0.24
1
0.02
0.224336
0.011062
0
0
0
0
0
1
0.02
false
0
0.06
0
0.18
0
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
46206f7f9510e4ed9bdfa3aebc5cef1fbdd3eb9b
508
py
Python
setup.py
annawoodard/p-np-fit
afaf37de416b113c07f832d1586fef17dbef6764
[ "MIT" ]
1
2018-08-24T06:37:53.000Z
2018-08-24T06:37:53.000Z
setup.py
annawoodard/p-np-fit
afaf37de416b113c07f832d1586fef17dbef6764
[ "MIT" ]
null
null
null
setup.py
annawoodard/p-np-fit
afaf37de416b113c07f832d1586fef17dbef6764
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='pnpfit', url='https://github.com/annawoodard/pnpfit', author='Anna Woodard', author_email='annawoodard@uchicago.edu', license='Apache 2.0', install_requires=[ 'parsl', 'matplotlib', 'scipy', 'seaborn', ...
23.090909
99
0.59252
49
508
6.081633
0.857143
0
0
0
0
0
0
0
0
0
0
0.005305
0.257874
508
21
100
24.190476
0.785146
0
0
0.1
0
0
0.417323
0.047244
0
0
0
0
0
1
0
true
0
0.05
0
0.05
0
0
0
0
null
0
0
0
0
0
0
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
462149bebfb2a34664e0b233b17f2079d1c765f0
486
py
Python
my_project/my_project/accounts/migrations/0012_alter_profile_picture_upload.py
Govedarski/World-of-books
d270b72600a7986387a277dbe01ac8c6d747f662
[ "MIT" ]
null
null
null
my_project/my_project/accounts/migrations/0012_alter_profile_picture_upload.py
Govedarski/World-of-books
d270b72600a7986387a277dbe01ac8c6d747f662
[ "MIT" ]
null
null
null
my_project/my_project/accounts/migrations/0012_alter_profile_picture_upload.py
Govedarski/World-of-books
d270b72600a7986387a277dbe01ac8c6d747f662
[ "MIT" ]
null
null
null
# Generated by Django 4.0.3 on 2022-04-05 10:35 import cloudinary.models from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('accounts', '0011_alter_profile_picture_upload'), ] operations = [ migrations.AlterField( model_name='profile', ...
24.3
113
0.654321
54
486
5.740741
0.759259
0.103226
0
0
0
0
0
0
0
0
0
0.059299
0.236626
486
19
114
25.578947
0.77628
0.092593
0
0
1
0
0.15262
0.075171
0
0
0
0
0
1
0
false
0
0.153846
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4623f93a1a69e264ceaa753487239323b0f18245
1,769
py
Python
i2ssh/main.py
scub/i2ssh
8ad31f1e3538fb22bb35f21251c46de21b8732ad
[ "Apache-2.0" ]
19
2015-05-13T20:12:41.000Z
2021-06-24T20:59:25.000Z
i2ssh/main.py
scub/i2ssh
8ad31f1e3538fb22bb35f21251c46de21b8732ad
[ "Apache-2.0" ]
8
2016-01-12T15:39:00.000Z
2021-03-25T21:37:51.000Z
i2ssh/main.py
scub/i2ssh
8ad31f1e3538fb22bb35f21251c46de21b8732ad
[ "Apache-2.0" ]
10
2016-01-12T15:37:28.000Z
2020-01-03T14:08:42.000Z
#!/usr/bin/env python import argparse import os import logging import sys import yaml from config import Config from layout import Layout from window import Window from applescript import AppleScript DEFAULT_CONFIG = '~/.i2sshrc' def main(): parser = argparse.ArgumentParser() parser.add_argument( ...
28.079365
78
0.640475
223
1,769
5
0.38565
0.032287
0.060987
0.039462
0.055605
0.055605
0
0
0
0
0
0.000749
0.244771
1,769
62
79
28.532258
0.833832
0.121538
0
0.088889
0
0
0.18129
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.044444
0
0
0
null
0
0
0
0
0
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
462ae1e57f36603e59689b4b209605fc37069483
2,326
py
Python
adminmgr/media/code/A2/python/task/BD_228_278_1110_1593_ZytlEPv.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
9
2019-11-08T02:05:27.000Z
2021-12-13T12:06:35.000Z
adminmgr/media/code/A2/python/task/BD_228_278_1110_1593_Rd7fdca.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
6
2019-11-27T03:23:16.000Z
2021-06-10T19:15:13.000Z
adminmgr/media/code/A2/python/task/BD_228_278_1110_1593_ZytlEPv.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
4
2019-11-26T17:04:27.000Z
2021-12-13T11:57:03.000Z
from __future__ import print_function import re import sys from operator import add from pyspark.sql import SparkSession def parseNeighbors1(lines): parts = re.split(r',', lines) return parts[0], float(parts[2])/float(parts[3]) def computeContribs(urls, rank): num_urls = len(urls) for url in urls: ...
33.710145
129
0.61006
324
2,326
4.277778
0.290123
0.040404
0.047619
0.034632
0.405483
0.350649
0.350649
0.350649
0.350649
0.300144
0
0.039821
0.233448
2,326
69
130
33.710145
0.737521
0.012468
0
0.254545
0
0
0.033101
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.054545
0
0
0
null
0
0
0
0
0
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
462e3d5ab5dc821096eb98d1be9838c6a236c97d
768
py
Python
output/models/nist_data/atomic/unsigned_int/schema_instance/nistschema_sv_iv_atomic_unsigned_int_enumeration_4_xsd/nistschema_sv_iv_atomic_unsigned_int_enumeration_4.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/nist_data/atomic/unsigned_int/schema_instance/nistschema_sv_iv_atomic_unsigned_int_enumeration_4_xsd/nistschema_sv_iv_atomic_unsigned_int_enumeration_4.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/nist_data/atomic/unsigned_int/schema_instance/nistschema_sv_iv_atomic_unsigned_int_enumeration_4_xsd/nistschema_sv_iv_atomic_unsigned_int_enumeration_4.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from dataclasses import dataclass, field from enum import Enum from typing import Optional __NAMESPACE__ = "NISTSchema-SV-IV-atomic-unsignedInt-enumeration-4-NS" class NistschemaSvIvAtomicUnsignedIntEnumeration4Type(Enum): VALUE_47 = 47 VALUE_9906 = 9906 VALUE_271268 = 271268 VALUE_18558 = 18558 ...
26.482759
77
0.729167
74
768
7.432432
0.459459
0.065455
0.076364
0.109091
0.274545
0.274545
0.274545
0.196364
0.196364
0
0
0.123177
0.196615
768
28
78
27.428571
0.768233
0
0
0
0
0
0.209635
0.199219
0
0
0
0
0
1
0
false
0
0.136364
0
0.590909
0
0
0
0
null
0
0
0
0
0
0
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
463aa56e1798dd0fa2ae421e498dcb3fcd79aa1a
633
py
Python
src/server/tests/test_user.py
rafibayer/Websocket-Chatroom
4e8bef64a8c21c4e8f81e97c6f7c0e0839b09f9c
[ "MIT" ]
1
2021-07-22T04:08:25.000Z
2021-07-22T04:08:25.000Z
src/server/tests/test_user.py
rafibayer/Websocket-Chatroom
4e8bef64a8c21c4e8f81e97c6f7c0e0839b09f9c
[ "MIT" ]
null
null
null
src/server/tests/test_user.py
rafibayer/Websocket-Chatroom
4e8bef64a8c21c4e8f81e97c6f7c0e0839b09f9c
[ "MIT" ]
null
null
null
import unittest import asyncio import os import sys import test_helper sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../server'))) from mock.mockwebsocketclient import MockWebsocketClient as Mwsc from user import User class TestUser(unittest.TestCase): def test_create_user(self): ...
24.346154
89
0.7109
79
633
5.468354
0.481013
0.041667
0.159722
0.125
0
0
0
0
0
0
0
0.001938
0.184834
633
25
90
25.32
0.835271
0
0
0
0
0
0.033175
0
0
0
0
0
0.210526
1
0.052632
false
0
0.368421
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
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
463d1b347f9a4c95f466557b0cf91984c8946490
5,422
py
Python
lyssa/dict_learning/class_dict_learn.py
himanshukgp/Lyssandra
7c6967e01548d00ace20faf6415f8df00a2578e8
[ "BSD-3-Clause" ]
65
2016-07-07T11:16:58.000Z
2022-03-28T08:38:57.000Z
lyssa/dict_learning/class_dict_learn.py
kevinyu1949/Lyssandra
994da67a8bf4a63561cf4d6c58c7e58722e192f7
[ "BSD-3-Clause" ]
2
2017-11-12T04:49:06.000Z
2018-05-15T21:56:25.000Z
lyssa/dict_learning/class_dict_learn.py
kevinyu1949/Lyssandra
994da67a8bf4a63561cf4d6c58c7e58722e192f7
[ "BSD-3-Clause" ]
25
2017-01-12T11:25:48.000Z
2022-03-28T08:42:20.000Z
from lyssa.utils import get_empty_mmap from .ksvd import ksvd_dict_learn import numpy as np """ A module that implements class-specific dictionary learning using the KSVD algorithm. For a dataset with C classes, it learns C dictionaries separately as in: "Metaface learning for sparse representation based face recogni...
38.728571
117
0.621357
774
5,422
4.109819
0.215762
0.052814
0.079535
0.047155
0.177931
0.131091
0.100283
0.082678
0.055957
0.055957
0
0.001835
0.29657
5,422
139
118
39.007194
0.832197
0.040944
0
0.126437
0
0
0.028134
0.009131
0
0
0
0.007194
0
0
null
null
0
0.045977
null
null
0.045977
0
0
0
null
0
0
0
0
0
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
4640e3225a1c5025844a6e27cde9e4dc6e4782ee
2,999
py
Python
tests/unit/test_compress.py
s0undt3ch/sorbic
feeb135165044b1f046164bcf9369d5720e5ce5d
[ "Apache-2.0" ]
null
null
null
tests/unit/test_compress.py
s0undt3ch/sorbic
feeb135165044b1f046164bcf9369d5720e5ce5d
[ "Apache-2.0" ]
null
null
null
tests/unit/test_compress.py
s0undt3ch/sorbic
feeb135165044b1f046164bcf9369d5720e5ce5d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ''' Test database compression functions ''' # Import sorbic libs import sorbic.db # Import python libs import os import random import shutil import unittest import tempfile class TestCompress(unittest.TestCase): ''' Cover compression possibilities ''' def test_compress_no_chan...
28.028037
59
0.534512
386
2,999
4.03886
0.189119
0.030789
0.096216
0.071841
0.729314
0.685696
0.644003
0.644003
0.644003
0.644003
0
0.014956
0.353451
2,999
106
60
28.292453
0.789067
0.103368
0
0.696203
0
0
0.01944
0
0
0
0
0
0.063291
1
0.050633
false
0
0.075949
0
0.139241
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
4640e638b244e5681b610bde156130ed180614f2
221
py
Python
app/main/routes.py
theambidextrous/Access-approval-management-
88358ccebe3304938ebe9292602059bb81ef268a
[ "MIT" ]
null
null
null
app/main/routes.py
theambidextrous/Access-approval-management-
88358ccebe3304938ebe9292602059bb81ef268a
[ "MIT" ]
null
null
null
app/main/routes.py
theambidextrous/Access-approval-management-
88358ccebe3304938ebe9292602059bb81ef268a
[ "MIT" ]
null
null
null
from flask import Blueprint, jsonify, request, abort main = Blueprint('main', __name__) # routes @main.route('/', methods = ['GET']) def Abort(): abort(403) return jsonify({'status':-231,'message':'Aborted!'})
20.090909
56
0.656109
26
221
5.423077
0.769231
0
0
0
0
0
0
0
0
0
0
0.031915
0.149321
221
10
57
22.1
0.718085
0.027149
0
0
0
0
0.13615
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
46411242cdc6eae0fcb601fd4f49d465e152863c
2,521
py
Python
src/test/python/gcloud/gcloud.py
cbrune/VexRiscv
4824827b7ed6331acfda1c2b0dd8c9fb7361cb96
[ "MIT" ]
1,524
2017-03-23T19:56:30.000Z
2022-03-31T10:23:27.000Z
src/test/python/gcloud/gcloud.py
cbrune/VexRiscv
4824827b7ed6331acfda1c2b0dd8c9fb7361cb96
[ "MIT" ]
234
2017-08-05T16:39:01.000Z
2022-03-25T09:57:00.000Z
src/test/python/gcloud/gcloud.py
cbrune/VexRiscv
4824827b7ed6331acfda1c2b0dd8c9fb7361cb96
[ "MIT" ]
283
2017-03-13T18:59:22.000Z
2022-03-31T11:19:31.000Z
#!/usr/bin/env python from os import system from sys import argv import time class GCInstance: def __init__(self, name): self.instance = name self.project = "ivory-infusion-209508" self.zone = "europe-west1-b" def local(self, cmd): print(cmd) system(cmd) def createCustom(self, cores=1, ram=1024): s...
45.836364
693
0.702499
338
2,521
5.224852
0.378698
0.05436
0.059456
0.071348
0.407135
0.272933
0.217441
0.169875
0.116648
0.116648
0
0.017264
0.103927
2,521
54
694
46.685185
0.764498
0.04284
0
0.057143
0
0.057143
0.493566
0.111249
0
0
0
0
0
1
0.342857
false
0
0.085714
0
0.457143
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
1
0
0
0
0
0
0
0
1
4643d38b282860013471e25285e528a4d9c05082
2,041
py
Python
lambo/acquisitions/ehvi.py
samuelstanton/lambo
7b67684b884f75f7007501978c5299514d0efb75
[ "Apache-2.0" ]
10
2022-03-25T09:05:33.000Z
2022-03-29T17:02:03.000Z
lambo/acquisitions/ehvi.py
samuelstanton/lambo
7b67684b884f75f7007501978c5299514d0efb75
[ "Apache-2.0" ]
null
null
null
lambo/acquisitions/ehvi.py
samuelstanton/lambo
7b67684b884f75f7007501978c5299514d0efb75
[ "Apache-2.0" ]
1
2022-03-26T16:38:44.000Z
2022-03-26T16:38:44.000Z
import torch from botorch.models import KroneckerMultiTaskGP from botorch.sampling import IIDNormalSampler from botorch.utils.multi_objective import infer_reference_point from botorch.utils.multi_objective.box_decompositions import NondominatedPartitioning from lambo.acquisitions.monte_carlo import qDiscreteEHVI, qMTG...
38.509434
97
0.686918
236
2,041
5.631356
0.300847
0.084274
0.045147
0.03386
0.425884
0.365688
0.365688
0.365688
0.365688
0.316027
0
0.00454
0.244488
2,041
52
98
39.25
0.857328
0.018618
0
0.4
0
0
0
0
0
0
0
0.019231
0
1
0.066667
false
0
0.155556
0
0.288889
0
0
0
0
null
0
0
0
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
464b210538f6779aeba4996f390d6367d8e1ccf7
1,852
py
Python
nyoka/tests/test_testbase64.py
maxibor/nyoka
19f480eee608035aa5fba368c96d4143bc2f5710
[ "Apache-2.0" ]
1
2021-04-07T07:55:31.000Z
2021-04-07T07:55:31.000Z
nyoka/tests/test_testbase64.py
maxibor/nyoka
19f480eee608035aa5fba368c96d4143bc2f5710
[ "Apache-2.0" ]
2
2021-08-25T16:16:45.000Z
2022-02-10T05:28:52.000Z
nyoka/tests/test_testbase64.py
maxibor/nyoka
19f480eee608035aa5fba368c96d4143bc2f5710
[ "Apache-2.0" ]
null
null
null
import sys,os from nyoka.Base64 import * def test1(): """test static methods to_base64 and to_float""" print({ "Python version" : sys.version_info }) pi = 3.1415926 piBase64 = FloatBase64.from_float(pi) pi2 = FloatBase64.to_float(piBase64) print({ "pi" : pi, "piBase64" : piBase64, "pi2" : pi2}) def test2():...
22.864198
92
0.685745
233
1,852
5.386266
0.313305
0.047809
0.022311
0.038247
0.280478
0.239044
0.239044
0.239044
0.200797
0.200797
0
0.206564
0.160907
1,852
81
93
22.864198
0.60103
0.173326
0
0.444444
0
0
0.074123
0
0
0
0
0
0.047619
1
0.079365
false
0
0.031746
0
0.111111
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1