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
8a23e2e394242f4eca447da628bb8ac3e7fe2807
6,323
py
Python
tools/aerial_detection.py
gfjiangly/AerialDetection
ee8a945c67c8e9ddef725900ac300d2d5a785e08
[ "Apache-2.0" ]
null
null
null
tools/aerial_detection.py
gfjiangly/AerialDetection
ee8a945c67c8e9ddef725900ac300d2d5a785e08
[ "Apache-2.0" ]
1
2021-08-28T15:48:14.000Z
2021-08-28T15:48:14.000Z
tools/aerial_detection.py
gfjiangly/AerialDetection
ee8a945c67c8e9ddef725900ac300d2d5a785e08
[ "Apache-2.0" ]
null
null
null
# -*- encoding:utf-8 -*- # @Time : 2021/1/3 15:15 # @Author : gfjiang import os.path as osp import mmcv import numpy as np import cvtools import matplotlib.pyplot as plt import cv2.cv2 as cv from functools import partial import torch import math from cvtools.utils.path import add_prefix_filename_suffix from mmdet....
36.33908
107
0.591966
857
6,323
4.148191
0.305718
0.015752
0.011252
0.006751
0.076512
0.076512
0.076512
0.076512
0.058509
0.046695
0
0.029509
0.281828
6,323
173
108
36.549133
0.753358
0.071643
0
0.055944
0
0
0.069285
0.050077
0
0
0
0
0
1
0.062937
false
0
0.083916
0
0.181818
0.013986
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a248f7412b4e5841bfb0f9c54b8c6e82ae3813b
19,715
py
Python
tradingAPI/low_level.py
federico123579/Trading212-API
0fab20b71a2348e72bbe76071b81f3692128851f
[ "MIT" ]
44
2017-10-23T19:17:20.000Z
2021-09-06T17:01:49.000Z
tradingAPI/low_level.py
federico123579/Trading212-API
0fab20b71a2348e72bbe76071b81f3692128851f
[ "MIT" ]
7
2017-09-05T09:51:16.000Z
2020-05-17T11:23:27.000Z
tradingAPI/low_level.py
federico123579/Trading212-API
0fab20b71a2348e72bbe76071b81f3692128851f
[ "MIT" ]
18
2017-11-18T11:55:58.000Z
2021-04-11T14:23:12.000Z
# -*- coding: utf-8 -*- """ tradingAPI.low_level ~~~~~~~~~~~~~~ This module provides the low level functions with the service. """ import time import re from datetime import datetime from pyvirtualdisplay import Display from bs4 import BeautifulSoup from splinter import Browser from .glob import Glob from .links imp...
37.058271
79
0.526401
2,198
19,715
4.626934
0.150136
0.024779
0.022714
0.014749
0.24061
0.17414
0.143461
0.122911
0.094592
0.087316
0
0.006413
0.359371
19,715
531
80
37.12806
0.798812
0.073447
0
0.252404
0
0
0.109171
0.011754
0
0
0
0
0
1
0.108173
false
0.004808
0.028846
0.002404
0.259615
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a2561d549e0edb64456facf130fd386d46356d5
96,782
py
Python
.infra/setup/playbooks/roles/ansible.kubernetes-modules/library/openshift_v1_build_config_list.py
cvicens/lab-knative
ef98aa111e566c6d33fd72c61f9c0d93a2c05b2f
[ "Apache-2.0" ]
null
null
null
.infra/setup/playbooks/roles/ansible.kubernetes-modules/library/openshift_v1_build_config_list.py
cvicens/lab-knative
ef98aa111e566c6d33fd72c61f9c0d93a2c05b2f
[ "Apache-2.0" ]
null
null
null
.infra/setup/playbooks/roles/ansible.kubernetes-modules/library/openshift_v1_build_config_list.py
cvicens/lab-knative
ef98aa111e566c6d33fd72c61f9c0d93a2c05b2f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- from ansible.module_utils.openshift_common import OpenShiftAnsibleModule, OpenShiftAnsibleException DOCUMENTATION = ''' module: openshift_v1_build_config_list short_description: OpenShift BuildConfigList description: - Retrieve a list of build_configs. List operations provide...
50.486176
100
0.443027
8,403
96,782
5.076044
0.113293
0.030196
0.033408
0.022718
0.555352
0.53015
0.519435
0.514723
0.508909
0.496882
0
0.001486
0.527257
96,782
1,916
101
50.512526
0.930781
0.001333
0
0.706408
0
0.00105
0.994899
0.011547
0
0
0
0
0
1
0.000525
false
0.006303
0.000525
0
0.00105
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8a258262e455109304caf1e67879b046459ff1bf
5,066
py
Python
aws-regions.py
groorj/cloud-regions
f085491c71440d99000ad29a885e6090dfc9332a
[ "MIT" ]
null
null
null
aws-regions.py
groorj/cloud-regions
f085491c71440d99000ad29a885e6090dfc9332a
[ "MIT" ]
1
2021-07-22T01:25:14.000Z
2021-07-22T17:29:09.000Z
aws-regions.py
groorj/cloud-regions
f085491c71440d99000ad29a885e6090dfc9332a
[ "MIT" ]
null
null
null
import json import logging import os import inspect import urllib import urllib.request from urllib.error import HTTPError # logger logger = logging.getLogger() logger_level = logging.getLevelName(os.environ['LOGGER_LEVEL']) logger.setLevel(logger_level) # validate access def validate_access(event, context): logg...
41.867769
161
0.66443
640
5,066
5.004688
0.171875
0.062441
0.088979
0.04808
0.637527
0.563222
0.552295
0.532313
0.502966
0.472682
0
0.005969
0.206277
5,066
121
162
41.867769
0.790599
0.09317
0
0.442105
0
0
0.257811
0.046756
0
0
0
0
0
1
0.052632
false
0
0.073684
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a267a4563f9753a8ce7cda07a22ac19aca67d1a
10,157
py
Python
src/models/encoder.py
guowenying111/SEKE
a913a19090eb690c3188036795559210a5262f2b
[ "Apache-2.0" ]
null
null
null
src/models/encoder.py
guowenying111/SEKE
a913a19090eb690c3188036795559210a5262f2b
[ "Apache-2.0" ]
null
null
null
src/models/encoder.py
guowenying111/SEKE
a913a19090eb690c3188036795559210a5262f2b
[ "Apache-2.0" ]
null
null
null
import math import torch import torch.nn as nn from models.neural import MultiHeadedAttention, PositionwiseFeedForward from models.rnn import LayerNormLSTM class Classifier(nn.Module): def __init__(self, hidden_size): super(Classifier, self).__init__() self.linear1 = nn.Linear(hidden_size, 1) ...
39.065385
123
0.632962
1,389
10,157
4.362851
0.115191
0.022772
0.018152
0.024752
0.592409
0.513201
0.483663
0.478053
0.45066
0.40132
0
0.020443
0.243871
10,157
259
124
39.216216
0.76862
0.07837
0
0.360825
0
0
0.001824
0
0
0
0
0
0.010309
1
0.103093
false
0
0.025773
0.005155
0.231959
0.005155
0
0
0
null
0
0
0
0
0
0
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
1
0
8a27086b8164b7eb22322aad33d91e3b2ba51e9e
974
py
Python
djangox/lib/python3.8/site-packages/allauth/socialaccount/providers/dropbox/views.py
DemarcusL/django_wiki_lab
3b7cf18af7e0f89c94d10eb953ca018a150a2f55
[ "MIT" ]
6,342
2015-01-01T07:40:30.000Z
2022-03-31T04:18:30.000Z
djangox/lib/python3.8/site-packages/allauth/socialaccount/providers/dropbox/views.py
DemarcusL/django_wiki_lab
3b7cf18af7e0f89c94d10eb953ca018a150a2f55
[ "MIT" ]
2,198
2015-01-02T15:17:45.000Z
2022-03-28T10:20:43.000Z
djangox/lib/python3.8/site-packages/allauth/socialaccount/providers/dropbox/views.py
DemarcusL/django_wiki_lab
3b7cf18af7e0f89c94d10eb953ca018a150a2f55
[ "MIT" ]
2,928
2015-01-01T10:44:13.000Z
2022-03-31T03:20:16.000Z
import requests from allauth.socialaccount.providers.oauth2.views import ( OAuth2Adapter, OAuth2CallbackView, OAuth2LoginView, ) from .provider import DropboxOAuth2Provider class DropboxOAuth2Adapter(OAuth2Adapter): provider_id = DropboxOAuth2Provider.id access_token_url = "https://api.dropbox.c...
32.466667
86
0.737166
101
974
6.910891
0.564356
0.034384
0.031519
0.051576
0.060172
0
0
0
0
0
0
0.018337
0.160164
974
29
87
33.586207
0.834963
0
0
0
0
0
0.158111
0
0
0
0
0
0
1
0.045455
false
0
0.136364
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a27be0083c13f36f7583420125751ea6216ec63
1,599
py
Python
source/conf.py
Tatsh/upkeep
7fa99ff54104e3dec15d611eb174910337cf1870
[ "MIT" ]
3
2019-04-24T10:17:00.000Z
2020-03-11T06:18:42.000Z
source/conf.py
Tatsh/pezu
d5264b61a7113783ea29388180c16126cf185bdd
[ "MIT" ]
4
2020-04-27T19:56:29.000Z
2021-02-11T05:44:22.000Z
source/conf.py
Tatsh/pezu
d5264b61a7113783ea29388180c16126cf185bdd
[ "MIT" ]
null
null
null
# SPDX-License-Identifier: MIT # pylint: disable=redefined-builtin,invalid-name """See https://www.sphinx-doc.org/en/master/usage/configuration.html""" from typing import Sequence import os import sys # region Path setup sys.path.insert(0, os.path.abspath('..')) # endregion # region Project information project = 'Upk...
33.3125
77
0.760475
232
1,599
5.189655
0.568966
0.049834
0.018272
0.024917
0.081395
0
0
0
0
0
0
0.005848
0.144465
1,599
47
78
34.021277
0.874269
0.700438
0
0
0
0
0.274554
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a29601d340f52437bc81f042a9b4102018cde77
19,710
py
Python
generators/generate_pybind11_bindings.py
sweptlaser/pclpy
ab84da7ed264b5bc918af0d858e6d4063275aab9
[ "MIT" ]
null
null
null
generators/generate_pybind11_bindings.py
sweptlaser/pclpy
ab84da7ed264b5bc918af0d858e6d4063275aab9
[ "MIT" ]
null
null
null
generators/generate_pybind11_bindings.py
sweptlaser/pclpy
ab84da7ed264b5bc918af0d858e6d4063275aab9
[ "MIT" ]
null
null
null
import os import platform import shutil import sys from collections import Counter from collections import defaultdict, OrderedDict from os.path import join from typing import List, Dict, Set from CppHeaderParser import CppHeaderParser from CppHeaderParser.CppHeaderParser import CppMethod import generators.dependency...
40.22449
117
0.640589
2,351
19,710
5.065079
0.118673
0.040309
0.02956
0.012849
0.251512
0.183994
0.153594
0.1195
0.080114
0.05744
0
0.002155
0.270167
19,710
489
118
40.306748
0.825652
0.030999
0
0.157182
0
0
0.049725
0.003567
0
0
0
0
0
1
0.081301
false
0.00542
0.054201
0.00542
0.208672
0.01084
0
0
0
null
0
0
0
0
0
0
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
1
0
8a29eefe067ae42942e4915562e64419af3d1cde
950
py
Python
scripts_python3/exchange/deleteExchange.py
bcvsolutions/winrm-ad-connector
9b45dae78d3ba24fe6b00e090f8763d3162e1570
[ "Apache-2.0" ]
null
null
null
scripts_python3/exchange/deleteExchange.py
bcvsolutions/winrm-ad-connector
9b45dae78d3ba24fe6b00e090f8763d3162e1570
[ "Apache-2.0" ]
2
2020-05-27T07:15:28.000Z
2020-12-17T05:22:54.000Z
scripts_python3/exchange/deleteExchange.py
bcvsolutions/winrm-ad-connector
9b45dae78d3ba24fe6b00e090f8763d3162e1570
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # All params from IdM is stored in environment and you can get them by os.environ["paramName"] import sys, os # this is needed for importing file winrm_wrapper from parent dir sys.path.append(os.path.join(os.path.dirname(__file__), '..')) import winrm_wrapper import codecs...
35.185185
134
0.705263
133
950
4.902256
0.503759
0.124233
0.092025
0.070552
0.088957
0
0
0
0
0
0
0.00369
0.144211
950
26
135
36.538462
0.798278
0.270526
0
0
0
0
0.206696
0
0
0
0
0
0
1
0
false
0.066667
0.2
0
0.2
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8a2ac410faa6645af8d41c21c8f5834684cf1a20
2,152
py
Python
tests/registry_test.py
Walon1998/dace
95ddfd3e9a5c654f0f0d66d026e0b64ec0f028a0
[ "BSD-3-Clause" ]
1
2022-03-11T13:36:34.000Z
2022-03-11T13:36:34.000Z
tests/registry_test.py
Walon1998/dace
95ddfd3e9a5c654f0f0d66d026e0b64ec0f028a0
[ "BSD-3-Clause" ]
null
null
null
tests/registry_test.py
Walon1998/dace
95ddfd3e9a5c654f0f0d66d026e0b64ec0f028a0
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2019-2021 ETH Zurich and the DaCe authors. All rights reserved. import unittest from aenum import Enum, auto from dace import registry @registry.make_registry class ExtensibleClass(object): pass class Extension(ExtensibleClass): pass @registry.extensible_enum class ExtensibleEnumeration(Enum):...
29.479452
89
0.697955
220
2,152
6.704545
0.290909
0.135593
0.109831
0.065085
0.380339
0.357288
0.295593
0.143729
0.143729
0.143729
0
0.012419
0.214219
2,152
72
90
29.888889
0.859846
0.033922
0
0.352941
0
0
0.004333
0
0
0
0
0
0.235294
1
0.137255
false
0.117647
0.058824
0
0.392157
0
0
0
0
null
0
0
0
0
0
0
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
8a2b2a493d7950b9f9a43469d730e06de8f5d85d
2,372
py
Python
tests/conftest.py
aviramha/aiologstash2
08c5127bf77e3b66ddcb2e8acff82368dbc58af7
[ "MIT" ]
1
2022-02-01T10:10:05.000Z
2022-02-01T10:10:05.000Z
tests/conftest.py
aviramha/aiologstash2
08c5127bf77e3b66ddcb2e8acff82368dbc58af7
[ "MIT" ]
null
null
null
tests/conftest.py
aviramha/aiologstash2
08c5127bf77e3b66ddcb2e8acff82368dbc58af7
[ "MIT" ]
null
null
null
import asyncio import logging from json import loads import pytest from aiologstash2 import create_tcp_handler logging.getLogger().setLevel(logging.DEBUG) class FakeTcpServer: def __init__(self): self.data = bytearray() self.server = None self.futs = set() async def start(self): ...
23.029126
83
0.605818
291
2,372
4.831615
0.298969
0.068279
0.038407
0.044808
0.118777
0.118777
0.045519
0
0
0
0
0.01194
0.293845
2,372
102
84
23.254902
0.827463
0
0
0.186667
0
0
0.016863
0
0
0
0
0
0
1
0.04
false
0
0.066667
0.013333
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a2b9f3633d27fae8143c30667678e54429c7aa8
19,973
py
Python
tcex/playbooks/playbooks_base.py
RichieB2B/tcex
eba20a67d4b8e3596c895b7c45325716267d7c85
[ "Apache-2.0" ]
null
null
null
tcex/playbooks/playbooks_base.py
RichieB2B/tcex
eba20a67d4b8e3596c895b7c45325716267d7c85
[ "Apache-2.0" ]
null
null
null
tcex/playbooks/playbooks_base.py
RichieB2B/tcex
eba20a67d4b8e3596c895b7c45325716267d7c85
[ "Apache-2.0" ]
null
null
null
"""TcEx Framework Playbook module""" # standard library import base64 import json import re from collections import OrderedDict from collections.abc import Iterable class PlaybooksBase: """TcEx Playbook Module Base Class Args: tcex (TcEx): Instance of TcEx class. context (str): The Redis cont...
38.857977
100
0.586191
2,357
19,973
4.852355
0.134493
0.038821
0.016788
0.012591
0.496546
0.436216
0.387427
0.321063
0.270263
0.254525
0
0.007524
0.321284
19,973
513
101
38.933723
0.836161
0.313373
0
0.46831
0
0
0.129109
0.031023
0
0
0
0.001949
0
1
0.084507
false
0
0.017606
0
0.225352
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a2c1d2751e3ec16040b8d54e21b7960cfed3c22
31,780
py
Python
DeepLearningExamples/TensorFlow/LanguageModeling/BERT/run_classifier.py
puririshi98/benchmark
79f554f1e1cf36f62994c78e0e6e5b360f554022
[ "BSD-3-Clause" ]
null
null
null
DeepLearningExamples/TensorFlow/LanguageModeling/BERT/run_classifier.py
puririshi98/benchmark
79f554f1e1cf36f62994c78e0e6e5b360f554022
[ "BSD-3-Clause" ]
null
null
null
DeepLearningExamples/TensorFlow/LanguageModeling/BERT/run_classifier.py
puririshi98/benchmark
79f554f1e1cf36f62994c78e0e6e5b360f554022
[ "BSD-3-Clause" ]
null
null
null
# coding=utf-8 # Copyright (c) 2019 NVIDIA CORPORATION. All rights reserved. # Copyright 2018 The Google AI Language Team Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http...
42.204515
136
0.685809
4,420
31,780
4.673529
0.13371
0.025948
0.032435
0.051847
0.480225
0.441884
0.397202
0.367236
0.314034
0.276855
0
0.017553
0.196916
31,780
752
137
42.260638
0.791827
0.064317
0
0.274956
0
0
0.17041
0.014636
0
0
0
0
0
1
0.019264
false
0
0.036778
0
0.078809
0.012259
0
0
0
null
0
0
0
0
0
0
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
1
0
8a2c56df110778d23c3bb4671a208f95d1915011
69,038
py
Python
FusionIIIT/applications/academic_information/views.py
29rj/Fusion
bc2941a67532e183adeb0bc4042df0b182b9e3aa
[ "bzip2-1.0.6" ]
29
2019-02-20T15:35:33.000Z
2022-03-22T11:10:57.000Z
FusionIIIT/applications/academic_information/views.py
29rj/Fusion
bc2941a67532e183adeb0bc4042df0b182b9e3aa
[ "bzip2-1.0.6" ]
409
2019-01-17T19:30:51.000Z
2022-03-31T16:28:45.000Z
FusionIIIT/applications/academic_information/views.py
29rj/Fusion
bc2941a67532e183adeb0bc4042df0b182b9e3aa
[ "bzip2-1.0.6" ]
456
2019-01-12T11:01:13.000Z
2022-03-30T17:06:52.000Z
import datetime import json import os import xlrd import logging from io import BytesIO from xlsxwriter.workbook import Workbook from xhtml2pdf import pisa from itertools import chain from django.contrib.auth.models import User from django.http import HttpResponse, HttpResponseRedirect, JsonResponse from django.short...
35.826674
199
0.591761
7,731
69,038
5.165438
0.071401
0.024791
0.016652
0.019282
0.622202
0.581109
0.55484
0.526794
0.509015
0.486828
0
0.005869
0.30153
69,038
1,926
200
35.845275
0.822277
0.435094
0
0.525172
0
0
0.081307
0.015799
0
0
0
0
0
1
0.042334
false
0.010297
0.026316
0.004577
0.140732
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a2c8b21ea65c7fbe7c24c113fc96385ffdf77cb
1,245
py
Python
subject/tests/functional/test_glance_replicator.py
laoyigrace/subject
e6ed989fdc250917a19788112b22322b73b3550f
[ "Apache-2.0" ]
null
null
null
subject/tests/functional/test_glance_replicator.py
laoyigrace/subject
e6ed989fdc250917a19788112b22322b73b3550f
[ "Apache-2.0" ]
null
null
null
subject/tests/functional/test_glance_replicator.py
laoyigrace/subject
e6ed989fdc250917a19788112b22322b73b3550f
[ "Apache-2.0" ]
null
null
null
# 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, software # d...
36.617647
78
0.683534
164
1,245
5.170732
0.646341
0.070755
0.03066
0.037736
0
0
0
0
0
0
0
0.028008
0.225703
1,245
33
79
37.727273
0.85166
0.560643
0
0
0
0
0.23619
0.041905
0
0
0
0
0.076923
1
0.076923
false
0
0.230769
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a2d310413da9e85779ff39fa32f7bd2c4075553
8,648
py
Python
test/countries/test_united_states.py
OmoMicheal/marketanalysis
ddc2476ec918a28658e64574e89d8944cee75617
[ "MIT" ]
2
2021-06-29T21:56:15.000Z
2022-02-17T22:10:55.000Z
test/countries/test_united_states.py
OmoMicheal/marketanalysis
ddc2476ec918a28658e64574e89d8944cee75617
[ "MIT" ]
null
null
null
test/countries/test_united_states.py
OmoMicheal/marketanalysis
ddc2476ec918a28658e64574e89d8944cee75617
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # marketanalysis # ---------------- # A fast, efficient Python library for generating country, province and state # specific sets of marketmarketholidayss on the fly. It aims to make determining whether a # specific date is a holiday as fast and flexible as possible. # # Author: MichealO...
38.096916
107
0.591929
1,012
8,648
4.98419
0.172925
0.173275
0.145916
0.148295
0.569191
0.537669
0.464116
0.376289
0.327121
0.296788
0
0.115515
0.285268
8,648
227
108
38.096916
0.700534
0.074006
0
0.275281
0
0
0.011136
0
0
0
0
0
0.303371
1
0.089888
false
0
0.02809
0
0.123596
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a2e82e1a97d54e2d6df29004c910ab7dc7dda4f
344
py
Python
src/ros_comm/rosmsg/setup.py
jungleni/ros_code_reading
499e98c0b0d309da78060b19b55c420c22110d65
[ "Apache-2.0" ]
742
2017-07-05T02:49:36.000Z
2022-03-30T12:55:43.000Z
src/ros_comm/rosmsg/setup.py
jungleni/ros_code_reading
499e98c0b0d309da78060b19b55c420c22110d65
[ "Apache-2.0" ]
73
2017-07-06T12:50:51.000Z
2022-03-07T08:07:07.000Z
src/ros_comm/rosmsg/setup.py
jungleni/ros_code_reading
499e98c0b0d309da78060b19b55c420c22110d65
[ "Apache-2.0" ]
425
2017-07-04T22:03:29.000Z
2022-03-29T06:59:06.000Z
#!/usr/bin/env python from distutils.core import setup from catkin_pkg.python_setup import generate_distutils_setup d = generate_distutils_setup( packages=['rosmsg'], package_dir={'': 'src'}, scripts=['scripts/rosmsg', 'scripts/rosmsg-proto', 'scripts/rossrv'], requires=['genmsg', 'rosbag', 'roslib', ...
24.571429
73
0.700581
42
344
5.571429
0.619048
0.145299
0.188034
0
0
0
0
0
0
0
0
0
0.127907
344
13
74
26.461538
0.78
0.05814
0
0
1
0
0.250774
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8a2eae99a5174fb4958d90cc6f7e9618fa70f6e1
2,414
py
Python
unsorted/linked_list.py
AlgoArt/algoart
7a7a28f099351a6b6c1b360c794f697881c7e429
[ "Unlicense" ]
1
2015-09-20T06:35:58.000Z
2015-09-20T06:35:58.000Z
unsorted/linked_list.py
algoart/algoart
7a7a28f099351a6b6c1b360c794f697881c7e429
[ "Unlicense" ]
null
null
null
unsorted/linked_list.py
algoart/algoart
7a7a28f099351a6b6c1b360c794f697881c7e429
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python # linked_list.py - Linked list implementation in Python by Sergey 2015 """ Linked list implementation in Python """ # Standard modules import unittest import sys import os import argparse import re import random import subprocess import getpass import shutil # Additional modules ############...
22.773585
79
0.474731
238
2,414
4.668067
0.319328
0.090009
0.057606
0.054005
0.108011
0
0
0
0
0
0
0.007642
0.241094
2,414
105
80
22.990476
0.598799
0.133389
0
0
0
0
0.008238
0
0
0
0
0
0.105263
1
0.157895
false
0.017544
0.157895
0.017544
0.45614
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a2f2c6d37a1cc224033909e079c7c6469595c55
8,555
py
Python
examples/seismic/viscoacoustic/wavesolver.py
speglich/devito
b636f7694eb6a1e19b0f2c48f44ff63613029a7b
[ "MIT" ]
1
2020-01-31T10:35:49.000Z
2020-01-31T10:35:49.000Z
examples/seismic/viscoacoustic/wavesolver.py
speglich/devito
b636f7694eb6a1e19b0f2c48f44ff63613029a7b
[ "MIT" ]
52
2020-10-12T19:29:09.000Z
2022-03-10T14:05:22.000Z
examples/seismic/viscoacoustic/wavesolver.py
alisiahkoohi/devito
f535a44dff12de2837eb6e3217a65ffb2d371cb8
[ "MIT" ]
1
2020-06-02T03:31:11.000Z
2020-06-02T03:31:11.000Z
from devito import VectorTimeFunction, TimeFunction, NODE from devito.tools import memoized_meth from examples.seismic import PointSource from examples.seismic.viscoacoustic.operators import (ForwardOperator, AdjointOperator) class ViscoacousticWaveSolver(object): """ Solver object that provides operators for...
42.142857
89
0.575453
988
8,555
4.911943
0.205466
0.038945
0.029466
0.031321
0.515763
0.450237
0.409437
0.39048
0.366577
0.334844
0
0.004998
0.345178
8,555
202
90
42.351485
0.8613
0.396844
0
0.4125
0
0
0.007155
0
0
0
0
0
0
1
0.075
false
0
0.05
0.0125
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a2f3c798c33272d514bf543343fc4f88d9112f6
1,483
py
Python
StaticProcess/apriori.py
NIL-zhuang/NJU-Data-Integration
78315d33cda6b69dd16a4704fa8e0dfc6fc359b6
[ "MIT" ]
null
null
null
StaticProcess/apriori.py
NIL-zhuang/NJU-Data-Integration
78315d33cda6b69dd16a4704fa8e0dfc6fc359b6
[ "MIT" ]
null
null
null
StaticProcess/apriori.py
NIL-zhuang/NJU-Data-Integration
78315d33cda6b69dd16a4704fa8e0dfc6fc359b6
[ "MIT" ]
null
null
null
import pandas as pd import os from tqdm import tqdm from collections import defaultdict from mlxtend.preprocessing import TransactionEncoder from mlxtend.frequent_patterns import apriori dataPath = "data/static" itemSetList = [] def loadDataSet(): with open(os.path.join(dataPath, "aprioriData.csv"), 'r') as f: ...
32.23913
90
0.666891
194
1,483
4.969072
0.463918
0.082988
0.03112
0.056017
0.116183
0.116183
0.082988
0.082988
0
0
0
0.005795
0.185435
1,483
45
91
32.955556
0.792219
0
0
0
0
0
0.104518
0.014835
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.305556
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a2f400a7655554fbc57b5f622cd3afad8069e45
427
py
Python
gcp-python-fn/main.py
FuriKuri/faas-playground
52618e21064e327d2874d2b73cfe5fb247d3dd6e
[ "MIT" ]
1
2019-05-07T13:15:16.000Z
2019-05-07T13:15:16.000Z
gcp-python-fn/main.py
FuriKuri/faas-playground
52618e21064e327d2874d2b73cfe5fb247d3dd6e
[ "MIT" ]
null
null
null
gcp-python-fn/main.py
FuriKuri/faas-playground
52618e21064e327d2874d2b73cfe5fb247d3dd6e
[ "MIT" ]
null
null
null
def hello_world(request): request_json = request.get_json() name = 'World' if request_json and 'name' in request_json: name = request_json['name'] headers = { 'Access-Control-Allow-Origin': 'https://furikuri.net', 'Access-Control-Allow-Methods': 'GET, POST', 'Access-Contr...
35.583333
66
0.620609
51
427
5.078431
0.529412
0.169884
0.208494
0
0
0
0
0
0
0
0
0.009091
0.227166
427
11
67
38.818182
0.775758
0
0
0
0
0
0.379391
0.194379
0
0
0
0
0
1
0.090909
false
0
0
0
0.181818
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a3098e50d11c10c71215d547da0dfbd833ce050
1,205
py
Python
tonclient/test/helpers.py
move-ton/ton-client-py
a9393a0e03b5da9bf5369a44c6873a3e720af229
[ "Apache-2.0" ]
28
2020-10-29T06:57:32.000Z
2022-03-20T12:26:14.000Z
tonclient/test/helpers.py
move-ton/ton-client-py
a9393a0e03b5da9bf5369a44c6873a3e720af229
[ "Apache-2.0" ]
1
2021-03-30T18:18:17.000Z
2021-04-04T15:35:10.000Z
tonclient/test/helpers.py
move-ton/ton-client-py
a9393a0e03b5da9bf5369a44c6873a3e720af229
[ "Apache-2.0" ]
8
2020-10-28T20:11:52.000Z
2022-01-12T12:28:02.000Z
import os from tonclient.client import TonClient from tonclient.types import Abi, CallSet, Signer, ClientConfig, \ ParamsOfEncodeMessage, ParamsOfProcessMessage BASE_DIR = os.path.dirname(__file__) SAMPLES_DIR = os.path.join(BASE_DIR, 'samples') GIVER_ADDRESS = '0:f5c2510bfe407363cb1db6b9d7bc1184a05f8b343aeaa8281...
36.515152
85
0.778423
136
1,205
6.602941
0.411765
0.053452
0.020045
0.055679
0.082405
0.082405
0
0
0
0
0
0.074144
0.126971
1,205
32
86
37.65625
0.779468
0
0
0
0
0
0.156017
0.109544
0
0
0
0
0
1
0.08
false
0
0.12
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a30c3ee79ce2efcb14fdc2c9e26c3ab71e499c1
671
py
Python
tests/test_i18n.py
vthriller/flask-kajiki
eadaa0aa45d23507066758b9e74091bddbc943c4
[ "BSD-3-Clause" ]
null
null
null
tests/test_i18n.py
vthriller/flask-kajiki
eadaa0aa45d23507066758b9e74091bddbc943c4
[ "BSD-3-Clause" ]
null
null
null
tests/test_i18n.py
vthriller/flask-kajiki
eadaa0aa45d23507066758b9e74091bddbc943c4
[ "BSD-3-Clause" ]
null
null
null
from kajiki import i18n from flask import request from flask_kajiki import render_template # N. B. settting i18n.gettext would affect tests from all modules, # so we test for request path that only functions from this module could set def gettext(s): if request.path == '/test_i18n': return s.upper() r...
27.958333
76
0.704918
94
671
4.925532
0.617021
0.051836
0.051836
0
0
0
0
0
0
0
0
0.022642
0.210134
671
23
77
29.173913
0.850943
0.342772
0
0
0
0
0.096998
0
0
0
0
0.043478
0.076923
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
1
0
0
0
0
0
0
0
1
0
0
2
8a3176dcac3313f88ab52ef3d929182aaaba205a
12,423
py
Python
mmdet/models/roi_heads/mask_heads/fcn_mask_head.py
jstzwjr/mmdetection
1c2878eb4f4da2978dcd9a05f9d0247726680213
[ "Apache-2.0" ]
1
2020-09-21T12:13:48.000Z
2020-09-21T12:13:48.000Z
mmdet/models/roi_heads/mask_heads/fcn_mask_head.py
xiaojianying/mmdetection
a10d24d686e8714f42a9022da89124d04c0389ad
[ "Apache-2.0" ]
null
null
null
mmdet/models/roi_heads/mask_heads/fcn_mask_head.py
xiaojianying/mmdetection
a10d24d686e8714f42a9022da89124d04c0389ad
[ "Apache-2.0" ]
null
null
null
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from mmcv.cnn import ConvModule, build_upsample_layer from mmcv.ops import Conv2d from mmcv.ops.carafe import CARAFEPack from mmcv.runner import auto_fp16, force_fp32 from torch.nn.modules.utils import _pair from mmdet.core import ma...
39.189274
79
0.583353
1,634
12,423
4.205018
0.209914
0.025615
0.017465
0.016591
0.190656
0.11483
0.07699
0.056469
0.056469
0.034347
0
0.017174
0.325042
12,423
316
80
39.313291
0.802266
0.182484
0
0.108225
0
0
0.030471
0.002816
0
0
0
0.003165
0.004329
1
0.030303
false
0
0.047619
0
0.108225
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a3245f4587a32c402e78f398ab94bc52ef0cf9a
780
py
Python
PaddleOCR/deploy/hubserving/ocr_det/params.py
TangJiamin/Ultra_light_OCR_No.23
594aa286dc2f88614141838ce45c164647226cdb
[ "Apache-2.0" ]
null
null
null
PaddleOCR/deploy/hubserving/ocr_det/params.py
TangJiamin/Ultra_light_OCR_No.23
594aa286dc2f88614141838ce45c164647226cdb
[ "Apache-2.0" ]
null
null
null
PaddleOCR/deploy/hubserving/ocr_det/params.py
TangJiamin/Ultra_light_OCR_No.23
594aa286dc2f88614141838ce45c164647226cdb
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function class Config(object): pass def read_params(): cfg = Config() #params for text detector cfg.det_algorithm = "DB" cfg.det_model_dir = "./inference/ch_...
22.285714
70
0.661538
116
780
4.034483
0.508621
0.128205
0.102564
0
0
0
0
0
0
0
0
0.030822
0.251282
780
34
71
22.941176
0.770548
0.203846
0
0
0
0
0.083045
0.074394
0
0
0
0
0
1
0.055556
false
0.055556
0.166667
0
0.333333
0.055556
0
0
0
null
0
0
0
0
0
0
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
8a328b7be397a48ed8f6202385b17e0dbf81357c
12,156
py
Python
networks/larflow/models/larflow_uresnet.py
LArbys/ublarcvserver
02381c937f49a2eab2f754017ab431c3f6fa70d7
[ "Apache-2.0" ]
2
2020-07-09T19:34:03.000Z
2021-06-21T23:09:23.000Z
networks/larflow/models/larflow_uresnet.py
LArbys/ublarcvserver
02381c937f49a2eab2f754017ab431c3f6fa70d7
[ "Apache-2.0" ]
null
null
null
networks/larflow/models/larflow_uresnet.py
LArbys/ublarcvserver
02381c937f49a2eab2f754017ab431c3f6fa70d7
[ "Apache-2.0" ]
null
null
null
import torch.nn as nn import torch as torch import math import torch.utils.model_zoo as model_zoo ########################################################### # # U-ResNet # U-net witih ResNet modules # # Semantic segmentation network used by MicroBooNE # to label track/shower pixels # # resnet implementation from pyto...
36.286567
152
0.599786
1,583
12,156
4.43904
0.131396
0.107585
0.043546
0.037
0.562971
0.525829
0.444002
0.410132
0.362317
0.346236
0
0.044164
0.27542
12,156
334
153
36.39521
0.753633
0.069842
0
0.362791
0
0
0.023833
0
0
0
0
0
0
0
null
null
0.04186
0.018605
null
null
0.093023
0
0
0
null
0
0
0
0
0
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
8a3315016cdca312326db456e1d5eabcd1f0d049
14,798
py
Python
examples/machine_reading_comprehension/DuReader-robust/run_du.py
wzzju/PaddleNLP
1757a4fc2a3cd5a45f75c6482746777752b414d8
[ "Apache-2.0" ]
3
2021-09-06T11:27:49.000Z
2021-11-09T08:19:00.000Z
examples/machine_reading_comprehension/DuReader-robust/run_du.py
svs1984/PaddleNLP
9eb9e23b01d044706c789158ac6cf0d365aea848
[ "Apache-2.0" ]
null
null
null
examples/machine_reading_comprehension/DuReader-robust/run_du.py
svs1984/PaddleNLP
9eb9e23b01d044706c789158ac6cf0d365aea848
[ "Apache-2.0" ]
4
2021-08-23T07:46:06.000Z
2021-09-23T08:37:03.000Z
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # Copyright 2018 The HuggingFace Inc. team. # # 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/licen...
43.651917
120
0.648331
1,844
14,798
4.9718
0.221258
0.00709
0.01178
0.010689
0.348604
0.300175
0.280105
0.244764
0.218586
0.218586
0
0.006164
0.276456
14,798
338
121
43.781065
0.850098
0.213137
0
0.188841
0
0.004292
0.046909
0
0
0
0
0
0
1
0.030043
false
0
0.081545
0
0.128755
0.021459
0
0
0
null
0
0
0
0
0
0
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
1
0
8a3543c746387ad12029585c2e306e26ec984737
4,324
py
Python
Deep_Q_Network/DQN_for_FrozenLake_Discrete_Domain.py
quangnguyendang/Reinforcement_Learning
2551ce95068561c553500838ee6b976f001ba667
[ "MIT" ]
null
null
null
Deep_Q_Network/DQN_for_FrozenLake_Discrete_Domain.py
quangnguyendang/Reinforcement_Learning
2551ce95068561c553500838ee6b976f001ba667
[ "MIT" ]
null
null
null
Deep_Q_Network/DQN_for_FrozenLake_Discrete_Domain.py
quangnguyendang/Reinforcement_Learning
2551ce95068561c553500838ee6b976f001ba667
[ "MIT" ]
null
null
null
# Credit to https://medium.com/emergent-future/simple-reinforcement-learning-with-tensorflow-part-0-q-learning-with-tables-and-neural-networks-d195264329d0 import gym import tensorflow as tf import numpy as np import matplotlib.pyplot as plt env = gym.make('FrozenLake-v0') # NEURAL NETWORK IMPLEMENTATION tf.reset_d...
30.666667
155
0.586725
649
4,324
3.861325
0.311248
0.023144
0.029928
0.036712
0.2498
0.206704
0.171588
0.171588
0.143655
0.112929
0
0.042924
0.256475
4,324
140
156
30.885714
0.736547
0.514107
0
0.075472
0
0
0.035961
0
0
0
0
0
0
1
0
false
0
0.075472
0
0.075472
0.018868
0
0
0
null
0
0
0
0
0
0
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
1
0
8a3651a34d3b1893e6f70ebe64b9db39d329cd63
8,496
py
Python
testing/cross_language/util/supported_key_types.py
chanced/tink
9cc3a01ac0165b033ed51dc9d0812a98b4b6e305
[ "Apache-2.0" ]
null
null
null
testing/cross_language/util/supported_key_types.py
chanced/tink
9cc3a01ac0165b033ed51dc9d0812a98b4b6e305
[ "Apache-2.0" ]
null
null
null
testing/cross_language/util/supported_key_types.py
chanced/tink
9cc3a01ac0165b033ed51dc9d0812a98b4b6e305
[ "Apache-2.0" ]
1
2022-01-02T20:54:04.000Z
2022-01-02T20:54:04.000Z
# 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, software # distributed under t...
37.263158
79
0.711982
1,031
8,496
5.412221
0.163919
0.083871
0.021505
0.037634
0.467921
0.431183
0.307168
0.251971
0.166667
0.109857
0
0.102619
0.173023
8,496
227
80
37.427313
0.691574
0.107345
0
0.035176
0
0
0.365115
0.174028
0
0
0
0
0
1
0
false
0
0.040201
0
0.040201
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a36ee854524bdd692e5d46cc0bfba0c999e570b
3,625
py
Python
signer.py
chapeltech/remote-signer
83d083ed7e8c7123187ba70ee3132b898e8ef02e
[ "MIT" ]
39
2018-07-08T01:01:18.000Z
2022-01-03T13:48:10.000Z
signer.py
chapeltech/remote-signer
83d083ed7e8c7123187ba70ee3132b898e8ef02e
[ "MIT" ]
4
2019-10-04T11:15:15.000Z
2022-02-03T00:17:47.000Z
signer.py
chapeltech/remote-signer
83d083ed7e8c7123187ba70ee3132b898e8ef02e
[ "MIT" ]
19
2018-09-20T11:52:25.000Z
2022-02-02T19:21:04.000Z
#!/usr/bin/env python3 ######################################################### # Written by Carl Youngblood, carl@blockscale.net # Copyright (c) 2018 Blockscale LLC # released under the MIT license ######################################################### from flask import Flask, request, Response, json, jsonify fr...
33.564815
105
0.592552
410
3,625
5.121951
0.34878
0.05
0.035714
0.021429
0.405714
0.341905
0.285238
0.262857
0.262857
0.262857
0
0.020268
0.237793
3,625
107
106
33.878505
0.739776
0.045517
0
0.406977
0
0
0.267884
0.038911
0
0
0
0
0
1
0.034884
false
0
0.046512
0.011628
0.116279
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a37a73802d1db18a333fdc568416dbf6367829d
3,658
py
Python
unwind.py
0x1F9F1/binja-msvc
be2577c22c8d37fd1e2e211f80b1c9a920705bd2
[ "MIT" ]
9
2019-02-08T10:01:39.000Z
2021-04-29T12:27:34.000Z
unwind.py
DatBrick/binja-msvc
751ffc1450c569bad23ac67a761d0f1fbd4ca4c4
[ "MIT" ]
1
2019-07-04T20:09:57.000Z
2019-07-12T11:10:15.000Z
unwind.py
DatBrick/binja-msvc
751ffc1450c569bad23ac67a761d0f1fbd4ca4c4
[ "MIT" ]
2
2019-03-03T13:00:14.000Z
2020-05-01T05:35:04.000Z
from binaryninja import log from .utils import BinjaStruct, read_pe_header, split_bits, update_percentage # https://msdn.microsoft.com/en-us/library/ft9x1kdx.aspx RUNTIME_FUNCTION_t = BinjaStruct('<III', names = ('BeginAddress', 'EndAddress', 'UnwindData')) def read_runtime_function(view, address): runtime_funct...
31
148
0.667578
429
3,658
5.410256
0.268065
0.081861
0.037915
0.029729
0.168031
0.09651
0.028436
0
0
0
0
0.012807
0.231547
3,658
117
149
31.264957
0.812878
0.014762
0
0.103896
0
0
0.12854
0.012215
0
0
0.004164
0
0
1
0.051948
false
0
0.025974
0
0.116883
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a37f39c3ffc420ffcb4173ab24c22f5ec606276
2,538
py
Python
pixloc/visualization/viz_3d.py
jmorlana/pixloc
90f7e968398252e8557b284803ee774cb8d80cd0
[ "Apache-2.0" ]
457
2021-03-17T00:39:33.000Z
2022-03-30T02:38:19.000Z
pixloc/visualization/viz_3d.py
jmorlana/pixloc
90f7e968398252e8557b284803ee774cb8d80cd0
[ "Apache-2.0" ]
31
2021-03-17T07:35:34.000Z
2022-03-31T07:07:56.000Z
pixloc/visualization/viz_3d.py
jmorlana/pixloc
90f7e968398252e8557b284803ee774cb8d80cd0
[ "Apache-2.0" ]
56
2021-03-17T05:55:09.000Z
2022-03-15T01:38:35.000Z
""" 3D visualization primitives based on Plotly. We might want to instead use a more powerful library like Open3D. Plotly however supports animations, buttons and sliders. 1) Initialize a figure with `fig = init_figure()` 2) Plot points, cameras, lines, or create a slider animation. 3) Call `fig.show()` to render the ...
32.126582
74
0.566982
392
2,538
3.622449
0.387755
0.009859
0.030986
0.008451
0.067606
0.04507
0.028169
0.028169
0.028169
0.028169
0
0.036489
0.254925
2,538
78
75
32.538462
0.714437
0.194247
0
0.092593
0
0
0.065444
0
0
0
0
0
0
1
0.074074
false
0
0.055556
0
0.148148
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a37f74b88dcc7ed94cf7a22b08f15fb01357b23
1,882
py
Python
day04/c.py
Net-Mist/advent_of_code2021
124d773356bee2794294800de7673d5fac24db0a
[ "MIT" ]
1
2022-01-03T09:21:33.000Z
2022-01-03T09:21:33.000Z
day04/c.py
Net-Mist/advent_of_code2021
124d773356bee2794294800de7673d5fac24db0a
[ "MIT" ]
null
null
null
day04/c.py
Net-Mist/advent_of_code2021
124d773356bee2794294800de7673d5fac24db0a
[ "MIT" ]
null
null
null
import numpy as np GRID_SIZE = 5 def read_bingo_grid(lines: list[str]) -> list[list[int]]: return [[int(n) for n in line.split()] for line in lines] def bingo_step(grids: np.ndarray, checked_grids: np.ndarray, number: int) -> None: checked_grids[np.where(grids == number)] = True def check_victory(check_g...
34.218182
120
0.624867
292
1,882
3.815068
0.260274
0.075404
0.050269
0.037702
0.219031
0.125673
0.041293
0.041293
0
0
0
0.016552
0.229543
1,882
54
121
34.851852
0.751724
0.035069
0
0
0
0
0.016575
0
0
0
0
0
0
1
0.128205
false
0
0.025641
0.025641
0.25641
0.051282
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a3aa16cb3dbe2b4a517472d48c9588e47d4f479
1,497
py
Python
altair/vegalite/v2/examples/us_population_pyramid_over_time.py
hugovk/altair
a3c9f06790f7a8c5c7e2c98278d0f69e4630b5be
[ "BSD-3-Clause" ]
1
2022-03-13T21:42:09.000Z
2022-03-13T21:42:09.000Z
altair/vegalite/v2/examples/us_population_pyramid_over_time.py
RoyMachineLearning/altair
74a765b373694776e63d224d99536975cc173810
[ "BSD-3-Clause" ]
null
null
null
altair/vegalite/v2/examples/us_population_pyramid_over_time.py
RoyMachineLearning/altair
74a765b373694776e63d224d99536975cc173810
[ "BSD-3-Clause" ]
null
null
null
''' US Population Pyramid Over Time =============================== A population pyramid shows the distribution of age groups within a population. It uses a slider widget that is bound to the year to visualize the age distribution over time. ''' # category: case studies import altair as alt from altair.expr import datu...
29.352941
78
0.674683
217
1,497
4.56682
0.428571
0.020182
0.030272
0.0333
0.313824
0.25328
0.25328
0.25328
0.230071
0.230071
0
0.016393
0.144289
1,497
51
79
29.352941
0.757221
0.174349
0
0.257143
0
0
0.117168
0
0
0
0
0
0
1
0
false
0
0.085714
0
0.085714
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a3b3f3a85478c2b401e7083ce3f440c82013e30
987
py
Python
mtp_api/apps/core/migrations/0004_token.py
ministryofjustice/mtp-api
b1c34c29e4aa9f48598cb060abe1368ae7686e0b
[ "MIT" ]
5
2016-01-05T12:21:35.000Z
2020-10-28T17:06:02.000Z
mtp_api/apps/core/migrations/0004_token.py
ministryofjustice/mtp-api
b1c34c29e4aa9f48598cb060abe1368ae7686e0b
[ "MIT" ]
209
2015-06-12T09:39:41.000Z
2022-03-21T16:01:19.000Z
mtp_api/apps/core/migrations/0004_token.py
ministryofjustice/mtp-api
b1c34c29e4aa9f48598cb060abe1368ae7686e0b
[ "MIT" ]
1
2021-04-11T06:19:23.000Z
2021-04-11T06:19:23.000Z
from django.db import migrations, models import django.utils.timezone import model_utils.fields class Migration(migrations.Migration): dependencies = [ ('core', '0003_auto_20180404_1515'), ] operations = [ migrations.CreateModel( name='Token', fields=[ ...
37.961538
147
0.591692
90
987
6.366667
0.544444
0.057592
0.099476
0.09075
0.184991
0.184991
0.184991
0.184991
0.184991
0
0
0.024965
0.269504
987
25
148
39.48
0.769764
0
0
0
0
0
0.126646
0.023303
0
0
0
0
0
1
0
false
0
0.130435
0
0.26087
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a3c0f03126e25cbd17946a5a7c81e22d30b3f4d
821
py
Python
palm_tree/coconut_1/models.py
m-hintz-42/a-palm-tree
57656874335f4dfae13cf720668f2c5391621618
[ "MIT" ]
null
null
null
palm_tree/coconut_1/models.py
m-hintz-42/a-palm-tree
57656874335f4dfae13cf720668f2c5391621618
[ "MIT" ]
null
null
null
palm_tree/coconut_1/models.py
m-hintz-42/a-palm-tree
57656874335f4dfae13cf720668f2c5391621618
[ "MIT" ]
null
null
null
from palm_tree import db class Data(db.Model): id = db.Column(db.Integer, primary_key=True) uuid = db.Column(db.Integer) response = db.Column(db.Text) datetime = db.Column(db.DateTime) def __init__(self, uuid, response, datetime): self.uuid = uuid self.response = response ...
25.65625
50
0.613886
105
821
4.619048
0.247619
0.131959
0.164948
0.140206
0.76701
0.668041
0.668041
0.668041
0.668041
0.668041
0
0
0.252132
821
31
51
26.483871
0.789902
0.460414
0
0
0
0
0.021028
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0.083333
0.75
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
8a3ca54d0e30bc25beb86e00254a401833904b9e
6,885
py
Python
network_checker/dhcp_checker/utils.py
Zipfer/fuel-web
c6c4032eb6e29474e2be0318349265bdb566454c
[ "Apache-2.0" ]
null
null
null
network_checker/dhcp_checker/utils.py
Zipfer/fuel-web
c6c4032eb6e29474e2be0318349265bdb566454c
[ "Apache-2.0" ]
null
null
null
network_checker/dhcp_checker/utils.py
Zipfer/fuel-web
c6c4032eb6e29474e2be0318349265bdb566454c
[ "Apache-2.0" ]
null
null
null
# Copyright 2013 Mirantis, 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 ...
30.464602
78
0.615832
899
6,885
4.579533
0.303671
0.034005
0.021861
0.009473
0.040321
0.026718
0
0
0
0
0
0.020154
0.264924
6,885
225
79
30.6
0.793321
0.260857
0
0.079365
0
0
0.054742
0
0
0
0
0
0
1
0.190476
false
0.007937
0.039683
0.007937
0.380952
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a3cab0b0c29dee41665f61e10da5e23f85da48c
670
py
Python
paneldata_dash/backend/schemas/johnson_scanner_data.py
clarencejlee/jdp
d3d31db0138ff06f2f5ec592d85317941af4f280
[ "MIT" ]
null
null
null
paneldata_dash/backend/schemas/johnson_scanner_data.py
clarencejlee/jdp
d3d31db0138ff06f2f5ec592d85317941af4f280
[ "MIT" ]
null
null
null
paneldata_dash/backend/schemas/johnson_scanner_data.py
clarencejlee/jdp
d3d31db0138ff06f2f5ec592d85317941af4f280
[ "MIT" ]
null
null
null
from ma import ma from models.johnson_scanner_data import JohnsonScannerDataModel from schemas.brand import BrandSchema from schemas.category import CategorySchema from schemas.facts_in_data import FactsInDataSchema from schemas.market import MarketSchema from schemas.period import PeriodSchema class JohnsonScannerDa...
27.916667
63
0.770149
74
670
6.891892
0.459459
0.107843
0
0
0
0
0
0
0
0
0
0
0.167164
670
23
64
29.130435
0.913978
0.026866
0
0
0
0
0.003091
0
0
0
0
0
0
1
0
false
0
0.4375
0
0.875
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
8a3cfa083e8e8e57b0bc63b2f6a4954146234e99
6,995
py
Python
Chest X-Ray Multilabel Image classification using CNN - Pytorch/Arch2.py
farzanaaswin0708/CNN-for-Visual-recognition
db65db0a0b60e1ed2a4a418069de61936aaa9e85
[ "MIT" ]
null
null
null
Chest X-Ray Multilabel Image classification using CNN - Pytorch/Arch2.py
farzanaaswin0708/CNN-for-Visual-recognition
db65db0a0b60e1ed2a4a418069de61936aaa9e85
[ "MIT" ]
null
null
null
Chest X-Ray Multilabel Image classification using CNN - Pytorch/Arch2.py
farzanaaswin0708/CNN-for-Visual-recognition
db65db0a0b60e1ed2a4a418069de61936aaa9e85
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # In[ ]: ################################################################################ # CSE 253: Programming Assignment 3 # Winter 2019 # Code author: Jenny Hamer (+ modifications by Tejash Desai) # # Filename: baseline_cnn.py # # Description: # # This file contains the star...
36.623037
157
0.653324
927
6,995
4.809061
0.248112
0.031404
0.02961
0.051817
0.27389
0.192463
0.192463
0.154554
0.124944
0.053836
0
0.048191
0.225733
6,995
190
158
36.815789
0.774926
0.368692
0
0
0
0
0
0
0
0
0
0.015789
0
1
0.038462
false
0
0.153846
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8a3e36ced124cb7dabea478a1f4b328edd22757f
1,344
py
Python
news_access.py
HydeJackal/TwitterWeeklyNewsBot
64fc6b9e7d74bafd26f4dcdfe28e835ece1cee9b
[ "MIT" ]
null
null
null
news_access.py
HydeJackal/TwitterWeeklyNewsBot
64fc6b9e7d74bafd26f4dcdfe28e835ece1cee9b
[ "MIT" ]
null
null
null
news_access.py
HydeJackal/TwitterWeeklyNewsBot
64fc6b9e7d74bafd26f4dcdfe28e835ece1cee9b
[ "MIT" ]
null
null
null
import json import urllib.request import credentials from datetime import datetime, timedelta class NewsAPI: def __init__(self, nyt_api): self.nyt_access = nyt_api def get_nyt_last_week_articles(self, topic, today): delta = timedelta(weeks = 1) last_week = today - delta begin_...
42
180
0.638393
172
1,344
4.77907
0.482558
0.097324
0.047445
0.034063
0.187348
0
0
0
0
0
0
0.006776
0.231399
1,344
32
181
42
0.788964
0
0
0.071429
0
0
0.220818
0.032714
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.321429
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a3e37aebc3bcbec9a89c90db3f81c339c737670
8,847
py
Python
tests/unit/test_trial_component.py
owen-t/sagemaker-experiments-1
ef2af4009c3a5c6a63db5cec6b9de6c614dfdd66
[ "Apache-2.0" ]
null
null
null
tests/unit/test_trial_component.py
owen-t/sagemaker-experiments-1
ef2af4009c3a5c6a63db5cec6b9de6c614dfdd66
[ "Apache-2.0" ]
null
null
null
tests/unit/test_trial_component.py
owen-t/sagemaker-experiments-1
ef2af4009c3a5c6a63db5cec6b9de6c614dfdd66
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file acc...
41.341121
118
0.635696
957
8,847
5.630094
0.214211
0.082034
0.119896
0.057906
0.605234
0.542687
0.455085
0.397921
0.379733
0.326095
0
0.011652
0.243359
8,847
213
119
41.535211
0.793248
0.061038
0
0.221591
0
0
0.12491
0.008319
0
0
0
0
0.119318
1
0.051136
false
0
0.022727
0.005682
0.079545
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a3e99f0293f853274afed91ad78cb5b4d2be8d4
8,379
py
Python
cadnano25/cadnano/part/xovercmds.py
amylittleyang/OtraCAD
126360719704caf6850d42565fe96be53b66a22d
[ "MIT" ]
null
null
null
cadnano25/cadnano/part/xovercmds.py
amylittleyang/OtraCAD
126360719704caf6850d42565fe96be53b66a22d
[ "MIT" ]
null
null
null
cadnano25/cadnano/part/xovercmds.py
amylittleyang/OtraCAD
126360719704caf6850d42565fe96be53b66a22d
[ "MIT" ]
null
null
null
from cadnano.cnproxy import UndoCommand from cadnano.strand import Strand from cadnano import getBatch import cadnano.preferences as prefs import random class CreateXoverCommand(UndoCommand): """ Creates a Xover from the 3' end of strand5p to the 5' end of strand3p this needs to 1. preserve the old oli...
35.807692
96
0.628118
842
8,379
6.10095
0.146081
0.030368
0.031147
0.016547
0.80183
0.767569
0.767569
0.750827
0.730971
0.67919
0
0.048401
0.294785
8,379
234
97
35.807692
0.820951
0.194057
0
0.732026
0
0
0.00361
0
0
0
0
0
0
1
0.039216
false
0
0.03268
0
0.084967
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
8a3f2203d02e338bbadd1c557a7d415e6e39dbbc
379
py
Python
src/temp2.py
FabBrolMons/frbayart
c2b9dde730cf6d21f1c1492d0da0351c12a4dce9
[ "MIT" ]
null
null
null
src/temp2.py
FabBrolMons/frbayart
c2b9dde730cf6d21f1c1492d0da0351c12a4dce9
[ "MIT" ]
null
null
null
src/temp2.py
FabBrolMons/frbayart
c2b9dde730cf6d21f1c1492d0da0351c12a4dce9
[ "MIT" ]
null
null
null
from w1thermsensor import W1ThermSensor sensor = W1ThermSensor() temperature_in_celsius = sensor.get_temperature() temperature_in_fahrenheit = sensor.get_temperature(W1ThermSensor.DEGREES_F) temperature_in_all_units = sensor.get_temperatures([W1ThermSensor.DEGREES_C, W1ThermSensor.DEGREES_F, W1ThermSensor.KELVIN]) pri...
42.111111
124
0.852243
45
379
6.844444
0.4
0.168831
0.12987
0
0
0
0
0
0
0
0
0.019718
0.063325
379
8
125
47.375
0.847887
0
0
0
0
0
0.026385
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
8a3ff7ca606f5ce67c32533b5892e230c75d4eb8
413
py
Python
tables/migrations/0004_auto_20200901_2004.py
jarnoln/exposures
bbae3f79078048d25b77e178db6c0801ffe9f97e
[ "MIT" ]
null
null
null
tables/migrations/0004_auto_20200901_2004.py
jarnoln/exposures
bbae3f79078048d25b77e178db6c0801ffe9f97e
[ "MIT" ]
null
null
null
tables/migrations/0004_auto_20200901_2004.py
jarnoln/exposures
bbae3f79078048d25b77e178db6c0801ffe9f97e
[ "MIT" ]
null
null
null
# Generated by Django 3.1.1 on 2020-09-01 17:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tables', '0003_exposure_category'), ] operations = [ migrations.AlterField( model_name='exposure', name='location', ...
21.736842
75
0.605327
44
413
5.590909
0.818182
0
0
0
0
0
0
0
0
0
0
0.073333
0.273608
413
18
76
22.944444
0.746667
0.108959
0
0
1
0
0.120219
0.060109
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
8a406525f88287f3d13cd5aee631ef0cc809c7ec
247
py
Python
src/reportlab/graphics/charts/__init__.py
kokinomura/reportlab
18e39b85d7277c2b5e9218b30a7b7b0a644a3c02
[ "BSD-3-Clause" ]
52
2016-09-30T05:53:45.000Z
2021-12-26T12:07:48.000Z
src/reportlab/graphics/charts/__init__.py
kokinomura/reportlab
18e39b85d7277c2b5e9218b30a7b7b0a644a3c02
[ "BSD-3-Clause" ]
31
2017-01-05T06:07:28.000Z
2018-05-27T13:13:06.000Z
src/reportlab/graphics/charts/__init__.py
kokinomura/reportlab
18e39b85d7277c2b5e9218b30a7b7b0a644a3c02
[ "BSD-3-Clause" ]
15
2016-11-03T08:50:15.000Z
2022-01-14T07:04:35.000Z
#Copyright ReportLab Europe Ltd. 2000-2016 #see license.txt for license details #history http://www.reportlab.co.uk/cgi-bin/viewcvs.cgi/public/reportlab/trunk/reportlab/graphics/charts/__init__.py __version__='3.3.0' __doc__='''Business charts'''
41.166667
116
0.793522
37
247
4.972973
0.810811
0
0
0
0
0
0
0
0
0
0
0.047414
0.060729
247
5
117
49.4
0.74569
0.773279
0
0
0
0
0.377358
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a40f2fa1c9f612802f1a429d750b73c73bf44c3
67,147
py
Python
src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_validators.py
AndrewLane/azure-cli
524491c580fc3c133f2d9859cef1c8251f4192e4
[ "MIT" ]
null
null
null
src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_validators.py
AndrewLane/azure-cli
524491c580fc3c133f2d9859cef1c8251f4192e4
[ "MIT" ]
3
2021-03-26T00:25:36.000Z
2022-03-29T22:03:55.000Z
src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_validators.py
david-driscoll/azure-cli
0dbf5e4ac2f35057bc9b8234b0a59612593552c5
[ "MIT" ]
null
null
null
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
50.486466
195
0.655949
8,089
67,147
5.163555
0.101743
0.023343
0.009696
0.01992
0.430856
0.321107
0.252681
0.188302
0.145518
0.108863
0
0.012417
0.251612
67,147
1,329
196
50.524454
0.818753
0.066555
0
0.204479
0
0.005842
0.195116
0.022917
0
0
0
0.000752
0
1
0.051607
false
0.021422
0.06037
0.000974
0.148978
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a41876d28109b10beeda61ce63d0fb68903a3e0
4,091
py
Python
scraping/faqscraper.py
ednihs-yahska/unibrowser
c91aaf7df8b316c707e5a268f82e789615be9fb8
[ "Apache-2.0" ]
null
null
null
scraping/faqscraper.py
ednihs-yahska/unibrowser
c91aaf7df8b316c707e5a268f82e789615be9fb8
[ "Apache-2.0" ]
null
null
null
scraping/faqscraper.py
ednihs-yahska/unibrowser
c91aaf7df8b316c707e5a268f82e789615be9fb8
[ "Apache-2.0" ]
null
null
null
import re import httplib2 from bs4 import BeautifulSoup from scraping.faqscrapperutil import stripExtra, removeDuplicates, removeBlackListedQuestions, getBlackListedQuestions, convertToJsonList, saveToMongo from scraping.Constants import ENABLE_CUSTOM_QUESTIONS_FILTER, FAQ_LINKS, COLLECTION_NAME d...
36.855856
208
0.633341
410
4,091
6.260976
0.282927
0.037398
0.027269
0.017141
0.160499
0.149591
0.112972
0.112972
0.085703
0.050643
0
0.012052
0.249572
4,091
111
209
36.855856
0.824104
0.190174
0
0.168831
0
0.012987
0.062082
0.045648
0
0
0
0
0
1
0.077922
false
0
0.064935
0
0.233766
0.051948
0
0
0
null
0
0
0
0
0
0
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
1
0
8a425179166f5e46f9936c55196547277fa5770b
2,600
py
Python
messages/term_utils.py
ckousoulis/macos-messages
acf7ac94a81f7d097e2025c6ec7dd429de010795
[ "MIT" ]
null
null
null
messages/term_utils.py
ckousoulis/macos-messages
acf7ac94a81f7d097e2025c6ec7dd429de010795
[ "MIT" ]
null
null
null
messages/term_utils.py
ckousoulis/macos-messages
acf7ac94a81f7d097e2025c6ec7dd429de010795
[ "MIT" ]
null
null
null
"""Terminal utilities specific to message archives. Creates colored text and helps write Messages output. """ from contextlib import contextmanager import itertools import readline FG_COLORS = dict(itertools.chain( zip(("black", "red", "green", "yellow", "blue", "mage...
23.423423
75
0.589615
313
2,600
4.814696
0.456869
0.01858
0.021234
0.029197
0
0
0
0
0
0
0
0.010177
0.281923
2,600
110
76
23.636364
0.797001
0.253462
0
0.027397
0
0
0.147541
0
0
0
0
0
0
1
0.068493
false
0
0.041096
0.027397
0.164384
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
0
0
0
0
0
1
0
8a4336dbd5d1cefd9e382961486ab2a2e96b55c6
2,714
py
Python
tests/test_subpixel_upsample.py
Project-MONAI/MONAI
2bab12c67c3cc1d54a4847628ce1e879064be11c
[ "Apache-2.0" ]
2,971
2019-10-16T23:53:16.000Z
2022-03-31T20:58:24.000Z
tests/test_subpixel_upsample.py
Project-MONAI/MONAI
2bab12c67c3cc1d54a4847628ce1e879064be11c
[ "Apache-2.0" ]
2,851
2020-01-10T16:23:44.000Z
2022-03-31T22:14:53.000Z
tests/test_subpixel_upsample.py
Project-MONAI/MONAI
2bab12c67c3cc1d54a4847628ce1e879064be11c
[ "Apache-2.0" ]
614
2020-01-14T19:18:01.000Z
2022-03-31T14:06:14.000Z
# Copyright 2020 - 2021 MONAI Consortium # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in wri...
34.35443
105
0.687546
402
2,714
4.450249
0.358209
0.071548
0.12521
0.061487
0.226383
0.20123
0.15204
0.130799
0.082728
0.039128
0
0.038638
0.198968
2,714
78
106
34.794872
0.784269
0.26787
0
0.076923
0
0
0.083206
0
0
0
0
0
0.019231
1
0.019231
false
0
0.134615
0
0.173077
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a43f4805ca2bfbefacf005fd91befea7f1c3e71
492
py
Python
gen-cfg.py
magetron/secure-flow-prototype
c683939620fec889f882ea095d2b27e3e4bb98fe
[ "Apache-2.0" ]
null
null
null
gen-cfg.py
magetron/secure-flow-prototype
c683939620fec889f882ea095d2b27e3e4bb98fe
[ "Apache-2.0" ]
null
null
null
gen-cfg.py
magetron/secure-flow-prototype
c683939620fec889f882ea095d2b27e3e4bb98fe
[ "Apache-2.0" ]
null
null
null
from staticfg import CFGBuilder userCfg = CFGBuilder().build_from_file('user.py', './auction/user.py') bidCfg = CFGBuilder().build_from_file('bid.py', './auction/bid.py') auctionCfg = CFGBuilder().build_from_file('auction.py','./auction/auction.py') #auctionEventCfg = CFGBuilder().build_from_file('auction_event.py','...
41
96
0.760163
62
492
5.822581
0.274194
0.166205
0.210526
0.254848
0.166205
0
0
0
0
0
0
0
0.054878
492
11
97
44.727273
0.776344
0.310976
0
0
0
0
0.290801
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
1
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
2
8a44052cfce16663b8820adca1028bccdfa9a1aa
438
py
Python
CodeForces/A2OJ Ladder/softuni_problem.py
dimitrov-dimitar/competitive-programming
f2b022377baf6d4beff213fc513907b774c12352
[ "MIT" ]
null
null
null
CodeForces/A2OJ Ladder/softuni_problem.py
dimitrov-dimitar/competitive-programming
f2b022377baf6d4beff213fc513907b774c12352
[ "MIT" ]
null
null
null
CodeForces/A2OJ Ladder/softuni_problem.py
dimitrov-dimitar/competitive-programming
f2b022377baf6d4beff213fc513907b774c12352
[ "MIT" ]
null
null
null
total_budget = 0 while True: destination = input() if destination == "End": break minimal_budget = float(input()) while True: command = input() if command == "End": break money = float(command) total_budget += money if total_budge...
24.333333
46
0.513699
43
438
5.093023
0.418605
0.200913
0.109589
0
0
0
0
0
0
0
0
0.007547
0.394977
438
17
47
25.764706
0.818868
0
0
0.4375
0
0
0.068884
0
0
0
0
0
0
1
0
false
0
0
0
0
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
8a441182ab86ba1e69b301671e3fe079d2030d2e
406
py
Python
footmark/ram/regioninfo.py
rockzhu/footmark
af2144e9139a63b475fa2b56c3307ddfd49c43e4
[ "Apache-2.0" ]
null
null
null
footmark/ram/regioninfo.py
rockzhu/footmark
af2144e9139a63b475fa2b56c3307ddfd49c43e4
[ "Apache-2.0" ]
null
null
null
footmark/ram/regioninfo.py
rockzhu/footmark
af2144e9139a63b475fa2b56c3307ddfd49c43e4
[ "Apache-2.0" ]
null
null
null
from footmark.regioninfo import RegionInfo class RAMRegionInfo(RegionInfo): """ Represents an ram Region """ def __init__(self, connection=None, name=None, id=None, connection_cls=None): from footmark.ram.connection import RAMConnection super(RAMRegionInfo, self).__in...
29
65
0.618227
38
406
6.368421
0.526316
0.099174
0
0
0
0
0
0
0
0
0
0
0.302956
406
13
66
31.230769
0.855124
0.059113
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8a444601b18de24677a5df5024e0921fdacf4ec7
8,983
py
Python
glue/plugins/export_d3po.py
sergiopasra/glue
c25a217a122a11818382672c99cb21f57a30636f
[ "BSD-3-Clause" ]
1
2019-12-17T07:58:35.000Z
2019-12-17T07:58:35.000Z
glue/plugins/export_d3po.py
sergiopasra/glue
c25a217a122a11818382672c99cb21f57a30636f
[ "BSD-3-Clause" ]
null
null
null
glue/plugins/export_d3po.py
sergiopasra/glue
c25a217a122a11818382672c99cb21f57a30636f
[ "BSD-3-Clause" ]
1
2019-08-04T14:10:12.000Z
2019-08-04T14:10:12.000Z
from __future__ import absolute_import, division, print_function import os import json from glue.core import Subset DISPATCH = {} def save_page(page, page_number, label, subset): """ Convert a tab of a glue session into a D3PO page :param page: Tuple of data viewers to save :param label: Tab label ...
28.977419
121
0.627296
1,185
8,983
4.693671
0.274262
0.016181
0.015102
0.015282
0.211794
0.140777
0.101402
0.092772
0.086659
0.071197
0
0.012779
0.250807
8,983
309
122
29.071197
0.81367
0.169431
0
0.116402
0
0.031746
0.240259
0.027812
0
0
0
0
0
1
0.058201
false
0.010582
0.079365
0
0.174603
0.010582
0
0
0
null
0
0
0
0
0
0
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
1
0
8a44b11af8b2eb998e8acb85624cce72fd9e4d1c
303
py
Python
exercicios/ex 061 a 070/ex061.py
CarlosWillian/python
f863578245fbf402e5b46f844a247355afed0d62
[ "MIT" ]
null
null
null
exercicios/ex 061 a 070/ex061.py
CarlosWillian/python
f863578245fbf402e5b46f844a247355afed0d62
[ "MIT" ]
null
null
null
exercicios/ex 061 a 070/ex061.py
CarlosWillian/python
f863578245fbf402e5b46f844a247355afed0d62
[ "MIT" ]
null
null
null
print('Crie sua P.A. de 10 termos') n1 = int(input('Digite o primeiro termo da P.A.: ')) r = int(input('Digite a razão: ')) termo = n1 c = 1 print('A P.A. é (', end='') while c <= 10: print('{}'.format(termo), end='') print(', ' if c < 10 else '', end='') termo += r c += 1 print(')')
20.2
52
0.518152
52
303
3.019231
0.5
0.038217
0.178344
0
0
0
0
0
0
0
0
0.04329
0.237624
303
14
53
21.642857
0.636364
0
0
0
0
0
0.298013
0
0
0
0
0
0
1
0
false
0
0
0
0
0.416667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
8a44c4f1bacc53b31ee5cd71ffc633ea07de715c
5,326
py
Python
src/pyrqlite/connections.py
zmedico/pyrqlite
17a22221e4e796a04c28aa578a93821cc3349b41
[ "MIT" ]
2
2016-04-05T16:16:43.000Z
2016-05-14T12:58:02.000Z
src/pyrqlite/connections.py
zmedico/pyrqlite
17a22221e4e796a04c28aa578a93821cc3349b41
[ "MIT" ]
1
2017-06-04T07:36:45.000Z
2017-06-04T22:57:05.000Z
src/pyrqlite/connections.py
zmedico/pyrqlite
17a22221e4e796a04c28aa578a93821cc3349b41
[ "MIT" ]
1
2016-04-30T20:27:35.000Z
2016-04-30T20:27:35.000Z
from __future__ import unicode_literals import codecs import logging try: from http.client import HTTPConnection, HTTPSConnection except ImportError: # pylint: disable=import-error from httplib import HTTPConnection, HTTPSConnection try: from urllib.parse import urlparse except ImportError: # py...
34.141026
97
0.608336
555
5,326
5.677477
0.324324
0.035544
0.020628
0.020946
0.14059
0.134878
0.063472
0.03491
0.03491
0.03491
0
0.00459
0.304544
5,326
155
98
34.36129
0.846112
0.139317
0
0.172727
0
0
0.034707
0
0
0
0
0
0
1
0.090909
false
0.045455
0.127273
0.009091
0.281818
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a44d6f6124cbf59eb9c835f08ecb56f0d9adf5a
737
py
Python
PythonBasics/ConditionalStatements/Exercise/toy_shop.py
achoraev/SoftUni
0cc7db470a096cc33bbe0ca6bd90060b79120573
[ "Apache-2.0" ]
null
null
null
PythonBasics/ConditionalStatements/Exercise/toy_shop.py
achoraev/SoftUni
0cc7db470a096cc33bbe0ca6bd90060b79120573
[ "Apache-2.0" ]
null
null
null
PythonBasics/ConditionalStatements/Exercise/toy_shop.py
achoraev/SoftUni
0cc7db470a096cc33bbe0ca6bd90060b79120573
[ "Apache-2.0" ]
null
null
null
price = float(input()) puzzles = int(input()) dolls = int(input()) bears = int(input()) minions = int(input()) trucks = int(input()) total_toys = puzzles + dolls + bears + minions + trucks price_puzzles = puzzles * 2.6 price_dolls = dolls * 3 price_bears = bears * 4.1 price_minions = minions * 8.2 pric...
25.413793
87
0.662144
107
737
4.35514
0.308411
0.214592
0.128755
0.128755
0
0
0
0
0
0
0
0.02906
0.206242
737
28
88
26.321429
0.767521
0
0
0
0
0
0.136812
0
0
0
0
0
0
1
0
false
0
0
0
0
0.095238
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
8a45566aab7d64963906b912efac019f5bac9c8e
2,079
py
Python
ironic/tests/api/utils.py
citrix-openstack-build/ironic
4b9eed0aeba44739caa742a48b55d824eae8ec55
[ "Apache-2.0" ]
null
null
null
ironic/tests/api/utils.py
citrix-openstack-build/ironic
4b9eed0aeba44739caa742a48b55d824eae8ec55
[ "Apache-2.0" ]
null
null
null
ironic/tests/api/utils.py
citrix-openstack-build/ironic
4b9eed0aeba44739caa742a48b55d824eae8ec55
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # -*- encoding: utf-8 -*- # # 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 # # Un...
31.5
78
0.534873
224
2,079
4.875
0.549107
0.054945
0.02381
0.029304
0
0
0
0
0
0
0
0.037281
0.341991
2,079
65
79
31.984615
0.760965
0.338143
0
0.051282
0
0
0.172593
0
0
0
0
0
0
1
0.076923
false
0
0.051282
0
0.205128
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a455ca53b609476797038c96b21d969bbdf51e3
2,234
py
Python
bookshelf/main/forms.py
thewordisbird/bookshelf
5166720bdc0dbffedc14b71b0f75ad78dc69b465
[ "MIT" ]
null
null
null
bookshelf/main/forms.py
thewordisbird/bookshelf
5166720bdc0dbffedc14b71b0f75ad78dc69b465
[ "MIT" ]
null
null
null
bookshelf/main/forms.py
thewordisbird/bookshelf
5166720bdc0dbffedc14b71b0f75ad78dc69b465
[ "MIT" ]
null
null
null
import datetime from flask_wtf import FlaskForm from wtforms import ( StringField, TextAreaField, DateTimeField, HiddenField, PasswordField, ) from wtforms.validators import DataRequired, ValidationError, Email, EqualTo class NullableDateTimeField(DateTimeField): """Modify DateField to allow f...
36.032258
86
0.658013
230
2,234
6.3
0.408696
0.074534
0.031056
0.039337
0.096618
0.067633
0.067633
0.067633
0.067633
0.067633
0
0
0.243957
2,234
61
87
36.622951
0.857904
0.042972
0
0.041667
0
0
0.168856
0
0
0
0
0
0
1
0.041667
false
0.104167
0.083333
0
0.4375
0.041667
0
0
0
null
0
0
0
0
0
0
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
8a458f7c27c0535d07e4b642f5a00528aee12141
3,387
py
Python
main.py
DanielM24/Romanian-sub-dialect-identificator
78b3e00f8ee768eb0b1e8cf832a2dc0b8504b04d
[ "MIT" ]
null
null
null
main.py
DanielM24/Romanian-sub-dialect-identificator
78b3e00f8ee768eb0b1e8cf832a2dc0b8504b04d
[ "MIT" ]
null
null
null
main.py
DanielM24/Romanian-sub-dialect-identificator
78b3e00f8ee768eb0b1e8cf832a2dc0b8504b04d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Proiect.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1TR1Frf0EX4PtFZkLlVdGtMTINqhoQwRw """ # Importarea librariilor import numpy as np import pandas as pd # pandas pentru citirea fisierelor from sklearn import prepr...
38.05618
120
0.775613
439
3,387
5.756264
0.343964
0.050653
0.017808
0.025722
0.15829
0.117926
0.117926
0.082311
0
0
0
0.006741
0.124004
3,387
89
121
38.05618
0.844961
0.220254
0
0
1
0
0.086458
0.01645
0
0
0
0
0
1
0.018868
false
0
0.113208
0
0.169811
0.075472
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
8a45f1c6e8e51b93e9ab54060af5d33d536b2abf
75
py
Python
logger/__init__.py
remmyzen/nqs-tensorflow2
2af5d5ebb108eac4d2daa5082bdef11c8107bd1b
[ "MIT" ]
4
2021-07-29T17:52:54.000Z
2022-02-15T06:32:15.000Z
logger/__init__.py
remmyzen/nqs-tensorflow2
2af5d5ebb108eac4d2daa5082bdef11c8107bd1b
[ "MIT" ]
null
null
null
logger/__init__.py
remmyzen/nqs-tensorflow2
2af5d5ebb108eac4d2daa5082bdef11c8107bd1b
[ "MIT" ]
null
null
null
from .logger import Logger from .logger_supervised import LoggerSupervised
25
47
0.866667
9
75
7.111111
0.555556
0.3125
0
0
0
0
0
0
0
0
0
0
0.106667
75
2
48
37.5
0.955224
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
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
1
0
1
0
1
0
0
6
8a46bd296a626ee6789a10ae8ade0e121655708c
36,304
py
Python
flytekit/core/workflow.py
milton0825/flytekit
7667a154402d7c02e25006bd6cce926917382a1e
[ "Apache-2.0" ]
null
null
null
flytekit/core/workflow.py
milton0825/flytekit
7667a154402d7c02e25006bd6cce926917382a1e
[ "Apache-2.0" ]
null
null
null
flytekit/core/workflow.py
milton0825/flytekit
7667a154402d7c02e25006bd6cce926917382a1e
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations import collections import inspect from dataclasses import dataclass from enum import Enum from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union from flytekit.common import constants as _common_constants from flytekit.common.exceptions.user import FlyteValidation...
46.663239
129
0.675518
4,486
36,304
5.289568
0.14222
0.029078
0.028825
0.01534
0.240002
0.198871
0.161069
0.12647
0.106452
0.095495
0
0.001445
0.256804
36,304
777
130
46.723295
0.878025
0.28231
0
0.256566
0
0
0.086263
0.020867
0
0
0
0.001287
0.010101
1
0.088889
false
0
0.048485
0.036364
0.270707
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a47b1a4041d7e6d082433e91d3935c95f8c494b
12,125
py
Python
nemo/collections/asr/parts/numba/rnnt_loss/rnnt_numpy.py
madhukarkm/NeMo
648c97f076147684bee6aaada209f2f20adcaf5d
[ "Apache-2.0" ]
4,145
2019-09-13T08:29:43.000Z
2022-03-31T18:31:44.000Z
nemo/collections/asr/parts/numba/rnnt_loss/rnnt_numpy.py
madhukarkm/NeMo
648c97f076147684bee6aaada209f2f20adcaf5d
[ "Apache-2.0" ]
2,031
2019-09-17T16:51:39.000Z
2022-03-31T23:52:41.000Z
nemo/collections/asr/parts/numba/rnnt_loss/rnnt_numpy.py
madhukarkm/NeMo
648c97f076147684bee6aaada209f2f20adcaf5d
[ "Apache-2.0" ]
1,041
2019-09-13T10:08:21.000Z
2022-03-30T06:37:38.000Z
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
35.557185
119
0.628784
1,765
12,125
4.215864
0.159207
0.056982
0.008063
0.008063
0.462438
0.42454
0.365005
0.331273
0.324284
0.280742
0
0.020388
0.25567
12,125
340
120
35.661765
0.803989
0.392825
0
0.131579
0
0.006579
0.092391
0.003576
0
0
0
0
0.039474
1
0.098684
false
0.026316
0.026316
0.006579
0.197368
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a48a06f40aea92943e0a0af216f5992d3ce3e19
987
py
Python
dataset_specifications/swirls.py
joeloskarsson/CGAN-regression
1cbcced10d28c11df8500373fc625e5df493f21d
[ "MIT" ]
12
2020-05-22T08:02:27.000Z
2022-03-28T06:14:23.000Z
dataset_specifications/swirls.py
joeloskarsson/CGAN-regression
1cbcced10d28c11df8500373fc625e5df493f21d
[ "MIT" ]
3
2021-06-08T21:33:24.000Z
2022-03-11T07:11:06.000Z
dataset_specifications/swirls.py
joeloskarsson/CGAN-regression
1cbcced10d28c11df8500373fc625e5df493f21d
[ "MIT" ]
null
null
null
import numpy as np import math from dataset_specifications.dataset import Dataset class SwirlsSet(Dataset): def __init__(self): super().__init__() self.name = "swirls" self.n_samples = { "train": 2000, "val": 1000, "test": 1000, } self....
25.307692
78
0.563323
138
987
3.934783
0.449275
0.044199
0.022099
0
0
0
0
0
0
0
0
0.047896
0.301925
987
38
79
25.973684
0.740203
0.115502
0
0
0
0
0.020785
0
0
0
0
0
0
1
0.115385
false
0
0.115385
0
0.346154
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a490933d8b95e96a7ba4163aae03b0fe0c37be5
657
py
Python
pytorch-frontend/tools/code_coverage/oss_coverage.py
AndreasKaratzas/stonne
2915fcc46cc94196303d81abbd1d79a56d6dd4a9
[ "MIT" ]
40
2021-06-01T07:37:59.000Z
2022-03-25T01:42:09.000Z
pytorch-frontend/tools/code_coverage/oss_coverage.py
AndreasKaratzas/stonne
2915fcc46cc94196303d81abbd1d79a56d6dd4a9
[ "MIT" ]
14
2021-06-01T11:52:46.000Z
2022-03-25T02:13:08.000Z
pytorch-frontend/tools/code_coverage/oss_coverage.py
AndreasKaratzas/stonne
2915fcc46cc94196303d81abbd1d79a56d6dd4a9
[ "MIT" ]
7
2021-07-20T19:34:26.000Z
2022-03-13T21:07:36.000Z
#!/usr/bin/env python import time from package.oss.cov_json import get_json_report from package.oss.init import initialization from package.tool.summarize_jsons import summarize_jsons from package.util.setting import TestPlatform def report_coverage() -> None: start_time = time.time() (options, test_list, in...
27.375
77
0.73516
83
657
5.506024
0.493976
0.09628
0.061269
0.109409
0
0
0
0
0
0
0
0
0.182648
657
23
78
28.565217
0.851024
0.114155
0
0
0
0
0.013817
0
0
0
0
0
0
1
0.066667
false
0
0.333333
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
8a49341d1b3481c67276f3865a9ce768c4be3a18
1,068
py
Python
twitoff/predict.py
dscohen75/twitoff
62d5702e989a6b5fc54aaf9326e240dd63c9fd06
[ "MIT" ]
null
null
null
twitoff/predict.py
dscohen75/twitoff
62d5702e989a6b5fc54aaf9326e240dd63c9fd06
[ "MIT" ]
null
null
null
twitoff/predict.py
dscohen75/twitoff
62d5702e989a6b5fc54aaf9326e240dd63c9fd06
[ "MIT" ]
null
null
null
import numpy as np from sklearn.linear_model import LogisticRegression from .models import User from .twitter import vectorize_tweet def predict_user(user1_name, user2_name, tweet_text): """ Determine and return which user is more likely to say a given Tweet. Example: predict_user('ausen', 'elonmusk'...
41.076923
72
0.699438
155
1,068
4.683871
0.458065
0.049587
0.035813
0.052342
0.146006
0.082645
0.082645
0.082645
0
0
0
0.021915
0.188202
1,068
25
73
42.72
0.815456
0.233146
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.266667
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
0
0
0
0
1
0
8a497075ae36fc35a089004f84ef24d85e09ec1c
401
py
Python
groupthink/version.py
emanuelfeld/groupthink
d8a6f666080352d396b07096cbd6304391f7c38d
[ "CC0-1.0" ]
1
2017-01-09T17:27:05.000Z
2017-01-09T17:27:05.000Z
groupthink/version.py
emanuelfeld/groupthink
d8a6f666080352d396b07096cbd6304391f7c38d
[ "CC0-1.0" ]
null
null
null
groupthink/version.py
emanuelfeld/groupthink
d8a6f666080352d396b07096cbd6304391f7c38d
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of groupthink. # https://github.com/emanuelfeld/groupthink # This project is in the public domain within the United States. # Additionally, the Government of the District of Columbia waives # copyright and related rights in the work worldwide through t...
28.642857
72
0.743142
60
401
4.9
0.733333
0.034014
0
0
0
0
0
0
0
0
0
0.020896
0.164589
401
13
73
30.846154
0.856716
0.887781
0
0
0
0
0.138889
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a49cedf036c8174ae69a9ea00ffa4a94799bd4c
6,028
py
Python
feeder/feeder_ucf.py
George-Polya/st-gcn
e3209796d6de160161063e4c93a00c62b35d3591
[ "BSD-2-Clause" ]
null
null
null
feeder/feeder_ucf.py
George-Polya/st-gcn
e3209796d6de160161063e4c93a00c62b35d3591
[ "BSD-2-Clause" ]
null
null
null
feeder/feeder_ucf.py
George-Polya/st-gcn
e3209796d6de160161063e4c93a00c62b35d3591
[ "BSD-2-Clause" ]
null
null
null
# sys import os import sys import numpy as np import random import pickle import json # torch import torch import torch.nn as nn from torchvision import datasets, transforms # operation from . import tools class Feeder_UCF(torch.utils.data.Dataset): """ Feeder for skeleton-based action recognition in kinetics-sk...
35.251462
104
0.588421
806
6,028
4.167494
0.208437
0.072343
0.037511
0.003572
0.114022
0.04674
0.031259
0.019053
0.019053
0
0
0.013193
0.321002
6,028
170
105
35.458824
0.807476
0.191274
0
0.027027
0
0
0.014176
0
0
0
0
0
0.036036
1
0.072072
false
0
0.09009
0.018018
0.225225
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a49e6407bf66d6fbb676497c6a102a344eeed6b
2,533
py
Python
apps/core/migrations/0001_initial.py
Visualway/Vitary
c7db9a25837fa7390b2177b9db48e73c6f1ab3c8
[ "BSD-3-Clause" ]
4
2021-12-24T16:07:44.000Z
2022-03-04T02:30:20.000Z
apps/core/migrations/0001_initial.py
Visualway/Vitary
c7db9a25837fa7390b2177b9db48e73c6f1ab3c8
[ "BSD-3-Clause" ]
4
2021-12-30T13:32:56.000Z
2022-03-15T03:58:48.000Z
apps/core/migrations/0001_initial.py
Visualway/Vitary
c7db9a25837fa7390b2177b9db48e73c6f1ab3c8
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 4.0.2 on 2022-03-02 03:29 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('vit'...
42.932203
236
0.55073
236
2,533
5.788136
0.389831
0.029283
0.040996
0.064422
0.474378
0.474378
0.38287
0.38287
0.38287
0.38287
0
0.014803
0.279905
2,533
58
237
43.672414
0.734101
0.017766
0
0.490196
1
0
0.158488
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.137255
0
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
8a4a2deaf316f920a36e808eb86cd1a1c9c75edd
2,260
py
Python
tests/common/schema_registry.py
epiphany-platform/cdl-temporary
daa704f379c05d7b733c382058ff88a2549d33d7
[ "Apache-2.0" ]
8
2020-11-04T10:32:03.000Z
2021-09-08T16:46:13.000Z
tests/common/schema_registry.py
epiphany-platform/cdl-temporary
daa704f379c05d7b733c382058ff88a2549d33d7
[ "Apache-2.0" ]
418
2020-11-05T12:43:26.000Z
2021-10-19T02:24:43.000Z
tests/common/schema_registry.py
epiphany-platform/cdl-temporary
daa704f379c05d7b733c382058ff88a2549d33d7
[ "Apache-2.0" ]
13
2020-11-18T12:37:42.000Z
2021-09-16T07:43:27.000Z
import os import subprocess import time import grpc import tests.rpc.proto.schema_registry_pb2 as pb2 import tests.rpc.proto.schema_registry_pb2_grpc as pb2_grpc from tests.common.postgres import PostgresConfig EXE = os.getenv('SCHEMA_REGISTRY_EXE') or 'schema-registry' class SchemaRegistry: def __init__(self, ...
35.873016
83
0.643805
256
2,260
5.320313
0.328125
0.154185
0.044053
0.044053
0.104258
0.104258
0.104258
0
0
0
0
0.009191
0.277876
2,260
62
84
36.451613
0.825368
0
0
0
0
0
0.164602
0.122566
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.288462
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a4a74e407a1faa40bc78d3ab5dcb9c6741e4b2e
1,743
py
Python
testsuite/tests/apicast/policy/routing/test_routing_policy_catch_all.py
dlaso99/3scale-tests
b31a3b3596af6d632b393e383c0417ea56bd95ca
[ "Apache-2.0" ]
5
2021-11-04T14:09:24.000Z
2021-12-23T13:48:36.000Z
testsuite/tests/apicast/policy/routing/test_routing_policy_catch_all.py
dlaso99/3scale-tests
b31a3b3596af6d632b393e383c0417ea56bd95ca
[ "Apache-2.0" ]
41
2021-11-03T14:27:21.000Z
2022-03-29T14:46:16.000Z
testsuite/tests/apicast/policy/routing/test_routing_policy_catch_all.py
dlaso99/3scale-tests
b31a3b3596af6d632b393e383c0417ea56bd95ca
[ "Apache-2.0" ]
12
2021-11-03T17:28:31.000Z
2021-11-30T12:28:25.000Z
""" When a routing policy is set with an empty condition, it should be loaded correctly and should route all the requests to a correct backend. """ from urllib.parse import urlparse import pytest from packaging.version import Version # noqa # pylint: disable=unused-import from testsuite import TESTED_VERSION, rawobj ...
32.277778
104
0.693058
223
1,743
5.286996
0.457399
0.05598
0.071247
0.039016
0.128923
0.128923
0.071247
0
0
0
0
0.007931
0.204246
1,743
53
105
32.886792
0.842105
0.297762
0
0.071429
0
0
0.125862
0
0
0
0
0
0.071429
1
0.107143
false
0
0.178571
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a4aca2698c2e4be69222dd4573ceaef0614a5f5
2,113
py
Python
ceilometer/data_processing/notifications.py
vmturbo/ceilometer
f856d3c915b738a64bce14967ba8114fe923c1af
[ "Apache-2.0" ]
null
null
null
ceilometer/data_processing/notifications.py
vmturbo/ceilometer
f856d3c915b738a64bce14967ba8114fe923c1af
[ "Apache-2.0" ]
null
null
null
ceilometer/data_processing/notifications.py
vmturbo/ceilometer
f856d3c915b738a64bce14967ba8114fe923c1af
[ "Apache-2.0" ]
1
2019-09-16T02:11:41.000Z
2019-09-16T02:11:41.000Z
# Copyright (c) 2014 Mirantis 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 writ...
29.347222
79
0.6531
258
2,113
5.236434
0.496124
0.044412
0.047372
0.023686
0
0
0
0
0
0
0
0.005736
0.257454
2,113
71
80
29.760563
0.855322
0.317085
0
0
0
0
0.137882
0.016347
0
0
0
0
0
1
0.078947
false
0
0.105263
0.026316
0.289474
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a4ad309763c3cfd1dc25a625d22290970950e53
946
py
Python
tests/src/Diksha_Reports/usage_by_textbook/download_all_collection_records.py
JalajaTR/cQube
6bf58ab25f0c36709630987ab730bbd5d9192c03
[ "MIT" ]
null
null
null
tests/src/Diksha_Reports/usage_by_textbook/download_all_collection_records.py
JalajaTR/cQube
6bf58ab25f0c36709630987ab730bbd5d9192c03
[ "MIT" ]
2
2022-02-01T00:55:12.000Z
2022-03-29T22:29:09.000Z
tests/src/Diksha_Reports/usage_by_textbook/download_all_collection_records.py
JalajaTR/cQube
6bf58ab25f0c36709630987ab730bbd5d9192c03
[ "MIT" ]
null
null
null
import os import time from selenium.webdriver.support.select import Select from Data.parameters import Data from get_dir import pwd from reuse_func import GetData class All_records_download(): def __init__(self,driver): self.driver = driver self.filename ='' def test_download_csv(self): ...
28.666667
82
0.684989
126
946
4.904762
0.428571
0.113269
0.067961
0.101942
0.205502
0.093851
0
0
0
0
0
0.002692
0.214588
946
32
83
29.5625
0.829071
0
0
0.08
0
0
0.055085
0.029661
0
0
0
0
0
1
0.08
false
0
0.24
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
0
0
0
0
1
0
8a4baa5bb9eb37f79466bfa86485901ebe84452b
39,528
py
Python
yt_dlp/cookies.py
Naysabots/yt-dlp
bef4697a6a4c225d010125d6ff6dfbfd4fb76e33
[ "Unlicense" ]
null
null
null
yt_dlp/cookies.py
Naysabots/yt-dlp
bef4697a6a4c225d010125d6ff6dfbfd4fb76e33
[ "Unlicense" ]
null
null
null
yt_dlp/cookies.py
Naysabots/yt-dlp
bef4697a6a4c225d010125d6ff6dfbfd4fb76e33
[ "Unlicense" ]
null
null
null
import contextlib import ctypes import json import os import shutil import struct import subprocess import sys import tempfile from datetime import datetime, timedelta, timezone from enum import Enum, auto from hashlib import pbkdf2_hmac from .aes import ( aes_cbc_decrypt_bytes, aes_gcm_decrypt_and_verify_byte...
39.646941
134
0.664921
4,837
39,528
5.223279
0.143891
0.008549
0.008708
0.014407
0.426598
0.360736
0.304255
0.275519
0.227271
0.189155
0
0.00875
0.236718
39,528
996
135
39.686747
0.828643
0.121711
0
0.324622
0
0.004127
0.167538
0.023731
0
0
0.000174
0
0.001376
1
0.085282
false
0.033012
0.028886
0.01238
0.277854
0.019257
0
0
0
null
0
0
0
0
0
0
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
1
0
8a4c2b7fd420450ab300e48488a392b1a4cf50ef
1,205
py
Python
hgtools/tests/conftest.py
jaraco/hgtools
1090d139e5dbdab864da8f1917a9e674331b6f9b
[ "MIT" ]
1
2017-05-17T15:12:29.000Z
2017-05-17T15:12:29.000Z
hgtools/tests/conftest.py
jaraco/hgtools
1090d139e5dbdab864da8f1917a9e674331b6f9b
[ "MIT" ]
12
2016-01-01T14:43:44.000Z
2021-10-03T02:13:19.000Z
hgtools/tests/conftest.py
jaraco/hgtools
1090d139e5dbdab864da8f1917a9e674331b6f9b
[ "MIT" ]
null
null
null
import os import pytest from hgtools import managers def _ensure_present(mgr): try: mgr.version() except Exception: pytest.skip() @pytest.fixture def tmpdir_as_cwd(tmpdir): with tmpdir.as_cwd(): yield tmpdir @pytest.fixture def hg_repo(tmpdir_as_cwd): mgr = managers.Mercu...
21.517857
62
0.624066
156
1,205
4.634615
0.346154
0.124481
0.091286
0.041494
0.473029
0.473029
0.240664
0.240664
0.149378
0.149378
0
0
0.209129
1,205
55
63
21.909091
0.758657
0
0
0.348837
0
0
0.165145
0
0
0
0
0
0
1
0.116279
false
0.023256
0.069767
0
0.232558
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a4c6c7b420769dc35e8f30f400909774d7d25e6
22,154
py
Python
gfirefly/dbentrust/dbutils.py
handsome3163/H2Dgame-Firefly
2d213928977dc490909f456327e5cae80998e60d
[ "MIT" ]
675
2015-01-01T05:18:30.000Z
2022-03-18T08:27:06.000Z
gfirefly/dbentrust/dbutils.py
liuis/Firefly
fd2795b8c26de6ab63bbec23d11f18c3dfb39a50
[ "MIT" ]
3
2015-01-29T02:36:14.000Z
2022-01-21T09:19:21.000Z
gfirefly/dbentrust/dbutils.py
liuis/Firefly
fd2795b8c26de6ab63bbec23d11f18c3dfb39a50
[ "MIT" ]
248
2015-01-04T08:24:31.000Z
2022-02-18T07:14:02.000Z
#coding:utf8 ''' Created on 2013-8-21 @author: lan (www.9miao.com) ''' import itertools import datetime def safeunicode(obj, encoding='utf-8'): r""" Converts any given object to unicode string. >>> safeunicode('hello') u'hello' >>> safeunicode(2) u'2' >>> safeunic...
31.693848
115
0.510743
2,510
22,154
4.4251
0.147809
0.015846
0.012605
0.017106
0.231476
0.174124
0.124066
0.094715
0.08121
0.073467
0
0.009403
0.35673
22,154
699
116
31.693848
0.769981
0.021802
0
0.235135
0
0
0.033266
0.004527
0
0
0
0
0
0
null
null
0.008108
0.008108
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
8a4ccded7f4f9f9be895e48e8a31955a7046241e
4,371
py
Python
dddppp/settings.py
tysonclugg/dddppp
22f52d671ca71c2df8d6ac566a1626e5f05b3159
[ "MIT" ]
null
null
null
dddppp/settings.py
tysonclugg/dddppp
22f52d671ca71c2df8d6ac566a1626e5f05b3159
[ "MIT" ]
null
null
null
dddppp/settings.py
tysonclugg/dddppp
22f52d671ca71c2df8d6ac566a1626e5f05b3159
[ "MIT" ]
null
null
null
""" Django settings for dddppp project. Generated by 'django-admin startproject' using Django 1.8.2. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build paths...
26.981481
77
0.695722
524
4,371
5.620229
0.429389
0.052971
0.044822
0.050934
0.099491
0.07708
0.07708
0.07708
0.027165
0
0
0.008782
0.166324
4,371
161
78
27.149068
0.799396
0.260581
0
0
1
0.010101
0.389894
0.275733
0
0
0
0
0
1
0
false
0.010101
0.030303
0
0.030303
0
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
8a4fee7da31280c4ead726e734baac5bb3fc023e
1,227
py
Python
setup.py
dantas/wifi
e9cd6df7d3411f1532843999f6c33f45369c3fe4
[ "BSD-2-Clause" ]
1
2019-04-29T14:57:45.000Z
2019-04-29T14:57:45.000Z
setup.py
dantas/wifi
e9cd6df7d3411f1532843999f6c33f45369c3fe4
[ "BSD-2-Clause" ]
null
null
null
setup.py
dantas/wifi
e9cd6df7d3411f1532843999f6c33f45369c3fe4
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python from setuptools import setup import os __doc__ = """ Command line tool and library wrappers around iwlist and /etc/network/interfaces. """ def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() install_requires = [ 'setuptools', 'pbkdf2', ] try: im...
23.150943
70
0.625102
134
1,227
5.567164
0.649254
0.080429
0.134048
0.069705
0
0
0
0
0
0
0
0.010449
0.220049
1,227
52
71
23.596154
0.76907
0.0163
0
0
0
0
0.420398
0.06136
0
0
0
0
0
1
0.022727
false
0
0.068182
0.022727
0.113636
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a5020fde45eeb5e84a7966a0bf40c59df2eeca7
2,653
py
Python
auth-api/src/auth_api/resources/org_products.py
severinbeauvais/sbc-auth
c98f75ea8970a357c62093b6e9f7deab61ae87c5
[ "Apache-2.0" ]
null
null
null
auth-api/src/auth_api/resources/org_products.py
severinbeauvais/sbc-auth
c98f75ea8970a357c62093b6e9f7deab61ae87c5
[ "Apache-2.0" ]
null
null
null
auth-api/src/auth_api/resources/org_products.py
severinbeauvais/sbc-auth
c98f75ea8970a357c62093b6e9f7deab61ae87c5
[ "Apache-2.0" ]
null
null
null
# Copyright © 2019 Province of British Columbia # # 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 agr...
42.790323
115
0.724463
335
2,653
5.59403
0.447761
0.03842
0.052828
0.017076
0.025614
0
0
0
0
0
0
0.007948
0.193743
2,653
61
116
43.491803
0.867695
0.272899
0
0
0
0
0.089953
0.012625
0
0
0
0
0
1
0.027027
false
0
0.297297
0
0.405405
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a507bf3c4b912bd7ed181d618b52de6b0f464f2
3,749
py
Python
TWLight/applications/management/commands/send_coordinator_reminders.py
nicole331/TWLight
fab9002e76868f8a2ef36f9279c777de34243b2c
[ "MIT" ]
67
2017-12-14T22:27:48.000Z
2022-03-13T18:21:31.000Z
TWLight/applications/management/commands/send_coordinator_reminders.py
nicole331/TWLight
fab9002e76868f8a2ef36f9279c777de34243b2c
[ "MIT" ]
433
2017-03-24T22:51:23.000Z
2022-03-31T19:36:22.000Z
TWLight/applications/management/commands/send_coordinator_reminders.py
Mahuton/TWLight
90b299d07b0479f21dc90e17b8d05f5a221b0de1
[ "MIT" ]
105
2017-06-23T03:53:41.000Z
2022-03-30T17:24:29.000Z
import logging from collections import Counter from django.core.management.base import BaseCommand from django.db.models import Q from TWLight.applications.models import Application from TWLight.resources.models import Partner from TWLight.applications.signals import Reminder from TWLight.users.models import Editor l...
43.593023
98
0.584956
357
3,749
5.834734
0.389356
0.077772
0.092175
0.053769
0.238118
0.176188
0.049928
0
0
0
0
0.003288
0.351027
3,749
85
99
44.105882
0.852857
0.175247
0
0.117647
0
0
0.057811
0.035076
0
0
0
0
0
1
0.014706
false
0
0.117647
0
0.147059
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a509772d4b71309e020c912aabb38728c706128
15,176
py
Python
python/3D-rrt/pvtrace/LightSources.py
rapattack88/mcclanahoochie
6df72553ba954b52e949a6847a213b22f9e90157
[ "Apache-2.0" ]
1
2020-12-27T21:37:35.000Z
2020-12-27T21:37:35.000Z
python/3D-rrt/pvtrace/LightSources.py
rapattack88/mcclanahoochie
6df72553ba954b52e949a6847a213b22f9e90157
[ "Apache-2.0" ]
null
null
null
python/3D-rrt/pvtrace/LightSources.py
rapattack88/mcclanahoochie
6df72553ba954b52e949a6847a213b22f9e90157
[ "Apache-2.0" ]
null
null
null
# pvtrace is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # pvtrace is distributed in the hope that it will be useful, # but WITHOUT...
38.035088
176
0.61136
1,832
15,176
4.985262
0.13155
0.031534
0.044345
0.031534
0.665608
0.633089
0.597613
0.576152
0.562137
0.546151
0
0.017419
0.285055
15,176
398
177
38.130653
0.824332
0.152412
0
0.630435
0
0
0.011389
0
0
0
0
0
0.003623
1
0.076087
false
0
0.021739
0
0.15942
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a50b1905c10bef14015d0bd1e4794d8d3018140
38,121
py
Python
circuitry/circuitry.py
nthparty/circuitry
e8bc8bde93cf5056368a14a21086f18f1bcd934f
[ "MIT" ]
3
2020-06-23T19:11:53.000Z
2021-01-06T16:42:56.000Z
circuitry/circuitry.py
nthparty/circuitry
e8bc8bde93cf5056368a14a21086f18f1bcd934f
[ "MIT" ]
4
2020-07-28T03:14:59.000Z
2020-07-28T17:44:25.000Z
circuitry/circuitry.py
nthparty/circuitry
e8bc8bde93cf5056368a14a21086f18f1bcd934f
[ "MIT" ]
1
2020-06-23T19:07:59.000Z
2020-06-23T19:07:59.000Z
"""Embedded DSL for assembling logic circuits. Embedded domain-specific combinator library for assembling abstract definitions of logic circuits and synthesizing circuits from those definitions. """ from __future__ import annotations from typing import Sequence import doctest from parts import parts from circuit impo...
33.557218
92
0.440728
4,937
38,121
3.332388
0.054081
0.019815
0.020058
0.033613
0.744104
0.721736
0.710005
0.703319
0.686725
0.684658
0
0.028745
0.347499
38,121
1,135
93
33.586784
0.632669
0.554943
0
0.296748
0
0
0.008636
0
0
0
0
0
0
1
0.341463
false
0
0.020325
0.02439
0.747967
0
0
0
0
null
0
0
0
0
1
1
1
0
1
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
1
0
0
6
8a50da9ca339ad2c3e097b9d78b1dde9a457d80b
1,037
py
Python
plot_user_activity.py
KanayBhandari/discord_bot_project
4baa62c963c532b08060689bed872e36e72460f9
[ "MIT" ]
null
null
null
plot_user_activity.py
KanayBhandari/discord_bot_project
4baa62c963c532b08060689bed872e36e72460f9
[ "MIT" ]
null
null
null
plot_user_activity.py
KanayBhandari/discord_bot_project
4baa62c963c532b08060689bed872e36e72460f9
[ "MIT" ]
null
null
null
import discord import random from datetime import datetime import pandas as pd import matplotlib.pyplot as plt import csv async def plot_user_activity(client, ctx): plt.style.use('fivethirtyeight') df = pd.read_csv('innovators.csv', encoding= 'unicode_escape') author = df['author'].to_list() ...
26.589744
78
0.649952
138
1,037
4.710145
0.543478
0.150769
0.083077
0.049231
0
0
0
0
0
0
0
0.007653
0.243973
1,037
38
79
27.289474
0.821429
0.043394
0
0
0
0
0.14511
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a50f54c898793f1acb00252a2b2f5ed4e326667
790
py
Python
setup.py
skojaku/fastnode2vec
bb65f68469f00f489fa6744d35b8756200b4e285
[ "MIT" ]
61
2020-04-21T18:58:47.000Z
2022-03-26T22:41:45.000Z
setup.py
skojaku/fastnode2vec
bb65f68469f00f489fa6744d35b8756200b4e285
[ "MIT" ]
17
2020-04-21T22:37:17.000Z
2022-03-31T22:36:03.000Z
setup.py
skojaku/fastnode2vec
bb65f68469f00f489fa6744d35b8756200b4e285
[ "MIT" ]
6
2020-07-30T01:41:59.000Z
2022-01-19T10:13:01.000Z
#!/usr/bin/env python3 import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name="fastnode2vec", version="0.0.5", author="Louis Abraham", license="MIT", author_email="louis.abraham@yahoo.fr", description="Fast ...
29.259259
83
0.694937
91
790
5.89011
0.769231
0.022388
0
0
0
0
0
0
0
0
0
0.019118
0.139241
790
26
84
30.384615
0.769118
0.026582
0
0
0
0
0.39974
0.089844
0
0
0
0
0
1
0.05
false
0
0.1
0.05
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a521621650bf40359a7bc7b59a9b8905567d6ce
738
py
Python
app/main/config.py
nhattvm11/flask-restful-boilerplate
a450c03c1b1db2886b4e00b2c30284a59d9b91e6
[ "MIT" ]
null
null
null
app/main/config.py
nhattvm11/flask-restful-boilerplate
a450c03c1b1db2886b4e00b2c30284a59d9b91e6
[ "MIT" ]
null
null
null
app/main/config.py
nhattvm11/flask-restful-boilerplate
a450c03c1b1db2886b4e00b2c30284a59d9b91e6
[ "MIT" ]
null
null
null
import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config: SECRET_KEY = os.getenv('SECRET_KEY', '') DEBUG = False class DevelopmentConfig(Config): DEBUG = True SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'flask_main.db') SQLALCHEMY_TRACK_MODIFICATIONS = False...
21.085714
83
0.718157
86
738
5.906977
0.453488
0.047244
0.059055
0.098425
0.38189
0.232283
0.232283
0.232283
0.232283
0.232283
0
0
0.176152
738
34
84
21.705882
0.835526
0
0
0.347826
0
0
0.075881
0
0
0
0
0
0
1
0
false
0
0.043478
0
0.695652
0
0
0
0
null
0
0
0
0
0
0
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
8a522d6b63aaba15a267dd005faa4b6a9a20a8c0
946
py
Python
Chapter07/library/check_user_py3.py
djouani/Learning-Ansible-2.X-Third-Edition
34d6745c2bde8367ad2db7c9343bc8477b0643d7
[ "MIT" ]
22
2019-04-22T02:13:39.000Z
2021-10-01T22:03:51.000Z
Chapter07/library/check_user_py3.py
djouani/Learning-Ansible-2.X-Third-Edition
34d6745c2bde8367ad2db7c9343bc8477b0643d7
[ "MIT" ]
1
2019-12-12T20:22:43.000Z
2020-08-30T17:13:00.000Z
Chapter07/library/check_user_py3.py
djouani/Learning-Ansible-2.X-Third-Edition
34d6745c2bde8367ad2db7c9343bc8477b0643d7
[ "MIT" ]
25
2019-04-09T04:29:50.000Z
2021-12-22T22:17:14.000Z
#!/usr/bin/env python import pwd from ansible.module_utils.basic import AnsibleModule class User: def __init__(self, user): self.user = user # Check if user exists def check_if_user_exists(self): try: user = pwd.getpwnam(self.user) success = True ret_ms...
23.073171
59
0.599366
118
946
4.567797
0.432203
0.06679
0.061224
0.09462
0
0
0
0
0
0
0
0
0.308668
946
40
60
23.65
0.824159
0.099366
0
0
0
0
0.057783
0
0
0
0
0
0
1
0.103448
false
0
0.068966
0
0.241379
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a52440233bd3169102a1818d34f5c74f2141148
2,823
py
Python
backend/server/converters/schema/ontology.py
GenomicsNX/cellxgene
f9c744327a3be48c93b47bba71a480e1eeb97835
[ "MIT" ]
8
2021-03-17T23:42:41.000Z
2022-03-08T13:08:55.000Z
backend/server/converters/schema/ontology.py
GenomicsNX/cellxgene
f9c744327a3be48c93b47bba71a480e1eeb97835
[ "MIT" ]
194
2021-08-18T23:52:44.000Z
2022-03-30T19:40:41.000Z
backend/server/converters/schema/ontology.py
GenomicsNX/cellxgene
f9c744327a3be48c93b47bba71a480e1eeb97835
[ "MIT" ]
8
2021-03-22T17:07:31.000Z
2022-03-08T11:07:48.000Z
"""Methods for working with ontologies and the OLS.""" from urllib.parse import quote_plus import requests OLS_API_ROOT = "http://www.ebi.ac.uk/ols/api" # Curie means something like CL:0000001 def _ontology_name(curie): """Get the name of the ontology from the curie, CL or UBERON for example.""" return cur...
32.448276
103
0.681899
412
2,823
4.563107
0.32767
0.015957
0.03617
0.015957
0.181915
0.130851
0.130851
0.130851
0.130851
0.130851
0
0.013321
0.202267
2,823
86
104
32.825581
0.821492
0.41091
0
0.216216
0
0
0.333333
0.129032
0
0
0
0
0
1
0.189189
false
0
0.054054
0
0.540541
0
0
0
0
null
0
0
0
0
0
0
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
8a5244b8a475e9cca6ead4f4463ced1af6491956
17,945
py
Python
survey/api/matrix.py
djaodjin/djaodjin-survey
a6eb8a577fecd219850478c245d9ebe990438a64
[ "BSD-2-Clause" ]
15
2015-03-12T18:14:50.000Z
2022-03-26T10:16:55.000Z
survey/api/matrix.py
djaodjin/djaodjin-survey
a6eb8a577fecd219850478c245d9ebe990438a64
[ "BSD-2-Clause" ]
19
2015-03-31T20:48:08.000Z
2022-03-30T17:31:49.000Z
survey/api/matrix.py
djaodjin/djaodjin-survey
a6eb8a577fecd219850478c245d9ebe990438a64
[ "BSD-2-Clause" ]
4
2015-12-16T20:53:34.000Z
2017-12-20T19:50:42.000Z
# Copyright (c) 2020, DjaoDjin 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 copyright notice, # this list of conditions and t...
29.958264
80
0.51017
1,558
17,945
5.770218
0.220154
0.017019
0.015907
0.023359
0.353504
0.31535
0.298776
0.281646
0.260957
0.248943
0
0.007095
0.379549
17,945
598
81
30.008361
0.800341
0.445361
0
0.156425
0
0
0.038207
0.002839
0
0
0
0
0.011173
1
0.083799
false
0.005587
0.078212
0.03352
0.385475
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a5248567c33c615e0f8be2779b082966267e38c
2,740
py
Python
remove_labels.py
iFishy/DomainApp
970ee96450859b1c40a86a9d654beb99c56aa00f
[ "MIT" ]
null
null
null
remove_labels.py
iFishy/DomainApp
970ee96450859b1c40a86a9d654beb99c56aa00f
[ "MIT" ]
null
null
null
remove_labels.py
iFishy/DomainApp
970ee96450859b1c40a86a9d654beb99c56aa00f
[ "MIT" ]
null
null
null
from __future__ import print_function import httplib2 import os import sys import pickle from apiclient import discovery from apiclient import errors from oauth2client import client from oauth2client import tools from oauth2client.file import Storage try: import argparse flags = argparse.ArgumentParser(parents...
30.444444
79
0.69635
341
2,740
5.469208
0.366569
0.02252
0.020375
0.02681
0.061126
0.061126
0.061126
0.061126
0.061126
0.061126
0
0.00408
0.194891
2,740
89
80
30.786517
0.841342
0.140876
0
0.114754
0
0
0.123866
0.012704
0
0
0
0
0
1
0.065574
false
0
0.196721
0
0.295082
0.098361
0
0
0
null
0
0
0
0
0
0
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
1
0
8a5251a1a46d1a18949b3dd2b2c26f7e8e32aa06
7,795
py
Python
readgadget/modules/rs_structs.py
danielmarostica/pygadgetreader
977949da7fcb6585f3e0270019d369c6967b317c
[ "BSD-3-Clause" ]
6
2020-09-02T21:11:59.000Z
2021-09-24T16:12:44.000Z
readgadget/modules/rs_structs.py
danielmarostica/pygadgetreader
977949da7fcb6585f3e0270019d369c6967b317c
[ "BSD-3-Clause" ]
1
2021-09-24T14:40:03.000Z
2021-09-25T20:07:13.000Z
readgadget/modules/rs_structs.py
danielmarostica/pygadgetreader
977949da7fcb6585f3e0270019d369c6967b317c
[ "BSD-3-Clause" ]
1
2020-11-18T19:15:39.000Z
2020-11-18T19:15:39.000Z
import numpy as np import sys ## ROCKSTAR ## halostruct1 = np.dtype([('id',np.int64), ('pos',np.float32,(6,)), ('corevel',np.float32,(3,)), ('bulkvel',np.float32,(3,)), ('m',np.float32), ('r',np.floa...
44.289773
78
0.340988
639
7,795
3.99687
0.147105
0.380579
0.058731
0.028191
0.859436
0.850039
0.850039
0.825764
0.793657
0.793657
0
0.082893
0.514047
7,795
175
79
44.542857
0.591341
0.015908
0
0.83125
0
0
0.134527
0.006275
0
0
0
0
0
1
0.00625
false
0
0.0125
0
0.0375
0.04375
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
8a525a8a02f61d5499bb1c8bffd7e68682942e12
9,990
py
Python
ics2entropiawiki.py
entropia/ics2entropiawiki
d77fa8073c2b18eade1c2b85feaccab8b6598c6b
[ "Apache-2.0" ]
2
2020-01-02T04:52:03.000Z
2020-03-02T04:00:08.000Z
ics2entropiawiki.py
entropia/ics2entropiawiki
d77fa8073c2b18eade1c2b85feaccab8b6598c6b
[ "Apache-2.0" ]
8
2018-11-06T10:05:43.000Z
2021-10-09T20:26:16.000Z
ics2entropiawiki.py
entropia/ics2entropiawiki
d77fa8073c2b18eade1c2b85feaccab8b6598c6b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ics2entropiawiki Read an ics file with the entropia events and insert them in to the entropia homepage wiki. Example: $ ics2entropiawiki.py --config /etc/ics2entropiawiki/config.ini Inserts events not in the past to the "Termine" Wiki page and appends past ...
26.289474
116
0.563063
1,111
9,990
4.940594
0.244824
0.018947
0.024777
0.015303
0.102022
0.073237
0.049189
0.049189
0.035343
0.035343
0
0.006103
0.311111
9,990
379
117
26.358839
0.791485
0.155255
0
0.157258
0
0.016129
0.20402
0.026845
0
0
0
0
0
1
0.052419
false
0.024194
0.03629
0
0.133065
0.008065
0
0
0
null
0
0
0
0
0
0
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
1
0
8a525fbb996d5472af74df006412af4f27d25fa6
527
py
Python
Arrays/LeftRotation.py
anand722000/algo_ds_101
b3e25ce2b2e47e53024f8d349232b04de2837ce3
[ "MIT" ]
175
2019-12-08T19:48:20.000Z
2022-03-24T07:38:08.000Z
Arrays/LeftRotation.py
anand722000/algo_ds_101
b3e25ce2b2e47e53024f8d349232b04de2837ce3
[ "MIT" ]
40
2019-12-07T08:11:41.000Z
2020-10-09T08:11:22.000Z
Arrays/LeftRotation.py
anand722000/algo_ds_101
b3e25ce2b2e47e53024f8d349232b04de2837ce3
[ "MIT" ]
95
2019-12-07T06:25:31.000Z
2022-03-03T20:12:45.000Z
#!/bin/python3 import math import os import random import re import sys # Complete the rotLeft function below. def rotLeft(a, d): alist = list(a) b = alist[d:]+alist[:d] return b if __name__ == '__main__': fptr = open(os.environ['OUTPUT_PATH'], 'w') nd = input().split() n...
16.46875
49
0.548387
74
527
3.783784
0.581081
0.057143
0.064286
0
0
0
0
0
0
0
0
0.007895
0.278937
527
31
50
17
0.728947
0.094877
0
0
0
0
0.051802
0
0
0
0
0
0
1
0.052632
false
0
0.263158
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a541e67401b79ca7c42ad0362d81bb514bab960
947
py
Python
tests/unittests/test_zoo.py
SaizhuoWang/carefree-learn
3bf7b00286cdef556cc00fa2fcba5c390b5b9d20
[ "MIT" ]
null
null
null
tests/unittests/test_zoo.py
SaizhuoWang/carefree-learn
3bf7b00286cdef556cc00fa2fcba5c390b5b9d20
[ "MIT" ]
null
null
null
tests/unittests/test_zoo.py
SaizhuoWang/carefree-learn
3bf7b00286cdef556cc00fa2fcba5c390b5b9d20
[ "MIT" ]
1
2021-01-04T02:23:00.000Z
2021-01-04T02:23:00.000Z
import os import cflearn import platform import unittest from cfdata.tabular import TabularDataset num_jobs = 0 if platform.system() == "Linux" else 2 logging_folder = "__test_zoo__" class TestZoo(unittest.TestCase): @staticmethod def _test_zoo_core(model: str) -> None: x, y = TabularDataset.iris()....
27.852941
65
0.663147
125
947
4.672
0.448
0.133562
0.056507
0.054795
0.089041
0.089041
0.089041
0
0
0
0
0.002717
0.222809
947
33
66
28.69697
0.790761
0
0
0
0
0
0.06547
0
0
0
0
0
0
1
0.12
false
0
0.2
0
0.36
0
0
0
0
null
0
0
0
0
0
0
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
1
0
8a54334c8ec0d2c98a16bb220c95973a631adeb1
3,810
py
Python
unit_13/26-Data_Structures/4_Merge_Sort_and_Linked_Lists/3_linked_list_merge_sort.py
duliodenis/python_master_degree
3ab76838ce2fc1606f28e988a3273dd27122a621
[ "MIT" ]
19
2019-03-14T01:39:32.000Z
2022-02-03T00:36:43.000Z
unit_13/26-Data_Structures/4_Merge_Sort_and_Linked_Lists/3_linked_list_merge_sort.py
duliodenis/python_master_degree
3ab76838ce2fc1606f28e988a3273dd27122a621
[ "MIT" ]
1
2020-04-10T01:01:16.000Z
2020-04-10T01:01:16.000Z
unit_13/26-Data_Structures/4_Merge_Sort_and_Linked_Lists/3_linked_list_merge_sort.py
duliodenis/python_master_degree
3ab76838ce2fc1606f28e988a3273dd27122a621
[ "MIT" ]
5
2019-01-02T20:46:05.000Z
2020-07-08T22:47:48.000Z
# # Data Structures: Linked List Merge Sort: The Conquer Step # Python Techdegree # # Created by Dulio Denis on 3/24/19. # Copyright (c) 2019 ddApps. All rights reserved. # ------------------------------------------------ from linked_list import Node, LinkedList def merge_sort(linked_list): ''' Sorts a lin...
32.288136
81
0.630971
546
3,810
4.261905
0.254579
0.09884
0.03223
0.021917
0.226042
0.155565
0.023206
0.023206
0.023206
0
0
0.008617
0.299475
3,810
117
82
32.564103
0.863245
0.425197
0
0.288136
0
0
0
0
0
0
0
0
0
1
0.050847
false
0
0.016949
0
0.169492
0.033898
0
0
0
null
0
0
0
0
0
0
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
1
0
8a5438fd129b5b6996b6b2555c75bb6bb382b7d5
5,639
py
Python
nearpy/examples/example2.py
samyoo78/NearPy
1b534b864d320d875508e95cd2b76b6d8c07a90b
[ "MIT" ]
624
2015-01-02T21:45:28.000Z
2022-03-02T11:04:27.000Z
nearpy/examples/example2.py
samyoo78/NearPy
1b534b864d320d875508e95cd2b76b6d8c07a90b
[ "MIT" ]
65
2015-02-06T09:47:46.000Z
2021-09-26T01:45:26.000Z
nearpy/examples/example2.py
samyoo78/NearPy
1b534b864d320d875508e95cd2b76b6d8c07a90b
[ "MIT" ]
136
2015-01-07T04:45:41.000Z
2021-11-25T17:46:07.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2013 Ole Krause-Sparmann # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy,...
32.039773
90
0.662529
697
5,639
5.308465
0.291248
0.023784
0.025946
0.030811
0.481081
0.455135
0.432432
0.396757
0.377838
0.377838
0
0.014889
0.201986
5,639
175
91
32.222857
0.807333
0.311048
0
0.551724
0
0
0.164497
0.012739
0
0
0
0
0
1
0.011494
false
0
0.08046
0
0.091954
0.241379
0
0
0
null
0
0
0
0
0
0
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
1
0
8a54995b61e4b0596e764748ce12766155458309
2,551
py
Python
discordbot.py
8ka1alu/heroku-global-py
7968ff6c215d6d86149221c246b4aaa5cd04df59
[ "MIT" ]
null
null
null
discordbot.py
8ka1alu/heroku-global-py
7968ff6c215d6d86149221c246b4aaa5cd04df59
[ "MIT" ]
null
null
null
discordbot.py
8ka1alu/heroku-global-py
7968ff6c215d6d86149221c246b4aaa5cd04df59
[ "MIT" ]
null
null
null
from discord.ext import commands, tasks # Bot Commands Frameworkをインポート import traceback # エラー表示のためにインポート import os import discord import r TOKEN = os.environ['DISCORD_BOT_TOKEN'] prefix = os.environ['DISCORD_BOT_PREFIX'] #プレフィックス # 読み込むコグの名前を格納しておく。 INITIAL_EXTENSIONS = [ 'cogs.eval', 'cogs.glchat', 'cogs...
29.321839
130
0.563701
270
2,551
5.118519
0.462963
0.036179
0.036903
0.027496
0.075253
0.054993
0.054993
0.054993
0.054993
0.054993
0
0.008065
0.319483
2,551
86
131
29.662791
0.788018
0.126617
0
0.231884
0
0
0.118951
0.009498
0
0
0
0
0
1
0.043478
false
0
0.072464
0.014493
0.15942
0.15942
0
0
0
null
0
0
0
0
0
0
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
1
0
8a54b71c70f57dfff2df2e65acf1f13a323c5a9e
9,468
py
Python
examples/plot_spectral_unmixing.py
ealopez/pycroscopy
9f7c0543b67eaa0668296295fc5f492360c130a0
[ "MIT" ]
null
null
null
examples/plot_spectral_unmixing.py
ealopez/pycroscopy
9f7c0543b67eaa0668296295fc5f492360c130a0
[ "MIT" ]
null
null
null
examples/plot_spectral_unmixing.py
ealopez/pycroscopy
9f7c0543b67eaa0668296295fc5f492360c130a0
[ "MIT" ]
null
null
null
""" ================================================================= Spectral Unmixing ================================================================= Suhas Somnath, Rama K. Vasudevan, Stephen Jesse * Institute for Functional Imaging of Materials * Center for Nanophase Materials Sciences Oak Ridge National Labora...
43.036364
120
0.705218
1,320
9,468
4.943939
0.372727
0.011033
0.011033
0.009194
0.024517
0.010113
0.010113
0.010113
0.010113
0.010113
0
0.011642
0.13815
9,468
219
121
43.232877
0.788113
0.617448
0
0.059701
0
0
0.178422
0.014171
0
0
0
0
0
1
0.014925
false
0
0.223881
0
0.238806
0.104478
0
0
0
null
0
0
0
0
0
0
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
1
0
8a54efc9a7ad3665cabc7b4468043314dcb3122b
3,743
py
Python
test/test_downloadfile.py
foliant-docs/foliantcontrib.downloadfile
1af9481f9bc9142d8b1ac1eff93fa0c5577ccaec
[ "MIT" ]
null
null
null
test/test_downloadfile.py
foliant-docs/foliantcontrib.downloadfile
1af9481f9bc9142d8b1ac1eff93fa0c5577ccaec
[ "MIT" ]
null
null
null
test/test_downloadfile.py
foliant-docs/foliantcontrib.downloadfile
1af9481f9bc9142d8b1ac1eff93fa0c5577ccaec
[ "MIT" ]
null
null
null
import shutil from pathlib import Path from unittest import TestCase from unittest.mock import Mock from unittest.mock import patch from foliant.config.downloadfile import download_file from foliant.config.downloadfile import get_file_ext_from_url from foliant.config.downloadfile import get_file_name_from_url class...
32.833333
76
0.663906
480
3,743
4.972917
0.177083
0.041475
0.052786
0.064097
0.804357
0.780897
0.780897
0.745706
0.745706
0.722246
0
0.003081
0.21961
3,743
113
77
33.123894
0.814105
0
0
0.623529
0
0
0.169116
0.036067
0
0
0
0
0.176471
1
0.129412
false
0.011765
0.094118
0
0.258824
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
8a550e70bdbd276329aa52d0c840e8979d0e9e43
2,113
py
Python
question.py
Lilium765/momoko
c84b37cbe280055fedaac4ee9195d6410b234aba
[ "MIT" ]
null
null
null
question.py
Lilium765/momoko
c84b37cbe280055fedaac4ee9195d6410b234aba
[ "MIT" ]
null
null
null
question.py
Lilium765/momoko
c84b37cbe280055fedaac4ee9195d6410b234aba
[ "MIT" ]
null
null
null
import discord client = discord.Client() # 接続に使用するオブジェクト # 起動時 @client.event async def on_ready(): print('ログイン成功') # メッセージを監視 @client.event async def on_message(message): # 「/box」が頭についたメッセージならオウム返しする if message.content.startswith('/box'): # 文字から「/box」を抜く question = message.content[len(...
30.623188
69
0.618552
178
2,113
7.185393
0.505618
0.101642
0.070367
0.029711
0.093823
0.060985
0
0
0
0
0
0.047059
0.235684
2,113
68
70
31.073529
0.744892
0.313299
0
0.064516
0
0
0.075193
0
0
0
0
0
0
1
0.032258
false
0
0.032258
0
0.096774
0.032258
0
0
0
null
0
0
0
0
0
0
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
1
0
8a5581cd0e7ff399dcb5faaf23430dc8e5e4058e
4,370
py
Python
figure_code/rate_of_change_tc.py
DavisWeaver/fears
857cb959a3a111a41df4cf62c4c6a19d3abd33c0
[ "MIT" ]
null
null
null
figure_code/rate_of_change_tc.py
DavisWeaver/fears
857cb959a3a111a41df4cf62c4c6a19d3abd33c0
[ "MIT" ]
null
null
null
figure_code/rate_of_change_tc.py
DavisWeaver/fears
857cb959a3a111a41df4cf62c4c6a19d3abd33c0
[ "MIT" ]
1
2021-11-09T14:42:01.000Z
2021-11-09T14:42:01.000Z
import matplotlib.pyplot as plt import numpy as np from fears.utils import results_manager, plotter, dir_manager import os suffix = '07212021_0001' data_folder = 'results_' + suffix exp_info_file = 'experiment_info_' + suffix + '.p' exp_folders,exp_info = results_manager.get_experiment_results(data_folder, ...
37.350427
85
0.415103
429
4,370
3.981352
0.296037
0.04918
0.07377
0.04918
0.170375
0.131148
0.131148
0.131148
0.093677
0.065574
0
0.027752
0.505263
4,370
117
86
37.350427
0.762257
0.094737
0
0.172414
0
0
0.027137
0
0
0
0
0
0
1
0
false
0
0.045977
0
0.045977
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a55afc76d238a2edb1a2adff77422f604912e7b
25,760
py
Python
rpython/annotator/annrpython.py
microvm/pypy-mu
6b03fbe93052d0eb3a4c67152c987c16837b3484
[ "Apache-2.0", "OpenSSL" ]
null
null
null
rpython/annotator/annrpython.py
microvm/pypy-mu
6b03fbe93052d0eb3a4c67152c987c16837b3484
[ "Apache-2.0", "OpenSSL" ]
null
null
null
rpython/annotator/annrpython.py
microvm/pypy-mu
6b03fbe93052d0eb3a4c67152c987c16837b3484
[ "Apache-2.0", "OpenSSL" ]
null
null
null
from __future__ import absolute_import import types from collections import defaultdict from rpython.tool.ansi_print import AnsiLogger from rpython.tool.pairtype import pair from rpython.tool.error import (format_blocked_annotation_error, gather_error, source_lines) from rpython.flowspace...
40.312989
85
0.604891
2,915
25,760
5.160206
0.172213
0.007978
0.007978
0.00718
0.177702
0.125981
0.11428
0.102579
0.087488
0.076851
0
0.000628
0.319876
25,760
638
86
40.376176
0.857934
0.181211
0
0.237581
0
0
0.027592
0
0
0
0
0
0.038877
1
0.079914
false
0.00432
0.036717
0.00216
0.172786
0.00216
0
0
0
null
0
0
0
0
0
0
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
1
0