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
048379e73ffaf235bc1f161c9acc29e96bf1085e
3,845
py
Python
code/.ipynb_checkpoints/main-checkpoint.py
Bcastet/DeepReconstruction
0a91eeda4c34350bee6ebafdfc0528060b8142fc
[ "MIT" ]
8
2019-08-08T16:45:45.000Z
2021-12-09T07:00:52.000Z
code/.ipynb_checkpoints/main-checkpoint.py
Bcastet/DeepReconstruction
0a91eeda4c34350bee6ebafdfc0528060b8142fc
[ "MIT" ]
null
null
null
code/.ipynb_checkpoints/main-checkpoint.py
Bcastet/DeepReconstruction
0a91eeda4c34350bee6ebafdfc0528060b8142fc
[ "MIT" ]
4
2020-05-20T02:08:37.000Z
2021-12-01T08:47:05.000Z
# -*- coding: utf-8 -*- """ Created on Wed Jul 17 10:12:12 2019 @author: Phan Huy Thong """ import os, sys sys.path.append(os.getcwd()) import argparse from system import System from config import Config as cfg import utils import torch if __name__ == '__main__': #read argument parser = argparse.ArgumentPar...
36.971154
115
0.527698
517
3,845
3.806576
0.257253
0.025407
0.014228
0.017785
0.502541
0.489329
0.473069
0.473069
0.448679
0.428354
0
0.029231
0.323797
3,845
104
116
36.971154
0.727692
0.039012
0
0.407407
0
0
0.11163
0
0
0
0
0
0
1
0.049383
false
0
0.074074
0.049383
0.17284
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0483e1cdc5b3f0b1841bfac50271950641dfff5e
538,763
py
Python
pysnmp/DV2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/DV2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/DV2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module DV2-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DV2-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:40:06 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)...
137.404489
7,637
0.731407
66,917
538,763
5.888489
0.044174
0.012121
0.015349
0.020394
0.615118
0.605208
0.576728
0.559517
0.505505
0.487519
0
0.096546
0.084525
538,763
3,920
7,638
137.439541
0.70236
0.000572
0
0.000512
0
0
0.103312
0.001445
0
0
0
0
0
1
0
false
0.001793
0.001536
0
0.00589
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0483e45e39338b1977f9426bbf61b9447c3130d0
675
py
Python
mtp_api/apps/credit/migrations/0034_payment_status_expired.py
ministryofjustice/mtp-api
b1c34c29e4aa9f48598cb060abe1368ae7686e0b
[ "MIT" ]
5
2016-01-05T12:21:35.000Z
2020-10-28T17:06:02.000Z
mtp_api/apps/credit/migrations/0034_payment_status_expired.py
ministryofjustice/mtp-api
b1c34c29e4aa9f48598cb060abe1368ae7686e0b
[ "MIT" ]
209
2015-06-12T09:39:41.000Z
2022-03-21T16:01:19.000Z
mtp_api/apps/credit/migrations/0034_payment_status_expired.py
ministryofjustice/mtp-api
b1c34c29e4aa9f48598cb060abe1368ae7686e0b
[ "MIT" ]
1
2021-04-11T06:19:23.000Z
2021-04-11T06:19:23.000Z
# Generated by Django 2.0.13 on 2019-12-11 15:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('credit', '0033_credit_resolution_failed'), ] operations = [ migrations.AlterField( model_name='log', name='action',...
35.526316
336
0.613333
66
675
6.19697
0.727273
0
0
0
0
0
0
0
0
0
0
0.040665
0.198519
675
18
337
37.5
0.715342
0.068148
0
0
1
0
0.350877
0.046252
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0484eebaca79d9fa2793a8fa212f63ea48326d9f
63,449
py
Python
iclientpy/iclientpy/rest/api/model.py
SuperMap/iClientPython
5e741c1efda9b12d321909428bd5c95e22482ea7
[ "Apache-2.0" ]
28
2018-04-19T07:11:34.000Z
2022-02-24T08:31:08.000Z
iclientpy/iclientpy/rest/api/model.py
SuperMap/iClientPython
5e741c1efda9b12d321909428bd5c95e22482ea7
[ "Apache-2.0" ]
3
2019-05-06T07:58:45.000Z
2020-11-18T21:16:38.000Z
iclientpy/iclientpy/rest/api/model.py
SuperMap/iClientPython
5e741c1efda9b12d321909428bd5c95e22482ea7
[ "Apache-2.0" ]
8
2018-06-14T02:29:53.000Z
2020-11-03T01:36:35.000Z
from enum import Enum from typing import List from ._modeljsonutil import AbstractTypeParserSwitcherBuilder class DatasetType(Enum): UNDEFINED = 'UNDEFINED' POINT = 'POINT' LINE = 'LINE' REGION = 'REGION' TEXT = 'TEXT' NETWORK = 'NETWORK' GRID = 'GRID' IMAGE = 'IMAGE' ...
20.414736
114
0.674258
5,328
63,449
7.943506
0.250375
0.067056
0.094889
0.028282
0.176193
0.138341
0.105711
0.086123
0.078893
0.076625
0
0.006838
0.257829
63,449
3,107
115
20.421307
0.89193
0.010134
0
0.483668
0
0
0.078318
0.007458
0
0
0
0.000322
0
1
0.00335
false
0.0067
0.001256
0
0.877303
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0486a0f578ea7f032eeca5a90aad890b57687059
1,356
py
Python
monitors_website.py
SrinivasBeerge/monitoring-website
0cda5181c0913a13de2f4242d4bf95aab7dad211
[ "Apache-2.0" ]
null
null
null
monitors_website.py
SrinivasBeerge/monitoring-website
0cda5181c0913a13de2f4242d4bf95aab7dad211
[ "Apache-2.0" ]
null
null
null
monitors_website.py
SrinivasBeerge/monitoring-website
0cda5181c0913a13de2f4242d4bf95aab7dad211
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import asyncio import json import threading import sys from lib.monitor import Monitor from lib.stats_writer import StatsWriter config = json.load(open('config.json')) def run_monitor(): monitor = Monitor(config) # asyncio on Windows solution learnt from here: https://github.com/encod...
28.851064
117
0.704277
170
1,356
5.417647
0.511765
0.05646
0.036916
0.058632
0.065147
0
0
0
0
0
0
0.016514
0.196165
1,356
46
118
29.478261
0.82844
0.184366
0
0
0
0
0.051771
0
0
0
0
0.021739
0
1
0.066667
false
0
0.2
0
0.266667
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
1
0
0
0
0
0
0
0
0
0
0
1
0487bb220d4008a76d9487e6275983871d38df44
2,800
py
Python
movielens_data.py
CLArg-group/Aspect-Item-Recommender-Systems
6fe98657cb17bcb8f4eb4606bdea7446909f4a71
[ "Apache-2.0" ]
1
2021-02-09T21:40:08.000Z
2021-02-09T21:40:08.000Z
movielens_data.py
CLArg-group/Aspect-Item-Recommender-Systems
6fe98657cb17bcb8f4eb4606bdea7446909f4a71
[ "Apache-2.0" ]
null
null
null
movielens_data.py
CLArg-group/Aspect-Item-Recommender-Systems
6fe98657cb17bcb8f4eb4606bdea7446909f4a71
[ "Apache-2.0" ]
1
2021-02-09T21:40:55.000Z
2021-02-09T21:40:55.000Z
''' script to get predictions for movielens data ''' from measures import predictions from processing import preprocessing import time import pickle import argparse if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument('--movielens_data', choices=['small', '100k'], required=True...
37.333333
250
0.675714
375
2,800
4.778667
0.296
0.058036
0.03125
0.040179
0.233259
0.233259
0.233259
0.225446
0.203125
0.090402
0
0.01566
0.201786
2,800
74
251
37.837838
0.78613
0.052857
0
0.037736
0
0
0.185087
0.08327
0
0
0
0
0.018868
1
0
false
0
0.09434
0
0.09434
0.150943
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0487ce7010d92a962a3a7ae8eef685aa4dc87679
11,608
py
Python
src/main/python/widgets/syntax_highlighters/nasm_highlighter.py
michaelbradley91/NASM-Debugger
c7b5593cfa2583c48c6607ee6e7d608c486bce0a
[ "MIT" ]
null
null
null
src/main/python/widgets/syntax_highlighters/nasm_highlighter.py
michaelbradley91/NASM-Debugger
c7b5593cfa2583c48c6607ee6e7d608c486bce0a
[ "MIT" ]
null
null
null
src/main/python/widgets/syntax_highlighters/nasm_highlighter.py
michaelbradley91/NASM-Debugger
c7b5593cfa2583c48c6607ee6e7d608c486bce0a
[ "MIT" ]
null
null
null
from PyQt5.QtCore import QRegularExpression, Qt, QRegularExpressionMatchIterator, QRegularExpressionMatch, QRegExp from PyQt5.QtGui import QSyntaxHighlighter, QTextDocument, QTextCharFormat, QFont, QColor from widgets.syntax_highlighters.highlighting_rule import HighlightingRule # noinspection SpellCheckingInspection...
67.098266
120
0.504221
1,116
11,608
5.165771
0.603943
0.027754
0.036427
0.041631
0.125585
0.087771
0.067997
0
0
0
0
0.013193
0.249052
11,608
172
121
67.488372
0.648159
0.031702
0
0.014493
0
0
0.325712
0.006609
0
0
0
0
0
1
0.014493
false
0
0.021739
0
0.043478
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
048a0ef7b9dd92a1600e7a3cea56404b05a0e29e
923
py
Python
hubconf.py
paulhuangkm/MiniASR
e7579a08f6fe9e7bc2a49c7ebbabe34b6679a22a
[ "MIT" ]
11
2021-08-17T14:44:31.000Z
2022-02-26T16:45:35.000Z
hubconf.py
paulhuangkm/MiniASR
e7579a08f6fe9e7bc2a49c7ebbabe34b6679a22a
[ "MIT" ]
null
null
null
hubconf.py
paulhuangkm/MiniASR
e7579a08f6fe9e7bc2a49c7ebbabe34b6679a22a
[ "MIT" ]
4
2021-12-12T15:09:44.000Z
2022-02-24T01:58:17.000Z
''' File [ hubconf.py ] Author [ Heng-Jui Chang (NTUEE) ] Synopsis [ Hubconf. ] ''' import os import torch from miniasr.utils import load_from_checkpoint def asr_local(ckpt): ''' ASR model from a local checkpoint. ''' assert os.path.isfile(ckpt) model, _, _ = load_from_ch...
20.511111
100
0.628386
118
923
4.644068
0.474576
0.072993
0.09854
0.104015
0.266423
0.266423
0.175182
0.175182
0.175182
0.175182
0
0.021962
0.260022
923
44
101
20.977273
0.780381
0.263272
0
0.266667
0
0
0.15
0
0
0
0
0
0.066667
1
0.266667
false
0
0.2
0
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
048a2c388530b970ba835f4824f7f77e7ebda823
1,964
py
Python
Intuitive.py
Sundragon1993/Smart-real-estate-assistant
3e901e86e1009bf464a44f870f3ee911217a9916
[ "MIT" ]
null
null
null
Intuitive.py
Sundragon1993/Smart-real-estate-assistant
3e901e86e1009bf464a44f870f3ee911217a9916
[ "MIT" ]
null
null
null
Intuitive.py
Sundragon1993/Smart-real-estate-assistant
3e901e86e1009bf464a44f870f3ee911217a9916
[ "MIT" ]
null
null
null
import pandas as pd from sklearn.model_selection import train_test_split import matplotlib.pyplot as plt from keras.models import Sequential from keras.layers import Dense from sklearn import preprocessing from keras.layers import Dropout from keras import regularizers df = pd.read_csv('housepricedata.csv') print(df) ...
29.757576
96
0.721996
304
1,964
4.470395
0.279605
0.014717
0.106696
0.114054
0.348786
0.272995
0.247976
0.247976
0.19794
0.19794
0
0.036109
0.125764
1,964
65
97
30.215385
0.755387
0
0
0.207547
0
0
0.090631
0
0
0
0
0
0
1
0
false
0
0.150943
0
0.150943
0.113208
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
048ae9bb8b1e3a03ae719af21c92a5fb4cfdf9ae
7,934
py
Python
arxiv_miner/mining_engine.py
valayDave/arxiv-miner
47751ac731e797d9a0e49959d11c07857e747aee
[ "MIT" ]
95
2021-05-28T23:07:13.000Z
2022-02-08T02:44:09.000Z
arxiv_miner/mining_engine.py
valayDave/arxiv-miner
47751ac731e797d9a0e49959d11c07857e747aee
[ "MIT" ]
7
2021-05-30T01:46:49.000Z
2021-07-15T23:18:54.000Z
arxiv_miner/mining_engine.py
valayDave/arxiv-miner
47751ac731e797d9a0e49959d11c07857e747aee
[ "MIT" ]
6
2021-05-29T09:58:34.000Z
2021-06-10T10:32:27.000Z
""" Scraping Engine creates the Identiy Data for the papers. The Mining Engine on Instantiation - Will check For the New Papers to Mine. - It will Create a ArxivPaper --> Download Latex --> Parse Latex --> Sematically Parse the Paper here too. ...
37.961722
136
0.612806
947
7,934
4.87434
0.223865
0.040511
0.025997
0.018414
0.168328
0.14753
0.100737
0.075823
0.063692
0.063692
0
0.005123
0.311066
7,934
209
137
37.961722
0.839371
0.159188
0
0.226027
0
0.006849
0.053413
0.00352
0
0
0
0
0
1
0.075342
false
0
0.082192
0
0.226027
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
048b183da7874e695331f6fac93ac63e58a5596b
3,190
py
Python
janus/janus/analysis/tree_pairs_analysis.py
josepablocam/janus-public
4713092b27d02386bdb408213d8edc0dc5859eec
[ "MIT" ]
null
null
null
janus/janus/analysis/tree_pairs_analysis.py
josepablocam/janus-public
4713092b27d02386bdb408213d8edc0dc5859eec
[ "MIT" ]
null
null
null
janus/janus/analysis/tree_pairs_analysis.py
josepablocam/janus-public
4713092b27d02386bdb408213d8edc0dc5859eec
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from argparse import ArgumentParser from collections import defaultdict import numpy as np import os import pickle import matplotlib matplotlib.use('pdf') matplotlib.rcParams['pdf.fonttype'] = 42 matplotlib.rcParams['ps.fonttype'] = 42 matplotlib.rcParams['font.size'] = 12 import matplotlib.pypl...
28.738739
79
0.638245
413
3,190
4.719128
0.37046
0.060031
0.02668
0.027707
0.098512
0.023602
0
0
0
0
0
0.005274
0.227273
3,190
110
80
29
0.785396
0.006583
0
0.021978
0
0
0.160354
0.019886
0
0
0
0
0
1
0.043956
false
0
0.120879
0
0.197802
0.021978
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
048b8a47b92597ba13d720ac05cab93a23005c88
5,807
py
Python
models/ConvLarge.py
iSarmad/MeanTeacher-SNTG-HybridNet
7ca9f8fc89a7be0524b2a0fb648678b9556f8843
[ "MIT" ]
24
2019-01-22T06:20:41.000Z
2022-03-26T07:51:40.000Z
models/ConvLarge.py
iSarmad/MeanTeacher-SNTG-HybridNet
7ca9f8fc89a7be0524b2a0fb648678b9556f8843
[ "MIT" ]
1
2021-04-12T06:27:43.000Z
2021-04-12T06:27:43.000Z
models/ConvLarge.py
iSarmad/MeanTeacher-SNTG-HybridNet
7ca9f8fc89a7be0524b2a0fb648678b9556f8843
[ "MIT" ]
12
2019-01-03T07:18:06.000Z
2021-12-09T18:24:27.000Z
import torch.nn as nn import torch.nn.functional as F import torch from torch.nn.init import kaiming_normal_ from torch.nn.utils import weight_norm from torch.autograd.variable import Variable import math __all__ = ['convlarge'] # noise function taken from blog : https://ferretj.github.io/ml/2018/01/22/temporal-ense...
37.464516
168
0.580851
841
5,807
3.919144
0.200951
0.042476
0.038228
0.060073
0.458131
0.359223
0.359223
0.359223
0.326456
0.290049
0
0.075552
0.275185
5,807
154
169
37.707792
0.707531
0.165834
0
0.174312
0
0
0.005206
0
0
0
0
0.006494
0
1
0.045872
false
0
0.06422
0
0.165138
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
048b9de36f4ed588142ded1ea107dfbc36e23fb6
932
py
Python
track/urls.py
IJaccojwang/loop
c534051ac0a0744638624376c814e22dd62fbd08
[ "MIT" ]
null
null
null
track/urls.py
IJaccojwang/loop
c534051ac0a0744638624376c814e22dd62fbd08
[ "MIT" ]
4
2021-03-19T01:02:03.000Z
2021-09-08T01:01:45.000Z
track/urls.py
IJaccojwang/loop
c534051ac0a0744638624376c814e22dd62fbd08
[ "MIT" ]
null
null
null
from django.conf.urls.static import static from django.conf.urls import url from django.conf import settings from . import views urlpatterns=[ url('^$', views.index, name = 'index'), url(r'^profile$',views.profile,name='profile'), url(r'^profile/edit$',views.edit_profile,name='edit'), url(r'^profile/up...
44.380952
81
0.716738
123
932
5.333333
0.252033
0.060976
0.064024
0.054878
0
0
0
0
0
0
0
0
0.104077
932
21
81
44.380952
0.785629
0
0
0
0
0
0.261522
0
0
0
0
0
0
1
0
false
0
0.210526
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
048f525023727acec650d30bcde2c29bc495c599
2,401
py
Python
tests/presentation/test_create_presentation.py
abitoun-42/atpbar
fe5e4c24621b4707c5253be8ab2b5ae48f4801e3
[ "BSD-3-Clause" ]
72
2019-02-24T15:49:57.000Z
2022-03-27T19:38:38.000Z
tests/presentation/test_create_presentation.py
abitoun-42/atpbar
fe5e4c24621b4707c5253be8ab2b5ae48f4801e3
[ "BSD-3-Clause" ]
24
2019-02-18T12:39:04.000Z
2022-01-19T02:14:56.000Z
tests/presentation/test_create_presentation.py
abitoun-42/atpbar
fe5e4c24621b4707c5253be8ab2b5ae48f4801e3
[ "BSD-3-Clause" ]
10
2019-04-19T15:39:32.000Z
2022-01-08T16:57:42.000Z
# Tai Sakuma <tai.sakuma@gmail.com> import os import sys import pytest import unittest.mock as mock has_jupyter_notebook = False try: import ipywidgets as widgets from IPython.display import display has_jupyter_notebook = True except ImportError: pass from atpbar.presentation.create import create_pr...
30.392405
82
0.742191
234
2,401
5.884615
0.282051
0.108932
0.08642
0.061002
0.309368
0.16703
0.092956
0.092956
0.092956
0
0
0
0.167014
2,401
78
83
30.782051
0.6885
0.155352
0
0.311475
0
0
0.128472
0.063492
0
0
0
0
0.065574
1
0.065574
false
0.016393
0.131148
0
0.245902
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
048fe32428b42c9f1df5738539aa6f0a4f71bad4
4,652
py
Python
GridTrader_with_db.py
wcen/Leveraged-grid-trading-bot
a6920b9c0d6aecaa6e28c6e12d760b75e5d9bff2
[ "MIT" ]
6
2021-11-20T21:47:42.000Z
2022-03-31T05:38:27.000Z
GridTrader_with_db.py
webclinic017/Leveraged-grid-trading-bot
a698bb5bea0fed00c28dce023afa751c4f82e869
[ "MIT" ]
null
null
null
GridTrader_with_db.py
webclinic017/Leveraged-grid-trading-bot
a698bb5bea0fed00c28dce023afa751c4f82e869
[ "MIT" ]
5
2021-10-11T20:25:38.000Z
2022-03-04T15:02:17.000Z
import sys import time import datetime import asyncio import pytz from GridTrader import GridTrader from db_connector import db_connector class GridTrader_with_db(GridTrader): def __init__(self, file='setting.json'): super().__init__(file=file) info=GridTrader.read_setting(file=file) sel...
41.90991
200
0.557395
635
4,652
3.981102
0.218898
0.041535
0.042722
0.031646
0.24288
0.215585
0.160997
0.102848
0.030063
0.030063
0
0.034788
0.246131
4,652
110
201
42.290909
0.686056
0
0
0.089888
0
0.089888
0.234308
0.120163
0
0
0
0
0
1
0.044944
false
0.011236
0.078652
0
0.146067
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04906bc044f904359850b223172cd50440da19f9
1,218
py
Python
pstests/settings/launch_scheduler.py
sj1104/Het
81b7e9f0f593108db969fc46a1af3df74b825230
[ "Apache-2.0" ]
2
2021-12-05T07:11:04.000Z
2021-12-15T07:53:48.000Z
pstests/settings/launch_scheduler.py
sj1104/Het
81b7e9f0f593108db969fc46a1af3df74b825230
[ "Apache-2.0" ]
null
null
null
pstests/settings/launch_scheduler.py
sj1104/Het
81b7e9f0f593108db969fc46a1af3df74b825230
[ "Apache-2.0" ]
3
2021-04-01T22:39:13.000Z
2021-04-21T11:51:57.000Z
from athena import gpu_ops as ad import os import sys import yaml import json import multiprocessing import signal def main(): def start_scheduler(settings): for key, value in settings.items(): os.environ[key] = str(value) assert os.environ['DMLC_ROLE'] == "scheduler" print('S...
26.478261
80
0.611658
145
1,218
5
0.468966
0.044138
0.022069
0.055172
0
0
0
0
0
0
0
0.004449
0.261905
1,218
45
81
27.066667
0.802002
0
0
0.052632
0
0
0.128079
0.020525
0
0
0
0
0.052632
1
0.078947
false
0
0.184211
0
0.263158
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
049079e60fe29248a1254435c6e61bcfeed1a7dc
2,030
py
Python
venv/Lib/site-packages/streamlit/proto/Balloons_pb2.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
7
2022-01-16T12:28:16.000Z
2022-03-04T15:31:45.000Z
venv/Lib/site-packages/streamlit/proto/Balloons_pb2.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
8
2021-09-22T12:47:32.000Z
2022-01-14T21:30:38.000Z
venv/Lib/site-packages/streamlit/proto/Balloons_pb2.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
1
2021-03-30T05:02:53.000Z
2021-03-30T05:02:53.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: streamlit/proto/Balloons.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection fr...
28.591549
170
0.759606
247
2,030
5.939271
0.421053
0.03681
0.04908
0.06544
0.079073
0.079073
0.054533
0
0
0
0
0.032457
0.119704
2,030
70
171
29
0.788472
0.133005
0
0.2
1
0.02
0.165809
0.118925
0
0
0
0
0
1
0
false
0
0.08
0
0.08
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0491276565adb67c9144a9e141d865fe9de613d1
10,959
py
Python
featureio/parsers.py
nijibabulu/featureio
23c439de645a654f1e548c4ff0df409ecd3a2935
[ "MIT" ]
null
null
null
featureio/parsers.py
nijibabulu/featureio
23c439de645a654f1e548c4ff0df409ecd3a2935
[ "MIT" ]
null
null
null
featureio/parsers.py
nijibabulu/featureio
23c439de645a654f1e548c4ff0df409ecd3a2935
[ "MIT" ]
null
null
null
#! /usr/bin/env python import functools from . import gene def BedIterator(handle, cls=gene.Gene): for n, line in enumerate(handle): if line.startswith('#'): continue if not len(line.strip()): continue fields = line.strip().split('\t') if len(fields) != 12:...
35.237942
94
0.521763
1,275
10,959
4.362353
0.19451
0.018698
0.018878
0.012226
0.196692
0.156778
0.123697
0.116864
0.078029
0.070478
0
0.010492
0.347751
10,959
310
95
35.351613
0.767627
0.037686
0
0.237668
0
0
0.053387
0.005486
0
0
0
0.003226
0
1
0.112108
false
0.008969
0.013453
0.008969
0.183857
0.022422
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
049138351f7eb67276a10e95ccf95b9660afd51b
388
py
Python
dufi/gui/boxes/tkutils.py
Shura1oplot/dufi
c9c25524020e57d3670c298acca305900b6490e7
[ "MIT" ]
null
null
null
dufi/gui/boxes/tkutils.py
Shura1oplot/dufi
c9c25524020e57d3670c298acca305900b6490e7
[ "MIT" ]
null
null
null
dufi/gui/boxes/tkutils.py
Shura1oplot/dufi
c9c25524020e57d3670c298acca305900b6490e7
[ "MIT" ]
null
null
null
# [SublimeLinter @python:3] # -*- coding: utf-8 -*- from __future__ import unicode_literals, division, print_function, absolute_import def center(window, master=None): (master or window).eval("tk::PlaceWindow {} center".format( window.winfo_toplevel())) # (master or window).eval("tk::PlaceWindow {} c...
32.333333
82
0.690722
46
388
5.608696
0.630435
0.127907
0.108527
0.139535
0.418605
0.418605
0.418605
0.418605
0.418605
0.418605
0
0.006079
0.152062
388
11
83
35.272727
0.778116
0.396907
0
0
0
0
0.10917
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
04929055f4410ade9e4497312f0a6f059a8507e0
8,183
py
Python
fiber/config.py
agrimrules/fiber
e21e7dea019eae6259705b351f0e196f9eaa4835
[ "Apache-2.0" ]
1
2020-08-11T01:52:08.000Z
2020-08-11T01:52:08.000Z
fiber/config.py
agrimrules/fiber
e21e7dea019eae6259705b351f0e196f9eaa4835
[ "Apache-2.0" ]
null
null
null
fiber/config.py
agrimrules/fiber
e21e7dea019eae6259705b351f0e196f9eaa4835
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
32.995968
246
0.638397
1,088
8,183
4.674632
0.27114
0.023791
0.011797
0.010224
0.044436
0.025167
0.013763
0.013763
0
0
0
0.004033
0.272761
8,183
247
247
33.129555
0.850613
0.546377
0
0.053191
0
0
0.076577
0
0
0
0
0
0
1
0.074468
false
0
0.031915
0.010638
0.180851
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0493ef8fc992e579828c78f162358b41a9e24ff1
14,188
py
Python
compartmental.py
burakbudanur/compartmental
9729aa2b7a7464c7a866828b72b3a09d95e0017a
[ "MIT" ]
null
null
null
compartmental.py
burakbudanur/compartmental
9729aa2b7a7464c7a866828b72b3a09d95e0017a
[ "MIT" ]
null
null
null
compartmental.py
burakbudanur/compartmental
9729aa2b7a7464c7a866828b72b3a09d95e0017a
[ "MIT" ]
null
null
null
import numpy as np import networkx as nx import sympy as sp import matplotlib.pyplot as plt import matplotlib as mpl from sys import exit from scipy.optimize import curve_fit from scipy.integrate import odeint class Model(nx.DiGraph): """ Base class for compartmental models. See also: --------- ...
31.740492
96
0.518889
1,487
14,188
4.801614
0.207801
0.064426
0.046218
0.061625
0.290056
0.187815
0.164706
0.137815
0.114006
0.088375
0
0.008401
0.379123
14,188
446
97
31.811659
0.802134
0.214688
0
0.18894
0
0
0.045778
0
0
0
0
0
0
1
0.059908
false
0
0.036866
0.013825
0.147465
0.013825
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04943539255f8dbd1dd0ebb1cba90f982f64b11a
27,133
py
Python
library/frontend/sysadmin/inventory.py
GNHJM/lykops
ed7e35d0c1abb1eacf7ab365e041347d0862c0a7
[ "Apache-2.0" ]
141
2017-01-09T07:23:55.000Z
2022-01-29T09:56:16.000Z
library/frontend/sysadmin/inventory.py
GNHJM/lykops
ed7e35d0c1abb1eacf7ab365e041347d0862c0a7
[ "Apache-2.0" ]
13
2018-01-09T01:49:59.000Z
2021-09-23T23:21:29.000Z
library/frontend/sysadmin/inventory.py
GNHJM/lykops
ed7e35d0c1abb1eacf7ab365e041347d0862c0a7
[ "Apache-2.0" ]
68
2017-01-10T01:56:43.000Z
2021-10-11T10:16:00.000Z
import time from library.frontend import Base from library.utils.file import write_file from library.utils.type_conv import random_str class Manager_Inventory(Base): def get_init_para(self, username): self.inve_mongocollect = 'user.' + username + '.inventory' self.group_mongocollect = 'user.' + u...
45.071429
225
0.4918
2,797
27,133
4.542009
0.083304
0.029597
0.03495
0.034005
0.619647
0.527865
0.43199
0.39279
0.334619
0.32352
0
0.004194
0.393653
27,133
601
226
45.146423
0.767992
0.009804
0
0.425
0
0.00625
0.132209
0.03237
0
0
0
0
0
1
0.029167
false
0.066667
0.008333
0
0.129167
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
049436623453edf52badd7f36958c3fdba39f850
87
py
Python
django_gotolong/fratio/apps.py
ParikhKadam/gotolong
839beb8aa37055a2078eaa289b8ae05b62e8905e
[ "BSD-2-Clause", "BSD-3-Clause" ]
15
2019-12-06T16:19:45.000Z
2021-08-20T13:22:22.000Z
django_gotolong/fratio/apps.py
ParikhKadam/gotolong
839beb8aa37055a2078eaa289b8ae05b62e8905e
[ "BSD-2-Clause", "BSD-3-Clause" ]
14
2020-12-08T10:45:05.000Z
2021-09-21T17:23:45.000Z
django_gotolong/fratio/apps.py
ParikhKadam/gotolong
839beb8aa37055a2078eaa289b8ae05b62e8905e
[ "BSD-2-Clause", "BSD-3-Clause" ]
9
2020-01-01T03:04:29.000Z
2021-04-18T08:42:30.000Z
from django.apps import AppConfig class FratioConfig(AppConfig): name = 'fratio'
14.5
33
0.747126
10
87
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.172414
87
5
34
17.4
0.902778
0
0
0
0
0
0.068966
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0495634b91f43d0e7597e99e33589f764a60171d
13,207
py
Python
tpx3format/read.py
M4I-nanoscopy/tpx3HitParser
76147455a75effc1e799b6569c23320c5a4cf21a
[ "MIT" ]
9
2021-03-02T12:13:54.000Z
2022-03-23T15:36:09.000Z
tpx3format/read.py
M4I-nanoscopy/tpx3HitParser
76147455a75effc1e799b6569c23320c5a4cf21a
[ "MIT" ]
1
2020-10-08T10:45:15.000Z
2021-02-15T15:27:56.000Z
tpx3format/read.py
M4I-nanoscopy/tpx3HitParser
76147455a75effc1e799b6569c23320c5a4cf21a
[ "MIT" ]
1
2022-03-25T08:42:54.000Z
2022-03-25T08:42:54.000Z
import logging import struct import h5py import numpy as np from lib.constants import * import os # TODO: Logging does not work for multiprocessing processes on Windows logger = logging.getLogger('root') def read_positions(f): control_events = [] i = 0 rollover_counter = 0 approaching_rollover = Fa...
32.609877
132
0.602181
1,877
13,207
4.108684
0.20032
0.035399
0.008299
0.020228
0.314964
0.248703
0.220436
0.169476
0.10529
0.09777
0
0.047392
0.285833
13,207
404
133
32.690594
0.77025
0.185962
0
0.222689
0
0.004202
0.122802
0.002525
0
0
0.015432
0.002475
0
1
0.071429
false
0.004202
0.02521
0.008403
0.184874
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04959864b1c4805376ca408fc8be78c66f6a18b8
4,717
py
Python
pysen/ext/isort_wrapper.py
linshoK/pysen
2b84a15240c5a47cadd8e3fc8392c54c2995b0b1
[ "MIT" ]
423
2021-03-22T08:45:12.000Z
2022-03-31T21:05:53.000Z
pysen/ext/isort_wrapper.py
linshoK/pysen
2b84a15240c5a47cadd8e3fc8392c54c2995b0b1
[ "MIT" ]
1
2022-02-23T08:53:24.000Z
2022-03-23T14:11:54.000Z
pysen/ext/isort_wrapper.py
linshoK/pysen
2b84a15240c5a47cadd8e3fc8392c54c2995b0b1
[ "MIT" ]
9
2021-03-26T14:20:07.000Z
2022-03-24T13:17:06.000Z
import copy import dataclasses import enum import functools import pathlib from typing import Any, Dict, Iterable, List, Optional, Set, Tuple from pysen import process_utils from pysen.command import check_command_installed from pysen.dist_version import get_version from pysen.error_lines import parse_error_diffs from...
32.088435
89
0.682213
560
4,717
5.530357
0.328571
0.026154
0.03681
0.052309
0.080723
0.045851
0
0
0
0
0
0.006895
0.231291
4,717
146
90
32.308219
0.847215
0.104092
0
0.018018
0
0
0.081613
0.007592
0
0
0
0
0
1
0.063063
false
0
0.135135
0.009009
0.432432
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
049610794903c58c0f44445aec069ae31619a636
713
py
Python
agsadmin/rest_admin/system/System.py
christopherblanchfield/agsadmin
989cb3795aacf285ccf74ee51b0de26bf2f48bc3
[ "BSD-3-Clause" ]
2
2015-12-07T05:53:29.000Z
2020-09-13T18:12:15.000Z
agsadmin/rest_admin/system/System.py
christopherblanchfield/agsadmin
989cb3795aacf285ccf74ee51b0de26bf2f48bc3
[ "BSD-3-Clause" ]
4
2015-03-09T05:59:14.000Z
2018-01-09T00:12:56.000Z
agsadmin/rest_admin/system/System.py
christopherblanchfield/agsadmin
989cb3795aacf285ccf74ee51b0de26bf2f48bc3
[ "BSD-3-Clause" ]
5
2015-03-09T01:05:24.000Z
2019-09-09T23:01:21.000Z
from __future__ import (absolute_import, division, print_function, unicode_literals) from builtins import (ascii, bytes, chr, dict, filter, hex, input, int, map, next, oct, open, pow, range, round, str, super, zip) from ..._endpoint_base import EndpointBase from .Directories import Directories c...
33.952381
117
0.692847
83
713
5.590361
0.554217
0.096983
0.090517
0.103448
0
0
0
0
0
0
0
0.001786
0.214586
713
21
118
33.952381
0.826786
0
0
0.133333
0
0
0.014006
0
0
0
0
0
0
1
0.2
false
0
0.266667
0.133333
0.666667
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
0498bc969c8391d24523c65b85a0eaca372772f0
1,816
py
Python
lib/cello_util/plasmid_map/plasmid_html.py
OGalOz/cello
1b62807e9881900daf8f3f59eafb11743ad84d6d
[ "MIT" ]
null
null
null
lib/cello_util/plasmid_map/plasmid_html.py
OGalOz/cello
1b62807e9881900daf8f3f59eafb11743ad84d6d
[ "MIT" ]
null
null
null
lib/cello_util/plasmid_map/plasmid_html.py
OGalOz/cello
1b62807e9881900daf8f3f59eafb11743ad84d6d
[ "MIT" ]
null
null
null
#python3 """ Takes template and inserts javascript into template html """ import json """ Inputs: plasmid_js: (str) filepath to file containing javascript string. out_fp: (str) filepath to where we'll write the file out. """ def html_prepare(plasmid_js_fp, template_html_fp, out_fp, config_fp): with open (...
25.577465
72
0.623899
275
1,816
3.778182
0.196364
0.057748
0.033686
0.080847
0.697786
0.688162
0.66795
0.66795
0.598653
0.598653
0
0.001441
0.235683
1,816
70
73
25.942857
0.747118
0.035242
0
0.555556
0
0
0.134299
0
0
0
0
0
0
1
0.055556
false
0
0.027778
0
0.138889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
049aa68e09eda0578871d1ae318ec877fd5826d7
1,985
py
Python
tests/test_cluster_01.py
wavestoweather/enstools
d0f612b0187b0ad54dfbbb78aa678564f46eaedf
[ "Apache-2.0" ]
5
2021-12-16T14:08:00.000Z
2022-03-02T14:08:10.000Z
tests/test_cluster_01.py
wavestoweather/enstools
d0f612b0187b0ad54dfbbb78aa678564f46eaedf
[ "Apache-2.0" ]
null
null
null
tests/test_cluster_01.py
wavestoweather/enstools
d0f612b0187b0ad54dfbbb78aa678564f46eaedf
[ "Apache-2.0" ]
null
null
null
import numpy from enstools.clustering import prepare from enstools.clustering import cluster from sklearn.cluster import KMeans variables = [] ens_members = 20 n_variables = 2 def setup(): """ create two variables for clustering """ for ivar in range(n_variables): var = numpy.random.randn(en...
28.357143
82
0.663476
267
1,985
4.827715
0.322097
0.069822
0.09775
0.05353
0.256788
0.235066
0.235066
0.211016
0.150504
0.071373
0
0.024167
0.228715
1,985
69
83
28.768116
0.817766
0.250378
0
0.142857
0
0
0.007746
0
0
0
0
0
0.2
1
0.114286
false
0
0.114286
0
0.228571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
049b2c4530e3c2a3c838d7a8ba5e4731d9eb7c02
96
py
Python
venv/lib/python3.8/site-packages/numpy/f2py/__main__.py
Retraces/UkraineBot
3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/numpy/f2py/__main__.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/numpy/f2py/__main__.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/ea/2d/a3/547d9f3eb895d5aa1c4d8fdd505bd62b5f2a6bece3a6721203e3a9177c
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.364583
0
96
1
96
96
0.53125
0
0
0
0
0
0
0
0
1
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
5
049b4aaa6c9b6af5b5f7a084af5bbd63b6108f08
17,349
py
Python
magpylib/_src/display/display_matplotlib.py
OrtnerMichael/magPyLib
4c7e7f56f6e0b915ec0e024c172c460fa80126e5
[ "BSD-2-Clause" ]
null
null
null
magpylib/_src/display/display_matplotlib.py
OrtnerMichael/magPyLib
4c7e7f56f6e0b915ec0e024c172c460fa80126e5
[ "BSD-2-Clause" ]
null
null
null
magpylib/_src/display/display_matplotlib.py
OrtnerMichael/magPyLib
4c7e7f56f6e0b915ec0e024c172c460fa80126e5
[ "BSD-2-Clause" ]
null
null
null
""" matplotlib draw-functionalities""" import matplotlib.pyplot as plt import numpy as np from mpl_toolkits.mplot3d.art3d import Poly3DCollection from magpylib._src.defaults.defaults_classes import default_settings as Config from magpylib._src.display.display_utility import draw_arrow_from_vertices from magpylib._src....
34.837349
88
0.560551
2,056
17,349
4.565661
0.159047
0.01534
0.022371
0.02578
0.320017
0.278896
0.259188
0.198786
0.149249
0.118994
0
0.011916
0.322785
17,349
497
89
34.907445
0.787046
0.170212
0
0.236769
0
0
0.012375
0
0
0
0
0
0
1
0.030641
false
0
0.047354
0
0.097493
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
049bdf62a0d5fe27ae8813de7898e6f4dff58bd6
248
py
Python
Python/rand.py
jayyok/ensiie-P
6739c8478a0631c4c0966aad74d379df12e0bada
[ "Apache-2.0" ]
null
null
null
Python/rand.py
jayyok/ensiie-P
6739c8478a0631c4c0966aad74d379df12e0bada
[ "Apache-2.0" ]
null
null
null
Python/rand.py
jayyok/ensiie-P
6739c8478a0631c4c0966aad74d379df12e0bada
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 from random import randint # Programme déliverant un nombre entre min et max min = int(input('Veuillez entrer la valeur minimale :\t')) max = int(input('Veuillez entrer la valeur maximale :\t')) print(randint(min,max))
27.555556
59
0.717742
37
248
4.810811
0.675676
0.089888
0.179775
0.247191
0.337079
0.337079
0
0
0
0
0
0.004831
0.165323
248
9
60
27.555556
0.855072
0.262097
0
0
0
0
0.436782
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
049c51b8f00635b7afe59969e4b68f6036acb2b1
3,493
py
Python
solum/builder/controllers/v1/image.py
ed-/solum
2d23edb7fb53e1bdeff510710824658575d166c4
[ "Apache-2.0" ]
null
null
null
solum/builder/controllers/v1/image.py
ed-/solum
2d23edb7fb53e1bdeff510710824658575d166c4
[ "Apache-2.0" ]
null
null
null
solum/builder/controllers/v1/image.py
ed-/solum
2d23edb7fb53e1bdeff510710824658575d166c4
[ "Apache-2.0" ]
null
null
null
# Copyright 2014 - Rackspace Hosting # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
33.912621
75
0.665331
428
3,493
5.28271
0.399533
0.024768
0.018576
0.022556
0.175144
0.123839
0.104379
0.104379
0.104379
0.104379
0
0.033271
0.234183
3,493
102
76
34.245098
0.811963
0.206127
0
0.105263
0
0
0.116316
0.063914
0
0
0
0
0
1
0.087719
false
0
0.140351
0.017544
0.45614
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
049db6a644f9d8354d438e91d794bf040ae0bcbe
1,091
py
Python
pyAI-OpenMV4/3.机器学习/2.笑脸识别/nn_haar_smile_detection.py
01studio-lab/MicroPython_Examples
f06a1bee398674ceafebed2aac88d8413cc8abad
[ "MIT" ]
73
2020-05-02T13:48:27.000Z
2022-03-26T13:15:10.000Z
pyAI-OpenMV4/3.机器学习/2.笑脸识别/nn_haar_smile_detection.py
01studio-lab/MicroPython_Examples
f06a1bee398674ceafebed2aac88d8413cc8abad
[ "MIT" ]
null
null
null
pyAI-OpenMV4/3.机器学习/2.笑脸识别/nn_haar_smile_detection.py
01studio-lab/MicroPython_Examples
f06a1bee398674ceafebed2aac88d8413cc8abad
[ "MIT" ]
50
2020-05-15T13:57:28.000Z
2022-03-30T14:03:33.000Z
# 笑脸识别示例( Haar Cascade + CNN 模型). # #翻译和注释:01Studio import sensor, time, image, os, nn #设置摄像头 sensor.reset() # Reset and initialize the sensor. sensor.set_contrast(2) sensor.set_pixformat(sensor.RGB565) # Set pixel format to RGB565 sensor.set_framesize(sensor.QVGA) # Set frame size ...
25.372093
91
0.64528
159
1,091
4.345912
0.553459
0.052098
0.014472
0.017366
0.023155
0
0
0
0
0
0
0.057803
0.207149
1,091
42
92
25.97619
0.74104
0.221815
0
0
0
0
0.034772
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.047619
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
049e976fdc251ba040ae03bbea33cb7d8d2af1b6
4,093
py
Python
tests/test_models/test_loss.py
williamcorsel/mmrotate
00a3b9af34c4e36c82616d98fdb91b468d4cfb34
[ "Apache-2.0" ]
1
2022-02-18T11:01:19.000Z
2022-02-18T11:01:19.000Z
tests/test_models/test_loss.py
williamcorsel/mmrotate
00a3b9af34c4e36c82616d98fdb91b468d4cfb34
[ "Apache-2.0" ]
null
null
null
tests/test_models/test_loss.py
williamcorsel/mmrotate
00a3b9af34c4e36c82616d98fdb91b468d4cfb34
[ "Apache-2.0" ]
null
null
null
# Copyright (c) OpenMMLab. All rights reserved. import pytest import torch from mmrotate.models.losses import (BCConvexGIoULoss, ConvexGIoULoss, GDLoss, GDLoss_v1, KFLoss, KLDRepPointsLoss) @pytest.mark.skipif( not torch.cuda.is_available(), reason='requires CUDA support') @py...
31.007576
78
0.66064
506
4,093
5.201581
0.134387
0.047872
0.058511
0.12348
0.827128
0.784195
0.780395
0.780395
0.683131
0.664134
0
0.017919
0.222819
4,093
131
79
31.244275
0.809494
0.254337
0
0.534247
0
0
0.034309
0
0
0
0
0
0.178082
1
0.054795
false
0
0.041096
0
0.09589
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
049f07024faf94f923d6bd6f576a06c30bfbcb2d
1,580
py
Python
api/serializers.py
1-0/neox_project
d3ee3b6a6d1bc11d30e2060ae8d1a389f0933338
[ "BSD-3-Clause" ]
null
null
null
api/serializers.py
1-0/neox_project
d3ee3b6a6d1bc11d30e2060ae8d1a389f0933338
[ "BSD-3-Clause" ]
null
null
null
api/serializers.py
1-0/neox_project
d3ee3b6a6d1bc11d30e2060ae8d1a389f0933338
[ "BSD-3-Clause" ]
null
null
null
from rest_auth import serializers from rest_framework import serializers as rf_serializers from neox_project.models import CustomUser from post import models class PostSerializer(serializers.JWTSerializer): def create(self, validated_data): pass def update(self, instance, validated_data): pas...
22.253521
65
0.586076
150
1,580
6.026667
0.373333
0.129425
0.112832
0.097345
0.363938
0.335177
0.335177
0.335177
0.335177
0.335177
0
0
0.322152
1,580
70
66
22.571429
0.844071
0
0
0.5
0
0
0.075316
0
0
0
0
0
0
1
0.12963
false
0.185185
0.074074
0
0.37037
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
049f32d34a3c6febe0ef73ec987f383e72dcf188
1,170
py
Python
mapshader/__init__.py
lex-c/mapshader
321246b3011e36abe580d0beff4f07ec5ee38d95
[ "MIT" ]
null
null
null
mapshader/__init__.py
lex-c/mapshader
321246b3011e36abe580d0beff4f07ec5ee38d95
[ "MIT" ]
null
null
null
mapshader/__init__.py
lex-c/mapshader
321246b3011e36abe580d0beff4f07ec5ee38d95
[ "MIT" ]
null
null
null
import sys try: from ._version import __version__ except ImportError: __version__ = "Unknown" def test(): """Run the mapshader test suite.""" import os try: import pytest except ImportError: import sys sys.stderr.write("You need to install py.test to run tests.\n\n") ...
31.621622
109
0.529915
102
1,170
4.362745
0.480392
0.062921
0.116854
0.07191
0
0
0
0
0
0
0
0
0.286325
1,170
36
110
32.5
0.532934
0.024786
0
0.206897
0
0.172414
0.532159
0.118943
0
0
0
0
0
1
0.068966
false
0
0.241379
0
0.310345
0.137931
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
049f8780ded61cd749db86845928ea603541d12d
1,357
py
Python
server/apps/bot/dispatcher/callbacks/list_movies.py
LowerDeez/movies_finder
3763bfe4c0d1cfe36e081c45a9cc9cdaa85e0ee4
[ "MIT" ]
null
null
null
server/apps/bot/dispatcher/callbacks/list_movies.py
LowerDeez/movies_finder
3763bfe4c0d1cfe36e081c45a9cc9cdaa85e0ee4
[ "MIT" ]
null
null
null
server/apps/bot/dispatcher/callbacks/list_movies.py
LowerDeez/movies_finder
3763bfe4c0d1cfe36e081c45a9cc9cdaa85e0ee4
[ "MIT" ]
null
null
null
from typing import TYPE_CHECKING from apps.bot.dispatcher.consts import ( CONSTS, ACTION_CHOICES, STATE_CHOICES ) from apps.bot.dispatcher.services import ( get_current_page, render_movies, get_last_movie_keyboard ) from apps.bot.tmdb import TMDBWrapper if TYPE_CHECKING: from telegram impo...
23.807018
71
0.704495
165
1,357
5.509091
0.30303
0.110011
0.036304
0.072607
0.055006
0
0
0
0
0
0
0.001869
0.211496
1,357
56
72
24.232143
0.847664
0.011054
0
0
0
0
0.05597
0
0
0
0
0
0
1
0.02381
false
0
0.142857
0
0.190476
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
049fde9a13aed8026d3cfea763d0abe219861381
5,030
py
Python
analysis_codes_v2/Rmax_exp_DanSeVData.py
zqwei/LIF_Vis_model
16f651ac827ba5f0feb40a0e619e600f1251d009
[ "MIT" ]
null
null
null
analysis_codes_v2/Rmax_exp_DanSeVData.py
zqwei/LIF_Vis_model
16f651ac827ba5f0feb40a0e619e600f1251d009
[ "MIT" ]
null
null
null
analysis_codes_v2/Rmax_exp_DanSeVData.py
zqwei/LIF_Vis_model
16f651ac827ba5f0feb40a0e619e600f1251d009
[ "MIT" ]
null
null
null
import pickle import numpy as np import matplotlib.pyplot as plt import scipy.stats as scp_stats import pandas as pd import f_rate_t_by_type_functions as frtbt N_trials = 15 # Decide which systems we are doing analysis for. sys_dict = {} sys_dict['all_mice'] = { 'cells_file': '../build/ll1.csv', 'f_1': '/data/mat...
41.916667
305
0.665408
833
5,030
3.789916
0.29892
0.035477
0.022173
0.026608
0.235984
0.226481
0.202724
0.173583
0.173583
0.146975
0
0.026429
0.16501
5,030
119
306
42.268908
0.725238
0.209344
0
0.055556
0
0.027778
0.205607
0.072493
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
04a08737b3cd2902f639e32914df18c75d140031
4,248
py
Python
scripts/build-python-env.py
tingbot/tide-electron
1865df30125ef455c5a1e4576bf5acfc2beaa572
[ "BSD-2-Clause" ]
26
2015-12-22T18:55:13.000Z
2020-10-27T13:54:48.000Z
scripts/build-python-env.py
tingbot/tide-electron
1865df30125ef455c5a1e4576bf5acfc2beaa572
[ "BSD-2-Clause" ]
73
2015-12-18T18:25:17.000Z
2020-11-14T15:38:02.000Z
scripts/build-python-env.py
tingbot/tide-electron
1865df30125ef455c5a1e4576bf5acfc2beaa572
[ "BSD-2-Clause" ]
11
2016-04-08T17:41:32.000Z
2021-12-07T17:20:00.000Z
import os, sys, subprocess, tempfile, shutil, urllib2, stat python = sys.executable # homebrew-installed python can't install with --target. use system python instead. if sys.platform == 'darwin': python = '/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python' def install_packages(requirements_file...
35.697479
95
0.678437
562
4,248
4.902135
0.256228
0.065336
0.058076
0.03775
0.397822
0.322686
0.293648
0.293648
0.293648
0.256624
0
0.009357
0.194915
4,248
118
96
36
0.796199
0.082863
0
0.285714
0
0.011905
0.195317
0.03474
0
0
0
0
0
0
null
null
0
0.011905
null
null
0.059524
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
04a27c0d4d3c374f1212533d3cfbf7e2202872c1
1,704
py
Python
subt/test_subt.py
robotika/osgar
6f4f584d5553ab62c08a1c7bb493fefdc9033173
[ "MIT" ]
12
2017-02-16T10:22:59.000Z
2022-03-20T05:48:06.000Z
subt/test_subt.py
robotika/osgar
6f4f584d5553ab62c08a1c7bb493fefdc9033173
[ "MIT" ]
618
2016-08-30T04:46:12.000Z
2022-03-25T16:03:10.000Z
subt/test_subt.py
robotika/osgar
6f4f584d5553ab62c08a1c7bb493fefdc9033173
[ "MIT" ]
11
2016-08-27T20:02:55.000Z
2022-03-07T08:53:53.000Z
import unittest import logging import math from unittest.mock import MagicMock, call from osgar.bus import Bus from osgar.lib import quaternion from subt.main import SubTChallenge from subt.trace import distance3D from subt import simulation g_logger = logging.getLogger(__name__) def entrance_reached(sim): co...
29.894737
151
0.627934
237
1,704
4.396624
0.464135
0.033589
0.042226
0.017274
0.028791
0
0
0
0
0
0
0.015349
0.235329
1,704
56
152
30.428571
0.782809
0.066901
0
0
0
0
0.111672
0
0
0
0
0
0.02381
1
0.047619
false
0
0.238095
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04a511328ea6812f5cb4a82610bb9fa3c6ef7ac1
501
py
Python
right_click_action.py
greatfirsty/hellopython
f12aacf36b8f208d6c5622ffd6b4c1927f37b45a
[ "Apache-2.0" ]
1
2019-05-04T01:25:43.000Z
2019-05-04T01:25:43.000Z
right_click_action.py
greatfirsty/hellopython
f12aacf36b8f208d6c5622ffd6b4c1927f37b45a
[ "Apache-2.0" ]
null
null
null
right_click_action.py
greatfirsty/hellopython
f12aacf36b8f208d6c5622ffd6b4c1927f37b45a
[ "Apache-2.0" ]
null
null
null
from selenium import webdriver from selenium.webdriver import ActionChains dr = webdriver.Chrome() dr.get('https://yunpan.360.cn/') account = dr.find_element_by_name("account") account.clear() account.send_keys('183xxxx') password = dr.find_element_by_name("password") password.clear() password.send_keys('hxxxxxxx') l...
33.4
112
0.788423
71
501
5.394366
0.535211
0.046997
0.101828
0.117493
0.099217
0
0
0
0
0
0
0.012766
0.061876
501
15
113
33.4
0.802128
0.041916
0
0
0
0.083333
0.26875
0.054167
0
0
0
0
0
1
0
false
0.25
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
04a51c3634fa37cb65a083a5e078715450463600
260
py
Python
registration/get_image.py
roguen/jive-derby
bc9e0f63e4298c3f1869288345d79e320fd20b65
[ "Apache-2.0" ]
null
null
null
registration/get_image.py
roguen/jive-derby
bc9e0f63e4298c3f1869288345d79e320fd20b65
[ "Apache-2.0" ]
null
null
null
registration/get_image.py
roguen/jive-derby
bc9e0f63e4298c3f1869288345d79e320fd20b65
[ "Apache-2.0" ]
null
null
null
from picamera import PiCamera import time def captureImage(): camera = PiCamera() camera.start_preview() camera.rotation = 90 time.sleep(1) camera.capture('static/images/test.jpg') camera.stop_preview() if __name__ == '__main__': captureImage()
17.333333
41
0.730769
32
260
5.625
0.6875
0.155556
0
0
0
0
0
0
0
0
0
0.013514
0.146154
260
14
42
18.571429
0.797297
0
0
0
0
0
0.115385
0.084615
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04a537a4ea9b99aa485e266be76f21169340f9a5
329
py
Python
src/api/__init__.py
week-with-me/fastapi-graphql
faf0ab428e47f09c1d4d3939c03e98320962a45b
[ "MIT" ]
null
null
null
src/api/__init__.py
week-with-me/fastapi-graphql
faf0ab428e47f09c1d4d3939c03e98320962a45b
[ "MIT" ]
null
null
null
src/api/__init__.py
week-with-me/fastapi-graphql
faf0ab428e47f09c1d4d3939c03e98320962a45b
[ "MIT" ]
null
null
null
from fastapi import APIRouter from src.api import graphql, rest from src.core import get_settings router = APIRouter() router.include_router( router = graphql.router, prefix = get_settings().GRAPHQL_API, tags = ['GraphQL'] ) router.include_router( router = rest.router, prefix = get_settings().R...
20.5625
40
0.723404
42
329
5.5
0.357143
0.142857
0.164502
0.21645
0
0
0
0
0
0
0
0
0.179331
329
16
41
20.5625
0.855556
0
0
0.153846
0
0
0.021212
0
0
0
0
0
0
1
0
false
0
0.230769
0
0.230769
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04a725fd777c3aa01c9d14a46b6d2bdbf741ca2a
4,012
py
Python
gpvdm_gui/gui/scan_tab_ribbon.py
roderickmackenzie/gpvdm
914fd2ee93e7202339853acaec1d61d59b789987
[ "BSD-3-Clause" ]
12
2016-09-13T08:58:13.000Z
2022-01-17T07:04:52.000Z
gpvdm_gui/gui/scan_tab_ribbon.py
roderickmackenzie/gpvdm
914fd2ee93e7202339853acaec1d61d59b789987
[ "BSD-3-Clause" ]
3
2017-11-11T12:33:02.000Z
2019-03-08T00:48:08.000Z
gpvdm_gui/gui/scan_tab_ribbon.py
roderickmackenzie/gpvdm
914fd2ee93e7202339853acaec1d61d59b789987
[ "BSD-3-Clause" ]
6
2019-01-03T06:17:12.000Z
2022-01-01T15:59:00.000Z
# -*- coding: utf-8 -*- # # General-purpose Photovoltaic Device Model - a drift diffusion base/Shockley-Read-Hall # model for 1st, 2nd and 3rd generation solar cells. # Copyright (C) 2008-2022 Roderick C. I. MacKenzie r.c.i.mackenzie at googlemail.com # # https://www.gpvdm.com # # This program is free ...
30.165414
166
0.738285
586
4,012
4.890785
0.366894
0.033496
0.039079
0.04187
0.150035
0.111654
0.06141
0.06141
0.030007
0
0
0.018721
0.134596
4,012
132
167
30.393939
0.80674
0.356431
0
0
0
0
0.06769
0
0
0
0
0
0
1
0.066667
false
0
0.2
0
0.3
0.016667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04a74e30d5419ee313811575840ab17653f5c839
43
py
Python
ctfcli/__init__.py
MilyMilo/ctfcli
335d7b74b8b24924e42f5d96a9a68d9327e11ceb
[ "Apache-2.0" ]
null
null
null
ctfcli/__init__.py
MilyMilo/ctfcli
335d7b74b8b24924e42f5d96a9a68d9327e11ceb
[ "Apache-2.0" ]
null
null
null
ctfcli/__init__.py
MilyMilo/ctfcli
335d7b74b8b24924e42f5d96a9a68d9327e11ceb
[ "Apache-2.0" ]
null
null
null
__version__ = "0.0.10" __name__ = "ctfcli"
14.333333
22
0.674419
6
43
3.5
0.833333
0
0
0
0
0
0
0
0
0
0
0.108108
0.139535
43
2
23
21.5
0.459459
0
0
0
0
0
0.27907
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
04a775d42c495fff1900d8dbaff701bb8784c81d
5,666
py
Python
sdk/python/pulumi_ucloud/udb/get_db_instance.py
AaronFriel/pulumi-ucloud
199278786dddf46bdd370f3f805e30b279c63ff2
[ "ECL-2.0", "Apache-2.0" ]
4
2021-08-18T04:55:38.000Z
2021-09-08T07:59:24.000Z
sdk/python/pulumi_ucloud/udb/get_db_instance.py
AaronFriel/pulumi-ucloud
199278786dddf46bdd370f3f805e30b279c63ff2
[ "ECL-2.0", "Apache-2.0" ]
1
2022-01-28T17:59:37.000Z
2022-01-29T03:44:09.000Z
sdk/python/pulumi_ucloud/udb/get_db_instance.py
AaronFriel/pulumi-ucloud
199278786dddf46bdd370f3f805e30b279c63ff2
[ "ECL-2.0", "Apache-2.0" ]
2
2021-06-23T07:10:40.000Z
2021-06-23T09:25:12.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
37.523179
203
0.666961
678
5,666
5.30826
0.235988
0.080022
0.03112
0.05835
0.128925
0.05446
0.05446
0
0
0
0
0.001153
0.234557
5,666
150
204
37.773333
0.828683
0.21179
0
0.091837
1
0
0.152326
0.023953
0
0
0
0
0
1
0.102041
false
0
0.061224
0.030612
0.27551
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04a7d1ad3d2c4355c91792c04e9a6461198ad07a
2,855
py
Python
Components/text.py
amauri-bz/az_log_viewer
3d11bf94993e34ce1253266b9bcf64db4c4ba6c4
[ "MIT" ]
null
null
null
Components/text.py
amauri-bz/az_log_viewer
3d11bf94993e34ce1253266b9bcf64db4c4ba6c4
[ "MIT" ]
null
null
null
Components/text.py
amauri-bz/az_log_viewer
3d11bf94993e34ce1253266b9bcf64db4c4ba6c4
[ "MIT" ]
null
null
null
import re import tkinter as tk from tkinter import ttk from Components.db import Database from Components.pop_up_menu import PopUpMenu from Components.text_sync import TextSync from Components.custom_text import * class TextScrollCombo(tk.Frame): def __init__(self, root, tab): super().__init__(root, bg='...
33.588235
96
0.594396
370
2,855
4.467568
0.345946
0.101633
0.029038
0.020569
0.031458
0.031458
0
0
0
0
0
0.010057
0.268651
2,855
84
97
33.988095
0.781609
0.022767
0
0.030769
0
0
0.055974
0
0
0
0
0
0
1
0.092308
false
0
0.107692
0
0.215385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04a925ee94d0667d1c3744e9e776c953289f89bb
2,376
py
Python
test.py
JavanTang/Chinese-Text-Classification-Pytorch
d3e99ad7b4b824ebb63b6c6c7d9b29d00714a4aa
[ "MIT" ]
null
null
null
test.py
JavanTang/Chinese-Text-Classification-Pytorch
d3e99ad7b4b824ebb63b6c6c7d9b29d00714a4aa
[ "MIT" ]
null
null
null
test.py
JavanTang/Chinese-Text-Classification-Pytorch
d3e99ad7b4b824ebb63b6c6c7d9b29d00714a4aa
[ "MIT" ]
null
null
null
''' @Author: TangZhiFeng @Data: Do not edit @LastEditors: TangZhiFeng @LastEditTime: 2020-04-16 09:59:59 @Description: ''' import numpy as np import os import pickle as pkl import torch import unittest # The test framework from models import FastText from utils_fasttext import sentance2ids, build_iterator config = F...
35.462687
124
0.639731
316
2,376
4.60443
0.382911
0.049485
0.030928
0.041237
0.046735
0
0
0
0
0
0
0.020613
0.244529
2,376
66
125
36
0.789972
0.071549
0
0.076923
1
0
0.026424
0
0
0
0
0
0.038462
1
0.057692
false
0
0.134615
0
0.230769
0.019231
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04a9860077d854d091c1198ef151308897080df1
1,913
py
Python
applications/plugins/Compliant/examples/chain.py
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
applications/plugins/Compliant/examples/chain.py
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
applications/plugins/Compliant/examples/chain.py
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
import Sofa from Compliant import StructuralAPI StructuralAPI.geometric_stiffness=2 def createScene(root): # root node setup root.createObject('RequiredPlugin', pluginName = 'Compliant') root.createObject('VisualStyle', displayFlags="showBehavior" ) root.createObject('CompliantAttachButtonSettin...
35.425926
150
0.651856
229
1,913
5.414847
0.393013
0.017742
0.014516
0.029032
0.194355
0.16129
0.120968
0.120968
0.120968
0.095161
0
0.04405
0.204914
1,913
53
151
36.09434
0.771203
0.170413
0
0
0
0
0.135324
0.032402
0
0
0
0
0
1
0.037037
false
0
0.074074
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04a9cf8fa788b8c75de2f502190ad9f5825f1285
5,636
py
Python
cwe_sfp_to_threatspec.py
threatspec/pythreatspec
77c0c7d3052adaeb91ea28ae61e60538c6d3fa9b
[ "MIT" ]
10
2018-01-14T22:53:29.000Z
2019-05-22T08:26:56.000Z
cwe_sfp_to_threatspec.py
threatspec/pythreatspec
77c0c7d3052adaeb91ea28ae61e60538c6d3fa9b
[ "MIT" ]
1
2019-02-17T23:39:19.000Z
2019-02-17T23:39:19.000Z
cwe_sfp_to_threatspec.py
threatspec/pythreatspec
77c0c7d3052adaeb91ea28ae61e60538c6d3fa9b
[ "MIT" ]
4
2018-03-03T03:16:37.000Z
2019-02-17T03:09:33.000Z
#!/usr/bin/env python import re import sys import xmltodict import json import time import collections from pprint import pprint def create_id(obj): identifier = obj["@ID"] name = obj["@Name"] name = re.sub(r'[^a-zA-Z0-9_ \-]', "", name) name = re.sub(r'[ \-]', "_", name) name = name.lower() ...
32.767442
238
0.617814
611
5,636
5.513912
0.199673
0.044524
0.014248
0.011873
0.280499
0.231226
0.217275
0.162066
0.11873
0.074206
0
0.004631
0.233676
5,636
171
239
32.959064
0.775411
0.009936
0
0.189781
0
0
0.24081
0.034069
0
0
0
0
0
1
0.043796
false
0
0.051095
0.007299
0.160584
0.029197
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04aa7910e8cab379189e19322c7e515caccf7fc0
6,548
py
Python
py-algo/sorting/comparision.py
FPGSchiba/py-algo
35cfa6cd82585ecaf58473f0595ebfb5e2331d70
[ "Apache-2.0" ]
null
null
null
py-algo/sorting/comparision.py
FPGSchiba/py-algo
35cfa6cd82585ecaf58473f0595ebfb5e2331d70
[ "Apache-2.0" ]
null
null
null
py-algo/sorting/comparision.py
FPGSchiba/py-algo
35cfa6cd82585ecaf58473f0595ebfb5e2331d70
[ "Apache-2.0" ]
null
null
null
""" Algorithms are from here: https://en.wikipedia.org/wiki/Sorting_algorithm#Comparison_sorts """ import math from heapq import heappop, heappush def quicksort(array: list) -> list: """ Quicksort Algorithm, implemented with the Explanation on: https://en.wikipedia.org/wiki/Quicksort :param array: The arr...
23.056338
111
0.619273
859
6,548
4.630966
0.124563
0.090498
0.096531
0.11463
0.509301
0.452489
0.338864
0.316742
0.275264
0.138512
0
0.0086
0.254123
6,548
283
112
23.137809
0.805897
0.367288
0
0.228814
0
0
0
0
0
0
0
0
0
1
0.228814
false
0
0.016949
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
04aa8d5140919fcae6e3bfc59fd518b87bf275c1
138
py
Python
pubmed/test.py
excelsimon/Pubmed-author_email-extract
2936573ae3c466021a6f7686c7f9de8c329c69eb
[ "MIT" ]
1
2017-08-14T03:49:03.000Z
2017-08-14T03:49:03.000Z
pubmed/test.py
excelsimon/Pubmed-author_email-extract
2936573ae3c466021a6f7686c7f9de8c329c69eb
[ "MIT" ]
null
null
null
pubmed/test.py
excelsimon/Pubmed-author_email-extract
2936573ae3c466021a6f7686c7f9de8c329c69eb
[ "MIT" ]
4
2017-05-13T05:27:52.000Z
2020-11-05T16:17:20.000Z
emailList = [] f = open('test.txt','r') for ln in f: if ' ' in ln: continue emailList.append(ln) print 'emailList: ',emailList
17.25
30
0.608696
20
138
4.2
0.65
0
0
0
0
0
0
0
0
0
0
0
0.224638
138
7
31
19.714286
0.785047
0
0
0
0
0
0.160305
0
0
0
0
0
0
0
null
null
0
0
null
null
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
04aa9f21674cf91fc3a982364012ad0b721101c2
690
py
Python
aoc20211221a.py
BarnabyShearer/aoc
4feb66c668b068f0f42ad99b916e80732eba5a2d
[ "MIT" ]
null
null
null
aoc20211221a.py
BarnabyShearer/aoc
4feb66c668b068f0f42ad99b916e80732eba5a2d
[ "MIT" ]
null
null
null
aoc20211221a.py
BarnabyShearer/aoc
4feb66c668b068f0f42ad99b916e80732eba5a2d
[ "MIT" ]
null
null
null
def parse(data): return [int(l.split()[-1]) for l in data.split("\n")] def to10(x): return (x - 1) % 10 + 1 def deterministic_die(): while True: yield from range(1, 101) def turn(die, start): return to10(start + next(die) + next(die) + next(die)) def game(die, players, target): score...
20.909091
63
0.546377
97
690
3.865979
0.412371
0.056
0.058667
0.074667
0
0
0
0
0
0
0
0.041754
0.305797
690
32
64
21.5625
0.741127
0
0
0.090909
0
0
0.002899
0
0
0
0
0
0
1
0.272727
false
0
0
0.136364
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
04ad585a9a2b68ae8175682dbfc62c2645117883
300
py
Python
baseline/crosswalk.py
wko/clinical-trial-criteria-translation
1478c5bab3511c7a92313a488510641d161deeff
[ "Apache-2.0" ]
null
null
null
baseline/crosswalk.py
wko/clinical-trial-criteria-translation
1478c5bab3511c7a92313a488510641d161deeff
[ "Apache-2.0" ]
null
null
null
baseline/crosswalk.py
wko/clinical-trial-criteria-translation
1478c5bab3511c7a92313a488510641d161deeff
[ "Apache-2.0" ]
null
null
null
import requests import os # translate CUIs into SNOMED Ids def crosswalk(cui): headers = {'Accept': 'application/xml'} data = {"data": cui} mapping = requests.post(f"{os.environ['METAMAP_WEB_URL']}crosswalk", data = data) print(mapping.text) return mapping.text.splitlines()
27.272727
85
0.683333
38
300
5.342105
0.710526
0.078818
0
0
0
0
0
0
0
0
0
0
0.18
300
10
86
30
0.825203
0.1
0
0
0
0
0.242537
0.149254
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5
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
04ae09bb61ba231f35c7bc90f21c1f434a2f9b74
4,469
py
Python
DAO.py
arturj9/sistema-mercearia-python
000c7e887350768483d7a7a6058f2a5d0dcaa83d
[ "MIT" ]
null
null
null
DAO.py
arturj9/sistema-mercearia-python
000c7e887350768483d7a7a6058f2a5d0dcaa83d
[ "MIT" ]
null
null
null
DAO.py
arturj9/sistema-mercearia-python
000c7e887350768483d7a7a6058f2a5d0dcaa83d
[ "MIT" ]
null
null
null
from Models import * class DaoCategoria: @classmethod def salvar(cls, categoria): with open('arquivos-txt/categoria.txt', 'a') as arq: arq.writelines(categoria) arq.writelines('\n') @classmethod def ler(cls): with open('arquivos-txt/categoria.txt', 'r') as arq: ...
42.160377
85
0.55829
532
4,469
4.68985
0.146617
0.067335
0.076954
0.091383
0.492585
0.470942
0.322645
0.220441
0.154709
0.154709
0
0.008032
0.275677
4,469
106
86
42.160377
0.762743
0
0
0.226415
0
0
0.083221
0.069351
0
0
0
0
0
1
0.113208
false
0
0.009434
0
0.235849
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04ae9a2e77bc4446dfbf168a4becf211916997ba
1,221
py
Python
invenio_previewer/extensions/gis.py
nyudlts/invenio-previewer
89da1108a8ed8c38e98bebc470d33e0447bea277
[ "MIT" ]
null
null
null
invenio_previewer/extensions/gis.py
nyudlts/invenio-previewer
89da1108a8ed8c38e98bebc470d33e0447bea277
[ "MIT" ]
null
null
null
invenio_previewer/extensions/gis.py
nyudlts/invenio-previewer
89da1108a8ed8c38e98bebc470d33e0447bea277
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """GIS data previewer""" from __future__ import absolute_import, print_function from flask import render_template from ..proxies import current_previewer import zipfile import cchardet as chardet from six import binary_type previewable_extensions = ['zip'] def can_preview(file): """Chec...
30.525
78
0.638002
153
1,221
4.934641
0.490196
0.063576
0.029139
0
0
0
0
0
0
0
0
0.004306
0.239148
1,221
39
79
31.307692
0.808396
0.126126
0
0.074074
0
0
0.082936
0.024786
0
0
0
0
0
1
0.074074
false
0
0.222222
0
0.37037
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04aee130a0ba58f7ca67dbf66a4de44e593214db
485
py
Python
utils.py
B-Trindade/Trabalho-Final
70459a9492cb81c552e6465e846558c608102412
[ "MIT" ]
null
null
null
utils.py
B-Trindade/Trabalho-Final
70459a9492cb81c552e6465e846558c608102412
[ "MIT" ]
null
null
null
utils.py
B-Trindade/Trabalho-Final
70459a9492cb81c552e6465e846558c608102412
[ "MIT" ]
null
null
null
from dataclasses import dataclass from enum import Enum TIMEOUT = 3 CMD_END = 'end' BUFSIZE = 4096 class TypeEnum(Enum): HOST = 'Host' SERVER = 'Server' @dataclass class RegisterMsg: type: TypeEnum name: str @dataclass class RegisterResultMsg: success: bool full_domain: str = None error_...
14.69697
33
0.71134
57
485
6
0.561404
0.204678
0.093567
0.122807
0
0
0
0
0
0
0
0.013193
0.218557
485
33
34
14.69697
0.889182
0
0
0.269231
0
0
0.026749
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.692308
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04afe6fb467023d132550f2ffcf876586c931bf4
561
py
Python
dictionary/models/kanji_reference_daikanwajiten.py
kaikeru/japanese-tools
39ae7be0590954aae0976141a57d7ae59e85891c
[ "MIT" ]
null
null
null
dictionary/models/kanji_reference_daikanwajiten.py
kaikeru/japanese-tools
39ae7be0590954aae0976141a57d7ae59e85891c
[ "MIT" ]
null
null
null
dictionary/models/kanji_reference_daikanwajiten.py
kaikeru/japanese-tools
39ae7be0590954aae0976141a57d7ae59e85891c
[ "MIT" ]
null
null
null
"""The version information of the kanjidict2.xml file.""" from peewee import CharField, ForeignKeyField from models.base import BaseModel from models.kanji_reference_index import KanjiReferenceIndex class KanjiReferenceDaikanwajiten(BaseModel): """Kanji""" volume = CharField(max_length=32) page = CharFi...
26.714286
60
0.736185
56
561
7.196429
0.607143
0.104218
0.094293
0.099256
0
0
0
0
0
0
0
0.010917
0.183601
561
20
61
28.05
0.868996
0.128342
0
0
0
0
0.112051
0.112051
0
0
0
0
0
1
0
false
0
0.25
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
04b09aa8713d5ab8e03aaae8e43c98c2dc1a8ee7
23
py
Python
zipfanalysis/__init__.py
chasmani/zipfanalysis
ffec413522037005fa70441e7b15f9675a11cd78
[ "MIT" ]
null
null
null
zipfanalysis/__init__.py
chasmani/zipfanalysis
ffec413522037005fa70441e7b15f9675a11cd78
[ "MIT" ]
null
null
null
zipfanalysis/__init__.py
chasmani/zipfanalysis
ffec413522037005fa70441e7b15f9675a11cd78
[ "MIT" ]
null
null
null
from .main import all
7.666667
21
0.73913
4
23
4.25
1
0
0
0
0
0
0
0
0
0
0
0
0.217391
23
2
22
11.5
0.944444
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
04b24242aa80e1798826b605b90f49e757941f2e
4,153
py
Python
code/entity2facts.py
Program-Bear/WalkingNetwork
b19ab91ba85e08992bf6afa865655deeaa19c509
[ "BSD-3-Clause" ]
null
null
null
code/entity2facts.py
Program-Bear/WalkingNetwork
b19ab91ba85e08992bf6afa865655deeaa19c509
[ "BSD-3-Clause" ]
null
null
null
code/entity2facts.py
Program-Bear/WalkingNetwork
b19ab91ba85e08992bf6afa865655deeaa19c509
[ "BSD-3-Clause" ]
3
2018-04-13T05:50:09.000Z
2019-01-05T06:55:53.000Z
import numpy as np import json from tqdm import tqdm def process(temp): temp = temp.split('(')[1] temp = temp.split(')')[0] _id = temp.split(',')[0] _start = temp.split(',')[1] _len = temp.split(',')[2] # print(_id) return int(_id),int(_start),int(_len) def genDict(): dic = {} file_o...
31.462121
102
0.596196
566
4,153
4.176678
0.194346
0.079103
0.023689
0.028765
0.230118
0.14044
0.14044
0.14044
0.14044
0.14044
0
0.029793
0.256441
4,153
131
103
31.70229
0.735751
0.147604
0
0.065217
0
0
0.088352
0.029545
0
0
0
0
0
1
0.086957
false
0
0.032609
0
0.195652
0.054348
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04b4c42aeadb0c3faacf2f366d88c42a83a72272
871
py
Python
playground.py
Hank0438/heap_tracer
5783e605bbbb85e88767450ed1865b9aebef1bc6
[ "BSD-2-Clause" ]
null
null
null
playground.py
Hank0438/heap_tracer
5783e605bbbb85e88767450ed1865b9aebef1bc6
[ "BSD-2-Clause" ]
null
null
null
playground.py
Hank0438/heap_tracer
5783e605bbbb85e88767450ed1865b9aebef1bc6
[ "BSD-2-Clause" ]
null
null
null
from pwn import * r = process("./playground.c") libc = ELF("/lib/x86_64-linux-gnu/libc-2.27.so") # libc = ELF("/lib/x86_64-linux-gnu/libc-2.23.so") def malloc(num): r.recvuntil(">") r.sendline("1") r.recvuntil(": ") r.sendline(str(num)) def fill_chunk(num): r.recvuntil(">") r....
19.355556
51
0.541906
120
871
3.891667
0.308333
0.256959
0.282655
0.488223
0.708779
0.473233
0.4197
0.119914
0.119914
0
0
0.031627
0.237658
871
45
52
19.355556
0.671687
0.055109
0
0.514286
0
0
0.092545
0.043702
0
0
0
0
0
1
0.171429
false
0
0.028571
0
0.2
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
04b4f10598762d63bb71bbd110f945725a0e5a07
550
py
Python
nodes/0.9.x/python/View.DisableTemporaryHideIsolate.py
jdehotin/Clockworkfordynamo
59226ea8292c57acfa1aa476efd40f0e78c9b965
[ "MIT" ]
147
2016-02-24T16:37:03.000Z
2022-02-18T12:10:34.000Z
nodes/0.9.x/python/View.DisableTemporaryHideIsolate.py
jdehotin/Clockworkfordynamo
59226ea8292c57acfa1aa476efd40f0e78c9b965
[ "MIT" ]
269
2016-02-25T14:04:14.000Z
2022-03-26T07:30:53.000Z
nodes/0.9.x/python/View.DisableTemporaryHideIsolate.py
jdehotin/Clockworkfordynamo
59226ea8292c57acfa1aa476efd40f0e78c9b965
[ "MIT" ]
89
2016-03-16T18:21:56.000Z
2022-02-03T14:34:30.000Z
import clr clr.AddReference('RevitAPI') from Autodesk.Revit.DB import * clr.AddReference("RevitServices") import RevitServices from RevitServices.Persistence import DocumentManager from RevitServices.Transactions import TransactionManager doc = DocumentManager.Instance.CurrentDBDocument view = UnwrapElement(IN[0]) Tr...
34.375
70
0.858182
50
550
9.44
0.58
0.038136
0
0
0
0
0
0
0
0
0
0.001946
0.065455
550
16
71
34.375
0.916342
0
0
0
0
0
0.038113
0
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
04b54af5409bd211bebf59e0e6f1b320669915e5
4,533
py
Python
EyePatterns/prepare_data/format_data.py
Sale1996/Pattern-detection-of-eye-tracking-scanpaths
15c832f26dce98bb95445f9f39f454f99bbb6029
[ "MIT" ]
1
2021-12-07T08:02:30.000Z
2021-12-07T08:02:30.000Z
EyePatterns/prepare_data/format_data.py
Sale1996/Pattern-detection-of-eye-tracking-scanpaths
15c832f26dce98bb95445f9f39f454f99bbb6029
[ "MIT" ]
null
null
null
EyePatterns/prepare_data/format_data.py
Sale1996/Pattern-detection-of-eye-tracking-scanpaths
15c832f26dce98bb95445f9f39f454f99bbb6029
[ "MIT" ]
null
null
null
import os import numpy as np # collecting all csv files from forwarded directory def collect_csv_data_collection_from_directory(path): import pandas as pd import os data_collection = [] for csv_name in os.listdir(path): csv_path = os.path.join(path, csv_name) data_collection.append(p...
35.139535
118
0.698875
632
4,533
4.705696
0.197785
0.075319
0.033289
0.060525
0.408204
0.346671
0.284802
0.246469
0.190989
0.167451
0
0.011432
0.228105
4,533
128
119
35.414063
0.838525
0.206927
0
0.345238
0
0
0.017049
0.007267
0
0
0
0
0
1
0.071429
false
0
0.166667
0
0.297619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04b5bdc0bd251cb1ebbbc0b150a7e991848278cf
6,432
py
Python
workon/utils/cache.py
devittek/django-workon
c39ddecac2649406a7a58922646478c5615d4cfd
[ "BSD-3-Clause" ]
1
2018-01-19T16:08:54.000Z
2018-01-19T16:08:54.000Z
workon/utils/cache.py
devittek/django-workon
c39ddecac2649406a7a58922646478c5615d4cfd
[ "BSD-3-Clause" ]
1
2020-07-06T08:35:18.000Z
2020-07-06T08:35:18.000Z
workon/utils/cache.py
devittek/django-workon
c39ddecac2649406a7a58922646478c5615d4cfd
[ "BSD-3-Clause" ]
4
2020-04-08T06:14:46.000Z
2020-12-11T14:28:06.000Z
from time import time import threading from functools import partial from django.utils.functional import cached_property from django.core.cache import cache try: import asyncio except (ImportError, SyntaxError): asyncio = None __all__ = [ "cached_property", "cached_property_with_ttl", "memoize",...
29.504587
96
0.632929
796
6,432
4.741206
0.226131
0.09274
0.057234
0.066773
0.360625
0.263646
0.233439
0.175941
0.175941
0.160042
0
0.005877
0.285759
6,432
218
97
29.504587
0.815629
0.367693
0
0.33913
0
0
0.021118
0.006181
0
0
0
0
0
1
0.156522
false
0.017391
0.06087
0.008696
0.408696
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04b6786e9894f69411222677b03453691f564ef4
94
py
Python
exercism/python/gigasecond/gigasecond.py
Cythun/online-judge-practice
1205480a2ff30e2a698917a7717ffe4db2fba2a5
[ "MIT" ]
null
null
null
exercism/python/gigasecond/gigasecond.py
Cythun/online-judge-practice
1205480a2ff30e2a698917a7717ffe4db2fba2a5
[ "MIT" ]
null
null
null
exercism/python/gigasecond/gigasecond.py
Cythun/online-judge-practice
1205480a2ff30e2a698917a7717ffe4db2fba2a5
[ "MIT" ]
null
null
null
import datetime def add_gigasecond(moment): return moment + datetime.timedelta(0, 10**9)
18.8
48
0.744681
13
94
5.307692
0.846154
0
0
0
0
0
0
0
0
0
0
0.05
0.148936
94
4
49
23.5
0.8125
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
04b6a85ac9932e9cbfd03042b0f9d5385ad450ca
22,179
py
Python
src/roto/roto.py
joshbriegal/roto
58694285932e101286e407bc521b2fa80e4eed47
[ "MIT" ]
null
null
null
src/roto/roto.py
joshbriegal/roto
58694285932e101286e407bc521b2fa80e4eed47
[ "MIT" ]
3
2021-09-15T10:08:47.000Z
2021-09-16T17:15:55.000Z
src/roto/roto.py
joshbriegal/roto
58694285932e101286e407bc521b2fa80e4eed47
[ "MIT" ]
null
null
null
import logging from itertools import cycle from typing import Dict, List, Optional, Tuple, Union import matplotlib.cm as cm import matplotlib.pyplot as plt import numpy as np import pandas as pd from matplotlib.axes import Axes from matplotlib.figure import Figure from matplotlib.ticker import ScalarFormatter from sci...
34.927559
152
0.550881
2,425
22,179
4.865567
0.148041
0.016273
0.016018
0.013645
0.368421
0.313925
0.257988
0.235528
0.187982
0.158742
0
0.007081
0.356914
22,179
634
153
34.98265
0.820094
0.142026
0
0.252654
0
0.008493
0.079682
0.002971
0
0
0
0
0
1
0.027601
false
0
0.036093
0.002123
0.101911
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04b7f98003c0b24cde19fd3cad194d882da25e7b
4,455
py
Python
experiments/experiment_6.py
arijitnoobstar/OnitamaDeepRL
e561b22fe7728f51c1f1a078dfb19aa008bf010e
[ "Apache-2.0" ]
3
2021-05-16T08:43:09.000Z
2021-05-31T16:23:43.000Z
experiments/experiment_6.py
mion666459/OnitamaAI
e561b22fe7728f51c1f1a078dfb19aa008bf010e
[ "Apache-2.0" ]
null
null
null
experiments/experiment_6.py
mion666459/OnitamaAI
e561b22fe7728f51c1f1a078dfb19aa008bf010e
[ "Apache-2.0" ]
1
2021-05-28T10:07:50.000Z
2021-05-28T10:07:50.000Z
# access Train.py in parent folder and set relative folder to parent folder for data saving import os import sys os.chdir("..") sys.path.insert(1, os.path.join(sys.path[0], '..')) from Train import * """ The purpose of this experiment is to lower the val constabt for multiply to see if it can compromise validity to l...
75.508475
142
0.707071
671
4,455
4.330849
0.174367
0.016518
0.024776
0.039573
0.877495
0.877495
0.877495
0.877495
0.877495
0.877495
0
0.08391
0.18945
4,455
59
143
75.508475
0.720853
0.030976
0
0.568182
0
0
0.097748
0.062051
0
0
0
0
0
1
0
false
0
0.068182
0
0.068182
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
04b810df629398a8386d9f310c6d63fef1c5faa9
2,638
py
Python
testPrintProfile2.py
dmsteck/paper-regularized-qn-benchmark
b07ed54ca50af4bf2cf45952c103f3f80b62f5e2
[ "MIT" ]
null
null
null
testPrintProfile2.py
dmsteck/paper-regularized-qn-benchmark
b07ed54ca50af4bf2cf45952c103f3f80b62f5e2
[ "MIT" ]
null
null
null
testPrintProfile2.py
dmsteck/paper-regularized-qn-benchmark
b07ed54ca50af4bf2cf45952c103f3f80b62f5e2
[ "MIT" ]
1
2019-12-05T11:55:16.000Z
2019-12-05T11:55:16.000Z
""" ... """ import numpy as np import matplotlib.pyplot as plt from utility import parameters from utility import perfprof algorithms = ['regLBFGS', 'armijoLBFGS', 'wolfeLBFGS'] # Read all the data in the ugliest fashion possible nfM = np.array([np.loadtxt(f"results/{a}_solve.csv", delimiter=',')[:, 0] for a in alg...
46.280702
123
0.690675
397
2,638
4.534005
0.241814
0.045
0.04
0.071111
0.613889
0.592778
0.592778
0.5
0.482222
0.443333
0
0.022148
0.092873
2,638
56
124
47.107143
0.730046
0.059515
0
0.108108
0
0
0.221952
0.104091
0
0
0
0
0
1
0
false
0
0.108108
0
0.108108
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04b93f24806cca8ae65455322559cca6b35b9e43
5,315
py
Python
src/train_eval.py
1amG4bor/mlflow-for-model-improvement
9ec653a8d20b353b1d049dd509cd1b680b6152b1
[ "MIT" ]
1
2021-11-27T23:05:36.000Z
2021-11-27T23:05:36.000Z
src/train_eval.py
1amG4bor/mlflow-for-model-improvement
9ec653a8d20b353b1d049dd509cd1b680b6152b1
[ "MIT" ]
null
null
null
src/train_eval.py
1amG4bor/mlflow-for-model-improvement
9ec653a8d20b353b1d049dd509cd1b680b6152b1
[ "MIT" ]
null
null
null
"""Train and evaluate Tool The script utilizes the 2 main inputs which are the config.yml and the CLI params. With the combination of these configuration 2 running branches are possible: - Training workflow: - Load the dataset - Create a model with the provided configuration - Train then save the model ...
41.850394
118
0.665663
690
5,315
4.908696
0.284058
0.031887
0.012991
0.012991
0.082079
0.082079
0.065545
0.065545
0.065545
0.032477
0
0.003692
0.23556
5,315
126
119
42.18254
0.829929
0.253246
0
0.028169
0
0.014085
0.198106
0.017917
0
0
0
0
0
1
0.028169
false
0
0.084507
0
0.140845
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04b9c4193420eabe9013aae3e035a41bbd7078ad
5,959
py
Python
model_tools/brain_transformation/neural.py
franzigeiger/model-tools-1
124e1ee688161d1e671dad33c0ebefd001d78ef6
[ "MIT" ]
null
null
null
model_tools/brain_transformation/neural.py
franzigeiger/model-tools-1
124e1ee688161d1e671dad33c0ebefd001d78ef6
[ "MIT" ]
null
null
null
model_tools/brain_transformation/neural.py
franzigeiger/model-tools-1
124e1ee688161d1e671dad33c0ebefd001d78ef6
[ "MIT" ]
null
null
null
import logging from collections import Iterable from typing import Optional, Union from tqdm import tqdm from brainscore.metrics import Score from brainscore.model_interface import BrainModel from brainscore.utils import fullname from model_tools.activations.pca import LayerPCA from model_tools.brain_transformation i...
48.056452
120
0.681322
654
5,959
5.954128
0.235474
0.084746
0.039034
0.034669
0.248074
0.172573
0.130971
0.025167
0.025167
0
0
0.003059
0.232086
5,959
123
121
48.447154
0.847902
0.062091
0
0.0625
0
0.010417
0.079236
0.032955
0
0
0
0
0.010417
1
0.114583
false
0.010417
0.104167
0.010417
0.302083
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04b9ede065050252c3c3e4b2e6533b22f204d546
1,504
py
Python
Instagram/forms.py
IsaacMurage-dev/Insta-lookalike
0b394a3e60c669dfb78e8d538e869cebbcec70b8
[ "MIT" ]
null
null
null
Instagram/forms.py
IsaacMurage-dev/Insta-lookalike
0b394a3e60c669dfb78e8d538e869cebbcec70b8
[ "MIT" ]
null
null
null
Instagram/forms.py
IsaacMurage-dev/Insta-lookalike
0b394a3e60c669dfb78e8d538e869cebbcec70b8
[ "MIT" ]
null
null
null
from django import forms from .models import Profile,Image,Comment from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User class SignUpForm(UserCreationForm): username=forms.CharField(max_length=30, required=False, help_text='Optional.') first_name = forms.CharField(...
38.564103
121
0.694149
180
1,504
5.672222
0.283333
0.052889
0.082272
0.112635
0.435847
0.291871
0.22331
0.22331
0.22331
0.22331
0
0.012136
0.178191
1,504
38
122
39.578947
0.813916
0
0
0.285714
0
0
0.156915
0
0
0
0
0
0
1
0
false
0.028571
0.114286
0
0.657143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
04bab0fcc8f0c4e3268cebb2cb3c07963e8a3db4
920
py
Python
test/test_extension/test_analytics.py
maximest-pierre/WebCore
543bfb79c0737917d1bd2a148eb61761ab6f6319
[ "MIT" ]
56
2015-05-13T16:08:06.000Z
2021-12-26T22:24:46.000Z
test/test_extension/test_analytics.py
maximest-pierre/WebCore
543bfb79c0737917d1bd2a148eb61761ab6f6319
[ "MIT" ]
104
2015-01-20T23:55:28.000Z
2021-03-01T03:29:47.000Z
test/test_extension/test_analytics.py
maximest-pierre/WebCore
543bfb79c0737917d1bd2a148eb61761ab6f6319
[ "MIT" ]
12
2015-05-22T15:46:39.000Z
2021-09-16T00:38:54.000Z
# encoding: utf-8 import time import pytest from webob import Request from web.core import Application from web.core.context import Context from web.ext.analytics import AnalyticsExtension def endpoint(context): time.sleep(0.1) return "Hi." sample = Application(endpoint, extensions=[AnalyticsExtension()]) def...
20.909091
70
0.746739
123
920
5.463415
0.439024
0.03125
0.032738
0.032738
0.139881
0
0
0
0
0
0
0.021066
0.122826
920
43
71
21.395349
0.811648
0.016304
0
0.074074
0
0
0.124169
0
0
0
0
0
0.148148
1
0.111111
false
0
0.296296
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04bca4a88f00324aeb6f010b963ad4ba1dfca984
441
py
Python
BlogManage/blog/views_upload.py
ahriknow/ahriknow
817b5670c964e01ffe19ed182ce0a7b42e17ce09
[ "MIT" ]
null
null
null
BlogManage/blog/views_upload.py
ahriknow/ahriknow
817b5670c964e01ffe19ed182ce0a7b42e17ce09
[ "MIT" ]
3
2021-03-19T01:28:43.000Z
2021-04-08T19:57:19.000Z
BlogManage/blog/views_upload.py
ahriknow/ahriknow
817b5670c964e01ffe19ed182ce0a7b42e17ce09
[ "MIT" ]
null
null
null
from rest_framework.response import Response from rest_framework.views import APIView class UploadView(APIView): def post(self, request): try: print(request.FILES) return Response( {'code': 200, 'msg': 'Upload Successfully!', 'data': 'https://api.ahriknow.com/image?...
33.923077
116
0.61678
52
441
5.192308
0.730769
0.059259
0.125926
0
0
0
0
0
0
0
0
0.021084
0.247166
441
12
117
36.75
0.792169
0
0
0
0
0
0.192744
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.6
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
04bede2bb92f42742c55f231f058a89b588c7e76
509
py
Python
src/app_util/__init__.py
jnsougata/app_util
941421523d38973486321f26b38aa4735ca0a9b2
[ "MIT" ]
null
null
null
src/app_util/__init__.py
jnsougata/app_util
941421523d38973486321f26b38aa4735ca0a9b2
[ "MIT" ]
null
null
null
src/app_util/__init__.py
jnsougata/app_util
941421523d38973486321f26b38aa4735ca0a9b2
[ "MIT" ]
null
null
null
""" Discord API Wrapper Extension ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ A basic application command extension for discord.py. :copyright: (c) 2022-present jnsougata :license: MIT, see LICENSE for more details. """ from .bot import Bot from .cog import Cog from .errors import * from .app import Overwrite from .context impo...
22.130435
53
0.744597
66
509
5.69697
0.575758
0.071809
0
0
0
0
0
0
0
0
0
0.009132
0.139489
509
22
54
23.136364
0.849315
0.390963
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
04bfca1416533395d9a700899a8b2c637f017d39
2,263
py
Python
to/lang/OpenCV-2.2.0/doc/plastex/latex.py
eirTony/INDI1
42642d8c632da53f60f2610b056547137793021b
[ "MIT" ]
null
null
null
to/lang/OpenCV-2.2.0/doc/plastex/latex.py
eirTony/INDI1
42642d8c632da53f60f2610b056547137793021b
[ "MIT" ]
14
2016-11-24T10:46:39.000Z
2016-12-10T07:24:15.000Z
to/lang/OpenCV-2.2.0/doc/plastex/latex.py
eirTony/INDI1
42642d8c632da53f60f2610b056547137793021b
[ "MIT" ]
null
null
null
import sys from pyparsing import Word, CharsNotIn, Optional, OneOrMore, ZeroOrMore, Group, ParseException, Literal, replaceWith import pyparsing help(pyparsing) class Argument: def __init__(self, s, loc, toks): self.str = toks[1] def __repr__(self): return "[%s]" % self.str def argfun(s, loc, ...
29.776316
135
0.612461
282
2,263
4.801418
0.294326
0.029542
0.059084
0.026588
0.104136
0.104136
0.104136
0.087149
0.087149
0.087149
0
0.018349
0.229342
2,263
75
136
30.173333
0.758028
0.022095
0
0.163934
0
0
0.052465
0.028042
0
0
0
0
0
0
null
null
0
0.04918
null
null
0.032787
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
04c01f5bb0f3d376b162b175bf648b2109a2b261
68
py
Python
gconfig.py
klince/ljd
eb3f9ecef12048be5fccb85bf4cb9cdfb63df344
[ "MIT" ]
112
2018-08-10T09:09:42.000Z
2022-03-31T02:44:02.000Z
gconfig.py
klince/ljd
eb3f9ecef12048be5fccb85bf4cb9cdfb63df344
[ "MIT" ]
null
null
null
gconfig.py
klince/ljd
eb3f9ecef12048be5fccb85bf4cb9cdfb63df344
[ "MIT" ]
59
2018-08-17T08:50:21.000Z
2022-02-08T19:12:04.000Z
#zzw 20180714 support str encode gFlagDic = {'strEncode' : 'ascii'}
22.666667
34
0.720588
8
68
6.125
1
0
0
0
0
0
0
0
0
0
0
0.137931
0.147059
68
3
34
22.666667
0.706897
0.455882
0
0
0
0
0.388889
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
04c05fe0493b6c15658cd872dfc53737c5f84819
737
py
Python
pymongolab/__init__.py
puentesarrin/pymongolab
159a46c6cf88313c11522503d9243e2e16d3d72c
[ "Apache-2.0" ]
2
2015-04-09T08:17:03.000Z
2016-05-17T23:42:36.000Z
pymongolab/__init__.py
puentesarrin/pymongolab
159a46c6cf88313c11522503d9243e2e16d3d72c
[ "Apache-2.0" ]
1
2015-02-12T17:25:17.000Z
2015-02-12T17:53:09.000Z
pymongolab/__init__.py
puentesarrin/pymongolab
159a46c6cf88313c11522503d9243e2e16d3d72c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 *-* """PyMongo_-flavored package for accessing to MongoLab databases via `MongoLabClient`. .. _PyMongo: http://api.mongodb.org/python/current/""" ASCENDING = 1 """Ascending sort order.""" DESCENDING = -1 """Descending sort order.""" OFF = 0 """No database profiling.""" SLOW_ONLY = 1 """Only pro...
21.057143
73
0.694708
92
737
5.423913
0.586957
0.12024
0.104208
0.064128
0.112224
0.112224
0
0
0
0
0
0.017405
0.142469
737
34
74
21.676471
0.772152
0.215739
0
0
0
0
0.007059
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04c092098ea8bed63aafcff967ba75911ecb4e0e
2,065
py
Python
Week 03/exercise05.py
JessicaHamilton/PHYS-3210
997fb9fbc43852ed32badaca68bed39bef2a1b0b
[ "MIT" ]
null
null
null
Week 03/exercise05.py
JessicaHamilton/PHYS-3210
997fb9fbc43852ed32badaca68bed39bef2a1b0b
[ "MIT" ]
null
null
null
Week 03/exercise05.py
JessicaHamilton/PHYS-3210
997fb9fbc43852ed32badaca68bed39bef2a1b0b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Sep 4 10:03:35 2019 @author: hamil """ import numpy as np import matplotlib.pyplot as plt def up_harmonic(value_n): H_up = 0.0 summ_array1 = [] new_x = value_n + 1 x_array1 = np.arange(1,new_x) for each_value in x_array1: numm1 = 1/each_value ...
27.905405
112
0.684746
355
2,065
3.794366
0.295775
0.022272
0.020045
0.022272
0.059391
0.017817
0
0
0
0
0
0.039604
0.217433
2,065
74
113
27.905405
0.793936
0.426634
0
0.051282
0
0
0.02584
0
0
0
0
0
0
1
0.051282
false
0
0.051282
0
0.153846
0.051282
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04c0b65e42c25329491e1c4286e88a08b669efe7
2,458
py
Python
src/cliptools/modules/data_loader.py
bigbirdcode/cliptools
992ddf2088462477992734af8eb00453bde3ce85
[ "MIT" ]
null
null
null
src/cliptools/modules/data_loader.py
bigbirdcode/cliptools
992ddf2088462477992734af8eb00453bde3ce85
[ "MIT" ]
6
2019-04-02T18:25:35.000Z
2019-08-21T20:24:16.000Z
src/cliptools/modules/data_loader.py
bigbirdcode/cliptools
992ddf2088462477992734af8eb00453bde3ce85
[ "MIT" ]
null
null
null
"""ClipTools clipboard manager and text processing tools with a lines based GUI interface Data loader, search for available personal data. WARNING, python file will be executed! When making python personal file, take care not allow uncontrolled changes! yaml is safer from this point of view. Note: logging is not par...
33.671233
85
0.702197
353
2,458
4.76204
0.365439
0.070791
0.039262
0.02677
0.350982
0.234384
0.143962
0.083284
0
0
0
0.001031
0.21074
2,458
72
86
34.138889
0.865464
0.485761
0
0.117647
0
0
0.064946
0
0
0
0
0
0
1
0.147059
false
0
0.117647
0
0.5
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
04c1820dcc2e20cd468a64c1d6ca1319a04e2cf5
25,660
py
Python
sysevr/slicer/access_db_operate.py
Saleh-Ibtasham/VulScrape
738d17e9dd7e5edc2341d106361651fd28f99c61
[ "PostgreSQL", "Unlicense", "MIT" ]
1
2021-04-12T12:59:33.000Z
2021-04-12T12:59:33.000Z
sysevr/slicer/access_db_operate.py
Jokers-grin/VulScrape
738d17e9dd7e5edc2341d106361651fd28f99c61
[ "PostgreSQL", "Unlicense", "MIT" ]
null
null
null
sysevr/slicer/access_db_operate.py
Jokers-grin/VulScrape
738d17e9dd7e5edc2341d106361651fd28f99c61
[ "PostgreSQL", "Unlicense", "MIT" ]
null
null
null
## -*- coding: utf-8 -*- from joern.all import JoernSteps from igraph import * from .general_op import * import pickle from py2neo.packages.httpstream import http http.socket_timeout = 9999 def get_all_use_bydefnode(db, node_id): query_str = "g.v(%d).in('USE')" % node_id results = db.runGremlinQuery(query_str)...
35.49101
253
0.539517
2,891
25,660
4.554825
0.080249
0.054222
0.050122
0.010024
0.576018
0.484204
0.436437
0.396264
0.327764
0.308779
0
0.006687
0.341465
25,660
722
254
35.540166
0.772577
0.039712
0
0.467308
0
0.001923
0.088296
0.037603
0.003846
0
0
0
0
1
0.069231
false
0
0.009615
0
0.175
0.023077
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04c1a63427741f65b7771c11cc01a39bfb09f703
476
py
Python
cal_tools/struct/submesh.py
hsoju/cal-tools
b6b24926d1e32ecd09dd469be20538fcdafb0e15
[ "MIT" ]
null
null
null
cal_tools/struct/submesh.py
hsoju/cal-tools
b6b24926d1e32ecd09dd469be20538fcdafb0e15
[ "MIT" ]
null
null
null
cal_tools/struct/submesh.py
hsoju/cal-tools
b6b24926d1e32ecd09dd469be20538fcdafb0e15
[ "MIT" ]
null
null
null
from typing import Collection from cal_tools.struct.face import CalFace from cal_tools.struct.morph import CalMorph from cal_tools.struct.vertex import CalVertex class CalSubmesh: def __init__(self, material: int, vertices: Collection[CalVertex], faces: Collection[CalFace], morphs: Collection[Cal...
34
98
0.714286
57
476
5.842105
0.45614
0.063063
0.108108
0.162162
0
0
0
0
0
0
0
0
0.212185
476
13
99
36.615385
0.888
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.545455
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
04c30ca6dae699405806c7919712bb4e2c2022d3
3,818
py
Python
consolidate_json.py
squirrel2038/archive-archdruid-report
cd121a2466887999062e4e674998af971cd416e2
[ "MIT" ]
1
2022-01-30T11:01:11.000Z
2022-01-30T11:01:11.000Z
consolidate_json.py
squirrel2038/thearchdruidreport-archive
cd121a2466887999062e4e674998af971cd416e2
[ "MIT" ]
null
null
null
consolidate_json.py
squirrel2038/thearchdruidreport-archive
cd121a2466887999062e4e674998af971cd416e2
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # # Consolidate all the raw Blogger JSON files into a single, simplified JSON file. # from collections import OrderedDict import html import io import json import sys import lxml.etree as ET import lxml.html import re import feeds import util posts = feeds.json_post_entries_list() output = []...
38.959184
124
0.585385
475
3,818
4.635789
0.330526
0.031789
0.014532
0.009991
0.156222
0.13079
0.118074
0.118074
0.118074
0.118074
0
0.035141
0.217391
3,818
97
125
39.360825
0.701807
0.102148
0
0.045455
0
0.015152
0.285589
0.033392
0
0
0
0
0.045455
1
0
false
0
0.151515
0
0.151515
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04ca253f5e82296a1e2958dc72286f826aff2f7b
2,619
py
Python
preprocess.py
wonderlr/news_aggregator
123a6b912988013fd83080393ff978ff85a76dc0
[ "MIT" ]
null
null
null
preprocess.py
wonderlr/news_aggregator
123a6b912988013fd83080393ff978ff85a76dc0
[ "MIT" ]
null
null
null
preprocess.py
wonderlr/news_aggregator
123a6b912988013fd83080393ff978ff85a76dc0
[ "MIT" ]
null
null
null
#! /usr/bin/python3 import nltk import pdb import pickle import pandas as pd import numpy as np import json stemmer = nltk.stem.porter.PorterStemmer() stop_words = set(nltk.corpus.stopwords.words('english')) def is_alphanumeric(character): to_ord = ord(character) is_alpha = (to_ord >= ord('A') and to_ord <= o...
28.78022
105
0.644139
365
2,619
4.443836
0.369863
0.021578
0.034525
0.020345
0.078915
0.055487
0.025894
0.025894
0.025894
0
0
0.008538
0.239786
2,619
90
106
29.1
0.806128
0.138221
0
0.085714
0
0
0.040943
0
0
0
0
0
0
1
0.114286
false
0
0.085714
0
0.271429
0.014286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04cad953622a83f0e9965ec0a898a7a9f104aa3c
22,312
py
Python
test/intelliflow/core/application/test_aws_application_execution_hooks.py
amzn/rheoceros
5e8f79d97f8b21d693d3c869b0df70de3d5fd068
[ "Apache-2.0", "MIT-0" ]
4
2022-03-24T04:39:02.000Z
2022-03-31T16:41:50.000Z
test/intelliflow/core/application/test_aws_application_execution_hooks.py
amzn/rheoceros
5e8f79d97f8b21d693d3c869b0df70de3d5fd068
[ "Apache-2.0", "MIT-0" ]
null
null
null
test/intelliflow/core/application/test_aws_application_execution_hooks.py
amzn/rheoceros
5e8f79d97f8b21d693d3c869b0df70de3d5fd068
[ "Apache-2.0", "MIT-0" ]
null
null
null
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 import threading import time from typing import Callable import pytest from mock import MagicMock import intelliflow.api_ext as flow from intelliflow.api_ext import * from intelliflow.core.application.applicati...
47.777302
141
0.701327
2,572
22,312
5.794323
0.153966
0.023552
0.02268
0.022948
0.642153
0.585721
0.560558
0.529826
0.504462
0.466282
0
0.007371
0.22777
22,312
466
142
47.879828
0.857574
0.158973
0
0.443425
0
0
0.068335
0.030585
0
0
0
0
0.143731
1
0.06422
false
0
0.061162
0.018349
0.174312
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04cb89b6281e761d43339b9fbbae2aa13203f250
6,988
py
Python
Plot/4.13.His_Plot_Global.py
hliu119/Phenological-Dynamics-revealed-by-SIF
2584d09837ea37387dc4d5ad39fcaba0ed714e94
[ "Apache-2.0" ]
null
null
null
Plot/4.13.His_Plot_Global.py
hliu119/Phenological-Dynamics-revealed-by-SIF
2584d09837ea37387dc4d5ad39fcaba0ed714e94
[ "Apache-2.0" ]
null
null
null
Plot/4.13.His_Plot_Global.py
hliu119/Phenological-Dynamics-revealed-by-SIF
2584d09837ea37387dc4d5ad39fcaba0ed714e94
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Dec 26 14:58:57 2019 @author: Administrator MCD12 LandCover Types: DBF == 4:DBF,5:MF EBF == 2:EBF NF == 1:ENF,3:DNF CRO == 12: CRO, 14: CRO&NV GRA == 10: GRA SHR == 6:CSH, 7:OSH SAV == 8:WSA, 9:SAV """ import numpy as np import matplotlib.pyplot as plt imp...
48.867133
306
0.598598
1,021
6,988
3.905975
0.25857
0.024072
0.019308
0.033099
0.31996
0.251003
0.232698
0.21013
0.185055
0.154714
0
0.038547
0.224098
6,988
143
307
48.867133
0.696975
0.054665
0
0
0
0.028302
0.180985
0.10473
0
0
0
0
0
1
0
false
0
0.056604
0
0.056604
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04cbe616581fc2cfbc97890b4ef12ba243847e7e
6,260
py
Python
CountryReconciler/reconciler/country_normalizer.py
weso/landportal-importers
6edfa3c301422bbe8c09cb877b1cbddbcd902463
[ "Unlicense" ]
null
null
null
CountryReconciler/reconciler/country_normalizer.py
weso/landportal-importers
6edfa3c301422bbe8c09cb877b1cbddbcd902463
[ "Unlicense" ]
8
2016-02-16T13:05:37.000Z
2017-01-04T14:38:03.000Z
CountryReconciler/reconciler/country_normalizer.py
landportal/landbook-importers
f0e246f493329b9c5741c50f3a0495d27ee5c54b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on 10/02/2014 @author: Dani """ import re import codecs from reconciler.entities.normalized_country import NormalizedCountry from reconciler.exceptions.unknown_country_error import UnknownCountryError class CountryNormalizer(object): """ In this class we'll implement th...
39.872611
116
0.62476
728
6,260
5.14011
0.315934
0.054516
0.035275
0.059861
0.299572
0.138963
0.113843
0.062533
0.062533
0.062533
0
0.005717
0.273482
6,260
156
117
40.128205
0.815963
0.235623
0
0.183908
0
0
0.080314
0.046408
0
0
0
0
0
1
0.114943
false
0
0.045977
0.034483
0.436782
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04cc1b1f401f8deb8162a588147e27bded2a1615
1,949
py
Python
python_examples/welcome.py
kaalam/thetangle
4c4877ebc3c6f8cce86f1a43681359c16a51e2c9
[ "MIT" ]
1
2021-11-20T12:30:02.000Z
2021-11-20T12:30:02.000Z
python_examples/welcome.py
kaalam/thetangle
4c4877ebc3c6f8cce86f1a43681359c16a51e2c9
[ "MIT" ]
null
null
null
python_examples/welcome.py
kaalam/thetangle
4c4877ebc3c6f8cce86f1a43681359c16a51e2c9
[ "MIT" ]
null
null
null
""" Welcome to The TangleExplorer ! """ """ 0. The first time you run the TNG server, you have to dowload and compile The Tangle Follow the instructions in: https://kaalam.github.io/jazz_reference/reference_docker_tangle_server.html """ """ I M P O R T A N T N O T E : This is just a piece of software to help ...
31.95082
130
0.736788
336
1,949
4.181548
0.449405
0.070463
0.064769
0.040569
0.201423
0.123843
0.055516
0.055516
0.055516
0
0
0.006112
0.160595
1,949
60
131
32.483333
0.852689
0.015906
0
0
0
0
0.297118
0.243902
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0.583333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
04cc4c2755a30d4af02b82ac645949400c8f8805
1,573
py
Python
tests/affine_test.py
martin-luecke/xdsl
b96d19d97a5282823e7735da06764fa57a781429
[ "Apache-2.0" ]
null
null
null
tests/affine_test.py
martin-luecke/xdsl
b96d19d97a5282823e7735da06764fa57a781429
[ "Apache-2.0" ]
null
null
null
tests/affine_test.py
martin-luecke/xdsl
b96d19d97a5282823e7735da06764fa57a781429
[ "Apache-2.0" ]
null
null
null
from xdsl.dialects.builtin import * from xdsl.dialects.std import * from xdsl.dialects.arith import * from xdsl.printer import Printer from xdsl.dialects.affine import * def get_example_affine_program(ctx: MLContext, builtin: Builtin, std: Std, affine: Affine) -> Operation: def aff...
31.46
78
0.530833
187
1,573
4.336898
0.294118
0.049322
0.078915
0.073983
0.192355
0.096178
0.096178
0.096178
0.096178
0
0
0.035922
0.3452
1,573
49
79
32.102041
0.751456
0.016529
0
0.051282
0
0
0.012306
0
0
0
0
0
0
1
0.076923
false
0
0.128205
0.025641
0.25641
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
04cd48f165a97bf20274ed413e6996f8b236819c
1,632
py
Python
setup.py
remifan/commplax
e8ee5bc86ab0dfd90773202579237ecf42488cd0
[ "Apache-2.0" ]
20
2021-03-09T08:33:51.000Z
2021-11-29T05:04:55.000Z
setup.py
remifan/commplax
e8ee5bc86ab0dfd90773202579237ecf42488cd0
[ "Apache-2.0" ]
null
null
null
setup.py
remifan/commplax
e8ee5bc86ab0dfd90773202579237ecf42488cd0
[ "Apache-2.0" ]
6
2021-03-09T08:34:01.000Z
2021-12-03T15:14:42.000Z
# Copyright 2021 The Commplax Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
26.322581
74
0.582721
188
1,632
4.952128
0.664894
0.064447
0.027927
0.034372
0
0
0
0
0
0
0
0.022453
0.290441
1,632
61
75
26.754098
0.78152
0.352941
0
0.116279
0
0
0.316956
0.020231
0
0
0
0
0
1
0
false
0
0.023256
0
0.023256
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04ceeae78354536a9728b323c36a0db9f0cce2c7
2,862
py
Python
app/user_auth_views.py
luckyharryji/Plask
82508b48cb393a011641ac808cfea7323cd1bdfa
[ "MIT" ]
null
null
null
app/user_auth_views.py
luckyharryji/Plask
82508b48cb393a011641ac808cfea7323cd1bdfa
[ "MIT" ]
null
null
null
app/user_auth_views.py
luckyharryji/Plask
82508b48cb393a011641ac808cfea7323cd1bdfa
[ "MIT" ]
null
null
null
#coding=utf-8 from flask import render_template, flash, redirect, url_for, g, request from app import app, lm, db from forms import LoginForm, RegisterForm from flask.ext.login import login_user, logout_user, current_user, login_required from models import User import re import sys reload(sys) sys.setdefaultencoding('...
26.018182
90
0.68833
409
2,862
4.704156
0.232274
0.068607
0.050936
0.06237
0.446985
0.408524
0.384615
0.365385
0.351871
0.217775
0
0.000837
0.165269
2,862
109
91
26.256881
0.804521
0.004193
0
0.344444
0
0
0.113373
0
0
0
0
0
0
1
0.066667
false
0.122222
0.077778
0.011111
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
04cfac1d30abf2171b453cd7cf451b10c798b69d
294
py
Python
userlixo/handlers/bot/callback_query/any.py
AndrielFR/UserLixo
5755b39e2bc62f72e9f76ee442b7c07f2ae4adeb
[ "MIT" ]
65
2018-11-12T02:56:01.000Z
2022-03-09T00:57:05.000Z
userlixo/handlers/bot/callback_query/any.py
AndrielFR/UserLixo
5755b39e2bc62f72e9f76ee442b7c07f2ae4adeb
[ "MIT" ]
93
2019-11-22T23:54:26.000Z
2022-03-31T00:48:14.000Z
userlixo/handlers/bot/callback_query/any.py
HitaloSama/UserLixo
85ef00cfc828ad6a6a28bd3c80eea07e0c4fc45a
[ "MIT" ]
56
2018-12-16T17:13:38.000Z
2022-03-30T18:40:07.000Z
# SPDX-License-Identifier: MIT # Copyright (c) 2018-2021 Amano Team import os from pyrogram import Client from userlixo.config import langs # Getting the language to use @Client.on_callback_query(group=-2) async def deflang(c, cq): cq._lang = langs.get_language(os.getenv("LANGUAGE"))
19.6
56
0.755102
45
294
4.844444
0.777778
0
0
0
0
0
0
0
0
0
0
0.035714
0.142857
294
14
57
21
0.829365
0.309524
0
0
0
0
0.040201
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
04d06652a7efb578d1962bdee4972afa41617e98
2,126
py
Python
src/file_config/handlers/yaml.py
stephen-bunn/file-config
9de4d0aacdb7b9bc0069a2da10eb406c88e21103
[ "0BSD" ]
7
2019-01-10T02:01:05.000Z
2021-02-21T14:10:28.000Z
src/file_config/handlers/yaml.py
stephen-bunn/file-config
9de4d0aacdb7b9bc0069a2da10eb406c88e21103
[ "0BSD" ]
42
2018-10-03T15:15:47.000Z
2021-12-13T19:52:04.000Z
src/file_config/handlers/yaml.py
stephen-bunn/file-config
9de4d0aacdb7b9bc0069a2da10eb406c88e21103
[ "0BSD" ]
1
2019-02-15T12:49:43.000Z
2019-02-15T12:49:43.000Z
# Copyright (c) 2019 Stephen Bunn <stephen@bunn.io> # ISC License <https://choosealicense.com/licenses/isc> from collections import OrderedDict from ._common import BaseHandler class YAMLHandler(BaseHandler): """ The YAML serialization handler. """ name = "yaml" packages = ("yaml",) options = {...
32.212121
78
0.61524
233
2,126
5.549356
0.377682
0.027069
0.020882
0.041763
0.191802
0.191802
0.170147
0.143852
0.08198
0.08198
0
0.014867
0.272342
2,126
65
79
32.707692
0.820944
0.483537
0
0
0
0
0.03303
0.023918
0
0
0
0
0
1
0.210526
false
0
0.157895
0
0.736842
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
04d0c052c025367c548447ff41b0b30285e71781
1,069
py
Python
src/MetaSeg/functions/meta_nn.py
RonMcKay/Detection-and-Retrieval-of-OOD-Objects
561dc4362226f67b5a85d94843ee439d67fad4ab
[ "MIT" ]
null
null
null
src/MetaSeg/functions/meta_nn.py
RonMcKay/Detection-and-Retrieval-of-OOD-Objects
561dc4362226f67b5a85d94843ee439d67fad4ab
[ "MIT" ]
null
null
null
src/MetaSeg/functions/meta_nn.py
RonMcKay/Detection-and-Retrieval-of-OOD-Objects
561dc4362226f67b5a85d94843ee439d67fad4ab
[ "MIT" ]
null
null
null
import torch import torch.nn as nn from torch.utils.data import Dataset class MetricDataset(Dataset): def __init__(self, data): super(MetricDataset, self).__init__() self.data = data[0].squeeze() self.targets = data[1].squeeze() def __getitem__(self, index): return ( ...
25.452381
65
0.540692
131
1,069
4.206107
0.335878
0.076225
0.098004
0.136116
0
0
0
0
0
0
0
0.035813
0.320861
1,069
41
66
26.073171
0.723141
0
0
0.147059
0
0
0
0
0
0
0
0
0
1
0.147059
false
0
0.088235
0.088235
0.382353
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
04d1bc1dce7c6269c003373d2cc9252ec617a91c
596
py
Python
flask-app/app/app/core/app_setup.py
mcelisr1/flask-docker-backend-stack
07c640401c42db843ba3e77bba460224591506ab
[ "MIT" ]
2
2019-04-30T23:48:36.000Z
2019-07-17T15:26:57.000Z
flask-app/app/app/core/app_setup.py
mcelisr1/flask-docker-backend-stack
07c640401c42db843ba3e77bba460224591506ab
[ "MIT" ]
null
null
null
flask-app/app/app/core/app_setup.py
mcelisr1/flask-docker-backend-stack
07c640401c42db843ba3e77bba460224591506ab
[ "MIT" ]
null
null
null
# Import app code from app.main import app # noqa # Set up global variables from app.core import data # noqa # Set up Config Environments from app.core import config # noqa # Set up flask db session from app.core.db.session import db_session # noqa # Load dafault data on DB from app.core.db.init_db import load_de...
21.285714
50
0.731544
101
596
4.227723
0.336634
0.081967
0.084309
0.079625
0.088993
0
0
0
0
0
0
0.004219
0.204698
596
27
51
22.074074
0.896624
0.357383
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
true
0
0.75
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
04d1c24f6bc208b7f6d8c3f5553d0bc232b26a52
48
py
Python
crusoe_observe/OS-parser-component/osrest/__init__.py
CSIRT-MU/CRUSOE
73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b
[ "MIT" ]
3
2021-11-09T09:55:17.000Z
2022-02-19T02:58:27.000Z
crusoe_observe/OS-parser-component/osrest/__init__.py
CSIRT-MU/CRUSOE
73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b
[ "MIT" ]
null
null
null
crusoe_observe/OS-parser-component/osrest/__init__.py
CSIRT-MU/CRUSOE
73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b
[ "MIT" ]
null
null
null
from .run import parse from .OS_parser import *
16
24
0.770833
8
48
4.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.166667
48
2
25
24
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
04d57551e2349970e7fe7a100a4be6c7f4f74e13
567
py
Python
剑指Offer/No_55_2.py
lih627/python-algorithm-templates
a61fd583e33a769b44ab758990625d3381793768
[ "MIT" ]
24
2020-03-28T06:10:25.000Z
2021-11-23T05:01:29.000Z
剑指Offer/No_55_2.py
lih627/python-algorithm-templates
a61fd583e33a769b44ab758990625d3381793768
[ "MIT" ]
null
null
null
剑指Offer/No_55_2.py
lih627/python-algorithm-templates
a61fd583e33a769b44ab758990625d3381793768
[ "MIT" ]
8
2020-05-18T02:43:16.000Z
2021-05-24T18:11:38.000Z
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def isBalanced(self, root: TreeNode) -> bool: def balanced(node): if not node: return True, 0 ...
25.772727
49
0.492063
71
567
3.873239
0.521127
0.130909
0
0
0
0
0
0
0
0
0
0.014881
0.407407
567
21
50
27
0.803571
0.262787
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
04d58a3b8bdcb33915a4e22cab618ef1009c63e7
247
py
Python
tests/obj/business_response_test.py
ruchir594/messenger-bot-yelp-aws
757d9e3e599432954a1acbf477b2f40e5c2d247c
[ "MIT" ]
1
2016-08-09T21:28:26.000Z
2016-08-09T21:28:26.000Z
tests/obj/business_response_test.py
ruchir594/messenger-bot-yelp-aws
757d9e3e599432954a1acbf477b2f40e5c2d247c
[ "MIT" ]
null
null
null
tests/obj/business_response_test.py
ruchir594/messenger-bot-yelp-aws
757d9e3e599432954a1acbf477b2f40e5c2d247c
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- from yelp.obj.business import Business from yelp.obj.business_response import BusinessResponse def test_make_business_response(): biz_response = BusinessResponse({}) assert type(biz_response.business) is Business
27.444444
55
0.773279
31
247
5.967742
0.548387
0.086486
0.118919
0.205405
0
0
0
0
0
0
0
0.004651
0.129555
247
8
56
30.875
0.855814
0.08502
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
04d5fda73dffb7cd7356b901c8a85e9f290d1c22
6,177
py
Python
ublox_reader/serial/constants.py
acutaia/goeasy-ublox_reader
f4662389667c9087ca73dd33e5122891bd05db8a
[ "Apache-2.0" ]
null
null
null
ublox_reader/serial/constants.py
acutaia/goeasy-ublox_reader
f4662389667c9087ca73dd33e5122891bd05db8a
[ "Apache-2.0" ]
null
null
null
ublox_reader/serial/constants.py
acutaia/goeasy-ublox_reader
f4662389667c9087ca73dd33e5122891bd05db8a
[ "Apache-2.0" ]
null
null
null
""" Constants for SerialReceiver :author: Angelo Cutaia :copyright: Copyright 2021, LINKS Foundation :version: 1.0.0 .. Copyright 2021 LINKS Foundation 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 co...
44.121429
80
0.603853
845
6,177
4.384615
0.260355
0.120918
0.189474
0.243185
0.476383
0.476383
0.476383
0.476383
0.039946
0
0
0.321076
0.181156
6,177
139
81
44.438849
0.411427
0.196697
0
0
0
0
0.009479
0
0
0
0.504093
0
0
1
0.015385
false
0.015385
0.015385
0
0.046154
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
5
04d64185267b3d00217e600b9ff7dace514d3162
90,207
py
Python
icon.py
sunyuting83/auto-wallpaper-pythontk
91ce331e7a55f884bd1fcf4501a2a183182b653a
[ "MIT" ]
null
null
null
icon.py
sunyuting83/auto-wallpaper-pythontk
91ce331e7a55f884bd1fcf4501a2a183182b653a
[ "MIT" ]
null
null
null
icon.py
sunyuting83/auto-wallpaper-pythontk
91ce331e7a55f884bd1fcf4501a2a183182b653a
[ "MIT" ]
null
null
null
img = 'b'AAABAAEAgIAAAAEAIAAoCAEAFgAAACgAAACAAAAAAAEAAAEAIAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...
90,207
90,207
0.834858
13,342
90,207
5.644581
0.311273
0.036449
0.047816
0.057562
0.550485
0.542464
0.532997
0.520303
0.508007
0.498845
0
0.168439
0.000022
90,207
1
90,207
90,207
0.666438
0
0
0
0
0
0.000011
0
0
1
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
5
04d9a64e16d05c00923b86847acd17f241da5519
4,704
py
Python
python/experiments/lnpdfs/StopAndFrisk/frisk.py
DrawZeroPoint/VIPS
730f4e18c24afa6f561b13d1fe8af53ae89990a7
[ "MIT" ]
12
2018-07-11T14:35:51.000Z
2020-12-07T03:54:28.000Z
python/experiments/lnpdfs/StopAndFrisk/frisk.py
ykwon0407/VIPS
91d940304b34d702c1a8b12363b5fff38455ef88
[ "MIT" ]
null
null
null
python/experiments/lnpdfs/StopAndFrisk/frisk.py
ykwon0407/VIPS
91d940304b34d702c1a8b12363b5fff38455ef88
[ "MIT" ]
10
2018-07-11T14:36:00.000Z
2022-01-14T21:41:41.000Z
""" Implementation of the hierarchical poisson glm model, with a precinct-specific term, an ethnicity specific term, and an offset term. The data are tuples of (ethnicity, precinct, num_stops, total_arrests), where the count variables num_stops and total_arrests refer to the number of stops and total arrests of an eth...
38.557377
155
0.616709
704
4,704
3.975852
0.3125
0.030011
0.010718
0.017149
0.072883
0.040729
0.029296
0.029296
0.029296
0
0
0.020068
0.247874
4,704
121
156
38.876033
0.771057
0.244473
0
0
0
0
0.047018
0.010034
0
0
0
0
0
1
0.085714
false
0
0.085714
0
0.257143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0