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
f225fb07e45aa0d878182c25737de8508c76dbb0
6,759
py
Python
importanize/groups.py
xiachufang/importanize
594e33b7827a9619c15aaacbe03b8cdf42a5c7a0
[ "MIT" ]
null
null
null
importanize/groups.py
xiachufang/importanize
594e33b7827a9619c15aaacbe03b8cdf42a5c7a0
[ "MIT" ]
null
null
null
importanize/groups.py
xiachufang/importanize
594e33b7827a9619c15aaacbe03b8cdf42a5c7a0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, unicode_literals import itertools import operator from collections import OrderedDict, defaultdict from functools import reduce import six from .formatters import DEFAULT_FORMATTER, DEFAULT_LENGTH from .utils import is_site_package, is_st...
28.884615
80
0.557627
645
6,759
5.64186
0.24186
0.032976
0.034625
0.04809
0.36576
0.340203
0.292388
0.255565
0.209398
0.154438
0
0.001366
0.350348
6,759
233
81
29.008584
0.827374
0.01879
0
0.357542
0
0
0.076283
0
0
0
0
0
0
1
0.134078
false
0
0.128492
0.061453
0.407821
0.005587
0
0
0
null
0
0
0
0
0
0
0
0
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
f226b3e74e0c07da106f197b5ad2bd3632fb47b8
2,198
py
Python
synchCams/start_server.py
ateshkoul/synchCams
3f73cf593e27d57b72f65d453d13cc535646e86d
[ "MIT" ]
null
null
null
synchCams/start_server.py
ateshkoul/synchCams
3f73cf593e27d57b72f65d453d13cc535646e86d
[ "MIT" ]
null
null
null
synchCams/start_server.py
ateshkoul/synchCams
3f73cf593e27d57b72f65d453d13cc535646e86d
[ "MIT" ]
null
null
null
import socket import json import pdb import copy def dict_to_bytes(the_dict): string = json.dumps(the_dict).encode('utf-8') return(string) def bytes_to_dict(string): the_dict = json.loads(string.decode('utf-8')) return(the_dict) class server_con(): def __init__(self,host='',port=30): sel...
27.475
73
0.556415
277
2,198
4.245487
0.288809
0.076531
0.037415
0.032313
0.455782
0.416667
0.416667
0.416667
0.355442
0.285714
0
0.021025
0.307552
2,198
80
74
27.475
0.751643
0.429026
0
0
0
0
0.085316
0
0
0
0
0
0
1
0.166667
false
0
0.133333
0
0.333333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f226f9e28b1182a033e88cc3340054c8eee83b4e
2,243
py
Python
9.part2.py
elp2/advent_of_code_2020
71e12e25769aa7d5154213077ffae595ad9a4019
[ "Apache-2.0" ]
1
2021-12-02T15:19:36.000Z
2021-12-02T15:19:36.000Z
2020/9.part2.py
elp2/advent_of_code
600e2db9a7d5b576937c9b39c5c6805db406f57b
[ "Apache-2.0" ]
null
null
null
2020/9.part2.py
elp2/advent_of_code
600e2db9a7d5b576937c9b39c5c6805db406f57b
[ "Apache-2.0" ]
null
null
null
from collections import defaultdict def return_default(): return 0 def dd(): return defaultdict(return_default) CHALLENGE_DAY = "9" REAL = open(CHALLENGE_DAY + ".txt").read() assert len(REAL) > 1 SAMPLE = open(CHALLENGE_DAY + ".sample.txt").read() SAMPLE_EXPECTED = 127 # SAMPLE_EXPECTED = ...
25.202247
82
0.543914
286
2,243
4.216783
0.325175
0.034826
0.043118
0.047264
0.034826
0.034826
0
0
0
0
0
0.01354
0.308515
2,243
88
83
25.488636
0.764023
0.213999
0
0
0
0
0.054952
0
0
0
0
0
0.018519
1
0.12963
false
0
0.018519
0.037037
0.296296
0.12963
0
0
0
null
0
0
0
0
0
0
0
0
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
f227f1a6050eb38656085af87d1b77f4623a92c4
3,091
py
Python
exif_address_finder/ExifAddressFinderManager.py
jonathanlurie/ExifAddressFinder
ddb3e526040a80534f2f72246f1b9f96c9c5d0b0
[ "MIT" ]
null
null
null
exif_address_finder/ExifAddressFinderManager.py
jonathanlurie/ExifAddressFinder
ddb3e526040a80534f2f72246f1b9f96c9c5d0b0
[ "MIT" ]
null
null
null
exif_address_finder/ExifAddressFinderManager.py
jonathanlurie/ExifAddressFinder
ddb3e526040a80534f2f72246f1b9f96c9c5d0b0
[ "MIT" ]
null
null
null
#!/usr/bin/env python ''' Author : Jonathan Lurie Email : lurie.jo@gmail.com Version : 0.1 Licence : MIT description : The entry point to the library. ''' import GeoToolbox import exifread import piexif from IFD_KEYS_REFERENCE import * import exifWriter import os class ExifAddressFinderManager: ...
30.60396
136
0.620835
329
3,091
5.781155
0.392097
0.022082
0.023134
0.011567
0
0
0
0
0
0
0
0.012048
0.274992
3,091
100
137
30.91
0.83668
0.15626
0
0.115385
0
0
0.08961
0
0
0
0
0
0
1
0.096154
false
0
0.115385
0
0.384615
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1ee6c5cf51fc01113d2c8df3b5c4886a89607d63
1,402
py
Python
src/anaplan_api/Model.py
jeswils-ap/anaplan-api
e08ea75828a60e96024d596b2f30184c18fa31d3
[ "BSD-2-Clause" ]
2
2021-09-23T08:49:40.000Z
2022-03-28T08:40:02.000Z
src/anaplan_api/Model.py
jeswils-ap/anaplan-api
e08ea75828a60e96024d596b2f30184c18fa31d3
[ "BSD-2-Clause" ]
3
2021-11-06T09:58:03.000Z
2021-11-11T14:00:40.000Z
src/anaplan_api/Model.py
jeswils-ap/anaplan-api
e08ea75828a60e96024d596b2f30184c18fa31d3
[ "BSD-2-Clause" ]
1
2022-02-13T15:59:42.000Z
2022-02-13T15:59:42.000Z
import json import logging import requests from typing import List from requests.exceptions import HTTPError, ConnectionError, SSLError, Timeout, ConnectTimeout, ReadTimeout from .User import User from .ModelDetails import ModelDetails logger = logging.getLogger(__name__) class Model(User): def get_models(self) -> ...
32.604651
106
0.733951
184
1,402
5.451087
0.380435
0.062812
0.047856
0.077767
0.268195
0.268195
0.071785
0.071785
0.071785
0
0
0.0025
0.14408
1,402
42
107
33.380952
0.833333
0
0
0
0
0
0.189729
0
0
0
0
0
0
1
0.028571
false
0
0.2
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1ee821fc6ac5eced71be163ce2b2c80f9de72828
1,757
py
Python
reproduction/Summarization/BertSum/model.py
KuNyaa/fastNLP
22f9b87c54a4eebec7352c7ff772cd24685c7186
[ "Apache-2.0" ]
1
2019-10-05T06:02:44.000Z
2019-10-05T06:02:44.000Z
reproduction/Summarization/BertSum/model.py
awesomemachinelearning/fastNLP
945b30bb6174751130744231aa26119bf9bb2601
[ "Apache-2.0" ]
1
2019-12-09T06:34:44.000Z
2019-12-09T06:34:44.000Z
reproduction/Summarization/BertSum/model.py
awesomemachinelearning/fastNLP
945b30bb6174751130744231aa26119bf9bb2601
[ "Apache-2.0" ]
2
2020-04-21T06:17:59.000Z
2020-05-05T11:22:11.000Z
import torch from torch import nn from torch.nn import init from fastNLP.modules.encoder.bert import BertModel class Classifier(nn.Module): def __init__(self, hidden_size): super(Classifier, self).__init__() self.linear = nn.Linear(hidden_size, 1) self.sigmoid = nn.Sigmoid() def forw...
33.788462
122
0.647126
246
1,757
4.329268
0.256098
0.075117
0.065728
0.050704
0.103286
0.103286
0.103286
0.048826
0
0
0
0.018342
0.224246
1,757
51
123
34.45098
0.763023
0.089357
0
0
0
0
0.025126
0.020101
0
0
0
0
0.125
1
0.125
false
0
0.125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1ee8df8ae43bb7100b118b6ba8aa926ea9cbaa1d
2,226
py
Python
p4p2p/dht/constants.py
ntoll/p4p2p
189a35ae964bef7e6db094283f3ead79c6356a6c
[ "MIT" ]
8
2015-03-08T11:02:58.000Z
2020-04-20T15:36:24.000Z
p4p2p/dht/constants.py
ntoll/p4p2p
189a35ae964bef7e6db094283f3ead79c6356a6c
[ "MIT" ]
null
null
null
p4p2p/dht/constants.py
ntoll/p4p2p
189a35ae964bef7e6db094283f3ead79c6356a6c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Defines constants used by P4P2P. Usually these are based upon concepts from the Kademlia DHT and where possible naming is derived from the original Kademlia paper as are the suggested default values. """ #: Represents the degree of parallelism in network calls. ALPHA = 3 #: The maximum num...
35.903226
79
0.737646
344
2,226
4.735465
0.52907
0.038674
0.016575
0.023941
0.046041
0.046041
0.029466
0
0
0
0
0.017367
0.198113
2,226
61
80
36.491803
0.895238
0.759659
0
0
0
0
0.206
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1eea6f3a21c71f86ef8549a937b8ac0d9d222692
600
py
Python
turtle-crossing/car_manager.py
twbm/Git-Learning-Thingy
7dce0d4f1329df911e1e7008800f843217a5a9a2
[ "MIT" ]
1
2022-03-20T17:00:32.000Z
2022-03-20T17:00:32.000Z
turtle-crossing/car_manager.py
Theodor45/Projects
e311e4a3ae047d6d01d24b3b868ee05ac595f391
[ "MIT" ]
null
null
null
turtle-crossing/car_manager.py
Theodor45/Projects
e311e4a3ae047d6d01d24b3b868ee05ac595f391
[ "MIT" ]
null
null
null
from turtle import Turtle import random COLORS = ["red", "orange", "yellow", "green", "blue", "purple"] STARTING_MOVE_DISTANCE = 5 MOVE_INCREMENT = 10 class CarManager(Turtle): def __del__(self): print(f"Deleted: {self}") def __init__(self): super().__init__('square') self.speed(...
22.222222
63
0.598333
71
600
4.84507
0.633803
0.069767
0
0
0
0
0
0
0
0
0
0.044743
0.255
600
26
64
23.076923
0.724832
0
0
0
0
0
0.09182
0
0
0
0
0
0
1
0.15
false
0
0.1
0
0.3
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1eefb7ddb845bc64282cda5039ab52bf01d96b1d
1,539
py
Python
pointscan/scan.py
gtfierro/point_label_sharing
add0db472ec0bade566c3c1bf9428786c759d980
[ "BSD-3-Clause" ]
5
2019-08-19T10:16:49.000Z
2021-12-19T17:18:18.000Z
pointscan/scan.py
gtfierro/point_label_sharing
add0db472ec0bade566c3c1bf9428786c759d980
[ "BSD-3-Clause" ]
null
null
null
pointscan/scan.py
gtfierro/point_label_sharing
add0db472ec0bade566c3c1bf9428786c759d980
[ "BSD-3-Clause" ]
1
2019-10-11T15:48:42.000Z
2019-10-11T15:48:42.000Z
import click import logging import pandas as pd from pathlib import Path @click.group() def main(): pass @main.command(help="Scan for BACnet devices on your network") @click.option("--ip", help="source IP to use (interface)") @click.option("--dest", default=".", help="destination of scraped points") def scan(ip...
28.5
74
0.57245
193
1,539
4.497409
0.46114
0.038018
0.076037
0.018433
0
0
0
0
0
0
0
0.017102
0.278103
1,539
53
75
29.037736
0.764176
0
0
0
0
0
0.191683
0.025341
0
0
0
0
0
1
0.071429
false
0.02381
0.142857
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
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
1ef0038cb2a91e1c8d60b3c9d94b61a72a9905a8
569
py
Python
var/spack/repos/builtin/packages/py-jdatetime/package.py
adrianjhpc/spack
0a9e4fcee57911f2db586aa50c8873d9cca8de92
[ "ECL-2.0", "Apache-2.0", "MIT" ]
1
2019-09-15T23:55:48.000Z
2019-09-15T23:55:48.000Z
var/spack/repos/builtin/packages/py-jdatetime/package.py
adrianjhpc/spack
0a9e4fcee57911f2db586aa50c8873d9cca8de92
[ "ECL-2.0", "Apache-2.0", "MIT" ]
null
null
null
var/spack/repos/builtin/packages/py-jdatetime/package.py
adrianjhpc/spack
0a9e4fcee57911f2db586aa50c8873d9cca8de92
[ "ECL-2.0", "Apache-2.0", "MIT" ]
1
2017-01-21T17:19:32.000Z
2017-01-21T17:19:32.000Z
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class PyJdatetime(PythonPackage): """jdatetime is Jalali implementation of Python's datetime mod...
35.5625
95
0.755712
71
569
6.056338
0.84507
0.009302
0.013953
0
0
0
0
0
0
0
0
0.107287
0.13181
569
15
96
37.933333
0.763158
0.442882
0
0
0
0.2
0.574675
0.207792
0
0
0
0
0
1
0
false
0
0.2
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
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
1ef103ee8055d6489e89b6cf03c9f9136b33632a
646
py
Python
interview/leet/147_Insertion_Sort_List_Challenge.py
eroicaleo/LearningPython
297d46eddce6e43ce0c160d2660dff5f5d616800
[ "MIT" ]
1
2020-10-12T13:33:29.000Z
2020-10-12T13:33:29.000Z
interview/leet/147_Insertion_Sort_List_Challenge.py
eroicaleo/LearningPython
297d46eddce6e43ce0c160d2660dff5f5d616800
[ "MIT" ]
null
null
null
interview/leet/147_Insertion_Sort_List_Challenge.py
eroicaleo/LearningPython
297d46eddce6e43ce0c160d2660dff5f5d616800
[ "MIT" ]
1
2016-11-09T07:28:45.000Z
2016-11-09T07:28:45.000Z
#!/usr/bin/env python from linklist import * class Solution: def insertionSortList(self, head): dumm = head while head: val, head, prev = head.val, head.next, dumm while val >= prev.val: prev = prev.next while prev != head: prev.v...
22.275862
62
0.53096
74
646
4.635135
0.445946
0.081633
0.06414
0
0
0
0
0
0
0
0
0.030233
0.334365
646
28
63
23.071429
0.767442
0.03096
0
0
0
0
0.0512
0
0
0
0
0
0
1
0.043478
false
0
0.043478
0
0.173913
0
0
0
0
null
0
0
0
0
0
0
0
0
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
1ef14d5232899017df5a28aea662b5304b5bbc53
976
py
Python
robocrm/migrations/0020_auto_20141027_0145.py
CMU-Robotics-Club/roboticsclub.org
5f2ad4a15dc62160c6d03c87c121e934cacb8228
[ "MIT" ]
null
null
null
robocrm/migrations/0020_auto_20141027_0145.py
CMU-Robotics-Club/roboticsclub.org
5f2ad4a15dc62160c6d03c87c121e934cacb8228
[ "MIT" ]
16
2015-01-01T03:42:36.000Z
2016-06-21T05:14:16.000Z
robocrm/migrations/0020_auto_20141027_0145.py
CMU-Robotics-Club/roboticsclub.org
5f2ad4a15dc62160c6d03c87c121e934cacb8228
[ "MIT" ]
2
2015-07-23T14:37:16.000Z
2021-09-11T01:23:25.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('robocrm', '0019_auto_20141021_1157'), ] operations = [ migrations.RemoveField( model_name='robouser', ...
29.575758
158
0.599385
103
976
5.475728
0.601942
0.06383
0.120567
0.148936
0.322695
0.322695
0.177305
0.177305
0
0
0
0.031655
0.28791
976
32
159
30.5
0.779856
0.021516
0
0.461538
0
0
0.208814
0.024134
0
0
0
0
0
1
0
false
0
0.076923
0
0.192308
0
0
0
0
null
0
0
0
0
0
0
0
0
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
1ef394d030837a85a23ff0b3c23491f9f879dcc0
998
py
Python
assignment4/utils.py
nicedi/ML_course_projects
136a18ec8615ae72bb60b4d60e920beb77728115
[ "Apache-2.0" ]
null
null
null
assignment4/utils.py
nicedi/ML_course_projects
136a18ec8615ae72bb60b4d60e920beb77728115
[ "Apache-2.0" ]
null
null
null
assignment4/utils.py
nicedi/ML_course_projects
136a18ec8615ae72bb60b4d60e920beb77728115
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import numpy as np import matplotlib.pyplot as plt def plot_loss(model, n_iter): plt.figure() plt.plot(model.trainloss, 'b-', model.validloss, 'r-') plt.xlim(0, n_iter) plt.xlabel('iteration') plt.ylabel('loss') plt.title('learning curve') plt.legend(['training loss...
27.722222
69
0.625251
148
998
4.114865
0.47973
0.032841
0.052545
0.042693
0.236453
0.236453
0.236453
0.236453
0.134647
0.134647
0
0.019182
0.216433
998
36
70
27.722222
0.759591
0.202405
0
0.347826
0
0
0.164557
0
0
0
0
0
0
1
0.130435
false
0.043478
0.086957
0
0.217391
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1ef4eeb144b92d317488e7746cdc05ddecffcf45
3,018
py
Python
tests/test_utils_project.py
FingerCrunch/scrapy
3225de725720bba246ba8c9845fe4b84bc0c82e7
[ "BSD-3-Clause" ]
41,267
2015-01-01T07:39:25.000Z
2022-03-31T20:09:40.000Z
tests/test_utils_project.py
FingerCrunch/scrapy
3225de725720bba246ba8c9845fe4b84bc0c82e7
[ "BSD-3-Clause" ]
4,420
2015-01-02T09:35:38.000Z
2022-03-31T22:53:32.000Z
tests/test_utils_project.py
FingerCrunch/scrapy
3225de725720bba246ba8c9845fe4b84bc0c82e7
[ "BSD-3-Clause" ]
11,080
2015-01-01T18:11:30.000Z
2022-03-31T15:33:19.000Z
import unittest import os import tempfile import shutil import contextlib from pytest import warns from scrapy.exceptions import ScrapyDeprecationWarning from scrapy.utils.project import data_path, get_project_settings @contextlib.contextmanager def inside_a_project(): prev_dir = os.getcwd() project_dir = t...
30.795918
70
0.629556
348
3,018
5.29023
0.267241
0.026073
0.039109
0.027702
0.42151
0.42151
0.382401
0.382401
0.316133
0.316133
0
0.002699
0.263419
3,018
97
71
31.113402
0.825461
0.008615
0
0.425
0
0
0.08194
0.032776
0
0
0
0
0.1625
1
0.0875
false
0
0.1
0
0.2125
0
0
0
0
null
0
0
0
0
0
0
0
0
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
1ef715bb94a229f05900f1d0c867b3d0fe21f76d
776
py
Python
Tasks/Community/ts_scriptExamples/pythonLogging.py
nneul/Velocity-assets
9be7cd6f483754871c5a541d0083fbe933dfb456
[ "MIT" ]
4
2019-05-27T23:36:34.000Z
2020-11-12T17:08:04.000Z
Tasks/Community/ts_scriptExamples/pythonLogging.py
nneul/Velocity-assets
9be7cd6f483754871c5a541d0083fbe933dfb456
[ "MIT" ]
12
2019-04-17T02:47:25.000Z
2021-04-02T09:15:37.000Z
Tasks/Community/ts_scriptExamples/pythonLogging.py
nneul/Velocity-assets
9be7cd6f483754871c5a541d0083fbe933dfb456
[ "MIT" ]
15
2018-04-26T05:18:12.000Z
2021-11-06T04:44:58.000Z
#!/usr/bin/python import logging # create logger logger = logging.getLogger() logger.setLevel(logging.DEBUG) # create console handler and set level to debug ch = logging.StreamHandler() ch.setLevel(logging.DEBUG) # create file handler which and set level to debug fh = logging.FileHandler('pythonLogging.log') fh.setLev...
25.866667
72
0.76933
106
776
5.632075
0.396226
0.087102
0.067002
0.087102
0.060302
0
0
0
0
0
0
0.001437
0.103093
776
29
73
26.758621
0.856322
0.273196
0
0
0
0
0.230216
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
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
0
0
0
0
0
1
0
1ef7b25dff5a6ddf0729f1a5e0bea3ab89df1ed3
3,565
py
Python
google/datalab/commands/_datalab.py
freyrsae/pydatalab
9aba1ac6bbe8e1384e7a4b07c5042af84348797d
[ "Apache-2.0" ]
198
2016-07-14T19:47:52.000Z
2022-03-15T08:45:21.000Z
google/datalab/commands/_datalab.py
freyrsae/pydatalab
9aba1ac6bbe8e1384e7a4b07c5042af84348797d
[ "Apache-2.0" ]
534
2016-07-15T19:12:43.000Z
2022-03-11T23:11:39.000Z
google/datalab/commands/_datalab.py
freyrsae/pydatalab
9aba1ac6bbe8e1384e7a4b07c5042af84348797d
[ "Apache-2.0" ]
86
2016-07-13T17:39:05.000Z
2021-11-03T03:39:41.000Z
# Copyright 2017 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
33.317757
76
0.748387
498
3,565
5.162651
0.297189
0.050564
0.042007
0.060677
0.337223
0.22676
0.115908
0.092571
0.092571
0.092571
0
0.002635
0.148387
3,565
106
77
33.632075
0.844203
0.251052
0
0.133333
0
0
0.18503
0
0
0
0
0
0
1
0.083333
false
0
0.116667
0
0.283333
0
0
0
0
null
0
0
0
0
0
0
0
0
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
1efa6932e5014bf06e1e937b4bacbf01a0d855e1
11,392
py
Python
brax/training/ars.py
benelot/brax
6b74009face5a12ae3e47b87cdb1abc45181040e
[ "Apache-2.0" ]
1
2021-09-27T18:38:49.000Z
2021-09-27T18:38:49.000Z
brax/training/ars.py
benelot/brax
6b74009face5a12ae3e47b87cdb1abc45181040e
[ "Apache-2.0" ]
null
null
null
brax/training/ars.py
benelot/brax
6b74009face5a12ae3e47b87cdb1abc45181040e
[ "Apache-2.0" ]
1
2021-09-27T18:38:57.000Z
2021-09-27T18:38:57.000Z
# Copyright 2021 The Brax Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
36.512821
88
0.684077
1,472
11,392
4.981658
0.188859
0.058912
0.018546
0.023728
0.288286
0.202782
0.153143
0.111551
0.075003
0.075003
0
0.008471
0.222788
11,392
311
89
36.630225
0.819742
0.069786
0
0.092827
0
0.004219
0.037882
0.004356
0
0
0
0.003215
0.004219
1
0.059072
false
0
0.046414
0.008439
0.189873
0
0
0
0
null
0
0
0
0
0
0
0
0
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
1effabe25e75813c61f0401ae397020afd635812
8,956
py
Python
src/syncgitlab2msproject/gitlab_issues.py
lcv3/SyncGitlab2MSProject
4a81191b7deb6974e893d44f3b04fcfc1da36571
[ "MIT" ]
null
null
null
src/syncgitlab2msproject/gitlab_issues.py
lcv3/SyncGitlab2MSProject
4a81191b7deb6974e893d44f3b04fcfc1da36571
[ "MIT" ]
null
null
null
src/syncgitlab2msproject/gitlab_issues.py
lcv3/SyncGitlab2MSProject
4a81191b7deb6974e893d44f3b04fcfc1da36571
[ "MIT" ]
null
null
null
import dateutil.parser from datetime import datetime from functools import lru_cache from gitlab import Gitlab from gitlab.v4.objects import Project from logging import getLogger from typing import Dict, List, Optional, Union from .custom_types import GitlabIssue, GitlabUserDict from .exceptions import MovedIssueNotDe...
30.154882
85
0.600715
1,119
8,956
4.652368
0.21269
0.030926
0.027468
0.02305
0.174414
0.107952
0.081444
0.062236
0.049174
0.034191
0
0.003665
0.299241
8,956
296
86
30.256757
0.825844
0.2069
0
0.255682
0
0
0.08385
0.003626
0
0
0
0
0.005682
1
0.181818
false
0
0.056818
0.051136
0.505682
0
0
0
0
null
0
0
0
0
0
0
0
0
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
48026c0db5235d96fe4f5a2a24dc36b8317b3710
964
py
Python
pytest/track_test.py
Sergej91/TheiaSfM
e603e16888456c3e565a2c197fa9f8643c176175
[ "BSD-3-Clause" ]
null
null
null
pytest/track_test.py
Sergej91/TheiaSfM
e603e16888456c3e565a2c197fa9f8643c176175
[ "BSD-3-Clause" ]
null
null
null
pytest/track_test.py
Sergej91/TheiaSfM
e603e16888456c3e565a2c197fa9f8643c176175
[ "BSD-3-Clause" ]
null
null
null
import pytheia as pt import os import numpy as np def test_track_set_descriptor_read_write(): recon = pt.sfm.Reconstruction() view_id1 = recon.AddView("0",0.0) m_view1 = recon.MutableView(view_id1) m_view1.IsEstimated = True view_id2 = recon.AddView("1",1.0) m_view2 = recon.MutableView(view_id2...
27.542857
56
0.701245
135
964
4.703704
0.385185
0.056693
0.037795
0.069291
0.097638
0.097638
0
0
0
0
0
0.03657
0.177386
964
35
57
27.542857
0.764187
0.010373
0
0
0
0
0.023085
0
0
0
0
0
0.076923
1
0.038462
false
0
0.115385
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
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
4808f358b59d11b04181bc6422be2976a2eb690f
2,344
py
Python
setup.py
doconce/preprocess
c09c61ca7571699c6ed8d93eaf4fac13ee614409
[ "MIT" ]
5
2020-05-23T14:56:13.000Z
2021-07-30T15:26:27.000Z
setup.py
doconce/preprocess
c09c61ca7571699c6ed8d93eaf4fac13ee614409
[ "MIT" ]
2
2018-02-19T10:12:50.000Z
2020-11-15T15:27:17.000Z
setup.py
doconce/preprocess
c09c61ca7571699c6ed8d93eaf4fac13ee614409
[ "MIT" ]
2
2018-06-10T11:51:52.000Z
2020-09-02T20:41:46.000Z
#!/usr/bin/env python # Copyright (c) 2002-2005 ActiveState Software Ltd. """preprocess: a multi-language preprocessor There are millions of templating systems out there (most of them developed for the web). This isn't one of those, though it does share some basics: a markup syntax for templates that are processed to...
34.470588
75
0.700939
315
2,344
5.149206
0.631746
0.022195
0.017263
0
0
0
0
0
0
0
0
0.008264
0.174061
2,344
67
76
34.985075
0.829545
0.404863
0
0
0
0
0.432179
0
0
0
0
0
0
1
0.02439
false
0
0.121951
0
0.146341
0
0
0
0
null
0
0
0
0
0
0
0
0
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
48098c0ad42aef816d1cc33d9f2b4cf7db1cf4ab
1,504
py
Python
bubblebbs/config.py
kawa-kokosowa/bubblebbs
2b70fd66c27f717ed009cbe5efc0d0d5433f3423
[ "MIT" ]
7
2019-01-03T01:21:32.000Z
2020-09-03T01:52:09.000Z
bubblebbs/config.py
lily-mayfield/bubblebbs
2b70fd66c27f717ed009cbe5efc0d0d5433f3423
[ "MIT" ]
109
2018-05-04T10:32:23.000Z
2018-06-24T03:35:01.000Z
bubblebbs/config.py
kawa-kokosowa/bubblebbs
2b70fd66c27f717ed009cbe5efc0d0d5433f3423
[ "MIT" ]
3
2018-05-14T15:10:03.000Z
2018-05-19T01:13:03.000Z
import os BEHIND_REVERSE_PROXY = bool(os.environ.get('BBBS_BEHIND_REVERSE_PROXY', False)) POSTS_PER_PAGE = 25 TEMPLATES_AUTO_RELOAD = True RECAPTCHA_ENABLED = os.environ.get('BBBS_RECAPTCHA_ENABLED', False) RECAPTCHA_SITE_KEY = os.environ.get('BBBS_RECAPTCHA_SITE_KEY', 'CHANGEGME') RECAPTCHA_SECRET_KEY = os.environ...
42.971429
96
0.776596
235
1,504
4.680851
0.378723
0.09
0.12
0.145455
0.304545
0.155455
0.054545
0
0
0
0
0.032738
0.106383
1,504
34
97
44.235294
0.785714
0
0
0
0
0.037037
0.446809
0.095745
0
0
0
0
0
1
0
false
0
0.037037
0
0.037037
0
0
0
0
null
0
0
0
0
0
0
0
0
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
480ae2b25c3bc1935302502823a56a560d147572
736
py
Python
setup.py
vishnumenon/pyims
d6b1403332e83477661baa6443fba82daaf10542
[ "MIT" ]
1
2018-05-21T01:38:31.000Z
2018-05-21T01:38:31.000Z
setup.py
vishnumenon/pyims
d6b1403332e83477661baa6443fba82daaf10542
[ "MIT" ]
1
2019-03-01T09:40:15.000Z
2019-03-01T09:40:15.000Z
setup.py
vishnumenon/pyims
d6b1403332e83477661baa6443fba82daaf10542
[ "MIT" ]
null
null
null
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup(name="pyims", version='0.1.2', description='A python wrapper for the IMS Word Sense Disambiguation tool (Zhong and Ng, 2010)', url='http://github.com/vishnumenon/pyims', author="Vishnu Menon", aut...
30.666667
99
0.658967
86
736
5.523256
0.77907
0.126316
0.08
0.126316
0
0
0
0
0
0
0
0.013675
0.205163
736
23
100
32
0.798291
0
0
0
0
0
0.396739
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.045455
0
0
0
0
null
0
0
0
0
0
0
0
0
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
480af4411812ec81b6aa03218911dad18afb95a5
728
py
Python
hass_apps/schedy/actor/__init__.py
weese/hass-apps
1c0f7828213ab26924b571ad6d33514d52675ca0
[ "Apache-2.0" ]
null
null
null
hass_apps/schedy/actor/__init__.py
weese/hass-apps
1c0f7828213ab26924b571ad6d33514d52675ca0
[ "Apache-2.0" ]
null
null
null
hass_apps/schedy/actor/__init__.py
weese/hass-apps
1c0f7828213ab26924b571ad6d33514d52675ca0
[ "Apache-2.0" ]
null
null
null
""" This package contains the various actor implementations. """ import typing as T from .base import ActorBase from .custom import CustomActor from .generic import GenericActor from .switch import SwitchActor from .thermostat import ThermostatActor __all__ = [ "ActorBase", "CustomActor", "GenericActor"...
22.75
77
0.703297
84
728
5.869048
0.52381
0.091278
0.056795
0
0
0
0
0
0
0
0
0
0.208791
728
31
78
23.483871
0.855903
0.120879
0
0
0
0
0.092504
0
0
0
0
0
0
1
0.05
false
0
0.3
0
0.35
0
0
0
0
null
0
0
0
0
0
0
0
0
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
480bf69db63d53cb496e110eff657c50a64491da
1,605
py
Python
lib/python2.7/site-packages/mpl_toolkits/tests/test_axes_grid.py
wfehrnstrom/harmonize
e5661d24b2021739e8ac4bf1d3a530eda4e155b3
[ "MIT" ]
1
2017-12-05T15:35:47.000Z
2017-12-05T15:35:47.000Z
lib/python2.7/site-packages/mpl_toolkits/tests/test_axes_grid.py
wfehrnstrom/harmonize
e5661d24b2021739e8ac4bf1d3a530eda4e155b3
[ "MIT" ]
10
2017-07-13T00:24:03.000Z
2017-07-17T07:39:03.000Z
lib/python2.7/site-packages/mpl_toolkits/tests/test_axes_grid.py
wfehrnstrom/harmonize
e5661d24b2021739e8ac4bf1d3a530eda4e155b3
[ "MIT" ]
7
2017-08-01T04:02:07.000Z
2018-10-06T21:07:20.000Z
from matplotlib.testing.decorators import image_comparison from mpl_toolkits.axes_grid1 import ImageGrid import numpy as np import matplotlib.pyplot as plt @image_comparison(baseline_images=['imagegrid_cbar_mode'], extensions=['png'], remove_text=True) def test_imagegrid_cbar_mode...
37.325581
68
0.556386
199
1,605
4.386935
0.557789
0.050401
0.038946
0.027491
0.032073
0
0
0
0
0
0
0.061187
0.317757
1,605
42
69
38.214286
0.736073
0.063551
0
0
0
0
0.052035
0
0
0
0
0
0
1
0.03125
false
0
0.125
0
0.15625
0
0
0
0
null
0
0
0
0
0
0
0
0
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
480cf2d366aba92e09518883be9b0629f1fbd5c8
4,985
py
Python
src/resources/lib/listitem.py
ffoxin/kodi.kino.pub
f085beb99fcbab3da4efc698d56775d9553b9f28
[ "BSD-3-Clause" ]
59
2018-10-07T19:54:27.000Z
2022-03-27T08:55:57.000Z
src/resources/lib/listitem.py
ffoxin/kodi.kino.pub
f085beb99fcbab3da4efc698d56775d9553b9f28
[ "BSD-3-Clause" ]
147
2018-10-07T19:02:13.000Z
2022-03-05T17:15:16.000Z
src/resources/lib/listitem.py
ffoxin/kodi.kino.pub
f085beb99fcbab3da4efc698d56775d9553b9f28
[ "BSD-3-Clause" ]
22
2018-11-14T16:40:19.000Z
2022-02-11T22:30:28.000Z
# -*- coding: utf-8 -*- from xbmcgui import ListItem class ExtendedListItem(ListItem): def __new__(cls, name, label2="", path="", **kwargs): return super(ExtendedListItem, cls).__new__(cls, name, label2, path) def __init__( self, name, label2="", iconImage="", ...
39.88
98
0.620662
506
4,985
5.966403
0.280632
0.044717
0.025836
0.033124
0.204372
0.170586
0.131832
0.109308
0.073534
0.031799
0
0.00486
0.256971
4,985
124
99
40.201613
0.809935
0.021264
0
0.12844
0
0
0.118335
0.036095
0
0
0
0
0
1
0.110092
false
0
0.009174
0.009174
0.165138
0
0
0
0
null
0
0
0
0
0
0
0
0
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
480d3d853c8689806f27c896226d9a525a7a54e6
3,451
py
Python
static/firespread.py
thabat12/TetraNet
48e98095e743f949fdb88491735acb3f19e27df7
[ "MIT" ]
null
null
null
static/firespread.py
thabat12/TetraNet
48e98095e743f949fdb88491735acb3f19e27df7
[ "MIT" ]
null
null
null
static/firespread.py
thabat12/TetraNet
48e98095e743f949fdb88491735acb3f19e27df7
[ "MIT" ]
1
2021-06-02T00:33:13.000Z
2021-06-02T00:33:13.000Z
import numpy as np import imageio import tensorflow as tf from keras.models import load_model from PIL import Image, ImageOps import numpy as np from numpy import asarray from matplotlib import pyplot as plt from keras.utils import normalize import os import random import azure_get_unet import random # for testing pu...
29.75
73
0.541003
501
3,451
3.648703
0.255489
0.05744
0.011488
0.041028
0.236324
0.17779
0.127462
0.12035
0.12035
0.12035
0
0.051496
0.34164
3,451
115
74
30.008696
0.753081
0.112721
0
0.1125
0
0
0.008544
0
0
0
0
0
0
1
0.025
false
0
0.175
0
0.2125
0.075
0
0
0
null
0
0
0
0
0
0
0
0
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
480db89fecb8063418ca5134d6a59815af7cc219
702
py
Python
sera/commands/symlink.py
bretth/sera
507976b9ace58bdf4c8055dbfcf2fc10840eacb2
[ "Apache-2.0" ]
null
null
null
sera/commands/symlink.py
bretth/sera
507976b9ace58bdf4c8055dbfcf2fc10840eacb2
[ "Apache-2.0" ]
12
2016-10-04T20:19:45.000Z
2017-01-31T03:59:57.000Z
sera/commands/symlink.py
bretth/sera
507976b9ace58bdf4c8055dbfcf2fc10840eacb2
[ "Apache-2.0" ]
null
null
null
from pathlib import Path from shutil import which from subprocess import run, PIPE import click from .main import main, lprint @main.command() @click.pass_context @click.argument('watcher') def symlink(ctx, watcher): """Locally install a symlink to sera""" if ctx.parent.params['watcher']: click.echo...
25.071429
60
0.649573
91
702
4.989011
0.538462
0.022026
0
0
0
0
0
0
0
0
0
0
0.223647
702
28
61
25.071429
0.833028
0.047009
0
0
0
0
0.120482
0
0
0
0
0
0
1
0.045455
false
0.045455
0.227273
0
0.318182
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
480e88801229fe7f9b5057dd51b7998fec8f0003
3,597
py
Python
self-attention.py
dhkim2810/MaskedDatasetCondensation
f52144e9cd68e46b4ebdbcaf96829edb732b79ae
[ "Apache-2.0" ]
null
null
null
self-attention.py
dhkim2810/MaskedDatasetCondensation
f52144e9cd68e46b4ebdbcaf96829edb732b79ae
[ "Apache-2.0" ]
null
null
null
self-attention.py
dhkim2810/MaskedDatasetCondensation
f52144e9cd68e46b4ebdbcaf96829edb732b79ae
[ "Apache-2.0" ]
null
null
null
import torch from torch import nn import torch.nn.functional as F from torch.utils.data import DataLoader from torchvision import transforms from torchvision.models import resnet18 from torchvision.datasets import CIFAR10 from tqdm import tqdm from torchvision.utils import save_image, make_grid from matplotlib import p...
34.92233
116
0.683903
474
3,597
5.048523
0.417722
0.029252
0.016715
0.015044
0.127873
0.103636
0.055997
0.055997
0.055997
0.055997
0
0.046037
0.196831
3,597
103
117
34.92233
0.782278
0.006116
0
0.067416
0
0
0.034975
0
0
0
0
0
0
1
0.044944
false
0
0.269663
0.011236
0.359551
0
0
0
0
null
0
0
0
0
0
0
0
0
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
480f4cbaf998ac30c959d68f9aa7a041e7838e2a
1,100
py
Python
src/libraries/maimai_plate.py
Blitz-Raynor/Kiba
a73b5b6212a5446d218a80f1a6aba108e0a1912b
[ "MIT" ]
4
2022-01-24T05:33:34.000Z
2022-03-25T06:29:19.000Z
src/libraries/maimai_plate.py
Blitz-Raynor/Kiba
a73b5b6212a5446d218a80f1a6aba108e0a1912b
[ "MIT" ]
null
null
null
src/libraries/maimai_plate.py
Blitz-Raynor/Kiba
a73b5b6212a5446d218a80f1a6aba108e0a1912b
[ "MIT" ]
3
2022-02-08T13:24:59.000Z
2022-03-13T06:42:40.000Z
from typing import Optional, Dict, List import aiohttp plate_to_version = { '真1': 'maimai', '真2': 'maimai PLUS', '超': 'maimai GreeN', '檄': 'maimai GreeN PLUS', '橙': 'maimai ORANGE', '暁': 'maimai ORANGE PLUS', '晓': 'maimai ORANGE PLUS', '桃': 'maimai PiNK'...
29.72973
123
0.53
131
1,100
4.40458
0.534351
0.076257
0.055459
0
0
0
0
0
0
0
0
0.01992
0.315455
1,100
37
124
29.72973
0.746348
0
0
0
0
0
0.353315
0
0
0
0
0
0
1
0
false
0
0.060606
0
0.151515
0
0
0
0
null
0
0
0
0
0
0
0
0
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
48100064f1145ddaa5540b7d9cd09cc85ae092af
6,390
py
Python
env/lib/python2.7/site-packages/billiard/py2/reduction.py
jlwysf/onduty
20d90583a6996d037912af08eb29a6d6fa06bf66
[ "MIT" ]
39
2016-12-05T14:36:37.000Z
2021-07-29T18:22:34.000Z
env/lib/python2.7/site-packages/billiard/py2/reduction.py
jlwysf/onduty
20d90583a6996d037912af08eb29a6d6fa06bf66
[ "MIT" ]
68
2016-12-12T20:38:47.000Z
2020-07-26T18:28:49.000Z
p2p/lib/python2.7/site-packages/billiard/py2/reduction.py
sivaprakashniet/push_pull
757be6fcdfdc8e73eeea5cb41a733d1916c7ae20
[ "BSD-3-Clause" ]
120
2016-08-18T14:53:03.000Z
2020-06-16T13:27:20.000Z
# # Module to allow connection and socket objects to be transferred # between processes # # multiprocessing/reduction.py # # Copyright (c) 2006-2008, R Oudkerk # Licensed to PSF under a Contributor Agreement. # from __future__ import absolute_import import os import sys import socket import threading from pickle imp...
25.662651
74
0.680751
763
6,390
5.423329
0.264744
0.024166
0.015466
0.01305
0.152006
0.105848
0.105848
0.087965
0.065732
0.041083
0
0.006867
0.225196
6,390
248
75
25.766129
0.828923
0.096557
0
0.173077
0
0
0.036437
0
0
0
0
0
0
1
0.147436
false
0.00641
0.115385
0.032051
0.397436
0
0
0
0
null
0
0
0
0
0
0
0
0
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
4811f993b7e4266adf0f540c90cd21e38ddb5532
13,723
py
Python
.venv/lib/python2.7/site-packages/ansible/module_utils/nxos.py
Achraf-Ben/Ansible-
a271b4c32948a7f8726e3f3174e12fe6ff491619
[ "MIT" ]
null
null
null
.venv/lib/python2.7/site-packages/ansible/module_utils/nxos.py
Achraf-Ben/Ansible-
a271b4c32948a7f8726e3f3174e12fe6ff491619
[ "MIT" ]
null
null
null
.venv/lib/python2.7/site-packages/ansible/module_utils/nxos.py
Achraf-Ben/Ansible-
a271b4c32948a7f8726e3f3174e12fe6ff491619
[ "MIT" ]
null
null
null
# # This code is part of Ansible, but is an independent component. # # This particular file snippet, and this file snippet only, is BSD licensed. # Modules you write using this snippet, which is embedded dynamically by Ansible # still belong to the author of the module, and may assign their own license # to the complet...
33.717445
130
0.602274
1,639
13,723
4.885296
0.206223
0.032472
0.015986
0.016486
0.290496
0.243287
0.207693
0.166729
0.15424
0.15424
0
0.002981
0.29119
13,723
406
131
33.800493
0.820191
0.175399
0
0.297398
0
0
0.105675
0.013788
0
0
0
0
0
1
0.089219
false
0.011152
0.026022
0.01487
0.208178
0
0
0
0
null
0
0
0
0
0
0
0
0
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
48123959326e46f67183f1e789974d0424c29d58
2,315
py
Python
example/bin_provider.py
dell/dataiq-plugin-example
7c323ec2d878ed705c4c74ab045e15595bd84b0b
[ "Apache-2.0" ]
1
2021-04-12T09:32:21.000Z
2021-04-12T09:32:21.000Z
example/bin_provider.py
dell/dataiq-plugin-example
7c323ec2d878ed705c4c74ab045e15595bd84b0b
[ "Apache-2.0" ]
null
null
null
example/bin_provider.py
dell/dataiq-plugin-example
7c323ec2d878ed705c4c74ab045e15595bd84b0b
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Dell Inc, or its subsidiaries. # # SPDX-License-Identifier: Apache-2.0 import csv import datetime import os import sys from abc import ABC, abstractmethod from collections import namedtuple from typing import Tuple, List, Iterator from dateutil.relativedelta import relativedelta from dataiq.plugin.u...
32.605634
93
0.64622
284
2,315
5.176056
0.478873
0.019048
0.020408
0.028571
0.07551
0.07551
0.07551
0.07551
0.07551
0.07551
0
0.010251
0.241469
2,315
70
94
33.071429
0.826879
0.118359
0
0.163265
0
0
0.073746
0.017699
0
0
0
0
0
1
0.102041
false
0.040816
0.244898
0
0.44898
0
0
0
0
null
0
0
0
0
0
0
0
0
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
4812aa4cff01a349a2420a59bd686d36663cfba9
1,913
py
Python
md5tosha256.py
yym68686/VirusTotalSpider
7620b068e87964f6011d46003dbbf88be5c7dac9
[ "MIT" ]
2
2021-06-17T03:36:59.000Z
2021-12-02T09:13:10.000Z
md5tosha256.py
yym68686/VirusTotalSpider
7620b068e87964f6011d46003dbbf88be5c7dac9
[ "MIT" ]
null
null
null
md5tosha256.py
yym68686/VirusTotalSpider
7620b068e87964f6011d46003dbbf88be5c7dac9
[ "MIT" ]
null
null
null
import os import re import time import numpy as np from msedge.selenium_tools import EdgeOptions, Edge from selenium.webdriver.common.action_chains import ActionChains headers = { 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36 Edg/8...
44.488372
150
0.658129
235
1,913
5.27234
0.638298
0.01937
0.038741
0.033898
0.096852
0.058111
0.058111
0
0
0
0
0.049706
0.200732
1,913
42
151
45.547619
0.760628
0.122321
0
0.052632
0
0.026316
0.237867
0.019772
0
0
0
0
0
1
0
false
0
0.157895
0
0.157895
0.078947
0
0
0
null
0
0
0
0
0
0
0
0
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
481a202af8c698328bf81874ddd4607ef4a05765
1,995
py
Python
home/stock_model.py
85599/nse-django
f42531528137f39596b374a0dacdd37957e69ed2
[ "MIT" ]
null
null
null
home/stock_model.py
85599/nse-django
f42531528137f39596b374a0dacdd37957e69ed2
[ "MIT" ]
1
2021-02-25T05:34:43.000Z
2021-02-25T05:34:43.000Z
home/stock_model.py
85599/nse-django
f42531528137f39596b374a0dacdd37957e69ed2
[ "MIT" ]
null
null
null
import os import pandas as pd from sklearn import linear_model from nsetools import Nse import pathlib import joblib nse = Nse() def nse_data(stock_name): '''input stock_name : str output : list = output,high,low''' data = nse.get_quote(stock_name) current = [data['open'],data['dayHigh'],data['dayLow'...
28.098592
88
0.593484
257
1,995
4.392996
0.33463
0.111603
0.042516
0.042516
0.190434
0.132861
0.132861
0.132861
0.132861
0.132861
0
0.004147
0.274687
1,995
70
89
28.5
0.776088
0.172431
0
0.142857
0
0
0.125622
0.075871
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.357143
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
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
481b02369261f195f00f8a2beb84d5e057a643b6
5,207
py
Python
deepy/data/audio/tau2019.py
popura/deepy-pytorch
71d87a82e937d82b9b149041280a392cc24b7299
[ "MIT" ]
1
2021-07-19T09:38:26.000Z
2021-07-19T09:38:26.000Z
deepy/data/audio/tau2019.py
popura/deepy-pytorch
71d87a82e937d82b9b149041280a392cc24b7299
[ "MIT" ]
1
2021-07-26T06:47:45.000Z
2021-07-26T06:47:45.000Z
deepy/data/audio/tau2019.py
popura/deepy-pytorch
71d87a82e937d82b9b149041280a392cc24b7299
[ "MIT" ]
null
null
null
import sys import os import os.path import random from pathlib import Path import torch import torchaudio from .audiodataset import AUDIO_EXTENSIONS, default_loader from ..dataset import PureDatasetFolder, has_file_allowed_extension class TAU2019(PureDatasetFolder): """TAU urban acoustic scene 2019 dataset. ...
41.325397
109
0.61014
615
5,207
4.957724
0.261789
0.018039
0.026566
0.023614
0.157429
0.030174
0
0
0
0
0
0.011842
0.302669
5,207
125
110
41.656
0.827871
0.077204
0
0.020619
0
0
0.076613
0.007216
0
0
0
0
0
1
0.072165
false
0.010309
0.092784
0.020619
0.226804
0
0
0
0
null
0
0
0
0
0
0
0
0
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
481b39532625d6b67659f1b6e06ab7e797e7fa51
215
py
Python
swaping 2.py
aash-gates/aash-python-babysteps
cb88b02b0d33ac74acb183d4f11f6baad0ad3db9
[ "Unlicense" ]
7
2020-11-16T18:23:21.000Z
2021-12-18T14:08:54.000Z
swaping 2.py
00mjk/aash-python-babysteps
c52ffbc2690ea387eaad6639bb9764b9ee015bfd
[ "Unlicense" ]
null
null
null
swaping 2.py
00mjk/aash-python-babysteps
c52ffbc2690ea387eaad6639bb9764b9ee015bfd
[ "Unlicense" ]
1
2020-12-21T15:59:44.000Z
2020-12-21T15:59:44.000Z
''' practice qusestion from chapter 1 Module 5 of IBM Digital Nation Courses by Aashik J Krishnan/Aash Gates ''' x = 10 y = "ten" #step 1 x,y = y,x #printing on next line print(x) print(y) #end of the program
11.944444
72
0.688372
40
215
3.7
0.775
0
0
0
0
0
0
0
0
0
0
0.029586
0.213953
215
18
73
11.944444
0.846154
0.697674
0
0
0
0
0.053571
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
0
0
0
0
0
0
0
0
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
481b7b847a5b07aac335adc738e6043d2c120dd3
1,965
py
Python
Lab_5_Eigen_Decomposition/eigen_images.py
NahianHasan/ECE63700-Digital_Image_Processing
ef1f1df93ffa16a4c76ddc8cc5ed6bc303dea96b
[ "BSD-3-Clause" ]
null
null
null
Lab_5_Eigen_Decomposition/eigen_images.py
NahianHasan/ECE63700-Digital_Image_Processing
ef1f1df93ffa16a4c76ddc8cc5ed6bc303dea96b
[ "BSD-3-Clause" ]
null
null
null
Lab_5_Eigen_Decomposition/eigen_images.py
NahianHasan/ECE63700-Digital_Image_Processing
ef1f1df93ffa16a4c76ddc8cc5ed6bc303dea96b
[ "BSD-3-Clause" ]
null
null
null
import read_data as RD import numpy as np import matplotlib.pyplot as plt from PIL import Image X = RD.read_data() print('X = ',X.shape) X_mean = np.reshape(np.sum(X,1)/X.shape[1],[ X.shape[0],1]) X = X-X_mean print('X_centerred = ',X.shape) [U,S,V] = np.linalg.svd(X, full_matrices=False) print('U = ',U.shape) print('...
31.190476
72
0.690076
368
1,965
3.619565
0.293478
0.045045
0.039039
0.06006
0.262763
0.183934
0.142643
0.142643
0.142643
0.07958
0
0.041127
0.096692
1,965
62
73
31.693548
0.709296
0.113486
0
0.148148
0
0
0.15389
0.055331
0
0
0
0
0
1
0
false
0
0.074074
0
0.074074
0.148148
0
0
0
null
0
0
0
0
0
0
0
0
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
481e768516bbaa32d5ff9541dc002fb4c1d54c46
755
py
Python
my_lambdata/my_mod.py
DevvinK/lambdata-devvink-dspt6
4920402865912cea619d995a0a092ff8f7dc7806
[ "MIT" ]
null
null
null
my_lambdata/my_mod.py
DevvinK/lambdata-devvink-dspt6
4920402865912cea619d995a0a092ff8f7dc7806
[ "MIT" ]
null
null
null
my_lambdata/my_mod.py
DevvinK/lambdata-devvink-dspt6
4920402865912cea619d995a0a092ff8f7dc7806
[ "MIT" ]
null
null
null
# my_lambdata/my_mod.py # my_lambdata.my_mod import pandas as pd def enlarge(num): return num * 100 def null_check(df): null_lines = df[df.isnull().any(axis=1)] return null_lines def date_divider(df,date_col): ''' df: the whole dataframe adding new day, month, year to date_col: the name of the c...
26.034483
73
0.695364
120
755
4.133333
0.475
0.177419
0.072581
0.157258
0.199597
0.199597
0
0
0
0
0
0.011236
0.174834
755
29
74
26.034483
0.784912
0.2
0
0
0
0
0.087179
0
0
0
0
0
0
1
0.176471
false
0
0.058824
0.058824
0.411765
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
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
4820376c0af9d2cd61ab8620253e559ebeadb415
30,627
py
Python
visibility.py
DanielAndreasen/ObservationTools
bae6bce4345cbd207d901ad5c4073a8e8e8a0d3e
[ "MIT" ]
2
2016-04-05T16:29:32.000Z
2016-04-13T15:51:48.000Z
visibility.py
iastro-pt/ObservationTools
bae6bce4345cbd207d901ad5c4073a8e8e8a0d3e
[ "MIT" ]
45
2016-11-23T17:51:36.000Z
2021-05-17T10:57:37.000Z
visibility.py
DanielAndreasen/ObservationTools
bae6bce4345cbd207d901ad5c4073a8e8e8a0d3e
[ "MIT" ]
2
2016-11-24T00:24:29.000Z
2016-11-30T11:36:43.000Z
# -*- coding: utf-8 -*- from __future__ import print_function import sys import numpy as np import datetime as dt from dateutil import tz import pickle from random import choice from PyAstronomy import pyasl from astropy.coordinates import SkyCoord from astropy.coordinates import name_resolve import ephem import argpar...
37.259124
127
0.631795
4,352
30,627
4.362362
0.159237
0.006584
0.005899
0.005794
0.532052
0.4798
0.460574
0.446247
0.429023
0.406795
0
0.044565
0.209456
30,627
821
128
37.304507
0.739509
0.123486
0
0.428325
0
0.003454
0.122519
0.004887
0
0
0
0
0.001727
1
0.017271
false
0
0.058722
0
0.091537
0.032815
0
0
0
null
0
0
0
0
0
0
0
0
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
4820cb952aabf646bc6ba2c9f17988cb0a784a1d
2,410
py
Python
brainrender/Utils/parsers/rat.py
maithamn/BrainRender
9359ccc5b278f58ee3124bcf75b9ebefe0378bbc
[ "MIT" ]
null
null
null
brainrender/Utils/parsers/rat.py
maithamn/BrainRender
9359ccc5b278f58ee3124bcf75b9ebefe0378bbc
[ "MIT" ]
null
null
null
brainrender/Utils/parsers/rat.py
maithamn/BrainRender
9359ccc5b278f58ee3124bcf75b9ebefe0378bbc
[ "MIT" ]
null
null
null
import sys sys.path.append('./') import os import pandas as pd from vtkplotter import load from brainrender import DEFAULT_STRUCTURE_COLOR def get_rat_regions_metadata(metadata_fld): """ :param metadata_fld: """ return pd.read_pickle(os.path.join(metadata_fld, "rat_structures.pkl")) def get_rat_...
29.036145
110
0.546473
275
2,410
4.650909
0.327273
0.018765
0.037529
0.050039
0.112588
0.112588
0.075059
0
0
0
0
0.003096
0.329876
2,410
82
111
29.390244
0.788854
0.061411
0
0.074074
0
0
0.078174
0
0
0
0
0
0
1
0.037037
false
0.018519
0.092593
0
0.203704
0.018519
0
0
0
null
0
0
0
0
0
0
0
0
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
482206f17e299eb89f694f10375879badc6e9f3d
8,678
py
Python
components/isceobj/Alos2burstProc/runFrameMosaic.py
vincentschut/isce2
1557a05b7b6a3e65abcfc32f89c982ccc9b65e3c
[ "ECL-2.0", "Apache-2.0" ]
1
2020-08-18T13:00:39.000Z
2020-08-18T13:00:39.000Z
components/isceobj/Alos2burstProc/runFrameMosaic.py
vincentschut/isce2
1557a05b7b6a3e65abcfc32f89c982ccc9b65e3c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
components/isceobj/Alos2burstProc/runFrameMosaic.py
vincentschut/isce2
1557a05b7b6a3e65abcfc32f89c982ccc9b65e3c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# # Author: Cunren Liang # Copyright 2015-present, NASA-JPL/Caltech # import os import logging import isceobj from isceobj.Alos2Proc.runFrameMosaic import frameMosaic from isceobj.Alos2Proc.runFrameMosaic import frameMosaicParameters from isceobj.Alos2Proc.Alos2ProcPublic import create_xml logger = logging.getLogger...
50.748538
139
0.698779
799
8,678
7.494368
0.192741
0.099198
0.0334
0.054108
0.521042
0.471443
0.450234
0.429359
0.399967
0.369405
0
0.00744
0.179074
8,678
170
140
51.047059
0.833099
0.150841
0
0.352381
0
0
0.028967
0.004851
0
0
0
0
0
1
0.009524
false
0
0.07619
0
0.085714
0.009524
0
0
0
null
0
0
0
0
0
0
0
0
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
4822b67c5088178025d58774742a32a17ce91c77
834
py
Python
env/lib/python3.8/site-packages/plotly/validators/waterfall/_connector.py
acrucetta/Chicago_COVI_WebApp
a37c9f492a20dcd625f8647067394617988de913
[ "MIT", "Unlicense" ]
11,750
2015-10-12T07:03:39.000Z
2022-03-31T20:43:15.000Z
env/lib/python3.8/site-packages/plotly/validators/waterfall/_connector.py
acrucetta/Chicago_COVI_WebApp
a37c9f492a20dcd625f8647067394617988de913
[ "MIT", "Unlicense" ]
2,951
2015-10-12T00:41:25.000Z
2022-03-31T22:19:26.000Z
env/lib/python3.8/site-packages/plotly/validators/waterfall/_connector.py
acrucetta/Chicago_COVI_WebApp
a37c9f492a20dcd625f8647067394617988de913
[ "MIT", "Unlicense" ]
2,623
2015-10-15T14:40:27.000Z
2022-03-28T16:05:50.000Z
import _plotly_utils.basevalidators class ConnectorValidator(_plotly_utils.basevalidators.CompoundValidator): def __init__(self, plotly_name="connector", parent_name="waterfall", **kwargs): super(ConnectorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, ...
33.36
83
0.57554
77
834
5.909091
0.545455
0.065934
0.10989
0
0
0
0
0
0
0
0
0
0.344125
834
24
84
34.75
0.83181
0
0
0
0
0
0.096712
0
0
0
0
0
0
1
0.076923
false
0
0.076923
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
0
0
0
0
0
0
0
0
0
0
1
0
4823bb4588dd2055c421f82a83ae6da7fc0c5d90
7,915
py
Python
ssd_data/augmentations/geometrics.py
star-baba/res50_sa_ssd
c7c0f218307b50e7ac1fd8945868df01f1743467
[ "MIT" ]
1
2020-06-16T12:53:25.000Z
2020-06-16T12:53:25.000Z
ssd_data/augmentations/geometrics.py
star-baba/res50_sa_ssd
c7c0f218307b50e7ac1fd8945868df01f1743467
[ "MIT" ]
3
2020-06-06T02:00:34.000Z
2020-06-23T16:38:25.000Z
ssd_data/augmentations/geometrics.py
star-baba/res50_sa_ssd
c7c0f218307b50e7ac1fd8945868df01f1743467
[ "MIT" ]
1
2021-04-27T06:40:21.000Z
2021-04-27T06:40:21.000Z
from numpy import random import numpy as np import logging from ._utils import decision from ssd.core.boxes.utils import iou_numpy, centroids2corners_numpy, corners2centroids_numpy from .base import Compose class RandomExpand(object): def __init__(self, filled_rgb_mean=(103.939, 116.779, 123.68), rmin=1, rmax=4, ...
36.307339
115
0.586734
1,001
7,915
4.417582
0.205794
0.03867
0.037313
0.049751
0.277476
0.169607
0.125735
0.087517
0.052013
0.040253
0
0.018731
0.305243
7,915
218
116
36.307339
0.785416
0.143399
0
0.162791
0
0
0.02258
0
0
0
0
0
0.015504
1
0.085271
false
0.007752
0.054264
0.007752
0.255814
0
0
0
0
null
0
0
0
0
0
0
0
0
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
482633d918d23f0a510e111cc0ad6f51458a51a4
1,233
py
Python
examples/basic/merge_instance.py
talashilkarraj/spydrnet-physical
d13bcbb0feef7d5c93aa60af4a916f837128a5ad
[ "BSD-3-Clause" ]
3
2021-11-05T18:25:21.000Z
2022-03-02T22:03:02.000Z
examples/basic/merge_instance.py
talashilkarraj/spydrnet-physical
d13bcbb0feef7d5c93aa60af4a916f837128a5ad
[ "BSD-3-Clause" ]
null
null
null
examples/basic/merge_instance.py
talashilkarraj/spydrnet-physical
d13bcbb0feef7d5c93aa60af4a916f837128a5ad
[ "BSD-3-Clause" ]
2
2022-01-10T14:27:59.000Z
2022-03-13T08:21:33.000Z
""" =================================== Merging two instances in the design =================================== This example demonstrate how to merge two instance in the design to create a new merged definition .. hdl-diagram:: ../../../examples/basic/_initial_design_merge.v :type: netlistsvg :align: center ...
26.804348
80
0.703163
158
1,233
5.21519
0.436709
0.043689
0.026699
0.055825
0.252427
0.252427
0.194175
0.109223
0
0
0
0.009337
0.131387
1,233
45
81
27.4
0.760037
0.389294
0
0.117647
0
0
0.189516
0.063172
0
0
0
0
0
1
0
false
0
0.235294
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
48289ef712fad809681babbffb67acddcce6b08d
13,910
py
Python
edb/pgsql/compiler/context.py
OhBonsai/edgedb
786c853090b90f3005cb65014194d0dbd45d6fcc
[ "Apache-2.0" ]
2
2019-01-21T05:43:52.000Z
2019-05-24T02:53:14.000Z
edb/pgsql/compiler/context.py
ciusji/edgedb
1c68c02430a92464839f03f43c4e5ad6f7ede4e0
[ "Apache-2.0" ]
null
null
null
edb/pgsql/compiler/context.py
ciusji/edgedb
1c68c02430a92464839f03f43c4e5ad6f7ede4e0
[ "Apache-2.0" ]
null
null
null
# # This source file is part of the EdgeDB open source project. # # Copyright 2008-present MagicStack Inc. and the EdgeDB 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...
33.680387
76
0.649029
1,587
13,910
5.521109
0.219282
0.017462
0.012782
0.008674
0.327437
0.284752
0.244351
0.191052
0.129993
0.093244
0
0.000897
0.278577
13,910
412
77
33.762136
0.872247
0.227606
0
0.275472
0
0
0
0
0
0
0
0
0.007547
1
0.030189
false
0
0.041509
0.015094
0.313208
0
0
0
0
null
0
0
0
0
0
0
0
0
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
4828cf4e5987d77ba633b24834a9ab7cbcc2c32c
1,111
py
Python
tests/unit/test_resources_log.py
CarlosAMolina/logs-analyzer
b381d0c7ae4c5a8b6911d2b7019baa74208192c6
[ "MIT" ]
null
null
null
tests/unit/test_resources_log.py
CarlosAMolina/logs-analyzer
b381d0c7ae4c5a8b6911d2b7019baa74208192c6
[ "MIT" ]
null
null
null
tests/unit/test_resources_log.py
CarlosAMolina/logs-analyzer
b381d0c7ae4c5a8b6911d2b7019baa74208192c6
[ "MIT" ]
null
null
null
import unittest import mock from src.api.resources import log from tests import LOGS_PATH class TestLogListResource(unittest.TestCase): def setUp(self): self.class_ = log.LogListResource() def test_post_with_file_that_exits(self): class FakeRequest: @staticmethod def ...
29.236842
80
0.636364
125
1,111
5.424
0.432
0.066372
0.066372
0.044248
0.39233
0.39233
0.324484
0.324484
0.324484
0.324484
0
0.00489
0.263726
1,111
37
81
30.027027
0.823961
0
0
0.285714
0
0
0.09901
0.063006
0
0
0
0
0.142857
1
0.178571
false
0
0.142857
0.071429
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
482a0469f8aaa784c2bee17a9875456c7d03fc8d
4,378
py
Python
src/rqt_py_trees/message_loader_thread.py
alexfneves/rqt_py_trees
87237c3dcf25db419ad783ec29b9a40fcfa7b75c
[ "BSD-3-Clause" ]
4
2021-04-19T04:04:06.000Z
2022-02-08T10:13:37.000Z
src/rqt_py_trees/message_loader_thread.py
alexfneves/rqt_py_trees
87237c3dcf25db419ad783ec29b9a40fcfa7b75c
[ "BSD-3-Clause" ]
7
2016-11-25T04:53:29.000Z
2018-10-07T21:49:10.000Z
src/rqt_py_trees/message_loader_thread.py
alexfneves/rqt_py_trees
87237c3dcf25db419ad783ec29b9a40fcfa7b75c
[ "BSD-3-Clause" ]
3
2021-01-08T10:47:21.000Z
2021-07-26T15:18:39.000Z
# Software License Agreement (BSD License) # # Copyright (c) 2012, Willow Garage, 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: # # * Redistributions of source code must retain the above...
38.403509
159
0.680448
557
4,378
5.174147
0.364452
0.04372
0.06662
0.060375
0.252602
0.196044
0.153713
0.118668
0.081194
0.081194
0
0.002147
0.255368
4,378
113
160
38.743363
0.881902
0.432618
0
0.075472
0
0
0.035817
0.025525
0
0
0
0
0
1
0.09434
false
0
0.018868
0
0.188679
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
482b6bc1045b43ed5348ce5b37a40561a89cb30b
2,796
py
Python
run_ddpg.py
huangwl18/geometry-dex
0c629316258ef560b360c6103d83d5cb828e3ccd
[ "MIT" ]
29
2021-11-11T23:05:02.000Z
2022-03-10T06:05:23.000Z
run_ddpg.py
huangwl18/geometry-dex
0c629316258ef560b360c6103d83d5cb828e3ccd
[ "MIT" ]
2
2021-12-13T16:18:14.000Z
2022-03-09T14:04:37.000Z
run_ddpg.py
huangwl18/geometry-dex
0c629316258ef560b360c6103d83d5cb828e3ccd
[ "MIT" ]
2
2021-11-18T06:00:30.000Z
2021-12-17T03:04:52.000Z
from rl_modules.utils import * import torch import random from rl_modules.ddpg_agent import ddpg_agent from arguments_ddpg import get_args import os import numpy as np import dex_envs import wandb import warnings warnings.simplefilter(action='ignore', category=FutureWarning) """ train the agent """ def init_callback...
31.41573
90
0.658798
380
2,796
4.615789
0.315789
0.050171
0.031927
0.037628
0.188141
0.122007
0.064994
0.064994
0.064994
0.064994
0
0.005866
0.207439
2,796
88
91
31.772727
0.78565
0.143777
0
0.112903
0
0
0.07282
0
0
0
0
0
0
1
0.080645
false
0
0.16129
0
0.274194
0
0
0
0
null
0
0
0
0
0
0
0
0
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
482db97435aafc9eda667eac490cfcdd4c5b28e6
1,393
py
Python
lilies/terminal/ansicodes.py
mrz1988/lilies
9525770fabab7e142ebedc40ab5d0c8027aa90ba
[ "MIT" ]
null
null
null
lilies/terminal/ansicodes.py
mrz1988/lilies
9525770fabab7e142ebedc40ab5d0c8027aa90ba
[ "MIT" ]
51
2019-06-18T16:35:56.000Z
2021-02-23T00:32:23.000Z
lilies/terminal/ansicodes.py
mrz1988/lilies
9525770fabab7e142ebedc40ab5d0c8027aa90ba
[ "MIT" ]
null
null
null
from __future__ import unicode_literals # Leading control character CSI = "\033[" FULLRESET = 0 BOLD = BRIGHT = 1 DIM = 2 ITALIC = 3 UNDERLINE = 4 BLINK = 5 # Unsupported ################ # RAPIDBLINK = 6 # REVERSE = 7 # CONCEAL = 8 STRIKE = 9 # Unsupported ################ # PRIMARY_FONT = 10 # ALTFONT1 = 11 # AL...
13.656863
52
0.61809
175
1,393
4.851429
0.748571
0.035336
0.028269
0
0
0
0
0
0
0
0
0.094429
0.23977
1,393
101
53
13.792079
0.707271
0.267767
0
0
0
0
0.075053
0
0
0
0
0
0
1
0.037736
false
0
0.018868
0
0.132075
0
0
0
0
null
0
0
0
0
0
0
0
0
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
482df5bdcc006ad0be823ed8da879646f9d15872
2,220
py
Python
preprocess/step1.py
wenhuchen/KGPT
f898577d8e0ebbf48ea84915777c7b01e616ca3a
[ "MIT" ]
119
2020-10-06T08:21:21.000Z
2022-03-25T12:00:10.000Z
preprocess/step1.py
wenhuchen/KGPT
f898577d8e0ebbf48ea84915777c7b01e616ca3a
[ "MIT" ]
7
2020-10-29T09:34:14.000Z
2021-12-28T14:27:27.000Z
preprocess/step1.py
wenhuchen/KGPT
f898577d8e0ebbf48ea84915777c7b01e616ca3a
[ "MIT" ]
16
2020-10-07T18:58:48.000Z
2022-02-23T07:42:29.000Z
import json import regex import nltk.data from nltk.tokenize import word_tokenize import sys sent_detector = nltk.data.load('tokenizers/punkt/english.pickle') def tokenize(string): return word_tokenize(string) def split_paragraphs(text): """ remove urls, lowercase all words and separate paragraphs ""...
30.833333
106
0.498198
259
2,220
4.196911
0.370656
0.045998
0.041398
0
0
0
0
0
0
0
0
0.019258
0.368468
2,220
71
107
31.267606
0.756063
0.032883
0
0.033898
0
0
0.064758
0.014547
0
0
0
0
0
1
0.050847
false
0.016949
0.084746
0.016949
0.186441
0
0
0
0
null
0
0
0
0
0
0
0
0
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
482f26a433eaf7f306d04205a3bac702463a9adc
1,879
py
Python
scripts/filter_genes_matrix.py
fengwanwan/st_analysis
24ef6326efce7ddb1d7cfe9497a6733e48da8331
[ "MIT" ]
4
2017-03-15T15:32:12.000Z
2020-12-09T08:03:14.000Z
scripts/filter_genes_matrix.py
Coke-Zhang/st_analysis
9ec446c0f1bff8e485f2016206b43dcdcf543119
[ "MIT" ]
1
2021-05-06T16:57:21.000Z
2021-05-06T16:58:38.000Z
scripts/filter_genes_matrix.py
Coke-Zhang/st_analysis
9ec446c0f1bff8e485f2016206b43dcdcf543119
[ "MIT" ]
4
2018-03-19T12:02:41.000Z
2019-12-13T08:41:07.000Z
#! /usr/bin/env python """ Script that takes ST dataset (matrix of counts) where the columns are genes and the rows are spot coordinates gene gene XxY XxY And removes the columns of genes matching the regular expression given as input. @Author Jose Fernandez Navarro <jose.fernandez.navarro@scilifelab....
34.796296
90
0.651943
248
1,879
4.806452
0.467742
0.060403
0.042785
0
0
0
0
0
0
0
0
0.003549
0.250133
1,879
53
91
35.45283
0.842441
0.226184
0
0
0
0
0.126301
0
0
0
0
0
0
1
0.034483
false
0
0.172414
0
0.206897
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
482fb0fc0f3fd414d792e168bab4aaa39e2474d7
1,405
py
Python
modules/tools/record_analyzer/common/distribution_analyzer.py
seeclong/apollo
99c8afb5ebcae2a3c9359a156a957ff03944b27b
[ "Apache-2.0" ]
3
2020-04-01T14:49:24.000Z
2020-04-01T14:49:28.000Z
modules/tools/record_analyzer/common/distribution_analyzer.py
seeclong/apollo
99c8afb5ebcae2a3c9359a156a957ff03944b27b
[ "Apache-2.0" ]
7
2021-03-10T18:14:25.000Z
2022-02-27T04:46:46.000Z
modules/tools/record_analyzer/common/distribution_analyzer.py
seeclong/apollo
99c8afb5ebcae2a3c9359a156a957ff03944b27b
[ "Apache-2.0" ]
2
2020-08-05T12:52:42.000Z
2021-10-19T13:07:49.000Z
#!/usr/bin/env python ############################################################################### # Copyright 2018 The Apollo Authors. 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 ...
36.025641
79
0.582206
162
1,405
5.030864
0.62963
0.07362
0.031902
0.039264
0.039264
0.039264
0
0
0
0
0
0.013587
0.214235
1,405
38
80
36.973684
0.724638
0.45694
0
0.153846
0
0
0.053356
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.307692
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
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
483016a462d5e8b33445c247250dee4a2ae74ecd
2,261
py
Python
models/batch.py
scaleapi/sail
1bd857b5db34cbd08c7d4e2476beafdb353a458d
[ "Apache-2.0" ]
7
2021-03-10T23:37:12.000Z
2022-01-13T01:14:58.000Z
models/batch.py
scaleapi/sail
1bd857b5db34cbd08c7d4e2476beafdb353a458d
[ "Apache-2.0" ]
2
2021-01-04T15:54:27.000Z
2021-03-30T22:45:03.000Z
models/batch.py
scaleapi/sail
1bd857b5db34cbd08c7d4e2476beafdb353a458d
[ "Apache-2.0" ]
3
2021-07-31T04:03:12.000Z
2021-10-03T05:51:48.000Z
from helpers.concurrency import execute from scaleapi import exceptions def upsert(client, project_name, batches): print("\n\nCreating Batches...") print("===================") def upsert_batch(desired_batch): batch_name = desired_batch['name'] batch_callback_url = desired_batch['callbac...
38.322034
145
0.62008
260
2,261
5.288462
0.307692
0.098182
0.081455
0.061091
0.266909
0.230545
0.230545
0.230545
0.230545
0.192
0
0
0.252101
2,261
58
146
38.982759
0.808397
0.059708
0
0.157895
0
0.105263
0.359868
0.080075
0
0
0
0
0
1
0.105263
false
0
0.052632
0
0.342105
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
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
4830669ccefdde03889bd71b019ac1ba14c36c86
315
py
Python
worker/xs.py
hoshimaemi/XZZ
6d712906fa2f1fcf16155cfd5d89245ef8e0aff8
[ "MIT" ]
29
2020-02-27T13:49:48.000Z
2021-02-26T15:44:14.000Z
worker/xs.py
hoshimaemi/XZZ
6d712906fa2f1fcf16155cfd5d89245ef8e0aff8
[ "MIT" ]
3
2021-03-30T11:31:49.000Z
2021-12-07T12:11:56.000Z
worker/xs.py
hoshimaemi/XZZ
6d712906fa2f1fcf16155cfd5d89245ef8e0aff8
[ "MIT" ]
14
2020-02-29T07:25:12.000Z
2021-01-03T05:12:25.000Z
from zzcore import StdAns, mysakuya import requests class Ans(StdAns): def GETMSG(self): msg='' try: msg += xs() except: msg += '可能是机器人笑死了!' return msg def xs(): url = "http://api-x.aya1.xyz:6/" text = requests.get(url=url).text return text
18.529412
37
0.533333
39
315
4.307692
0.666667
0
0
0
0
0
0
0
0
0
0
0.009569
0.336508
315
16
38
19.6875
0.794258
0
0
0
0
0
0.107937
0
0
0
0
0
0
1
0.142857
false
0
0.142857
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
48331ce668f0e91220bd7b7d009bc8b5666778cd
304
py
Python
bot.py
matthewzhaocc/discord-server-status
c9c58271ab3f7142f7e827b88d5c960cc442b355
[ "MIT" ]
null
null
null
bot.py
matthewzhaocc/discord-server-status
c9c58271ab3f7142f7e827b88d5c960cc442b355
[ "MIT" ]
null
null
null
bot.py
matthewzhaocc/discord-server-status
c9c58271ab3f7142f7e827b88d5c960cc442b355
[ "MIT" ]
null
null
null
#a discord bot for playing with CICD #system dependencies import os #3rd party dependencies import discord TOKEN = os.environ.get("DISCORD_API_TOKEN") client = discord.Client() @client.event async def on_ready(): print(f'{client.user} has connected to Discord!') client.run(TOKEN)
19
54
0.720395
43
304
5.023256
0.697674
0.166667
0
0
0
0
0
0
0
0
0
0.004016
0.180921
304
16
55
19
0.863454
0.25
0
0
0
0
0.265403
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
4835ed45283fa22be5264491ed9fa12710bc4c24
54,436
py
Python
search.py
Hawxo/GoWDiscordTeamBot
ebe062f88b8d39615ba871476471d466e6759e7a
[ "BSD-3-Clause" ]
null
null
null
search.py
Hawxo/GoWDiscordTeamBot
ebe062f88b8d39615ba871476471d466e6759e7a
[ "BSD-3-Clause" ]
null
null
null
search.py
Hawxo/GoWDiscordTeamBot
ebe062f88b8d39615ba871476471d466e6759e7a
[ "BSD-3-Clause" ]
null
null
null
import copy import datetime import importlib import logging import operator import re from calendar import different_locale import translations from data_source.game_data import GameData from game_constants import COLORS, EVENT_TYPES, RARITY_COLORS, SOULFORGE_REQUIREMENTS, TROOP_RARITIES, \ UNDERWORLD_SOULFORGE_RE...
44.185065
118
0.557701
5,748
54,436
5.050104
0.084899
0.015709
0.009164
0.005581
0.263987
0.195845
0.146893
0.102315
0.077718
0.065178
0
0.004273
0.299232
54,436
1,231
119
44.220959
0.756599
0.001121
0
0.151351
0
0
0.168963
0.038972
0
0
0
0.000812
0
1
0.058559
false
0.000901
0.012613
0.005405
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
4838335f5aaabe1145c8cd0b7af080ad9ce72fb6
10,319
py
Python
vad/data_models/voice_activity.py
zsl24/voice-activity-detection
a034be23c6283121c6b72e778c6ff6711045cbe3
[ "MIT" ]
74
2021-02-22T17:35:52.000Z
2022-03-29T03:08:12.000Z
vad/data_models/voice_activity.py
zsl24/voice-activity-detection
a034be23c6283121c6b72e778c6ff6711045cbe3
[ "MIT" ]
1
2021-08-15T07:56:39.000Z
2021-08-15T07:56:39.000Z
vad/data_models/voice_activity.py
zsl24/voice-activity-detection
a034be23c6283121c6b72e778c6ff6711045cbe3
[ "MIT" ]
9
2021-07-22T16:46:11.000Z
2022-03-27T13:19:24.000Z
import json import math from dataclasses import dataclass from datetime import timedelta from enum import Enum from pathlib import Path from typing import List, Optional import numpy as np from vad.util.time_utils import ( format_timedelta_to_milliseconds, format_timedelta_to_timecode, parse_timecode_to_t...
41.777328
100
0.560907
902
10,319
6.104213
0.100887
0.132219
0.104976
0.043589
0.71304
0.612786
0.594806
0.541228
0.513985
0.513985
0
0.008742
0.357011
10,319
246
101
41.947154
0.8211
0.002907
0
0.510917
0
0
0.086517
0
0
0
0
0
0
1
0.030568
false
0
0.039301
0
0.165939
0
0
0
0
null
0
0
0
0
0
0
0
0
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
4839b9f176bff6bb0c25323ed01d0f68d5ef1760
1,807
py
Python
face_recognition/project/schema.py
dgr113/face-recognition
edda6ca8fef567d24ae740afd2399b66166f3431
[ "MIT" ]
null
null
null
face_recognition/project/schema.py
dgr113/face-recognition
edda6ca8fef567d24ae740afd2399b66166f3431
[ "MIT" ]
null
null
null
face_recognition/project/schema.py
dgr113/face-recognition
edda6ca8fef567d24ae740afd2399b66166f3431
[ "MIT" ]
null
null
null
# coding: utf-8 SCHEMA_MAPPING = { "persons": { "type": "object", "patternProperties": { r"\d+": { "type": "object", "properties": { "first_name": {"type": "string"}, "last_name": {"type": "string"}, ...
30.116667
111
0.328168
106
1,807
5.415094
0.367925
0.139373
0.174216
0.062718
0.191638
0.191638
0.191638
0.191638
0.191638
0.191638
0
0.003308
0.498063
1,807
59
112
30.627119
0.629548
0.007194
0
0.320755
0
0
0.317522
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
483a75dbbf41e0a2382e74253427bd94ad78ce29
303
py
Python
resources/www/scripts/recibido.py
miguelarman/Redes-de-comunicaciones-ii-practica1
8f90dddcf9025f7d9c08dfb6ca1aa8dc24e9fa13
[ "MIT" ]
null
null
null
resources/www/scripts/recibido.py
miguelarman/Redes-de-comunicaciones-ii-practica1
8f90dddcf9025f7d9c08dfb6ca1aa8dc24e9fa13
[ "MIT" ]
null
null
null
resources/www/scripts/recibido.py
miguelarman/Redes-de-comunicaciones-ii-practica1
8f90dddcf9025f7d9c08dfb6ca1aa8dc24e9fa13
[ "MIT" ]
null
null
null
import sys import urllib.parse as urlparse print("Argumentos recibidos por STDIN: ") try: for line in sys.stdin: url = 'foo.com/?' + line parsed = urlparse.urlparse(url) print('Recibido: {}'.format(urlparse.parse_qs(parsed.query))) except: ignorar = True
21.642857
70
0.623762
37
303
5.081081
0.702703
0
0
0
0
0
0
0
0
0
0
0
0.257426
303
13
71
23.307692
0.835556
0
0
0
0
0
0.182759
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
483a82b33807937515011fa3de571cf7d20b8db3
8,620
py
Python
gui/main.py
aman-v1729/CommonAudioVideoCLI
c2245a02bbafd1ff9899dba2b02f246f98538746
[ "MIT" ]
null
null
null
gui/main.py
aman-v1729/CommonAudioVideoCLI
c2245a02bbafd1ff9899dba2b02f246f98538746
[ "MIT" ]
1
2020-05-14T13:20:45.000Z
2020-05-14T19:08:06.000Z
gui/main.py
aman-v1729/CommonAudioVideoCLI
c2245a02bbafd1ff9899dba2b02f246f98538746
[ "MIT" ]
5
2020-05-17T17:00:43.000Z
2020-07-25T06:19:57.000Z
import tkinter import subprocess from tkinter import filedialog, messagebox import os import pyqrcode def clip_filename_with_extension(filename): """ clips long file names """ clipped = filename[filename.rfind("/") + 1 :] if len(clipped) > 15: clipped = clipped[:6] + "..." + clipped[clipped.rfind...
28.448845
88
0.641763
1,106
8,620
4.820976
0.203436
0.037134
0.041448
0.018755
0.172543
0.076894
0.055514
0.043136
0.025881
0
0
0.013042
0.235035
8,620
302
89
28.543046
0.795572
0.071462
0
0.145631
0
0
0.103811
0
0
0
0
0
0
1
0.048544
false
0.009709
0.029126
0
0.097087
0.019417
0
0
0
null
0
0
0
0
0
0
0
0
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
483af36db857e32be1df5b6afda8e6fc42b22d40
2,170
py
Python
virtex/core/profile.py
chrislarson1/virtex
36eb47d1ace297951cae36edc8a00544b85fed79
[ "Apache-2.0" ]
5
2020-06-17T06:22:32.000Z
2022-03-04T09:25:31.000Z
virtex/core/profile.py
virtexlabs/virtex
36eb47d1ace297951cae36edc8a00544b85fed79
[ "Apache-2.0" ]
null
null
null
virtex/core/profile.py
virtexlabs/virtex
36eb47d1ace297951cae36edc8a00544b85fed79
[ "Apache-2.0" ]
null
null
null
# ------------------------------------------------------------------- # Copyright 2021 Virtex authors. 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....
31.911765
69
0.602765
259
2,170
4.938224
0.444015
0.046912
0.025801
0.035184
0.169664
0.136826
0.07975
0.07975
0.07975
0.07975
0
0.004932
0.252535
2,170
67
70
32.38806
0.7836
0.494931
0
0.214286
0
0
0
0
0
0
0
0
0.035714
1
0.107143
false
0
0.142857
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
483bb446decbf48fa9ae87d928153944790671cf
4,855
py
Python
apps/molecular_generation/JT_VAE/src/mol_tree.py
agave233/PaddleHelix
e5578f72c2a203a27d9df7da111f1ced826c1429
[ "Apache-2.0" ]
454
2020-11-21T01:02:45.000Z
2022-03-29T12:53:40.000Z
apps/molecular_generation/JT_VAE/src/mol_tree.py
chupvl/PaddleHelix
6e082f89b8090c3c360593d40a08bffc884165dd
[ "Apache-2.0" ]
161
2020-12-12T06:35:54.000Z
2022-03-27T11:31:13.000Z
apps/molecular_generation/JT_VAE/src/mol_tree.py
chupvl/PaddleHelix
6e082f89b8090c3c360593d40a08bffc884165dd
[ "Apache-2.0" ]
108
2020-12-07T09:01:10.000Z
2022-03-31T14:42:29.000Z
# Copyright (c) 2021 PaddlePaddle Authors. 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 app...
30.923567
117
0.603502
638
4,855
4.478056
0.280564
0.044102
0.012601
0.030452
0.122156
0.109906
0.076304
0.037102
0.037102
0.037102
0
0.007484
0.284449
4,855
156
118
31.121795
0.814911
0.147889
0
0.059406
0
0
0.008839
0
0
0
0
0
0
1
0.089109
false
0
0.049505
0
0.188119
0
0
0
0
null
0
0
0
0
0
0
0
0
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
48461f7075c6cb1cc7aff2cd4d853dffd50a16bd
6,041
py
Python
bots/parkour/reports.py
Marcin1396/parkour
25d7d888b178eb7860a897e6df7578f2de0a729a
[ "MIT" ]
null
null
null
bots/parkour/reports.py
Marcin1396/parkour
25d7d888b178eb7860a897e6df7578f2de0a729a
[ "MIT" ]
null
null
null
bots/parkour/reports.py
Marcin1396/parkour
25d7d888b178eb7860a897e6df7578f2de0a729a
[ "MIT" ]
null
null
null
""" Handles reports """ from parkour.env import env from parkour.utils import normalize_name import asyncio import aiotfm import time class Reports(aiotfm.Client): def __init__(self, *args, **kwargs): self.rep_id = 0 self.reports = {} self.reported = [] self.reporters = [] super().__init__(*args, **kwarg...
24.556911
96
0.640953
837
6,041
4.544803
0.18638
0.049947
0.040221
0.022345
0.249737
0.182177
0.147739
0.098055
0.035226
0.035226
0
0.011173
0.229598
6,041
246
97
24.556911
0.806188
0.024003
0
0.262032
0
0
0.161285
0
0
0
0
0
0
1
0.010695
false
0
0.026738
0
0.176471
0
0
0
0
null
0
0
0
0
0
0
0
0
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
48473f9998c2721254601aaa70efd1a6c575862d
3,053
py
Python
data_analysis_scripts/mouse_et_ephys_viz.py
idc9/mvmm_sim
5819d9ff95e36310536fd436bba50baba4f0ca71
[ "MIT" ]
null
null
null
data_analysis_scripts/mouse_et_ephys_viz.py
idc9/mvmm_sim
5819d9ff95e36310536fd436bba50baba4f0ca71
[ "MIT" ]
null
null
null
data_analysis_scripts/mouse_et_ephys_viz.py
idc9/mvmm_sim
5819d9ff95e36310536fd436bba50baba4f0ca71
[ "MIT" ]
null
null
null
from joblib import load from os.path import join import argparse import numpy as np import matplotlib.pyplot as plt from mvmm_sim.simulation.sim_viz import save_fig from mvmm_sim.data_analysis.utils import load_data from mvmm_sim.simulation.utils import make_and_get_dir from mvmm_sim.mouse_et.MouseETPaths import Mous...
32.827957
76
0.689158
434
3,053
4.465438
0.285714
0.037152
0.034056
0.024768
0.132095
0.080495
0.080495
0.0516
0.0516
0.0516
0
0.003363
0.220766
3,053
92
77
33.184783
0.811265
0.057321
0
0.064516
0
0
0.090561
0.017067
0
0
0
0
0
1
0
false
0
0.177419
0
0.177419
0.016129
0
0
0
null
0
0
0
0
0
0
0
0
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
48474668430bd56c9be0fa4e96a14ac44c7e0f55
1,831
py
Python
gimmemotifs/commands/match.py
littleblackfish/gimmemotifs
913a6e5db378493155273e2c0f8ab0dc11ab219e
[ "MIT" ]
null
null
null
gimmemotifs/commands/match.py
littleblackfish/gimmemotifs
913a6e5db378493155273e2c0f8ab0dc11ab219e
[ "MIT" ]
null
null
null
gimmemotifs/commands/match.py
littleblackfish/gimmemotifs
913a6e5db378493155273e2c0f8ab0dc11ab219e
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2009-2016 Simon van Heeringen <simon.vanheeringen@gmail.com> # # This module is free software. You can redistribute it and/or modify it under # the terms of the MIT License, see the file COPYING included with this # distribution. from __future__ import print_function from gimmem...
38.145833
111
0.588749
251
1,831
4.227092
0.386454
0.02262
0.02262
0.03393
0.194156
0.152686
0.099906
0.099906
0.099906
0.099906
0
0.033283
0.27799
1,831
47
112
38.957447
0.769289
0.140907
0
0.121212
0
0
0.057435
0.017869
0
0
0
0
0
1
0.030303
false
0
0.121212
0
0.151515
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
484898b58a6b8f0e2cf8c6f249de3cb0f85b7504
6,659
py
Python
src/m2_run_this_on_laptop.py
Petersl13/99-CapstoneProject-201920
4ec25ebf064e93745b9280a09c9212f8b16f76a1
[ "MIT" ]
null
null
null
src/m2_run_this_on_laptop.py
Petersl13/99-CapstoneProject-201920
4ec25ebf064e93745b9280a09c9212f8b16f76a1
[ "MIT" ]
null
null
null
src/m2_run_this_on_laptop.py
Petersl13/99-CapstoneProject-201920
4ec25ebf064e93745b9280a09c9212f8b16f76a1
[ "MIT" ]
null
null
null
""" Capstone Project. Code to run on a LAPTOP (NOT the robot). Displays the Graphical User Interface (GUI) and communicates with the robot. Authors: Your professors (for the framework) and Nathalie Grier. Winter term, 2018-2019. """ import mqtt_remote_method_calls as com import tkinter from tkinter impo...
40.357576
168
0.59138
830
6,659
4.46747
0.181928
0.0863
0.052589
0.076861
0.507551
0.355987
0.260787
0.202535
0.189051
0.166936
0
0.019407
0.148821
6,659
165
169
40.357576
0.634792
0.383241
0
0.075949
0
0
0.05872
0
0
0
0
0
0
1
0.126582
false
0
0.075949
0
0.240506
0.278481
0
0
0
null
0
0
0
0
0
0
0
0
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
4848f32ae381a42ff50e4c60f9915efe85ae845d
853
py
Python
python/tree/0704_binary_search.py
linshaoyong/leetcode
ea052fad68a2fe0cbfa5469398508ec2b776654f
[ "MIT" ]
6
2019-07-15T13:23:57.000Z
2020-01-22T03:12:01.000Z
python/tree/0704_binary_search.py
linshaoyong/leetcode
ea052fad68a2fe0cbfa5469398508ec2b776654f
[ "MIT" ]
null
null
null
python/tree/0704_binary_search.py
linshaoyong/leetcode
ea052fad68a2fe0cbfa5469398508ec2b776654f
[ "MIT" ]
1
2019-07-24T02:15:31.000Z
2019-07-24T02:15:31.000Z
class Solution(object): def search(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ return self.binary_search(nums, target, 0, len(nums) - 1) def binary_search(self, nums, target, low, hight): mid = low + (hight - low) // 2...
29.413793
67
0.501758
120
853
3.525
0.25
0.118203
0.113475
0.156028
0.326241
0.326241
0.250591
0.250591
0
0
0
0.061151
0.348183
853
28
68
30.464286
0.69964
0.059789
0
0.1
0
0
0
0
0
0
0
0
0.2
1
0.15
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
4848f46a84c4346593a1d98c3f7f6dead3b394ab
2,905
py
Python
alphamind/benchmarks/data/neutralize.py
rongliang-tech/alpha-mind
39f720974c637d17e185e445dc05c9fc4863a241
[ "MIT" ]
186
2017-11-27T01:26:44.000Z
2022-03-28T16:11:33.000Z
alphamind/benchmarks/data/neutralize.py
atefar2/alpha-mind
66d839affb5d81d31d5cac7e5e224278e3f99a8b
[ "MIT" ]
2
2017-12-19T02:47:36.000Z
2021-01-09T05:25:18.000Z
alphamind/benchmarks/data/neutralize.py
atefar2/alpha-mind
66d839affb5d81d31d5cac7e5e224278e3f99a8b
[ "MIT" ]
65
2017-11-27T01:26:47.000Z
2022-03-17T10:50:52.000Z
# -*- coding: utf-8 -*- """ Created on 2017-4-25 @author: cheng.li """ import datetime as dt import numpy as np from sklearn.linear_model import LinearRegression from alphamind.data.neutralize import neutralize def benchmark_neutralize(n_samples: int, n_features: int, n_loops: int) -> None: pr...
35.864198
102
0.561102
352
2,905
4.366477
0.247159
0.057254
0.067664
0.044242
0.634353
0.574496
0.574496
0.53676
0.53676
0.383865
0
0.030071
0.324613
2,905
80
103
36.3125
0.753313
0.021343
0
0.407407
0
0.018519
0.12559
0.015245
0
0
0
0
0.018519
1
0.037037
false
0
0.074074
0
0.111111
0.185185
0
0
0
null
0
0
0
0
0
0
0
0
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
484e5a10424681e3b5a649a30275352d6bd27762
8,118
py
Python
process/extract.py
kogakenji/kasatomaru
6e3cd36ea54a5e7c8042d17beed4675f210f1a36
[ "MIT" ]
null
null
null
process/extract.py
kogakenji/kasatomaru
6e3cd36ea54a5e7c8042d17beed4675f210f1a36
[ "MIT" ]
2
2021-03-31T19:40:45.000Z
2021-12-13T20:34:12.000Z
process/extract.py
kogakenji/kasatomaru
6e3cd36ea54a5e7c8042d17beed4675f210f1a36
[ "MIT" ]
null
null
null
from bs4 import BeautifulSoup import lxml.html import pathlib import db import datetime from concurrent.futures import ThreadPoolExecutor import threading # Define the lock globally lock = threading.Lock() def files_list(start, end): """Generate url list with given start and end of indexes""" resultlist = [] ...
44.604396
184
0.572555
1,000
8,118
4.477
0.169
0.042216
0.026804
0.033505
0.589011
0.563994
0.55841
0.526692
0.519991
0.519991
0
0.01487
0.271003
8,118
181
185
44.850829
0.741636
0.108401
0
0.425373
0
0.029851
0.157331
0.031411
0
0
0
0
0
1
0.074627
false
0.014925
0.052239
0.014925
0.171642
0.074627
0
0
0
null
0
0
0
0
0
0
0
0
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
48511c78e308c11777c5277149036d4e3f1a72d0
9,090
py
Python
deciphon/protein_profile.py
EBI-Metagenomics/deciphon-py
81df946c4f2f53c55ac96fc78ed2f95958b291d8
[ "MIT" ]
null
null
null
deciphon/protein_profile.py
EBI-Metagenomics/deciphon-py
81df946c4f2f53c55ac96fc78ed2f95958b291d8
[ "MIT" ]
1
2021-07-02T10:24:19.000Z
2021-07-02T10:24:19.000Z
deciphon/protein_profile.py
EBI-Metagenomics/deciphon-py
81df946c4f2f53c55ac96fc78ed2f95958b291d8
[ "MIT" ]
null
null
null
from __future__ import annotations from math import log from typing import List, Type, Union from imm import MuteState, Sequence, lprob_add, lprob_zero from nmm import ( AminoAlphabet, AminoLprob, BaseLprob, CodonLprob, CodonMarg, DNAAlphabet, FrameState, RNAAlphabet, codon_iter, )...
31.344828
85
0.627063
1,072
9,090
5.103545
0.16791
0.021934
0.023031
0.026321
0.289709
0.237982
0.20435
0.188265
0.188265
0.167428
0
0.007185
0.265017
9,090
289
86
31.453287
0.811705
0.374257
0
0.041379
0
0
0.008568
0
0
0
0
0.00346
0.02069
1
0.075862
false
0
0.062069
0.034483
0.22069
0
0
0
0
null
0
0
0
0
0
0
0
0
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
485441df6c93c795b69160386a1e913eee4699da
5,108
py
Python
src/data_module.py
enningxie/lightning-semantic-matching
156ce3d40c53436b8166679c718b80f45782fe37
[ "MIT" ]
2
2020-10-21T01:02:22.000Z
2021-07-29T01:56:53.000Z
src/data_module.py
enningxie/lightning-semantic-matching
156ce3d40c53436b8166679c718b80f45782fe37
[ "MIT" ]
null
null
null
src/data_module.py
enningxie/lightning-semantic-matching
156ce3d40c53436b8166679c718b80f45782fe37
[ "MIT" ]
null
null
null
# Created by xieenning at 2020/10/19 from argparse import ArgumentParser, Namespace from typing import Optional, Union, List from pytorch_lightning import LightningDataModule from transformers import BertTokenizer from transformers import ElectraTokenizer from transformers.utils import logging import torch from torch.u...
39.292308
108
0.634495
555
5,108
5.56036
0.246847
0.034997
0.033053
0.019443
0.318211
0.261828
0.236876
0.21711
0.2035
0.17628
0
0.004637
0.282302
5,108
129
109
39.596899
0.837152
0.031519
0
0.207547
0
0
0.056858
0.023028
0
0
0
0
0
1
0.075472
false
0
0.084906
0.037736
0.216981
0.037736
0
0
0
null
0
0
0
0
0
0
0
0
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
4854e27a28f0ec8896c437afdc84226fabdac5c2
905
py
Python
monzo/handlers/echo.py
petermcd/monzo-api
e7b09d7564d07d00c0d0031b300f72e4479d8690
[ "MIT" ]
1
2022-02-08T23:13:56.000Z
2022-02-08T23:13:56.000Z
monzo/handlers/echo.py
petermcd/monzo-api
e7b09d7564d07d00c0d0031b300f72e4479d8690
[ "MIT" ]
12
2021-09-21T20:09:50.000Z
2022-03-13T14:39:02.000Z
monzo/handlers/echo.py
petermcd/monzo-api
e7b09d7564d07d00c0d0031b300f72e4479d8690
[ "MIT" ]
1
2021-12-05T17:47:33.000Z
2021-12-05T17:47:33.000Z
"""Class to echo credentials.""" from monzo.handlers.storage import Storage class Echo(Storage): """Class that will echo out credentials.""" def store( self, access_token: str, client_id: str, client_secret: str, expiry: int, refresh_token: str = '' ) -> No...
29.193548
82
0.583425
106
905
4.830189
0.367925
0.150391
0.054688
0.09375
0
0
0
0
0
0
0
0
0.313812
905
30
83
30.166667
0.824477
0.365746
0
0
0
0
0.28252
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.2
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
4855ae459d96ebb92658af5b5f4e917cfa5c95f9
638
py
Python
epikjjh/baekjoon/2178.py
15ers/Solve_Naively
23ee4a3aedbedb65b9040594b8c9c6d9cff77090
[ "MIT" ]
3
2019-05-19T13:44:39.000Z
2019-07-03T11:15:20.000Z
epikjjh/baekjoon/2178.py
15ers/Solve_Naively
23ee4a3aedbedb65b9040594b8c9c6d9cff77090
[ "MIT" ]
7
2019-05-06T02:37:26.000Z
2019-06-29T07:28:02.000Z
epikjjh/baekjoon/2178.py
15ers/Solve_Naively
23ee4a3aedbedb65b9040594b8c9c6d9cff77090
[ "MIT" ]
1
2019-07-28T06:24:54.000Z
2019-07-28T06:24:54.000Z
import sys def conv(stream): return [int(e) for e in stream] input = sys.stdin.readline n,m = map(int,input().split()) arr = [conv(input().split()[0]) for i in range(n)] visit = [[0]*m for i in range(n)] visit[0][0] = 1 direction = [(0,1),(0,-1),(1,0),(-1,0)] queue = [[0,0]] while queue: y,x = queue....
26.583333
75
0.525078
131
638
2.465649
0.274809
0.037152
0.04644
0.049536
0.182663
0.182663
0.111455
0
0
0
0
0.05074
0.258621
638
24
76
26.583333
0.632135
0
0
0
0
0
0
0
0
0
0
0
0
1
0.047619
false
0
0.047619
0.047619
0.142857
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
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
485611bfa6d80f65f56625abee3ae8772d391fbe
2,877
py
Python
DockerHubPackages/code/analyzer/analyzers/python_packages.py
halcyondude/datasets
f91cec403b09d6ca060c41bf0147fb3a15fac1fc
[ "Apache-2.0" ]
283
2018-01-27T21:51:21.000Z
2022-03-07T11:23:44.000Z
DockerHubPackages/code/analyzer/analyzers/python_packages.py
halcyondude/datasets
f91cec403b09d6ca060c41bf0147fb3a15fac1fc
[ "Apache-2.0" ]
100
2018-01-28T18:02:41.000Z
2021-11-10T11:00:38.000Z
DockerHubPackages/code/analyzer/analyzers/python_packages.py
halcyondude/datasets
f91cec403b09d6ca060c41bf0147fb3a15fac1fc
[ "Apache-2.0" ]
79
2018-01-28T17:57:38.000Z
2022-03-21T11:44:16.000Z
from ..utils import run import logging logger = logging.getLogger(__name__) def process_one_package(path, package, python_version="3"): """Get details about one precise python package in the given image. :param path: path were the docker image filesystem is expanded. :type path: string :param pa...
37.855263
103
0.620438
384
2,877
4.572917
0.28125
0.066629
0.06492
0.059226
0.498292
0.415148
0.353645
0.353645
0.353645
0.353645
0
0.007547
0.263121
2,877
75
104
38.36
0.820755
0.32082
0
0.136364
0
0.022727
0.220549
0.045724
0
0
0
0
0
1
0.045455
false
0.022727
0.045455
0
0.136364
0
0
0
0
null
0
0
0
0
0
0
0
0
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
485cca825ed78a1668753f45f923d308e840da2c
6,785
py
Python
backend/dc_tests/api_views.py
gitter-badger/djangochannel
f9e33254739457c461e84b66879172007512f9b0
[ "BSD-3-Clause" ]
2
2021-11-29T15:34:24.000Z
2021-12-02T14:47:20.000Z
backend/dc_tests/api_views.py
gitter-badger/djangochannel
f9e33254739457c461e84b66879172007512f9b0
[ "BSD-3-Clause" ]
null
null
null
backend/dc_tests/api_views.py
gitter-badger/djangochannel
f9e33254739457c461e84b66879172007512f9b0
[ "BSD-3-Clause" ]
null
null
null
from django.core.exceptions import ObjectDoesNotExist from django.http import HttpResponse, JsonResponse from django.views.generic.base import View from django.contrib.auth.mixins import LoginRequiredMixin from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import ...
32.464115
113
0.627708
671
6,785
6.241431
0.260805
0.011461
0.026743
0.04107
0.209647
0.139446
0.092407
0.06638
0.06638
0.06638
0
0.002041
0.277819
6,785
208
114
32.620192
0.852653
0.28283
0
0.149123
0
0
0.034337
0
0
0
0
0
0
1
0.04386
false
0
0.105263
0
0.359649
0
0
0
0
null
0
0
0
0
0
0
0
0
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
485d74659bc61cba2ba9b5ae45bb87b9fe1df6b3
2,066
py
Python
sdk/python/pulumi_kubernetes/apps/v1/ControllerRevision.py
rosskevin/pulumi-kubernetes
e4fa04b13a20929c879aca1bbe58fb5a95d16f7c
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_kubernetes/apps/v1/ControllerRevision.py
rosskevin/pulumi-kubernetes
e4fa04b13a20929c879aca1bbe58fb5a95d16f7c
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_kubernetes/apps/v1/ControllerRevision.py
rosskevin/pulumi-kubernetes
e4fa04b13a20929c879aca1bbe58fb5a95d16f7c
[ "Apache-2.0" ]
null
null
null
import pulumi import pulumi.runtime from ... import tables class ControllerRevision(pulumi.CustomResource): """ ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerR...
44.913043
100
0.703291
246
2,066
5.589431
0.504065
0.040727
0.030545
0.043636
0.084364
0.058182
0.058182
0.058182
0
0
0
0.001256
0.229429
2,066
45
101
45.911111
0.862437
0.333495
0
0
0
0
0.205551
0.027757
0
0
0
0
0
1
0.107143
false
0
0.107143
0.071429
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
485ec5eb7e878a442433e3d945a0ad573fe3057e
1,479
py
Python
backend/python_scripts/feedback_frequency.py
bartaliskrisztian/sapifeedback
a63e38c0b767458509e47c1d5ccad0f6ce21a285
[ "MIT" ]
null
null
null
backend/python_scripts/feedback_frequency.py
bartaliskrisztian/sapifeedback
a63e38c0b767458509e47c1d5ccad0f6ce21a285
[ "MIT" ]
null
null
null
backend/python_scripts/feedback_frequency.py
bartaliskrisztian/sapifeedback
a63e38c0b767458509e47c1d5ccad0f6ce21a285
[ "MIT" ]
null
null
null
import sys import json import pandas as pd from datetime import datetime, timedelta import matplotlib.pyplot as plt import os import base64 def main(): # getting the array of feedback dates argv_tmp = eval(sys.argv[1]) if type(argv_tmp) == int: dates_ts = [argv_tmp] else: dates_ts = li...
23.47619
70
0.619337
194
1,479
4.587629
0.489691
0.031461
0
0
0
0
0
0
0
0
0
0.010176
0.269101
1,479
62
71
23.854839
0.813136
0.112914
0
0.044444
0
0
0.047473
0
0
0
0
0
0
1
0.022222
false
0
0.155556
0
0.177778
0.022222
0
0
0
null
0
0
0
0
0
0
0
0
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
485f584dda3b7ed9cbcd49b969e57d33ae96c239
6,720
py
Python
tempest/tests/lib/services/placement/test_resource_providers_client.py
AurelienLourot/tempest
4d14a22a1a0eb7aaa4aafb917273baa0739f55c3
[ "Apache-2.0" ]
null
null
null
tempest/tests/lib/services/placement/test_resource_providers_client.py
AurelienLourot/tempest
4d14a22a1a0eb7aaa4aafb917273baa0739f55c3
[ "Apache-2.0" ]
null
null
null
tempest/tests/lib/services/placement/test_resource_providers_client.py
AurelienLourot/tempest
4d14a22a1a0eb7aaa4aafb917273baa0739f55c3
[ "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.721311
78
0.654315
740
6,720
5.514865
0.208108
0.137221
0.058809
0.039206
0.64396
0.570203
0.497672
0.407743
0.355305
0.280814
0
0.028264
0.268155
6,720
182
79
36.923077
0.801545
0.08125
0
0.310811
0
0
0.142718
0.075499
0
0
0
0
0
1
0.114865
false
0
0.02027
0
0.202703
0
0
0
0
null
0
0
0
0
0
0
0
0
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
4860d4c2fef20a3559333f3c07fba155be5e079a
12,166
py
Python
core/utils.py
jojo23333/mcan-vqa
294cf672155a3c01d148450afc6542412a8837e6
[ "Apache-2.0" ]
null
null
null
core/utils.py
jojo23333/mcan-vqa
294cf672155a3c01d148450afc6542412a8837e6
[ "Apache-2.0" ]
null
null
null
core/utils.py
jojo23333/mcan-vqa
294cf672155a3c01d148450afc6542412a8837e6
[ "Apache-2.0" ]
null
null
null
import copy import logging import re import torch import json from fvcore.common.checkpoint import ( get_missing_parameters_message, get_unexpected_parameters_message, ) from core.data.data_utils import ans_stat class HierarchicClassification(object): def __init__(self, __C): self.__C = __C ...
39.888525
102
0.616472
1,743
12,166
4.030981
0.180723
0.019357
0.009394
0.01281
0.139624
0.100911
0.051523
0.034728
0
0
0
0.008815
0.291304
12,166
304
103
40.019737
0.806077
0.24363
0
0.119403
0
0
0.072462
0.017476
0
0
0
0
0.00995
1
0.074627
false
0
0.039801
0.004975
0.174129
0.039801
0
0
0
null
0
0
0
0
0
0
0
0
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
486361edc3e5c1d568dba14a5be4788c38396ea5
6,589
py
Python
spid_cie_oidc/entity/trust_chain_operations.py
peppelinux/spid-cie-oidc-authority
816636fece10f410f5d6fce85fd79bb409d0c8b8
[ "Apache-2.0" ]
4
2022-03-08T09:05:13.000Z
2022-03-16T17:59:43.000Z
spid_cie_oidc/entity/trust_chain_operations.py
peppelinux/spid-cie-oidc-authority
816636fece10f410f5d6fce85fd79bb409d0c8b8
[ "Apache-2.0" ]
64
2022-03-08T01:11:40.000Z
2022-03-31T17:23:49.000Z
spid_cie_oidc/entity/trust_chain_operations.py
peppelinux/spid-cie-oidc-authority
816636fece10f410f5d6fce85fd79bb409d0c8b8
[ "Apache-2.0" ]
8
2022-03-09T12:00:08.000Z
2022-03-31T13:52:14.000Z
import logging from django.utils import timezone from typing import Union from .exceptions import InvalidTrustchain, TrustchainMissingMetadata from .models import FetchedEntityStatement, TrustChain from .statements import EntityConfiguration, get_entity_configurations from .settings import HTTPC_PARAMS from .trust_ch...
32.29902
87
0.610563
730
6,589
5.242466
0.186301
0.089104
0.056441
0.022995
0.413379
0.295793
0.216357
0.194931
0.194931
0.147374
0
0.000221
0.312642
6,589
203
88
32.458128
0.844778
0.058279
0
0.194805
0
0
0.060843
0
0
0
0
0
0
1
0.019481
false
0
0.058442
0
0.11039
0
0
0
0
null
0
0
0
0
0
0
0
0
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
486394bb559615b84fa49567fcdb6a63df1d44d1
19,445
py
Python
code.py
FoamyGuy/CircuitPython_CSV_TileMap_Game
4cf1661dd7db1cecd434e9fba6e07eb375ffc06d
[ "MIT" ]
1
2020-05-14T02:35:09.000Z
2020-05-14T02:35:09.000Z
code.py
FoamyGuy/CircuitPython_CSV_TileMap_Game
4cf1661dd7db1cecd434e9fba6e07eb375ffc06d
[ "MIT" ]
null
null
null
code.py
FoamyGuy/CircuitPython_CSV_TileMap_Game
4cf1661dd7db1cecd434e9fba6e07eb375ffc06d
[ "MIT" ]
null
null
null
import board import displayio import adafruit_imageload from displayio import Palette from adafruit_pybadger import PyBadger import time # Direction constants for comparison UP = 0 DOWN = 1 RIGHT = 2 LEFT = 3 # how long to wait between rendering frames FPS_DELAY = 1/30 # how many tiles can fit on thes screen. Tiles ...
37.038095
123
0.581846
2,588
19,445
4.17813
0.126352
0.03727
0.028299
0.011653
0.277629
0.212984
0.14834
0.127347
0.083788
0.071211
0
0.013324
0.347699
19,445
524
124
37.108779
0.839167
0.332425
0
0.21843
0
0
0.070132
0.00187
0
0
0
0
0
1
0.023891
false
0
0.020478
0.010239
0.075085
0.027304
0
0
0
null
0
0
0
0
0
0
0
0
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
4866eb2646559988f7b4c029e556146f3b4e3f4a
4,090
py
Python
api_base.py
mpalazzolo/API-Base
b0a7c3ba9bb5add59a43d3dec36354318478e226
[ "MIT" ]
null
null
null
api_base.py
mpalazzolo/API-Base
b0a7c3ba9bb5add59a43d3dec36354318478e226
[ "MIT" ]
null
null
null
api_base.py
mpalazzolo/API-Base
b0a7c3ba9bb5add59a43d3dec36354318478e226
[ "MIT" ]
null
null
null
import requests from requests.exceptions import HTTPError import time class APIBase: """ This class is to be used as a base to build an API library. Authorization token generation and endpoint functions must be written """ def __init__(self, root, proxies=None, requests_session=True, max_retries...
30.75188
114
0.526406
456
4,090
4.635965
0.287281
0.03122
0.042573
0.042573
0.208136
0.208136
0.196783
0.196783
0.196783
0.196783
0
0.00841
0.389487
4,090
132
115
30.984848
0.838206
0.309046
0
0.25
0
0
0.044854
0
0
0
0
0
0
1
0.109375
false
0
0.046875
0
0.28125
0.046875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
486787d9c3efbc67538ff3c74ea68506a0623fb8
1,143
py
Python
plasmasm/arch/X64.py
LRGH/plasmasm
4cd50546c3dc895763d72dd60b7c46179c1916bc
[ "Apache-2.0" ]
1
2021-02-28T21:31:18.000Z
2021-02-28T21:31:18.000Z
plasmasm/arch/X64.py
LRGH/plasmasm
4cd50546c3dc895763d72dd60b7c46179c1916bc
[ "Apache-2.0" ]
null
null
null
plasmasm/arch/X64.py
LRGH/plasmasm
4cd50546c3dc895763d72dd60b7c46179c1916bc
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2011-2020 Airbus, Louis.Granboulan@airbus.com containers = { 'ELF': 'X86_64', 'MACHO': 'X86_64' } try: from plasmasm.python.compatibility import set except ImportError: pass from plasmasm.arch.I386 import opcodes as opcodes_x86 x64_att_opcodes = set([ 'jmpq', 'callq', 'retq', 'popq', 'pu...
42.333333
112
0.551181
142
1,143
4.352113
0.767606
0.048544
0.084142
0.061489
0
0
0
0
0
0
0
0.043621
0.197725
1,143
26
113
43.961538
0.630316
0.051619
0
0
0
0
0.314233
0
0
0
0
0
0
1
0
false
0.04
0.12
0
0.12
0
0
0
0
null
0
0
0
0
0
0
0
0
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
486b39af5811634dc06771353577ccba06dfa1ca
9,840
py
Python
tests/gold_tests/redirect/redirect_actions.test.py
cmcfarlen/trafficserver
2aa1d3106398eb082e5a454212b0273c63d5f69d
[ "Apache-2.0" ]
1,351
2015-01-03T08:25:40.000Z
2022-03-31T09:14:08.000Z
tests/gold_tests/redirect/redirect_actions.test.py
cmcfarlen/trafficserver
2aa1d3106398eb082e5a454212b0273c63d5f69d
[ "Apache-2.0" ]
7,009
2015-01-14T16:22:45.000Z
2022-03-31T17:18:04.000Z
tests/gold_tests/redirect/redirect_actions.test.py
cmcfarlen/trafficserver
2aa1d3106398eb082e5a454212b0273c63d5f69d
[ "Apache-2.0" ]
901
2015-01-11T19:21:08.000Z
2022-03-18T18:21:33.000Z
''' Test redirection behavior to invalid addresses ''' # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the ...
38.893281
131
0.66626
1,231
9,840
5.281885
0.308692
0.006152
0.008305
0.003076
0.203168
0.171793
0.140111
0.09351
0.057828
0.057828
0
0.021313
0.217988
9,840
252
132
39.047619
0.823652
0.281199
0
0.202454
0
0.018405
0.206748
0.066332
0
0
0
0
0
1
0.01227
false
0.01227
0.030675
0
0.134969
0
0
0
0
null
0
0
0
0
0
0
0
0
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
4871ff697124412845f2fa5d890fac9d6f0735fb
1,172
py
Python
appserver.py
XplosiveX/webfortune
bdcde9e4fc703c05a5520db3a4623103aeb77028
[ "Apache-2.0" ]
null
null
null
appserver.py
XplosiveX/webfortune
bdcde9e4fc703c05a5520db3a4623103aeb77028
[ "Apache-2.0" ]
null
null
null
appserver.py
XplosiveX/webfortune
bdcde9e4fc703c05a5520db3a4623103aeb77028
[ "Apache-2.0" ]
null
null
null
from flask import Flask, render_template, request, session, redirect, url_for, jsonify, abort import os import subprocess import uuid app = Flask(__name__) app.secret_key = str(uuid.uuid4().hex) intropre = '<pre style="border:black solid 4px; border-radius: 12.5px; background:silver; opacity: 0.65; margin-left:auto; ...
34.470588
216
0.705631
141
1,172
5.765957
0.510638
0.03936
0.103321
0.068881
0.147601
0
0
0
0
0
0
0.014793
0.134812
1,172
33
217
35.515152
0.786982
0
0
0.107143
0
0.035714
0.250853
0.046928
0
0
0
0
0
1
0.142857
false
0
0.142857
0.035714
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
4872759cf120b5248551d5a5595288fb0852c2a9
1,356
py
Python
auth0/v3/test/management/test_stats.py
akmjenkins/auth0-python
511b016ac9853c7f4ee66769be7ad315c5585735
[ "MIT" ]
340
2015-06-05T12:32:26.000Z
2022-03-30T18:41:30.000Z
auth0/v3/test/management/test_stats.py
akmjenkins/auth0-python
511b016ac9853c7f4ee66769be7ad315c5585735
[ "MIT" ]
179
2015-05-26T00:35:07.000Z
2022-03-18T17:16:37.000Z
auth0/v3/test/management/test_stats.py
akmjenkins/auth0-python
511b016ac9853c7f4ee66769be7ad315c5585735
[ "MIT" ]
151
2015-01-27T11:49:01.000Z
2022-03-03T14:26:09.000Z
import unittest import mock from ...management.stats import Stats class TestStats(unittest.TestCase): def test_init_with_optionals(self): t = Stats(domain='domain', token='jwttoken', telemetry=False, timeout=(10, 2)) self.assertEqual(t.client.options.timeout, (10, 2)) telemetry_header = t...
31.534884
86
0.640855
167
1,356
5.011976
0.323353
0.071685
0.060932
0.078853
0.542413
0.506571
0.506571
0.506571
0.506571
0.391876
0
0.043478
0.219764
1,356
42
87
32.285714
0.747637
0
0
0.354839
0
0
0.20354
0.053097
0
0
0
0
0.16129
1
0.096774
false
0
0.096774
0
0.225806
0
0
0
0
null
0
0
0
0
0
0
0
0
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
4874bbd204b2fd95be7d58eace358a2bc329365d
2,038
py
Python
JavPy/utils/common.py
generaljun/JavPy
e2b5488631c0979c643a2f86ba4cd8bb1709e2f8
[ "Apache-2.0" ]
1
2020-07-30T08:48:17.000Z
2020-07-30T08:48:17.000Z
JavPy/utils/common.py
liqiang0330/JavPy
e2b5488631c0979c643a2f86ba4cd8bb1709e2f8
[ "Apache-2.0" ]
null
null
null
JavPy/utils/common.py
liqiang0330/JavPy
e2b5488631c0979c643a2f86ba4cd8bb1709e2f8
[ "Apache-2.0" ]
2
2020-07-30T06:30:23.000Z
2020-07-30T08:48:19.000Z
import datetime import functools import re from typing import Iterable version = "0.6" def noexcept(lambda_expression, default=None, return_exception=False): try: res = lambda_expression() return res if not return_exception else (res, None) except Exception as ex: return default if no...
22.898876
87
0.598135
244
2,038
4.75
0.356557
0.038827
0.018982
0.034513
0.101812
0.060397
0
0
0
0
0
0.007612
0.290972
2,038
88
88
23.159091
0.794464
0
0
0.111111
0
0
0.013248
0
0
0
0
0
0
1
0.142857
false
0
0.095238
0.015873
0.492063
0
0
0
0
null
0
0
0
0
0
0
0
0
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
4877da686c21f0b39bdbcc627ce13221392e0654
5,597
py
Python
cdlib/algorithms/internal/COACH.py
xing-lab-pitt/cdlib
590e145429cda1db4d3671c994c502bedd77f108
[ "BSD-2-Clause" ]
248
2019-02-17T05:31:22.000Z
2022-03-30T04:57:20.000Z
cdlib/algorithms/internal/COACH.py
xing-lab-pitt/cdlib
590e145429cda1db4d3671c994c502bedd77f108
[ "BSD-2-Clause" ]
130
2019-02-10T19:35:55.000Z
2022-03-31T10:58:39.000Z
cdlib/algorithms/internal/COACH.py
xing-lab-pitt/cdlib
590e145429cda1db4d3671c994c502bedd77f108
[ "BSD-2-Clause" ]
70
2019-02-15T19:04:29.000Z
2022-03-27T12:58:50.000Z
# Author: True Price <jtprice@cs.unc.edu> # A core-attachment based method to detect protein complexes in PPI networks # Wu, Li, Kwoh, Ng (2009) # http://www.biomedcentral.com/1471-2105/10/169 from collections import defaultdict from itertools import combinations import functools # return average degree and density...
33.315476
88
0.517063
693
5,597
4.031746
0.242424
0.045097
0.019685
0.010021
0.142448
0.085898
0.085898
0.062276
0.03937
0.03937
0
0.01347
0.389852
5,597
167
89
33.51497
0.804685
0.150974
0
0.178295
0
0
0
0
0
0
0
0
0
1
0.023256
false
0
0.023256
0
0.085271
0
0
0
0
null
0
0
0
0
0
0
0
0
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
48782a7be4c6875b12d933fb4c7555216fa0e180
2,745
py
Python
appengine/findit/waterfall/test/revert_and_notify_culprit_pipeline_test.py
mcgreevy/chromium-infra
09064105713603f7bf75c772e8354800a1bfa256
[ "BSD-3-Clause" ]
1
2018-01-02T05:47:07.000Z
2018-01-02T05:47:07.000Z
appengine/findit/waterfall/test/revert_and_notify_culprit_pipeline_test.py
mcgreevy/chromium-infra
09064105713603f7bf75c772e8354800a1bfa256
[ "BSD-3-Clause" ]
null
null
null
appengine/findit/waterfall/test/revert_and_notify_culprit_pipeline_test.py
mcgreevy/chromium-infra
09064105713603f7bf75c772e8354800a1bfa256
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from common.constants import DEFAULT_QUEUE from common.waterfall import failure_type from gae_libs.pipeline_wrapper import pipeline_handlers from waterfall i...
36.118421
77
0.676867
277
2,745
6.379061
0.33213
0.049802
0.063384
0.059423
0.565931
0.565931
0.565931
0.52292
0.52292
0.52292
0
0.006886
0.259381
2,745
76
78
36.118421
0.862273
0.056466
0
0.5625
0
0
0.023966
0
0
0
0
0
0
1
0.03125
false
0
0.125
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
4878680107622e5788667d3e8c86e78f88548e8c
2,368
py
Python
labs/lab2/lm_model/models/LSTM.py
luyuliu/CSE-5194
52970106c21b30e64d4cf1df26bec09929494060
[ "MIT" ]
1
2020-12-04T18:07:54.000Z
2020-12-04T18:07:54.000Z
labs/lab2/lm_model/models/LSTM.py
luyuliu/CSE-5194
52970106c21b30e64d4cf1df26bec09929494060
[ "MIT" ]
1
2019-11-15T22:05:22.000Z
2019-12-01T03:41:14.000Z
labs/lab2/lm_model/models/LSTM.py
luyuliu/CSE-5194
52970106c21b30e64d4cf1df26bec09929494060
[ "MIT" ]
null
null
null
import torch import torch.nn as nn from torch.autograd import Variable from torch.nn import functional as F import numpy as np class LSTM(nn.Module): def __init__(self, embedding_matrix, embedding_dim, vocab_size, hidden_dim, dropout, num_layers, bidirectional, output_dim): """ Args: ...
34.823529
128
0.649916
297
2,368
4.993266
0.26936
0.066757
0.04383
0.04855
0.229265
0.192852
0.192852
0.192852
0.145651
0.145651
0
0.010863
0.261402
2,368
67
129
35.343284
0.83705
0.212416
0
0.125
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0.15625
0
0.28125
0
0
0
0
null
0
0
0
0
0
0
0
0
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
4879e9953736c5be4e8f8c3cffbf391ebb052c79
229
py
Python
Day 17/Aayushi-Mittal.py
ChetasShree/MarchCode
80ee6206c0e4481b4421a83c7b7b7fc977450009
[ "MIT" ]
9
2021-03-02T12:16:24.000Z
2021-03-26T11:06:08.000Z
Day 17/Aayushi-Mittal.py
ChetasShree/MarchCode
80ee6206c0e4481b4421a83c7b7b7fc977450009
[ "MIT" ]
65
2021-03-02T04:57:47.000Z
2021-04-02T19:31:30.000Z
Day 17/Aayushi-Mittal.py
ChetasShree/MarchCode
80ee6206c0e4481b4421a83c7b7b7fc977450009
[ "MIT" ]
94
2021-03-02T04:42:28.000Z
2021-06-28T10:38:20.000Z
# To print fibonacci series upto a given number n. first = 0 second = 1 n = int(input()) print("Fibbonacci Series:") for i in range(0,n): print(first, end=", ") next = second + first first = second second = next
19.083333
50
0.628821
35
229
4.114286
0.628571
0
0
0
0
0
0
0
0
0
0
0.017341
0.244541
229
11
51
20.818182
0.815029
0.209607
0
0
0
0
0.111732
0
0
0
0
0
0
1
0
false
0
0
0
0
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
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
487a8dc97f3ca00e23834b0ac346fc97195d5b14
3,578
py
Python
taotao-cloud-python/taotao-cloud-oldboy/day84-PerfectCRM/PerfectCRM/kingadmin/permissions.py
shuigedeng/taotao-cloud-paren
3d281b919490f7cbee4520211e2eee5da7387564
[ "Apache-2.0" ]
47
2021-04-13T10:32:13.000Z
2022-03-31T10:30:30.000Z
taotao-cloud-python/taotao-cloud-oldboy/day84-PerfectCRM/PerfectCRM/kingadmin/permissions.py
shuigedeng/taotao-cloud-paren
3d281b919490f7cbee4520211e2eee5da7387564
[ "Apache-2.0" ]
1
2021-11-01T07:41:04.000Z
2021-11-01T07:41:10.000Z
taotao-cloud-python/taotao-cloud-oldboy/day84-PerfectCRM/PerfectCRM/kingadmin/permissions.py
shuigedeng/taotao-cloud-paren
3d281b919490f7cbee4520211e2eee5da7387564
[ "Apache-2.0" ]
21
2021-04-13T10:32:17.000Z
2022-03-26T07:43:22.000Z
from django.core.urlresolvers import resolve from django.shortcuts import render,redirect,HttpResponse from kingadmin.permission_list import perm_dic from django.conf import settings def perm_check(*args,**kwargs): request = args[0] resolve_url_obj = resolve(request.path) current_url_name = resolve_url_o...
38.473118
106
0.579374
405
3,578
4.866667
0.269136
0.042618
0.0345
0.01928
0.114663
0.114663
0.114663
0
0
0
0
0.005063
0.337619
3,578
92
107
38.891304
0.826582
0.109838
0
0.315068
0
0
0.045799
0.007265
0
0
0
0
0
1
0.041096
false
0
0.054795
0
0.178082
0.136986
0
0
0
null
0
0
0
0
0
0
0
0
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
487b2742f256d49f88ac22c9264f7095601ac607
1,643
py
Python
notes/SparkDifferentialJoin.py
ketanpurohit0/experimental
02a7d5403037fe1fcc107ddf92e3b5a0748957d6
[ "MIT" ]
1
2020-08-25T04:16:07.000Z
2020-08-25T04:16:07.000Z
notes/SparkDifferentialJoin.py
ketanpurohit0/experimental
02a7d5403037fe1fcc107ddf92e3b5a0748957d6
[ "MIT" ]
null
null
null
notes/SparkDifferentialJoin.py
ketanpurohit0/experimental
02a7d5403037fe1fcc107ddf92e3b5a0748957d6
[ "MIT" ]
null
null
null
import SparkHelper as sh sparkSession = sh.getSpark() sparkSession.sparkContext.setLogLevel("ERROR") # URL url = sh.getUrl('postgres','postgres','foobar_secret') q1 = "SELECT * FROM foo_left" q2 = "SELECT * FROM foo_right" df1 = sh.getQueryDataFrame(sparkSession, url, q1) df2 = sh.getQueryDataFrame(sparkSes...
37.340909
125
0.715764
253
1,643
4.505929
0.375494
0.042105
0.042105
0.059649
0.057895
0.047368
0.047368
0.047368
0.047368
0
0
0.027857
0.1479
1,643
44
126
37.340909
0.786429
0.200243
0
0.214286
0
0
0.217908
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
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
487d11f426857e94a16bf2d204d4f9c9755beb01
3,181
py
Python
python/GafferSceneUI/LightToCameraUI.py
ddesmond/gaffer
4f25df88103b7893df75865ea919fb035f92bac0
[ "BSD-3-Clause" ]
561
2016-10-18T04:30:48.000Z
2022-03-30T06:52:04.000Z
python/GafferSceneUI/LightToCameraUI.py
ddesmond/gaffer
4f25df88103b7893df75865ea919fb035f92bac0
[ "BSD-3-Clause" ]
1,828
2016-10-14T19:01:46.000Z
2022-03-30T16:07:19.000Z
python/GafferSceneUI/LightToCameraUI.py
ddesmond/gaffer
4f25df88103b7893df75865ea919fb035f92bac0
[ "BSD-3-Clause" ]
120
2016-10-18T15:19:13.000Z
2021-12-20T16:28:23.000Z
########################################################################## # # Copyright (c) 2016, Image Engine Design 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: # # * Redistrib...
33.840426
155
0.690663
385
3,181
5.706494
0.537662
0.021848
0.015476
0.020938
0.13564
0.061903
0.061903
0.061903
0.061903
0.061903
0
0.004295
0.194907
3,181
93
156
34.204301
0.853573
0.520591
0
0.259259
0
0
0.196532
0.030347
0
0
0
0
0
1
0.037037
false
0
0.111111
0
0.185185
0
0
0
0
null
0
0
0
0
0
0
0
0
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
487fc233ae954bd5e3c1f681b3650b436f4025ac
2,678
py
Python
eccProg.py
ganey/hm-gwmfr
c931113185a222d6c94c6a2679d39027de6f192f
[ "MIT" ]
1
2021-06-18T02:57:19.000Z
2021-06-18T02:57:19.000Z
eccProg.py
ganey/hm-gwmfr
c931113185a222d6c94c6a2679d39027de6f192f
[ "MIT" ]
9
2021-03-04T10:41:52.000Z
2021-10-18T15:14:37.000Z
eccProg.py
ganey/hm-gwmfr
c931113185a222d6c94c6a2679d39027de6f192f
[ "MIT" ]
4
2021-02-24T10:03:31.000Z
2021-07-09T17:33:59.000Z
#!/usr/bin/env python3 from time import sleep import logging import os import subprocess print("Nebra ECC Tool") preTestFail = 0 afterTestFail = 0 ECC_SUCCESSFUL_TOUCH_FILEPATH = "/var/data/gwmfr_ecc_provisioned" logging.basicConfig(level=os.environ.get("LOGLEVEL", "DEBUG")) def record_successful_provision(): ...
33.898734
121
0.68596
317
2,678
5.684543
0.454259
0.033296
0.029967
0.043285
0.189789
0.189789
0.163152
0.163152
0.163152
0.139845
0
0.039683
0.200149
2,678
78
122
34.333333
0.801587
0.146378
0
0.290909
0
0
0.285652
0.07591
0
0
0
0
0
1
0.018182
false
0
0.072727
0
0.090909
0.272727
0
0
0
null
0
0
0
0
0
0
0
0
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
48823dc4e90bc1cf4bd23d8ad54e5dbd5c6870e3
4,022
py
Python
examples/run_unlinkable.py
danesjenovdan/reference_implementation
8374c45dd05a2e279bd5e53800aa237f64684a2b
[ "Apache-2.0" ]
1
2020-11-09T21:07:00.000Z
2020-11-09T21:07:00.000Z
examples/run_unlinkable.py
ac-ctrl/reference_implementation
e07f10447eaab9853e8f45a5d06e98741e265f5f
[ "Apache-2.0" ]
null
null
null
examples/run_unlinkable.py
ac-ctrl/reference_implementation
e07f10447eaab9853e8f45a5d06e98741e265f5f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 """ Simple example/demo of the unlinkable DP-3T design This demo simulates some interactions between two phones, represented by the contact tracing modules, and then runs contact tracing. """ __copyright__ = """ Copyright 2020 EPFL Licensed under the Apache License, Version 2.0 (the "...
30.014925
85
0.680507
525
4,022
5.030476
0.348571
0.045437
0.034078
0.031806
0.143506
0.134419
0.073836
0
0
0
0
0.00733
0.219791
4,022
133
86
30.240602
0.834289
0.110393
0
0.17284
0
0
0.384879
0
0
0
0
0
0
1
0.049383
false
0
0.024691
0
0.074074
0.259259
0
0
0
null
0
0
0
0
0
0
0
0
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
4884cbedf429b58f568f4a96e1328fccb2ba0bb3
5,483
py
Python
experiments/src_exp/data_experimentation/test_clean_store_delete_playground.py
earny-joe/CvDisinfo-Detect
722b07ef2820759fce8e917ffba6654ac5611c23
[ "MIT" ]
4
2020-04-27T04:45:53.000Z
2022-03-28T10:50:07.000Z
experiments/src_exp/data_experimentation/test_clean_store_delete_playground.py
earny-joe/CvDisinfo-Detect
722b07ef2820759fce8e917ffba6654ac5611c23
[ "MIT" ]
16
2020-04-12T19:09:10.000Z
2022-03-12T00:38:18.000Z
experiments/src_exp/data_experimentation/test_clean_store_delete_playground.py
earny-joe/CvDisinfo-Detect
722b07ef2820759fce8e917ffba6654ac5611c23
[ "MIT" ]
1
2020-07-19T23:15:05.000Z
2020-07-19T23:15:05.000Z
# Comment import pandas as pd import re from google.cloud import storage from pathlib import Path def load_data(filename, chunksize=10000): good_columns = [ 'created_at', 'entities', 'favorite_count', 'full_text', 'id_str', 'in_reply_to_screen_name', 'in_rep...
31.331429
79
0.61718
628
5,483
5.127389
0.240446
0.040373
0.039752
0.031056
0.343789
0.264596
0.201863
0.183851
0.102484
0.102484
0
0.001966
0.257706
5,483
174
80
31.511494
0.789189
0.056538
0
0.243056
0
0
0.241078
0.098332
0
0
0
0
0
1
0.0625
false
0
0.027778
0
0.180556
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
0
0
0
0
0
1
0
4885063d81ad224f010848be20c3a4db6e1c984c
18,988
py
Python
codes/correl.py
KurmasanaWT/community
5fc9e7da5b3e8df2bc9f85580a070de8c868a656
[ "MIT" ]
null
null
null
codes/correl.py
KurmasanaWT/community
5fc9e7da5b3e8df2bc9f85580a070de8c868a656
[ "MIT" ]
null
null
null
codes/correl.py
KurmasanaWT/community
5fc9e7da5b3e8df2bc9f85580a070de8c868a656
[ "MIT" ]
null
null
null
from dash import dcc, html import dash_bootstrap_components as dbc from dash.dependencies import Input, Output, State import numpy as np import pandas as pd import plotly.io as pio import plotly.graph_objects as go from plotly.subplots import make_subplots import yfinance as yf import math from sklearn.linear_model imp...
39.394191
186
0.555825
2,335
18,988
4.458244
0.185867
0.016811
0.018252
0.019597
0.49683
0.425552
0.369837
0.286744
0.264361
0.257733
0
0.052709
0.243628
18,988
482
187
39.394191
0.672121
0.126448
0
0.202454
0
0.009202
0.170812
0.00256
0
0
0
0
0
1
0.009202
false
0
0.03681
0.003067
0.052147
0.01227
0
0
0
null
0
0
0
0
0
0
0
0
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
488664091cf5f88c9226ceceac51ef1864450390
1,459
py
Python
custom_components/blitzortung/geohash_utils.py
Nag94/HomeAssistantConfig
d5f806e05be8d92bf487c58322d20cd9b08c6b98
[ "Unlicense" ]
163
2020-08-01T12:19:46.000Z
2022-03-28T09:04:57.000Z
custom_components/blitzortung/geohash_utils.py
Nag94/HomeAssistantConfig
d5f806e05be8d92bf487c58322d20cd9b08c6b98
[ "Unlicense" ]
81
2020-08-04T00:28:46.000Z
2022-03-29T15:48:51.000Z
custom_components/blitzortung/geohash_utils.py
Nag94/HomeAssistantConfig
d5f806e05be8d92bf487c58322d20cd9b08c6b98
[ "Unlicense" ]
28
2020-08-02T12:02:24.000Z
2022-03-22T00:07:34.000Z
import math from collections import namedtuple from . import geohash Box = namedtuple("Box", ["s", "w", "n", "e"]) def geohash_bbox(gh): ret = geohash.bbox(gh) return Box(ret["s"], ret["w"], ret["n"], ret["e"]) def bbox(lat, lon, radius): lat_delta = radius * 360 / 40000 lon_delta = lat_delta / ma...
24.728814
87
0.607265
204
1,459
4.259804
0.303922
0.041427
0.069045
0.036824
0.142693
0.142693
0.09206
0
0
0
0
0.033613
0.265936
1,459
58
88
25.155172
0.777778
0
0
0
0
0
0.007539
0
0
0
0
0
0
1
0.146341
false
0
0.073171
0.04878
0.365854
0
0
0
0
null
0
0
0
0
0
0
0
0
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
4887385245fd69a9bed6f6ead371a6a688979596
7,398
py
Python
deepmask/models/DeepMask.py
TJUMMG/SiamDMU
728ba1333b8d600a8b238a7d29901a01b653c33d
[ "Apache-2.0" ]
3
2021-08-25T01:51:04.000Z
2022-03-04T06:30:32.000Z
deepmask/models/DeepMask.py
TJUMMG/SiamDMU
728ba1333b8d600a8b238a7d29901a01b653c33d
[ "Apache-2.0" ]
null
null
null
deepmask/models/DeepMask.py
TJUMMG/SiamDMU
728ba1333b8d600a8b238a7d29901a01b653c33d
[ "Apache-2.0" ]
null
null
null
import torch import torch.nn as nn import torchvision from collections import namedtuple Config = namedtuple('Config', ['iSz', 'oSz', 'gSz']) default_config = Config(iSz=160, oSz=56, gSz=112) class Reshape(nn.Module): def __init__(self, oSz): super(Reshape, self).__init__() self.oSz = oSz de...
40.42623
98
0.577994
1,056
7,398
3.897727
0.169508
0.081633
0.029155
0.017493
0.360058
0.316327
0.250729
0.153547
0.108358
0.090865
0
0.039223
0.283185
7,398
182
99
40.648352
0.736941
0.079481
0
0.08
0
0
0.028407
0.004121
0
0
0
0
0.02
1
0.066667
false
0
0.033333
0
0.173333
0.02
0
0
0
null
0
0
0
0
0
0
0
0
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