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
c8205acb89329008fc256d7baa124e1eca07ffcd
1,521
py
Python
slybot/slybot/linkextractor/xml.py
coolkunal64/ht
b7c52d5604dd75ea4086a6ff92eaa2db85bb145c
[ "BSD-3-Clause" ]
1
2017-11-03T13:00:21.000Z
2017-11-03T13:00:21.000Z
slybot/slybot/linkextractor/xml.py
coolkunal64/ht
b7c52d5604dd75ea4086a6ff92eaa2db85bb145c
[ "BSD-3-Clause" ]
2
2021-03-31T20:04:55.000Z
2021-12-13T20:47:09.000Z
slybot/slybot/linkextractor/xml.py
coolkunal64/ht
b7c52d5604dd75ea4086a6ff92eaa2db85bb145c
[ "BSD-3-Clause" ]
2
2017-11-03T13:00:23.000Z
2020-08-28T19:59:40.000Z
""" Link extraction for auto scraping """ from scrapy.link import Link from scrapy.selector import Selector from slybot.linkextractor.base import BaseLinkExtractor class XmlLinkExtractor(BaseLinkExtractor): """Link extractor for XML sources""" def __init__(self, xpath, **kwargs): self.remove_namespace...
37.097561
123
0.680473
162
1,521
6.12963
0.364198
0.096677
0.04431
0.05136
0.123867
0.096677
0.096677
0.096677
0.096677
0
0
0
0.187377
1,521
40
124
38.025
0.803398
0.087442
0
0.178571
0
0
0.117949
0.041026
0
0
0
0
0
1
0.178571
false
0
0.107143
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
c821ed2774a2669777a45f15bf9913ade184edde
1,319
py
Python
questions/construct-the-rectangle/Solution.py
marcus-aurelianus/leetcode-solutions
8b43e72fe1f51c84abc3e89b181ca51f09dc7ca6
[ "MIT" ]
141
2017-12-12T21:45:53.000Z
2022-03-25T07:03:39.000Z
questions/construct-the-rectangle/Solution.py
marcus-aurelianus/leetcode-solutions
8b43e72fe1f51c84abc3e89b181ca51f09dc7ca6
[ "MIT" ]
32
2015-10-05T14:09:52.000Z
2021-05-30T10:28:41.000Z
questions/construct-the-rectangle/Solution.py
marcus-aurelianus/leetcode-solutions
8b43e72fe1f51c84abc3e89b181ca51f09dc7ca6
[ "MIT" ]
56
2015-09-30T05:23:28.000Z
2022-03-08T07:57:11.000Z
""" A web developer needs to know how to design a web page's size. So, given a specific rectangular web page’s area, your job by now is to design a rectangular web page, whose length L and width W satisfy the following requirements: The area of the rectangular web page you designed must equal to the given target area...
27.479167
228
0.644428
228
1,319
3.72807
0.421053
0.041176
0.063529
0.035294
0.037647
0
0
0
0
0
0
0.050568
0.265353
1,319
48
229
27.479167
0.826625
0.791509
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
c825a6df3c14933bdcbd115b36ca8c69f6c6f233
2,434
py
Python
limiter/rate_limiter.py
sousa-andre/requests-limiter
ad3a5982a40e88111eca63b258e1226e15a8befa
[ "MIT" ]
4
2020-11-14T18:13:27.000Z
2021-01-03T19:13:39.000Z
limiter/rate_limiter.py
sousa-andre/requests-limiter
ad3a5982a40e88111eca63b258e1226e15a8befa
[ "MIT" ]
null
null
null
limiter/rate_limiter.py
sousa-andre/requests-limiter
ad3a5982a40e88111eca63b258e1226e15a8befa
[ "MIT" ]
2
2021-01-03T19:13:46.000Z
2021-01-31T12:24:23.000Z
from functools import wraps from time import sleep from typing import List from .rate_limit import RateLimit from .exceptions import RateLimitHit class OnHitAction: raise_exception = 0 wait = 1 class RateLimiter: def __init__(self, storage=RateLimit, *, action=OnHitAction.raise_exception): self...
32.453333
101
0.582991
259
2,434
5.30888
0.277992
0.058182
0.029091
0.034909
0.106182
0.074182
0.074182
0.074182
0.074182
0
0
0.003117
0.341002
2,434
74
102
32.891892
0.854115
0
0
0.225806
0
0
0.021775
0
0
0
0
0
0
1
0.145161
false
0
0.080645
0
0.419355
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
c82642bd0188daaa561a06de4c6541a12f22393f
2,081
py
Python
pymod/amsexceptions.py
kevangel79/argo-ams-library
6824b1f6f577e688575d8f2f67f747126a856fcb
[ "Apache-2.0" ]
null
null
null
pymod/amsexceptions.py
kevangel79/argo-ams-library
6824b1f6f577e688575d8f2f67f747126a856fcb
[ "Apache-2.0" ]
1
2021-06-25T15:35:46.000Z
2021-06-25T15:35:46.000Z
pymod/amsexceptions.py
kevangel79/argo-ams-library
6824b1f6f577e688575d8f2f67f747126a856fcb
[ "Apache-2.0" ]
null
null
null
import json class AmsException(Exception): """Base exception class for all Argo Messaging service related errors""" def __init__(self, *args, **kwargs): super(AmsException, self).__init__(*args, **kwargs) class AmsServiceException(AmsException): """Exception for Argo Messaging Service API errors...
33.031746
90
0.683325
231
2,081
5.943723
0.329004
0.046613
0.04807
0.037145
0.151493
0.116533
0.05244
0.05244
0.05244
0
0
0.004225
0.203748
2,081
62
91
33.564516
0.824381
0.280154
0
0.1
0
0
0.073919
0
0
0
0
0
0
1
0.2
false
0
0.033333
0
0.433333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c8284b2ce3b5bfcda541a3e925afc518ce46735a
18,871
py
Python
tests/fixtures/__init__.py
Lunga001/pmg-cms-2
10cea3979711716817b0ba2a41987df73f2c7642
[ "Apache-2.0" ]
2
2019-06-11T20:46:43.000Z
2020-08-27T22:50:32.000Z
tests/fixtures/__init__.py
Lunga001/pmg-cms-2
10cea3979711716817b0ba2a41987df73f2c7642
[ "Apache-2.0" ]
70
2017-05-26T14:04:06.000Z
2021-06-30T10:21:58.000Z
tests/fixtures/__init__.py
OpenUpSA/pmg-cms-2
ec5f259dae81674ac7a8cdb80f124a8b0f167780
[ "Apache-2.0" ]
4
2017-08-29T10:09:30.000Z
2021-05-25T11:29:03.000Z
import pytz import datetime from fixture import DataSet, NamedDataStyle, SQLAlchemyFixture from pmg.models import ( db, House, Committee, CommitteeMeeting, Bill, BillType, Province, Party, CommitteeMeetingAttendance, Member, CallForComment, TabledCommitteeReport, Com...
33.578292
470
0.647237
2,272
18,871
5.285211
0.209507
0.012492
0.025316
0.037975
0.397235
0.342688
0.31962
0.286059
0.262492
0.240257
0
0.042352
0.271793
18,871
561
471
33.638146
0.831466
0.001484
0
0.358407
0
0.028761
0.273118
0.001169
0
0
0
0
0
1
0
false
0
0.00885
0
0.232301
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c828bd04e92dcf2b104e584217bad8d4f09ebabf
455
py
Python
Google Search/GoogleSearch.py
cclauss/Browser-Automation
7baca74d40ac850f9570d7e40a47021dc0e8e387
[ "Apache-2.0" ]
35
2016-07-16T07:05:24.000Z
2021-07-07T15:18:55.000Z
Google Search/GoogleSearch.py
cclauss/Browser-Automation
7baca74d40ac850f9570d7e40a47021dc0e8e387
[ "Apache-2.0" ]
null
null
null
Google Search/GoogleSearch.py
cclauss/Browser-Automation
7baca74d40ac850f9570d7e40a47021dc0e8e387
[ "Apache-2.0" ]
7
2016-07-27T10:25:10.000Z
2019-12-06T08:45:03.000Z
from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.desired_capabilities import DesiredCapabilities driver = webdriver.Chrome("D:\chromedriver\chromedriver") driver.get("http://www.google.com") if not "Google" in driver.title: raise Exception("Unable to loa...
28.4375
78
0.789011
62
455
5.709677
0.612903
0.101695
0.118644
0.152542
0
0
0
0
0
0
0
0
0.092308
455
15
79
30.333333
0.857143
0
0
0
0
0
0.2
0.061538
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c82a3f71eb898781a7532e4f8e200f17688bdd99
2,265
py
Python
PuppeteerLibrary/puppeteer/async_keywords/puppeteer_formelement.py
qahive/robotframework-puppeteer
6377156c2e5b3a4d3841c33a2d3ff9ab0b38854a
[ "Apache-2.0" ]
37
2019-10-28T01:35:43.000Z
2022-03-31T04:11:49.000Z
PuppeteerLibrary/puppeteer/async_keywords/puppeteer_formelement.py
qahive/robotframework-puppeteer
6377156c2e5b3a4d3841c33a2d3ff9ab0b38854a
[ "Apache-2.0" ]
61
2020-07-16T00:18:22.000Z
2022-03-24T07:12:05.000Z
PuppeteerLibrary/puppeteer/async_keywords/puppeteer_formelement.py
qahive/robotframework-puppeteer
6377156c2e5b3a4d3841c33a2d3ff9ab0b38854a
[ "Apache-2.0" ]
10
2020-03-03T05:28:05.000Z
2022-02-14T10:03:44.000Z
from PuppeteerLibrary.utils.coverter import str2bool, str2str import os import glob import shutil import time from PuppeteerLibrary.ikeywords.iformelement_async import iFormElementAsync class PuppeteerFormElement(iFormElementAsync): def __init__(self, library_ctx): super().__init__(library_ctx) asyn...
38.389831
114
0.666225
274
2,265
5.248175
0.306569
0.055633
0.06815
0.070932
0.311544
0.311544
0.274687
0.248261
0.166898
0.166898
0
0.00577
0.234879
2,265
58
115
39.051724
0.824005
0
0
0.122449
0
0
0.05298
0.010596
0
0
0
0
0
1
0.020408
false
0.020408
0.122449
0
0.204082
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c82ab1a64645a1b9f4d0449b2c09332ab3971afe
7,187
py
Python
cnns/nnlib/pytorch_architecture/resnet1d.py
anonymous-user-commits/perturb-net
66fc7c4a1234fa34b92bcc85751f0a6e23d80a23
[ "MIT" ]
1
2018-03-25T13:19:46.000Z
2018-03-25T13:19:46.000Z
cnns/nnlib/pytorch_architecture/resnet1d.py
anonymous-user-commits/perturb-net
66fc7c4a1234fa34b92bcc85751f0a6e23d80a23
[ "MIT" ]
null
null
null
cnns/nnlib/pytorch_architecture/resnet1d.py
anonymous-user-commits/perturb-net
66fc7c4a1234fa34b92bcc85751f0a6e23d80a23
[ "MIT" ]
null
null
null
import shutil, os, csv, itertools, glob import math import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable from torch.utils.data import Dataset, DataLoader import torch.optim as optim from sklearn.metrics import confusion_matrix import pandas as pd i...
28.863454
76
0.594128
918
7,187
4.582789
0.208061
0.024958
0.021393
0.024245
0.47112
0.439743
0.365106
0.342287
0.332303
0.313763
0
0.03506
0.285655
7,187
248
77
28.979839
0.784379
0.109225
0
0.361963
0
0
0.024278
0
0
0
0
0
0
1
0.09816
false
0
0.07362
0
0.282209
0.02454
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c82fbb8e27137ecf71edbf4cda57e644ec71cfa9
1,398
py
Python
other_models/AAN/adaptive-aggregation-networks/dataloaders/cifar100_dirmap.py
kreimanlab/AugMem
cb0e8d39eb0c469da46c7c550c19229927a2bec5
[ "MIT" ]
6
2021-04-07T15:17:24.000Z
2021-07-07T04:37:29.000Z
other_models/Remind/image_classification_experiments/dataloaders/cifar100_dirmap.py
kreimanlab/AugMem
cb0e8d39eb0c469da46c7c550c19229927a2bec5
[ "MIT" ]
null
null
null
other_models/Remind/image_classification_experiments/dataloaders/cifar100_dirmap.py
kreimanlab/AugMem
cb0e8d39eb0c469da46c7c550c19229927a2bec5
[ "MIT" ]
null
null
null
import os import sys import pandas as pd # USAGE: python cifar100_dirmap.py <path to cifar100 dataset directory> # Organized cifar100 directory can be created using cifar2png: https://github.com/knjcode/cifar2png if len(sys.argv) > 1: DATA_DIR = sys.argv[1] else: DATA_DIR = "./../data/cifar100" # Get class n...
34.95
112
0.666667
213
1,398
4.164319
0.366197
0.039459
0.045096
0.047351
0.099211
0.099211
0.074408
0.074408
0.074408
0
0
0.021053
0.184549
1,398
39
113
35.846154
0.757018
0.130901
0
0
0
0
0.135425
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c82fd0f2d54b784533c3c8e4ad5838457eb0383a
5,616
py
Python
tests/integration_tests/data_steward/cdr_cleaner/cleaning_rules/remove_participant_data_past_deactivation_date_test.py
lrwb-aou/curation
e80447e56d269dc2c9c8bc79e78218d4b0dc504c
[ "MIT" ]
16
2017-06-30T20:05:05.000Z
2022-03-08T21:03:19.000Z
tests/integration_tests/data_steward/cdr_cleaner/cleaning_rules/remove_participant_data_past_deactivation_date_test.py
lrwb-aou/curation
e80447e56d269dc2c9c8bc79e78218d4b0dc504c
[ "MIT" ]
342
2017-06-23T21:37:40.000Z
2022-03-30T16:44:16.000Z
tests/integration_tests/data_steward/cdr_cleaner/cleaning_rules/remove_participant_data_past_deactivation_date_test.py
lrwb-aou/curation
e80447e56d269dc2c9c8bc79e78218d4b0dc504c
[ "MIT" ]
33
2017-07-01T00:12:20.000Z
2022-01-26T18:06:53.000Z
""" Ensures there is no data past the deactivation date for deactivated participants. Original Issue: DC-686 The intent is to sandbox and drop records dated after the date of deactivation for participants who have deactivated from the Program This test will mock calling the PS API and provide a returned value. Every...
37.44
104
0.639067
679
5,616
5.055965
0.343152
0.028838
0.016021
0.016604
0.131372
0.064084
0.032625
0
0
0
0
0.045487
0.256232
5,616
149
105
37.691275
0.776395
0.209758
0
0.042105
0
0
0.332104
0.106015
0
0
0
0
0
1
0.031579
false
0
0.084211
0
0.126316
0.031579
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c834981294e35ab677847178ee1ed2e7e3411bb0
2,476
py
Python
charlie2/tools/trial.py
sammosummo/Charlie2
e856b9bfc83c11e57a63d487fa14a63764e3f6ae
[ "MIT" ]
5
2019-10-10T08:22:29.000Z
2021-04-09T02:34:13.000Z
charlie2/tools/trial.py
sammosummo/Charlie2
e856b9bfc83c11e57a63d487fa14a63764e3f6ae
[ "MIT" ]
20
2018-06-20T21:15:48.000Z
2018-09-06T17:13:46.000Z
charlie2/tools/trial.py
sammosummo/Charlie2
e856b9bfc83c11e57a63d487fa14a63764e3f6ae
[ "MIT" ]
3
2019-11-24T04:10:40.000Z
2020-04-04T07:50:57.000Z
"""Defines the trial class. """ from datetime import datetime from logging import getLogger logger = getLogger(__name__) class Trial(dict): def __init__(self, *args, **kwds) -> None: """Create a trial object. Trials objects are fancy dictionaries whose items are also attributes. They are ...
35.884058
87
0.600969
282
2,476
4.826241
0.329787
0.082292
0.057311
0.05878
0.225569
0.185158
0.114622
0
0
0
0
0.002885
0.300081
2,476
68
88
36.411765
0.782458
0.348142
0
0.088235
0
0
0.220416
0
0
0
0
0
0.058824
1
0.029412
false
0
0.058824
0
0.117647
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c835c38f6e541b5231eac621e19ad8646fab5eb5
1,839
py
Python
categorize_reviews.py
curtislb/ReviewTranslation
b2d14d349b6016d275fa22532eae6b67af243a55
[ "Apache-2.0" ]
null
null
null
categorize_reviews.py
curtislb/ReviewTranslation
b2d14d349b6016d275fa22532eae6b67af243a55
[ "Apache-2.0" ]
null
null
null
categorize_reviews.py
curtislb/ReviewTranslation
b2d14d349b6016d275fa22532eae6b67af243a55
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import ast import sys import nltk import numpy as np from review_data import read_reviews ############################################################################### def main(): low = 3.0 high = 4.0 target_language = u"english" topics = [] with open(sys.argv[1]) as in...
26.271429
79
0.504622
215
1,839
4.223256
0.334884
0.049559
0.056167
0.075991
0.327093
0.244493
0.198238
0.198238
0.198238
0.105727
0
0.015335
0.326264
1,839
69
80
26.652174
0.717514
0.010875
0
0.117647
0
0
0.037953
0
0
0
0
0
0
1
0.019608
false
0
0.098039
0
0.117647
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c83adde56479731d1abd45b0e5be159767406e09
1,063
py
Python
Two_Sum_1.py
JazzikPeng/Algorithm-in-Python
915135b1cdd02a6bb8d7068a54b2f497b2ec31d4
[ "MIT" ]
3
2018-02-05T06:15:57.000Z
2019-04-07T23:33:07.000Z
Two_Sum_1.py
JazzikPeng/Algorithm-in-Python
915135b1cdd02a6bb8d7068a54b2f497b2ec31d4
[ "MIT" ]
null
null
null
Two_Sum_1.py
JazzikPeng/Algorithm-in-Python
915135b1cdd02a6bb8d7068a54b2f497b2ec31d4
[ "MIT" ]
null
null
null
class Solution: def twoSum(self, nums, target): """ :type nums: List[int] :type target: int :rtype: List[int] """ # fill initial set/dict s = {target-nums[0]} d = {nums[0]: 0} for i in range(1, len(nums)): if nums[i] in s: ...
30.371429
80
0.464722
127
1,063
3.889764
0.291339
0.145749
0.131579
0.068826
0.336032
0.255061
0.255061
0.255061
0.255061
0.255061
0
0.006088
0.381938
1,063
34
81
31.264706
0.745814
0.129821
0
0.095238
0
0
0.07565
0
0
0
0
0
0
1
0.095238
false
0
0
0
0.333333
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
c83f4c51440116a7f88bf4d5e46dda85c09f8606
2,069
py
Python
shortest_path_revisit_and_NP/week1/apsp_johnsons.py
liaoaoyuan97/standford_algorithms_specialization
2914fdd397ce895d986ac855e78afd7a51ceff68
[ "MIT" ]
null
null
null
shortest_path_revisit_and_NP/week1/apsp_johnsons.py
liaoaoyuan97/standford_algorithms_specialization
2914fdd397ce895d986ac855e78afd7a51ceff68
[ "MIT" ]
null
null
null
shortest_path_revisit_and_NP/week1/apsp_johnsons.py
liaoaoyuan97/standford_algorithms_specialization
2914fdd397ce895d986ac855e78afd7a51ceff68
[ "MIT" ]
1
2021-01-18T19:35:48.000Z
2021-01-18T19:35:48.000Z
import time import numpy as np from os import path def read_graph(filename): i = 0 with open(path.join('.', filename), 'r') as f: for row in f.readlines(): if i == 0: _list = row.strip("\n").split(' ') n_vertex, n_edge = int(_list[0]), int(_list[1]) ...
32.84127
109
0.564524
316
2,069
3.455696
0.177215
0.147436
0.07326
0.074176
0.712454
0.679487
0.554945
0.541209
0.480769
0.475275
0
0.027064
0.285645
2,069
62
110
33.370968
0.711773
0
0
0.395833
0
0
0.020783
0
0
0
0
0
0
1
0.041667
false
0
0.0625
0
0.166667
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
c84122fcd1573afd525866c481ac3a9686f3174d
2,448
py
Python
Cardio-Monitor-main/visualization.py
jrderek/computer-vision-exercises
e9735394220f8120453de70b58596ef9e87df926
[ "MIT" ]
null
null
null
Cardio-Monitor-main/visualization.py
jrderek/computer-vision-exercises
e9735394220f8120453de70b58596ef9e87df926
[ "MIT" ]
null
null
null
Cardio-Monitor-main/visualization.py
jrderek/computer-vision-exercises
e9735394220f8120453de70b58596ef9e87df926
[ "MIT" ]
null
null
null
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas from matplotlib.figure import Figure import io import random import numpy as np def visualizationpreprocess(age,sex,cp,trestbps,restecg,chol,fbs,thalach,exang,oldpeak,slope,ca,thal,result): if sex=="male": sex=1 else: sex=0 ...
31.792208
139
0.635212
348
2,448
4.428161
0.422414
0.016223
0.022064
0.024659
0.029851
0
0
0
0
0
0
0.069466
0.21201
2,448
76
140
32.210526
0.729393
0.276552
0
0.04
0
0
0.231386
0
0
0
0
0
0
1
0.02
false
0
0.1
0
0.14
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c8413d24c21af2dd79f48f95f23cc0565affc86b
6,006
py
Python
at_tmp/model/util/TMP_DB_OPT__.py
zuoleilei3253/zuoleilei
e188b15a0aa4a9fde00dba15e8300e4b87973e2d
[ "Apache-2.0" ]
null
null
null
at_tmp/model/util/TMP_DB_OPT__.py
zuoleilei3253/zuoleilei
e188b15a0aa4a9fde00dba15e8300e4b87973e2d
[ "Apache-2.0" ]
null
null
null
at_tmp/model/util/TMP_DB_OPT__.py
zuoleilei3253/zuoleilei
e188b15a0aa4a9fde00dba15e8300e4b87973e2d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2018/7/15 16:36 # @Author : bxf # @File : P_DB_OPT.py # @Software: PyCharm import pymysql import json from datetime import date, datetime from model.util import md_Config from model.util.PUB_LOG import * ''' 提供数据的增删改查功能: ''' clas...
28.330189
129
0.494006
604
6,006
4.817881
0.293046
0.035739
0.058419
0.089347
0.434364
0.391065
0.295533
0.248797
0.248797
0.248797
0
0.006849
0.367965
6,006
211
130
28.464455
0.759747
0.141692
0
0.452381
0
0
0.116274
0.019451
0
0
0
0
0
1
0.079365
false
0.007937
0.039683
0
0.246032
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c8422d03ff6c162a7a235c164df43ce7fd4202c5
1,025
py
Python
setup.py
drougge/wellpapp-pyclient
43d66a1e2a122ac87e477905c5e2460e11be3c26
[ "MIT" ]
null
null
null
setup.py
drougge/wellpapp-pyclient
43d66a1e2a122ac87e477905c5e2460e11be3c26
[ "MIT" ]
null
null
null
setup.py
drougge/wellpapp-pyclient
43d66a1e2a122ac87e477905c5e2460e11be3c26
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from setuptools import setup fuse_reqs = [ 'fuse-python >= 0.3.1; python_version < "3"', 'fuse-python >= 1.0.0; python_version > "3"', ] readme = open('README.md', 'r').read() readme = readme.replace( '(FUSE.md)', '(https://github.com/drougge/wellpapp-pyclient/blob/master/FUSE.md)' ) setu...
21.808511
85
0.659512
138
1,025
4.76087
0.572464
0.03653
0.009132
0.063927
0.112633
0.112633
0
0
0
0
0
0.03044
0.134634
1,025
46
86
22.282609
0.710259
0.045854
0
0.076923
0
0.051282
0.517418
0.045082
0
0
0
0
0
1
0
false
0
0.025641
0
0.025641
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c8427460e2bcf42333ee94274c805a7a6ae2d6ab
715
py
Python
students/K33421/Zmievskiy_Danil/Lr1/Task04/server.py
DanilZmievskiy/ITMO_ICT_WebDevelopment_2020-2021
8bb6e90e6592c04f4b959184310e0890aaa24e16
[ "MIT" ]
null
null
null
students/K33421/Zmievskiy_Danil/Lr1/Task04/server.py
DanilZmievskiy/ITMO_ICT_WebDevelopment_2020-2021
8bb6e90e6592c04f4b959184310e0890aaa24e16
[ "MIT" ]
null
null
null
students/K33421/Zmievskiy_Danil/Lr1/Task04/server.py
DanilZmievskiy/ITMO_ICT_WebDevelopment_2020-2021
8bb6e90e6592c04f4b959184310e0890aaa24e16
[ "MIT" ]
null
null
null
import socket import threading conn = socket.socket(socket.AF_INET,socket.SOCK_STREAM) conn.bind (('', 7070)) conn.listen() clients = [] print ('Start Server') def new_client(): while True: clientsocket, address = conn.accept() if clientsocket not in clients: clients.append(clientsocket) threading.Thread...
21.029412
74
0.711888
87
715
5.804598
0.505747
0.112871
0.083168
0
0
0
0
0
0
0
0
0.016694
0.162238
715
34
75
21.029412
0.826377
0
0
0.076923
0
0
0.01676
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.153846
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c843403db7b167cca6757d1608c2ce426ef07684
1,563
py
Python
cutelog/pop_in_dialog.py
CS-GSI/cutelog
faca7a7bfd16559973178d3c87cb3b0c6667d4d3
[ "MIT" ]
125
2018-07-27T15:23:35.000Z
2022-03-09T18:18:08.000Z
cutelog/pop_in_dialog.py
CS-GSI/cutelog
faca7a7bfd16559973178d3c87cb3b0c6667d4d3
[ "MIT" ]
12
2019-02-02T01:02:59.000Z
2022-03-14T08:31:41.000Z
cutelog/pop_in_dialog.py
CS-GSI/cutelog
faca7a7bfd16559973178d3c87cb3b0c6667d4d3
[ "MIT" ]
26
2018-08-24T23:49:58.000Z
2022-01-27T12:29:38.000Z
from qtpy.QtCore import Signal from qtpy.QtWidgets import QDialog, QDialogButtonBox, QListWidget, QVBoxLayout class PopInDialog(QDialog): pop_in_tabs = Signal(list) def __init__(self, parent, loggers): super().__init__(parent) self.loggers = loggers self.setupUi() def setupUi(se...
31.26
94
0.643634
172
1,563
5.75
0.383721
0.141557
0.0182
0.042467
0
0
0
0
0
0
0
0.008591
0.255278
1,563
49
95
31.897959
0.841065
0
0
0.102564
0
0
0
0
0
0
0
0
0
1
0.128205
false
0
0.051282
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
c84378df20614229cbb5ed8f3fb0fb2de32e4ad3
6,730
py
Python
MineSweeper/minesweeper.py
Ratnesh4193/Amazing-Python-Scripts
0652a6066a3eeaf31830d7235da209699c45f779
[ "MIT" ]
1
2021-04-17T08:33:25.000Z
2021-04-17T08:33:25.000Z
MineSweeper/minesweeper.py
Ratnesh4193/Amazing-Python-Scripts
0652a6066a3eeaf31830d7235da209699c45f779
[ "MIT" ]
null
null
null
MineSweeper/minesweeper.py
Ratnesh4193/Amazing-Python-Scripts
0652a6066a3eeaf31830d7235da209699c45f779
[ "MIT" ]
1
2021-07-22T07:06:09.000Z
2021-07-22T07:06:09.000Z
# Importing required libraries from tkinter import * from tkinter import messagebox as mb from tkinter import ttk import random # function to create screen for the game def board(): global value,w # initialising screen root=Tk() root.geometry("320x335") root.title("MineSweeper") root.resizable(...
52.170543
136
0.649034
1,129
6,730
3.865368
0.135518
0.041705
0.068744
0.091659
0.558662
0.558662
0.552704
0.552704
0.552704
0.536205
0
0.088632
0.151709
6,730
128
137
52.578125
0.675775
0.093314
0
0.17757
0
0
0.126151
0
0
0
0
0
0
1
0.037383
false
0
0.037383
0
0.074766
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c84571d0d767e8fe81786eba5dfb74f8e16357fc
1,240
py
Python
tests/test_session.py
Streetwise/streetwise-app
13c1649077766e0e20d6903adcd057ae3c07cc9c
[ "MIT" ]
1
2020-05-28T06:50:01.000Z
2020-05-28T06:50:01.000Z
tests/test_session.py
Streetwise/streetwise-app
13c1649077766e0e20d6903adcd057ae3c07cc9c
[ "MIT" ]
72
2020-05-01T11:11:17.000Z
2022-02-14T09:01:50.000Z
tests/test_session.py
Streetwise/streetwise-app
13c1649077766e0e20d6903adcd057ae3c07cc9c
[ "MIT" ]
3
2020-05-06T20:35:32.000Z
2020-05-07T15:00:51.000Z
""" Python unit tests """ import pytest, json from streetwise.models import Campaign from . import app, app_context, db @pytest.fixture(scope="module") def client(): app.config['TESTING'] = True return app.test_client() def test_campaign_all(client): with app_context: campaign1 = Campaign() ...
28.837209
75
0.629839
155
1,240
4.948387
0.322581
0.065189
0.084746
0.110821
0.48631
0.362451
0.237288
0.237288
0.237288
0.125163
0
0.019874
0.229032
1,240
42
76
29.52381
0.782427
0.01371
0
0.333333
0
0
0.110288
0
0
0
0
0
0.121212
1
0.121212
false
0
0.090909
0
0.242424
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c84abb9eac74cceda1f9caab92fdc8319c29f197
4,900
py
Python
crawler/spiders/weighted_index_spider.py
ChuangYuMing/futures_spread_analysis
71540671eed7ea3abba0a9a5af45f49dcf662ce3
[ "MIT" ]
2
2019-09-19T05:11:00.000Z
2020-07-23T07:26:03.000Z
crawler/spiders/weighted_index_spider.py
ChuangYuMing/futures_spread_analysis
71540671eed7ea3abba0a9a5af45f49dcf662ce3
[ "MIT" ]
11
2020-07-14T10:42:59.000Z
2022-03-02T14:54:10.000Z
crawler/spiders/weighted_index_spider.py
ChuangYuMing/futures_spread_analysis
71540671eed7ea3abba0a9a5af45f49dcf662ce3
[ "MIT" ]
null
null
null
# encoding: utf-8 # pylint: disable=E1101 # 加權指數 # https://www.twse.com.tw/zh/page/trading/indices/MI_5MINS_HIST.html import scrapy from scrapy import signals, Spider from urllib.parse import urlencode import time from random import randint import datetime import logging from copy import copy from dateutil.relativedel...
35.507246
93
0.610408
559
4,900
5.271914
0.300537
0.029861
0.032576
0.042755
0.079403
0.047506
0.028504
0.028504
0
0
0
0.012469
0.263469
4,900
137
94
35.766423
0.804101
0.046939
0
0.091743
0
0
0.064433
0
0
0
0
0
0
1
0.082569
false
0.009174
0.146789
0
0.284404
0.018349
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c84ea79f1edbb49a2816dca5b35662a00efd9c2f
1,198
py
Python
modules/tensorflow/keras/datasets/gaussian_mixture.py
avogel88/compare-VAE-GAE
aa3419c41a58ca6c1a9c1031c0aed7e07c3d4f90
[ "MIT" ]
null
null
null
modules/tensorflow/keras/datasets/gaussian_mixture.py
avogel88/compare-VAE-GAE
aa3419c41a58ca6c1a9c1031c0aed7e07c3d4f90
[ "MIT" ]
null
null
null
modules/tensorflow/keras/datasets/gaussian_mixture.py
avogel88/compare-VAE-GAE
aa3419c41a58ca6c1a9c1031c0aed7e07c3d4f90
[ "MIT" ]
null
null
null
import numpy as np import os from os.path import dirname, join from modules.numpy import covmix, varroll from modules.pandas import DesignMatrix from modules.scipy.stats import gaussian_mixture def gaussian_mixture_generate(file, train=60000, test=60000, validate=10000): dim_x, dim_z = 784, 10 # distribution...
29.95
77
0.674457
187
1,198
4.187166
0.336898
0.0447
0.10728
0.076628
0.268199
0.130268
0
0
0
0
0
0.026396
0.177796
1,198
39
78
30.717949
0.768528
0.037563
0
0
0
0
0.050523
0
0
0
0
0
0
1
0.074074
false
0
0.222222
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c85276ff92552a878b6545824f777a6c37822c3a
7,860
py
Python
Desktop Assistant.py
PRASUNR0Y/Desktop-Assistant
6f07cd3bc50bfca3d3f243d9e01d1bb0ef2e9029
[ "MIT" ]
15
2020-07-21T09:54:16.000Z
2022-02-08T15:34:25.000Z
Desktop Assistant.py
RisingStar522/Desktop-Assistant
6f07cd3bc50bfca3d3f243d9e01d1bb0ef2e9029
[ "MIT" ]
1
2020-11-26T15:47:23.000Z
2020-11-26T15:47:23.000Z
Desktop Assistant.py
RisingStar522/Desktop-Assistant
6f07cd3bc50bfca3d3f243d9e01d1bb0ef2e9029
[ "MIT" ]
16
2020-08-04T10:47:45.000Z
2022-01-14T19:29:35.000Z
import pyttsx3 #pip install pyttsx3 import speech_recognition as sr #pip install speechRecognition import datetime import wikipedia #pip install wikipedia import webbrowser import os import smtplib import random engine = pyttsx3.init('sapi5') voices = engine.getProperty('voices') # print(voices[0].id) engine.setProper...
34.933333
146
0.575318
1,001
7,860
4.412587
0.26973
0.058637
0.034865
0.035318
0.219832
0.174326
0.096898
0.075617
0.019017
0.019017
0
0.005785
0.318193
7,860
225
147
34.933333
0.818436
0.026718
0
0.068182
0
0.011364
0.293602
0.002878
0
0
0
0
0
1
0.022727
false
0.005682
0.045455
0
0.079545
0.073864
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c8551c2705d7c8211e2870c34856750e96ab7d03
11,467
py
Python
exif_processing.py
Strubbl/upload-scripts
da2f73a322490c0ca572dcc21bc8ba7f68f76734
[ "MIT" ]
null
null
null
exif_processing.py
Strubbl/upload-scripts
da2f73a322490c0ca572dcc21bc8ba7f68f76734
[ "MIT" ]
1
2020-08-05T18:37:15.000Z
2020-08-07T14:12:56.000Z
exif_processing.py
Strubbl/upload-scripts
da2f73a322490c0ca572dcc21bc8ba7f68f76734
[ "MIT" ]
1
2020-08-05T16:23:51.000Z
2020-08-05T16:23:51.000Z
"""Module responsible to parse Exif information from a image""" import math import datetime from enum import Enum from typing import Optional # third party import exifread import piexif MPH_TO_KMH_FACTOR = 1.60934 """miles per hour to kilometers per hour conversion factor""" KNOTS_TO_KMH_FACTOR = 1.852 """knots to kil...
38.871186
99
0.669574
1,523
11,467
4.851609
0.160867
0.043172
0.018947
0.030857
0.302747
0.203952
0.166734
0.119096
0.111246
0.089051
0
0.011338
0.238511
11,467
294
100
39.003401
0.83486
0.215052
0
0.104972
0
0
0.038033
0
0
0
0
0
0
1
0.082873
false
0.033149
0.033149
0
0.414365
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c8559b8c4871bf63b43c48e1fd50163d6997b0b7
1,505
py
Python
NPTEL - 2017 PDSA/Nptel_EX_5.py
Siddharth2016/PYTHON3_prog
9dfa258d87f5b00779d39d9de9a49c1c6cea06be
[ "MIT" ]
2
2019-02-26T14:06:53.000Z
2019-02-27T17:13:01.000Z
NPTEL - 2017 PDSA/Nptel_EX_5.py
Siddharth2016/PYTHON3_prog
9dfa258d87f5b00779d39d9de9a49c1c6cea06be
[ "MIT" ]
null
null
null
NPTEL - 2017 PDSA/Nptel_EX_5.py
Siddharth2016/PYTHON3_prog
9dfa258d87f5b00779d39d9de9a49c1c6cea06be
[ "MIT" ]
2
2017-12-26T07:59:57.000Z
2018-06-24T03:35:05.000Z
# NPTEL EXERCISE 5 courses = {} students = [] grades = {} f = 0 while(True): S = input() if S=="EndOfInput": break if S=='Courses': f = 1 continue elif S=='Students': f = 2 continue elif S=='Grades': f = 3 continue i...
22.462687
60
0.348173
171
1,505
3.064327
0.315789
0.053435
0.091603
0
0
0
0
0
0
0
0
0.049479
0.489701
1,505
66
61
22.80303
0.632813
0.038538
0
0.103448
0
0
0.040698
0
0.017241
0
0
0
0
1
0
false
0
0
0
0
0.017241
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c8587f2977c7befab3e26288435a9698c942b8e4
2,719
py
Python
ultron8/api/api_v1/endpoints/loggers.py
bossjones/ultron8
45db73d32542a844570d44bc83defa935e15803f
[ "Apache-2.0", "MIT" ]
null
null
null
ultron8/api/api_v1/endpoints/loggers.py
bossjones/ultron8
45db73d32542a844570d44bc83defa935e15803f
[ "Apache-2.0", "MIT" ]
43
2019-06-01T23:08:32.000Z
2022-02-07T22:24:53.000Z
ultron8/api/api_v1/endpoints/loggers.py
bossjones/ultron8
45db73d32542a844570d44bc83defa935e15803f
[ "Apache-2.0", "MIT" ]
null
null
null
from __future__ import annotations # SOURCE: https://blog.bartab.fr/fastapi-logging-on-the-fly/ import logging from fastapi import APIRouter, HTTPException from ultron8.api.models.loggers import LoggerModel, LoggerPatch LOG_LEVELS = { "critical": logging.CRITICAL, "error": logging.ERROR, "warning": logg...
31.252874
86
0.670099
325
2,719
5.476923
0.341538
0.037079
0.020225
0.029213
0.124719
0.124719
0.041573
0.041573
0.041573
0
0
0.006044
0.2089
2,719
86
87
31.616279
0.821478
0.125414
0
0.123077
0
0
0.093671
0
0
0
0
0
0
1
0.076923
false
0
0.061538
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
c85898f206e8cc65031cd08af9075a430861ba23
422
py
Python
exception6.py
PRASAD-DANGARE/PYTHON
36214f7dc3762d327e5a29e40752edeb098249c8
[ "MIT" ]
1
2021-06-07T07:55:28.000Z
2021-06-07T07:55:28.000Z
exception6.py
PRASAD-DANGARE/PYTHON
36214f7dc3762d327e5a29e40752edeb098249c8
[ "MIT" ]
null
null
null
exception6.py
PRASAD-DANGARE/PYTHON
36214f7dc3762d327e5a29e40752edeb098249c8
[ "MIT" ]
null
null
null
# Python Program To Understand The Usage Of try With finally Blocks ''' Function Name : Usage Of try With finally Blocks Function Date : 23 Sep 2020 Function Author : Prasad Dangare Input : String Output : String ''' try: x = int(input('Enter A Number : ')) y = 1...
22.210526
68
0.592417
55
422
4.545455
0.690909
0.056
0.08
0.112
0.28
0.28
0.28
0
0
0
0
0.024561
0.324645
422
18
69
23.444444
0.852632
0.56872
0
0
0
0
0.435897
0
0
0
0
0
0
1
0
false
0
0
0
0
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
c85a1c9c9f35a67fa594c9e1e36235e098af53be
4,036
py
Python
V1/GliderScienceSet_Plots.py
NOAA-PMEL/EcoFOCI_OculusGlider
5655c0e173432768706416932c94a089a3e7993f
[ "Unlicense" ]
2
2018-04-12T19:49:05.000Z
2020-10-01T11:46:48.000Z
V1/GliderScienceSet_Plots.py
NOAA-PMEL/EcoFOCI_OculusGlider
5655c0e173432768706416932c94a089a3e7993f
[ "Unlicense" ]
null
null
null
V1/GliderScienceSet_Plots.py
NOAA-PMEL/EcoFOCI_OculusGlider
5655c0e173432768706416932c94a089a3e7993f
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python """ Background: -------- GliderScienceSet_Plots.py Purpose: -------- History: -------- """ import argparse import os from io_utils import ConfigParserLocal import numpy as np import xarray as xa # Visual Stack import matplotlib as mpl import matplotlib.pyplot as plt def plot_ts(...
27.834483
119
0.640981
582
4,036
4.365979
0.369416
0.023613
0.020464
0.029909
0.094845
0.023613
0.023613
0
0
0
0
0.023148
0.197225
4,036
144
120
28.027778
0.761111
0.15114
0
0.149425
0
0
0.138662
0
0
0
0
0
0
1
0.011494
false
0
0.08046
0
0.114943
0.057471
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c85aba6739f248fb55a041a97d59cbb716b417c3
17,416
py
Python
manager/users/models.py
jlbrewe/hub
c737669e6493ad17536eaa240bed3394b20c6b7d
[ "Apache-2.0" ]
30
2016-03-26T12:08:04.000Z
2021-12-24T14:48:32.000Z
manager/users/models.py
jlbrewe/hub
c737669e6493ad17536eaa240bed3394b20c6b7d
[ "Apache-2.0" ]
1,250
2016-03-23T04:56:50.000Z
2022-03-28T02:27:58.000Z
manager/users/models.py
jlbrewe/hub
c737669e6493ad17536eaa240bed3394b20c6b7d
[ "Apache-2.0" ]
11
2016-07-14T17:04:20.000Z
2021-07-01T16:19:09.000Z
""" Define models used in this app. This module only serves to provide some consistency across the `users`, `accounts` , `projects` etc apps so that you can `from users.models import Users`, just like you can for `from projects.models import Projects` and instead of having to remember to do the following. """ from ty...
30.824779
93
0.634933
2,202
17,416
4.920981
0.193915
0.012551
0.010797
0.01412
0.199982
0.140181
0.10179
0.063861
0.050941
0.034884
0
0.002049
0.271302
17,416
564
94
30.879433
0.851785
0.233751
0
0.167763
0
0
0.126566
0.006688
0
0
0
0
0
1
0.072368
false
0.006579
0.078947
0.003289
0.325658
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c85bff69906cd84ddfe9e581be8b49ceea14621c
6,075
py
Python
scripts/automation/trex_control_plane/interactive/trex/emu/emu_plugins/emu_plugin_dhcpsrv.py
GabrielGanne/trex-core
688a0fe0adb890964691473723d70ffa98e00dd3
[ "Apache-2.0" ]
956
2015-06-24T15:04:55.000Z
2022-03-30T06:25:04.000Z
scripts/automation/trex_control_plane/interactive/trex/emu/emu_plugins/emu_plugin_dhcpsrv.py
hjat2005/trex-core
400f03c86c844a0096dff3f6b13e58a808aaefff
[ "Apache-2.0" ]
782
2015-09-20T15:19:00.000Z
2022-03-31T23:52:05.000Z
scripts/automation/trex_control_plane/interactive/trex/emu/emu_plugins/emu_plugin_dhcpsrv.py
hjat2005/trex-core
400f03c86c844a0096dff3f6b13e58a808aaefff
[ "Apache-2.0" ]
429
2015-06-27T19:34:21.000Z
2022-03-23T11:02:51.000Z
from trex.emu.api import * from trex.emu.emu_plugins.emu_plugin_base import * import trex.utils.parsing_opts as parsing_opts class DHCPSRVPlugin(EMUPluginBase): """ Defines DHCP Server plugin based on `DHCP <https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol>`_ Implemented based on `RFC 2...
39.967105
200
0.539095
714
6,075
4.420168
0.331933
0.005703
0.005703
0.01711
0.223067
0.204056
0.184411
0.184411
0.184411
0.126109
0
0.04222
0.380082
6,075
151
201
40.231788
0.795805
0.042469
0
0
0
0
0.083622
0.024221
0
0
0
0
0
1
0.133333
false
0
0.1
0.066667
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c86191051fc7c1834649eb4ef9230e67b31da3c1
2,683
py
Python
lenet-chinese_mnist/generate.py
leonwanghui/mindspore-jina-apps
e2912d9a93689c69005345758e3b7a2f8ba6133e
[ "Apache-2.0" ]
null
null
null
lenet-chinese_mnist/generate.py
leonwanghui/mindspore-jina-apps
e2912d9a93689c69005345758e3b7a2f8ba6133e
[ "Apache-2.0" ]
null
null
null
lenet-chinese_mnist/generate.py
leonwanghui/mindspore-jina-apps
e2912d9a93689c69005345758e3b7a2f8ba6133e
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
43.274194
118
0.6776
402
2,683
4.358209
0.363184
0.034247
0.017123
0.018265
0.114155
0.091324
0.067352
0.042237
0
0
0
0.012108
0.168841
2,683
61
119
43.983607
0.773543
0.273202
0
0
0
0
0.140187
0.026999
0
0
0
0
0
1
0.055556
false
0
0.138889
0
0.222222
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c862ff0586dafe12df4bfd251af96f7087dbad08
900
py
Python
app/api/v1/routes.py
kwanj-k/storemanager-API
e51511545a717341a7b1eb100eb3eab625a8b011
[ "MIT" ]
1
2019-05-08T08:39:08.000Z
2019-05-08T08:39:08.000Z
app/api/v1/routes.py
kwanj-k/storemanager-API
e51511545a717341a7b1eb100eb3eab625a8b011
[ "MIT" ]
2
2019-10-21T17:56:01.000Z
2019-10-29T07:36:39.000Z
app/api/v1/routes.py
kwanj-k/storemanager-API
e51511545a717341a7b1eb100eb3eab625a8b011
[ "MIT" ]
null
null
null
""" This file contains all the version one routes """ # Third party imports from flask import Blueprint, request from flask_restplus import Api, Resource, fields # Local application imports from .views.products_views import v1 as pro_routes from .views.sales_views import v1 as sales_routes from .views.stores_views i...
26.470588
67
0.73
124
900
5.104839
0.41129
0.056872
0.063191
0.07109
0
0
0
0
0
0
0
0.013141
0.154444
900
33
68
27.272727
0.81866
0.102222
0
0
0
0
0.156446
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
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
c8643e92fdc3cc522b5000bf37f329ece9e89e82
5,605
py
Python
tests/test_region_aggregation.py
IAMconsortium/nomenclature
15973d86d91e38424fe30719d44a1f23526c6eea
[ "Apache-2.0" ]
9
2021-06-10T15:11:23.000Z
2022-02-02T16:22:01.000Z
tests/test_region_aggregation.py
IAMconsortium/nomenclature
15973d86d91e38424fe30719d44a1f23526c6eea
[ "Apache-2.0" ]
83
2021-06-22T09:04:29.000Z
2022-03-21T16:29:54.000Z
tests/test_region_aggregation.py
IAMconsortium/nomenclature
15973d86d91e38424fe30719d44a1f23526c6eea
[ "Apache-2.0" ]
3
2021-06-17T10:44:48.000Z
2021-09-16T15:30:03.000Z
from pathlib import Path import jsonschema import pydantic import pytest from nomenclature.processor.region import ( ModelMappingCollisionError, RegionAggregationMapping, RegionProcessor, ) from conftest import TEST_DATA_DIR TEST_FOLDER_REGION_MAPPING = TEST_DATA_DIR / "region_aggregation" def test_map...
33.562874
88
0.615165
586
5,605
5.568259
0.196246
0.022066
0.03034
0.055777
0.435182
0.393503
0.331903
0.189396
0.131781
0.131781
0
0.004658
0.272257
5,605
166
89
33.76506
0.795293
0.063872
0
0.294964
0
0.014388
0.308647
0.163008
0
0
0
0
0.021583
1
0.043165
false
0
0.043165
0
0.086331
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c8657a8c0a88d1cd1bd12e0d16b56dc5546e1b6c
2,300
py
Python
render_object.py
VanGy-code/3D-House-Blender
8a9d91b1f3cc3988c0dcd7079223f2e541f9ec71
[ "MIT" ]
null
null
null
render_object.py
VanGy-code/3D-House-Blender
8a9d91b1f3cc3988c0dcd7079223f2e541f9ec71
[ "MIT" ]
null
null
null
render_object.py
VanGy-code/3D-House-Blender
8a9d91b1f3cc3988c0dcd7079223f2e541f9ec71
[ "MIT" ]
1
2021-11-22T00:50:45.000Z
2021-11-22T00:50:45.000Z
import bpy import os import json import numpy as np from decimal import Decimal from mathutils import Vector, Matrix import argparse import numpy as np import sys sys.path.append(os.path.dirname(__file__)) sys.path.append(os.path.dirname(__file__)+'/tools') from tools.utils import * from tools.blender_interface import...
41.818182
112
0.694348
341
2,300
4.478006
0.354839
0.045842
0.039293
0.049771
0.27112
0.228553
0.228553
0.18926
0.1611
0.1611
0
0.058452
0.174348
2,300
55
113
41.818182
0.745656
0.005217
0
0.047619
0
0
0.139047
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
c86659332f0223beeafc6e01030a75e258e463d5
2,717
py
Python
mapel/elections/features/clustering.py
kaszperro/mapel
d4e6486ee97f5d5a5a737c581ba3f9f874ebcef3
[ "MIT" ]
null
null
null
mapel/elections/features/clustering.py
kaszperro/mapel
d4e6486ee97f5d5a5a737c581ba3f9f874ebcef3
[ "MIT" ]
null
null
null
mapel/elections/features/clustering.py
kaszperro/mapel
d4e6486ee97f5d5a5a737c581ba3f9f874ebcef3
[ "MIT" ]
null
null
null
import numpy as np def clustering_v1(experiment, num_clusters=20): from scipy.cluster.hierarchy import dendrogram, linkage, fcluster import scipy.spatial.distance as ssd # skip the paths SKIP = ['UNID', 'ANID', 'STID', 'ANUN', 'STUN', 'STAN', 'Mallows', 'Urn', 'I...
33.54321
79
0.606183
375
2,717
4.298667
0.274667
0.049628
0.050248
0.042184
0.30273
0.198511
0.165012
0.109181
0.073201
0.073201
0
0.022582
0.250276
2,717
80
80
33.9625
0.768778
0.382407
0
0.105263
0
0
0.061743
0
0
0
0
0
0
1
0.052632
false
0
0.105263
0
0.210526
0.026316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c86693ef8ab98f83a2f7c7800edbe9c593122043
561
py
Python
day15-1.py
kenleung5e28/advent-of-code-2021
f6de211f0d4f3bafa19572bf28e3407f0fab6d58
[ "MIT" ]
null
null
null
day15-1.py
kenleung5e28/advent-of-code-2021
f6de211f0d4f3bafa19572bf28e3407f0fab6d58
[ "MIT" ]
null
null
null
day15-1.py
kenleung5e28/advent-of-code-2021
f6de211f0d4f3bafa19572bf28e3407f0fab6d58
[ "MIT" ]
null
null
null
import math grid = [] with open('input-day15.txt') as file: for line in file: line = line.rstrip() grid.append([int(s) for s in line]) n = len(grid) costs = [[math.inf] * n for _ in range(n)] costs[0][0] = 0 queue = [(0, 0)] while len(queue) > 0: x1, y1 = queue.pop(0) for dx, dy in [(1, 0), (0, 1), (-1,...
24.391304
51
0.504456
108
561
2.611111
0.342593
0.035461
0.021277
0.028369
0
0
0
0
0
0
0
0.066667
0.278075
561
23
52
24.391304
0.62963
0
0
0
0
0
0.02669
0
0
0
0
0
0
1
0
false
0
0.05
0
0.05
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
c86731656ffa6ef2b38ba405b2722abcba4b7c94
1,217
py
Python
Algorithms/Sorting and Searching/sorting/merge sort/merge-sort-return-list.py
bulentsiyah/Python-Basics-Algorithms-Data-Structures-Object-Oriented-Programming-Job-Interview-Questions
3a67bdac1525495e6874c5bde61882848f60381d
[ "MIT" ]
14
2021-01-23T11:28:16.000Z
2021-12-07T16:08:23.000Z
Algorithms/Sorting and Searching/sorting/merge sort/merge-sort-return-list.py
bulentsiyah/Python-Basics-Algorithms-Data-Structures-Object-Oriented-Programming-Job-Interview-Questions
3a67bdac1525495e6874c5bde61882848f60381d
[ "MIT" ]
null
null
null
Algorithms/Sorting and Searching/sorting/merge sort/merge-sort-return-list.py
bulentsiyah/Python-Basics-Algorithms-Data-Structures-Object-Oriented-Programming-Job-Interview-Questions
3a67bdac1525495e6874c5bde61882848f60381d
[ "MIT" ]
2
2021-02-03T12:28:19.000Z
2021-09-14T09:50:08.000Z
arr: list = [54,26,93,17,77,31,44,55,20] def merge_sort(arr: list): result: list = helper(arr, 0, len(arr) - 1) for i in range(len(arr)): arr[i] = result[i] def helper(arr: list, start: int, end: int) -> list: if start > end: return [] elif start == end: return [arr[start...
24.836735
61
0.474117
154
1,217
3.733766
0.266234
0.048696
0.015652
0.05913
0.114783
0.114783
0.062609
0.062609
0
0
0
0.040486
0.391126
1,217
48
62
25.354167
0.735493
0
0
0.394737
0
0
0
0
0
0
0
0
0
1
0.078947
false
0
0
0
0.184211
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c867bd2b7a6b9e73aa95e644913f2d2ac179784c
3,406
py
Python
cve-manager/cve_manager/handler/task_handler/callback/cve_scan.py
seandong37tt4qu/jeszhengq
32b3737ab45e89e8c5b71cdce871cefd2c938fa8
[ "MulanPSL-1.0" ]
null
null
null
cve-manager/cve_manager/handler/task_handler/callback/cve_scan.py
seandong37tt4qu/jeszhengq
32b3737ab45e89e8c5b71cdce871cefd2c938fa8
[ "MulanPSL-1.0" ]
null
null
null
cve-manager/cve_manager/handler/task_handler/callback/cve_scan.py
seandong37tt4qu/jeszhengq
32b3737ab45e89e8c5b71cdce871cefd2c938fa8
[ "MulanPSL-1.0" ]
null
null
null
#!/usr/bin/python3 # ****************************************************************************** # Copyright (c) Huawei Technologies Co., Ltd. 2021-2022. All rights reserved. # licensed under the Mulan PSL v2. # You can use this software according to the terms and conditions of the Mulan PSL v2. # You may obtain a c...
40.547619
98
0.625954
458
3,406
4.412664
0.310044
0.083127
0.058882
0.044532
0.361702
0.335972
0.335972
0.335972
0.335972
0.335972
0
0.006442
0.225191
3,406
83
99
41.036145
0.759379
0.3165
0
0.333333
0
0.083333
0.113595
0
0
0
0
0
0
1
0.138889
false
0
0.083333
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c86aa619ebc8f014032a97d24de5e8f90b466d18
2,416
py
Python
tests/result/test_gatling.py
LaudateCorpus1/perfsize
710d6a5ae0918002e736f3aba8cd5cacb2b11326
[ "Apache-2.0" ]
5
2021-08-02T22:44:32.000Z
2022-01-07T20:53:48.000Z
tests/result/test_gatling.py
intuit/perfsize
710d6a5ae0918002e736f3aba8cd5cacb2b11326
[ "Apache-2.0" ]
1
2022-02-24T08:05:51.000Z
2022-02-24T08:05:51.000Z
tests/result/test_gatling.py
LaudateCorpus1/perfsize
710d6a5ae0918002e736f3aba8cd5cacb2b11326
[ "Apache-2.0" ]
1
2022-02-24T08:05:41.000Z
2022-02-24T08:05:41.000Z
from datetime import datetime from decimal import Decimal from perfsize.perfsize import ( lt, lte, gt, gte, eq, neq, Condition, Result, Run, Config, Plan, StepManager, EnvironmentManager, LoadManager, ResultManager, Reporter, Workflow, ) from perfsize....
33.09589
77
0.591474
250
2,416
5.616
0.464
0.059829
0.029915
0.02849
0.076923
0.076923
0.039886
0
0
0
0
0.032895
0.307947
2,416
72
78
33.555556
0.806818
0.101407
0
0.060606
0
0
0.168513
0.051708
0
0
0
0
0
1
0.015152
false
0
0.181818
0
0.212121
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c86bfc31df7a20be6ab83d39b12b217359bfd5df
3,904
py
Python
__main__.py
GbaCretin/dmf2mlm
8a0d3d219aecb9aa14a66537e2deb02651bdfe7d
[ "MIT" ]
2
2021-06-13T15:55:55.000Z
2021-09-14T08:21:53.000Z
__main__.py
GbaCretin/dmf2mlm
8a0d3d219aecb9aa14a66537e2deb02651bdfe7d
[ "MIT" ]
6
2022-03-22T10:02:35.000Z
2022-03-31T19:28:13.000Z
__main__.py
GbaCretin/dmf2mlm
8a0d3d219aecb9aa14a66537e2deb02651bdfe7d
[ "MIT" ]
null
null
null
from src import dmf,mzs,utils,sfx from pathlib import Path import argparse def print_info(mlm_sdata): if len(mlm_sdata.songs) <= 0: return for i in range(len(mlm_sdata.songs[0].channels)): channel = mlm_sdata.songs[0].channels[i] print("\n================[ {0:01X} ]================".format(i)) if channel == N...
30.984127
144
0.649846
592
3,904
4.109797
0.258446
0.036169
0.039457
0.023017
0.228524
0.166872
0.125771
0.102754
0.054254
0.026305
0
0.015858
0.160092
3,904
126
145
30.984127
0.726136
0.015625
0
0.15534
0
0
0.1848
0.021864
0
0
0
0
0
1
0.019417
false
0
0.029126
0
0.048544
0.281553
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c06f05eaa2d985c3d75a5edbcfcca422b525cddf
2,630
py
Python
python/zephyr/models/__init__.py
r-pad/zephyr
c8f45e207c11bfc2b21df169db65a7df892d2848
[ "MIT" ]
18
2021-05-27T04:40:38.000Z
2022-02-08T19:46:31.000Z
python/zephyr/models/__init__.py
r-pad/zephyr
c8f45e207c11bfc2b21df169db65a7df892d2848
[ "MIT" ]
null
null
null
python/zephyr/models/__init__.py
r-pad/zephyr
c8f45e207c11bfc2b21df169db65a7df892d2848
[ "MIT" ]
2
2021-11-07T12:42:00.000Z
2022-03-01T12:51:54.000Z
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import time from functools import partial from .linear import MLP, LogReg from .pointnet import PointNet from .pointnet2 import PointNet2SSG from .pointnet3 import PointNet3SSG from .dgcnn import DGCNN # from .masked_co...
43.114754
107
0.646388
330
2,630
4.942424
0.20303
0.11588
0.103617
0.098099
0.674433
0.648069
0.621091
0.601471
0.601471
0.543838
0
0.010251
0.258175
2,630
60
108
43.833333
0.82573
0.087452
0
0.333333
0
0
0.039417
0
0
0
0
0
0
1
0.019608
false
0
0.254902
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c07358522633a4b5223edee437652e807e46cb27
1,054
py
Python
timer.py
ryanleesmith/race-timer
3a058e3689c9435751b06909d5b7a14db618d2da
[ "MIT" ]
null
null
null
timer.py
ryanleesmith/race-timer
3a058e3689c9435751b06909d5b7a14db618d2da
[ "MIT" ]
null
null
null
timer.py
ryanleesmith/race-timer
3a058e3689c9435751b06909d5b7a14db618d2da
[ "MIT" ]
null
null
null
from gps import * import math import time import json import threading gpsd = None poller = None class Poller(threading.Thread): def __init__(self): threading.Thread.__init__(self) global gpsd gpsd = gps(mode=WATCH_ENABLE|WATCH_NEWSTYLE) self.current_value = None self.run...
23.422222
80
0.555028
118
1,054
4.864407
0.483051
0.052265
0.04878
0
0
0
0
0
0
0
0
0.009957
0.333017
1,054
44
81
23.954545
0.806543
0.051233
0
0.058824
0
0
0.047141
0
0
0
0
0
0
1
0.088235
false
0
0.147059
0
0.264706
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c078ff18aa77981230542dee77a093f9d2cdb667
13,841
py
Python
layer_manager/models.py
lueho/BRIT
1eae630c4da6f072aa4e2139bc406db4f4756391
[ "MIT" ]
null
null
null
layer_manager/models.py
lueho/BRIT
1eae630c4da6f072aa4e2139bc406db4f4756391
[ "MIT" ]
4
2022-03-29T20:52:31.000Z
2022-03-29T20:52:31.000Z
layer_manager/models.py
lueho/BRIT
1eae630c4da6f072aa4e2139bc406db4f4756391
[ "MIT" ]
null
null
null
import django.contrib.gis.db.models as gis_models from django.apps import apps from django.db import models, connection from django.urls import reverse from distributions.models import TemporalDistribution, Timestep from inventories.models import Scenario, InventoryAlgorithm from materials.models import SampleSeries, ...
40.589443
134
0.627556
1,502
13,841
5.613848
0.198402
0.044355
0.016603
0.024905
0.206001
0.158563
0.11741
0.093216
0.060721
0.048387
0
0.003841
0.285312
13,841
340
135
40.708824
0.848565
0.147027
0
0.109649
0
0
0.072821
0.01277
0
0
0
0.008824
0
1
0.078947
false
0.004386
0.035088
0.017544
0.328947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c07ca44e33380193eabc6f8bec1ebe24f8d013c9
8,212
py
Python
bin/CAD/Abaqus/AbaqusGeometry.py
lefevre-fraser/openmeta-mms
08f3115e76498df1f8d70641d71f5c52cab4ce5f
[ "MIT" ]
null
null
null
bin/CAD/Abaqus/AbaqusGeometry.py
lefevre-fraser/openmeta-mms
08f3115e76498df1f8d70641d71f5c52cab4ce5f
[ "MIT" ]
null
null
null
bin/CAD/Abaqus/AbaqusGeometry.py
lefevre-fraser/openmeta-mms
08f3115e76498df1f8d70641d71f5c52cab4ce5f
[ "MIT" ]
null
null
null
""" AbaqusGeometry.py For use with Abaqus 6.13-1 (Python 2.6.2). Created by Ozgur Yapar <oyapar@isis.vanderbilt.edu> Robert Boyles <rboyles@isis.vanderbilt.edu> - Includes modules which take care of geometrical operations in the part and assembly level. """ import re import mat...
53.673203
121
0.565392
853
8,212
5.443142
0.33177
0.010554
0.008615
0.012923
0.183502
0.155503
0.146888
0.12255
0.12255
0.12255
0
0.011276
0.352046
8,212
153
122
53.673203
0.861304
0.353385
0
0.12381
0
0
0.006761
0
0
0
0
0
0
1
0.085714
false
0.009524
0.057143
0
0.247619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c07dacc643d713f89a754dcc9e2a89ae590b2576
2,143
py
Python
analysis/11-compress-jacobians.py
lmjohns3/cube-experiment
ab6d1a9df95efebc369d184ab1c748d73d5c3313
[ "MIT" ]
null
null
null
analysis/11-compress-jacobians.py
lmjohns3/cube-experiment
ab6d1a9df95efebc369d184ab1c748d73d5c3313
[ "MIT" ]
null
null
null
analysis/11-compress-jacobians.py
lmjohns3/cube-experiment
ab6d1a9df95efebc369d184ab1c748d73d5c3313
[ "MIT" ]
null
null
null
import climate import glob import gzip import io import lmj.cubes import logging import numpy as np import os import pandas as pd import pickle import theanets def compress(source, k, activation, **kwargs): fns = sorted(glob.glob(os.path.join(source, '*', '*_jac.csv.gz'))) logging.info('%s: found %d jacobians...
30.614286
76
0.591227
314
2,143
3.961783
0.423567
0.026527
0.016077
0.025723
0.033762
0
0
0
0
0
0
0.022797
0.24265
2,143
69
77
31.057971
0.743685
0.027532
0
0
0
0
0.147454
0
0
0
0
0
0
1
0.055556
false
0
0.203704
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c07f103a6a6e92a6245209f932b8d90c064fd018
21,369
py
Python
commerce/views.py
zlkca/ehetuan-api
da84cd4429bd33e8fe191327ec267bf105f41453
[ "MIT" ]
1
2020-05-27T18:17:01.000Z
2020-05-27T18:17:01.000Z
commerce/views.py
zlkca/ehetuan-api
da84cd4429bd33e8fe191327ec267bf105f41453
[ "MIT" ]
6
2020-06-05T18:14:56.000Z
2021-09-07T23:53:08.000Z
commerce/views.py
zlkca/ehetuan-api
da84cd4429bd33e8fe191327ec267bf105f41453
[ "MIT" ]
null
null
null
import json import os import logging from datetime import datetime from django.db.models import Q,Count from django.http import JsonResponse from django.views.generic import View from django.views.decorators.csrf import csrf_exempt from django.utils.decorators import method_decorator from django.conf import settings fr...
36.15736
126
0.530675
2,240
21,369
4.959375
0.1125
0.05509
0.049509
0.024485
0.494734
0.434423
0.394815
0.299037
0.273382
0.231794
0
0.003437
0.346436
21,369
590
127
36.218644
0.791995
0.094904
0
0.411392
0
0
0.077881
0.00109
0
0
0
0
0
1
0.061181
false
0.004219
0.033755
0
0.202532
0.008439
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c07fe33cae576add35e02a5f464a4a05467459e8
5,666
py
Python
api/views.py
huatxu/erasmusbackend
d8f86ee857a292a133106e75e9c920b905b5b10d
[ "MIT" ]
null
null
null
api/views.py
huatxu/erasmusbackend
d8f86ee857a292a133106e75e9c920b905b5b10d
[ "MIT" ]
null
null
null
api/views.py
huatxu/erasmusbackend
d8f86ee857a292a133106e75e9c920b905b5b10d
[ "MIT" ]
null
null
null
from django.shortcuts import render from api.models import Comida, Cerveza, Titulo, TipoComida from django.http import Http404 from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import serializers import csv import os class CervezaSerializer(serializers.ModelSer...
39.901408
300
0.55683
563
5,666
5.474245
0.246892
0.057106
0.074951
0.029202
0.249838
0.170019
0.170019
0.153147
0.112914
0.112914
0
0.006157
0.312037
5,666
142
301
39.901408
0.784248
0.015355
0
0.290598
0
0
0.16958
0.022346
0
0
0
0
0
1
0.051282
false
0.017094
0.08547
0.008547
0.282051
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c08a254cca4494b2d1aa73495456b23d2cb83ea5
390
py
Python
1_Ejemplo_practico_ECG/utils.py
IEEE-UPIBI/Comunicacion-Serial-Python-Arduino
806916a5d47e8d29933e1402296e2ca6d5d5a79e
[ "MIT" ]
null
null
null
1_Ejemplo_practico_ECG/utils.py
IEEE-UPIBI/Comunicacion-Serial-Python-Arduino
806916a5d47e8d29933e1402296e2ca6d5d5a79e
[ "MIT" ]
1
2021-04-23T23:20:42.000Z
2021-04-23T23:20:42.000Z
2_Ejemplo_practico_SensorMPU6050/utils.py
IEEE-UPIBI/Comunicacion-Serial-Python-Arduino
806916a5d47e8d29933e1402296e2ca6d5d5a79e
[ "MIT" ]
null
null
null
import serial import time ### FUNCTIONS #### #### SERIAL COMMUNICATION #### def arduino_communication(COM="COM5",BAUDRATE=9600,TIMEOUT=1): """ Initalizes connection with Arduino Board """ try: arduino = serial.Serial(COM, BAUDRATE , timeout=TIMEOUT) time.sleep(2) except: ...
16.956522
64
0.628205
42
390
5.809524
0.690476
0
0
0
0
0
0
0
0
0
0
0.023973
0.251282
390
22
65
17.727273
0.811644
0.189744
0
0
0
0
0.123711
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.444444
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c08b025b2f074208a6371fa035f6cf38f392405a
3,595
py
Python
trav_lib/visualize.py
thwhitfield/trav_lib
46185f5545d958eba1538c769a98d07908dd0d19
[ "MIT" ]
null
null
null
trav_lib/visualize.py
thwhitfield/trav_lib
46185f5545d958eba1538c769a98d07908dd0d19
[ "MIT" ]
null
null
null
trav_lib/visualize.py
thwhitfield/trav_lib
46185f5545d958eba1538c769a98d07908dd0d19
[ "MIT" ]
null
null
null
"""Classes and functions used for data visualization""" import pandas as pd import numpy as np import seaborn as sns import matplotlib.pyplot as plt def plot_correlation_matrix_heat_map(df,label,qty_fields=10): df = pd.concat([df[label],df.drop(label,axis=1)],axis=1) correlation_matrix = df.corr() index =...
35.594059
97
0.662309
574
3,595
4.026132
0.364112
0.019039
0.011683
0.02077
0.098659
0.043271
0.043271
0.043271
0
0
0
0.026899
0.234771
3,595
101
98
35.594059
0.813159
0.41363
0
0
0
0
0.050324
0
0
0
0
0.009901
0
1
0.041667
false
0
0.083333
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c08cb3b6fdb628373adc1c5e8da4f386b0294fba
1,828
py
Python
test/test_configeditor.py
ta-assistant/Admin-CLI
1c03ede0e09d8ddc270646937aa7af463c55f1f5
[ "MIT" ]
1
2021-07-22T15:43:02.000Z
2021-07-22T15:43:02.000Z
test/test_configeditor.py
ta-assistant/Admin-CLI
1c03ede0e09d8ddc270646937aa7af463c55f1f5
[ "MIT" ]
28
2021-05-15T08:18:21.000Z
2021-08-02T06:12:30.000Z
test/test_configeditor.py
ta-assistant/TA-CLI
1c03ede0e09d8ddc270646937aa7af463c55f1f5
[ "MIT" ]
null
null
null
import unittest import os, sys, inspect, json currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) parentdir = os.path.dirname(currentdir) sys.path.insert(0, parentdir) from lib.file_management.configeditor import ConfigEditor from lib.file_management.file_management_lib import DirMana...
25.041096
86
0.561816
180
1,828
5.6
0.405556
0.035714
0.029762
0.053571
0.151786
0.110119
0.110119
0
0
0
0
0.014786
0.297046
1,828
73
87
25.041096
0.76965
0.031729
0
0
0
0
0.091239
0
0
0
0
0
0.085106
1
0.12766
false
0
0.085106
0
0.276596
0.021277
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c08e8f408c1440f68bb49f4c21e145acaad7cc8e
3,466
py
Python
TwitterCode/crawler.py
aghriss/CS5502_project
68403f38ef26067360cb22404cdabe0d0543097a
[ "MIT" ]
null
null
null
TwitterCode/crawler.py
aghriss/CS5502_project
68403f38ef26067360cb22404cdabe0d0543097a
[ "MIT" ]
null
null
null
TwitterCode/crawler.py
aghriss/CS5502_project
68403f38ef26067360cb22404cdabe0d0543097a
[ "MIT" ]
null
null
null
''' Twitter Crawler to get tweets and user data ''' import tweepy import json import os import time def get_counts_quantile(tweets): counts = [] for t in tweets: counts.append() def save_tweet(result): """Function to save tweepy result status""" pass def save_user(result_set): """Functi...
32.698113
103
0.611656
430
3,466
4.727907
0.269767
0.027546
0.017708
0.019675
0.225283
0.212494
0.212494
0.212494
0.157403
0.062961
0
0.010313
0.272649
3,466
105
104
33.009524
0.796113
0.057992
0
0.164384
0
0
0.08567
0.007088
0
0
0
0
0.027397
1
0.178082
false
0.027397
0.054795
0
0.328767
0.041096
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c08e9da0f8073946d9eb1f38656fc0912b347134
2,206
py
Python
instruments/swap.py
neoyung/IrLib
942793c49a477c9f5747410be74daf868391f289
[ "MIT" ]
1
2021-10-04T03:15:50.000Z
2021-10-04T03:15:50.000Z
instruments/swap.py
neoyung/IrLib
942793c49a477c9f5747410be74daf868391f289
[ "MIT" ]
null
null
null
instruments/swap.py
neoyung/IrLib
942793c49a477c9f5747410be74daf868391f289
[ "MIT" ]
null
null
null
from irLib.instruments.instrument import instrument from irLib.helpers.schedule import period from irLib.instruments.legs import fixLeg, floatLeg class swap(instrument): def __init__(self, tradeDate, spotLag=period(0, 'day'), position='long', *legs): super().__init__(tradeDate, spotLag, position) ...
41.622642
145
0.655938
234
2,206
6.115385
0.273504
0.055905
0.016771
0.025157
0.033543
0
0
0
0
0
0
0.002998
0.24388
2,206
52
146
42.423077
0.854916
0
0
0.047619
0
0
0.046238
0
0
0
0
0
0.047619
1
0.119048
false
0
0.071429
0.02381
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
c08f4ab3e25ce0f369e7d00947095aeb1fb9b437
21,083
py
Python
skhubness/neighbors/lsh.py
VarIr/scikit-hubness
6eaeedda2c4b52bb7bf2553b3c5b04a076287ae3
[ "BSD-3-Clause" ]
33
2019-08-05T12:29:19.000Z
2022-03-08T18:48:28.000Z
skhubness/neighbors/lsh.py
AndreasPhilippi/scikit-hubness
6eaeedda2c4b52bb7bf2553b3c5b04a076287ae3
[ "BSD-3-Clause" ]
84
2019-07-12T09:05:42.000Z
2022-03-31T08:50:15.000Z
skhubness/neighbors/lsh.py
AndreasPhilippi/scikit-hubness
6eaeedda2c4b52bb7bf2553b3c5b04a076287ae3
[ "BSD-3-Clause" ]
9
2019-09-26T11:03:04.000Z
2021-07-01T08:43:11.000Z
# -*- coding: utf-8 -*- # SPDX-License-Identifier: BSD-3-Clause # PEP 563: Postponed Evaluation of Annotations from __future__ import annotations from functools import partial import multiprocessing as mp from typing import Tuple, Union import warnings import numpy as np from sklearn.base import BaseEstimator from s...
39.481273
120
0.54774
2,343
21,083
4.784464
0.160905
0.035326
0.025691
0.013113
0.572792
0.532649
0.525335
0.506601
0.476717
0.451115
0
0.006763
0.368828
21,083
533
121
39.555347
0.83565
0.258834
0
0.449511
0
0
0.077839
0
0
0
0
0
0
1
0.026059
false
0
0.061889
0
0.13355
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c09039628dfca0497559485ef917b2eee5612ab1
11,859
py
Python
virtualreality/calibration/manual_color_mask_calibration.py
sahasam/hobo_vr
0cf5824c91719055156ec23cf8dda2d921be948a
[ "MIT" ]
null
null
null
virtualreality/calibration/manual_color_mask_calibration.py
sahasam/hobo_vr
0cf5824c91719055156ec23cf8dda2d921be948a
[ "MIT" ]
null
null
null
virtualreality/calibration/manual_color_mask_calibration.py
sahasam/hobo_vr
0cf5824c91719055156ec23cf8dda2d921be948a
[ "MIT" ]
null
null
null
""" pyvr calibrate. Usage: pyvr calibrate [options] Options: -h, --help -c, --camera <camera> Source of the camera to use for calibration [default: 0] -r, --resolution <res> Input resolution in width and height [default: -1x-1] -n, --n_masks <n_masks> Number of masks to calibrate [de...
35.827795
114
0.646935
1,559
11,859
4.667094
0.146889
0.039307
0.054426
0.063222
0.434717
0.400082
0.343595
0.316795
0.296042
0.258384
0
0.017665
0.245805
11,859
330
115
35.936364
0.795841
0.093094
0
0.179916
0
0
0.121814
0.004029
0
0
0.000375
0
0
1
0.050209
false
0
0.037657
0
0.117155
0.033473
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c09416ca42570e30634d8a60a3175bf1c430d092
1,894
py
Python
database.py
tzoch/dropbox-bot
2bf36e2d4146bf8c00169362f9767ed059643787
[ "MIT" ]
3
2016-03-08T04:43:22.000Z
2020-08-25T20:07:28.000Z
database.py
tzoch/dropbox-bot
2bf36e2d4146bf8c00169362f9767ed059643787
[ "MIT" ]
null
null
null
database.py
tzoch/dropbox-bot
2bf36e2d4146bf8c00169362f9767ed059643787
[ "MIT" ]
null
null
null
#! /usr/bin/python ''' Class to handle database connections and queries for Dropbox Mirror Bot ''' import sqlite3 class Database(object): def __init__(self, database=":memory:"): self._database = database c = self.cursor() query = '''CREATE TABLE IF NOT EXISTS dropbox_submissions ( ...
30.063492
70
0.577614
208
1,894
5.100962
0.346154
0.090481
0.061263
0.06032
0.265787
0.177191
0.126296
0
0
0
0
0.006168
0.315206
1,894
62
71
30.548387
0.811874
0.077614
0
0.266667
0
0
0.347174
0
0
0
0
0
0
1
0.155556
false
0
0.022222
0.022222
0.288889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c095ea2cd17b98f861280b8dd90e12ab34027235
513
py
Python
solutions/unitReview/gcd.py
mrparkonline/python3_while
3b24be84d16230e2b923276dca4c943f4c5ad26d
[ "MIT" ]
null
null
null
solutions/unitReview/gcd.py
mrparkonline/python3_while
3b24be84d16230e2b923276dca4c943f4c5ad26d
[ "MIT" ]
null
null
null
solutions/unitReview/gcd.py
mrparkonline/python3_while
3b24be84d16230e2b923276dca4c943f4c5ad26d
[ "MIT" ]
null
null
null
# GCD Program from math import gcd # input num1 = int(input('Enter a number: ')) num2 = int(input('Enter another number: ')) # processing & output divisor = 1 upper_limit = min(num1, num2) gcd_answer = 0 #print(num1, 'and', num2, 'share these factors:') print('GCD of', num1, 'and', num2, 'is:') while divisor <= up...
22.304348
51
0.651072
76
513
4.328947
0.447368
0.082067
0.079027
0
0
0
0
0
0
0
0
0.041565
0.202729
513
23
52
22.304348
0.762836
0.20078
0
0
0
0
0.162963
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
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
c09740c69f29292cd8143f6167d141bb98d730a6
728
py
Python
notification/views.py
ChristopherOloo/KilimoQAPortal
c905a42282bbce70b5477862185ad332185307ce
[ "MIT" ]
67
2022-01-05T18:59:23.000Z
2022-03-18T13:13:39.000Z
notification/views.py
ChristopherOloo/KilimoQAPortal
c905a42282bbce70b5477862185ad332185307ce
[ "MIT" ]
3
2022-01-10T10:03:23.000Z
2022-03-11T16:58:38.000Z
notification/views.py
ChristopherOloo/KilimoQAPortal
c905a42282bbce70b5477862185ad332185307ce
[ "MIT" ]
4
2022-01-08T17:39:19.000Z
2022-02-28T07:40:16.000Z
from django.shortcuts import render from .models import PrivRepNotification,Notification from django.http import JsonResponse, HttpResponseRedirect, HttpResponse def read_All_Notifications(request): notifics = Notification.objects.filter(noti_receiver=request.user).order_by('-date_created') for objs in noti...
26.962963
96
0.747253
80
728
6.6625
0.5125
0.037523
0.037523
0
0
0
0
0
0
0
0
0.004918
0.162088
728
26
97
28
0.868852
0.042582
0
0
0
0
0.086455
0.037464
0
0
0
0
0
1
0.133333
false
0
0.2
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c09b58cc8746669f100104bd829d92eb5454df67
1,548
py
Python
fb2_get_list.py
kawaiigamer/python-tools
68fd75299657811fef36339732c80539ccad386e
[ "Unlicense" ]
null
null
null
fb2_get_list.py
kawaiigamer/python-tools
68fd75299657811fef36339732c80539ccad386e
[ "Unlicense" ]
null
null
null
fb2_get_list.py
kawaiigamer/python-tools
68fd75299657811fef36339732c80539ccad386e
[ "Unlicense" ]
null
null
null
import os import glob import codecs from typing import List def dirs(root_dit: str) -> List[str]: return next(os.walk(root_dit))[1] def select_directory_from_list(directories: List[str]) -> str: for i in range(0, len(directories)): print("(%d) %s" % (i, directories[i])) while True: try:...
29.207547
75
0.554264
194
1,548
4.221649
0.371134
0.067155
0.07326
0.056166
0.056166
0
0
0
0
0
0
0.013699
0.292636
1,548
52
76
29.769231
0.734247
0
0
0.097561
0
0
0.142119
0
0
0
0
0
0
1
0.097561
false
0
0.097561
0.02439
0.292683
0.146341
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c09c7f0c8e41ed1996a2664259286c39cad5f12c
2,403
py
Python
simplecaptcha/fields.py
Kromey/django-simplecaptcha
ad462f8742be19b1e87103f097853d41e21d0e0a
[ "MIT" ]
5
2015-11-12T06:31:08.000Z
2017-03-09T06:45:46.000Z
simplecaptcha/fields.py
Kromey/django-simplecaptcha
ad462f8742be19b1e87103f097853d41e21d0e0a
[ "MIT" ]
null
null
null
simplecaptcha/fields.py
Kromey/django-simplecaptcha
ad462f8742be19b1e87103f097853d41e21d0e0a
[ "MIT" ]
null
null
null
import time from django import forms from django.core.exceptions import ValidationError from .widgets import CaptchaWidget from .settings import DURATION class CaptchaField(forms.MultiValueField): """A field that contains and validates a simple catcha question WARNING: If you use this field directly in y...
35.338235
90
0.650853
305
2,403
5.072131
0.465574
0.036199
0.024564
0.036199
0
0
0
0
0
0
0
0.002904
0.283396
2,403
67
91
35.865672
0.89547
0.458593
0
0.096774
0
0
0.052588
0
0
0
0
0
0
1
0.129032
false
0.032258
0.16129
0
0.451613
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c09e72d5be2ef0cef0c360e31efc8610a74ed555
4,940
py
Python
skills_taxonomy_v2/analysis/sentence_classifier/notebooks/Skills Classifier 1.0 - Doccano Baseline Classifier.py
india-kerle/skills-taxonomy-v2
a71366dfea3c35580dbafddba9470f83795805ae
[ "MIT" ]
3
2021-11-21T17:21:12.000Z
2021-12-10T21:19:57.000Z
skills_taxonomy_v2/analysis/sentence_classifier/notebooks/Skills Classifier 1.0 - Doccano Baseline Classifier.py
india-kerle/skills-taxonomy-v2
a71366dfea3c35580dbafddba9470f83795805ae
[ "MIT" ]
16
2021-10-06T11:20:35.000Z
2022-02-02T11:44:28.000Z
skills_taxonomy_v2/analysis/sentence_classifier/notebooks/Skills Classifier 1.0 - Doccano Baseline Classifier.py
india-kerle/skills-taxonomy-v2
a71366dfea3c35580dbafddba9470f83795805ae
[ "MIT" ]
1
2021-10-04T12:27:20.000Z
2021-10-04T12:27:20.000Z
# --- # jupyter: # jupytext: # cell_metadata_filter: -all # comment_magics: true # formats: ipynb,py:light # text_representation: # extension: .py # format_name: light # format_version: '1.5' # jupytext_version: 1.11.3 # kernelspec: # display_name: Python 3 (ipykernel) # ...
26.417112
130
0.696964
716
4,940
4.554469
0.27933
0.022999
0.030359
0.025759
0.291015
0.275682
0.258203
0.232444
0.232444
0.232444
0
0.012435
0.186032
4,940
186
131
26.55914
0.798558
0.204251
0
0.205607
0
0
0.087697
0.045138
0
0
0
0
0
1
0.009346
false
0
0.065421
0
0.084112
0.121495
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0a3c20650d9f2b0b50513762c0375912b29d194
2,594
py
Python
tests/test_action_guest_process_start.py
lingfish/stackstorm-vsphere
49199f5ebdc05b70b7504962e104642b0c30ba30
[ "Apache-2.0" ]
null
null
null
tests/test_action_guest_process_start.py
lingfish/stackstorm-vsphere
49199f5ebdc05b70b7504962e104642b0c30ba30
[ "Apache-2.0" ]
2
2019-03-25T18:03:02.000Z
2019-03-26T13:13:59.000Z
tests/test_action_guest_process_start.py
lingfish/stackstorm-vsphere
49199f5ebdc05b70b7504962e104642b0c30ba30
[ "Apache-2.0" ]
1
2021-03-05T10:12:21.000Z
2021-03-05T10:12:21.000Z
# Licensed to the StackStorm, Inc ('StackStorm') 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 Apache License, Version 2.0 # (the "License"); you may not use th...
43.233333
74
0.658443
286
2,594
5.842657
0.524476
0.029922
0.032316
0.01915
0
0
0
0
0
0
0
0.013677
0.267155
2,594
59
75
43.966102
0.865334
0.338088
0
0
0
0
0.075882
0.036471
0
0
0
0
0.085714
1
0.028571
false
0.028571
0.085714
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0a3f676d422bbdd29b5d1ae6fd198e164330819
4,192
py
Python
src/soda/mutator.py
UCLA-VAST/soda
1b3994ded643d82ebc2fce7b1eb1d13c70800897
[ "MIT" ]
9
2020-05-09T19:52:46.000Z
2021-09-15T13:45:27.000Z
src/soda/mutator.py
UCLA-VAST/soda
1b3994ded643d82ebc2fce7b1eb1d13c70800897
[ "MIT" ]
1
2021-07-26T08:51:49.000Z
2021-07-26T08:51:49.000Z
src/soda/mutator.py
UCLA-VAST/soda
1b3994ded643d82ebc2fce7b1eb1d13c70800897
[ "MIT" ]
1
2020-10-28T03:06:44.000Z
2020-10-28T03:06:44.000Z
from typing import ( Iterable, Mapping, MutableMapping, Optional, Tuple, TypeVar, Union, ) import collections import logging import operator import types from haoda import ir from soda import tensor import soda.visitor _logger = logging.getLogger().getChild(__name__) def shift(obj, offs...
32.246154
80
0.669132
610
4,192
4.554098
0.247541
0.028078
0.017279
0.014399
0.197264
0.159827
0.140389
0.095032
0.095032
0.042117
0
0.000311
0.232586
4,192
129
81
32.496124
0.863227
0.340649
0
0.136986
0
0
0.079821
0
0
0
0
0
0
1
0.068493
false
0
0.109589
0
0.287671
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0a71acf6116e8faa1f0455b3919ee53b2e3be9c
2,923
py
Python
htdocs/plotting/auto/scripts/p66.py
jamayfieldjr/iem
275b77a65f3b12e26e6cbdb230786b9c7d2b9c9a
[ "MIT" ]
1
2019-10-07T17:01:24.000Z
2019-10-07T17:01:24.000Z
htdocs/plotting/auto/scripts/p66.py
jamayfieldjr/iem
275b77a65f3b12e26e6cbdb230786b9c7d2b9c9a
[ "MIT" ]
null
null
null
htdocs/plotting/auto/scripts/p66.py
jamayfieldjr/iem
275b77a65f3b12e26e6cbdb230786b9c7d2b9c9a
[ "MIT" ]
null
null
null
"""Consec days""" import calendar from pandas.io.sql import read_sql from pyiem.plot.use_agg import plt from pyiem.util import get_autoplot_context, get_dbconn PDICT = {'above': 'Temperature At or Above (AOA) Threshold', 'below': 'Temperature Below Threshold'} PDICT2 = {'high': 'High Temperature', ...
34.388235
75
0.584673
384
2,923
4.372396
0.445313
0.020846
0.021441
0.028588
0
0
0
0
0
0
0
0.034372
0.253507
2,923
84
76
34.797619
0.735105
0.02258
0
0
0
0
0.352589
0
0
0
0
0
0
1
0.029851
false
0
0.059701
0
0.119403
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0a93dc0b3c06bf5e6cdc0aa43def476e965448d
866
py
Python
csv_test.py
mii012345/deep-learning
660785157446583eefeefa9d5dc25927aab6a9e4
[ "MIT" ]
3
2017-06-04T06:59:38.000Z
2017-06-05T14:01:48.000Z
csv_test.py
mii012345/deep-learning
660785157446583eefeefa9d5dc25927aab6a9e4
[ "MIT" ]
null
null
null
csv_test.py
mii012345/deep-learning
660785157446583eefeefa9d5dc25927aab6a9e4
[ "MIT" ]
null
null
null
import csv import numpy as np import pickle with open('data (2).csv','r') as f: csv = csv.reader(f) csvlist = [] for i in csv: csvlist.append(i) #6行目から mas = [] for i in range(364): i+=6 a = 0 b = 0 c = 0 date = csvlist[i][0] weather = csvlist[i][1] ...
24.055556
207
0.489607
153
866
2.764706
0.333333
0.094563
0.099291
0.07565
0.234043
0.20331
0
0
0
0
0
0.150338
0.316397
866
35
208
24.742857
0.564189
0.005774
0
0
0
0
0.121212
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0abaf869bbe93d0c4be20bb53db1ca7697f6d3d
1,971
py
Python
ntm/ntm.py
clemkoa/ntm
723d4ebea63f8f9439fd1c56f36e3cb680c8a277
[ "MIT" ]
41
2020-05-19T05:48:04.000Z
2021-11-24T11:31:08.000Z
ntm/ntm.py
clemkoa/ntm
723d4ebea63f8f9439fd1c56f36e3cb680c8a277
[ "MIT" ]
3
2021-06-07T09:00:59.000Z
2021-12-30T17:21:07.000Z
ntm/ntm.py
clemkoa/ntm
723d4ebea63f8f9439fd1c56f36e3cb680c8a277
[ "MIT" ]
4
2020-12-31T17:39:42.000Z
2021-12-29T14:11:43.000Z
import torch from torch import nn import torch.nn.functional as F from ntm.controller import Controller from ntm.memory import Memory from ntm.head import ReadHead, WriteHead class NTM(nn.Module): def __init__(self, vector_length, hidden_size, memory_size, lstm_controller=True): super(NTM, self).__init__(...
50.538462
118
0.742263
274
1,971
4.970803
0.193431
0.070485
0.057269
0.044053
0.246696
0.193833
0.061674
0.061674
0
0
0
0.006127
0.171994
1,971
38
119
51.868421
0.828431
0.005074
0
0
0
0
0
0
0
0
0
0
0
1
0.09375
false
0
0.1875
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
c0af4a37c3b086f10b2224f1101fb1be4a7fdce1
3,468
py
Python
facebook_business/adobjects/adkeywordstats.py
enricapq/facebook-python-business-sdk
49c569ac5cf812b1bcb533520c35896b0436fa4c
[ "CNRI-Python" ]
null
null
null
facebook_business/adobjects/adkeywordstats.py
enricapq/facebook-python-business-sdk
49c569ac5cf812b1bcb533520c35896b0436fa4c
[ "CNRI-Python" ]
null
null
null
facebook_business/adobjects/adkeywordstats.py
enricapq/facebook-python-business-sdk
49c569ac5cf812b1bcb533520c35896b0436fa4c
[ "CNRI-Python" ]
1
2018-09-24T14:04:48.000Z
2018-09-24T14:04:48.000Z
# Copyright 2014 Facebook, Inc. # You are hereby granted a non-exclusive, worldwide, royalty-free license to # use, copy, modify, and distribute this software in source code or binary # form for use in connection with the web services and APIs provided by # Facebook. # As with any software that integrates with the Fa...
35.387755
79
0.684544
421
3,468
5.47981
0.410926
0.033377
0.043346
0.037711
0.038145
0.018639
0
0
0
0
0
0.001495
0.228662
3,468
97
80
35.752577
0.860935
0.30421
0
0.032787
0
0
0.264855
0.038692
0
0
0
0
0
1
0.04918
false
0
0.081967
0.016393
0.213115
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0b3ae1a797739b59abdda1942df55aaa68ec172
1,198
py
Python
DQM/TrackingMonitorSource/python/StandaloneTrackMonitor_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DQM/TrackingMonitorSource/python/StandaloneTrackMonitor_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DQM/TrackingMonitorSource/python/StandaloneTrackMonitor_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer standaloneTrackMonitor = DQMEDAnalyzer('StandaloneTrackMonitor', moduleName = cms.untracked.string("StandaloneTrackMonitor"), folderName = cms.untracked.string("highPurityTracks"), vertexTag ...
59.9
104
0.687813
116
1,198
7.094828
0.439655
0.18955
0.121507
0.076549
0.048603
0
0
0
0
0
0
0.025694
0.187813
1,198
19
105
63.052632
0.820144
0
0
0
0
0
0.15192
0.082638
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0b773458653a85f2fb1e0a33ea41844604c6b4f
3,006
py
Python
xdl-algorithm-solution/DIN_WITH_MOGUJIE_DATA/script/train.py
xiaobaoding/x-deeplearning
1280043aba15ff57ac5e973bcce2489c698380d2
[ "Apache-2.0" ]
null
null
null
xdl-algorithm-solution/DIN_WITH_MOGUJIE_DATA/script/train.py
xiaobaoding/x-deeplearning
1280043aba15ff57ac5e973bcce2489c698380d2
[ "Apache-2.0" ]
null
null
null
xdl-algorithm-solution/DIN_WITH_MOGUJIE_DATA/script/train.py
xiaobaoding/x-deeplearning
1280043aba15ff57ac5e973bcce2489c698380d2
[ "Apache-2.0" ]
null
null
null
#coding=utf-8 # Copyright (C) 2016-2018 Alibaba Group Holding Limited # # 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...
30.06
112
0.663007
407
3,006
4.739558
0.434889
0.031104
0.044064
0.016589
0
0
0
0
0
0
0
0.010284
0.191284
3,006
99
113
30.363636
0.783217
0.240186
0
0.034483
0
0.017241
0.183985
0
0
0
0
0
0
1
0.051724
false
0.017241
0.206897
0.017241
0.275862
0.017241
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0bb7b8a74c23f921be8c3f93658d3fa62727ccc
5,214
py
Python
input_fn.py
ilyakhov/pytorch-word2vec
bb9b0ed408a12e3652d2d897330292b7b93c7997
[ "MIT" ]
12
2019-05-22T13:08:42.000Z
2021-07-11T07:12:37.000Z
input_fn.py
ilyakhov/pytorch-word2vec
bb9b0ed408a12e3652d2d897330292b7b93c7997
[ "MIT" ]
null
null
null
input_fn.py
ilyakhov/pytorch-word2vec
bb9b0ed408a12e3652d2d897330292b7b93c7997
[ "MIT" ]
1
2021-02-20T09:04:19.000Z
2021-02-20T09:04:19.000Z
import numpy as np import torch from torch.utils.data import Dataset class CBOWDataSet(Dataset): def __init__(self, corpus, pipeline='hier_softmax', nodes_index=None, turns_index=None, vocab_size=None, neg_samples=None, ...
36.71831
77
0.575374
617
5,214
4.687196
0.176661
0.044952
0.038728
0.034578
0.414592
0.36065
0.301521
0.301521
0.277317
0.245505
0
0.006869
0.329881
5,214
141
78
36.978723
0.820263
0.186038
0
0.376344
0
0
0.072016
0
0
0
0
0
0.043011
1
0.053763
false
0
0.032258
0.010753
0.16129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0c0cf39ce27029feb9aa7a105da2d19af17d25d
1,563
py
Python
delivery/services/external_program_service.py
mariya/arteria-delivery
ec2fd79cfc6047a44dd251183b971535e9afd0dc
[ "MIT" ]
null
null
null
delivery/services/external_program_service.py
mariya/arteria-delivery
ec2fd79cfc6047a44dd251183b971535e9afd0dc
[ "MIT" ]
18
2016-11-10T14:32:54.000Z
2019-10-14T07:07:54.000Z
delivery/services/external_program_service.py
mariya/arteria-delivery
ec2fd79cfc6047a44dd251183b971535e9afd0dc
[ "MIT" ]
6
2016-10-18T12:16:46.000Z
2019-09-11T11:38:17.000Z
from tornado.process import Subprocess from tornado import gen from subprocess import PIPE from delivery.models.execution import ExecutionResult, Execution class ExternalProgramService(object): """ A service for running external programs """ @staticmethod def run(cmd): """ Run...
29.490566
82
0.621881
185
1,563
5.172973
0.345946
0.043887
0.040752
0.022989
0.194357
0.194357
0.121212
0.121212
0.121212
0.121212
0
0.001794
0.286628
1,563
52
83
30.057692
0.856502
0.294946
0
0.130435
0
0
0.010352
0
0
0
0
0
0
1
0.130435
false
0
0.173913
0
0.478261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0c491c66e363814a85776c34ddeffc5e419a0b3
9,667
py
Python
xraydb/materials.py
chemmatcars/XModFit
7d1298448d1908d78797fd67ce0a00ecfaf17629
[ "MIT" ]
null
null
null
xraydb/materials.py
chemmatcars/XModFit
7d1298448d1908d78797fd67ce0a00ecfaf17629
[ "MIT" ]
null
null
null
xraydb/materials.py
chemmatcars/XModFit
7d1298448d1908d78797fd67ce0a00ecfaf17629
[ "MIT" ]
null
null
null
import os import numpy as np from collections import namedtuple from .chemparser import chemparse from .xray import mu_elam, atomic_mass from .utils import get_homedir _materials = None Material = namedtuple('Material', ('formula', 'density', 'name', 'categories')) def get_user_materialsfile(): """return name fo...
31.90429
91
0.58529
1,149
9,667
4.835509
0.227154
0.017279
0.016199
0.023398
0.325414
0.284557
0.237041
0.210043
0.182145
0.166307
0
0.029648
0.316127
9,667
302
92
32.009934
0.81077
0.396607
0
0.404255
0
0
0.062338
0
0
0
0
0
0
1
0.06383
false
0.007092
0.042553
0
0.177305
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0c62d4eee91d75a65403ff152657c9c03089c57
1,069
py
Python
client.py
simondlevy/sockets
f49dd677b6508859f01c9c54101b38e802d6370e
[ "MIT" ]
null
null
null
client.py
simondlevy/sockets
f49dd677b6508859f01c9c54101b38e802d6370e
[ "MIT" ]
null
null
null
client.py
simondlevy/sockets
f49dd677b6508859f01c9c54101b38e802d6370e
[ "MIT" ]
1
2018-06-12T03:32:26.000Z
2018-06-12T03:32:26.000Z
#!/usr/bin/env python3 ''' Server script for simple client/server example Copyright (C) Simon D. Levy 2021 MIT License ''' from threading import Thread from time import sleep import socket from struct import unpack from header import ADDR, PORT def comms(data): ''' Communications thread ''' # Conn...
18.431034
65
0.613658
148
1,069
4.418919
0.574324
0.013761
0.012232
0.018349
0
0
0
0
0
0
0
0.03251
0.280636
1,069
57
66
18.754386
0.817945
0.335828
0
0.086957
0
0
0.036765
0
0
0
0
0
0
1
0.086957
false
0
0.217391
0
0.304348
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0c6c96cefa40fab2593e89ee811e26649ffff4f
15,126
py
Python
old/compute_T.py
azhan137/cylinder_t_matrix
73a496c07dbbb02896b2baf727d452765da9aac3
[ "MIT" ]
1
2022-03-18T11:52:36.000Z
2022-03-18T11:52:36.000Z
old/compute_T.py
AmosEgel/cylinder_t_matrix
78f6607993af5babdda384969c45cf3ac6461257
[ "MIT" ]
null
null
null
old/compute_T.py
AmosEgel/cylinder_t_matrix
78f6607993af5babdda384969c45cf3ac6461257
[ "MIT" ]
1
2020-12-07T13:11:00.000Z
2020-12-07T13:11:00.000Z
import numpy as np from numpy.polynomial import legendre from smuthi import spherical_functions as sf import bessel_functions as bf ##Codebase for computing the T-matrix and its derivative with respect to height and radius for a cylindrical scatterer # with circular cross-section in spherical coordinates. # # inputs: ...
52.703833
248
0.628719
2,550
15,126
3.514902
0.132157
0.053107
0.040165
0.005355
0.425639
0.373201
0.314627
0.230838
0.19826
0.165904
0
0.046327
0.235092
15,126
286
249
52.888112
0.728349
0.221671
0
0.088235
0
0
0.007345
0
0
0
0
0
0
1
0.029412
false
0
0.029412
0.005882
0.105882
0.011765
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0c7d98ec94365b9cf9f0e166a19f7b2371bc3ed
982
py
Python
run_tests.py
aquarioos/dvik-print
b897936168dab51c9e0f9fd84993065428896be4
[ "MIT" ]
1
2018-09-19T22:27:32.000Z
2018-09-19T22:27:32.000Z
run_tests.py
aquarioos/dvik-print
b897936168dab51c9e0f9fd84993065428896be4
[ "MIT" ]
null
null
null
run_tests.py
aquarioos/dvik-print
b897936168dab51c9e0f9fd84993065428896be4
[ "MIT" ]
null
null
null
# -*- coding: utf8 -*- from __future__ import division, absolute_import, print_function import os import sys import datetime as dt import dvik_print as dvp if __name__ == '__main__': print(sys.version) O = { 'lista': ['el1', 'el2', 1, 2, 3, 4, None, False], 'zbiór': {1, 2, 1, 2, 'a', 'a', 'b...
26.540541
98
0.566191
124
982
4.290323
0.653226
0.011278
0.033835
0
0
0
0
0
0
0
0
0.065278
0.266802
982
36
99
27.277778
0.673611
0.165988
0
0
0
0
0.135468
0
0
0
0
0
0
1
0
false
0
0.217391
0
0.217391
0.130435
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0c85207554af0054a2d3560e6e8d9cb080608eb
6,200
py
Python
nwb_conversion_tools/datainterfaces/ecephys/basesortingextractorinterface.py
miketrumpis/nwb-conversion-tools
4d5c270b70eb4f1c09f98a6c04b51ccdf20336c1
[ "BSD-3-Clause" ]
null
null
null
nwb_conversion_tools/datainterfaces/ecephys/basesortingextractorinterface.py
miketrumpis/nwb-conversion-tools
4d5c270b70eb4f1c09f98a6c04b51ccdf20336c1
[ "BSD-3-Clause" ]
null
null
null
nwb_conversion_tools/datainterfaces/ecephys/basesortingextractorinterface.py
miketrumpis/nwb-conversion-tools
4d5c270b70eb4f1c09f98a6c04b51ccdf20336c1
[ "BSD-3-Clause" ]
null
null
null
"""Authors: Cody Baker and Ben Dichter.""" from abc import ABC from pathlib import Path import spikeextractors as se import numpy as np from pynwb import NWBFile, NWBHDF5IO from pynwb.ecephys import SpikeEventSeries from jsonschema import validate from ...basedatainterface import BaseDataInterface from ...utils.json_sc...
42.465753
119
0.647581
659
6,200
5.895296
0.306525
0.032432
0.02574
0.031918
0.114028
0.088031
0.038095
0.038095
0.038095
0.038095
0
0.001753
0.264032
6,200
145
120
42.758621
0.84966
0.30629
0
0.058824
0
0
0.088169
0.0211
0
0
0
0
0
1
0.047059
false
0
0.141176
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
c0c8cb69c19ab4dd40d043117a7822abefc679ef
1,711
py
Python
buildscripts/resmokelib/testing/testcases/cpp_libfuzzer_test.py
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
buildscripts/resmokelib/testing/testcases/cpp_libfuzzer_test.py
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
buildscripts/resmokelib/testing/testcases/cpp_libfuzzer_test.py
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
"""The libfuzzertest.TestCase for C++ libfuzzer tests.""" import datetime import os from buildscripts.resmokelib import core from buildscripts.resmokelib import utils from buildscripts.resmokelib.testing.fixtures import interface as fixture_interface from buildscripts.resmokelib.testing.testcases import interface c...
38.022222
100
0.707189
200
1,711
5.81
0.445
0.090361
0.089501
0.055077
0.060241
0.060241
0
0
0
0
0
0.016703
0.195207
1,711
44
101
38.886364
0.82716
0.143776
0
0
0
0
0.151934
0.073895
0
0
0
0
0
1
0.068966
false
0
0.206897
0
0.413793
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0c9967167f2ebbfb12ea4280bc6aa6f0ee2cebd
1,278
py
Python
data_curation/genome_annotations/preprocess_SEA.py
talkowski-lab/rCNV2
fcc1142d8c13b58d18a37fe129e9bb4d7bd6641d
[ "MIT" ]
7
2021-01-28T15:46:46.000Z
2022-02-07T06:50:40.000Z
data_curation/genome_annotations/preprocess_SEA.py
talkowski-lab/rCNV2
fcc1142d8c13b58d18a37fe129e9bb4d7bd6641d
[ "MIT" ]
1
2021-03-02T01:33:53.000Z
2021-03-02T01:33:53.000Z
data_curation/genome_annotations/preprocess_SEA.py
talkowski-lab/rCNV2
fcc1142d8c13b58d18a37fe129e9bb4d7bd6641d
[ "MIT" ]
3
2021-02-21T19:49:12.000Z
2021-12-22T15:56:21.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2020 Ryan L. Collins <rlcollins@g.harvard.edu> # and the Talkowski Laboratory # Distributed under terms of the MIT license. """ Parse simple SEA super-enhancer BED by cell types """ import argparse import csv import subprocess def main(): """ ...
26.081633
89
0.622066
151
1,278
5.152318
0.635762
0.020566
0.043702
0
0
0
0
0
0
0
0
0.006073
0.226917
1,278
48
90
26.625
0.781377
0.21831
0
0
0
0
0.098039
0
0
0
0
0
0
1
0.043478
false
0
0.130435
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
c0cba6784c6a4d07543a90ca7bc4b5a773c81fe7
2,461
py
Python
src/transforms/imageCropDivide/dev/generate_nodenk.py
MrLixm/Foundry_Nuke
078115043b6a4c09bdcf1b5031e995ef296bd604
[ "Apache-2.0" ]
null
null
null
src/transforms/imageCropDivide/dev/generate_nodenk.py
MrLixm/Foundry_Nuke
078115043b6a4c09bdcf1b5031e995ef296bd604
[ "Apache-2.0" ]
null
null
null
src/transforms/imageCropDivide/dev/generate_nodenk.py
MrLixm/Foundry_Nuke
078115043b6a4c09bdcf1b5031e995ef296bd604
[ "Apache-2.0" ]
null
null
null
""" python>3 """ import os.path import re from pathlib import Path VERSION = 7 BASE = r""" set cut_paste_input [stack 0] version 12.2 v5 push $cut_paste_input Group { name imageCropDivide tile_color 0x5c3d84ff note_font_size 25 note_font_color 0xffffffff selected true xpos 411 ypos -125 addUserKnob {20 User} ...
25.905263
213
0.683056
336
2,461
4.78869
0.410714
0.067122
0.029832
0.064636
0.12803
0.10317
0.048477
0.048477
0
0
0
0.029829
0.169037
2,461
94
214
26.180851
0.756968
0.017473
0
0.084507
0
0.028169
0.5467
0.022831
0
0
0.008302
0
0.014085
1
0.028169
false
0
0.042254
0
0.098592
0.042254
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0cd5d7d340b27b3217620ef4b12a1391841820b
2,294
py
Python
workflow/tests/test_experiment_qc.py
JAMKuttan/chipseq_analysis
f8e4853bfdb4de8540026ae0b23235d72a1114ad
[ "MIT" ]
null
null
null
workflow/tests/test_experiment_qc.py
JAMKuttan/chipseq_analysis
f8e4853bfdb4de8540026ae0b23235d72a1114ad
[ "MIT" ]
null
null
null
workflow/tests/test_experiment_qc.py
JAMKuttan/chipseq_analysis
f8e4853bfdb4de8540026ae0b23235d72a1114ad
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import pytest import os import pandas as pd from io import StringIO import experiment_qc test_output_path = os.path.dirname(os.path.abspath(__file__)) + \ '/../output/experimentQC/' DESIGN_STRING = """sample_id\texperiment_id\tbiosample\tfactor\ttreatment\treplicate\tcontrol_id...
30.586667
107
0.773322
353
2,294
4.764873
0.23796
0.092747
0.108205
0.128419
0.560642
0.545184
0.473246
0.473246
0.473246
0.473246
0
0.01784
0.095902
2,294
74
108
31
0.793153
0.009154
0
0.32
0
0
0.25044
0.215669
0
0
0
0
0.26
1
0.2
false
0
0.1
0
0.32
0.12
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0d1e420d8a5ef2c04e4e14f531037003c9ed4f0
3,626
py
Python
native_client_sdk/src/build_tools/tests/test_generate_make.py
junmin-zhu/chromium-rivertrail
eb1a57aca71fe68d96e48af8998dcfbe45171ee1
[ "BSD-3-Clause" ]
5
2018-03-10T13:08:42.000Z
2021-07-26T15:02:11.000Z
native_client_sdk/src/build_tools/tests/test_generate_make.py
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
1
2015-07-21T08:02:01.000Z
2015-07-21T08:02:01.000Z
native_client_sdk/src/build_tools/tests/test_generate_make.py
jianglong0156/chromium.src
d496dfeebb0f282468827654c2b3769b3378c087
[ "BSD-3-Clause" ]
6
2016-11-14T10:13:35.000Z
2021-01-23T15:29:53.000Z
#!/usr/bin/env python # Copyright (c) 2012 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. import copy import datetime import os import posixpath import subprocess import sys import unittest SCRIPT_DIR = os.path.dirname(o...
29.008
79
0.671539
461
3,626
5.145336
0.340564
0.037943
0.075885
0.094857
0.39629
0.356239
0.312816
0.226391
0.151349
0.085582
0
0.008457
0.184777
3,626
124
80
29.241935
0.793978
0.068395
0
0.180851
0
0
0.169582
0.013638
0
0
0
0.008065
0.074468
1
0.12766
false
0
0.085106
0
0.255319
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0d317f2e8f8665da9e599f1dc02201ed251fea1
568
py
Python
Curso_em_Video_py3/ex069.py
Rodrigo98Matos/Projetos_py
6428e2c09d28fd8a717743f4434bc788e7d7d3cc
[ "MIT" ]
1
2021-05-11T12:39:43.000Z
2021-05-11T12:39:43.000Z
Curso_em_Video_py3/ex069.py
Rodrigo98Matos/Projetos_py
6428e2c09d28fd8a717743f4434bc788e7d7d3cc
[ "MIT" ]
null
null
null
Curso_em_Video_py3/ex069.py
Rodrigo98Matos/Projetos_py
6428e2c09d28fd8a717743f4434bc788e7d7d3cc
[ "MIT" ]
null
null
null
a = b = c = 0 while True: flag = '' i = -1 s = '' while i < 0: i = int(input('idade:\t')) while s != 'M' and s != 'F': s = str(input('Sexo [M] [F]:\t')).strip().upper()[0] if i > 18: a += 1 if s == 'M': b += 1 elif i < 20: c += 1 while flag != ...
27.047619
100
0.452465
93
568
2.763441
0.451613
0.015564
0.085603
0.093385
0.108949
0
0
0
0
0
0
0.042667
0.339789
568
20
101
28.4
0.642667
0
0
0
0
0.05
0.285211
0
0
0
0
0
0
1
0
false
0
0
0
0
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
c0d3bab4c52e7bb6548865457b438ad24de1affe
6,152
py
Python
hatfieldcmr/ingest/name.py
bcgov/nr_rfc_processing
7e414b97a29ed5bae8ba3c6decea39733be9a2db
[ "Apache-2.0" ]
null
null
null
hatfieldcmr/ingest/name.py
bcgov/nr_rfc_processing
7e414b97a29ed5bae8ba3c6decea39733be9a2db
[ "Apache-2.0" ]
6
2021-02-08T16:47:02.000Z
2022-01-30T21:58:18.000Z
hatfieldcmr/ingest/name.py
bcgov/rfc_processing
7e414b97a29ed5bae8ba3c6decea39733be9a2db
[ "Apache-2.0" ]
2
2021-02-22T19:13:26.000Z
2021-05-03T23:58:56.000Z
""" Contains data ingest related functions """ import re import os.path from dateutil.parser import parse as dateparser import typing from typing import Dict import cmr from hatfieldcmr.ingest.file_type import MODISBlobType MODIS_NAME = "modis-terra" TITLE_PATTERN_STRING = r"\w+:([\w]+\.[\w]+):\w+" TITLE_PATTERN = r...
34.561798
95
0.658973
769
6,152
4.953186
0.191157
0.086637
0.03938
0.045681
0.399842
0.270412
0.169336
0.136256
0.083486
0.083486
0
0.002153
0.245124
6,152
177
96
34.757062
0.818045
0.069083
0
0.170543
0
0
0.066266
0.021028
0
0
0
0
0
1
0.093023
false
0
0.054264
0.007752
0.387597
0.007752
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0d42b9fa731f071b00e48d88b5dd1b3baf8c28b
8,661
py
Python
tests/test_lib.py
bluefloyd00/snowflet
a1676158bffc5f44970845b054d1ad221e9540c7
[ "MIT" ]
1
2020-06-23T14:14:48.000Z
2020-06-23T14:14:48.000Z
tests/test_lib.py
bluefloyd00/snowflet
a1676158bffc5f44970845b054d1ad221e9540c7
[ "MIT" ]
2
2020-06-19T15:05:05.000Z
2020-06-19T15:07:22.000Z
tests/test_lib.py
bluefloyd00/snowflet
a1676158bffc5f44970845b054d1ad221e9540c7
[ "MIT" ]
null
null
null
import os import unittest from snowflet.lib import read_sql from snowflet.lib import logging_config from snowflet.lib import extract_args from snowflet.lib import apply_kwargs from snowflet.lib import strip_table from snowflet.lib import extract_tables_from_query from snowflet.lib import add_database_id_prefix from sno...
37.012821
225
0.419467
779
8,661
4.467266
0.14249
0.043103
0.038793
0.05431
0.702874
0.586782
0.514943
0.497126
0.485345
0.472701
0
0.02601
0.46288
8,661
233
226
37.171674
0.722055
0.083593
0
0.406417
0
0.037433
0.268426
0.050435
0
0
0
0
0.069519
1
0.042781
false
0
0.058824
0
0.122995
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0d718d76a48ce7c669cb050436654bea3cdd296
2,891
py
Python
annotation/black_action/fu.py
windfall-shogi/feature-annotation
83ff7c3fa31e542221cf45186b2ea3ef2a10310f
[ "MIT" ]
null
null
null
annotation/black_action/fu.py
windfall-shogi/feature-annotation
83ff7c3fa31e542221cf45186b2ea3ef2a10310f
[ "MIT" ]
null
null
null
annotation/black_action/fu.py
windfall-shogi/feature-annotation
83ff7c3fa31e542221cf45186b2ea3ef2a10310f
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import sonnet as snt import tensorflow as tf from .drop_mask import make_drop_mask1 from .promotion_mask import make_promotion_mask from ..boolean_board.black import select_black_fu_board, select_non_black_board from ..boolean_board.empty import select_empty_board from .....
31.769231
79
0.648219
353
2,891
4.906516
0.246459
0.103926
0.088915
0.04157
0.316975
0.289261
0.289261
0.289261
0.246536
0.187644
0
0.012224
0.264268
2,891
90
80
32.122222
0.802069
0.029747
0
0.09375
0
0
0.021436
0
0
0
0
0
0
1
0.09375
false
0
0.125
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0dc3d97cf9bff141a470ed5055719904a5f9f4c
2,492
py
Python
src/commands/refactor/convert_to_arrow_function.py
PranjalPansuriya/JavaScriptEnhancements
14af4162e86585153cbd4614ad96dff64a0d3192
[ "MIT" ]
690
2017-04-11T06:45:01.000Z
2022-03-21T23:20:29.000Z
src/commands/refactor/convert_to_arrow_function.py
PranjalPansuriya/JavaScriptEnhancements
14af4162e86585153cbd4614ad96dff64a0d3192
[ "MIT" ]
74
2017-11-22T18:05:26.000Z
2021-05-05T16:25:31.000Z
src/commands/refactor/convert_to_arrow_function.py
PranjalPansuriya/JavaScriptEnhancements
14af4162e86585153cbd4614ad96dff64a0d3192
[ "MIT" ]
42
2017-04-13T10:22:40.000Z
2021-05-27T19:19:04.000Z
import sublime, sublime_plugin import os, traceback from ...libs import util from ...libs import FlowCLI class JavascriptEnhancementsRefactorConvertToArrowFunctionCommand(sublime_plugin.TextCommand): def run(self, edit, **args): view = self.view selection = view.sel()[0] flow_cli = FlowCLI(view) res...
31.544304
111
0.634831
320
2,492
4.79375
0.259375
0.071708
0.028683
0.046936
0.453716
0.419817
0.419817
0.419817
0.419817
0.419817
0
0.01051
0.236356
2,492
79
112
31.544304
0.795586
0
0
0.45
0
0
0.08945
0.020858
0
0
0
0
0
1
0.05
false
0
0.066667
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0dde640a5c1e4f5414f4bf02dfa8a2f03ee959e
33,374
py
Python
apps/xdmac/xdmac_memory_transfer/firmware/at91bootstrap_sam_a5d2_xult.X/scripts/mpconfig/mpconfig.py
Techdisc/Microchip
ea8391c689c4badbe2f9ac5181e21bbd5d9d1e54
[ "0BSD" ]
82
2015-02-05T10:29:59.000Z
2022-03-09T22:13:56.000Z
apps/xdmac/xdmac_memory_transfer/firmware/at91bootstrap_sam_a5d2_xult.X/scripts/mpconfig/mpconfig.py
Techdisc/Microchip
ea8391c689c4badbe2f9ac5181e21bbd5d9d1e54
[ "0BSD" ]
128
2015-01-05T00:56:17.000Z
2022-03-03T19:06:11.000Z
apps/xdmac/xdmac_memory_transfer/firmware/at91bootstrap_sam_a5d2_xult.X/scripts/mpconfig/mpconfig.py
Techdisc/Microchip
ea8391c689c4badbe2f9ac5181e21bbd5d9d1e54
[ "0BSD" ]
219
2015-01-01T11:27:14.000Z
2022-03-25T08:33:54.000Z
import os import sys import base64 import fnmatch from kconfiglib import Kconfig, expr_value, Symbol, Choice, MENU, COMMENT, BOOL, STRING, INT, HEX from java.awt import BorderLayout, Dimension, FlowLayout from java.awt.event import ActionListener, MouseEvent from javax.swing import BorderFactory, BoxLayout, ImageIcon, ...
39.921053
442
0.651825
3,318
33,374
6.501206
0.198011
0.008159
0.006027
0.005285
0.179732
0.161096
0.144221
0.127161
0.119651
0.108433
0
0.011048
0.25415
33,374
835
443
39.968862
0.855536
0.200425
0
0.241509
0
0.001887
0.087387
0.07841
0
0
0
0
0
1
0.128302
false
0.003774
0.024528
0.011321
0.277358
0.001887
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0df3129d8955fe3aa993705e4ac485becb1c9ed
3,495
py
Python
functional_test/test_sqlite.py
penguinolog/sqlalchemy_jsonfield
552bc52af2f2e9c4ebe85928070e2b1b42d9a5d8
[ "Apache-2.0" ]
17
2017-05-19T14:03:15.000Z
2022-01-16T08:33:34.000Z
functional_test/test_sqlite.py
penguinolog/sqlalchemy_jsonfield
552bc52af2f2e9c4ebe85928070e2b1b42d9a5d8
[ "Apache-2.0" ]
5
2018-08-01T09:55:48.000Z
2020-07-06T08:54:00.000Z
functional_test/test_sqlite.py
penguinolog/sqlalchemy_jsonfield
552bc52af2f2e9c4ebe85928070e2b1b42d9a5d8
[ "Apache-2.0" ]
2
2018-08-01T09:47:40.000Z
2020-07-05T15:31:17.000Z
# coding=utf-8 # pylint: disable=missing-docstring, unused-argument import os.path import sqlite3 import tempfile import unittest import sqlalchemy.ext.declarative import sqlalchemy.orm try: # noinspection PyPackageRequirements import ujson as json except ImportError: import json import sqlalchemy_jsonf...
30.391304
118
0.631187
397
3,495
5.390428
0.322418
0.056075
0.04486
0.037383
0.272897
0.188785
0.136449
0.136449
0.136449
0.081308
0
0.004178
0.246638
3,495
114
119
30.657895
0.808583
0.107582
0
0.089552
0
0
0.114452
0
0
0
0
0
0.074627
1
0.044776
false
0
0.149254
0
0.283582
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0e326802c17cadedbdcc95d716b27c009b7245b
495
py
Python
generic_op/pool_op.py
cap-lab/MidapSim
4f92a9f9413c29d7e1f37e863cce90ebdde8b420
[ "MIT" ]
2
2021-03-28T16:19:06.000Z
2022-02-26T08:58:33.000Z
generic_op/pool_op.py
cap-lab/MidapSim
4f92a9f9413c29d7e1f37e863cce90ebdde8b420
[ "MIT" ]
null
null
null
generic_op/pool_op.py
cap-lab/MidapSim
4f92a9f9413c29d7e1f37e863cce90ebdde8b420
[ "MIT" ]
1
2021-02-22T08:44:20.000Z
2021-02-22T08:44:20.000Z
from .convpool_op_base import ConvPoolOpBase class PoolOp(ConvPoolOpBase): def __init__( self, op_type='Pool', pool_type=None, global_pooling=False, **kwargs ): super(PoolOp, self).__init__(op_type=op_type, **kwargs) self.global_pooli...
26.052632
63
0.60202
62
495
4.419355
0.435484
0.10219
0.058394
0.087591
0.083942
0
0
0
0
0
0
0
0.311111
495
18
64
27.5
0.803519
0
0
0
0
0
0.008081
0
0
0
0
0
0
1
0.133333
false
0
0.066667
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0ebac4ab996b305d4af158e61ede7d45f0985a2
5,002
py
Python
models/special_tensors.py
LaudateCorpus1/learning-compressible-subspaces
94db8191f5f4d32c1e86834284fcf9f89e4d445b
[ "AML" ]
6
2021-11-02T23:10:05.000Z
2021-11-26T06:46:21.000Z
models/special_tensors.py
LaudateCorpus1/learning-compressible-subspaces
94db8191f5f4d32c1e86834284fcf9f89e4d445b
[ "AML" ]
null
null
null
models/special_tensors.py
LaudateCorpus1/learning-compressible-subspaces
94db8191f5f4d32c1e86834284fcf9f89e4d445b
[ "AML" ]
2
2021-12-02T00:06:41.000Z
2022-03-26T11:33:04.000Z
# # For licensing see accompanying LICENSE file. # Copyright (C) 2021 Apple Inc. All Rights Reserved. # """Utility functions to tag tensors with metadata. The metadata remains with the tensor under torch operations that don't change the values, e.g. .clone(), .contiguous(), .permute(), etc. """ import collections imp...
31.859873
80
0.658137
580
5,002
5.448276
0.318966
0.091139
0.05981
0.068354
0.201266
0.201266
0.168038
0.168038
0.168038
0.151266
0
0.003989
0.248301
5,002
156
81
32.064103
0.836436
0.318673
0
0.296703
0
0
0.097324
0.00882
0
0
0
0
0
1
0.142857
false
0
0.065934
0
0.340659
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0f028af70b526fd95e136fc02b10d25bfdd263a
2,705
py
Python
porodynhe_example2d.py
sfepy/example_largedef_porodyn
4116abc7daed195eee15277b2bd564cec3762ac6
[ "MIT" ]
null
null
null
porodynhe_example2d.py
sfepy/example_largedef_porodyn
4116abc7daed195eee15277b2bd564cec3762ac6
[ "MIT" ]
null
null
null
porodynhe_example2d.py
sfepy/example_largedef_porodyn
4116abc7daed195eee15277b2bd564cec3762ac6
[ "MIT" ]
null
null
null
# Rohan E., Lukeš V. # Modeling large-deforming fluid-saturated porous media using # an Eulerian incremental formulation. # Advances in Engineering Software, 113:84-95, 2017, # https://doi.org/10.1016/j.advengsoft.2016.11.003 # # Run simulation: # # ./simple.py example_largedef_porodyn-1/porodynhe_example2d.py # # Th...
31.823529
76
0.528651
320
2,705
4.33125
0.55625
0.010101
0.02381
0.033189
0.036075
0.023088
0
0
0
0
0
0.061741
0.299445
2,705
84
77
32.202381
0.669657
0.271349
0
0
0
0
0.274168
0.011094
0
0
0
0
0
1
0.016949
false
0
0.050847
0
0.084746
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0f0b3100db352f07b237c204da41ba3ca9a0b70
260
py
Python
mailcheck/__init__.py
shacker/django-mailcheck
878dd21dcd599bd3761e225ba0c2717af458c000
[ "BSD-3-Clause" ]
1
2019-05-24T12:40:49.000Z
2019-05-24T12:40:49.000Z
mailcheck/__init__.py
shacker/django-mailcheck
878dd21dcd599bd3761e225ba0c2717af458c000
[ "BSD-3-Clause" ]
null
null
null
mailcheck/__init__.py
shacker/django-mailcheck
878dd21dcd599bd3761e225ba0c2717af458c000
[ "BSD-3-Clause" ]
null
null
null
""" Pluggable Django email backend for capturing outbound mail for QA/review purposes. """ __version__ = "1.0" __author__ = "Scot Hacker" __email__ = "shacker@birdhouse.org" __url__ = "https://github.com/shacker/django-mailcheck" __license__ = "BSD License"
23.636364
82
0.75
32
260
5.46875
0.84375
0
0
0
0
0
0
0
0
0
0
0.008772
0.123077
260
10
83
26
0.758772
0.315385
0
0
0
0
0.523529
0.123529
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
c0f1710109fd0bcc8c80d8dbd1890e68264eb994
4,923
py
Python
nistapttools/histogram_functions.py
bcaplins/NIST_APT_TOOLS
80c25498e8b069b8ee289a2d09c76c932c054cea
[ "Unlicense" ]
null
null
null
nistapttools/histogram_functions.py
bcaplins/NIST_APT_TOOLS
80c25498e8b069b8ee289a2d09c76c932c054cea
[ "Unlicense" ]
null
null
null
nistapttools/histogram_functions.py
bcaplins/NIST_APT_TOOLS
80c25498e8b069b8ee289a2d09c76c932c054cea
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Aug 28 13:41:03 2019 @author: bwc """ import numpy as np def bin_dat(dat,bin_width=0.001,user_roi=[],isBinAligned=False,isDensity=False): user_roi = np.asarray(user_roi) roi_supp = (user_roi.size == 2) # Get roi if isBinAligned and roi_supp: low...
24.615
110
0.549868
742
4,923
3.5
0.222372
0.023104
0.042357
0.027724
0.326531
0.274933
0.269542
0.189834
0.178668
0.154024
0
0.045506
0.281333
4,923
199
111
24.738693
0.688525
0.137518
0
0.13
0
0
0.016742
0
0
0
0
0
0
1
0.04
false
0
0.03
0
0.11
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0f3c763fc8fb9b275792346291c6e8ea034e967
1,138
py
Python
bage_utils/inspect_util.py
bage79/nlp4kor
016a20270774325579fc816a0364fb1695e60b51
[ "MIT" ]
60
2017-04-26T04:43:45.000Z
2021-11-08T13:01:11.000Z
bage_utils/inspect_util.py
bage79/nlp4kor
016a20270774325579fc816a0364fb1695e60b51
[ "MIT" ]
null
null
null
bage_utils/inspect_util.py
bage79/nlp4kor
016a20270774325579fc816a0364fb1695e60b51
[ "MIT" ]
17
2017-05-21T17:27:20.000Z
2021-01-16T22:35:44.000Z
import inspect # http://docs.python.org/2/library/inspect.html from pprint import pprint from bage_utils.dict_util import DictUtil # @UnusedImport class InspectUtil(object): @staticmethod def summary(): frame = inspect.stack()[1] d = {'file': frame[1], 'line': frame[2], 'function': frame[3]...
24.212766
88
0.579086
144
1,138
4.409722
0.347222
0.056693
0.107087
0.113386
0.388976
0.324409
0.324409
0.28189
0.23937
0.107087
0
0.018248
0.27768
1,138
46
89
24.73913
0.754258
0.059754
0
0.457143
0
0
0.026266
0
0
0
0
0
0
1
0.142857
false
0
0.085714
0
0.371429
0.114286
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0f5fb0852a3f468b938572e90b83ad69c9f9511
3,914
py
Python
Common.py
DongDong-123/zgg_active
7b7304bc9391e1d370052087d4ad2e6d05db670c
[ "Apache-2.0" ]
null
null
null
Common.py
DongDong-123/zgg_active
7b7304bc9391e1d370052087d4ad2e6d05db670c
[ "Apache-2.0" ]
null
null
null
Common.py
DongDong-123/zgg_active
7b7304bc9391e1d370052087d4ad2e6d05db670c
[ "Apache-2.0" ]
null
null
null
import os import random import time import xlwt from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.support.ui import WebDriverWait from front_login import * from readConfig import ReadConfig from db import DbOperate from selenium.webdriver.chrome.options import Options from mysql...
32.347107
109
0.601175
484
3,914
4.71281
0.309917
0.061377
0.028058
0.031565
0.287155
0.266111
0.199036
0.143797
0.128891
0.128891
0
0.006669
0.2721
3,914
120
110
32.616667
0.793261
0.030148
0
0.186813
0
0
0.050767
0
0
0
0
0
0
1
0.10989
false
0
0.120879
0
0.252747
0.043956
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0f64387b72b3f7cb9554217c9f76926a2cb5bad
5,367
py
Python
dashboard_generator.py
vgm236/exec-dash
5c446849ffc0ced5ec6c286d87603afa280f6017
[ "MIT" ]
1
2019-06-20T03:14:22.000Z
2019-06-20T03:14:22.000Z
dashboard_generator.py
vgm236/exec-dash
5c446849ffc0ced5ec6c286d87603afa280f6017
[ "MIT" ]
null
null
null
dashboard_generator.py
vgm236/exec-dash
5c446849ffc0ced5ec6c286d87603afa280f6017
[ "MIT" ]
null
null
null
# dashboard_generator.py import os.path # helps to save in a different folder import pandas as pd import itertools import locale # from https://stackoverflow.com/Questions/320929/currency-formatting-in-python from os import listdir from os.path import isfile, join #for chart generation import matplotlib import matplo...
27.80829
157
0.63406
703
5,367
4.722617
0.344239
0.054819
0.054217
0.018072
0.173494
0.157831
0.157831
0.140361
0.140361
0.140361
0
0.012027
0.147941
5,367
193
158
27.80829
0.713973
0.313583
0
0.177083
0
0.010417
0.300138
0.151724
0
0
0
0
0
1
0.010417
false
0
0.09375
0.010417
0.114583
0.21875
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0f84e0c95d431aa5ccd03662827d19008ac7c6c
2,235
py
Python
product_spider/spiders/medicalisotopes_spider.py
Pandaaaa906/product_spider
cc7f865f53fd3ed68f4869be3ba917c8373dfcf2
[ "MIT" ]
null
null
null
product_spider/spiders/medicalisotopes_spider.py
Pandaaaa906/product_spider
cc7f865f53fd3ed68f4869be3ba917c8373dfcf2
[ "MIT" ]
null
null
null
product_spider/spiders/medicalisotopes_spider.py
Pandaaaa906/product_spider
cc7f865f53fd3ed68f4869be3ba917c8373dfcf2
[ "MIT" ]
null
null
null
from urllib.parse import urljoin from scrapy import Request from product_spider.items import RawData from product_spider.utils.functions import strip from product_spider.utils.spider_mixin import BaseSpider class MedicalIsotopesSpider(BaseSpider): name = "medicalisotopes" base_url = "https://www.medicalisot...
46.5625
118
0.619239
273
2,235
4.974359
0.326007
0.095729
0.079529
0.064801
0.231959
0.132548
0.066274
0.066274
0.066274
0
0
0.003333
0.194631
2,235
47
119
47.553191
0.751111
0
0
0
0
0
0.256376
0.120358
0
0
0
0
0
1
0.076923
false
0
0.128205
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0fa6b58d78457006cba2d731fe207bcc18728f5
9,819
py
Python
smiles_parsers/Smarts.py
UnixJunkie/frowns
427e4c11a8a4dbe865828d18221899478497795e
[ "BSD-3-Clause" ]
null
null
null
smiles_parsers/Smarts.py
UnixJunkie/frowns
427e4c11a8a4dbe865828d18221899478497795e
[ "BSD-3-Clause" ]
null
null
null
smiles_parsers/Smarts.py
UnixJunkie/frowns
427e4c11a8a4dbe865828d18221899478497795e
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/enb python import string, re import Handler ####################### # Define some regular expressions inside a quoted string # then turn the string into the actual data structure. # (I found it was easiest to understand when done this way.) definitions = r""" # These are the atomic symbols Da...
31.776699
76
0.575517
1,296
9,819
4.20679
0.279321
0.041269
0.024395
0.024211
0.098313
0.055759
0.033382
0.023844
0.012106
0.012106
0
0.011402
0.267543
9,819
308
77
31.87987
0.746663
0.20389
0
0.05314
0
0.043478
0.570927
0.135646
0
0
0
0
0
1
0.004831
false
0
0.009662
0
0.024155
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c0fe21b15a59a46814a6a24b71ed4f6e93699049
8,402
py
Python
pyvizio/const.py
jezzab/pyvizio
8086f9e5aac49d1d99ade02684ca35c05e03a7eb
[ "MIT" ]
72
2017-08-08T19:32:12.000Z
2022-03-18T03:18:41.000Z
pyvizio/const.py
raman325/pyvizio
9cf45fcc9b409caf223a38d8f79c775742ab4127
[ "MIT" ]
48
2017-09-16T16:37:54.000Z
2022-01-23T20:43:42.000Z
pyvizio/const.py
ConnectionMaster/pyvizio
0fe4558557917509d3da3bb24f9221f15ba901ce
[ "MIT" ]
42
2017-09-04T22:59:21.000Z
2022-03-18T03:18:30.000Z
"""pyvizio constants.""" DEVICE_CLASS_SPEAKER = "speaker" DEVICE_CLASS_TV = "tv" DEVICE_CLASS_CRAVE360 = "crave360" DEFAULT_DEVICE_ID = "pyvizio" DEFAULT_DEVICE_CLASS = DEVICE_CLASS_TV DEFAULT_DEVICE_NAME = "Python Vizio" DEFAULT_PORTS = [7345, 9000] DEFAULT_TIMEOUT = 5 MAX_VOLUME = {DEVICE_CLASS_TV: 100, DEVICE_CLA...
28.100334
190
0.416448
796
8,402
4.242462
0.261307
0.103938
0.128813
0.096239
0.324845
0.265916
0.061593
0.061593
0.061593
0.061593
0
0.039769
0.341585
8,402
298
191
28.194631
0.57068
0.02797
0
0.21831
0
0.021127
0.387105
0.052219
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
8d00ab8273f452e2946deb1ce6f8cb6b06b174a7
1,858
py
Python
etl/steps/data/garden/owid/latest/covid.py
c1x1x00xxPentium/etl
4c9c4e466287deefba1aaae12c473c38d9ecb3cd
[ "MIT" ]
5
2021-11-01T18:54:52.000Z
2022-03-10T17:19:14.000Z
etl/steps/data/garden/owid/latest/covid.py
c1x1x00xxPentium/etl
4c9c4e466287deefba1aaae12c473c38d9ecb3cd
[ "MIT" ]
98
2021-09-24T19:29:34.000Z
2022-03-31T15:57:18.000Z
etl/steps/data/garden/owid/latest/covid.py
c1x1x00xxPentium/etl
4c9c4e466287deefba1aaae12c473c38d9ecb3cd
[ "MIT" ]
2
2021-12-15T07:53:38.000Z
2022-02-05T14:50:43.000Z
# # covid19.py # owid/latest/covid # from owid.catalog.meta import License, Source import datetime as dt import pandas as pd from owid.catalog import Dataset, Table from etl.helpers import downloaded MEGAFILE_URL = "https://raw.githubusercontent.com/owid/covid-19-data/master/public/data/owid-covid-data.csv" def...
30.966667
163
0.656082
258
1,858
4.635659
0.372093
0.052676
0.064381
0.058528
0.314381
0.272575
0.272575
0.272575
0.272575
0.272575
0
0.014956
0.208288
1,858
59
164
31.491525
0.798097
0.015608
0
0
0
0.146341
0.360395
0
0
0
0
0
0
1
0.04878
false
0
0.121951
0
0.195122
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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