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
b71e4d45d0dd84308fd2a62e675360e49475c3fc
3,140
py
Python
readthedocs/search/parse_json.py
darrowco/readthedocs.org
fa7fc5a24306f1f6a27c7393f381c594ab29b357
[ "MIT" ]
null
null
null
readthedocs/search/parse_json.py
darrowco/readthedocs.org
fa7fc5a24306f1f6a27c7393f381c594ab29b357
[ "MIT" ]
null
null
null
readthedocs/search/parse_json.py
darrowco/readthedocs.org
fa7fc5a24306f1f6a27c7393f381c594ab29b357
[ "MIT" ]
null
null
null
"""Functions related to converting content into dict/JSON structures.""" import codecs import json import logging from pyquery import PyQuery log = logging.getLogger(__name__) def generate_sections_from_pyquery(body): """Given a pyquery object, generate section dicts for each section.""" # Capture text in...
28.288288
76
0.576752
393
3,140
4.486005
0.305344
0.022689
0.029495
0.034033
0.091889
0.040839
0
0
0
0
0
0.010835
0.294586
3,140
110
77
28.545455
0.783296
0.157962
0
0.092105
1
0
0.113208
0
0
0
0
0
0
1
0.039474
false
0
0.052632
0
0.118421
0
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
b721cd3010a8637974b6ec065b10132ac28ed47b
1,957
py
Python
createVideo.py
Thefalas/disksMD
1f3a0a1814baf1fd8905da2e88d2244de90d14ec
[ "MIT" ]
null
null
null
createVideo.py
Thefalas/disksMD
1f3a0a1814baf1fd8905da2e88d2244de90d14ec
[ "MIT" ]
null
null
null
createVideo.py
Thefalas/disksMD
1f3a0a1814baf1fd8905da2e88d2244de90d14ec
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu May 3 18:33:28 2018 @author: malopez """ import pandas as pd import matplotlib.pyplot as plt import cv2 images_folder = "C:/Users/malopez/Desktop/disksMD/images" data_folder = "C:/Users/malopez/Desktop/disksMD/data" output_video = './video4.mp4' particle_radius = 1.0 n_part...
29.651515
68
0.701073
313
1,957
4.198083
0.440895
0.034247
0.027397
0.030441
0.217656
0.161339
0.04414
0.04414
0
0
0
0.037782
0.161472
1,957
66
69
29.651515
0.762949
0.208993
0
0.04878
0
0
0.135206
0.049641
0
0
0
0.015152
0
1
0
false
0
0.073171
0
0.073171
0.073171
0
0
0
null
0
0
0
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
b72306e350f2a9f34586f4bdf8fb4a7f6ec9f932
4,141
py
Python
truffe2/generic/templatetags/generic_extras.py
JonathanCollaud/truffe2
5cbb055ac1acf7e7dc697340618fcb56c67fbd91
[ "BSD-2-Clause" ]
9
2016-09-14T02:19:19.000Z
2020-10-18T14:52:14.000Z
truffe2/generic/templatetags/generic_extras.py
JonathanCollaud/truffe2
5cbb055ac1acf7e7dc697340618fcb56c67fbd91
[ "BSD-2-Clause" ]
19
2016-11-09T21:28:51.000Z
2021-02-10T22:37:31.000Z
truffe2/generic/templatetags/generic_extras.py
JonathanCollaud/truffe2
5cbb055ac1acf7e7dc697340618fcb56c67fbd91
[ "BSD-2-Clause" ]
13
2016-12-31T14:22:09.000Z
2020-12-27T19:43:19.000Z
from django import template from django.utils.safestring import mark_safe import bleach from bleach.sanitizer import BleachSanitizer from bleach.encoding import force_unicode from bootstrap3.renderers import FieldRenderer from bootstrap3.text import text_value import html5lib import re register = template.Library() ...
26.375796
157
0.657088
532
4,141
4.890977
0.340226
0.043044
0.052267
0.021906
0.162183
0.146042
0.125288
0.125288
0.059954
0.059954
0
0.00731
0.207196
4,141
156
158
26.544872
0.785257
0.025115
0
0.110092
0
0
0.067708
0
0
0
0
0
0
0
null
null
0
0.082569
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b727e8a96c1fbd46e661c2a5b89a290d333e2329
1,805
py
Python
pull_related_videos.py
jgawrilo/youtube
553bfe4cf303bc06abf8173f5ed0f4deb3ede57f
[ "Apache-2.0" ]
1
2017-01-13T12:57:06.000Z
2017-01-13T12:57:06.000Z
pull_related_videos.py
jgawrilo/youtube
553bfe4cf303bc06abf8173f5ed0f4deb3ede57f
[ "Apache-2.0" ]
null
null
null
pull_related_videos.py
jgawrilo/youtube
553bfe4cf303bc06abf8173f5ed0f4deb3ede57f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from apiclient.discovery import build from apiclient.errors import HttpError from oauth2client.tools import argparser import json import os import codecs from bs4 import BeautifulSoup import argparse import requests import sys import googleapiclient def get_video_info(vid, youtube): respons...
28.203125
113
0.67867
222
1,805
5.36036
0.481982
0.033613
0.030252
0.043697
0.189916
0.09916
0.09916
0.09916
0.09916
0.09916
0
0.009743
0.203878
1,805
64
114
28.203125
0.818372
0.187258
0
0.047619
0
0
0.125342
0.039041
0
0
0
0
0
0
null
null
0.02381
0.261905
null
null
0.02381
0
0
0
null
0
0
0
0
0
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
b7286793431599e58da81b53c698ba6999fd3f4e
1,630
py
Python
day02/ex04/ai42/logging/log.py
d-r-e/Machine-Learning-Bootcamp
618cad97c04d15fec6e8a371c526ad8e08cae35a
[ "MIT" ]
null
null
null
day02/ex04/ai42/logging/log.py
d-r-e/Machine-Learning-Bootcamp
618cad97c04d15fec6e8a371c526ad8e08cae35a
[ "MIT" ]
6
2021-05-25T08:51:39.000Z
2021-05-25T08:51:40.000Z
day02/ex04/ai42/logging/log.py
d-r-e/Python-Bootcamp-42AI
618cad97c04d15fec6e8a371c526ad8e08cae35a
[ "MIT" ]
null
null
null
# **************************************************************************** # # # # ::: :::::::: # # logger.py :+: :+: :+...
41.794872
81
0.282209
99
1,630
4.59596
0.575758
0.065934
0.035165
0.043956
0.105495
0.105495
0.105495
0.105495
0
0
0
0.043956
0.497546
1,630
38
82
42.894737
0.5116
0.511043
0
0
0
0
0.082865
0
0
0
0
0
0
1
0.08
false
0.08
0.2
0
0.36
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b72cde7853e529893263c2d30f32b8dad4c30116
7,467
py
Python
ava/common/check.py
indeedsecurity/ava-ce
4483b301034a096b716646a470a6642b3df8ce61
[ "Apache-2.0" ]
2
2019-03-26T15:37:48.000Z
2020-01-03T03:47:30.000Z
ava/common/check.py
indeedsecurity/ava-ce
4483b301034a096b716646a470a6642b3df8ce61
[ "Apache-2.0" ]
2
2021-03-25T21:27:09.000Z
2021-06-01T21:20:04.000Z
ava/common/check.py
indeedsecurity/ava-ce
4483b301034a096b716646a470a6642b3df8ce61
[ "Apache-2.0" ]
null
null
null
from bs4 import BeautifulSoup from difflib import SequenceMatcher class _Check: """ Parent check class. All other checks should be a subclass of this class. """ key = "check" name = "Check" description = "Parent check" class _BlindCheck(_Check): """ These checks identify issues in in...
34.892523
117
0.656489
877
7,467
5.486887
0.208666
0.042394
0.045719
0.027639
0.510391
0.4734
0.4734
0.455528
0.43724
0.43724
0
0.004067
0.275613
7,467
213
118
35.056338
0.885561
0.486139
0
0.442857
0
0
0.034744
0
0
0
0
0
0
1
0.185714
false
0.042857
0.028571
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b72ff8b09a0b3b3377f4450ff20722334a0f1163
260
py
Python
Chapter02/Shuffle.py
Tanishadel/Mastering-Machine-Learning-for-Penetration-Testing
5aecc2603faaa97dafc1fa4c86f4e5f530bb4877
[ "MIT" ]
241
2018-06-14T15:58:34.000Z
2022-03-27T08:47:40.000Z
Chapter02/Shuffle.py
Tanishadel/Mastering-Machine-Learning-for-Penetration-Testing
5aecc2603faaa97dafc1fa4c86f4e5f530bb4877
[ "MIT" ]
5
2018-11-05T20:40:58.000Z
2021-09-17T12:35:42.000Z
Chapter02/Shuffle.py
Tanishadel/Mastering-Machine-Learning-for-Penetration-Testing
5aecc2603faaa97dafc1fa4c86f4e5f530bb4877
[ "MIT" ]
144
2018-06-21T12:50:25.000Z
2022-03-21T13:47:51.000Z
import os import random #initiate a list called emails_list emails_list = [] Directory = '/home/azureuser/spam_filter/enron1/emails/' Dir_list = os.listdir(Directory) for file in Dir_list: f = open(Directory + file, 'r') emails_list.append(f.read()) f.close()
23.636364
56
0.753846
41
260
4.634146
0.609756
0.157895
0
0
0
0
0
0
0
0
0
0.004348
0.115385
260
10
57
26
0.821739
0.130769
0
0
0
0
0.191111
0.186667
0
0
0
0
0
0
null
null
0
0.222222
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b733a705c894e170baefe76d8fe393fd92a6fb35
4,346
py
Python
demo/corenlp.py
Rvlis/stanza
58237519740b27b83c00c6c23d53ba434132dcca
[ "Apache-2.0" ]
null
null
null
demo/corenlp.py
Rvlis/stanza
58237519740b27b83c00c6c23d53ba434132dcca
[ "Apache-2.0" ]
null
null
null
demo/corenlp.py
Rvlis/stanza
58237519740b27b83c00c6c23d53ba434132dcca
[ "Apache-2.0" ]
null
null
null
from stanza.server import CoreNLPClient import os # example text print('---') print('input text') print('') # text = "Chris Manning is a nice person. Chris wrote a simple sentence. He also gives oranges to people." text = "PyTables is built on top of the HDF5 library, using the Python language and the NumPy package....
35.048387
155
0.645651
556
4,346
5.017986
0.257194
0.043011
0.055914
0.051613
0.448746
0.335842
0.276703
0.219355
0.219355
0.191398
0
0.012076
0.199724
4,346
123
156
35.333333
0.790109
0.562356
0
0.275
0
0.025
0.296943
0
0
0
0
0
0.05
1
0
false
0
0.05
0
0.05
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
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
b739046fc9ac3dbe4de500836eb668496db9cf82
1,754
py
Python
scripts/backup/eval.py
vafaei-ar/Ngene
9735f9729bdde70624ec9af73196b418f2e1b2f2
[ "MIT" ]
null
null
null
scripts/backup/eval.py
vafaei-ar/Ngene
9735f9729bdde70624ec9af73196b418f2e1b2f2
[ "MIT" ]
null
null
null
scripts/backup/eval.py
vafaei-ar/Ngene
9735f9729bdde70624ec9af73196b418f2e1b2f2
[ "MIT" ]
null
null
null
import matplotlib as mpl mpl.use('agg') import glob import argparse from time import time import numpy as np import pylab as plt import rficnn as rfc parser = argparse.ArgumentParser() parser.add_argument('--arch', required=False, help='choose architecture', type=str, default='1') parser.add_argument('--trsh', requir...
29.728814
99
0.661345
272
1,754
4.158088
0.474265
0.02122
0.02122
0.040672
0
0
0
0
0
0
0
0.044564
0.155644
1,754
58
100
30.241379
0.719109
0
0
0
0
0
0.132269
0.023375
0
0
0
0
0
0
null
null
0
0.162791
null
null
0.069767
0
0
0
null
0
0
0
0
0
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
b7407fa4aa1e99e15cc05919bc7ed96eeb510a89
443
py
Python
road_roughness_prediction/tools/image_utils.py
mknz/dsr-road-roughness-prediction
5f56b6ba5da70a09f2c967b7f32c740072e20ed1
[ "MIT" ]
7
2019-04-04T06:40:29.000Z
2020-11-12T10:53:30.000Z
road_roughness_prediction/tools/image_utils.py
mknz/dsr-road-roughness-prediction
5f56b6ba5da70a09f2c967b7f32c740072e20ed1
[ "MIT" ]
1
2021-09-28T07:11:05.000Z
2021-09-28T07:11:05.000Z
road_roughness_prediction/tools/image_utils.py
mknz/dsr-road-roughness-prediction
5f56b6ba5da70a09f2c967b7f32c740072e20ed1
[ "MIT" ]
null
null
null
'''Image utils''' from io import BytesIO from PIL import Image import matplotlib.pyplot as plt def save_and_open(save_func): '''Save to in-memory buffer and re-open ''' buf = BytesIO() save_func(buf) buf.seek(0) bytes_ = buf.read() buf_ = BytesIO(bytes_) return buf_ def fig_to_pil(fig: ...
20.136364
47
0.670429
68
443
4.191176
0.470588
0.049123
0.077193
0
0
0
0
0
0
0
0
0.002874
0.214447
443
21
48
21.095238
0.816092
0.191874
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
3f7a60ea385d7fdaeb685b99834b8a082b01d925
719
py
Python
run-workflow-cloud-run/main.py
UriKatsirPrivate/gcp-workflows
35fa813bdc5335d8f06aee2f2d2e12b773f43872
[ "MIT" ]
1
2021-07-07T07:43:55.000Z
2021-07-07T07:43:55.000Z
run-workflow-cloud-run/main.py
UriKatsirPrivate/gcp-workflows
35fa813bdc5335d8f06aee2f2d2e12b773f43872
[ "MIT" ]
null
null
null
run-workflow-cloud-run/main.py
UriKatsirPrivate/gcp-workflows
35fa813bdc5335d8f06aee2f2d2e12b773f43872
[ "MIT" ]
null
null
null
import os from flask import Flask from googleapiclient.discovery import build import json import sys from google.oauth2 import service_account import googleapiclient.discovery app = Flask(__name__) workflow_service = build('workflowexecutions', 'v1') @app.route("/") def hello_world(): parent = "projects/uri-...
23.966667
94
0.727399
89
719
5.696629
0.595506
0.011834
0.011834
0
0
0
0
0
0
0
0
0.019048
0.123783
719
29
95
24.793103
0.785714
0
0
0
0
0
0.23783
0.109875
0
0
0
0
0
1
0.055556
false
0
0.388889
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3f7b2d2414e53d9ad204b36035beffc35a3a5a76
9,264
py
Python
rendering/viewer.py
MTKat/FloorplanTransformation
de10a1177e685267185de05dbce3230c25ef1d16
[ "MIT" ]
323
2017-10-24T07:45:12.000Z
2022-03-05T15:25:17.000Z
rendering/viewer.py
MTKat/FloorplanTransformation
de10a1177e685267185de05dbce3230c25ef1d16
[ "MIT" ]
32
2017-11-20T12:44:27.000Z
2022-03-22T01:59:23.000Z
rendering/viewer.py
MTKat/FloorplanTransformation
de10a1177e685267185de05dbce3230c25ef1d16
[ "MIT" ]
137
2017-11-13T10:06:00.000Z
2022-03-23T10:26:30.000Z
from math import pi, sin, cos from panda3d.core import * from direct.showbase.ShowBase import ShowBase from direct.task import Task from floorplan import Floorplan import numpy as np import random import copy class Viewer(ShowBase): def __init__(self): ShowBase.__init__(self) #self.scene = self.loader.loadM...
35.358779
186
0.636118
1,221
9,264
4.788698
0.158886
0.084488
0.028733
0.020523
0.434411
0.373183
0.294852
0.262186
0.235847
0.231059
0
0.041957
0.210168
9,264
261
187
35.494253
0.757141
0.123921
0
0.29798
0
0
0.017934
0
0
0
0
0
0
1
0.030303
false
0.075758
0.040404
0
0.106061
0
0
0
0
null
0
0
0
0
0
0
0
0
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
3f89aa8877a0c320a25f1232234def2b63591b67
438
py
Python
chris_backend/plugins/migrations/0034_auto_20200420_2320.py
rudolphpienaar/ChRIS_ultron_backEnd
5de4e255fb151ac7a6f900327704831da11dcd1f
[ "MIT" ]
26
2016-05-26T14:09:35.000Z
2022-01-28T19:12:43.000Z
chris_backend/plugins/migrations/0034_auto_20200420_2320.py
rudolphpienaar/ChRIS_ultron_backEnd
5de4e255fb151ac7a6f900327704831da11dcd1f
[ "MIT" ]
168
2016-06-24T11:07:15.000Z
2022-03-21T12:33:43.000Z
chris_backend/plugins/migrations/0034_auto_20200420_2320.py
rudolphpienaar/ChRIS_ultron_backEnd
5de4e255fb151ac7a6f900327704831da11dcd1f
[ "MIT" ]
45
2017-08-16T16:41:40.000Z
2022-03-31T18:12:14.000Z
# Generated by Django 2.1.4 on 2020-04-20 23:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('plugins', '0033_pluginparameter_short_flag'), ] operations = [ migrations.AlterField( model_name='computeresource', ...
23.052632
64
0.639269
46
438
5.934783
0.847826
0
0
0
0
0
0
0
0
0
0
0.067485
0.255708
438
18
65
24.333333
0.769939
0.10274
0
0
1
0
0.204604
0.148338
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
3f8a0dda01eeac406db001e56651f4bc81dfa178
4,112
py
Python
src/StarTrac/forms.py
Stdubic/Track
853df13178967ab9b5c1918d6d56fa7fe2831b0f
[ "MIT" ]
1
2015-09-14T19:54:56.000Z
2015-09-14T19:54:56.000Z
src/StarTrac/forms.py
Stdubic/Track
853df13178967ab9b5c1918d6d56fa7fe2831b0f
[ "MIT" ]
null
null
null
src/StarTrac/forms.py
Stdubic/Track
853df13178967ab9b5c1918d6d56fa7fe2831b0f
[ "MIT" ]
null
null
null
''' Created on Dec 21, 2014 @author: Milos ''' ''' Forma za eventualna prosirenja djangovog user-a ''' from django import forms from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from django.core.urlresolvers import reverse from django.shortcuts import get_object_or_404...
31.875969
100
0.63643
457
4,112
5.579869
0.210066
0.047059
0.075294
0.094118
0.573333
0.511373
0.49098
0.427843
0.381961
0.381961
0
0.005049
0.229329
4,112
129
101
31.875969
0.799621
0.024076
0
0.471264
0
0
0.143617
0
0
0
0
0
0
1
0.103448
false
0.034483
0.091954
0.034483
0.517241
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
3f8a7855be2c7792001f6241d146c5b377cdb431
932
py
Python
setup.py
kiranmantri/python-remote-import
2724e320377c3f2328dafd61707aad4d5eed2f10
[ "MIT" ]
null
null
null
setup.py
kiranmantri/python-remote-import
2724e320377c3f2328dafd61707aad4d5eed2f10
[ "MIT" ]
null
null
null
setup.py
kiranmantri/python-remote-import
2724e320377c3f2328dafd61707aad4d5eed2f10
[ "MIT" ]
null
null
null
"""Create the distribution file (pypi).""" import importlib import setuptools from pathlib import Path this_package_name = 'remote_import' version_file = Path(__file__).absolute().parent / this_package_name / "__version__.py" setuptools.setup( name=this_package_name, url="https://github.com/kiranmantri/pytho...
35.846154
105
0.724249
118
932
5.415254
0.610169
0.068858
0.093897
0
0
0
0
0
0
0
0
0.004969
0.136266
932
25
106
37.28
0.78882
0.038627
0
0
0
0.047619
0.333708
0.048315
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3f8f5e2babed8a1212595d0eeba5f9b572718ef4
1,961
py
Python
rebalanced_balanced_tests/evalr.py
zhanghuiying2319/Master
1f4d11dd8277517b7e63d34651a9629f58dd7070
[ "MIT" ]
null
null
null
rebalanced_balanced_tests/evalr.py
zhanghuiying2319/Master
1f4d11dd8277517b7e63d34651a9629f58dd7070
[ "MIT" ]
null
null
null
rebalanced_balanced_tests/evalr.py
zhanghuiying2319/Master
1f4d11dd8277517b7e63d34651a9629f58dd7070
[ "MIT" ]
null
null
null
import os,sys,math,numpy as np, matplotlib.pyplot as plt def runstuff(): #savept= './scores_v2_23042021' #0.7580982029438019 0.5812124161981046 #savept= './scores_v2_23042021_sizes' #0.7552803814411163 0.583345946110785 #savept= './scores_v2_23042021_sizes_posenc' #0.7596977412700654 0.583193539083004 #savep...
35.017857
109
0.740948
250
1,961
5.568
0.348
0.086207
0.068966
0.079023
0.408764
0.259339
0.199713
0.093391
0.093391
0.093391
0
0.228705
0.125956
1,961
55
110
35.654545
0.583431
0.382968
0
0.071429
0
0
0.171429
0.164706
0
0
0
0
0
1
0.035714
false
0
0.035714
0
0.071429
0.107143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3fa25fe67ade7748177cb9602ea922bfde19db47
2,601
py
Python
backend/server/services.py
Masyru/gisspot
472e7d6c321c3a9db01ffdb8573e612caaf8a13b
[ "Apache-2.0" ]
null
null
null
backend/server/services.py
Masyru/gisspot
472e7d6c321c3a9db01ffdb8573e612caaf8a13b
[ "Apache-2.0" ]
null
null
null
backend/server/services.py
Masyru/gisspot
472e7d6c321c3a9db01ffdb8573e612caaf8a13b
[ "Apache-2.0" ]
null
null
null
from datetime import datetime from typing import Optional, List, Dict import sys sys.path.append("../../") from backend.server.pd_model import * from backend.queue.services import add_task, stop_all_ws_task from backend.database.main import gis_stac __all__ = ["preview_processing", "vector_processing", "refuse_proces...
34.68
89
0.626682
337
2,601
4.623145
0.311573
0.033376
0.030809
0.038511
0.1181
0.048139
0
0
0
0
0
0.00711
0.242983
2,601
74
90
35.148649
0.784154
0.109958
0
0
0
0
0.049024
0
0
0
0
0.013514
0
1
0.170213
false
0
0.12766
0.021277
0.382979
0
0
0
0
null
0
0
0
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
3fa285fbe23a04fd466fb79a701560d794e0830d
530
py
Python
openwater/views.py
openwater/h2o-really
bb6ae678cc4f505450684a2579e3f0196236e8dc
[ "Unlicense" ]
3
2015-05-25T07:41:42.000Z
2020-05-18T05:50:40.000Z
openwater/views.py
openwater/h2o-really
bb6ae678cc4f505450684a2579e3f0196236e8dc
[ "Unlicense" ]
null
null
null
openwater/views.py
openwater/h2o-really
bb6ae678cc4f505450684a2579e3f0196236e8dc
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from django.views.generic.base import TemplateView from diario.models import Entry from observations.models import Measurement class HomePageView(TemplateView): template_name = "home.html" def get_context_data(self, **kwargs): context = super(HomePageV...
27.894737
92
0.711321
64
530
5.75
0.65625
0.065217
0.076087
0
0
0
0
0
0
0
0
0.006742
0.160377
530
18
93
29.444444
0.820225
0.079245
0
0
0
0
0.109054
0
0
0
0
0
0
1
0.1
false
0
0.3
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
3fac52a8d1c05423e274506bc3a7a1b6ae3c1a67
553
py
Python
setup.py
williamgilpin/pypdb_legacy
5c0586128415ec64804d17dd3efa0a4e52b64734
[ "MIT" ]
null
null
null
setup.py
williamgilpin/pypdb_legacy
5c0586128415ec64804d17dd3efa0a4e52b64734
[ "MIT" ]
null
null
null
setup.py
williamgilpin/pypdb_legacy
5c0586128415ec64804d17dd3efa0a4e52b64734
[ "MIT" ]
null
null
null
from setuptools import setup setup( name = 'pypdb', packages = ['pypdb'], # same as 'name' version = '1.310', install_requires=[ 'xmltodict', 'beautifulsoup4', 'requests' ], description = 'A Python wrapper for the RCSB Protein Data Bank (PDB) API', author = 'William Gilpin', author_...
26.333333
76
0.652803
63
553
5.666667
0.761905
0.061625
0.078431
0.095238
0.196078
0.196078
0
0
0
0
0
0.015521
0.184448
553
20
77
27.65
0.776053
0.025316
0
0
0
0
0.472998
0.052142
0
0
0
0
0
1
0
true
0
0.055556
0
0.055556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
3faf19d3bce07009761ea272b335839c3b750a3e
3,485
py
Python
webinar_part_2/2.0_nxos_existing_with_netbox/setup.py
Miradot/webinar
d6f4b54477e2dabf856406d65ad585c98066bc2f
[ "MIT" ]
1
2021-12-21T21:20:48.000Z
2021-12-21T21:20:48.000Z
webinar_part_2/2.0_nxos_existing_with_netbox/setup.py
Miradot/webinar
d6f4b54477e2dabf856406d65ad585c98066bc2f
[ "MIT" ]
null
null
null
webinar_part_2/2.0_nxos_existing_with_netbox/setup.py
Miradot/webinar
d6f4b54477e2dabf856406d65ad585c98066bc2f
[ "MIT" ]
null
null
null
import yaml import argparse from ansible_vault import Vault def create_file(args): svc = open("netbox_tools/webhook_proxy_svc.py", "r") all_lines = svc.readlines() svc = open("netbox_tools/webhook_proxy_svc.py", "w") for index, content in enumerate(all_lines): if "'token'" in content: ...
37.880435
115
0.631564
440
3,485
4.802273
0.265909
0.041647
0.080928
0.076195
0.290109
0.187411
0.100331
0.100331
0.036914
0.036914
0
0.01023
0.214634
3,485
91
116
38.296703
0.761783
0.007747
0
0.030303
0
0
0.296586
0.107928
0
0
0
0
0
1
0.030303
false
0.075758
0.045455
0
0.075758
0
0
0
0
null
0
0
0
0
0
0
0
0
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
3fb2a77029f3ade78cfb9fb154c1aca159746d1e
1,371
py
Python
type_page/models.py
dumel93/project-
f9ad52d9c8449953e2151fd1c13b39631113eea7
[ "MIT" ]
null
null
null
type_page/models.py
dumel93/project-
f9ad52d9c8449953e2151fd1c13b39631113eea7
[ "MIT" ]
null
null
null
type_page/models.py
dumel93/project-
f9ad52d9c8449953e2151fd1c13b39631113eea7
[ "MIT" ]
null
null
null
from django.contrib.auth.models import AbstractUser from django.db import models from .validators import validate_bet, validate_course class User(AbstractUser): email = models.EmailField('email address', unique=True) USERNAME_FIELD = 'email' REQUIRED_FIELDS = ['username'] class FootballType(models.Model...
33.439024
94
0.66229
164
1,371
5.390244
0.414634
0.067873
0.081448
0.108597
0.169683
0.140271
0.085973
0.085973
0
0
0
0.014138
0.226112
1,371
40
95
34.275
0.819039
0
0
0.0625
0
0
0.032823
0
0
0
0
0
0
1
0.0625
false
0
0.09375
0.03125
0.8125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
3fb92b9dfc88175ad72437eeb1e0e07300b64bc1
1,077
py
Python
pritunl_wireguard_client/utils/token.py
SuperBo/pritunl-wireguard-cient
bed4407bf2b7811f7180d72446a2dc26d45db90d
[ "MIT" ]
1
2021-02-16T07:08:46.000Z
2021-02-16T07:08:46.000Z
pritunl_wireguard_client/utils/token.py
SuperBo/pritunl-wireguard-cient
bed4407bf2b7811f7180d72446a2dc26d45db90d
[ "MIT" ]
1
2022-02-08T13:34:18.000Z
2022-02-08T13:34:18.000Z
pritunl_wireguard_client/utils/token.py
SuperBo/pritunl-wireguard-cient
bed4407bf2b7811f7180d72446a2dc26d45db90d
[ "MIT" ]
1
2021-03-18T14:34:41.000Z
2021-03-18T14:34:41.000Z
import time import pritunl_wireguard_client.utils.random as utils class Tokens: def __init__(self): self.store = dict() def get(self, profile_id: str, ttl: int): """Return token for profile_id""" if profile_id not in self.store: self.init(profile_id, ttl) self.upda...
27.615385
53
0.557103
136
1,077
4.235294
0.308824
0.203125
0.083333
0.09375
0.253472
0
0
0
0
0
0
0.002755
0.325905
1,077
38
54
28.342105
0.790634
0.079851
0
0
0
0
0.037949
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.285714
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
3fba31ce0598188d4268a711f23cf7223b613738
2,299
py
Python
moabb/analysis/__init__.py
plcrodrigues/moabb
aa4274fe7905631864e854c121c92e1927061f29
[ "BSD-3-Clause" ]
321
2017-06-03T16:14:45.000Z
2022-03-28T17:43:59.000Z
moabb/analysis/__init__.py
plcrodrigues/moabb
aa4274fe7905631864e854c121c92e1927061f29
[ "BSD-3-Clause" ]
223
2017-06-03T17:41:57.000Z
2022-03-29T09:07:44.000Z
moabb/analysis/__init__.py
girafe-ai/moabb
78bbb48a2a0058b0725ebeba1ba1e3203f0eacd5
[ "BSD-3-Clause" ]
118
2017-06-03T18:36:35.000Z
2022-03-16T06:22:02.000Z
import logging import os import platform from datetime import datetime from moabb.analysis import plotting as plt from moabb.analysis.meta_analysis import ( # noqa: E501 compute_dataset_statistics, find_significant_differences, ) from moabb.analysis.results import Results # noqa: F401 log = logging.getLogg...
32.380282
82
0.68769
320
2,299
4.81875
0.434375
0.027237
0.038911
0.058366
0.090791
0.076524
0.076524
0
0
0
0
0.003263
0.200087
2,299
70
83
32.842857
0.835237
0.217921
0
0
0
0
0.137199
0
0
0
0
0.014286
0
1
0.025
false
0
0.175
0
0.2
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
3fbfff6f4fb61ab0d9c6aaa91429d122a201c789
4,310
py
Python
python/clockwork/ena/submit_files.py
jeff-k/clockwork
d6e9ac80bb46ec806acd7db85ed5c3430c3f2438
[ "MIT" ]
18
2018-01-18T13:02:10.000Z
2022-03-25T05:56:02.000Z
python/clockwork/ena/submit_files.py
jeff-k/clockwork
d6e9ac80bb46ec806acd7db85ed5c3430c3f2438
[ "MIT" ]
54
2018-01-25T15:47:25.000Z
2022-03-30T17:02:23.000Z
python/clockwork/ena/submit_files.py
jeff-k/clockwork
d6e9ac80bb46ec806acd7db85ed5c3430c3f2438
[ "MIT" ]
15
2018-01-18T11:21:33.000Z
2022-03-30T16:55:48.000Z
import configparser import random import string from clockwork import utils class Error(Exception): pass def _make_dummy_success_receipt(outfile, object_type): accession = "".join( [random.choice(string.ascii_uppercase + string.digits) for _ in range(10)] ) with open(outfile, "w") as f: ...
31.459854
148
0.615777
548
4,310
4.702555
0.34854
0.024447
0.030268
0.039581
0.356228
0.287932
0.232053
0.202561
0.202561
0.202561
0
0.026634
0.250812
4,310
136
149
31.691176
0.771446
0.063573
0
0.151515
0
0.020202
0.267456
0.028678
0
0
0
0
0
1
0.050505
false
0.080808
0.040404
0
0.111111
0.020202
0
0
0
null
0
0
0
0
0
0
0
0
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
3fc217a661811f79c1778a9b4610e13c10ae7b95
1,106
py
Python
src/backend/marsha/core/migrations/0019_auto_20200609_0820.py
marin-leonard/marsha
b5d6bf98fda27acd3a08577b82dd98bcd39bfd8d
[ "MIT" ]
64
2018-04-26T23:46:14.000Z
2022-03-26T21:32:23.000Z
src/backend/marsha/core/migrations/0019_auto_20200609_0820.py
marin-leonard/marsha
b5d6bf98fda27acd3a08577b82dd98bcd39bfd8d
[ "MIT" ]
533
2018-04-17T10:17:24.000Z
2022-03-31T13:07:49.000Z
src/backend/marsha/core/migrations/0019_auto_20200609_0820.py
marin-leonard/marsha
b5d6bf98fda27acd3a08577b82dd98bcd39bfd8d
[ "MIT" ]
16
2018-09-21T12:52:34.000Z
2021-11-29T16:44:51.000Z
# Generated by Django 3.0.6 on 2020-05-19 14:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("core", "0018_auto_20200603_0620"), ] operations = [ migrations.AddField( model_name="video", name="live_info", ...
26.97561
72
0.454792
94
1,106
5.223404
0.617021
0.065173
0.093686
0.10998
0.256619
0.162933
0.162933
0
0
0
0
0.052716
0.433996
1,106
40
73
27.65
0.731629
0.040687
0
0.352941
1
0
0.182247
0.021719
0
0
0
0
0
1
0
false
0
0.029412
0
0.117647
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3fc96ed41bb550e4bca1d28b2bc1be7197a1cd5d
5,620
py
Python
tests/test_identity.py
multiscale/ymmsl-python
f8a63232823ad655530a83570443d9c045ef9929
[ "Apache-2.0" ]
1
2018-12-13T18:09:09.000Z
2018-12-13T18:09:09.000Z
tests/test_identity.py
multiscale/ymmsl-python
f8a63232823ad655530a83570443d9c045ef9929
[ "Apache-2.0" ]
10
2018-11-13T16:12:38.000Z
2021-07-21T13:16:43.000Z
tests/test_identity.py
multiscale/ymmsl-python
f8a63232823ad655530a83570443d9c045ef9929
[ "Apache-2.0" ]
null
null
null
from ymmsl import Identifier, Reference import pytest import yatiml def test_create_identifier() -> None: part = Identifier('testing') assert str(part) == 'testing' part = Identifier('CapiTaLs') assert str(part) == 'CapiTaLs' part = Identifier('under_score') assert str(part) == 'under_score...
30.053476
79
0.637011
708
5,620
4.939266
0.100282
0.088075
0.082356
0.126394
0.590506
0.416357
0.22362
0.201029
0.15499
0.131541
0
0.03648
0.195196
5,620
186
80
30.215054
0.736679
0.021886
0
0.244444
0
0
0.16955
0.033509
0
0
0
0
0.496296
1
0.066667
false
0
0.022222
0
0.088889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
3fca93e41547a1ae70fbe0d1268f42c02b9128db
4,237
py
Python
tiledb/cloud/_results/results.py
TileDB-Inc/TileDB-Cloud-Py
e73f6e0ae3fc595218abd3be606c68f62ad5ac9b
[ "MIT" ]
4
2019-12-04T23:19:35.000Z
2021-06-21T21:42:53.000Z
tiledb/cloud/_results/results.py
TileDB-Inc/TileDB-Cloud-Py
e73f6e0ae3fc595218abd3be606c68f62ad5ac9b
[ "MIT" ]
106
2019-11-07T22:40:43.000Z
2022-03-29T22:31:18.000Z
tiledb/cloud/_results/results.py
TileDB-Inc/TileDB-Cloud-Py
e73f6e0ae3fc595218abd3be606c68f62ad5ac9b
[ "MIT" ]
1
2020-10-04T18:54:37.000Z
2020-10-04T18:54:37.000Z
"""Things that help you keep track of task results and how to decode them.""" import abc import dataclasses import threading import uuid from concurrent import futures from typing import Callable, Generic, Optional, TypeVar, Union import urllib3 from tiledb.cloud import rest_api from tiledb.cloud import tiledb_cloud...
32.343511
80
0.660609
573
4,237
4.717277
0.342059
0.044395
0.022198
0.012209
0.098409
0.049575
0.049575
0.031817
0
0
0
0.001862
0.23932
4,237
130
81
32.592308
0.836798
0.241208
0
0.180723
0
0
0.067662
0.015248
0
0
0
0
0
1
0.144578
false
0.012048
0.13253
0.024096
0.506024
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
3fcf781a8eea0228e1eb54ee4f6768c262da5120
748
py
Python
rasa/train_init.py
BarnikRay/chatbot
4191f3064f6dae90b108ecf4e08130cda39ed370
[ "MIT" ]
1
2020-05-03T07:30:18.000Z
2020-05-03T07:30:18.000Z
rasa/train_init.py
privykurura1/chatbot
4191f3064f6dae90b108ecf4e08130cda39ed370
[ "MIT" ]
8
2019-12-04T23:20:56.000Z
2022-02-10T07:47:03.000Z
rasa/train_init.py
privykurura1/chatbot
4191f3064f6dae90b108ecf4e08130cda39ed370
[ "MIT" ]
1
2021-11-14T07:45:24.000Z
2021-11-14T07:45:24.000Z
from __future__ import absolute_import from __future__ import division from __future__ import unicode_literals import logging from rasa_core.agent import Agent from rasa_core.policies.keras_policy import KerasPolicy from rasa_core.policies.memoization import MemoizationPolicy def run_faq(domain_file="config/faq_dom...
28.769231
117
0.758021
97
748
5.42268
0.515464
0.057034
0.091255
0.076046
0
0
0
0
0
0
0
0.011058
0.153743
748
25
118
29.92
0.819905
0
0
0
0
0
0.086898
0.028075
0
0
0
0
0
1
0.055556
false
0
0.388889
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
1
0
0
0
0
1
3fd2e3175b855481fd32ee5d4ebc2f50e3468d9a
4,101
py
Python
Tests/Methods/Mesh/test_get_field.py
IrakozeFD/pyleecan
5a93bd98755d880176c1ce8ac90f36ca1b907055
[ "Apache-2.0" ]
null
null
null
Tests/Methods/Mesh/test_get_field.py
IrakozeFD/pyleecan
5a93bd98755d880176c1ce8ac90f36ca1b907055
[ "Apache-2.0" ]
null
null
null
Tests/Methods/Mesh/test_get_field.py
IrakozeFD/pyleecan
5a93bd98755d880176c1ce8ac90f36ca1b907055
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import pytest import numpy as np from unittest import TestCase from SciDataTool import DataTime, Data1D, DataLinspace, VectorField from pyleecan.Classes.SolutionData import SolutionData from pyleecan.Classes.SolutionMat import SolutionMat from pyleecan.Classes.SolutionVector import SolutionVe...
32.039063
87
0.566935
480
4,101
4.783333
0.1875
0.027875
0.041812
0.054878
0.68162
0.646341
0.62108
0.62108
0.610192
0.610192
0
0.027864
0.291149
4,101
127
88
32.291339
0.761954
0.029017
0
0.542553
0
0
0.102441
0
0
0
0
0
0.06383
1
0.031915
false
0
0.074468
0
0.117021
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3fd8c6ef2dca4f5f0372db69829883a2a443d40b
4,536
py
Python
tests/ref_test.py
lykme516/pykka
d66b0c49658fc0e7c4e1ae46a0f9c50c7e964ca5
[ "Apache-2.0" ]
1
2021-01-03T09:25:23.000Z
2021-01-03T09:25:23.000Z
tests/ref_test.py
hujunxianligong/pykka
d66b0c49658fc0e7c4e1ae46a0f9c50c7e964ca5
[ "Apache-2.0" ]
null
null
null
tests/ref_test.py
hujunxianligong/pykka
d66b0c49658fc0e7c4e1ae46a0f9c50c7e964ca5
[ "Apache-2.0" ]
null
null
null
import time import unittest from pykka import ActorDeadError, ThreadingActor, ThreadingFuture, Timeout class AnActor(object): def __init__(self, received_message): super(AnActor, self).__init__() self.received_message = received_message def on_receive(self, message): if message.get(...
31.068493
74
0.668651
549
4,536
5.262295
0.218579
0.070267
0.03046
0.031153
0.417792
0.377293
0.305296
0.293527
0.236068
0.186224
0
0.001141
0.226852
4,536
145
75
31.282759
0.82264
0
0
0.287037
0
0
0.079365
0
0
0
0
0
0.157407
1
0.212963
false
0.027778
0.083333
0
0.351852
0
0
0
0
null
0
0
0
0
0
0
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
3fe6078d322f58b763a2e00d815b964e8911f9bf
885
py
Python
PyTrinamic/modules/TMC_EvalShield.py
trinamic-AA/PyTrinamic
b054f4baae8eb6d3f5d2574cf69c232f66abb4ee
[ "MIT" ]
37
2019-01-13T11:08:45.000Z
2022-03-25T07:18:15.000Z
PyTrinamic/modules/TMC_EvalShield.py
AprDec/PyTrinamic
a9db10071f8fbeebafecb55c619e5893757dd0ce
[ "MIT" ]
56
2019-02-25T02:48:27.000Z
2022-03-31T08:45:34.000Z
PyTrinamic/modules/TMC_EvalShield.py
AprDec/PyTrinamic
a9db10071f8fbeebafecb55c619e5893757dd0ce
[ "MIT" ]
26
2019-01-14T05:20:16.000Z
2022-03-08T13:27:35.000Z
''' Created on 18.03.2020 @author: LK ''' class TMC_EvalShield(object): """ Arguments: connection: Type: connection interface The connection interface used for this module. shield: Type: class The EvalShield class used for every axis on this mod...
26.818182
85
0.615819
99
885
5.434343
0.505051
0.039033
0.04461
0.118959
0.197026
0.197026
0.197026
0
0
0
0
0.019293
0.297175
885
32
86
27.65625
0.845659
0.40452
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0.090909
0
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
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
3fe82d5a85daeba3d97651074742e05e1165543c
1,697
py
Python
test/vizier/test_nodes.py
robotarium/vizier
6ce2be4fc0edcdaf5ba246094c2e79bff32e219d
[ "MIT" ]
11
2016-08-18T20:37:06.000Z
2019-11-24T17:34:27.000Z
test/vizier/test_nodes.py
robotarium/vizier
6ce2be4fc0edcdaf5ba246094c2e79bff32e219d
[ "MIT" ]
6
2018-10-07T17:01:40.000Z
2019-11-24T17:41:16.000Z
test/vizier/test_nodes.py
robotarium/vizier
6ce2be4fc0edcdaf5ba246094c2e79bff32e219d
[ "MIT" ]
3
2016-08-22T13:58:24.000Z
2018-06-07T21:06:35.000Z
import json import vizier.node as node import unittest class TestVizierNodes(unittest.TestCase): def setUp(self): path_a = '../config/node_desc_a.json' path_b = '../config/node_desc_b.json' try: f = open(path_a, 'r') node_descriptor_a = json.load(f) f....
30.854545
69
0.614614
229
1,697
4.323144
0.222707
0.113131
0.153535
0.185859
0.484848
0.436364
0.365657
0.167677
0.167677
0.167677
0
0.009577
0.261638
1,697
54
70
31.425926
0.780527
0
0
0.238095
0
0
0.103123
0.030642
0
0
0
0
0.190476
1
0.142857
false
0
0.071429
0
0.285714
0.095238
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
3fe8ccedd5919a259d55f873b8eeacc8ac42d24a
5,417
py
Python
cuda/rrnn_semiring.py
Noahs-ARK/rational-recurrences
3b7ef54520bcaa2b24551cf42a125c9251124229
[ "MIT" ]
27
2018-09-28T02:17:07.000Z
2020-10-15T14:57:16.000Z
cuda/rrnn_semiring.py
Noahs-ARK/rational-recurrences
3b7ef54520bcaa2b24551cf42a125c9251124229
[ "MIT" ]
1
2021-03-25T22:08:35.000Z
2021-03-25T22:08:35.000Z
cuda/rrnn_semiring.py
Noahs-ARK/rational-recurrences
3b7ef54520bcaa2b24551cf42a125c9251124229
[ "MIT" ]
5
2018-11-06T05:49:51.000Z
2019-10-26T03:36:43.000Z
RRNN_SEMIRING = """ extern "C" { __global__ void rrnn_semiring_fwd( const float * __restrict__ u, const float * __restrict__ eps, const float * __restrict__ c1_init, const float * __restrict__ c2_init, const int len, ...
36.601351
86
0.502677
654
5,417
3.824159
0.108563
0.111955
0.10076
0.057577
0.589364
0.514994
0.413035
0.357057
0.313874
0.313874
0
0.055824
0.388222
5,417
147
87
36.85034
0.698853
0
0
0.349206
0
0.02381
0.995754
0.082518
0
0
0
0
0.015873
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3fe8e4411ff091a355fe9346309f0659c9b08983
1,841
py
Python
tests.py
c-okelly/movie_script_analytics
6fee40c0378921199ab14ca0b4db447b9f4e7bcf
[ "MIT" ]
1
2017-11-09T13:24:47.000Z
2017-11-09T13:24:47.000Z
tests.py
c-okelly/movie_script_analytics
6fee40c0378921199ab14ca0b4db447b9f4e7bcf
[ "MIT" ]
null
null
null
tests.py
c-okelly/movie_script_analytics
6fee40c0378921199ab14ca0b4db447b9f4e7bcf
[ "MIT" ]
null
null
null
import re import text_objects import numpy as np import pickle # f = open("Data/scripts_text/17-Again.txt", 'r') # text = f.read() # text = text[900:1500] # print(text) # count = len(re.findall("\W+",text)) # print(count) # # lines = text.split('\n') # lines_on_empty = re.split("\n\s+\n", text) # print(len(lines)) #...
23.303797
98
0.558935
268
1,841
3.768657
0.410448
0.031683
0.023762
0.027723
0.051485
0.051485
0.051485
0.051485
0.051485
0
0
0.033898
0.262901
1,841
78
99
23.602564
0.710391
0.797936
0
0
0
0
0.124183
0.091503
0
0
0
0
0
1
0
false
0
0.5
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
1
0
0
0
0
1
3feef5a3e0cc27bf16fbab36a842bb9bb4ecc2cd
643
py
Python
machina/templatetags/forum_tracking_tags.py
jujinesy/initdjango-machina
93c24877f546521867b3ef77fa278237af932d42
[ "BSD-3-Clause" ]
1
2021-10-08T03:31:24.000Z
2021-10-08T03:31:24.000Z
machina/templatetags/forum_tracking_tags.py
jujinesy/initdjango-machina
93c24877f546521867b3ef77fa278237af932d42
[ "BSD-3-Clause" ]
7
2020-02-12T01:11:13.000Z
2022-03-11T23:26:32.000Z
machina/templatetags/forum_tracking_tags.py
jujinesy/initdjango-machina
93c24877f546521867b3ef77fa278237af932d42
[ "BSD-3-Clause" ]
1
2019-04-20T05:26:27.000Z
2019-04-20T05:26:27.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django import template from machina.core.loading import get_class TrackingHandler = get_class('forum_tracking.handler', 'TrackingHandler') register = template.Library() @register.simple_tag(takes_context=True) def get_unread_topics(context, to...
24.730769
91
0.738725
84
643
5.452381
0.52381
0.131004
0.098253
0.091703
0
0
0
0
0
0
0
0.001862
0.164852
643
25
92
25.72
0.851024
0.287714
0
0
0
0
0.101382
0.050691
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
3ff244c8c0c0b1265e61249a530b3e42331c5fc4
13,794
py
Python
qiskit/pulse/timeslots.py
lerongil/qiskit-terra
a25af2a2378bc3d4f5ec73b948d048d1b707454c
[ "Apache-2.0" ]
3
2019-11-20T08:15:28.000Z
2020-11-01T15:32:57.000Z
qiskit/pulse/timeslots.py
lerongil/qiskit-terra
a25af2a2378bc3d4f5ec73b948d048d1b707454c
[ "Apache-2.0" ]
null
null
null
qiskit/pulse/timeslots.py
lerongil/qiskit-terra
a25af2a2378bc3d4f5ec73b948d048d1b707454c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # This code is part of Qiskit. # # (C) Copyright IBM 2017, 2019. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any...
32.456471
89
0.603741
1,575
13,794
5.166984
0.154921
0.03244
0.019661
0.01278
0.329073
0.281887
0.228435
0.19071
0.117351
0.081224
0
0.003359
0.309337
13,794
424
90
32.533019
0.850845
0.335581
0
0.248588
0
0
0.046068
0
0
0
0
0
0
1
0.214689
false
0
0.028249
0
0.485876
0
0
0
0
null
0
0
0
0
0
0
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
3ff3b22779c14ce17a4d6563f15286360782e0ac
3,237
py
Python
qvdfile/tests/test_qvdfile.py
cosmocracy/qvdfile
c1f92ec153c07f607fd57c6f6679e3c7269d643e
[ "Apache-2.0" ]
17
2019-07-18T12:50:33.000Z
2021-05-25T06:26:45.000Z
qvdfile/tests/test_qvdfile.py
cosmocracy/qvdfile
c1f92ec153c07f607fd57c6f6679e3c7269d643e
[ "Apache-2.0" ]
2
2021-05-15T03:53:08.000Z
2021-07-22T14:31:15.000Z
qvdfile/tests/test_qvdfile.py
cosmocracy/qvdfile
c1f92ec153c07f607fd57c6f6679e3c7269d643e
[ "Apache-2.0" ]
5
2019-07-18T12:55:31.000Z
2021-12-21T15:09:37.000Z
import pytest import errno import os import glob import shutil import xml.etree.ElementTree as ET from qvdfile.qvdfile import QvdFile, BadFormat @pytest.fixture(scope="function") def qvd(): """ standard setup for most of the tests """ yield QvdFile("data/tab1.qvd") @pytest.fixture(scope="function") def big...
22.957447
81
0.611369
410
3,237
4.67561
0.263415
0.054773
0.041732
0.071987
0.303599
0.179447
0.179447
0.158059
0.116328
0.116328
0
0.022309
0.210689
3,237
140
82
23.121429
0.727984
0.11245
0
0.181818
0
0
0.127324
0.016836
0
0
0
0
0.376623
1
0.220779
false
0
0.090909
0
0.311688
0
0
0
0
null
0
0
0
0
0
0
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
3ff6e816cd8b898e3be215d0d77841e6ad25c848
543
py
Python
patients/migrations/0008_alter_patient_age.py
Curewell-Homeo-Clinic/admin-system
c8ce56a2bdbccfe1e6bec09068932f1943498b9f
[ "MIT" ]
1
2021-11-29T15:24:41.000Z
2021-11-29T15:24:41.000Z
patients/migrations/0008_alter_patient_age.py
Curewell-Homeo-Clinic/admin-system
c8ce56a2bdbccfe1e6bec09068932f1943498b9f
[ "MIT" ]
46
2021-11-29T16:05:55.000Z
2022-03-01T13:04:45.000Z
patients/migrations/0008_alter_patient_age.py
Curewell-Homeo-Clinic/admin-system
c8ce56a2bdbccfe1e6bec09068932f1943498b9f
[ "MIT" ]
null
null
null
# Generated by Django 3.2.9 on 2021-11-20 16:13 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('patients', '0007_alter_patient_age'), ] operations = [ migrations.AlterField( model_name='patient'...
27.15
179
0.67035
58
543
6.206897
0.689655
0.083333
0.166667
0
0
0
0
0
0
0
0
0.053864
0.213628
543
19
180
28.578947
0.789227
0.082873
0
0
1
0
0.080645
0.044355
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3ff9c9e147dda16eeaf022e601e081b35faea86c
15,400
py
Python
minemeld/ft/condition/BoolExprParser.py
zul126/minemeld-core
2eb9b9bfd7654aee57aabd5fb280d4e89a438daf
[ "Apache-2.0" ]
1
2021-01-02T07:25:04.000Z
2021-01-02T07:25:04.000Z
minemeld/ft/condition/BoolExprParser.py
zul126/minemeld-core
2eb9b9bfd7654aee57aabd5fb280d4e89a438daf
[ "Apache-2.0" ]
null
null
null
minemeld/ft/condition/BoolExprParser.py
zul126/minemeld-core
2eb9b9bfd7654aee57aabd5fb280d4e89a438daf
[ "Apache-2.0" ]
1
2019-03-14T06:52:52.000Z
2019-03-14T06:52:52.000Z
# Generated from BoolExpr.g4 by ANTLR 4.5.1 # encoding: utf-8 from __future__ import print_function from antlr4 import * from io import StringIO # flake8: noqa def serializedATN(): with StringIO() as buf: buf.write(u"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\3") buf.write(u"\22\63\4\2\t\...
33.04721
241
0.586104
1,750
15,400
5.04
0.110857
0.014059
0.009864
0.011791
0.572902
0.498073
0.477211
0.398639
0.32483
0.315533
0
0.055117
0.293117
15,400
465
242
33.11828
0.755098
0.006688
0
0.45858
1
0.044379
0.088191
0.057769
0
0
0.000523
0
0
1
0.14497
false
0.011834
0.008876
0.050296
0.35503
0.002959
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
3ffb7c0442cbda7e7c873ec775ef33cdb0c000d2
398
py
Python
nodes/networkedSingleStepper/temporaryURLNode.py
imoyer/pygestalt
d332df64264cce4a2bec8a73d698c386f1eaca7b
[ "MIT" ]
1
2017-07-03T08:34:39.000Z
2017-07-03T08:34:39.000Z
nodes/networkedSingleStepper/temporaryURLNode.py
imoyer/pygestalt
d332df64264cce4a2bec8a73d698c386f1eaca7b
[ "MIT" ]
3
2015-12-04T23:14:50.000Z
2016-11-08T16:24:32.000Z
nodes/networkedSingleStepper/temporaryURLNode.py
imnp/pygestalt
d332df64264cce4a2bec8a73d698c386f1eaca7b
[ "MIT" ]
1
2017-09-13T00:17:39.000Z
2017-09-13T00:17:39.000Z
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /vn/testNode.py was not found on this server.</p> <p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p> <hr>...
33.166667
85
0.718593
69
398
4.144928
0.681159
0.111888
0.076923
0
0
0
0
0
0
0
0
0.034384
0.123116
398
11
86
36.181818
0.7851
0
0
0
0
0
0.062814
0
0
0
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
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
3ffbaac7ded264cd662d18071c85e8138b2662eb
4,761
py
Python
cppwg/writers/header_collection_writer.py
josephsnyder/cppwg
265117455ed57eb250643a28ea6029c2bccf3ab3
[ "MIT" ]
21
2017-10-03T14:29:36.000Z
2021-12-07T08:54:43.000Z
cppwg/writers/header_collection_writer.py
josephsnyder/cppwg
265117455ed57eb250643a28ea6029c2bccf3ab3
[ "MIT" ]
2
2017-12-29T19:17:44.000Z
2020-03-27T14:59:27.000Z
cppwg/writers/header_collection_writer.py
josephsnyder/cppwg
265117455ed57eb250643a28ea6029c2bccf3ab3
[ "MIT" ]
6
2019-03-21T11:55:52.000Z
2021-07-13T20:49:50.000Z
#!/usr/bin/env python """ Generate the file classes_to_be_wrapped.hpp, which contains includes, instantiation and naming typedefs for all classes that are to be automatically wrapped. """ import os import ntpath class CppHeaderCollectionWriter(): """ This class manages generation of the header collection f...
36.068182
91
0.603235
531
4,761
5.135593
0.239171
0.035937
0.06674
0.037404
0.323432
0.288229
0.288229
0.244958
0.23029
0.23029
0
0.00061
0.310859
4,761
131
92
36.343511
0.830539
0.110481
0
0.25641
1
0
0.081206
0.02018
0
0
0
0
0
1
0.064103
false
0.012821
0.025641
0
0.128205
0
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
b209d756a7a9dd9b0a6aa608dc616fb5501e9ff4
219
py
Python
01 - Expressions, variables and assignments/exercises/perimeter-of-rectangle.py
PableraShow/python-exercises
e1648fd42f3009ec6fb1e2096852b6d399e91d5b
[ "MIT" ]
8
2018-10-01T17:35:57.000Z
2022-02-01T08:12:12.000Z
01 - Expressions, variables and assignments/exercises/perimeter-of-rectangle.py
PableraShow/python-exercises
e1648fd42f3009ec6fb1e2096852b6d399e91d5b
[ "MIT" ]
null
null
null
01 - Expressions, variables and assignments/exercises/perimeter-of-rectangle.py
PableraShow/python-exercises
e1648fd42f3009ec6fb1e2096852b6d399e91d5b
[ "MIT" ]
6
2018-07-22T19:15:21.000Z
2022-02-05T07:54:58.000Z
""" Prints the length in inches of the perimeter of a rectangle with sides of length 4 and 7 inches. """ # Rectangle perimeter formula length = 4 inches = 7 perimeter = 2 * length + 2 * inches # Output print perimeter
18.25
59
0.726027
34
219
4.676471
0.529412
0.08805
0
0
0
0
0
0
0
0
0
0.034483
0.205479
219
12
60
18.25
0.87931
0.155251
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
1
b20c24ef9d6d64b2c1eb48b70a055569f3cf0291
690
py
Python
2018/21/reverse_engineered.py
lvaughn/advent
ff3f727b8db1fd9b2a04aad5dcda9a6c8d1c271e
[ "CC0-1.0" ]
null
null
null
2018/21/reverse_engineered.py
lvaughn/advent
ff3f727b8db1fd9b2a04aad5dcda9a6c8d1c271e
[ "CC0-1.0" ]
null
null
null
2018/21/reverse_engineered.py
lvaughn/advent
ff3f727b8db1fd9b2a04aad5dcda9a6c8d1c271e
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python3 def simulate(reg_0, find_non_loop): seen = set() c = 0 last_unique_c = -1 while True: a = c | 65536 c = reg_0 while True: c = (((c + (a & 255)) & 16777215) * 65899) & 16777215 if a < 256: if find_non_loop: ...
22.258065
65
0.401449
75
690
3.533333
0.466667
0.113208
0.124528
0
0
0
0
0
0
0
0
0.161194
0.514493
690
30
66
23
0.629851
0.030435
0
0.217391
0
0
0
0
0
0
0
0
0
1
0.043478
false
0
0
0
0.130435
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b20eabd7816b307c80c7a57deaf784b914a0c831
2,619
py
Python
model/State.py
BrandonTheBuilder/thermawesome
b2f2cb95e1181f05a112193be11baa18e10d39b1
[ "MIT" ]
null
null
null
model/State.py
BrandonTheBuilder/thermawesome
b2f2cb95e1181f05a112193be11baa18e10d39b1
[ "MIT" ]
null
null
null
model/State.py
BrandonTheBuilder/thermawesome
b2f2cb95e1181f05a112193be11baa18e10d39b1
[ "MIT" ]
null
null
null
from CoolProp import CoolProp as CP class State(object): """ The state of a fluid is defined with two unique intensive properties this class keeps track of the state of the fluid and solves for all other intensive properties. """ def __init__(self, fluid, **kwargs): """ ...
33.576923
82
0.544101
299
2,619
4.715719
0.317726
0.10922
0.042553
0.01844
0.221277
0.221277
0.221277
0.221277
0.221277
0.160284
0
0.00703
0.348225
2,619
78
83
33.576923
0.818981
0.0126
0
0.367347
0
0
0.013542
0
0
0
0
0
0
0
null
null
0.040816
0.020408
null
null
0.020408
0
0
0
null
0
0
0
0
0
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
b748129a257264ee78fbb33c2f52b2552698dcea
2,418
py
Python
CalibTracker/SiStripCommon/python/theBigNtuple_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
CalibTracker/SiStripCommon/python/theBigNtuple_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
CalibTracker/SiStripCommon/python/theBigNtuple_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms from CalibTracker.SiStripCommon.ShallowEventDataProducer_cfi import * from CalibTracker.SiStripCommon.ShallowDigisProducer_cfi import * from CalibTracker.SiStripCommon.ShallowClustersProducer_cfi import * from CalibTracker.SiStripCommon.ShallowTrackClustersProducer_cfi import *...
43.178571
130
0.700165
150
2,418
11.086667
0.44
0.048106
0.10463
0.075165
0.114251
0
0
0
0
0
0
0
0.235318
2,418
55
131
43.963636
0.899405
0
0
0
0
0
0.096026
0.048427
0
0
0
0
0
1
0
false
0
0.261905
0
0.261905
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
b74a946738ed6712ecf1be81551ad79c1bd928a1
1,401
py
Python
tests/test_protocol.py
gimbas/openinput
9cbb4b22aebe46dfc33ae9c56b164baa6c1fe693
[ "MIT" ]
38
2020-05-11T10:54:15.000Z
2022-03-30T13:19:09.000Z
tests/test_protocol.py
gimbas/openinput
9cbb4b22aebe46dfc33ae9c56b164baa6c1fe693
[ "MIT" ]
45
2020-04-21T23:52:22.000Z
2022-02-19T20:29:27.000Z
tests/test_protocol.py
gimbas/openinput
9cbb4b22aebe46dfc33ae9c56b164baa6c1fe693
[ "MIT" ]
5
2020-08-29T02:10:42.000Z
2021-08-31T03:12:15.000Z
# SPDX-License-Identifier: MIT # SPDX-FileCopyrightText: 2021 Filipe Laíns <lains@riseup.net> def test_dispatch(basic_device): basic_device.protocol_dispatch([0x03, 0x02, 0x01]) # unrelated basic_device.protocol_dispatch([0x20]) # invalid length short basic_device.protocol_dispatch([0x21]) # invalid le...
32.581395
95
0.712348
194
1,401
4.85567
0.268041
0.198514
0.11465
0.200637
0.577495
0.510616
0.470276
0.428875
0.428875
0.269639
0
0.147737
0.164168
1,401
42
96
33.357143
0.656704
0.099929
0
0.16
0
0
0.027888
0
0
0
0.175299
0
0.2
1
0.2
false
0
0
0
0.2
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
b74c264ab951da49d482e8b5b2b953e6b1285a3b
792
py
Python
tests/explainers/test_explainer.py
zduey/shap
1bb8203f2d43f7552396a5f26167a258cbdc505c
[ "MIT" ]
1
2021-03-03T11:00:32.000Z
2021-03-03T11:00:32.000Z
tests/explainers/test_explainer.py
zduey/shap
1bb8203f2d43f7552396a5f26167a258cbdc505c
[ "MIT" ]
null
null
null
tests/explainers/test_explainer.py
zduey/shap
1bb8203f2d43f7552396a5f26167a258cbdc505c
[ "MIT" ]
null
null
null
""" Tests for Explainer class. """ import pytest import shap def test_wrapping_for_text_to_text_teacher_forcing_logits_model(): """ This tests using the Explainer class to auto choose a text to text setup. """ transformers = pytest.importorskip("transformers") def f(x): # pylint: disable=unused-arg...
31.68
111
0.753788
92
792
6.304348
0.554348
0.048276
0.034483
0
0
0
0
0
0
0
0
0.002954
0.145202
792
24
112
33
0.853767
0.174242
0
0
0
0
0.078125
0.042188
0
0
0
0
0.083333
1
0.166667
false
0.083333
0.25
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b74eef5240ddb793f5798e460265805a101c2233
486
py
Python
examples/simpleform/app/forms.py
ezeev/Flask-AppBuilder
d95f0ed934272629ee44ad3241646fa7ba09cdf8
[ "BSD-3-Clause" ]
71
2016-11-02T06:45:42.000Z
2021-11-15T12:33:48.000Z
examples/simpleform/app/forms.py
ezeev/Flask-AppBuilder
d95f0ed934272629ee44ad3241646fa7ba09cdf8
[ "BSD-3-Clause" ]
3
2021-06-08T23:39:54.000Z
2022-03-12T00:50:13.000Z
examples/simpleform/app/forms.py
ezeev/Flask-AppBuilder
d95f0ed934272629ee44ad3241646fa7ba09cdf8
[ "BSD-3-Clause" ]
23
2016-11-02T06:45:44.000Z
2022-02-08T14:55:13.000Z
from wtforms import Form, StringField from wtforms.validators import DataRequired from flask_appbuilder.fieldwidgets import BS3TextFieldWidget from flask_appbuilder.forms import DynamicForm class MyForm(DynamicForm): field1 = StringField(('Field1'), description=('Your field number one!'), validato...
37.384615
76
0.751029
47
486
7.723404
0.510638
0.060606
0.104683
0.143251
0
0
0
0
0
0
0
0.016908
0.148148
486
12
77
40.5
0.859903
0
0
0
0
0
0.115226
0
0
0
0
0
0
1
0
false
0
0.4
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
b74ef20d1f5294557f6193fe99adc3a01e0224ec
403
py
Python
comms.py
kajusz/ufscreenadsclient
0151edec0117161c522a87643eef2f7be214210c
[ "MIT" ]
null
null
null
comms.py
kajusz/ufscreenadsclient
0151edec0117161c522a87643eef2f7be214210c
[ "MIT" ]
null
null
null
comms.py
kajusz/ufscreenadsclient
0151edec0117161c522a87643eef2f7be214210c
[ "MIT" ]
null
null
null
import zmq context = zmq.Context() socket = context.socket(zmq.PAIR) address = "tcp://127.0.0.1:5000" def client(address): socket.connect(address) def server(address): socket.bind(address) def send(data): socket.send_string(data) def recv(): try: return socket.recv(flags=zmq.NOBLOCK) ex...
18.318182
45
0.66005
57
403
4.649123
0.596491
0.075472
0
0
0
0
0
0
0
0
0
0.031348
0.208437
403
21
46
19.190476
0.799373
0.079404
0
0
0
0
0.055249
0
0
0
0
0
0
1
0.266667
false
0
0.066667
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b7509767f47f312767bff162702df8fc8da90b4c
2,821
py
Python
applications/admin/controllers/gae.py
otaviocarvalho/forca-inf
93b61f1d6988d4fb00a1736633d85b4f99a2f259
[ "BSD-3-Clause" ]
1
2017-03-28T21:31:51.000Z
2017-03-28T21:31:51.000Z
applications/admin/controllers/gae.py
murray3/augmi-a
9f8cff457fa3966d67d3752ccd86876b08bb19b1
[ "BSD-3-Clause" ]
null
null
null
applications/admin/controllers/gae.py
murray3/augmi-a
9f8cff457fa3966d67d3752ccd86876b08bb19b1
[ "BSD-3-Clause" ]
1
2022-03-10T19:53:44.000Z
2022-03-10T19:53:44.000Z
### this works on linux only try: import fcntl import subprocess import signal import os except: session.flash='sorry, only on Unix systems' redirect(URL(request.application,'default','site')) forever=10**8 def kill(): p = cache.ram('gae_upload',lambda:None,forever) if not p or p.poll...
36.636364
90
0.515066
326
2,821
4.383436
0.383436
0.022393
0.030791
0.047586
0.237229
0.237229
0.120364
0.081176
0.081176
0.081176
0
0.004795
0.334633
2,821
76
91
37.118421
0.756526
0.008508
0
0.202899
0
0
0.110992
0.008235
0
0
0
0
0
1
0.043478
false
0.072464
0.057971
0
0.15942
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b757a454248faaffeb488872e86cf07d801bf71c
1,355
py
Python
resources/lib/IMDbPY/bin/get_first_movie.py
bopopescu/ServerStatus
a883598248ad6f5273eb3be498e3b04a1fab6510
[ "MIT" ]
1
2017-11-02T06:06:39.000Z
2017-11-02T06:06:39.000Z
resources/lib/IMDbPY/bin/get_first_movie.py
bopopescu/ServerStatus
a883598248ad6f5273eb3be498e3b04a1fab6510
[ "MIT" ]
1
2015-04-21T22:05:02.000Z
2015-04-22T22:27:15.000Z
resources/lib/IMDbPY/bin/get_first_movie.py
GetSomeBlocks/Score_Soccer
a883598248ad6f5273eb3be498e3b04a1fab6510
[ "MIT" ]
4
2017-11-01T19:24:31.000Z
2018-09-13T00:05:41.000Z
#!/usr/bin/env python """ get_first_movie.py Usage: get_first_movie "movie title" Search for the given title and print the best matching result. """ import sys # Import the IMDbPY package. try: import imdb except ImportError: print 'You bad boy! You need to install the IMDbPY package!' sys.exit(1) if...
22.583333
79
0.702583
206
1,355
4.567961
0.446602
0.029756
0.054198
0.076514
0.061637
0
0
0
0
0
0
0.007266
0.187454
1,355
59
80
22.966102
0.847411
0.20369
0
0.071429
0
0
0.260361
0
0
0
0
0
0
0
null
null
0
0.107143
null
null
0.285714
0
0
0
null
0
0
0
0
0
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
b7592e3ec4b70120c5e12cf12590570b289d59a3
14,079
py
Python
ID3.py
idiomatic/id3.py
574b2a6bd52897e07c220198d451e5971577fc02
[ "MIT" ]
null
null
null
ID3.py
idiomatic/id3.py
574b2a6bd52897e07c220198d451e5971577fc02
[ "MIT" ]
null
null
null
ID3.py
idiomatic/id3.py
574b2a6bd52897e07c220198d451e5971577fc02
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- mode: python -*- import re import struct import types def items_in_order(dict, order=[]): """return all items of dict, but starting in the specified order.""" done = { } items = [ ] for key in order + dict.keys(): if not done.has_key(key) and dict.has_key(key): ...
32.291284
79
0.539882
1,698
14,079
4.304476
0.295053
0.021891
0.016418
0.014366
0.138596
0.099193
0.065399
0.053633
0.053633
0.04214
0
0.025176
0.294694
14,079
435
80
32.365517
0.710876
0.033383
0
0.156863
0
0
0.230263
0.007843
0
0
0.004809
0
0
0
null
null
0.011204
0.014006
null
null
0.002801
0
0
0
null
0
0
0
0
0
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
b75a00768c2cceed8ca46774029ad378bc7cc2e6
1,180
py
Python
workflow/pnmlpy/pmnl_model.py
SODALITE-EU/verification
584e3c61bc20e65944e34b875eb5ed0ec02d6fa9
[ "Apache-2.0" ]
null
null
null
workflow/pnmlpy/pmnl_model.py
SODALITE-EU/verification
584e3c61bc20e65944e34b875eb5ed0ec02d6fa9
[ "Apache-2.0" ]
2
2020-03-30T12:02:32.000Z
2021-04-20T19:09:25.000Z
workflow/pnmlpy/pmnl_model.py
SODALITE-EU/verification
584e3c61bc20e65944e34b875eb5ed0ec02d6fa9
[ "Apache-2.0" ]
null
null
null
from xml.dom import minidom from xml.etree import ElementTree from xml.etree.cElementTree import Element, SubElement, ElementTree, tostring class PNMLModelGenerator: def generate(self, tasks): top = Element('pnml') child = SubElement(top, 'net', attrib={'id': "net1", 't...
31.891892
115
0.582203
121
1,180
5.661157
0.520661
0.030657
0.035037
0
0
0
0
0
0
0
0
0.01083
0.295763
1,180
36
116
32.777778
0.813478
0.04322
0
0
1
0
0.110018
0
0
0
0
0
0
1
0.076923
false
0
0.115385
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b75eb4207857101d04d38eb0f52b4294fd616690
1,413
py
Python
wavefront_reader/reading/readobjfile.py
SimLeek/wavefront_reader
4504f5b6185a03fcdd1722dbea660f7af35b8b8c
[ "MIT" ]
null
null
null
wavefront_reader/reading/readobjfile.py
SimLeek/wavefront_reader
4504f5b6185a03fcdd1722dbea660f7af35b8b8c
[ "MIT" ]
null
null
null
wavefront_reader/reading/readobjfile.py
SimLeek/wavefront_reader
4504f5b6185a03fcdd1722dbea660f7af35b8b8c
[ "MIT" ]
null
null
null
from wavefront_reader.wavefront_classes.objfile import ObjFile from .readface import read_face def read_objfile(fname): """Takes .obj filename and return an ObjFile class.""" obj_file = ObjFile() with open(fname) as f: lines = f.read().splitlines() if 'OBJ' not in lines[0]: raise Valu...
39.25
107
0.573248
180
1,413
4.316667
0.405556
0.108108
0.084942
0.108108
0.316602
0.223938
0.162162
0.162162
0.162162
0.162162
0
0.002079
0.319179
1,413
35
108
40.371429
0.805613
0.101203
0
0
0
0
0.034838
0
0
0
0
0.028571
0
1
0.037037
false
0
0.074074
0
0.148148
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
b760116d8d8fe2d046e6af340b2d6bd9cb6fc8e2
157
py
Python
constants.py
Guedelho/snake-ai
176db202aaec76ff5c7cac6cc9d7a7bc46ff2b16
[ "MIT" ]
null
null
null
constants.py
Guedelho/snake-ai
176db202aaec76ff5c7cac6cc9d7a7bc46ff2b16
[ "MIT" ]
null
null
null
constants.py
Guedelho/snake-ai
176db202aaec76ff5c7cac6cc9d7a7bc46ff2b16
[ "MIT" ]
null
null
null
# Directions UP = 'UP' DOWN = 'DOWN' LEFT = 'LEFT' RIGHT = 'RIGHT' # Colors RED = (255, 0, 0) BLACK = (0, 0, 0) GREEN = (0, 255, 0) WHITE = (255, 255, 255)
13.083333
23
0.547771
26
157
3.307692
0.461538
0.069767
0
0
0
0
0
0
0
0
0
0.183333
0.235669
157
11
24
14.272727
0.533333
0.10828
0
0
0
0
0.109489
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
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
b761fb951040af2347c2dd2aa478c82dca9ff08e
10,460
py
Python
src/ebay_rest/api/buy_browse/models/refinement.py
matecsaj/ebay_rest
dd23236f39e05636eff222f99df1e3699ce47d4a
[ "MIT" ]
3
2021-12-12T04:28:03.000Z
2022-03-10T03:29:18.000Z
src/ebay_rest/api/buy_browse/models/refinement.py
jdavv/ebay_rest
20fc88c6aefdae9ab90f9c1330e79abddcd750cd
[ "MIT" ]
33
2021-06-16T20:44:36.000Z
2022-03-30T14:55:06.000Z
src/ebay_rest/api/buy_browse/models/refinement.py
jdavv/ebay_rest
20fc88c6aefdae9ab90f9c1330e79abddcd750cd
[ "MIT" ]
7
2021-06-03T09:30:23.000Z
2022-03-08T19:51:33.000Z
# coding: utf-8 """ Browse API <p>The Browse API has the following resources:</p> <ul> <li><b> item_summary: </b> Lets shoppers search for specific items by keyword, GTIN, category, charity, product, or item aspects and refine the results by using filters, such as aspects, compatibility, and fields values.<...
46.488889
2,332
0.67782
1,255
10,460
5.490837
0.185657
0.032506
0.046437
0.067334
0.493542
0.381512
0.368887
0.306051
0.239588
0.202728
0
0.011807
0.230784
10,460
224
2,333
46.696429
0.844643
0.505927
0
0.071429
0
0
0.104356
0.072368
0
0
0
0
0
1
0.163265
false
0
0.030612
0
0.336735
0.020408
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b76732831186e479ef5311c8854a1d2a5b3efda3
18,186
py
Python
bioshareX/api/views.py
amschaal/bioshare
7ac5da6874f70605ded8757c46fd9629d2d3d18b
[ "MIT" ]
7
2015-12-10T23:23:53.000Z
2018-08-22T11:00:28.000Z
bioshareX/api/views.py
amschaal/bioshare
7ac5da6874f70605ded8757c46fd9629d2d3d18b
[ "MIT" ]
61
2015-12-11T01:26:26.000Z
2021-10-05T00:25:20.000Z
bioshareX/api/views.py
amschaal/bioshare
7ac5da6874f70605ded8757c46fd9629d2d3d18b
[ "MIT" ]
2
2019-05-31T16:33:37.000Z
2021-05-03T20:51:25.000Z
# Create your views here. from django.core.urlresolvers import reverse from django.http.response import JsonResponse, HttpResponse from settings.settings import AUTHORIZED_KEYS_FILE, SITE_URL from bioshareX.models import Share, SSHKey, MetaData, Tag from bioshareX.forms import MetaDataForm, json_form_validate from guar...
47.11399
298
0.651875
2,207
18,186
5.206615
0.160399
0.018275
0.02193
0.015316
0.222348
0.166565
0.134192
0.097816
0.079192
0.067096
0
0.002918
0.208567
18,186
385
299
47.236364
0.795456
0.06615
0
0.263158
0
0
0.11382
0.014413
0
0
0
0
0
0
null
null
0.008772
0.084795
null
null
0.023392
0
0
0
null
0
0
0
0
0
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
b77490b49e8e303cfb2f69ab8e30192b9d37bd8f
2,077
py
Python
zairachem/reports/report.py
ersilia-os/ersilia-automl-chem
fabb1f05d17cff11ec0e084495eed4c0152f2f63
[ "MIT" ]
null
null
null
zairachem/reports/report.py
ersilia-os/ersilia-automl-chem
fabb1f05d17cff11ec0e084495eed4c0152f2f63
[ "MIT" ]
null
null
null
zairachem/reports/report.py
ersilia-os/ersilia-automl-chem
fabb1f05d17cff11ec0e084495eed4c0152f2f63
[ "MIT" ]
null
null
null
from .plots import ( ActivesInactivesPlot, ConfusionPlot, RocCurvePlot, ProjectionPlot, RegressionPlotRaw, HistogramPlotRaw, RegressionPlotTransf, HistogramPlotTransf, Transformation, IndividualEstimatorsAurocPlot, InidvidualEstimatorsR2Plot, ) from .. import ZairaBase from ...
28.847222
69
0.692826
225
2,077
6.053333
0.222222
0.082232
0.080764
0.113069
0.304699
0.270925
0.270925
0.179148
0.179148
0
0
0.002433
0.208474
2,077
71
70
29.253521
0.826034
0
0
0
0
0
0
0
0
0
0
0
0
1
0.232143
false
0
0.053571
0
0.303571
0
0
0
0
null
0
0
0
0
0
0
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
b77c8918ea2f71cb1258eb1a156531c01f3b83b2
269
py
Python
Chapter 07/hmac-md5.py
Prakshal2607/Effective-Python-Penetration-Testing
f49fedc172a1add45edb21f66f74746dfa9c944a
[ "MIT" ]
346
2016-06-21T11:39:39.000Z
2022-01-26T03:19:29.000Z
Chapter 07/hmac-md5.py
liceaga/Effective-Python-Penetration-Testing
0b043885231662efd63402eec3c9cb413b9693e2
[ "MIT" ]
1
2016-06-21T11:44:42.000Z
2016-11-17T05:10:08.000Z
Chapter 07/hmac-md5.py
liceaga/Effective-Python-Penetration-Testing
0b043885231662efd63402eec3c9cb413b9693e2
[ "MIT" ]
210
2016-06-22T12:08:47.000Z
2022-03-16T15:54:30.000Z
import hmac hmac_md5 = hmac.new('secret-key') f = open('sample-file.txt', 'rb') try: while True: block = f.read(1024) if not block: break hmac_md5.update(block) finally: f.close() digest = hmac_md5.hexdigest() print digest
16.8125
33
0.598513
38
269
4.157895
0.710526
0.132911
0
0
0
0
0
0
0
0
0
0.035714
0.271375
269
16
34
16.8125
0.770408
0
0
0
0
0
0.1
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
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
1
0
0
0
0
0
0
0
0
1
b77cac8f40a35a229bb7b41f7b04619f55a2baf4
31,686
py
Python
dingtalk/python/alibabacloud_dingtalk/alitrip_1_0/models.py
yndu13/dingtalk-sdk
700fb7bb49c4d3167f84afc5fcb5e7aa5a09735f
[ "Apache-2.0" ]
null
null
null
dingtalk/python/alibabacloud_dingtalk/alitrip_1_0/models.py
yndu13/dingtalk-sdk
700fb7bb49c4d3167f84afc5fcb5e7aa5a09735f
[ "Apache-2.0" ]
null
null
null
dingtalk/python/alibabacloud_dingtalk/alitrip_1_0/models.py
yndu13/dingtalk-sdk
700fb7bb49c4d3167f84afc5fcb5e7aa5a09735f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # This file is auto-generated, don't edit it. Thanks. from Tea.model import TeaModel from typing import Dict, List class AddCityCarApplyHeaders(TeaModel): def __init__( self, common_headers: Dict[str, str] = None, x_acs_dingtalk_access_token: str = None, ): ...
33.636943
142
0.581424
4,054
31,686
4.344598
0.065861
0.052518
0.094532
0.069835
0.633453
0.566002
0.53347
0.521036
0.503662
0.500255
0
0.004274
0.320678
31,686
941
143
33.672689
0.813984
0.032885
0
0.617571
1
0
0.086698
0.010011
0
0
0
0
0
1
0.077519
false
0.01292
0.002584
0
0.157623
0
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
b78064bab0e579a79f199c581d29dfd0023d9a67
1,337
py
Python
src/kong/db.py
paulgessinger/kong
b1e2ec0c18f432fa2419b2b0dc95ee1e391cf7a5
[ "MIT" ]
3
2020-02-14T09:23:56.000Z
2020-08-24T16:19:00.000Z
src/kong/db.py
paulgessinger/kong
b1e2ec0c18f432fa2419b2b0dc95ee1e391cf7a5
[ "MIT" ]
159
2019-09-16T19:17:16.000Z
2022-03-29T19:12:37.000Z
src/kong/db.py
paulgessinger/kong
b1e2ec0c18f432fa2419b2b0dc95ee1e391cf7a5
[ "MIT" ]
null
null
null
""" Singleton database instance """ from typing import TYPE_CHECKING, Any, List, ContextManager, Tuple, Iterable if not TYPE_CHECKING: from playhouse.sqlite_ext import SqliteExtDatabase, AutoIncrementField else: # pragma: no cover class SqliteExtDatabase: """ Mypy stub for the not type-hinted...
20.890625
86
0.449514
107
1,337
5.53271
0.429907
0.081081
0.101351
0.076014
0.236486
0.131757
0.131757
0.131757
0.131757
0.131757
0
0
0.436799
1,337
63
87
21.222222
0.786189
0.179506
0
0.35
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
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
b7886dbd5b5bd5591584039afc3ce54cfdba530a
6,877
py
Python
For_Simulator/learning/plot_gmm_nd.py
a-taniguchi/CSL-BGM
64bd803289e55b76a219c02ea040325a8a5b949e
[ "MIT" ]
1
2018-09-27T12:19:05.000Z
2018-09-27T12:19:05.000Z
learning/plot_gmm_nd.py
neuronalX/CSL-BGM
2fc66611928783c9b65c675ec84d9c06e0b6cd8a
[ "MIT" ]
null
null
null
learning/plot_gmm_nd.py
neuronalX/CSL-BGM
2fc66611928783c9b65c675ec84d9c06e0b6cd8a
[ "MIT" ]
1
2018-09-27T12:19:21.000Z
2018-09-27T12:19:21.000Z
#coding:utf-8 #gaussian plot (position category) #Akira Taniguchi 2016/06/16 import itertools import numpy as np from scipy import linalg import matplotlib.pyplot as plt import matplotlib as mpl from sklearn import mixture from __init__ import * from numpy.random import multinomial,uniform,dirichlet from sci...
38.418994
757
0.574378
1,102
6,877
3.495463
0.274955
0.013499
0.015576
0.054517
0.332295
0.315161
0.269211
0.240654
0.217809
0.158359
0
0.160242
0.207794
6,877
178
758
38.634831
0.546806
0.319325
0
0.179487
0
0
0.066934
0.018742
0
0
0
0
0
0
null
null
0
0.115385
null
null
0.025641
0
0
0
null
0
0
0
0
0
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
b78fac6287214282885abd8ffbebb076e0bdd37a
3,672
py
Python
paddlescience/pde/pde_navier_stokes.py
juneweng/PaddleScience
f30ce908b6fbec2403936007d12d9701f74fd00e
[ "Apache-2.0" ]
null
null
null
paddlescience/pde/pde_navier_stokes.py
juneweng/PaddleScience
f30ce908b6fbec2403936007d12d9701f74fd00e
[ "Apache-2.0" ]
null
null
null
paddlescience/pde/pde_navier_stokes.py
juneweng/PaddleScience
f30ce908b6fbec2403936007d12d9701f74fd00e
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
40.351648
223
0.510349
558
3,672
3.277778
0.232975
0.13778
0.216512
0.078732
0.525424
0.474576
0.434117
0.368507
0.326955
0.29415
0
0.055121
0.303377
3,672
90
224
40.8
0.659891
0.398148
0
0.465116
0
0
0.106053
0
0
0
0
0
0
1
0.023256
false
0
0.023256
0
0.069767
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b7907344916d1e840e9f663cfdac58234f01e739
327
py
Python
tests/strict/it_mod_double_fun.py
Euromance/pycopy
540cfcc52d17667a5f6b2a176427cc031029b78f
[ "MIT" ]
663
2018-12-30T00:17:59.000Z
2022-03-14T05:03:41.000Z
tests/strict/it_mod_double_fun.py
Euromance/pycopy
540cfcc52d17667a5f6b2a176427cc031029b78f
[ "MIT" ]
41
2019-06-06T08:31:19.000Z
2022-02-13T16:53:41.000Z
tests/strict/it_mod_double_fun.py
Euromance/pycopy
540cfcc52d17667a5f6b2a176427cc031029b78f
[ "MIT" ]
60
2019-06-01T04:25:00.000Z
2022-02-25T01:47:31.000Z
import mod def foo(): return 1 try: mod.foo = foo except RuntimeError: print("RuntimeError1") print(mod.foo()) try: mod.foo = 1 except RuntimeError: print("RuntimeError2") print(mod.foo) try: mod.foo = 2 except RuntimeError: print("RuntimeError3") print(mod.foo) def __main__(): ...
10.21875
26
0.642202
42
327
4.904762
0.380952
0.174757
0.131068
0.135922
0.194175
0.194175
0
0
0
0
0
0.023904
0.232416
327
31
27
10.548387
0.796813
0
0
0.4
0
0
0.119266
0
0
0
0
0
0
1
0.1
true
0.05
0.05
0.05
0.2
0.3
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
b791e622824560b49e99db6ea638309e033920f8
3,357
py
Python
scripts/merge.py
jgonzalezdemendibil/movie_publisher
0e58cb616e6e6c2c5cac7cb5016e0874c0409b42
[ "BSD-3-Clause" ]
null
null
null
scripts/merge.py
jgonzalezdemendibil/movie_publisher
0e58cb616e6e6c2c5cac7cb5016e0874c0409b42
[ "BSD-3-Clause" ]
null
null
null
scripts/merge.py
jgonzalezdemendibil/movie_publisher
0e58cb616e6e6c2c5cac7cb5016e0874c0409b42
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # Copied from https://raw.githubusercontent.com/srv/srv_tools/kinetic/bag_tools/scripts/merge.py since this script is # not released for indigo. """ Copyright (c) 2015, Enrique Fernandez Perdomo Clearpath Robotics, Inc. All rights reserved. Redistribution and use in source and binary forms, with or w...
42.493671
117
0.739053
489
3,357
5.02045
0.443763
0.01833
0.027699
0.01833
0.166191
0.138493
0.138493
0.114053
0.087169
0.055397
0
0.00398
0.176646
3,357
79
118
42.493671
0.884226
0.072684
0
0.2
0
0
0.222591
0
0
0
0
0
0
0
null
null
0
0.171429
null
null
0.142857
0
0
0
null
0
0
0
0
0
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
b7925483ba95f2bb530529066114343ba1164af4
1,567
py
Python
src/pyforest/auto_import.py
tnwei/pyforest
73b36298e8cbce9a861c13c01509e34f0e3397fe
[ "MIT" ]
1,002
2019-08-13T15:00:39.000Z
2022-03-29T19:14:41.000Z
src/pyforest/auto_import.py
tnwei/pyforest
73b36298e8cbce9a861c13c01509e34f0e3397fe
[ "MIT" ]
40
2019-08-13T19:17:49.000Z
2022-02-14T08:46:09.000Z
src/pyforest/auto_import.py
tnwei/pyforest
73b36298e8cbce9a861c13c01509e34f0e3397fe
[ "MIT" ]
202
2019-08-13T19:37:25.000Z
2022-03-21T20:05:27.000Z
from pathlib import Path IPYTHON_STARTUP_FOLDER = Path.home() / ".ipython" / "profile_default" / "startup" STARTUP_FILE = IPYTHON_STARTUP_FOLDER / "pyforest_autoimport.py" def _create_or_reset_startup_file(): if STARTUP_FILE.exists(): STARTUP_FILE.unlink() # deletes the old file # this is impor...
31.34
137
0.699426
223
1,567
4.766816
0.457399
0.093133
0.094073
0.045155
0.120414
0.052681
0
0
0
0
0
0.001669
0.235482
1,567
49
138
31.979592
0.885643
0.141034
0
0.114286
0
0.028571
0.526119
0.034328
0
0
0
0
0
1
0.085714
false
0.057143
0.257143
0
0.4
0.057143
0
0
0
null
0
0
0
0
0
0
0
0
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
b79836d2b12f5a44dd3688e75af8cc0da3616913
3,982
py
Python
egg/zoo/basic_games/data_readers.py
renata-nerenata/EGG
b8532efc3569defabeba6851986cecb0c6640984
[ "MIT" ]
1
2021-05-26T14:23:25.000Z
2021-05-26T14:23:25.000Z
egg/zoo/basic_games/data_readers.py
renata-nerenata/EGG
b8532efc3569defabeba6851986cecb0c6640984
[ "MIT" ]
1
2019-10-31T16:21:01.000Z
2019-10-31T16:21:01.000Z
egg/zoo/basic_games/data_readers.py
renata-nerenata/EGG
b8532efc3569defabeba6851986cecb0c6640984
[ "MIT" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import torch from torch.utils.data import Dataset import numpy as np # These input-data-processing classes take input data from a text file an...
45.770115
106
0.678805
576
3,982
4.541667
0.314236
0.034404
0.027523
0.018349
0.155963
0.155963
0.105505
0.105505
0.079511
0.079511
0
0.005937
0.238574
3,982
86
107
46.302326
0.85686
0.462079
0
0.384615
0
0
0.002361
0
0
0
0
0
0
1
0.153846
false
0
0.057692
0.115385
0.365385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
b799cded976768ac0fb3f24b3d043843412ec29f
4,056
py
Python
Round 3/fence_design.py
e-ntro-py/GoogleCodeJam-2021
c42283480fa20a853c6d31d5faf0e83c6ad0f5f7
[ "MIT" ]
30
2021-03-27T20:18:15.000Z
2022-03-19T06:18:58.000Z
Round 3/fence_design.py
e-ntro-py/GoogleCodeJam-2021
c42283480fa20a853c6d31d5faf0e83c6ad0f5f7
[ "MIT" ]
1
2021-05-24T19:14:29.000Z
2021-05-25T04:14:10.000Z
Round 3/fence_design.py
e-ntro-py/GoogleCodeJam-2021
c42283480fa20a853c6d31d5faf0e83c6ad0f5f7
[ "MIT" ]
7
2021-03-28T12:38:55.000Z
2021-09-19T15:30:39.000Z
# Copyright (c) 2021 kamyu. All rights reserved. # # Google Code Jam 2021 Round 3 - Problem C. Fence Design # https://codingcompetitions.withgoogle.com/codejam/round/0000000000436142/0000000000813bc7 # # Time: O(NlogN) on average, pass in PyPy2 but Python2 # Space: O(N) # from random import seed, randint # Compute t...
38.264151
115
0.554487
715
4,056
3.072727
0.177622
0.035048
0.021848
0.019117
0.175694
0.129267
0.129267
0.102868
0.086482
0.051889
0
0.042373
0.272682
4,056
105
116
38.628571
0.702373
0.124507
0
0.071429
0
0
0.006508
0
0
0
0
0
0.011905
0
null
null
0
0.011905
null
null
0.011905
0
0
0
null
0
0
0
0
0
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
b79f4a64c362393fd37c99b135489a7797ae3252
1,421
py
Python
device_e2e/sync/test_sync_c2d.py
dt-boringtao/azure-iot-sdk-python
35a09679bdf4d7a727391b265a8f1fbb99a30c45
[ "MIT" ]
null
null
null
device_e2e/sync/test_sync_c2d.py
dt-boringtao/azure-iot-sdk-python
35a09679bdf4d7a727391b265a8f1fbb99a30c45
[ "MIT" ]
null
null
null
device_e2e/sync/test_sync_c2d.py
dt-boringtao/azure-iot-sdk-python
35a09679bdf4d7a727391b265a8f1fbb99a30c45
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. import pytest import logging import json import threading from utils import get_random_dict logger = logging.getLogger(__name__) logger.setLevel(level=logging.INF...
30.891304
93
0.713582
184
1,421
5.304348
0.548913
0.122951
0.052254
0.047131
0
0
0
0
0
0
0
0.007993
0.2076
1,421
45
94
31.577778
0.858792
0.228008
0
0.071429
0
0
0.037615
0
0
0
0
0.022222
0.071429
1
0.071429
false
0
0.178571
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
b79f9124d587b0b999491249d4952350ec3b140e
6,588
py
Python
addons/mixer/blender_data/tests/test_bpy_blend_diff.py
trisadmeslek/V-Sekai-Blender-tools
0d8747387c58584b50c69c61ba50a881319114f8
[ "MIT" ]
null
null
null
addons/mixer/blender_data/tests/test_bpy_blend_diff.py
trisadmeslek/V-Sekai-Blender-tools
0d8747387c58584b50c69c61ba50a881319114f8
[ "MIT" ]
null
null
null
addons/mixer/blender_data/tests/test_bpy_blend_diff.py
trisadmeslek/V-Sekai-Blender-tools
0d8747387c58584b50c69c61ba50a881319114f8
[ "MIT" ]
null
null
null
# GPLv3 License # # Copyright (C) 2020 Ubisoft # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is dis...
41.961783
120
0.622495
856
6,588
4.654206
0.15771
0.079066
0.084337
0.080321
0.724649
0.698293
0.665412
0.654116
0.63002
0.63002
0
0.013052
0.267304
6,588
156
121
42.230769
0.812306
0.119156
0
0.589286
0
0
0.147059
0
0
0
0
0
0.1875
1
0.053571
false
0
0.053571
0.008929
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b7a7160ec0048a1f0be91a335c4abd54fb69fa8b
10,165
py
Python
guiapp/meditech_nls_parser/old/meditech_nls_to_xml.py
gcampuzano14/PathISTabs
ae29a0b71647ecb32fc40e234b5c7276ab5333d9
[ "MIT" ]
1
2017-07-28T14:01:32.000Z
2017-07-28T14:01:32.000Z
guiapp/meditech_nls_parser/old/meditech_nls_to_xml.py
gcampuzano14/PathISTabs
ae29a0b71647ecb32fc40e234b5c7276ab5333d9
[ "MIT" ]
null
null
null
guiapp/meditech_nls_parser/old/meditech_nls_to_xml.py
gcampuzano14/PathISTabs
ae29a0b71647ecb32fc40e234b5c7276ab5333d9
[ "MIT" ]
1
2019-02-14T06:07:24.000Z
2019-02-14T06:07:24.000Z
#!/usr/bin/env python import os import re import csv def fil(): filetext = os.path.join(os.path.dirname(__file__),'meditech_data','RAW') #filetext = "C:/Users/gcampuzanozuluaga/Dropbox/Programming/Python/APPS/meditech_data/MT/RAW" outtext_temp = os.path.join(os.path.dirname(__file__),'meditec...
50.073892
174
0.52789
1,329
10,165
3.93529
0.190369
0.008031
0.043977
0.057361
0.404398
0.357744
0.323518
0.307266
0.286424
0.196941
0
0.029404
0.277324
10,165
202
175
50.321782
0.682548
0.163896
0
0.146667
0
0.1
0.269054
0.180256
0.006667
0
0
0
0
0
null
null
0.006667
0.02
null
null
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b7af3d0ba516d34beefe1df3aa1a2a39558521ee
318
py
Python
python/cython_build.py
n1tk/batch_jaro_winkler
421c7e3a5bedce89e8c00216b90d32d1629073a2
[ "MIT" ]
22
2020-04-30T17:56:29.000Z
2022-01-19T21:05:15.000Z
python/cython_build.py
n1tk/batch_jaro_winkler
421c7e3a5bedce89e8c00216b90d32d1629073a2
[ "MIT" ]
2
2021-01-19T14:07:22.000Z
2021-11-24T16:32:46.000Z
python/cython_build.py
n1tk/batch_jaro_winkler
421c7e3a5bedce89e8c00216b90d32d1629073a2
[ "MIT" ]
3
2020-10-28T20:56:29.000Z
2022-02-25T23:29:05.000Z
from distutils.core import setup from distutils.extension import Extension from Cython.Build import cythonize import sys python_version = sys.version_info[0] setup( name='batch_jaro_winkler', ext_modules=cythonize([Extension('batch_jaro_winkler', ['cbatch_jaro_winkler.pyx'])], language_level=python_version) )
24.461538
118
0.811321
43
318
5.744186
0.55814
0.133603
0.129555
0
0
0
0
0
0
0
0
0.003472
0.09434
318
13
119
24.461538
0.854167
0
0
0
0
0
0.18612
0.072555
0
0
0
0
0
1
0
false
0
0.444444
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
1
0
0
0
0
1
b7afa43603c9767401a62b1a4fe6fc631887605a
6,647
py
Python
venv/lib/python3.7/site-packages/google/type/postal_address_pb2.py
nicholasadamou/StockBird
257396479667863d4ee122ea46adb86087c9aa78
[ "Apache-2.0" ]
15
2020-06-29T08:33:39.000Z
2022-02-12T00:28:51.000Z
venv/lib/python3.7/site-packages/google/type/postal_address_pb2.py
nicholasadamou/StockBird
257396479667863d4ee122ea46adb86087c9aa78
[ "Apache-2.0" ]
21
2020-03-01T18:21:09.000Z
2020-05-26T14:49:08.000Z
venv/lib/python3.7/site-packages/google/type/postal_address_pb2.py
nicholasadamou/StockBird
257396479667863d4ee122ea46adb86087c9aa78
[ "Apache-2.0" ]
11
2020-06-29T08:40:24.000Z
2022-02-24T17:39:16.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/type/postal_address.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import r...
47.141844
711
0.746352
883
6,647
5.374858
0.184598
0.057311
0.038348
0.045512
0.592078
0.512853
0.483354
0.459334
0.451327
0.451327
0
0.040673
0.123364
6,647
140
712
47.478571
0.773812
0.035204
0
0.495868
1
0.016529
0.243796
0.204776
0
0
0
0
0
1
0
false
0
0.041322
0
0.041322
0
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
b7b19fe3229937c45439013a0185385ffb6134b0
2,007
py
Python
BAMF_Detect/modules/dendroid.py
bwall/bamfdetect
3b0b96a8b2285a1a4b3e3cf5ed1b5ad422b91ed1
[ "MIT" ]
152
2015-02-04T16:34:53.000Z
2021-07-27T19:00:40.000Z
BAMF_Detect/modules/dendroid.py
bwall/bamfdetect
3b0b96a8b2285a1a4b3e3cf5ed1b5ad422b91ed1
[ "MIT" ]
null
null
null
BAMF_Detect/modules/dendroid.py
bwall/bamfdetect
3b0b96a8b2285a1a4b3e3cf5ed1b5ad422b91ed1
[ "MIT" ]
30
2015-03-31T10:20:32.000Z
2022-02-09T16:17:04.000Z
from common import Modules, data_strings, load_yara_rules, AndroidParseModule, ModuleMetadata from base64 import b64decode from string import printable class dendroid(AndroidParseModule): def __init__(self): md = ModuleMetadata( module_name="dendroid", bot_name="Dendroid", ...
33.45
119
0.521176
189
2,007
5.380952
0.444444
0.061947
0.051131
0.029499
0.043265
0.043265
0
0
0
0
0
0.023121
0.396612
2,007
60
120
33.45
0.81668
0
0
0.148148
0
0
0.1001
0.0249
0
0
0
0
0
1
0.055556
false
0.12963
0.055556
0
0.166667
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
1
0
0
0
0
0
1
b7cb10c335526f698fe7f642c39ab4db21115697
246
py
Python
logxs/__version__.py
minlaxz/logxs
e225e7a3c69b01595e1f2c11552b70e4b1540d47
[ "MIT" ]
null
null
null
logxs/__version__.py
minlaxz/logxs
e225e7a3c69b01595e1f2c11552b70e4b1540d47
[ "MIT" ]
null
null
null
logxs/__version__.py
minlaxz/logxs
e225e7a3c69b01595e1f2c11552b70e4b1540d47
[ "MIT" ]
null
null
null
__title__ = 'logxs' __description__ = 'Replacing with build-in `print` with nice formatting.' __url__ = 'https://github.com/minlaxz/logxs' __version__ = '0.3.2' __author__ = 'Min Latt' __author_email__ = 'minminlaxz@gmail.com' __license__ = 'MIT'
35.142857
73
0.747967
31
246
5
0.870968
0
0
0
0
0
0
0
0
0
0
0.013699
0.109756
246
7
74
35.142857
0.694064
0
0
0
0
0
0.510121
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b7d37af2b6bf8f16d281543414e0b3b8888f7e5c
1,121
py
Python
src/spring-cloud/azext_spring_cloud/_validators_enterprise.py
SanyaKochhar/azure-cli-extensions
ff845c73e3110d9f4025c122c1938dd24a43cca0
[ "MIT" ]
2
2021-03-23T02:34:41.000Z
2021-06-03T05:53:34.000Z
src/spring-cloud/azext_spring_cloud/_validators_enterprise.py
SanyaKochhar/azure-cli-extensions
ff845c73e3110d9f4025c122c1938dd24a43cca0
[ "MIT" ]
21
2021-03-16T23:04:40.000Z
2022-03-24T01:45:54.000Z
src/spring-cloud/azext_spring_cloud/_validators_enterprise.py
SanyaKochhar/azure-cli-extensions
ff845c73e3110d9f4025c122c1938dd24a43cca0
[ "MIT" ]
9
2021-03-11T02:59:39.000Z
2022-02-24T21:46:34.000Z
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
56.05
131
0.667261
118
1,121
6.20339
0.5
0.095628
0.120219
0.079235
0.568306
0.568306
0.568306
0.568306
0.423497
0.423497
0
0
0.099019
1,121
19
132
59
0.724752
0.366637
0
0
0
0
0.159091
0
0
0
0
0
0
1
0.25
false
0
0.25
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
b7d4dda1b3752a19244c734487e74c4425e170d8
8,796
py
Python
fluentql/function.py
RaduG/fluentql
653a77bb95b40724eb58744f5f8dbed9c88eaebd
[ "MIT" ]
4
2020-04-15T10:50:03.000Z
2021-07-22T12:23:50.000Z
fluentql/function.py
RaduG/fluentql
653a77bb95b40724eb58744f5f8dbed9c88eaebd
[ "MIT" ]
2
2020-05-24T08:54:56.000Z
2020-05-24T09:04:31.000Z
fluentql/function.py
RaduG/fluentql
653a77bb95b40724eb58744f5f8dbed9c88eaebd
[ "MIT" ]
null
null
null
from typing import Any, TypeVar, Union from types import MethodType, FunctionType from .base_types import BooleanType, Constant, StringType, Collection, Referenceable from .type_checking import TypeChecker AnyArgs = TypeVar("AnyArgs") NoArgs = TypeVar("NoArgs") VarArgs = TypeVar("VarArgs") T = TypeVar("T") class W...
23.393617
96
0.624034
992
8,796
5.242944
0.174395
0.062296
0.063449
0.089983
0.379542
0.347433
0.347433
0.325899
0.311671
0.311671
0
0.001101
0.277285
8,796
375
97
23.456
0.817052
0.120737
0
0.282297
0
0.004785
0.029943
0.008497
0
0
0
0
0
1
0.157895
false
0.009569
0.019139
0.114833
0.717703
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
b7d854946bf40e07210624df5e0576dbd5f15fb1
945
py
Python
coregent/net/core.py
landoffire/coregent
908aaacbb7b2b9d8ea044d47b9518e8914dad08b
[ "Apache-2.0" ]
1
2021-04-25T07:26:07.000Z
2021-04-25T07:26:07.000Z
coregent/net/core.py
neurite-interactive/coregent
908aaacbb7b2b9d8ea044d47b9518e8914dad08b
[ "Apache-2.0" ]
null
null
null
coregent/net/core.py
neurite-interactive/coregent
908aaacbb7b2b9d8ea044d47b9518e8914dad08b
[ "Apache-2.0" ]
2
2021-06-12T23:00:12.000Z
2021-06-12T23:01:57.000Z
import abc import collections.abc import socket __all__ = ['get_socket_type', 'get_server_socket', 'get_client_socket', 'SocketReader', 'SocketWriter', 'JSONReader', 'JSONWriter'] def get_socket_type(host=None, ip_type=None): if ip_type is not None: return ip_type if host and ':' in host...
21
71
0.671958
125
945
4.848
0.296
0.069307
0.085809
0.084158
0.316832
0.221122
0.221122
0.221122
0.221122
0.221122
0
0.001344
0.212698
945
44
72
21.477273
0.813172
0
0
0.4
0
0
0.099471
0
0
0
0
0
0
1
0.2
false
0
0.1
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
b7d90dcc48241b77ca82bd93f406aefe69d173b9
360
py
Python
hackdayproject/urls.py
alstn2468/Naver_Campus_Hackday_Project
e8c3b638638182ccb8b4631c03cf5cb153c7278a
[ "MIT" ]
1
2019-11-15T05:03:54.000Z
2019-11-15T05:03:54.000Z
hackdayproject/urls.py
alstn2468/Naver_Campus_Hackday_Project
e8c3b638638182ccb8b4631c03cf5cb153c7278a
[ "MIT" ]
null
null
null
hackdayproject/urls.py
alstn2468/Naver_Campus_Hackday_Project
e8c3b638638182ccb8b4631c03cf5cb153c7278a
[ "MIT" ]
null
null
null
from django.urls import path, include from django.contrib import admin import hackdayproject.main.urls as main_urls import hackdayproject.repo.urls as repo_urls urlpatterns = [ path('admin/', admin.site.urls), path('oauth/', include('social_django.urls', namespace='social')), path('', include(main_urls)), ...
30
70
0.727778
48
360
5.354167
0.354167
0.093385
0
0
0
0
0
0
0
0
0
0
0.130556
360
11
71
32.727273
0.821086
0
0
0
0
0
0.113889
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b7daad942b4ee13674b01a3bc7990323f036b3a5
1,176
py
Python
Financely/basic_app/models.py
Frostday/Financely
23226aca0ad21971cb61d13509e16651b304d207
[ "MIT" ]
8
2021-05-28T16:09:36.000Z
2022-02-27T23:12:48.000Z
Financely/basic_app/models.py
Frostday/Financely
23226aca0ad21971cb61d13509e16651b304d207
[ "MIT" ]
null
null
null
Financely/basic_app/models.py
Frostday/Financely
23226aca0ad21971cb61d13509e16651b304d207
[ "MIT" ]
8
2021-05-28T16:01:48.000Z
2022-02-27T23:12:50.000Z
from django.db import models from django.contrib.auth.models import User # Create your models here. class Client(models.Model): user = models.OneToOneField(User,null=True,blank= True,on_delete=models.CASCADE) name = models.CharField(max_length=100, null=True) # def __str__(self): # return self.name...
40.551724
119
0.747449
162
1,176
5.228395
0.339506
0.085006
0.076741
0.100354
0.360094
0.33412
0.305785
0.207792
0.115702
0.115702
0
0.015764
0.136905
1,176
28
120
42
0.818719
0.147959
0
0
0
0
0.006036
0
0
0
0
0
0
1
0
false
0
0.125
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b7e289ea7bf92691efc481deeec6261bf7909c3b
850
py
Python
get_tweet.py
Na27i/tweet_generator
92a5156e041982dd12d9850445f15a599fb6ec5e
[ "MIT" ]
null
null
null
get_tweet.py
Na27i/tweet_generator
92a5156e041982dd12d9850445f15a599fb6ec5e
[ "MIT" ]
null
null
null
get_tweet.py
Na27i/tweet_generator
92a5156e041982dd12d9850445f15a599fb6ec5e
[ "MIT" ]
null
null
null
import json import sys import pandas args = sys.argv if len(args) == 1 : import main as settings else : import sub as settings from requests_oauthlib import OAuth1Session CK = settings.CONSUMER_KEY CS = settings.CONSUMER_SECRET AT = settings.ACCESS_TOKEN ATS = settings.ACCESS_TOKEN_SECRET t...
22.972973
64
0.661176
113
850
4.867257
0.566372
0.036364
0.069091
0
0
0
0
0
0
0
0
0.019817
0.228235
850
37
65
22.972973
0.818598
0
0
0.074074
0
0
0.115337
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
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
1
0
0
0
0
0
0
0
0
1
b7e4658365995b8bd790113c73797283daaf0910
907
py
Python
3.7.1/solution.py
luxnlex/stepic-python
92a4b25391f76935c3c2a70fb8552e7f93928d9b
[ "MIT" ]
1
2021-05-07T18:20:51.000Z
2021-05-07T18:20:51.000Z
3.7.1/solution.py
luxnlex/stepic-python
92a4b25391f76935c3c2a70fb8552e7f93928d9b
[ "MIT" ]
null
null
null
3.7.1/solution.py
luxnlex/stepic-python
92a4b25391f76935c3c2a70fb8552e7f93928d9b
[ "MIT" ]
2
2017-12-27T07:51:57.000Z
2020-08-03T22:10:55.000Z
s=str(input()) a=[] for i in range(len(s)): si=s[i] a.append(si) b=[] n=str(input()) for j in range(len(n)): sj=n[j] b.append(sj) p={} for pi in range(len(s)): key=s[pi] p[key]=0 j1=0 for i in range(0,len(a)): key=a[i] while j1<len(b): bj=b[0] if key in p: p[k...
14.868852
31
0.485116
179
907
2.458101
0.22905
0.159091
0.127273
0.175
0.068182
0.068182
0
0
0
0
0
0.025397
0.305402
907
61
32
14.868852
0.673016
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.058824
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
b7e805c3fdc6130f33ad7d70c4f57afa4833b9f9
3,630
py
Python
ecosante/users/schemas/__init__.py
betagouv/recosante-api
4560b2cf2ff4dc19597792fe15a3805f6259201d
[ "MIT" ]
3
2021-09-24T14:07:51.000Z
2021-12-14T13:48:34.000Z
ecosante/users/schemas/__init__.py
betagouv/recosante-api
4560b2cf2ff4dc19597792fe15a3805f6259201d
[ "MIT" ]
187
2021-03-25T16:43:49.000Z
2022-03-23T14:40:31.000Z
ecosante/users/schemas/__init__.py
betagouv/recosante-api
4560b2cf2ff4dc19597792fe15a3805f6259201d
[ "MIT" ]
null
null
null
from dataclasses import field from marshmallow import Schema, ValidationError, post_load, schema from marshmallow.validate import OneOf, Length from marshmallow.fields import Bool, Str, List, Nested, Email from flask_rebar import ResponseSchema, RequestSchema, errors from ecosante.inscription.models import Inscription ...
43.214286
115
0.689532
413
3,630
5.893462
0.384988
0.040263
0.022186
0.027116
0.142975
0.059162
0.032868
0.032868
0
0
0
0.00136
0.189532
3,630
84
116
43.214286
0.825969
0
0
0.109589
0
0
0.135775
0.019278
0
0
0
0
0
1
0.054795
false
0
0.150685
0
0.575342
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
b7f128c1c030f4883afe9da12b85ac98f1c9b3dd
9,603
py
Python
openfl/component/ca/ca.py
saransh09/openfl-1
beba571929a56771f2fc1671154a3dbe60b38785
[ "Apache-2.0" ]
null
null
null
openfl/component/ca/ca.py
saransh09/openfl-1
beba571929a56771f2fc1671154a3dbe60b38785
[ "Apache-2.0" ]
1
2022-03-02T18:07:11.000Z
2022-03-10T02:43:12.000Z
openfl/component/ca/ca.py
saransh09/openfl-1
beba571929a56771f2fc1671154a3dbe60b38785
[ "Apache-2.0" ]
1
2022-03-03T00:50:15.000Z
2022-03-03T00:50:15.000Z
# Copyright (C) 2020-2021 Intel Corporation # SPDX-License-Identifier: Apache-2.0 """Aggregator module.""" import base64 import json import os import platform import shutil import signal import subprocess import time import urllib.request from logging import getLogger from pathlib import Path from subprocess import c...
34.793478
97
0.656357
1,331
9,603
4.512397
0.220135
0.040959
0.047619
0.010989
0.31302
0.279387
0.230936
0.191975
0.180153
0.157676
0
0.011615
0.220035
9,603
275
98
34.92
0.790254
0.099032
0
0.161458
0
0
0.231891
0.031867
0
0
0
0
0.005208
1
0.057292
false
0.067708
0.078125
0
0.171875
0
0
0
0
null
0
0
0
0
0
0
0
0
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
b7f17afa5fddb406481a5085256bccee3d1bcc8c
574
py
Python
bin/optimization/cosmo_optimizer_hod_only.py
mclaughlin6464/pearce
746f2bf4bf45e904d66996e003043661a01423ba
[ "MIT" ]
null
null
null
bin/optimization/cosmo_optimizer_hod_only.py
mclaughlin6464/pearce
746f2bf4bf45e904d66996e003043661a01423ba
[ "MIT" ]
16
2016-11-04T22:24:32.000Z
2018-05-01T22:53:39.000Z
bin/optimization/cosmo_optimizer_hod_only.py
mclaughlin6464/pearce
746f2bf4bf45e904d66996e003043661a01423ba
[ "MIT" ]
3
2016-10-04T08:07:52.000Z
2019-05-03T23:50:01.000Z
from pearce.emulator import OriginalRecipe, ExtraCrispy import numpy as np training_file = '/home/users/swmclau2/scratch/PearceRedMagicWpCosmo.hdf5' em_method = 'gp' split_method = 'random' a = 1.0 z = 1.0/a - 1.0 fixed_params = {'z':z, 'cosmo': 1}#, 'r':0.18477483} n_leaves, n_overlap = 5, 2 emu = ExtraCrispy(tra...
23.916667
115
0.721254
87
574
4.551724
0.597701
0.015152
0.015152
0.075758
0
0
0
0
0
0
0
0.041068
0.151568
574
23
116
24.956522
0.772074
0.029617
0
0
0
0
0.124101
0.098921
0
0
0
0
0
0
null
null
0
0.133333
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b7f84a7d5201859ed1a739cf1602952494964553
7,702
py
Python
channels/italiaserie.py
sodicarus/channels
d77402f4f460ea6daa66959aa5384aaffbff70b5
[ "MIT" ]
null
null
null
channels/italiaserie.py
sodicarus/channels
d77402f4f460ea6daa66959aa5384aaffbff70b5
[ "MIT" ]
null
null
null
channels/italiaserie.py
sodicarus/channels
d77402f4f460ea6daa66959aa5384aaffbff70b5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # ------------------------------------------------------------ # streamondemand-pureita.- XBMC Plugin # Canale italiaserie # http://www.mimediacenter.info/foro/viewtopic.php?f=36&t=7808 # ------------------------------------------------------------ import re from core import httptools from cor...
43.514124
149
0.531291
697
7,702
5.736011
0.242468
0.038519
0.045023
0.06003
0.490996
0.43947
0.363432
0.344672
0.318659
0.304152
0
0.003247
0.240197
7,702
176
150
43.761364
0.679938
0.139834
0
0.323308
0
0.007519
0.311299
0.073968
0
0
0
0
0
0
null
null
0
0.067669
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b7f8e6d0c8a700576343e9ec9966950fe6696251
629
py
Python
setup.py
jeffleary00/greenery
cb5b5d037b6fd297463633d2d3315c722851161f
[ "MIT" ]
null
null
null
setup.py
jeffleary00/greenery
cb5b5d037b6fd297463633d2d3315c722851161f
[ "MIT" ]
null
null
null
setup.py
jeffleary00/greenery
cb5b5d037b6fd297463633d2d3315c722851161f
[ "MIT" ]
1
2018-02-25T17:29:37.000Z
2018-02-25T17:29:37.000Z
from setuptools import setup setup( name='potnanny-api', version='0.2.6', packages=['potnanny_api'], include_package_data=True, description='Part of the Potnanny greenhouse controller application. Contains Flask REST API and basic web interface.', author='Jeff Leary', author_email='potnanny...
26.208333
123
0.616852
69
629
5.550725
0.753623
0.086162
0
0
0
0
0
0
0
0
0
0.016807
0.243243
629
23
124
27.347826
0.787815
0
0
0
0
0
0.484897
0
0
0
0
0
0
1
0
true
0.045455
0.045455
0
0.045455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
b7fbdc11c64c416322347545771908c98a2d730b
158
py
Python
abc/abc205/abc205b.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
1
2019-08-21T00:49:34.000Z
2019-08-21T00:49:34.000Z
abc/abc205/abc205b.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
abc/abc205/abc205b.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
N, *A = map(int, open(0).read().split()) A.sort() for i in range(N): if i == A[i] - 1: continue print('No') break else: print('Yes')
14.363636
40
0.487342
27
158
2.851852
0.777778
0
0
0
0
0
0
0
0
0
0
0.017857
0.291139
158
10
41
15.8
0.669643
0
0
0
0
0
0.031646
0
0
0
0
0
0
1
0
false
0
0
0
0
0.222222
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b7fc5371e78fe759e9cfc9ac2a197cc1a24c7ba9
1,114
py
Python
CPAC/cwas/tests/features/steps/base_cwas.py
Lawreros/C-PAC
ce26ba9a38cbd401cd405150eeed23b805007724
[ "BSD-3-Clause" ]
1
2021-08-02T23:23:39.000Z
2021-08-02T23:23:39.000Z
CPAC/cwas/tests/features/steps/base_cwas.py
Lawreros/C-PAC
ce26ba9a38cbd401cd405150eeed23b805007724
[ "BSD-3-Clause" ]
null
null
null
CPAC/cwas/tests/features/steps/base_cwas.py
Lawreros/C-PAC
ce26ba9a38cbd401cd405150eeed23b805007724
[ "BSD-3-Clause" ]
2
2021-08-02T23:23:40.000Z
2022-02-26T12:39:30.000Z
from behave import * from hamcrest import assert_that, is_not, greater_than import numpy as np import nibabel as nib import rpy2.robjects as robjects from rpy2.robjects.numpy2ri import numpy2ri from rpy2.robjects.packages import importr robjects.conversion.py2ri = numpy2ri from os import path as op import sys curfile...
25.906977
87
0.684022
187
1,114
4.032086
0.454545
0.047745
0.04244
0.047745
0.047745
0
0
0
0
0
0
0.016816
0.199282
1,114
42
88
26.52381
0.828475
0.137343
0
0
0
0
0.045216
0
0
0
0
0
0.033333
1
0.033333
false
0
0.366667
0
0.433333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4d0003163267427736e0367162b90a4c31a4952a
18,450
py
Python
Scripts/plot_ObservationsPrediction_RawHiatus_OHClevels-lag-EDA_v2.py
zmlabe/predictGMSTrate
2bde4a106de1988d772f15a52d283d23bb7128f4
[ "MIT" ]
2
2022-01-20T20:20:04.000Z
2022-02-21T12:33:37.000Z
Dark_Scripts/plot_ObservationsPrediction_RawHiatus_OHClevels-lag-EDA_v2.py
zmlabe/predictGMSTrate
2bde4a106de1988d772f15a52d283d23bb7128f4
[ "MIT" ]
null
null
null
Dark_Scripts/plot_ObservationsPrediction_RawHiatus_OHClevels-lag-EDA_v2.py
zmlabe/predictGMSTrate
2bde4a106de1988d772f15a52d283d23bb7128f4
[ "MIT" ]
3
2022-01-19T16:25:37.000Z
2022-03-22T13:25:00.000Z
""" Explore raw composites based on indices from predicted testing data and showing all the difference OHC levels for OBSERVATIONS Author : Zachary M. Labe Date : 21 September 2021 Version : 2 (mostly for testing) """ ### Import packages import sys import matplotlib.pyplot as plt import numpy as np impor...
44.244604
284
0.547805
1,989
18,450
4.928105
0.21267
0.013467
0.017139
0.016527
0.684146
0.669149
0.649867
0.636809
0.624158
0.610692
0
0.026305
0.171707
18,450
417
285
44.244604
0.615103
0.08
0
0.599315
0
0
0.132606
0.056052
0.006849
0
0
0
0
1
0.006849
false
0
0.034247
0
0.047945
0.030822
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4d034751cf7a5ae250a1f9a85e64ff78986aa837
4,201
py
Python
storage/__init__.py
daqbroker/daqbrokerServer
e8d2b72b4e3ab12c26dfa7b52e9d77097ede3f33
[ "MIT" ]
null
null
null
storage/__init__.py
daqbroker/daqbrokerServer
e8d2b72b4e3ab12c26dfa7b52e9d77097ede3f33
[ "MIT" ]
null
null
null
storage/__init__.py
daqbroker/daqbrokerServer
e8d2b72b4e3ab12c26dfa7b52e9d77097ede3f33
[ "MIT" ]
null
null
null
import base64 import os import threading from pathlib import Path #from sqlitedict import SqliteDict from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker, scoped_session from daqbrokerServer.web.utils import hash_password from daqbrokerServer.storage.server_schema import ServerBase, User, Conn...
40.009524
143
0.653416
515
4,201
5.223301
0.271845
0.032714
0.022305
0.011896
0.417472
0.385874
0.351673
0.318959
0.318959
0.318959
0
0.009877
0.132349
4,201
104
144
40.394231
0.728121
0.439895
0
0.108108
0
0
0.047855
0
0
0
0
0
0
1
0.081081
false
0.108108
0.243243
0
0.351351
0
0
0
0
null
0
0
0
0
0
0
0
0
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
4d04229e05bd8f6f6995b6ba536b1ed9096df15a
478
py
Python
checkin/tests.py
MAKENTNU/web
7a5b512bf4c087d1561cdb623d7df4b3d04811a2
[ "MIT" ]
10
2017-11-25T01:47:20.000Z
2020-03-24T18:28:24.000Z
checkin/tests.py
MAKENTNU/web
7a5b512bf4c087d1561cdb623d7df4b3d04811a2
[ "MIT" ]
319
2017-11-16T09:56:03.000Z
2022-03-28T00:24:37.000Z
checkin/tests.py
MAKENTNU/web
7a5b512bf4c087d1561cdb623d7df4b3d04811a2
[ "MIT" ]
6
2017-11-12T14:04:08.000Z
2021-03-10T09:41:18.000Z
from django.test import TestCase from django_hosts import reverse from util.test_utils import Get, assert_requesting_paths_succeeds class UrlTests(TestCase): def test_all_get_request_paths_succeed(self): path_predicates = [ Get(reverse('skills_present_list'), public=True), Get(re...
29.875
65
0.709205
57
478
5.649123
0.54386
0.093168
0.130435
0.180124
0
0
0
0
0
0
0
0
0.202929
478
15
66
31.866667
0.845144
0
0
0
0
0
0.069038
0
0
0
0
0
0.181818
1
0.090909
false
0
0.272727
0
0.454545
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
4d0e5f2a06efaa32ab6853b48bd163c479f22bbd
467
py
Python
Visualization/ConstrainedOpt.py
zhijieW94/SAGNet
017b58853cb51d50851a5a3728b3205d235ff889
[ "MIT" ]
25
2019-09-15T09:10:17.000Z
2021-04-08T07:44:16.000Z
Visualization/ConstrainedOpt.py
zhijieW-94/SAGNet
017b58853cb51d50851a5a3728b3205d235ff889
[ "MIT" ]
9
2019-11-16T07:06:08.000Z
2021-03-07T09:14:32.000Z
Visualization/ConstrainedOpt.py
zhijieW94/SAGNet
017b58853cb51d50851a5a3728b3205d235ff889
[ "MIT" ]
7
2019-09-25T18:07:54.000Z
2021-12-21T08:41:47.000Z
from PyQt5.QtCore import * class ConstrainedOpt(QThread): signal_update_voxels = pyqtSignal(str) def __init__(self, model,index): QThread.__init__(self) self.model = model['model'] # self.model = model self.name = model['name'] self.index = index def run(self): # ...
24.578947
55
0.631692
55
467
5.054545
0.418182
0.129496
0.129496
0
0
0
0
0
0
0
0
0.002899
0.261242
467
19
55
24.578947
0.802899
0.079229
0
0
0
0
0.051402
0
0
0
0
0
0
1
0.25
false
0
0.083333
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
4d149a21b75c6283b2a1da8727432ed396c798a7
1,537
py
Python
redbull/doc_html.py
theSage21/redbull
2f3cf0c8a8a910c18151ca493984d0a364581710
[ "MIT" ]
10
2018-09-11T09:11:13.000Z
2019-09-10T09:47:35.000Z
redbull/doc_html.py
theSage21/redbull
2f3cf0c8a8a910c18151ca493984d0a364581710
[ "MIT" ]
null
null
null
redbull/doc_html.py
theSage21/redbull
2f3cf0c8a8a910c18151ca493984d0a364581710
[ "MIT" ]
null
null
null
def gen_doc_html(version, api_list): doc_html = f''' <!DOCTYPE html> <html> <head><meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <style type="text/css"> body{{margin:40px auto; max-width:650px; line-height:1.6; font...
33.413043
78
0.471698
157
1,537
4.55414
0.617834
0.048951
0.027972
0.039161
0
0
0
0
0
0
0
0.035256
0.391021
1,537
45
79
34.155556
0.728632
0
0
0
0
0
0.932986
0.14704
0
0
0
0
0
1
0.022222
false
0
0
0
0.044444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4d20e11d53db6d88edbeea07f1facb38a4748d8a
2,131
py
Python
mouse_burrows/scripts/show_info.py
david-zwicker/cv-mouse-burrows
906476f49ff9711cd672feca5f70efedaab82b01
[ "BSD-3-Clause" ]
1
2016-03-06T05:16:38.000Z
2016-03-06T05:16:38.000Z
mouse_burrows/scripts/show_info.py
david-zwicker/cv-mouse-burrows
906476f49ff9711cd672feca5f70efedaab82b01
[ "BSD-3-Clause" ]
null
null
null
mouse_burrows/scripts/show_info.py
david-zwicker/cv-mouse-burrows
906476f49ff9711cd672feca5f70efedaab82b01
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python2 ''' Created on Sep 21, 2016 @author: David Zwicker <dzwicker@seas.harvard.edu> ''' from __future__ import division import argparse import sys import os # add the root of the video-analysis project to the path script_path = os.path.split(os.path.realpath(__file__))[0] package_path = os.path.ab...
27.675325
78
0.6687
268
2,131
5.145522
0.458955
0.072516
0.023205
0.034808
0
0
0
0
0
0
0
0.004905
0.234632
2,131
76
79
28.039474
0.840589
0.298921
0
0
0
0
0.143451
0
0
0
0
0.013158
0
1
0.060606
false
0
0.181818
0
0.272727
0.060606
0
0
0
null
0
0
0
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
4d237d356a17f205a24800037a5d0a053ed6c426
563
py
Python
todo/urls.py
fidele000/Ftodo-RestAPI-Django
8c695503e04a3957920910acb9f1bb823ece4287
[ "MIT" ]
null
null
null
todo/urls.py
fidele000/Ftodo-RestAPI-Django
8c695503e04a3957920910acb9f1bb823ece4287
[ "MIT" ]
null
null
null
todo/urls.py
fidele000/Ftodo-RestAPI-Django
8c695503e04a3957920910acb9f1bb823ece4287
[ "MIT" ]
null
null
null
from django.urls import path from rest_framework import viewsets from rest_framework import routers from . import views from django.urls import include from rest_framework.routers import DefaultRouter router=DefaultRouter() router.register('hello-viewset',views.HelloViewSet,basename='hello-viewset') router.register('p...
33.117647
76
0.801066
68
563
6.573529
0.426471
0.12528
0.114094
0.089485
0
0
0
0
0
0
0
0
0.078153
563
16
77
35.1875
0.861272
0
0
0
0
0
0.101243
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4d242ba823cf6de6e20e2768b1f065a06d916125
302
py
Python
setup.py
samuel-spak/thermostate
906d1e0b79289cd51cde510c797f007674b8bdcd
[ "BSD-3-Clause" ]
6
2020-03-31T14:25:23.000Z
2022-03-10T14:56:29.000Z
setup.py
samuel-spak/thermostate
906d1e0b79289cd51cde510c797f007674b8bdcd
[ "BSD-3-Clause" ]
35
2017-01-26T15:31:19.000Z
2022-03-14T16:32:00.000Z
setup.py
samuel-spak/thermostate
906d1e0b79289cd51cde510c797f007674b8bdcd
[ "BSD-3-Clause" ]
15
2017-02-08T20:07:38.000Z
2022-03-14T09:15:35.000Z
from setuptools import setup from pathlib import Path from typing import Dict HERE = Path(__file__).parent version: Dict[str, str] = {} version_file = HERE / "src" / "thermostate" / "_version.py" exec(version_file.read_text(), version) setup(version=version["__version__"], package_dir={"": "src"})
25.166667
62
0.731788
40
302
5.2
0.525
0.105769
0
0
0
0
0
0
0
0
0
0
0.122517
302
11
63
27.454545
0.784906
0
0
0
0
0
0.129139
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4d242e01b427dcb6b1bf2d2cc3562c29ca378947
78,627
py
Python
fps2c__ - Copy.py
GeorgeLoo/FPS
775bf173437d2feb09bc91b7f842226a8c752980
[ "MIT" ]
1
2022-02-21T12:07:42.000Z
2022-02-21T12:07:42.000Z
fps2c__ - Copy.py
GeorgeLoo/FPS
775bf173437d2feb09bc91b7f842226a8c752980
[ "MIT" ]
null
null
null
fps2c__ - Copy.py
GeorgeLoo/FPS
775bf173437d2feb09bc91b7f842226a8c752980
[ "MIT" ]
null
null
null
''' _ _._ _..._ .-', _.._(`)) '-. ` ' /-._.-' ',/ ) \ '. / _ _ | \ | a a / | \ .-. ; '-('' ).-' ,' ; '-; | .' \ \ / | 7 .__ _...
31.114761
118
0.525176
8,682
78,627
4.72322
0.105736
0.006389
0.026825
0.006097
0.499305
0.436584
0.388739
0.341722
0.305119
0.295047
0
0.026807
0.365193
78,627
2,527
119
31.114761
0.794763
0.128098
0
0.478685
0
0
0.035852
0.006904
0
0
0
0
0.001218
0
null
null
0.042022
0.002436
null
null
0.010962
0
0
0
null
0
0
0
0
0
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
4d246a042f4d01726d7da3a16c2ca45068a1a3cb
2,462
py
Python
exercises/networking_v2/roles/ansible-network.network-engine/lib/network_engine/plugins/template/__init__.py
rcalvaga/linklight
bb6364272c167c017cb2ee0790015143df29fa19
[ "MIT" ]
1
2020-03-29T17:35:59.000Z
2020-03-29T17:35:59.000Z
exercises/networking_v2/roles/ansible-network.network-engine/lib/network_engine/plugins/template/__init__.py
rcalvaga/linklight
bb6364272c167c017cb2ee0790015143df29fa19
[ "MIT" ]
null
null
null
exercises/networking_v2/roles/ansible-network.network-engine/lib/network_engine/plugins/template/__init__.py
rcalvaga/linklight
bb6364272c167c017cb2ee0790015143df29fa19
[ "MIT" ]
1
2020-03-30T11:00:47.000Z
2020-03-30T11:00:47.000Z
# (c) 2018, Ansible by Red Hat, inc # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # # You should have received a copy of the GNU General Public License # along with Ansible. If not, see <http://www.gnu.org/licenses/>. # from __future__ import (absolute_import, division, p...
34.676056
92
0.620634
288
2,462
5.090278
0.371528
0.082538
0.081855
0.060027
0.164393
0.099591
0
0
0
0
0
0.005202
0.297319
2,462
70
93
35.171429
0.842197
0.103574
0
0.137255
0
0
0
0
0
0
0
0
0
1
0.117647
false
0.058824
0.078431
0.019608
0.352941
0.019608
0
0
0
null
0
0
0
0
0
0
0
0
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
4d272df6572584be280304452391a2a0947eefaa
4,220
py
Python
frontend/Two_Dim_System.py
Pugavkomm/NS-analyst
698af0e94f57b431fd77c17c49d4a23f11d21d3f
[ "MIT" ]
null
null
null
frontend/Two_Dim_System.py
Pugavkomm/NS-analyst
698af0e94f57b431fd77c17c49d4a23f11d21d3f
[ "MIT" ]
null
null
null
frontend/Two_Dim_System.py
Pugavkomm/NS-analyst
698af0e94f57b431fd77c17c49d4a23f11d21d3f
[ "MIT" ]
null
null
null
"""AI is creating summary for """ from frontend import main_window from PyQt5 import QtWidgets from frontend import input_system from PyQt5.QtWidgets import QInputDialog, qApp from qt_material import apply_stylesheet style_sheets = ['dark_amber.xml', 'dark_blue.xml', 'dark_cyan.xml', ...
45.869565
119
0.667536
495
4,220
5.379798
0.193939
0.082614
0.114157
0.175742
0.450995
0.408186
0.388659
0.388659
0.388659
0.388659
0
0.001499
0.209479
4,220
91
120
46.373626
0.796763
0.104265
0
0
0
0
0.151295
0
0
0
0
0
0
1
0.064516
false
0
0.080645
0
0.16129
0.016129
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