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
18d490e6e56a32e36d35bb956aef00b987da0e11
183
py
Python
SpeechRcognition/not_pyglet.py
cppshizoidS/Python
dfde647ba4a6fb828ef9a564924416bebd875929
[ "MIT" ]
5
2022-03-12T02:44:41.000Z
2022-03-24T10:33:28.000Z
SpeechRcognition/not_pyglet.py
cppshizoidS/Python
dfde647ba4a6fb828ef9a564924416bebd875929
[ "MIT" ]
1
2022-03-16T09:19:21.000Z
2022-03-16T09:19:21.000Z
SpeechRcognition/not_pyglet.py
cppshizoidS/Python
dfde647ba4a6fb828ef9a564924416bebd875929
[ "MIT" ]
null
null
null
from gtts import gTTS import time, os def tts(text, lang): file = gTTS(text = text, lang = lang) filename = 'temp.mp3' file.save(filename) os.system('temp.mp3')
16.636364
41
0.622951
27
183
4.222222
0.555556
0.175439
0
0
0
0
0
0
0
0
0
0.014493
0.245902
183
10
42
18.3
0.811594
0
0
0
0
0
0.087432
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
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
18e09eb36d3784c4fc4d2834c45ab12e476c6328
802
py
Python
ssig_site/metrics/migrations/0001_initial.py
LeoMcA/103P_2018_team51
cca9e022456b1e2653f0b69420ea914661c39b27
[ "MIT" ]
null
null
null
ssig_site/metrics/migrations/0001_initial.py
LeoMcA/103P_2018_team51
cca9e022456b1e2653f0b69420ea914661c39b27
[ "MIT" ]
61
2018-02-22T11:10:48.000Z
2022-03-11T23:20:25.000Z
ssig_site/metrics/migrations/0001_initial.py
LeoMcA/103P_2018_team51
cca9e022456b1e2653f0b69420ea914661c39b27
[ "MIT" ]
2
2018-02-10T11:26:52.000Z
2018-02-21T12:14:36.000Z
# Generated by Django 2.0.2 on 2018-03-15 15:36 import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name...
29.703704
114
0.61596
83
802
5.903614
0.638554
0.04898
0.085714
0.110204
0.130612
0
0
0
0
0
0
0.031879
0.256858
802
26
115
30.846154
0.790268
0.05611
0
0
1
0
0.046358
0
0
0
0
0
0
1
0
false
0
0.157895
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
18e53c2d9b72cfdbb3339bb5badff16ac567f395
14,533
py
Python
sdk/python/pulumi_azure/appservice/get_environment_v3.py
henriktao/pulumi-azure
f1cbcf100b42b916da36d8fe28be3a159abaf022
[ "ECL-2.0", "Apache-2.0" ]
109
2018-06-18T00:19:44.000Z
2022-02-20T05:32:57.000Z
sdk/python/pulumi_azure/appservice/get_environment_v3.py
henriktao/pulumi-azure
f1cbcf100b42b916da36d8fe28be3a159abaf022
[ "ECL-2.0", "Apache-2.0" ]
663
2018-06-18T21:08:46.000Z
2022-03-31T20:10:11.000Z
sdk/python/pulumi_azure/appservice/get_environment_v3.py
henriktao/pulumi-azure
f1cbcf100b42b916da36d8fe28be3a159abaf022
[ "ECL-2.0", "Apache-2.0" ]
41
2018-07-19T22:37:38.000Z
2022-03-14T10:56:26.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
43.774096
506
0.703021
1,716
14,533
5.590326
0.114219
0.05848
0.048786
0.059418
0.518295
0.382988
0.261128
0.205879
0.132701
0.123215
0
0.003585
0.213032
14,533
331
507
43.906344
0.835184
0.15482
0
0.110577
1
0
0.188302
0.094874
0
0
0
0
0
1
0.110577
false
0
0.028846
0.009615
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
18e5e1b68480e2c14f27934c22f24cd777b8d3b3
689
py
Python
parsers/multiple_choice_parser.py
zagaran/instant-census
62dd5bbc62939f43776a10708ef663722ead98af
[ "MIT" ]
1
2021-06-01T17:03:47.000Z
2021-06-01T17:03:47.000Z
parsers/multiple_choice_parser.py
zagaran/instant-census
62dd5bbc62939f43776a10708ef663722ead98af
[ "MIT" ]
null
null
null
parsers/multiple_choice_parser.py
zagaran/instant-census
62dd5bbc62939f43776a10708ef663722ead98af
[ "MIT" ]
null
null
null
from utils.parser_helpers import split_standard_separators def multiple_choice_parser(msg, question): """ Takes text and a dictionary/set of words. Parses the text for the first word in the supplied dictionary, and returns the corresponding dictionary entry.""" if msg is None: return None # TODO: upda...
34.45
87
0.689405
99
689
4.646465
0.444444
0.097826
0.1
0.073913
0.113043
0.113043
0
0
0
0
0
0
0.245283
689
20
88
34.45
0.884615
0.297533
0
0
0
0
0.025316
0
0
0
0
0.05
0
1
0.083333
false
0
0.083333
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
1
0
0
0
0
0
0
0
0
0
0
1
18e847b976ad486e35c985b414ccbe6eb1211636
6,443
py
Python
common/suggestion/suggest.py
RominYue/SearchEngineDemo
8a3835f0312a631d3eb9426dc4fa8fa1e6f9ff0b
[ "MIT" ]
1
2017-05-08T10:33:51.000Z
2017-05-08T10:33:51.000Z
common/suggestion/suggest.py
RominYue/SearchEngineDemo
8a3835f0312a631d3eb9426dc4fa8fa1e6f9ff0b
[ "MIT" ]
null
null
null
common/suggestion/suggest.py
RominYue/SearchEngineDemo
8a3835f0312a631d3eb9426dc4fa8fa1e6f9ff0b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 """ @date: 20131001 @version: 0.2 @author: wklken@yeah.net @desc: 搜索下拉提示,基于后台提供数据,建立数据结构(前缀树),用户输入query前缀时,可以提示对应query前缀补全 @update: 20131001 基本结构,新增,搜索等基本功能 20131005 增加缓存功能,当缓存打开,用户搜索某个前缀超过一定次数时,进行缓存,减少搜索时间 20140309 修改代码,降低内存占用 @TODO: test case 加入拼音的话...
23.09319
118
0.571783
787
6,443
4.546379
0.298602
0.02739
0.029346
0.016769
0.195081
0.147568
0.097261
0.069312
0.050307
0.042482
0
0.015395
0.304361
6,443
278
119
23.176259
0.782909
0.081484
0
0.153226
0
0
0.043717
0
0
0
0
0.007194
0
0
null
null
0
0
null
null
0.056452
0
0
0
null
0
0
0
0
0
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
18e853852ad286a41e21363a4595dfb12e1733b6
1,906
py
Python
test/test_audio.py
barszcz/beets-aura
623804437d684dd76f38fe09e46456815acaf2b6
[ "MIT" ]
2
2017-01-16T16:57:01.000Z
2021-08-20T08:14:03.000Z
test/test_audio.py
barszcz/beets-aura
623804437d684dd76f38fe09e46456815acaf2b6
[ "MIT" ]
null
null
null
test/test_audio.py
barszcz/beets-aura
623804437d684dd76f38fe09e46456815acaf2b6
[ "MIT" ]
null
null
null
#!/usr/bin/env python from __future__ import absolute_import from ._helper import AuraTestCase class TestTrack_ReturnedAudioMimetype(AuraTestCase): def setUp(self): super(TestTrack_ReturnedAudioMimetype,self).setUp() def test_mime_mpeg(self): for item in self.items_all_formats(): ...
32.862069
81
0.642707
248
1,906
4.725806
0.193548
0.053754
0.046075
0.09215
0.482082
0.40273
0.317406
0.317406
0.317406
0.317406
0
0.000671
0.218258
1,906
57
82
33.438596
0.785906
0.010493
0
0.175
0
0
0.082759
0
0
0
0
0
0.175
1
0.275
false
0
0.05
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
1
0
0
0
0
0
0
0
1
18e94605b00c2e566ddfbb52613b0ac2ad30559b
4,597
py
Python
taurex/mpi.py
ucl-exoplanets/TauREx3_public
cf8da465448df44c3c4dcc2cd0002ef34edd3920
[ "BSD-3-Clause" ]
10
2019-12-18T09:19:16.000Z
2021-06-21T11:02:06.000Z
taurex/mpi.py
ucl-exoplanets/TauREx3_public
cf8da465448df44c3c4dcc2cd0002ef34edd3920
[ "BSD-3-Clause" ]
10
2020-03-24T18:02:15.000Z
2021-08-23T20:32:09.000Z
taurex/mpi.py
ucl-exoplanets/TauREx3_public
cf8da465448df44c3c4dcc2cd0002ef34edd3920
[ "BSD-3-Clause" ]
8
2020-03-26T14:16:42.000Z
2021-12-18T22:11:25.000Z
""" Module for wrapping MPI functions. Most functions will do nothing if mpi4py is not present. """ from functools import lru_cache from functools import wraps import numpy as np def convert_op(operation): from mpi4py import MPI if operation.lower() == 'sum': return MPI.SUM else: raise N...
20.251101
94
0.619534
596
4,597
4.691275
0.258389
0.025036
0.051502
0.061159
0.277182
0.246423
0.197067
0.197067
0.148784
0.148784
0
0.009242
0.293887
4,597
226
95
20.340708
0.852126
0.303459
0
0.466019
0
0
0.034565
0
0
0
0
0
0
1
0.116505
false
0
0.203884
0.009709
0.504854
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
18ed0ab552dd62ce8a2bafd374c470c542ba3856
278
py
Python
chunk_replicator/util.py
xgui3783/chunk_replicator
4fe55b98d1068b6cb631104e640e33405237808d
[ "MIT" ]
null
null
null
chunk_replicator/util.py
xgui3783/chunk_replicator
4fe55b98d1068b6cb631104e640e33405237808d
[ "MIT" ]
null
null
null
chunk_replicator/util.py
xgui3783/chunk_replicator
4fe55b98d1068b6cb631104e640e33405237808d
[ "MIT" ]
null
null
null
from typing import Callable def retry(fn: Callable, times=5): retry_counter = 0 while True: try: return fn() except Exception as e: if retry_counter >= times: raise e retry_counter = retry_counter + 1
23.166667
45
0.55036
33
278
4.515152
0.666667
0.322148
0
0
0
0
0
0
0
0
0
0.017647
0.388489
278
11
46
25.272727
0.858824
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
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
18fa5406ce364a911573f0ccd279fae30dd94a8f
3,752
py
Python
scikit/src/02_sql_script.py
mrkowalski/kaggle_santander
43a453a2dad9990ff9cd52984308d3065c0125ff
[ "MIT" ]
null
null
null
scikit/src/02_sql_script.py
mrkowalski/kaggle_santander
43a453a2dad9990ff9cd52984308d3065c0125ff
[ "MIT" ]
2
2017-02-13T10:34:29.000Z
2017-02-13T10:35:03.000Z
scikit/src/02_sql_script.py
mrkowalski/kaggle_santander
43a453a2dad9990ff9cd52984308d3065c0125ff
[ "MIT" ]
null
null
null
import sqlite3 import commons def getprefixed1(prefix, num, item): return "{}{}_{}".format(prefix, num, item) def getprefixed0(prefix, num, items): return ", ".join( ["{}{}.{} AS {}".format(prefix, num, i, getprefixed1(prefix, num, i)) for i in items]) def getprefixed(prefixprefix, upto, changing, indicators, pr...
59.555556
168
0.526652
377
3,752
5.061008
0.302387
0.033019
0.012579
0.011006
0.225367
0.192872
0.192872
0.192872
0.158281
0.158281
0
0.029114
0.340885
3,752
62
169
60.516129
0.742418
0.03838
0
0.106383
0
0.021277
0.216921
0.012205
0
0
0
0
0
1
0.191489
false
0
0.042553
0.170213
0.340426
0.12766
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
18fa97a3b61f64d0e0827152d57565a62ddf6acd
8,337
py
Python
examples/fingerprint_simpletest_rpi.py
sommersoft/Adafruit_CircuitPython_Fingerprint
870469df240ca5cc8cc523a60b1aa822a3fc041e
[ "MIT" ]
null
null
null
examples/fingerprint_simpletest_rpi.py
sommersoft/Adafruit_CircuitPython_Fingerprint
870469df240ca5cc8cc523a60b1aa822a3fc041e
[ "MIT" ]
null
null
null
examples/fingerprint_simpletest_rpi.py
sommersoft/Adafruit_CircuitPython_Fingerprint
870469df240ca5cc8cc523a60b1aa822a3fc041e
[ "MIT" ]
null
null
null
import time import board # import busio import serial from digitalio import DigitalInOut, Direction import adafruit_fingerprint led = DigitalInOut(board.D13) led.direction = Direction.OUTPUT # uart = busio.UART(board.TX, board.RX, baudrate=57600) # If using with a computer such as Linux/RaspberryPi, Mac, Windows wi...
32.065385
93
0.592059
979
8,337
4.963228
0.257406
0.129039
0.090554
0.063388
0.388557
0.332373
0.266104
0.241202
0.220622
0.220622
0
0.013191
0.281636
8,337
259
94
32.189189
0.79813
0.173684
0
0.466321
0
0
0.165454
0
0
0
0
0
0
1
0.025907
false
0.015544
0.031088
0
0.139896
0.502591
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
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
7a0652ffa6e0697c7ed2a00fa9abe8a921a5e2cf
678
py
Python
src/districts/migrations/0001_initial.py
codacy-badger/hbscorez
215e4d2617ac9be91bb9d561bbfc552349cd4781
[ "MIT" ]
12
2018-03-20T21:38:53.000Z
2021-10-31T10:00:12.000Z
src/districts/migrations/0001_initial.py
codacy-badger/hbscorez
215e4d2617ac9be91bb9d561bbfc552349cd4781
[ "MIT" ]
79
2018-03-18T14:26:47.000Z
2022-03-01T15:51:40.000Z
src/districts/migrations/0001_initial.py
codacy-badger/hbscorez
215e4d2617ac9be91bb9d561bbfc552349cd4781
[ "MIT" ]
4
2018-05-18T15:39:56.000Z
2020-10-29T09:28:41.000Z
# Generated by Django 2.1.1 on 2018-09-16 20:02 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('associations', '0001_initial'), ] operations = [ migrations.CreateModel( name='District', fields...
27.12
114
0.581121
65
678
5.984615
0.676923
0.041131
0
0
0
0
0
0
0
0
0
0.039256
0.286136
678
24
115
28.25
0.764463
0.066372
0
0
1
0
0.129952
0.038035
0
0
0
0
0
1
0
false
0
0.058824
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7a088ae2092c46269aae464018e334c70da2e912
3,273
py
Python
obdtest.py
MikeCase/workLog
8bc6ffe2f2519d8472f25147e4ccce750c5604f6
[ "MIT" ]
null
null
null
obdtest.py
MikeCase/workLog
8bc6ffe2f2519d8472f25147e4ccce750c5604f6
[ "MIT" ]
null
null
null
obdtest.py
MikeCase/workLog
8bc6ffe2f2519d8472f25147e4ccce750c5604f6
[ "MIT" ]
null
null
null
import obd conn = obd.OBD() cmd = { '1-20': obd.commands.PIDS_A, 'vin': obd.commands.VIN, 'dtc': obd.commands.GET_DTC, 'oil_temp': obd.commands.OIL_TEMP, 'ambiant_air_temp': obd.commands.AMBIANT_AIR_TEMP, 'intake_press': obd.commands.INTAKE_PRESSURE, 'fuel_pressure': obd.commands.FUEL_PRE...
40.9125
70
0.725328
489
3,273
4.464213
0.233129
0.307375
0.148878
0.073294
0.255612
0
0
0
0
0
0
0.048232
0.144821
3,273
80
71
40.9125
0.73169
0.058356
0
0
0
0
0.228367
0.022446
0
0
0
0
0
1
0
false
0
0.014925
0
0.014925
0.014925
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
7a0c36a8d8db3b5d6a0e8f81eaf6390d25a22eda
1,286
py
Python
src/hyperparams.py
AniMysore74/showdown-battle-bot
80d4daed9bdcbdcc04eb21e908ed33083b7783eb
[ "MIT" ]
null
null
null
src/hyperparams.py
AniMysore74/showdown-battle-bot
80d4daed9bdcbdcc04eb21e908ed33083b7783eb
[ "MIT" ]
null
null
null
src/hyperparams.py
AniMysore74/showdown-battle-bot
80d4daed9bdcbdcc04eb21e908ed33083b7783eb
[ "MIT" ]
null
null
null
class hyperparams: ### MODEL HYPERPARAMETERS #state_size = [13,6,2] # Our input is a stack of 4 frames hence 84x84x4 (Width, height, channels) state_size = [1704] action_size = [10,10] # 3 possible actions: left, right, shoot learning_rate = 0.0002 # Alpha (aka learning rate) ...
44.344828
115
0.652411
161
1,286
5.124224
0.614907
0.021818
0.046061
0
0
0
0
0
0
0
0
0.054084
0.29549
1,286
29
116
44.344828
0.856512
0.576205
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
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
7a0cd968aeca40e0154a33ddc0d7ae54ec03a714
620
gyp
Python
binding.gyp
DanielMcAssey/sourceid-2-coordinates
398ed7b535bd14a8c0f9b00a7ac954ab26c3e7ff
[ "MIT" ]
1
2021-07-06T06:43:46.000Z
2021-07-06T06:43:46.000Z
binding.gyp
DanielMcAssey/sourceid-2-coordinates
398ed7b535bd14a8c0f9b00a7ac954ab26c3e7ff
[ "MIT" ]
null
null
null
binding.gyp
DanielMcAssey/sourceid-2-coordinates
398ed7b535bd14a8c0f9b00a7ac954ab26c3e7ff
[ "MIT" ]
null
null
null
{ 'targets': [{ 'target_name': 'sourceid-2-coordinates', 'include_dirs': [ "<!(node -e \"require('nan')\")" ], 'cflags': [ '-Wall', '-Wparentheses', '-Winline', '-Wbad-function-cast', '-Wdisabled-optimization' ...
19.375
48
0.372581
40
620
5.625
0.95
0
0
0
0
0
0
0
0
0
0
0.011594
0.443548
620
31
49
20
0.64058
0
0
0.111111
0
0
0.401613
0.116129
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
7a12e1cb0061d0dd33a53b448f4d6d8991c30d49
217
py
Python
Autre/test.py
Yaya-Cout/Python
500a2bc18cbb0b9bf1470943def8fd8e8e76d36d
[ "Unlicense" ]
5
2020-12-05T14:00:39.000Z
2021-12-02T11:44:54.000Z
Autre/test.py
Yaya-Cout/Python
500a2bc18cbb0b9bf1470943def8fd8e8e76d36d
[ "Unlicense" ]
11
2021-03-15T17:51:43.000Z
2021-11-24T13:24:39.000Z
Autre/test.py
Yaya-Cout/Python
500a2bc18cbb0b9bf1470943def8fd8e8e76d36d
[ "Unlicense" ]
1
2021-01-02T14:15:10.000Z
2021-01-02T14:15:10.000Z
def main(): while True: nombre = input("Quel nombre veut-tu convretir en binaire? ") nombre = int(nombre) nombre = bin(nombre) print(nombre) if __name__ == "__main__": main()
19.727273
68
0.571429
25
217
4.64
0.68
0
0
0
0
0
0
0
0
0
0
0
0.308756
217
10
69
21.7
0.773333
0
0
0
0
0
0.230415
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.125
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
7a14e0c726cc7b15f399bc32ab6f91467c55ca25
3,485
py
Python
instantsearch-assignments/assignment4/excercise/stackexchange/backend/simplify_es_output.py
mikiec84/instantsearch-tutorial
9cf36fb4142df9731d38e52de80945f2d28d01fa
[ "Apache-2.0" ]
39
2016-07-15T06:38:05.000Z
2021-12-29T21:51:49.000Z
instantsearch-assignments/assignment4/excercise/stackexchange/backend/simplify_es_output.py
mikiec84/instantsearch-tutorial
9cf36fb4142df9731d38e52de80945f2d28d01fa
[ "Apache-2.0" ]
1
2021-06-01T21:55:36.000Z
2021-06-01T21:55:36.000Z
instantsearch-assignments/assignment4/excercise/stackexchange/backend/simplify_es_output.py
mikiec84/instantsearch-tutorial
9cf36fb4142df9731d38e52de80945f2d28d01fa
[ "Apache-2.0" ]
13
2016-08-18T16:32:33.000Z
2019-11-24T16:34:08.000Z
from __future__ import division import json import web import requests urls = ('/search', 'Search') LOCAL_HOST = 'http://localhost:9200' INDEX_NAME = 'stackoverflow' FIELD_NAME = 'posts' NUM_TO_RETRIEVE = 100 NUM_TO_CUSTOM_SCORE = 10 MAX_QUERY_AUTOCOMPLETE_RESULTS = 3 def construct_simple_query(raw_query, num_docs)...
31.972477
82
0.580775
395
3,485
4.926582
0.364557
0.010277
0.020041
0.016444
0.129496
0.039054
0.039054
0.039054
0
0
0
0.009027
0.300717
3,485
108
83
32.268519
0.789495
0.081205
0
0.022989
0
0
0.161652
0.018886
0
0
0
0.009259
0
0
null
null
0.011494
0.045977
null
null
0.011494
0
0
0
null
0
0
0
0
0
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
7a178aa15961f1f9f818c371935ce78a5b8d1482
10,478
py
Python
noseprogressive/plugin.py
erikrose/nose-progressive
42853f11290cfaac8aa3d204714b71e27cc4ec07
[ "MIT" ]
45
2015-01-27T17:07:48.000Z
2021-11-03T21:24:12.000Z
noseprogressive/plugin.py
olivierverdier/nose-progressive
d05a10059afa338c35dd7b7d60246ef192665b5e
[ "MIT" ]
22
2015-03-06T15:25:36.000Z
2022-01-26T10:54:23.000Z
noseprogressive/plugin.py
olivierverdier/nose-progressive
d05a10059afa338c35dd7b7d60246ef192665b5e
[ "MIT" ]
17
2015-02-01T14:52:47.000Z
2021-09-30T12:14:08.000Z
from functools import partial from os import getcwd import pdb import sys from warnings import warn from nose.plugins import Plugin from noseprogressive.runner import ProgressiveRunner from noseprogressive.tracebacks import DEFAULT_EDITOR_SHORTCUT_TEMPLATE from noseprogressive.wrapping import cmdloop, set_trace, Stre...
50.133971
84
0.548673
1,103
10,478
5.087035
0.300091
0.061486
0.026733
0.046338
0.227232
0.147924
0.085546
0.063447
0.063447
0.063447
0
0.003952
0.372113
10,478
208
85
50.375
0.848913
0.202138
0
0.092857
0
0
0.291585
0.114696
0
0
0
0.014423
0
1
0.064286
false
0
0.064286
0
0.171429
0.007143
0
0
0
null
0
0
0
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
7a198d92a79d781db7af48219340b96ffe996643
2,074
py
Python
bgjobs/migrations/0001_initial.py
holtgrewe/sodar_core
116c5c8abc1dea483a640ba68af6d5cf4d27c8d7
[ "MIT" ]
11
2019-06-26T14:05:58.000Z
2020-12-05T02:20:11.000Z
bgjobs/migrations/0001_initial.py
holtgrewe/sodar_core
116c5c8abc1dea483a640ba68af6d5cf4d27c8d7
[ "MIT" ]
11
2019-07-01T06:17:44.000Z
2021-04-20T07:19:40.000Z
bgjobs/migrations/0001_initial.py
bihealth/sodar-core
ac7397294b24aea352bc7842e75011ad8c1a2033
[ "MIT" ]
4
2019-06-26T07:49:50.000Z
2020-05-19T21:58:10.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.16 on 2018-10-25 16:22 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [("projectroles", "0005_update_uuid")]...
32.920635
99
0.41514
152
2,074
5.519737
0.572368
0.038141
0.033373
0.052443
0
0
0
0
0
0
0
0.028918
0.483124
2,074
62
100
33.451613
0.753731
0.033269
0
0.203704
1
0
0.138362
0
0
0
0
0
0
1
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7a1cd666e52e9c0036b03ebf30e42b4efda09238
10,948
py
Python
Lib/objc/_ContactsUICore.py
kanishpatel/Pyto
feec7a1a54f635a6375fa7ede074ff35afbfbb95
[ "MIT" ]
null
null
null
Lib/objc/_ContactsUICore.py
kanishpatel/Pyto
feec7a1a54f635a6375fa7ede074ff35afbfbb95
[ "MIT" ]
null
null
null
Lib/objc/_ContactsUICore.py
kanishpatel/Pyto
feec7a1a54f635a6375fa7ede074ff35afbfbb95
[ "MIT" ]
null
null
null
''' Classes from the 'ContactsUICore' framework. ''' try: from rubicon.objc import ObjCClass except ValueError: def ObjCClass(name): return None def _Class(name): try: return ObjCClass(name) except NameError: return None _CNUILocalPhotoFuture = _Class('_CNUILocalPhotoFut...
66.756098
127
0.885093
464
10,948
20.439655
0.346983
0.002741
0.00949
0
0
0
0
0
0
0
0
0
0.046675
10,948
163
128
67.165644
0.90869
0.004019
0
0.025806
0
0
0.396843
0.366648
0
0
0
0
0
1
0.012903
false
0.012903
0.006452
0.006452
0.03871
0.006452
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
e1309df04c5bb3d42efdc8b79f52a10cce0fa88f
582
py
Python
lisa/notifiers/common.py
srveniga/lisa
0b5bcf028ed4211d79ff90b9f915981c426baab4
[ "MIT" ]
48
2018-05-19T17:46:34.000Z
2020-09-28T21:09:06.000Z
lisa/notifiers/common.py
srveniga/lisa
0b5bcf028ed4211d79ff90b9f915981c426baab4
[ "MIT" ]
1,261
2018-05-17T04:32:22.000Z
2020-11-23T17:29:13.000Z
lisa/notifiers/common.py
srveniga/lisa
0b5bcf028ed4211d79ff90b9f915981c426baab4
[ "MIT" ]
133
2018-05-15T23:12:14.000Z
2020-11-13T10:37:49.000Z
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. from lisa.messages import MessageBase from lisa.testsuite import TestResultMessage def simplify_message(message: MessageBase) -> None: """ This method is to reduce message length for display purpose. """ if isinstance(message, Te...
36.375
76
0.713058
66
582
6.272727
0.69697
0.038647
0.140097
0
0
0
0
0
0
0
0
0
0.195876
582
15
77
38.8
0.884615
0.367698
0
0
0
0
0.137536
0
0
0
0
0
0
1
0.166667
false
0
0.333333
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
e1379f0c828f35495c800498bc0da659bbb45fa5
2,783
py
Python
examples/mojo-perception-example.py
hoomano/mojo-perception-python
58d8469ab099727f2bca3ec2d0f7f63c1d4a8c6f
[ "MIT" ]
null
null
null
examples/mojo-perception-example.py
hoomano/mojo-perception-python
58d8469ab099727f2bca3ec2d0f7f63c1d4a8c6f
[ "MIT" ]
null
null
null
examples/mojo-perception-example.py
hoomano/mojo-perception-python
58d8469ab099727f2bca3ec2d0f7f63c1d4a8c6f
[ "MIT" ]
null
null
null
""" @license Copyright 2022 Hoomano SAS. All Rights Reserved. Licensed under the MIT License, (the "License"); you may not use this file except in compliance with the License. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software...
41.537313
80
0.748832
380
2,783
5.373684
0.502632
0.10284
0.012733
0.024486
0
0
0
0
0
0
0
0.00517
0.166008
2,783
66
81
42.166667
0.874623
0.649659
0
0
0
0
0.083682
0.026151
0
0
0.004184
0.015152
0
1
0
false
0
0.136364
0
0.136364
0.136364
0
0
0
null
0
0
0
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
e13a00e4288051fde305ce1a36f039da633d423a
932
py
Python
logistic_regression.py
danilop/analyzing-data-aws-lambda
2ca65c51c262925281a19edf837be054dadd1750
[ "Apache-2.0" ]
11
2020-10-26T14:31:28.000Z
2021-02-15T09:36:30.000Z
logistic_regression.py
danilop/analyzing-data-aws-lambda
2ca65c51c262925281a19edf837be054dadd1750
[ "Apache-2.0" ]
null
null
null
logistic_regression.py
danilop/analyzing-data-aws-lambda
2ca65c51c262925281a19edf837be054dadd1750
[ "Apache-2.0" ]
3
2020-12-04T14:51:14.000Z
2021-09-04T01:04:46.000Z
from sklearn.preprocessing import StandardScaler from sklearn.linear_model import LogisticRegression from sklearn.pipeline import make_pipeline from sklearn.datasets import load_iris from sklearn.model_selection import train_test_split from sklearn.metrics import accuracy_score import json # create a pipeline object ...
28.242424
73
0.758584
137
932
4.948905
0.430657
0.097345
0.026549
0.070796
0.100295
0.100295
0.100295
0.100295
0
0
0
0.006402
0.162017
932
32
74
29.125
0.861716
0.208155
0
0
0
0
0.038356
0
0
0
0
0
0
1
0.045455
false
0
0.318182
0
0.409091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
e140293ef57440c697148ea119aeb7e956530930
9,092
py
Python
player_learning.py
RPGLite/analysis
13f683beb26d77c6f7ae7de54808b0cb5acb9eee
[ "MIT" ]
null
null
null
player_learning.py
RPGLite/analysis
13f683beb26d77c6f7ae7de54808b0cb5acb9eee
[ "MIT" ]
1
2020-11-27T14:38:33.000Z
2020-11-27T14:38:33.000Z
player_learning.py
RPGLite/analysis
13f683beb26d77c6f7ae7de54808b0cb5acb9eee
[ "MIT" ]
null
null
null
# William # Generate line graphs for comparison of the average cost of moves comparing player experience and days since release. from helper_fns import * import numpy as np import matplotlib.pyplot as plt import math, pymongo from bson import objectid import seaborn as sns # Some tunable constants minimum_played = 3 ...
39.530435
191
0.609327
1,251
9,092
4.283773
0.198241
0.063071
0.050383
0.024258
0.611495
0.582198
0.57716
0.559619
0.52827
0.52827
0
0.039709
0.243841
9,092
230
192
39.530435
0.739782
0.115706
0
0.184211
1
0
0.088619
0.021851
0
0
0
0
0
1
0.026316
false
0
0.078947
0.013158
0.144737
0.026316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e14447b6af0961c2ce14318e53cae1ebb1123672
18,595
py
Python
model.py
pallamidessi/mvrptv
6d4844108a4c008522b8bfb39b59f420b9484496
[ "MIT" ]
1
2019-09-03T09:18:03.000Z
2019-09-03T09:18:03.000Z
model.py
pallamidessi/mvrptv
6d4844108a4c008522b8bfb39b59f420b9484496
[ "MIT" ]
null
null
null
model.py
pallamidessi/mvrptv
6d4844108a4c008522b8bfb39b59f420b9484496
[ "MIT" ]
2
2015-06-15T07:21:39.000Z
2021-11-23T09:48:01.000Z
""" File containing the model classes for the project """ import random from enum import Enum from noise import pnoise2 from cmath import pi as PI from math import sqrt CLAMP = lambda n, minn, maxn: max(min(maxn, n), minn) class Point(complex): """ This class describes a 2D point based on the 'complex' clas...
26.301273
78
0.55488
2,123
18,595
4.598681
0.131418
0.052238
0.051623
0.011267
0.265185
0.131107
0.077743
0.066885
0.030114
0.030114
0
0.008786
0.3573
18,595
706
79
26.338527
0.808133
0.247325
0
0.126437
0
0
0.046253
0.001692
0
0
0
0
0
1
0.215517
false
0
0.014368
0.031609
0.474138
0
0
0
0
null
0
0
0
0
0
0
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
e14584e0c85f56a29d9930f50f3e217ec709458f
3,109
py
Python
_MOM/_Attr/Position.py
Tapyr/tapyr
4235fba6dce169fe747cce4d17d88dcf4a3f9f1d
[ "BSD-3-Clause" ]
6
2016-12-10T17:51:10.000Z
2021-10-11T07:51:48.000Z
_MOM/_Attr/Position.py
Tapyr/tapyr
4235fba6dce169fe747cce4d17d88dcf4a3f9f1d
[ "BSD-3-Clause" ]
null
null
null
_MOM/_Attr/Position.py
Tapyr/tapyr
4235fba6dce169fe747cce4d17d88dcf4a3f9f1d
[ "BSD-3-Clause" ]
3
2020-03-29T07:37:03.000Z
2021-01-21T16:08:40.000Z
# -*- coding: utf-8 -*- # Copyright (C) 2010-2015 Mag. Christian Tanzer All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. tanzer@swing.co.at # **************************************************************************** # This module is part of the package MOM.Attr. # # This module is licensed under the te...
29.056075
78
0.557414
366
3,109
4.505464
0.42623
0.029715
0.014554
0.020619
0.030321
0
0
0
0
0
0
0.044851
0.297202
3,109
106
79
29.330189
0.706636
0.472499
0
0.054054
0
0
0.031746
0
0
0
0
0
0
1
0.027027
false
0
0.243243
0.027027
0.513514
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
e14b33df231d6c3378f4263bae1d32087961530b
628
py
Python
web/faq/migrations/0006_auto_20210719_1354.py
kisawebkaist/kisaweb
05883d4d81394d5055137f24a8a46d7c90191101
[ "MIT" ]
2
2020-11-06T10:32:52.000Z
2021-11-05T06:56:08.000Z
web/faq/migrations/0006_auto_20210719_1354.py
kisawebkaist/kisaweb
05883d4d81394d5055137f24a8a46d7c90191101
[ "MIT" ]
29
2020-10-09T18:29:11.000Z
2022-03-12T14:23:36.000Z
web/faq/migrations/0006_auto_20210719_1354.py
kisawebkaist/kisaweb
05883d4d81394d5055137f24a8a46d7c90191101
[ "MIT" ]
11
2020-10-26T03:59:47.000Z
2021-10-04T07:03:44.000Z
# Generated by Django 3.0 on 2021-07-19 04:54 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('faq', '0005_auto_20210719_1346'), ] operations = [ migrations.AlterField( model_name='category', ...
31.4
263
0.643312
70
628
5.685714
0.671429
0.060302
0.070352
0.110553
0
0
0
0
0
0
0
0.059761
0.200637
628
19
264
33.052632
0.733068
0.068471
0
0
1
0
0.214408
0.039451
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
e14c48e07e1f9d8011b3cad8dd13e19282e469e0
1,123
py
Python
abi_lists.py
Abirami33/python-75-hackathon
c15505615d92cf304c27eabd3136406b08c59078
[ "MIT" ]
null
null
null
abi_lists.py
Abirami33/python-75-hackathon
c15505615d92cf304c27eabd3136406b08c59078
[ "MIT" ]
null
null
null
abi_lists.py
Abirami33/python-75-hackathon
c15505615d92cf304c27eabd3136406b08c59078
[ "MIT" ]
null
null
null
#Lists are same as tuples but lists are mutable tuples are immutable #creating a list list1=['Ram','Raj','Ragu'] print(list1) #printing list values at 0 1 where 2 is excluded print(list1[0:2]) #updating raj as raja list1[1]='Raja' print(list1) #deleting value at 0th index del(list1[0]) print(list1) #concatenating ...
19.033898
68
0.690116
176
1,123
4.397727
0.448864
0.090439
0.065891
0.03876
0.090439
0.090439
0.090439
0.090439
0
0
0
0.034908
0.13268
1,123
59
69
19.033898
0.759754
0.289403
0
0.272727
0
0
0.239535
0
0
0
0
0
0
1
0
false
0
0
0
0
0.545455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
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
e158321b491ba48156f2a1daf65418221e780c57
7,301
py
Python
api/auth.py
amjed-ali-k/grs-backend
973cf735468348dc0fefb2e6e500b77424206ecf
[ "Apache-2.0" ]
2
2021-11-17T11:07:50.000Z
2021-12-07T10:07:59.000Z
api/auth.py
gptc-perinthalmanna/grs-backend
973cf735468348dc0fefb2e6e500b77424206ecf
[ "Apache-2.0" ]
6
2021-11-01T15:38:37.000Z
2021-11-03T08:55:57.000Z
api/auth.py
gptc-perinthalmanna/grs-backend
973cf735468348dc0fefb2e6e500b77424206ecf
[ "Apache-2.0" ]
null
null
null
from datetime import timedelta from fastapi import Depends, HTTPException, APIRouter, BackgroundTasks from fastapi.security import OAuth2PasswordRequestForm from pydantic.types import UUID4 from starlette import status from models.user import AccountType, BasicUser, CustomUserCreate, User, Token, UserCreate, UserEdit, ...
46.503185
182
0.74209
960
7,301
5.364583
0.190625
0.036893
0.074563
0.08699
0.412816
0.346214
0.258447
0.179029
0.149515
0.132427
0
0.010679
0.166279
7,301
157
183
46.503185
0.835387
0.049308
0
0.175926
0
0
0.149395
0.013286
0
0
0
0.006369
0
1
0
false
0.296296
0.092593
0
0.203704
0
0
0
0
null
0
0
0
0
0
0
0
0
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
e15dc64cedb14810ebaccd531381fa2a76da066b
4,339
py
Python
blog/views/post.py
maxis1314/pyutils
7e0666c650209155b3da186d09c54cf14825df1e
[ "Apache-2.0" ]
2
2017-06-12T07:58:51.000Z
2018-03-08T09:43:35.000Z
blog/views/post.py
maxis1314/pyutils
7e0666c650209155b3da186d09c54cf14825df1e
[ "Apache-2.0" ]
1
2017-06-10T02:05:52.000Z
2017-07-04T03:57:28.000Z
blog/views/post.py
maxis1314/pyutils
7e0666c650209155b3da186d09c54cf14825df1e
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 import time from flask import Flask,request,session,g,redirect,url_for,Blueprint from flask import abort,render_template,flash import config from helpers import getAvatar, getDay, getMonth, formatDate, formatDate2, showPost, replyContent from database import db import markdown from models import Po...
33.376923
137
0.651072
539
4,339
5.148423
0.205937
0.025225
0.031712
0.014054
0.432072
0.326486
0.277117
0.260541
0.260541
0.201081
0
0.010133
0.203964
4,339
130
138
33.376923
0.792994
0.01498
0
0.342593
0
0
0.077085
0
0
0
0
0
0
0
null
null
0
0.092593
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
e15e33b1e977b1eb26bffed14d58bf7bb5ae8092
5,398
py
Python
pipystreamer.py
yeardancing/simpistreamer
f3ec4fa0cacfddd567de325f3374ca34a3bc25e9
[ "MIT" ]
null
null
null
pipystreamer.py
yeardancing/simpistreamer
f3ec4fa0cacfddd567de325f3374ca34a3bc25e9
[ "MIT" ]
null
null
null
pipystreamer.py
yeardancing/simpistreamer
f3ec4fa0cacfddd567de325f3374ca34a3bc25e9
[ "MIT" ]
null
null
null
import os import sys import threading import Queue import gi gi.require_version('Gst', '1.0') from gi.repository import Gst Gst.init(None) class PiPyStreamer(threading.Thread): GET_DURATION = 'd' PLAY = 'g' HELP = 'h' IS_PLAYING = 'j' LOAD = 'l' STOP ...
36.228188
120
0.449611
534
5,398
4.406367
0.254682
0.054399
0.061198
0.050999
0.254144
0.232894
0.158096
0.158096
0.036549
0.036549
0
0.005472
0.458318
5,398
148
121
36.472973
0.799248
0
0
0.203125
0
0
0.128219
0
0
0
0
0
0
0
null
null
0
0.046875
null
null
0.085938
0
0
0
null
0
0
0
0
0
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
e161a60ee215b4942e750f8631f32fff1b1e5383
3,763
py
Python
pastvision_desktop/scripts/basic/getFramesFromVideoAtTimeIntervals.py
martincooney/PastVision
c439f33cee9f2c48b1c52a9b3e14913f51da7513
[ "Unlicense", "MIT" ]
null
null
null
pastvision_desktop/scripts/basic/getFramesFromVideoAtTimeIntervals.py
martincooney/PastVision
c439f33cee9f2c48b1c52a9b3e14913f51da7513
[ "Unlicense", "MIT" ]
null
null
null
pastvision_desktop/scripts/basic/getFramesFromVideoAtTimeIntervals.py
martincooney/PastVision
c439f33cee9f2c48b1c52a9b3e14913f51da7513
[ "Unlicense", "MIT" ]
null
null
null
#!/usr/bin/env python #Copyright 2017 Martin Cooney #This file is subject to the terms and conditions defined in file 'Readme.md', which is part of this source code package. #This program extracts frames before and after an event has occurred at set time periods, for later processing import cv2 import numpy ...
31.358333
124
0.723625
476
3,763
5.644958
0.319328
0.040938
0.055824
0.02233
0.144771
0.129885
0.088202
0.066617
0.046148
0
0
0.04368
0.142174
3,763
119
125
31.621849
0.788724
0.091416
0
0.078652
0
0
0.109019
0.046462
0
0
0
0
0
0
null
null
0
0.05618
null
null
0.044944
0
0
0
null
0
0
0
0
0
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
e167ddef122a159bf5f798791b1ca4b232443054
92,541
py
Python
test/integration/plugins/nuagevsp/test_nuage_extra_dhcp.py
cl-k-takahashi/cloudstack
ca17b6a126d8842adb750146a3f843e6acbadd04
[ "Apache-2.0" ]
14
2015-01-12T13:46:12.000Z
2021-07-19T19:33:28.000Z
test/integration/plugins/nuagevsp/test_nuage_extra_dhcp.py
cl-k-takahashi/cloudstack
ca17b6a126d8842adb750146a3f843e6acbadd04
[ "Apache-2.0" ]
2
2015-04-02T21:08:53.000Z
2015-04-02T21:11:06.000Z
test/integration/plugins/nuagevsp/test_nuage_extra_dhcp.py
cl-k-takahashi/cloudstack
ca17b6a126d8842adb750146a3f843e6acbadd04
[ "Apache-2.0" ]
8
2015-07-17T12:36:51.000Z
2018-08-09T16:23:40.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
45.654169
85
0.557267
10,421
92,541
4.585932
0.055369
0.09253
0.048964
0.051287
0.78778
0.739632
0.689558
0.655325
0.62308
0.593388
0
0.024572
0.367167
92,541
2,026
86
45.676703
0.791472
0.061594
0
0.569932
0
0
0.101574
0.012162
0
0
0
0
0.007394
1
0.052988
false
0
0.004313
0
0.071473
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
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
e16c416ee1437450fdf5ca8497e2f316f7da39e8
761
py
Python
TLCS/Memory.py
hcongvan/Deep-QLearning-Agent-for-Traffic-Signal-Control
fb215ecd26126b31f4c1d3e4c606377e95539b3f
[ "MIT" ]
4
2019-10-09T15:04:25.000Z
2021-05-19T05:01:22.000Z
TLCS/Memory.py
hcongvan/Deep-QLearning-Agent-for-Traffic-Signal-Control
fb215ecd26126b31f4c1d3e4c606377e95539b3f
[ "MIT" ]
null
null
null
TLCS/Memory.py
hcongvan/Deep-QLearning-Agent-for-Traffic-Signal-Control
fb215ecd26126b31f4c1d3e4c606377e95539b3f
[ "MIT" ]
4
2019-10-12T09:55:12.000Z
2021-08-21T03:17:07.000Z
import random # HANDLES THE MEMORY class Memory: def __init__(self, memory_size): self._memory_size = memory_size self._samples = [] # ADD A SAMPLE INTO THE MEMORY def add_sample(self, sample): self._samples.append(sample) if len(self._samples) > self._memory_size: ...
36.238095
111
0.667543
105
761
4.609524
0.352381
0.181818
0.086777
0.07438
0.119835
0
0
0
0
0
0
0.001757
0.2523
761
20
112
38.05
0.848858
0.295664
0
0
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0.071429
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
e16cf8521db7bf8fe5021110ea1ca3ab929eb6f9
3,579
py
Python
py2many/analysis.py
div72/py2many
60277bc13597bd32d078b88a7390715568115fc6
[ "MIT" ]
null
null
null
py2many/analysis.py
div72/py2many
60277bc13597bd32d078b88a7390715568115fc6
[ "MIT" ]
null
null
null
py2many/analysis.py
div72/py2many
60277bc13597bd32d078b88a7390715568115fc6
[ "MIT" ]
null
null
null
import ast from .ast_helpers import get_id get_id # quiten pyflakes; this should when code is updated to use ast_helpers IGNORED_MODULE_SET = set( [ "typing", "enum", "dataclasses", "ctypes", "math", "__future__", "asyncio", "sys", "os", ...
24.182432
78
0.615814
423
3,579
5.073286
0.252955
0.059646
0.06151
0.050326
0.356477
0.335974
0.293103
0.255825
0.179404
0.087605
0
0.002356
0.288349
3,579
147
79
24.346939
0.840204
0.080749
0
0.356436
0
0
0.027077
0
0
0
0
0
0
1
0.19802
false
0
0.108911
0.059406
0.564356
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
e16e349f5057ec4c6f0f29a554bc585e60537366
432
py
Python
api/migrations/0002_kakaouser_context.py
Beomi/where-is-my-customs
5e19dd1df60a791844d6c78ccd533cd96b3b63d3
[ "Apache-2.0" ]
8
2018-09-27T01:37:09.000Z
2020-11-01T17:17:14.000Z
api/migrations/0002_kakaouser_context.py
Beomi/where-is-my-customs
5e19dd1df60a791844d6c78ccd533cd96b3b63d3
[ "Apache-2.0" ]
2
2018-09-26T11:16:56.000Z
2018-10-18T02:37:40.000Z
api/migrations/0002_kakaouser_context.py
Beomi/where-is-my-customs
5e19dd1df60a791844d6c78ccd533cd96b3b63d3
[ "Apache-2.0" ]
3
2018-10-17T05:41:43.000Z
2019-03-08T19:55:37.000Z
# Generated by Django 2.1.1 on 2018-09-26 05:35 from django.db import migrations import jsonfield.fields class Migration(migrations.Migration): dependencies = [ ('api', '0001_initial'), ] operations = [ migrations.AddField( model_name='kakaouser', name='context',...
20.571429
57
0.597222
44
432
5.795455
0.75
0.117647
0
0
0
0
0
0
0
0
0
0.061889
0.289352
432
20
58
21.6
0.76873
0.104167
0
0
1
0
0.080519
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e17101f9aa95fb5d5ef80c32f5bd0ae33453a506
674
py
Python
localflavor/br/models.py
infoxchange/django-localflavor
d3bc070319519b6572e2b6d3d54a4e96bee1ff78
[ "BSD-3-Clause" ]
null
null
null
localflavor/br/models.py
infoxchange/django-localflavor
d3bc070319519b6572e2b6d3d54a4e96bee1ff78
[ "BSD-3-Clause" ]
null
null
null
localflavor/br/models.py
infoxchange/django-localflavor
d3bc070319519b6572e2b6d3d54a4e96bee1ff78
[ "BSD-3-Clause" ]
null
null
null
from django.db.models.fields import CharField from django.utils.translation import ugettext_lazy as _ from .br_states import STATE_CHOICES class BRStateField(CharField): """ A model field for states of Brazil """ description = _("State of Brazil (two uppercase letters)") def __init__(self, *args...
29.304348
74
0.669139
80
674
5.4375
0.525
0.091954
0.068966
0.082759
0
0
0
0
0
0
0
0.001905
0.221068
674
22
75
30.636364
0.826667
0.050445
0
0
0
0
0.116987
0
0
0
0
0
0
1
0.142857
false
0
0.214286
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e1778fe1960d60fe6cdfb93395478532600de37a
842
py
Python
meiduo_mall/meiduo_mall/apps/carts/serializers.py
ld-xy/VUE3.x-Django-
17c662f5a5844c066fd0a59d64e43b4306f94cfd
[ "Apache-2.0" ]
1
2021-07-31T08:57:07.000Z
2021-07-31T08:57:07.000Z
meiduo_mall/meiduo_mall/apps/carts/serializers.py
ld-xy/VUE3.x-Django-
17c662f5a5844c066fd0a59d64e43b4306f94cfd
[ "Apache-2.0" ]
null
null
null
meiduo_mall/meiduo_mall/apps/carts/serializers.py
ld-xy/VUE3.x-Django-
17c662f5a5844c066fd0a59d64e43b4306f94cfd
[ "Apache-2.0" ]
null
null
null
from rest_framework import serializers from goods.models import SKU class CartSerializer(serializers.Serializer): """添加购物车序列化器""" sku_id = serializers.IntegerField(label="sku_id", min_value=1) count = serializers.IntegerField(label="sku数量", min_value=1) spec = serializers.CharField(label="sku规格", all...
28.066667
87
0.671021
94
842
5.904255
0.56383
0.027027
0.151351
0.118919
0.136937
0.136937
0.136937
0
0
0
0
0.004444
0.198337
842
29
88
29.034483
0.817778
0.017815
0
0
0
0
0.089461
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e17d67c58df4821e59f93a5b1c5ffbe39e71fa05
817
py
Python
setup.py
kronas/python-aliexpress-api-client
aa9bbc376935fcb25c436a1ee96dd96786c57ec6
[ "MIT" ]
55
2015-12-26T20:51:19.000Z
2021-07-11T11:32:31.000Z
setup.py
EitherSoft/python-aliexpress-api-client
aa9bbc376935fcb25c436a1ee96dd96786c57ec6
[ "MIT" ]
2
2018-06-03T19:13:05.000Z
2020-04-10T21:58:11.000Z
setup.py
kronas/python-aliexpress-api-client
aa9bbc376935fcb25c436a1ee96dd96786c57ec6
[ "MIT" ]
27
2016-01-08T05:01:50.000Z
2021-11-14T16:59:38.000Z
try: import multiprocessing except ImportError: pass from setuptools import setup setup( name='aliexpress-api-client', version='1.2', description='AliExpress API Client', url='https://github.com/kronas/python-aliexpress-api-client', author='Kronas', author_email='kronas.sw@gm...
23.342857
71
0.629131
81
817
6.283951
0.716049
0.102161
0.149312
0
0
0
0
0
0
0
0
0.006431
0.238678
817
34
72
24.029412
0.811897
0
0
0
0
0
0.50918
0.051408
0
0
0
0
0
1
0
true
0.038462
0.115385
0
0.115385
0
0
0
0
null
0
0
0
0
0
0
0
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
e180b3d92b6c8a3a6388df7c6b3d0a43adc4902c
739
py
Python
feed/migrations/0004_auto_20210427_0138.py
davidtolosa/mumbleapi
af76bf10aaefcb5c462723dd533664fd5d690cf6
[ "Apache-2.0" ]
null
null
null
feed/migrations/0004_auto_20210427_0138.py
davidtolosa/mumbleapi
af76bf10aaefcb5c462723dd533664fd5d690cf6
[ "Apache-2.0" ]
null
null
null
feed/migrations/0004_auto_20210427_0138.py
davidtolosa/mumbleapi
af76bf10aaefcb5c462723dd533664fd5d690cf6
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2 on 2021-04-27 01:38 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('feed', '0003_auto_20210422_1602'), ] operations = [ migrations.AlterField( model_name='mumble', ...
29.56
148
0.633288
84
739
5.47619
0.5
0.069565
0.091304
0.143478
0.495652
0.495652
0.326087
0.326087
0.326087
0.326087
0
0.053381
0.239513
739
24
149
30.791667
0.765125
0.058187
0
0.333333
1
0
0.121037
0.033141
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e1861e910e769e0f847483a08a9a04068dbbbf4d
461
py
Python
pynus/nusparm.py
tkmim/pynus
3d242603bb183ad976078b373f6a50e9877c89e8
[ "MIT" ]
null
null
null
pynus/nusparm.py
tkmim/pynus
3d242603bb183ad976078b373f6a50e9877c89e8
[ "MIT" ]
null
null
null
pynus/nusparm.py
tkmim/pynus
3d242603bb183ad976078b373f6a50e9877c89e8
[ "MIT" ]
null
null
null
# nusparm.py # Predefined parameters # Control parameter for NuSDaS_parameter_change() N_PC_MISSING_UI1 = 1 N_PC_MISSING_SI2 = 2 N_PC_MISSING_SI4 = 3 N_PC_MISSING_R4 = 4 N_PC_MISSING_R8 = 5 N_PC_MASK_BIT = 6 N_PC_ID_SET = 7 N_PC_PACKING = 8 N_PC_SIZEX = ...
23.05
50
0.596529
74
461
3.202703
0.581081
0.177215
0.21097
0
0
0
0
0
0
0
0
0.081356
0.360087
461
19
51
24.263158
0.722034
0.177874
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
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
e18647b0813e2c4c48d2492e6ee81c2fb0872b68
10,628
pyde
Python
BreakoutProject/BreakoutProject.pyde
Wenjing-Zhao/Python-Assignemnt
a60b44f2fbb55849170e5d30baf57889abcb14fb
[ "MIT" ]
null
null
null
BreakoutProject/BreakoutProject.pyde
Wenjing-Zhao/Python-Assignemnt
a60b44f2fbb55849170e5d30baf57889abcb14fb
[ "MIT" ]
null
null
null
BreakoutProject/BreakoutProject.pyde
Wenjing-Zhao/Python-Assignemnt
a60b44f2fbb55849170e5d30baf57889abcb14fb
[ "MIT" ]
null
null
null
import random import Ball import Brick BallNum=3 sec=0.0 pannel_red_width = 100 pannel_grey_width = 80 pannel_height = 20 gamebegin = False MouseMove = False lpointX = list() lpointY = list() lSz = list() black_rect_height = 25 grey_frame_width = 8 blue_grey_height = black_rect_height + grey_frame_wi...
31.443787
187
0.553067
1,302
10,628
4.410138
0.126728
0.056078
0.136189
0.144201
0.53605
0.481888
0.445315
0.428248
0.381226
0.352665
0
0.037557
0.343621
10,628
337
188
31.537092
0.78555
0.036884
0
0.462366
0
0
0.016598
0
0
0
0
0
0
0
null
null
0
0.010753
null
null
0.014337
0
0
0
null
0
0
0
0
0
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
e18c4c238abd6dd40decde372ea2a668a156ea01
3,457
py
Python
src/py/flwr/client/grpc_client/message_handler_test.py
g-pichler/flower
e455cdc3678921ece960287a0e1ae5123500c948
[ "Apache-2.0" ]
1
2022-03-10T12:34:19.000Z
2022-03-10T12:34:19.000Z
src/py/flwr/client/grpc_client/message_handler_test.py
katulu-io/flower
c0460e6e4b33b89ecf5e680276d8af73b6157240
[ "Apache-2.0" ]
null
null
null
src/py/flwr/client/grpc_client/message_handler_test.py
katulu-io/flower
c0460e6e4b33b89ecf5e680276d8af73b6157240
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Adap GmbH. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
28.808333
80
0.677177
383
3,457
5.942559
0.342037
0.045694
0.043937
0.01406
0.536907
0.429701
0.429701
0.405097
0.405097
0.405097
0
0.004802
0.216951
3,457
119
81
29.05042
0.835981
0.260341
0
0.485714
0
0
0.036624
0
0
0
0
0
0.085714
1
0.128571
false
0.085714
0.057143
0.014286
0.228571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e1916ae94e8c8503838cc7fb1f8cdfc99c775f4d
233
py
Python
2-resources/_PYTHON/code-examples-master/aws/python/rds/list_rds_instances.py
eengineergz/Lambda
1fe511f7ef550aed998b75c18a432abf6ab41c5f
[ "MIT" ]
null
null
null
2-resources/_PYTHON/code-examples-master/aws/python/rds/list_rds_instances.py
eengineergz/Lambda
1fe511f7ef550aed998b75c18a432abf6ab41c5f
[ "MIT" ]
null
null
null
2-resources/_PYTHON/code-examples-master/aws/python/rds/list_rds_instances.py
eengineergz/Lambda
1fe511f7ef550aed998b75c18a432abf6ab41c5f
[ "MIT" ]
1
2021-11-05T07:48:26.000Z
2021-11-05T07:48:26.000Z
import boto3 session = boto3.Session(region_name='eu-west-1', profile_name='test') rds = session.client('rds') response = rds.describe_db_instances() for rds_dbs in response['DBInstances']: print(rds_dbs['DBInstanceIdentifier'])
23.3
69
0.763948
32
233
5.375
0.6875
0.139535
0
0
0
0
0
0
0
0
0
0.014151
0.090129
233
9
70
25.888889
0.79717
0
0
0
0
0
0.201717
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
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
e19e5bff4360939b0eacb7624c940914cfc6c965
7,258
py
Python
adminapp/views.py
dmitricus/robotshop
4c89a70e9191a8073efc1f2709bea4b79c0a6532
[ "MIT" ]
null
null
null
adminapp/views.py
dmitricus/robotshop
4c89a70e9191a8073efc1f2709bea4b79c0a6532
[ "MIT" ]
null
null
null
adminapp/views.py
dmitricus/robotshop
4c89a70e9191a8073efc1f2709bea4b79c0a6532
[ "MIT" ]
null
null
null
from django.shortcuts import render, get_object_or_404 from authapp.models import ShopUser from mainapp.models import ProductCategory, Product from django.contrib.auth.decorators import user_passes_test from django.template.loader import render_to_string from django.http import JsonResponse, HttpResponse from django.sh...
34.235849
99
0.700055
806
7,258
6.07072
0.146402
0.042918
0.060086
0.040466
0.652769
0.618639
0.556714
0.528306
0.446148
0.416718
0
0.003928
0.193304
7,258
212
100
34.235849
0.831768
0
0
0.544872
0
0
0.121504
0.066263
0
0
0
0
0
1
0.108974
false
0.025641
0.089744
0.019231
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e19f21fc05ea9dc262a9ec803bb8314d9b9746ea
898
py
Python
FinanceApp/migrations/0008_auto_20210908_0236.py
Kayarn-Mechatronics/Octello
45f4f73c764ca816918c31ef3ae4889740a68802
[ "Apache-2.0" ]
null
null
null
FinanceApp/migrations/0008_auto_20210908_0236.py
Kayarn-Mechatronics/Octello
45f4f73c764ca816918c31ef3ae4889740a68802
[ "Apache-2.0" ]
null
null
null
FinanceApp/migrations/0008_auto_20210908_0236.py
Kayarn-Mechatronics/Octello
45f4f73c764ca816918c31ef3ae4889740a68802
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2.5 on 2021-09-08 02:36 import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('FinanceApp', '0007_auto_20210908_0150'), ] operations = [ migrations.AlterField( ...
29.933333
144
0.639198
89
898
6.348315
0.606742
0.042478
0.049558
0.077876
0
0
0
0
0
0
0
0.071322
0.250557
898
29
145
30.965517
0.768202
0.050111
0
0.217391
1
0
0.195065
0.118684
0
0
0
0
0
1
0
false
0
0.130435
0
0.26087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e1a0bf27fb1131a8abacbae952bd9cf734d3887a
2,612
py
Python
statping/connection.py
danielpalstra/pystatping
eb6325229d45cd452528007b440ca545bacc3e04
[ "Apache-2.0" ]
null
null
null
statping/connection.py
danielpalstra/pystatping
eb6325229d45cd452528007b440ca545bacc3e04
[ "Apache-2.0" ]
null
null
null
statping/connection.py
danielpalstra/pystatping
eb6325229d45cd452528007b440ca545bacc3e04
[ "Apache-2.0" ]
null
null
null
import requests from . import exceptions # class Statping(object): class StatpingConnection(object): def __init__(self, url, token=None, ssl_verify=False): base_url = "{}".format(url if url[-1] != "/" else url[:-1]) self.base_url = base_url self.token = token # Set headers ...
28.391304
87
0.593032
317
2,612
4.725552
0.268139
0.048064
0.036716
0.032043
0.331108
0.331108
0.304406
0.304406
0.304406
0.304406
0
0.007692
0.303216
2,612
91
88
28.703297
0.815385
0.050919
0
0.254237
0
0
0.145977
0.050546
0
0
0
0.010989
0
1
0.101695
false
0
0.033898
0
0.254237
0
0
0
0
null
0
0
0
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
e1b9e45db561d32d50fa9b846fae1a334773f432
5,164
py
Python
dibitonto.massimiliano/files/4axis_rpc_machine.py
FabAcademyFR/fabaccademy-fr
18f483872b2e638eaf9d06350d6edc89962b6e5d
[ "Apache-2.0" ]
4
2015-02-03T09:33:56.000Z
2015-07-16T19:43:28.000Z
dibitonto.massimiliano/files/4axis_rpc_machine.py
FabAcademyFR/fabaccademy-fr
18f483872b2e638eaf9d06350d6edc89962b6e5d
[ "Apache-2.0" ]
null
null
null
dibitonto.massimiliano/files/4axis_rpc_machine.py
FabAcademyFR/fabaccademy-fr
18f483872b2e638eaf9d06350d6edc89962b6e5d
[ "Apache-2.0" ]
null
null
null
# Two stage example Virtual Machine file # moves get set in Main # usb port needs to be set in initInterfaces # Nadya Peek Dec 2014 #------IMPORTS------- from pygestalt import nodes from pygestalt import interfaces from pygestalt import machines from pygestalt import functions from pygestalt.machines import elements f...
46.522523
205
0.756971
624
5,164
6.251603
0.323718
0.029992
0.019482
0.022558
0.230197
0.230197
0.217893
0.193796
0.193796
0.193796
0
0.029284
0.107281
5,164
110
206
46.945455
0.81692
0.266266
0
0.063492
0
0
0.080959
0.00719
0
0
0
0
0
1
0.15873
false
0.063492
0.174603
0.015873
0.365079
0
0
0
0
null
0
0
0
0
0
0
0
0
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
e1c199eea1bdbd61862cd3b7343fea8dfa498c38
724
py
Python
tests/conftest.py
compilerla/intake-html-table
09d04b1607a3dc006c8ebee3b78b0d821d5aaba3
[ "Apache-2.0" ]
1
2021-09-21T18:48:29.000Z
2021-09-21T18:48:29.000Z
tests/conftest.py
compilerla/intake-html-table
09d04b1607a3dc006c8ebee3b78b0d821d5aaba3
[ "Apache-2.0" ]
2
2021-07-15T01:38:57.000Z
2021-11-11T17:41:13.000Z
tests/conftest.py
compilerla/intake-html-table
09d04b1607a3dc006c8ebee3b78b0d821d5aaba3
[ "Apache-2.0" ]
null
null
null
from pathlib import Path import pytest def get_path(path): """Get the `path` under the `examples/` directory, with respect to this file.""" root = Path(__file__).parent examples = "../examples" return root.joinpath(examples).joinpath(path).resolve() @pytest.fixture def cat_path(): yield get_pat...
21.294118
84
0.679558
102
724
4.696078
0.303922
0.073069
0.083507
0.11691
0.294363
0.294363
0
0
0
0
0
0
0.175414
724
33
85
21.939394
0.802345
0.305249
0
0.222222
0
0
0.107884
0
0
0
0
0
0
1
0.277778
false
0
0.111111
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
1
0
0
0
0
0
0
0
1
e1c3b6479ec3ccf3b17bbbccfbffef457801d92f
4,010
py
Python
pyxhook/arduinoMicroShiftRegisterTests_PythonCompanion_debugSerialCmds_staticListOfPatterns.py
stephaneAG/Python_tests
dc0a8819b4f49f50f17b3ffcf009c082535e1dbe
[ "MIT" ]
null
null
null
pyxhook/arduinoMicroShiftRegisterTests_PythonCompanion_debugSerialCmds_staticListOfPatterns.py
stephaneAG/Python_tests
dc0a8819b4f49f50f17b3ffcf009c082535e1dbe
[ "MIT" ]
null
null
null
pyxhook/arduinoMicroShiftRegisterTests_PythonCompanion_debugSerialCmds_staticListOfPatterns.py
stephaneAG/Python_tests
dc0a8819b4f49f50f17b3ffcf009c082535e1dbe
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #!/usr/bin/env python ## -*- coding: iso-8859-1 -*- # the above is to prevent that damn " SyntaxError: Non-ASCII character '\xc2' " error # "Arduino companion" # test implm of a LEDs animations using an Arduino Micro & 74HC595 shift registers import serial # needed for serial communicatio...
27.278912
85
0.682045
493
4,010
5.446247
0.356998
0.102421
0.130354
0.098324
0.236127
0.236127
0.227561
0.227561
0.188827
0.188827
0
0.197401
0.194015
4,010
146
86
27.465753
0.633354
0.441147
0
0.520548
0
0
0.3138
0
0
0
0
0
0
0
null
null
0
0.041096
null
null
0.013699
0
0
0
null
0
0
0
0
0
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
e1c592cc617870bda5c0354cb152cc33adbe0052
2,915
py
Python
lab8/profile_bst.py
deval-patel/csc148_labs
0748fe140e60da458de7e7061400881b0a3d7ca3
[ "MIT" ]
2
2021-05-15T03:44:35.000Z
2021-09-18T04:31:44.000Z
lab8/profile_bst.py
deval-patel/csc148_labs
0748fe140e60da458de7e7061400881b0a3d7ca3
[ "MIT" ]
null
null
null
lab8/profile_bst.py
deval-patel/csc148_labs
0748fe140e60da458de7e7061400881b0a3d7ca3
[ "MIT" ]
1
2021-07-16T22:13:39.000Z
2021-07-16T22:13:39.000Z
"""Lab 8: Binary Search Trees === CSC148 Winter 2021 === Department of Mathematical and Computational Sciences, University of Toronto Mississauga === Module Description === This module contains some code for running some timing experiments on binary search trees. """ from bst import BinarySearchTree import random imp...
32.752809
78
0.638079
397
2,915
4.627204
0.410579
0.019597
0.024496
0.01742
0.320087
0.278715
0.218835
0.218835
0.218835
0.187262
0
0.016889
0.22813
2,915
88
79
33.125
0.799556
0.504631
0
0.341463
0
0
0.169553
0.033189
0
0
0
0.011364
0
1
0.02439
false
0
0.121951
0
0.146341
0.04878
0
0
0
null
0
0
0
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
e1c6bf9b0270b016c5fb9e3c7de0a578f5523606
2,475
py
Python
gem/tests/test_sessions.py
praekelt/molo-gem
ab4f9a16719f6cfc1981ef448f1d42c457e1dad7
[ "BSD-2-Clause" ]
3
2017-08-03T22:37:13.000Z
2018-06-14T15:36:01.000Z
gem/tests/test_sessions.py
praekelt/molo-gem
ab4f9a16719f6cfc1981ef448f1d42c457e1dad7
[ "BSD-2-Clause" ]
635
2016-01-12T07:23:46.000Z
2018-11-16T07:43:13.000Z
gem/tests/test_sessions.py
praekelt/molo-gem
ab4f9a16719f6cfc1981ef448f1d42c457e1dad7
[ "BSD-2-Clause" ]
6
2017-05-11T09:50:34.000Z
2018-11-16T10:42:56.000Z
import time from django.contrib.auth.models import User from django.test import TestCase, Client from django.test.utils import override_settings from gem.tests.base import GemTestCaseMixin @override_settings(SESSION_COOKIE_AGE=1) class GemAutomaticLogoutTest(TestCase, GemTestCaseMixin): """ Note that SESSION...
36.940299
79
0.671515
295
2,475
5.518644
0.372881
0.04914
0.127764
0.064496
0.436732
0.436732
0.436732
0.375921
0.375921
0.375921
0
0.008859
0.224646
2,475
66
80
37.5
0.8395
0.154747
0
0.341463
0
0
0.16715
0.083092
0
0
0
0
0.268293
1
0.073171
false
0.073171
0.121951
0
0.219512
0
0
0
0
null
0
0
0
0
0
0
0
0
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
becd5e524d7963ffb5a9e278f1fc4bd935ca9fed
2,709
py
Python
Birthday_paradox_problem.py
Gjacquenot/Birthday_paradox_probability
61c8341e79977ae385f45c92273863d3cd44d424
[ "MIT" ]
3
2018-08-20T18:49:51.000Z
2019-08-28T14:00:09.000Z
Birthday_paradox_problem.py
Gjacquenot/Birthday_paradox_probability
61c8341e79977ae385f45c92273863d3cd44d424
[ "MIT" ]
null
null
null
Birthday_paradox_problem.py
Gjacquenot/Birthday_paradox_probability
61c8341e79977ae385f45c92273863d3cd44d424
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Script to generate in English and French, graphs for the # birthday problem. # # ************************************************************** # http://en.wikipedia.org/wiki/Birthday_problem # From Wikipedia, the free encyclopedia: # In probability theory, the birthday problem or birthday #...
34.730769
85
0.630491
379
2,709
4.493404
0.474934
0.007046
0.021139
0.052848
0.145625
0.130358
0.130358
0.10687
0
0
0
0.051693
0.19306
2,709
77
86
35.181818
0.727356
0.427833
0
0.121951
1
0
0.184453
0.016469
0
0
0
0
0
1
0.02439
false
0
0.04878
0
0.073171
0
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
bed140e453b139bb14af04e5db75c6fde5837aa2
5,170
py
Python
exp/play.py
Bleyddyn/malpi
9315f19366bd56da12c6dc7a84d830bbec530753
[ "MIT" ]
5
2017-03-27T22:15:54.000Z
2022-01-19T23:46:46.000Z
exp/play.py
Bleyddyn/malpi
9315f19366bd56da12c6dc7a84d830bbec530753
[ "MIT" ]
10
2017-01-19T19:22:06.000Z
2022-02-27T21:29:50.000Z
exp/play.py
Bleyddyn/malpi
9315f19366bd56da12c6dc7a84d830bbec530753
[ "MIT" ]
null
null
null
""" Trains an agent with Deep Q Learning or Double DQN on Breakout. Uses OpenAI Gym. """ import sys import os sys.path.insert(0,os.path.expanduser('~/Library/Python/2.7/lib/python/site-packages/')) import numpy as np import cPickle as pickle import gym from optparse import OptionParser import itertools import random ...
35.410959
149
0.6147
704
5,170
4.419034
0.329545
0.02893
0.019286
0.016393
0.158149
0.115397
0.115397
0.090968
0.090968
0.02893
0
0.039501
0.255706
5,170
145
150
35.655172
0.768971
0.103868
0
0.194444
0
0
0.171858
0.010161
0
0
0
0
0
0
null
null
0
0.12963
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bed4181db61a1e25a6bfe45235c1436f13616a44
1,470
py
Python
Lowest Common Ancestor of a Binary Tree.py
sugia/leetcode
6facec2a54d1d9f133f420c9bce1d1043f57ebc6
[ "Apache-2.0" ]
null
null
null
Lowest Common Ancestor of a Binary Tree.py
sugia/leetcode
6facec2a54d1d9f133f420c9bce1d1043f57ebc6
[ "Apache-2.0" ]
null
null
null
Lowest Common Ancestor of a Binary Tree.py
sugia/leetcode
6facec2a54d1d9f133f420c9bce1d1043f57ebc6
[ "Apache-2.0" ]
null
null
null
''' Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. According to the definition of LCA on Wikipedia: “The lowest common ancestor is defined between two nodes v and w as the lowest node in T that has both v and w as descendants (where we allow a node to be a descendant of itse...
29.4
229
0.587075
218
1,470
3.830275
0.362385
0.009581
0.026347
0.05509
0.095808
0.016766
0.016766
0
0
0
0
0.032587
0.331973
1,470
49
230
30
0.817719
0.72381
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bed696687bccd6bdd85bc98fdd280043e8762b3e
6,457
py
Python
utils.py
kkorovesis/xe_metamorphosis
161ca1a0840828687981bb0242d7a54ac594833b
[ "MIT" ]
null
null
null
utils.py
kkorovesis/xe_metamorphosis
161ca1a0840828687981bb0242d7a54ac594833b
[ "MIT" ]
null
null
null
utils.py
kkorovesis/xe_metamorphosis
161ca1a0840828687981bb0242d7a54ac594833b
[ "MIT" ]
null
null
null
import six import time import json import traceback import MySQLdb from MySQLdb import OperationalError def text_prepare(string, _null='NULL'): """ Prepare text for db insert :param string: :param _null: :return: """ if string is None: return _null return json.dumps(string, encoding='utf-8', ensur...
26.463115
145
0.62924
897
6,457
4.431438
0.158305
0.022642
0.015849
0.023899
0.31673
0.268679
0.216101
0.178616
0.178616
0.133333
0
0.006091
0.237262
6,457
243
146
26.572016
0.801015
0.105002
0
0.401235
0
0
0.147294
0
0
0
0
0
0.092593
1
0.037037
false
0.055556
0.037037
0
0.141975
0.135802
0
0
0
null
0
0
0
0
0
0
0
0
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
bed9ebd0eb533a5758b22b46499b43d9e06fd8c2
2,120
py
Python
src/Leap_Piano.py
v715/Virtual-Pyano
03faa2f2853cdf4dff2f51a05e9329d51731e43f
[ "MIT" ]
2
2018-10-22T07:12:41.000Z
2018-10-22T07:12:54.000Z
src/Leap_Piano.py
v715/Virtual-Pyano
03faa2f2853cdf4dff2f51a05e9329d51731e43f
[ "MIT" ]
1
2019-08-30T12:34:43.000Z
2019-08-30T12:34:43.000Z
src/Leap_Piano.py
v715/Virtual-Pyano
03faa2f2853cdf4dff2f51a05e9329d51731e43f
[ "MIT" ]
null
null
null
import sys # Import the LEAP library sys.path.insert(0, "../lib") import Leap # Import the Piano class import construct_piano piano = construct_piano.Piano(sys.argv[1], sys.argv[2]) keys = construct_piano.Keys(piano) # Create the Listener Class class Listener(Leap.Listener): # Initializing functions def on_...
26.5
69
0.650472
256
2,120
5.253906
0.40625
0.018587
0.042379
0
0
0
0
0
0
0
0
0.002608
0.276415
2,120
79
70
26.835443
0.874185
0.270755
0
0
0
0
0.057516
0
0
0
0
0
0
0
null
null
0.02381
0.071429
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bee1923df1ef2e9dc5ca51121ae9e71f66e5169f
1,258
py
Python
LineIterator.py
rodykon/MDConverter
408918fd92357d68385cdf7b1242991401e9c67f
[ "MIT" ]
null
null
null
LineIterator.py
rodykon/MDConverter
408918fd92357d68385cdf7b1242991401e9c67f
[ "MIT" ]
null
null
null
LineIterator.py
rodykon/MDConverter
408918fd92357d68385cdf7b1242991401e9c67f
[ "MIT" ]
null
null
null
from typing import List from Exceptions import IteratorException class LineIterator: def __init__(self, lines: List[str]): self.lines = lines self.__index = 0 self.value = self.lines[self.__index] def advance(self): """ Advance the iterator one line forward. "...
27.955556
86
0.586645
149
1,258
4.738255
0.288591
0.152975
0.15864
0.17847
0.300283
0.300283
0.300283
0.104816
0.104816
0
0
0.004619
0.311606
1,258
44
87
28.590909
0.810624
0.128776
0
0.24
0
0
0.089731
0
0
0
0
0
0
1
0.2
false
0
0.08
0
0.36
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
beed7fd36fa9888105fedcaba406ab97b52079f2
6,078
py
Python
scraping/lapor_scraping.py
annisann/SixPackTeamApp
5e2d2f6325650bdf5b406876270dd9dbbfda9491
[ "MIT" ]
8
2021-06-08T05:02:44.000Z
2021-07-24T10:28:05.000Z
scraping/lapor_scraping.py
annisann/SixPackTeamApp
5e2d2f6325650bdf5b406876270dd9dbbfda9491
[ "MIT" ]
null
null
null
scraping/lapor_scraping.py
annisann/SixPackTeamApp
5e2d2f6325650bdf5b406876270dd9dbbfda9491
[ "MIT" ]
3
2021-06-09T04:37:14.000Z
2022-01-10T02:38:21.000Z
import requests import pandas as pd import os from tqdm import tqdm from bs4 import BeautifulSoup def get_url(query, page): """ Generate URL from query and page number. The input query will be split into token or list of word, e.g 'luka parah' will be ['luka', 'parah'] and 'kdrt' will be ['kdrt'] For i...
39.212903
298
0.601185
718
6,078
5.022284
0.35376
0.009983
0.01442
0.016639
0.091514
0.03716
0.03716
0.020521
0.020521
0.020521
0
0.020273
0.277723
6,078
154
299
39.467532
0.801139
0.246792
0
0.08
1
0.01
0.292069
0.092563
0
0
0
0
0
1
0.06
false
0.01
0.05
0
0.15
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
beefd9d27eee0c4408181604710b9cd1c21cee57
744
py
Python
src/gryffin/bayesian_network/tfprob_interface/__init__.py
Atinary-technologies/gryffin
9770ffa049076fc0b82619c6f0d3fc32437aaea4
[ "Apache-2.0" ]
1
2021-05-11T21:37:05.000Z
2021-05-11T21:37:05.000Z
src/gryffin/bayesian_network/tfprob_interface/__init__.py
Atinary-technologies/gryffin
9770ffa049076fc0b82619c6f0d3fc32437aaea4
[ "Apache-2.0" ]
1
2022-03-10T23:16:30.000Z
2022-03-14T17:29:15.000Z
src/gryffin/bayesian_network/tfprob_interface/__init__.py
Atinary-technologies/gryffin
9770ffa049076fc0b82619c6f0d3fc32437aaea4
[ "Apache-2.0" ]
1
2022-03-10T21:43:03.000Z
2022-03-10T21:43:03.000Z
#!/usr/bin/env __author__ = 'Florian Hase' #======================================================================== import sys from gryffin.utilities import GryffinModuleError, GryffinVersionError #======================================================================== try: import tensorflow as tf except Mo...
27.555556
95
0.537634
64
744
6.015625
0.765625
0.062338
0
0
0
0
0
0
0
0
0
0.00152
0.115591
744
26
96
28.615385
0.583587
0.307796
0
0
0
0
0.215264
0
0
0
0
0
0
1
0
false
0
0.461538
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
bef1b77a8437fff8f5df7028e4e2271e60d193c6
10,862
py
Python
openmdao.util/src/openmdao/util/dumpdistmeta.py
mjfwest/OpenMDAO-Framework
a5521f47ad7686c25b203de74e1c7dff5fd7a52b
[ "Apache-2.0" ]
69
2015-01-02T19:10:08.000Z
2021-11-14T04:42:28.000Z
openmdao.util/src/openmdao/util/dumpdistmeta.py
jcchin/OpenMDAO-Framework
038e89b06da1c74f00918f4c6fbd8bd365e25657
[ "Apache-2.0" ]
3
2015-01-15T23:08:18.000Z
2015-03-11T16:57:35.000Z
openmdao.util/src/openmdao/util/dumpdistmeta.py
jcchin/OpenMDAO-Framework
038e89b06da1c74f00918f4c6fbd8bd365e25657
[ "Apache-2.0" ]
31
2015-09-16T00:37:35.000Z
2022-01-10T06:27:55.000Z
#!/usr/bin/env python """ If run as main, ``dumpdistmeta.py`` will print out either a pretty-printed dict full of the metadata found in the specified distribution or just the value of a single piece of metadata if metadata-item is specified on the command line. The distribution can be in the form of an installed eg...
35.381107
90
0.563248
1,311
10,862
4.59878
0.196034
0.019738
0.031846
0.023885
0.386134
0.310002
0.294079
0.283961
0.283961
0.270858
0
0.008546
0.321304
10,862
306
91
35.496732
0.809278
0.056988
0
0.486911
0
0
0.079658
0
0
0
0
0
0
0
null
null
0.005236
0.052356
null
null
0.020942
0
0
0
null
0
0
0
0
0
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
bef64805dce19179b71d2d8e6fef217a30e1c69d
574
py
Python
nebula_bench/scenarios/fetch.py
asu-idi/nebula-bench
fd50b7fbf59de7952e1eb3e865d54bd9e3e9ea34
[ "Apache-2.0" ]
null
null
null
nebula_bench/scenarios/fetch.py
asu-idi/nebula-bench
fd50b7fbf59de7952e1eb3e865d54bd9e3e9ea34
[ "Apache-2.0" ]
null
null
null
nebula_bench/scenarios/fetch.py
asu-idi/nebula-bench
fd50b7fbf59de7952e1eb3e865d54bd9e3e9ea34
[ "Apache-2.0" ]
null
null
null
# -*- encoding: utf-8 -*- from nebula_bench.common.base import BaseScenario class BaseFetchScenario(BaseScenario): abstract = True nGQL = "fetch prop on Person {} yield properties(vertex)" csv_path = "social_network/dynamic/person.csv" csv_index = [0] class FetchOwn(BaseFetchScenario): abstract ...
30.210526
124
0.710801
72
574
5.611111
0.583333
0.066832
0.081683
0.126238
0.207921
0.207921
0.207921
0.207921
0
0
0
0.008547
0.184669
574
18
125
31.888889
0.854701
0.04007
0
0.333333
0
0.083333
0.437158
0.10929
0
0
0
0
0
1
0
false
0
0.083333
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
bef82b3c4b398d3f00c6649b5dcad8565900cf0f
5,359
py
Python
ax/core/map_metric.py
cristicmf/Ax
c940dd0ad3a7d01eec7d68f0e51de8b019a19615
[ "MIT" ]
null
null
null
ax/core/map_metric.py
cristicmf/Ax
c940dd0ad3a7d01eec7d68f0e51de8b019a19615
[ "MIT" ]
null
null
null
ax/core/map_metric.py
cristicmf/Ax
c940dd0ad3a7d01eec7d68f0e51de8b019a19615
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # 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. from __future__ import annotations from typing import TYPE_CHECKING, Any, Dict, Iterable, Optional, Type from ax.core...
38.553957
101
0.680537
647
5,359
5.525502
0.292117
0.025175
0.027413
0.048951
0.388252
0.347692
0.311329
0.311329
0.289231
0.289231
0
0.002959
0.243329
5,359
138
102
38.833333
0.878668
0.498787
0
0.35
0
0
0.013317
0
0
0
0
0.036232
0
1
0.1
false
0
0.1
0
0.316667
0
0
0
0
null
0
0
0
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
beffc3dd6f62c0135dc95824b8fb5ac37fd91293
4,158
py
Python
corehq/motech/models.py
shyamkumarlchauhan/commcare-hq
99df931bcf56e9fbe15d8fcb0dc98b5a3957fb48
[ "BSD-3-Clause" ]
null
null
null
corehq/motech/models.py
shyamkumarlchauhan/commcare-hq
99df931bcf56e9fbe15d8fcb0dc98b5a3957fb48
[ "BSD-3-Clause" ]
null
null
null
corehq/motech/models.py
shyamkumarlchauhan/commcare-hq
99df931bcf56e9fbe15d8fcb0dc98b5a3957fb48
[ "BSD-3-Clause" ]
null
null
null
import re from django.db import models import jsonfield from corehq.motech.const import ( ALGO_AES, BASIC_AUTH, BEARER_AUTH, DIGEST_AUTH, OAUTH1, PASSWORD_PLACEHOLDER, ) from corehq.motech.utils import b64_aes_decrypt, b64_aes_encrypt class ConnectionSettings(models.Model): """ Stor...
34.65
96
0.664983
510
4,158
5.219608
0.309804
0.061983
0.07438
0.099174
0.193464
0.082645
0.060105
0.033058
0.033058
0
0
0.015301
0.245551
4,158
119
97
34.941176
0.83328
0.13468
0
0.043956
0
0
0.021666
0
0
0
0
0
0
1
0.065934
false
0.120879
0.065934
0.032967
0.450549
0
0
0
0
null
0
0
0
0
0
0
0
0
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
8300da8f2b0be7f7b5c97232d1b03594064f640b
342
py
Python
data/build.py
tkianai/StylizePoseGAN
c975a2b581bd925f41bd08211148538054922745
[ "MIT" ]
1
2019-12-31T09:28:36.000Z
2019-12-31T09:28:36.000Z
data/build.py
tkianai/StylizePoseGAN
c975a2b581bd925f41bd08211148538054922745
[ "MIT" ]
1
2020-01-03T13:10:04.000Z
2020-01-03T13:10:04.000Z
data/build.py
tkianai/StylizePoseGAN
c975a2b581bd925f41bd08211148538054922745
[ "MIT" ]
null
null
null
from . import PoseDataLoader def build_dataloader(root, label_size, training=True, resolution=8, batch_size=8): data_loader = PoseDataLoader() print(data_loader.name()) data_loader.initialize(root, label_size, training=training, resolution=resolution, batch_size=batch_size) ...
26.307692
82
0.71345
40
342
5.85
0.5
0.17094
0.111111
0.179487
0
0
0
0
0
0
0
0.007326
0.201754
342
12
83
28.5
0.849817
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0.142857
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
83019e59d25c2296b02edc3262f3a414f4d477d6
8,747
py
Python
lsgn_evaluator.py
savan77/lsgn
b1495ecf559e36c5e37078c54e00a1ec6faae5b2
[ "Apache-2.0" ]
107
2018-05-16T14:14:48.000Z
2021-09-30T03:33:04.000Z
lsgn_evaluator.py
savan77/lsgn
b1495ecf559e36c5e37078c54e00a1ec6faae5b2
[ "Apache-2.0" ]
11
2018-11-07T09:18:28.000Z
2020-12-10T15:08:19.000Z
lsgn_evaluator.py
luheng/lsgn
b1495ecf559e36c5e37078c54e00a1ec6faae5b2
[ "Apache-2.0" ]
28
2018-07-06T09:13:31.000Z
2021-10-12T09:48:56.000Z
import datetime import time import debug_utils import inference_utils from input_utils import pad_batch_tensors import operator import srl_eval_utils import util class LSGNEvaluator(object): def __init__(self, config): self.config = config self.eval_data = None # TODO: Split to multiple functions. def...
45.795812
126
0.660912
1,157
8,747
4.681936
0.177182
0.034521
0.033229
0.036182
0.296474
0.216541
0.195496
0.191434
0.120362
0.086395
0
0.017909
0.214817
8,747
190
127
46.036842
0.770821
0.046645
0
0.08805
0
0
0.097898
0.002523
0
0
0
0.005263
0
0
null
null
0
0.050314
null
null
0.081761
0
0
0
null
0
0
0
0
0
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
83031935396927285d7a3edd8c7723d40e47e046
1,080
py
Python
verapak/model_tools/model_base.py
formal-verification-research/VERAPAK
8625805fde249994e0230e53ce6313f2626aecb0
[ "MIT" ]
1
2021-08-19T12:50:59.000Z
2021-08-19T12:50:59.000Z
verapak/model_tools/model_base.py
formal-verification-research/VERAPAK
8625805fde249994e0230e53ce6313f2626aecb0
[ "MIT" ]
1
2021-11-10T02:43:45.000Z
2021-11-10T02:43:45.000Z
verapak/model_tools/model_base.py
formal-verification-research/VERAPAK
8625805fde249994e0230e53ce6313f2626aecb0
[ "MIT" ]
1
2021-08-13T18:50:37.000Z
2021-08-13T18:50:37.000Z
class ModelBase: def __init__(self, model, input_shape, output_shape, input_dtype, output_dtype): self.model_internal = model self.input_shape = input_shape self.output_shape = output_shape self.input_dtype = input_dtype self.output_dtype = output_dtype def _cast_point_i...
34.83871
84
0.698148
136
1,080
5.235294
0.316176
0.05618
0.044944
0.047753
0.219101
0.219101
0.132022
0
0
0
0
0
0.228704
1,080
30
85
36
0.854742
0
0
0.125
0
0
0.135185
0
0
0
0
0
0
1
0.25
false
0
0.041667
0.083333
0.458333
0
0
0
0
null
0
0
0
0
0
0
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
8304f3cb3a20877b2cf87b98a6c0390e9023b4e2
576
py
Python
CursoIntensivoPython/curso-intensivo-python-master/capitulo_09/exercicios/reescrevendo_glossario.py
SweydAbdul/estudos-python
b052708d0566a0afb9a1c04d035467d45f820879
[ "MIT" ]
null
null
null
CursoIntensivoPython/curso-intensivo-python-master/capitulo_09/exercicios/reescrevendo_glossario.py
SweydAbdul/estudos-python
b052708d0566a0afb9a1c04d035467d45f820879
[ "MIT" ]
null
null
null
CursoIntensivoPython/curso-intensivo-python-master/capitulo_09/exercicios/reescrevendo_glossario.py
SweydAbdul/estudos-python
b052708d0566a0afb9a1c04d035467d45f820879
[ "MIT" ]
null
null
null
from collections import OrderedDict termos = OrderedDict() termos['indentação'] = 'significa o recuo de um texto em relação a sua margem esquerda' termos['string'] = 'conjunto de caracteres numa determinada ordem' termos['iteração'] = 'nome das estruturas que repetem um mesmo bloco de código enquanto True' termos['com...
48
93
0.763889
76
576
5.789474
0.75
0.077273
0
0
0
0
0
0
0
0
0
0
0.128472
576
11
94
52.363636
0.876494
0
0
0
0
0
0.652778
0.088542
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8306d3ccf1eb0b74849c51331c03279bbd5b5b86
3,283
py
Python
cas_provider/models.py
JordanReiter/django-cas-provider
e8c36652480caef6a30a3f444d20a9f85839d52a
[ "BSD-3-Clause" ]
null
null
null
cas_provider/models.py
JordanReiter/django-cas-provider
e8c36652480caef6a30a3f444d20a9f85839d52a
[ "BSD-3-Clause" ]
null
null
null
cas_provider/models.py
JordanReiter/django-cas-provider
e8c36652480caef6a30a3f444d20a9f85839d52a
[ "BSD-3-Clause" ]
null
null
null
from django.contrib.auth.models import User from django.db import models from django.utils.translation import ugettext_lazy as _ from random import Random import string import urllib import urlparse if hasattr(urlparse, 'parse_qs'): parse_qs = urlparse.parse_qs else: # Python <2.6 compatibility from cgi im...
32.83
114
0.666464
365
3,283
5.775342
0.320548
0.073055
0.037951
0.047438
0.232922
0.179317
0.122391
0.085389
0.085389
0.085389
0
0.004655
0.214743
3,283
99
115
33.161616
0.813033
0.032897
0
0.144928
0
0
0.122513
0.006947
0
0
0
0
0
1
0.072464
false
0
0.115942
0.014493
0.594203
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
830caef576683e8c45cdc9f4e04e8a25e028c790
1,270
py
Python
source_code/NLP_sentiment_analysis.py
diogenisAl/pyNLP
14fc5b13b6755397e628c5f2f8de9d9ee6adbffe
[ "MIT" ]
null
null
null
source_code/NLP_sentiment_analysis.py
diogenisAl/pyNLP
14fc5b13b6755397e628c5f2f8de9d9ee6adbffe
[ "MIT" ]
null
null
null
source_code/NLP_sentiment_analysis.py
diogenisAl/pyNLP
14fc5b13b6755397e628c5f2f8de9d9ee6adbffe
[ "MIT" ]
null
null
null
# Import the TextBlob class from the textblob library from textblob import TextBlob # Set a text to analyze text = "Today is a beautiful day. Tomorrow looks like bad weather." # Create a blob object using the TextBlob class, with the text variable as a parameter blob = TextBlob(text) # Sentiment Analysis # The blob....
39.6875
94
0.777953
191
1,270
5.172775
0.471204
0.035425
0.032389
0.032389
0
0
0
0
0
0
0
0.005634
0.161417
1,270
31
95
40.967742
0.922066
0.63622
0
0
0
0
0.290179
0
0
0
0
0.032258
0
1
0
false
0
0.181818
0
0.181818
0.363636
0
0
0
null
0
0
0
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
8310220186611da2140bb527929053a91e7d1484
6,224
py
Python
tutorials/bios-script/forceio.py
eosforce/FORCEIO
b8dc334db53a66f8913027bc396eee852f6fe770
[ "MIT" ]
10
2019-01-17T11:56:40.000Z
2019-12-23T11:08:13.000Z
tutorials/bios-script/forceio.py
eosforce/FORCEIO
b8dc334db53a66f8913027bc396eee852f6fe770
[ "MIT" ]
null
null
null
tutorials/bios-script/forceio.py
eosforce/FORCEIO
b8dc334db53a66f8913027bc396eee852f6fe770
[ "MIT" ]
6
2019-04-24T11:16:02.000Z
2020-11-29T05:41:07.000Z
import argparse import json import os import subprocess import sys import time import copy root_account = "codex" def system_account(sub_name): return root_account + "." + sub_name relay_account_name = system_account("relay") token_account_name = system_account("token") code_account_name = system_account("code")...
35.565714
158
0.612468
814
6,224
4.588452
0.267813
0.031325
0.05917
0.027309
0.242303
0.187684
0.150201
0.128514
0.084605
0.059973
0
0.017627
0.216099
6,224
175
159
35.565714
0.747899
0
0
0.098592
0
0.007042
0.192382
0.017269
0
0
0
0
0
0
null
null
0
0.049296
null
null
0.06338
0
0
0
null
0
0
0
0
0
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
83128a6844efb6af30932b22905cf876bacccb8b
1,642
py
Python
Project/PRF/code/make_term_frequency_table.py
aksh4y/Information-Retrieval
702ec6e6dce303a6ff8f1695e6380c10665ca888
[ "MIT" ]
null
null
null
Project/PRF/code/make_term_frequency_table.py
aksh4y/Information-Retrieval
702ec6e6dce303a6ff8f1695e6380c10665ca888
[ "MIT" ]
null
null
null
Project/PRF/code/make_term_frequency_table.py
aksh4y/Information-Retrieval
702ec6e6dce303a6ff8f1695e6380c10665ca888
[ "MIT" ]
null
null
null
from __future__ import division import sys,math, heapq, os,time def open_file(file): f = open(file, "r") ## Open the file with read only permit temp = f.readlines() ## The variable "temp" is a list containing all lines f.close() ## close the file after reading the lines. return temp def fi...
29.854545
81
0.515225
218
1,642
3.775229
0.394495
0.034022
0.014581
0.026731
0.051033
0
0
0
0
0
0
0.021968
0.362363
1,642
54
82
30.407407
0.764088
0.076736
0
0
0
0
0.026627
0.015533
0
0
0
0
0
0
null
null
0
0.05
null
null
0.025
0
0
0
null
0
0
0
0
0
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
83131083614ae34a9fb10b38b503dc4b698f8f87
1,805
py
Python
venv/hdf5_to_json.py
zhanghaoyue/prediction_overlay
bd2ab3a69de27ffec52067c574f76e211d5e9e52
[ "Apache-2.0" ]
1
2021-01-22T16:27:59.000Z
2021-01-22T16:27:59.000Z
venv/hdf5_to_json.py
zhanghaoyue/prediction_overlay
bd2ab3a69de27ffec52067c574f76e211d5e9e52
[ "Apache-2.0" ]
null
null
null
venv/hdf5_to_json.py
zhanghaoyue/prediction_overlay
bd2ab3a69de27ffec52067c574f76e211d5e9e52
[ "Apache-2.0" ]
null
null
null
import h5py import numpy as np import openslide import scipy input_file_name = "1302" data_folder_address = "/home/zhanghaoyue/Desktop/PyHDF5/" tile_size = 1200 class MyEncoder(json.JSONEncoder): def default(self, obj): if isinstance(obj, np.integer): return int(obj) eli...
37.604167
127
0.632133
247
1,805
4.40081
0.348178
0.049678
0.071757
0.101196
0.347746
0.277829
0.195032
0.195032
0.195032
0.195032
0
0.018315
0.243767
1,805
48
128
37.604167
0.778022
0.06205
0
0.0625
0
0
0.04645
0.021898
0
0
0
0
0
0
null
null
0
0.125
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
8315541aa5ca5aba8919cc2e424a03a2d4aaa770
335
py
Python
page_object/baidu.py
marongkuan/UI-automation-test-framework
30b1512a04bdd8394159a8e3fff3c0144c922e88
[ "Apache-2.0" ]
1
2020-12-21T08:31:26.000Z
2020-12-21T08:31:26.000Z
page_object/baidu.py
marongkuan/UI-automation-test-framework
30b1512a04bdd8394159a8e3fff3c0144c922e88
[ "Apache-2.0" ]
null
null
null
page_object/baidu.py
marongkuan/UI-automation-test-framework
30b1512a04bdd8394159a8e3fff3c0144c922e88
[ "Apache-2.0" ]
null
null
null
from base_page.base_page import BasePage class BaiduPage(BasePage): file_path = BasePage.PATH + '/test_data/ele_baidu.xlsx' lc = BasePage.locate(file_path) text = lc('text') search = lc('search') def search_content(self, content=''): self.send_keys(self.text, content) self.on_clic...
25.769231
59
0.680597
46
335
4.76087
0.543478
0.150685
0
0
0
0
0
0
0
0
0
0
0.19403
335
12
60
27.916667
0.811111
0
0
0
0
0
0.104478
0.074627
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
831993dbb25e32d5ad3ea9d2a79e7aafe7ec2fd5
10,023
py
Python
test/tests/api/v2_0/workflows_tests.py
nucklehead/RackHD
c21876e1138c19caeeaf5ef2e2a6c0236e780896
[ "Apache-2.0" ]
null
null
null
test/tests/api/v2_0/workflows_tests.py
nucklehead/RackHD
c21876e1138c19caeeaf5ef2e2a6c0236e780896
[ "Apache-2.0" ]
null
null
null
test/tests/api/v2_0/workflows_tests.py
nucklehead/RackHD
c21876e1138c19caeeaf5ef2e2a6c0236e780896
[ "Apache-2.0" ]
null
null
null
import json from config.api2_0_config import * from config.amqp import * from on_http_api2_0 import ApiApi as Api from on_http_api2_0 import rest from modules.logger import Log from modules.amqp import AMQPWorker from datetime import datetime from proboscis.asserts import assert_equal from proboscis.asserts import asse...
47.056338
118
0.650903
1,170
10,023
5.279487
0.148718
0.038854
0.052129
0.081917
0.618423
0.564352
0.487777
0.424478
0.377044
0.359236
0
0.012717
0.231168
10,023
212
119
47.278302
0.788866
0.020154
0
0.344828
0
0
0.171172
0.054493
0
0
0
0
0.189655
0
null
null
0
0.103448
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
831b5d61a526291810085205010baa7a5bb6f325
591
py
Python
tests/mocks/lexer.py
manoloesparta/lalalang
06b877bf03449aa4192cb4fc0acf17a81a1c6ff3
[ "MIT" ]
15
2021-11-22T18:50:09.000Z
2021-12-02T20:37:08.000Z
tests/mocks/lexer.py
manoloesparta/lalalang
06b877bf03449aa4192cb4fc0acf17a81a1c6ff3
[ "MIT" ]
null
null
null
tests/mocks/lexer.py
manoloesparta/lalalang
06b877bf03449aa4192cb4fc0acf17a81a1c6ff3
[ "MIT" ]
1
2021-12-07T22:10:48.000Z
2021-12-07T22:10:48.000Z
SOURCE_CODE = """ && || # comment let pi = 314; fun area(ratio) { # comment pi * ratio * ratio + 0; } 13 / 3 > 16; # comment if(10 - 8 < 16) { return true; # comment } else { return false; } # comment 10 == 10; 10 != 9; """ DELIMETER...
15.552632
55
0.494078
64
591
4.515625
0.6875
0.069204
0
0
0
0
0
0
0
0
0
0.075949
0.331641
591
37
56
15.972973
0.655696
0
0
0.148148
0
0
0.734349
0
0
0
0
0
0
1
0
false
0
0
0
0.074074
0
0
0
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
831ea3e823762fd99805f33fefff9077152fd09a
503
py
Python
creator/migrations/0005_add_subscriptions.py
kids-first/kf-api-study-creator
93a79b108b6474f9b4135ace06c89ddcf63dd257
[ "Apache-2.0" ]
3
2019-05-04T02:07:28.000Z
2020-10-16T17:47:44.000Z
creator/migrations/0005_add_subscriptions.py
kids-first/kf-api-study-creator
93a79b108b6474f9b4135ace06c89ddcf63dd257
[ "Apache-2.0" ]
604
2019-02-21T18:14:51.000Z
2022-02-10T08:13:54.000Z
creator/migrations/0005_add_subscriptions.py
kids-first/kf-api-study-creator
93a79b108b6474f9b4135ace06c89ddcf63dd257
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.7 on 2019-06-05 16:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('studies', '0003_auto_20190226_2048'), ('creator', '0004_add_user_picture'), ] operations = [ migrations.AddField( model_...
25.15
112
0.630219
56
503
5.5
0.803571
0
0
0
0
0
0
0
0
0
0
0.093085
0.252485
503
19
113
26.473684
0.726064
0.089463
0
0
1
0
0.287281
0.096491
0
0
0
0
0
1
0
false
0
0.076923
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
8320f1fafb2d064b6639feb51b6e1fcdfe2d2495
286
py
Python
src/training/Core2/task6/exercise_11_14.py
MagicForest/Python
8af56e9384061504f05b229467c922ba71a433cb
[ "Apache-2.0" ]
null
null
null
src/training/Core2/task6/exercise_11_14.py
MagicForest/Python
8af56e9384061504f05b229467c922ba71a433cb
[ "Apache-2.0" ]
null
null
null
src/training/Core2/task6/exercise_11_14.py
MagicForest/Python
8af56e9384061504f05b229467c922ba71a433cb
[ "Apache-2.0" ]
null
null
null
def fibonacci(n): if n == 1 or n == 2: return 1 else: return fibonacci(n-2) + fibonacci(n-1) def fibonacci_by_reduce(n): if n ==1 or n == 2: return 1 else: return reduce(lambda x,y:x+y, map(fibonacci_by_reduce,(n-2, n-1)))
22
76
0.524476
48
286
3.041667
0.3125
0.054795
0.054795
0.068493
0.356164
0.356164
0.356164
0.356164
0.356164
0.356164
0
0.05291
0.339161
286
12
77
23.833333
0.719577
0
0
0.6
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
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
8321583380c3b3f22a11b779a7288a4860a27bef
3,542
py
Python
fastqcombinepairedend.py
prakashraaz/bootcamp_test
c664b4b6ff304009924c5680cc6f0c84c75833d3
[ "MIT" ]
null
null
null
fastqcombinepairedend.py
prakashraaz/bootcamp_test
c664b4b6ff304009924c5680cc6f0c84c75833d3
[ "MIT" ]
null
null
null
fastqcombinepairedend.py
prakashraaz/bootcamp_test
c664b4b6ff304009924c5680cc6f0c84c75833d3
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys #####Authors: Team Ladner-Barshis-Tepolt ######Usage######## ######This script takes a set of separate quality trimmed paired end .fastq files ######and pairs the reads that still have a mate and combined the solitary reads ######into a single file of orphans for input into denovo asse...
29.516667
222
0.641163
545
3,542
4.150459
0.262385
0.033599
0.027851
0.043324
0.442529
0.407162
0.385942
0.329355
0.237401
0.237401
0
0.038066
0.176736
3,542
119
223
29.764706
0.737654
0.337945
0
0.28
0
0
0.136284
0.045574
0
0
0
0
0
0
null
null
0
0.013333
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
83239a51b607be058f88368fce794cfecc937b61
3,555
py
Python
tests/bugs/core_4344_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/bugs/core_4344_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/bugs/core_4344_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
#coding:utf-8 # # id: bugs.core_4344 # title: Error "no current record for fetch operation" when table inner join procedure inner join table # decription: # tracker_id: CORE-4344 # min_versions: ['3.0'] # versions: 3.0 # qmid: None import pytest from firebird.qa import db_factory, isq...
29.625
110
0.636287
640
3,555
3.36875
0.184375
0.062616
0.070965
0.04731
0.607143
0.553803
0.522263
0.465677
0.465677
0.441558
0
0.11137
0.275105
3,555
119
111
29.87395
0.725262
0.077918
0
0.3125
0
0.03125
0.848132
0.008573
0
0
0
0
0.010417
1
0.010417
false
0
0.020833
0
0.03125
0
0
0
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
832911b1da8985dffe11d389656df485f2a0767f
2,388
py
Python
comb/combd.py
nextoa/comb
9bddd6c7366bd71b06d0ad7c28188abec8a874b0
[ "MIT" ]
null
null
null
comb/combd.py
nextoa/comb
9bddd6c7366bd71b06d0ad7c28188abec8a874b0
[ "MIT" ]
2
2015-06-30T10:59:58.000Z
2016-01-14T07:15:15.000Z
comb/combd.py
kbonez/comb
9bddd6c7366bd71b06d0ad7c28188abec8a874b0
[ "MIT" ]
1
2019-11-09T20:34:54.000Z
2019-11-09T20:34:54.000Z
# -*- coding: utf-8 -*- import os, sys, signal from threading import Thread from time import sleep import threading _exist_flag = False def get_exist_flag(): return _exist_flag def set_exist_flag(flag): global _exist_flag _exist_flag = flag return def signal_handle(signum, frame): set_exis...
24.618557
149
0.511725
265
2,388
4.445283
0.313208
0.061121
0.072156
0.020374
0.028862
0
0
0
0
0
0
0.009887
0.407035
2,388
96
150
24.875
0.822034
0.024707
0
0.215385
0
0
0.035745
0
0
0
0
0.010417
0
1
0.076923
false
0.015385
0.061538
0.015385
0.184615
0.030769
0
0
0
null
0
0
0
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
832a828334ef0fcc2d0fba7760478e3013c0f16a
258
py
Python
ship.py
Nocks/Battleship
a40ceec86c7b0415ad723abd9bfd9330beb90b86
[ "MIT" ]
null
null
null
ship.py
Nocks/Battleship
a40ceec86c7b0415ad723abd9bfd9330beb90b86
[ "MIT" ]
null
null
null
ship.py
Nocks/Battleship
a40ceec86c7b0415ad723abd9bfd9330beb90b86
[ "MIT" ]
null
null
null
class Ship: SHIP_INFO = [ ("Aircraft Carrier", 5), ("Battleship", 4), ("Submarine", 3), ("Cruiser", 3), ("Patrol Boat", 2) ] cordinate = None orientation = {'v': 'vertical', 'h': 'horizontal'}
23.454545
54
0.457364
23
258
5.086957
0.913043
0
0
0
0
0
0
0
0
0
0
0.03012
0.356589
258
10
55
25.8
0.674699
0
0
0
0
0
0.293173
0
0
0
0
0
0
1
0
false
0
0
0
0.4
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
832d169cec102f9a9f139dd740a211b7eb3d1d93
6,140
py
Python
dialogue-engine/test/programytest/parser/template/graph_tests/test_interval.py
cotobadesign/cotoba-agent-oss
3833d56e79dcd7529c3e8b3a3a8a782d513d9b12
[ "MIT" ]
104
2020-03-30T09:40:00.000Z
2022-03-06T22:34:25.000Z
dialogue-engine/test/programytest/parser/template/graph_tests/test_interval.py
cotobadesign/cotoba-agent-oss
3833d56e79dcd7529c3e8b3a3a8a782d513d9b12
[ "MIT" ]
25
2020-06-12T01:36:35.000Z
2022-02-19T07:30:44.000Z
dialogue-engine/test/programytest/parser/template/graph_tests/test_interval.py
cotobadesign/cotoba-agent-oss
3833d56e79dcd7529c3e8b3a3a8a782d513d9b12
[ "MIT" ]
10
2020-04-02T23:43:56.000Z
2021-05-14T13:47:01.000Z
""" Copyright (c) 2020 COTOBA DESIGN, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distri...
39.10828
126
0.60342
654
6,140
5.573395
0.246177
0.013169
0.019753
0.032922
0.556653
0.539643
0.536351
0.524829
0.508642
0.435117
0
0.036198
0.302606
6,140
156
127
39.358974
0.81504
0.172964
0
0.756098
0
0
0.397041
0.01854
0
0
0
0
0.252033
1
0.04065
false
0
0.04065
0
0.089431
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8330fccf151b6523da815896a3ab8e0a5efd22ce
700
py
Python
tests/test_config.py
georg-wolflein/recap
c1f036f6ea7df0e70db43f3bc91bc93764cbdabf
[ "Apache-2.0" ]
3
2020-12-22T08:28:34.000Z
2020-12-22T14:29:48.000Z
tests/test_config.py
georg-wolflein/recap
c1f036f6ea7df0e70db43f3bc91bc93764cbdabf
[ "Apache-2.0" ]
null
null
null
tests/test_config.py
georg-wolflein/recap
c1f036f6ea7df0e70db43f3bc91bc93764cbdabf
[ "Apache-2.0" ]
null
null
null
from pathlib import Path import pytest from recap import CfgNode as CN RESOURCES = Path(__file__).parent / "resources" def test_load_yaml(): cfg = CN.load_yaml_with_base(RESOURCES / "inherit_base.yaml") assert cfg.TEST == 1 assert cfg.XYZ == "abc" def test_inherit_yaml(): cfg = CN.load_yaml_with_b...
25
75
0.722857
102
700
4.647059
0.343137
0.084388
0.075949
0.109705
0.392405
0.392405
0.299578
0.172996
0.172996
0
0
0.003442
0.17
700
27
76
25.925926
0.812392
0
0
0.111111
0
0
0.138571
0.092857
0
0
0
0
0.277778
1
0.222222
false
0
0.166667
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
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
83317f11bb519968a184e601b88d0ccb545c5163
7,925
py
Python
app_ccf/migrations/0001_initial.py
richardmobikasa/cash-assistance-platform
fafc117823c9bb7b5b6115d11c66afb459e1ec5f
[ "MIT" ]
10
2020-10-02T20:03:08.000Z
2022-01-05T17:27:54.000Z
app_ccf/migrations/0001_initial.py
richardmobikasa/cash-assistance-platform
fafc117823c9bb7b5b6115d11c66afb459e1ec5f
[ "MIT" ]
3
2020-10-06T14:44:28.000Z
2020-10-07T15:33:23.000Z
app_ccf/migrations/0001_initial.py
richardmobikasa/cash-assistance-platform
fafc117823c9bb7b5b6115d11c66afb459e1ec5f
[ "MIT" ]
6
2020-09-22T22:39:38.000Z
2021-07-13T06:45:53.000Z
# Generated by Django 3.0.9 on 2020-09-21 18:49 import app_ccf.models import django.contrib.postgres.fields import django.core.validators from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ ] o...
70.758929
379
0.618801
819
7,925
5.818071
0.275946
0.060441
0.075551
0.100735
0.562644
0.487513
0.395593
0.372088
0.330115
0.279748
0
0.033153
0.208328
7,925
111
380
71.396396
0.725853
0.005678
0
0.355769
1
0
0.222645
0.030972
0
0
0
0
0
1
0
false
0
0.057692
0
0.096154
0
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
833313a3a92645ca232f51fc91ffb7fb58eb5f49
554
py
Python
adafruit_circuitpython_libs/adafruit-circuitpython-bundle-py-20210214/lib/adafruit_azureiot/iot_error.py
jacoblb64/pico_rgb_keypad_hid
3251ca6a98ef86d9f98c54f639c4d61810601a0b
[ "MIT" ]
47
2021-02-15T23:02:36.000Z
2022-03-04T21:30:03.000Z
adafruit_circuitpython_libs/adafruit-circuitpython-bundle-py-20210214/lib/adafruit_azureiot/iot_error.py
jacoblb64/pico_rgb_keypad_hid
3251ca6a98ef86d9f98c54f639c4d61810601a0b
[ "MIT" ]
7
2021-02-19T20:00:08.000Z
2022-01-14T10:51:12.000Z
adafruit_circuitpython_libs/adafruit-circuitpython-bundle-py-20210214/lib/adafruit_azureiot/iot_error.py
jacoblb64/pico_rgb_keypad_hid
3251ca6a98ef86d9f98c54f639c4d61810601a0b
[ "MIT" ]
14
2021-02-20T17:40:56.000Z
2022-01-01T19:53:38.000Z
# SPDX-FileCopyrightText: 2020 Jim Bennet for Adafruit Industries # SPDX-FileCopyrightText: 2020 Elena Horton for Adafruit Industries # # SPDX-License-Identifier: MIT """ `iot_error` ===================== An error from the IoT service * Author(s): Jim Bennett, Elena Horton """ class IoTError(Exception): """ ...
20.518519
67
0.637184
64
554
5.375
0.515625
0.052326
0.145349
0.145349
0.139535
0.139535
0
0
0
0
0
0.018735
0.229242
554
26
68
21.307692
0.786885
0.637184
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
83348b2c7798fe6dd4acd220079fe9516076d703
281
py
Python
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/Overflow/_Learning/01-basics.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
5
2021-06-02T23:44:25.000Z
2021-12-27T16:21:57.000Z
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/Overflow/_Learning/01-basics.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
22
2021-05-31T01:33:25.000Z
2021-10-18T18:32:39.000Z
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/Overflow/_Learning/01-basics.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
3
2021-06-19T03:37:47.000Z
2021-08-31T00:49:51.000Z
# Basics of Python # - single, double and triple quotes # - shortcut for code comment (Mac: command+/ or Windows: control+/) # - printing variables # - None print("Hello, World") print("It's raining!") print( """ Welcome to Python Have a great day!!! """ ) a = None print(a)
15.611111
68
0.654804
39
281
4.717949
0.820513
0.097826
0
0
0
0
0
0
0
0
0
0
0.192171
281
17
69
16.529412
0.810573
0.519573
0
0
0
0
0.297619
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
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
833a92500d224f77aea37284a9aa274e8800b284
770
py
Python
apps/lan/migrations/0012_auto_20190721_0705.py
HON95/studlan
8dc38c64d0060506d865b9c834466fed2f9f9571
[ "MIT" ]
9
2016-03-15T21:03:49.000Z
2020-12-02T19:45:44.000Z
apps/lan/migrations/0012_auto_20190721_0705.py
HON95/studlan
8dc38c64d0060506d865b9c834466fed2f9f9571
[ "MIT" ]
161
2016-02-05T14:11:50.000Z
2020-10-14T10:13:21.000Z
apps/lan/migrations/0012_auto_20190721_0705.py
HON95/studlan
8dc38c64d0060506d865b9c834466fed2f9f9571
[ "MIT" ]
11
2016-07-27T12:20:05.000Z
2021-04-18T05:49:17.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-07-21 07:05 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('lan', '0011_auto_20190401_1937'), ] operations = [ migrations.AddField( ...
29.615385
140
0.624675
97
770
4.773196
0.556701
0.038877
0.051836
0.069114
0.354212
0.354212
0.107991
0
0
0
0
0.069444
0.251948
770
25
141
30.8
0.734375
0.08961
0
0.222222
1
0
0.166189
0.032951
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
833f25cc3cd840e90e939a2ed03220488a169fab
4,104
py
Python
fingerprint_generation/evaluate_fingerprints_db.py
amatanat/thesis
d80bc17d282f9b49c59e777991829f3755b4b9dc
[ "Apache-2.0" ]
null
null
null
fingerprint_generation/evaluate_fingerprints_db.py
amatanat/thesis
d80bc17d282f9b49c59e777991829f3755b4b9dc
[ "Apache-2.0" ]
null
null
null
fingerprint_generation/evaluate_fingerprints_db.py
amatanat/thesis
d80bc17d282f9b49c59e777991829f3755b4b9dc
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import sys import sqlite3 from sqlite3 import Error import json def connect_to_db (db_file): """ create a database connection to the SQLite database specified by the db_file return: Connection object or None """ try: conn = sqlite3.connect(db_file) return co...
30.857143
397
0.734649
641
4,104
4.418097
0.180967
0.033545
0.041314
0.036017
0.430085
0.34428
0.264831
0.236582
0.202684
0.15678
0
0.002942
0.171784
4,104
132
398
31.090909
0.830244
0.037037
0
0.294737
0
0.010526
0.2269
0.032212
0
0
0
0
0
0
null
null
0
0.042105
null
null
0.073684
0
0
0
null
0
0
0
0
0
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
833f9c16b02df8df86056aa4c55fba7f4370eeb2
8,925
py
Python
irctest/server_tests/join.py
mitchr/irctest
730bbe6082e3aacdd0dc8a76e29062783e1b16b0
[ "MIT" ]
null
null
null
irctest/server_tests/join.py
mitchr/irctest
730bbe6082e3aacdd0dc8a76e29062783e1b16b0
[ "MIT" ]
null
null
null
irctest/server_tests/join.py
mitchr/irctest
730bbe6082e3aacdd0dc8a76e29062783e1b16b0
[ "MIT" ]
null
null
null
""" The JOIN command (`RFC 1459 <https://datatracker.ietf.org/doc/html/rfc1459#section-4.2.1>`__, `RFC 2812 <https://datatracker.ietf.org/doc/html/rfc2812#section-3.2.1>`__, `Modern <https://modern.ircdocs.horse/#join-message>`__) """ from irctest import cases, runner from irctest.irc_utils import ambiguities from ir...
37.343096
86
0.534902
914
8,925
5.100656
0.21663
0.05148
0.013728
0.033462
0.710639
0.706135
0.67825
0.65015
0.607036
0.586873
0
0.019071
0.353725
8,925
238
87
37.5
0.789182
0.138936
0
0.696335
0
0
0.180661
0
0
0
0
0.004202
0.120419
1
0.026178
false
0
0.020942
0
0.052356
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
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
8344a6522d84d5fe3bdea580cf698d75162dd1e8
1,798
py
Python
user_intent_prediction/model_cnn_base/ConstructFeature.py
wanlingcai1997/umap_2020_code
1d875523b9944583fab87e581b234af2c92ef2b0
[ "MIT" ]
2
2022-03-04T06:00:17.000Z
2022-03-13T13:28:21.000Z
user_intent_prediction/model_cnn_base/ConstructFeature.py
wanlingcai1997/umap_2020_code
1d875523b9944583fab87e581b234af2c92ef2b0
[ "MIT" ]
null
null
null
user_intent_prediction/model_cnn_base/ConstructFeature.py
wanlingcai1997/umap_2020_code
1d875523b9944583fab87e581b234af2c92ef2b0
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd from Data import Data import copy import sys sys.path.append("..") import feature_extraction import feature_conversational_extraction import helper class ConstructFeature(object): @staticmethod def constructFeature(): # Prepared Extracted Features ...
41.813953
214
0.661846
190
1,798
6
0.331579
0.136842
0.074561
0.052632
0.233333
0.191228
0.124561
0.124561
0.124561
0.124561
0
0.007818
0.217464
1,798
43
215
41.813953
0.802416
0.102892
0
0.16
0
0
0.080201
0
0
0
0
0
0
1
0.04
false
0
0.32
0
0.4
0.12
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8349e334afc3889bf4354baa1c1e31551b7d3251
7,885
py
Python
server.py
zgq354/simple_ftp_exercise
425356ee16899b8b7b29d7c5e95d5cae8f641061
[ "MIT" ]
2
2018-08-25T14:42:23.000Z
2018-08-25T15:08:52.000Z
server.py
zgq354/simple_ftp_exercise
425356ee16899b8b7b29d7c5e95d5cae8f641061
[ "MIT" ]
null
null
null
server.py
zgq354/simple_ftp_exercise
425356ee16899b8b7b29d7c5e95d5cae8f641061
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import socket import threading import os # temporary user list users = [ { 'name': 'admin', 'passwd': 'password', 'path': '/' }, { 'name': 'user2', 'passwd': 'password', 'path': '/home' }, { 'name': 'anonymous', 'passwd': 'anon@localhost', 'path': '/' ...
25.435484
85
0.557261
1,057
7,885
4.078524
0.216651
0.040362
0.025516
0.031315
0.382742
0.306889
0.258177
0.254233
0.228717
0.228717
0
0.023424
0.279899
7,885
309
86
25.517799
0.735822
0.036398
0
0.321705
0
0
0.122886
0
0
0
0
0
0
1
0.065891
false
0.050388
0.011628
0.007752
0.108527
0.042636
0
0
0
null
0
0
0
0
0
0
0
0
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
834a31f36c1227f36e9e1b1427eabbd002c08a33
608
py
Python
tests/base.py
uppsaladatavetare/pynarlivs
1726025822b5c7086e899e775f1d291af0e17a41
[ "MIT" ]
1
2018-11-16T14:08:20.000Z
2018-11-16T14:08:20.000Z
tests/base.py
uppsaladatavetare/pynarlivs
1726025822b5c7086e899e775f1d291af0e17a41
[ "MIT" ]
3
2017-02-25T18:25:39.000Z
2021-12-13T19:35:10.000Z
tests/base.py
uppsaladatavetare/pynarlivs
1726025822b5c7086e899e775f1d291af0e17a41
[ "MIT" ]
null
null
null
import os from vcr_unittest import VCRTestCase from narlivs import Narlivs class NarlivsTestCase(VCRTestCase): def setUp(self): super().setUp() username = os.getenv('NARLIVS_USERNAME') password = os.getenv('NARLIVS_PASSWORD') self.narlivs = Narlivs(username, password) def _get...
28.952381
54
0.651316
65
608
5.8
0.430769
0.095491
0.079576
0
0
0
0
0
0
0
0
0
0.245066
608
20
55
30.4
0.821351
0
0
0
0
0
0.184211
0.044408
0
0
0
0
0
1
0.117647
false
0.176471
0.176471
0
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
0
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
835060fa014b98c4245af793bdae89af72a7dd36
1,270
py
Python
scripts/gcforest/utils/log_utils.py
oAzv/GCFM
5dc584f0722b90b99614616c9b210d9e086f8ff3
[ "MIT" ]
null
null
null
scripts/gcforest/utils/log_utils.py
oAzv/GCFM
5dc584f0722b90b99614616c9b210d9e086f8ff3
[ "MIT" ]
null
null
null
scripts/gcforest/utils/log_utils.py
oAzv/GCFM
5dc584f0722b90b99614616c9b210d9e086f8ff3
[ "MIT" ]
1
2021-04-19T02:55:02.000Z
2021-04-19T02:55:02.000Z
# -*- coding:utf-8 -*- import os import os.path as osp import time def strftime(t = None): return time.strftime("%Y%m%d-%H%M%S", time.localtime(t or time.time())) ################# # Logging ################# import logging logging.basicConfig(format="[ %(asctime)s][%(module)s.%(funcName)s] %(message)s") DEFAU...
26.458333
93
0.688189
176
1,270
4.772727
0.3125
0.166667
0.202381
0.085714
0.213095
0.213095
0.07619
0.07619
0
0
0
0.000944
0.166142
1,270
47
94
27.021277
0.792257
0.022047
0
0.117647
0
0
0.115353
0.061411
0
0
0
0
0
1
0.147059
false
0
0.117647
0.029412
0.382353
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
8353692840dca743adfbdaca31a2267c124e47bb
591
py
Python
scoring_engine/checks/smb.py
ION28/scoringengine
015f301995a626bb8c5d1850d0bdcb66494a3fd8
[ "MIT" ]
null
null
null
scoring_engine/checks/smb.py
ION28/scoringengine
015f301995a626bb8c5d1850d0bdcb66494a3fd8
[ "MIT" ]
null
null
null
scoring_engine/checks/smb.py
ION28/scoringengine
015f301995a626bb8c5d1850d0bdcb66494a3fd8
[ "MIT" ]
null
null
null
from scoring_engine.engine.basic_check import BasicCheck, CHECKS_BIN_PATH class SMBCheck(BasicCheck): required_properties = ['share', 'file', 'hash'] CMD = CHECKS_BIN_PATH + '/smb_check --host {0} --port {1} --user {2} --pass {3} --share {4} --file {5} --hash {6}' def command_format(self, properties): ...
31.105263
118
0.573604
64
591
5.125
0.625
0.054878
0.079268
0
0
0
0
0
0
0
0
0.016627
0.287648
591
18
119
32.833333
0.76247
0
0
0
0
0.066667
0.192893
0
0
0
0
0
0
1
0.066667
false
0.133333
0.066667
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
1
0
0
0
0
0
1
835b168a5fd0e2a93e4054726f463a3f688b3f5c
4,570
py
Python
sandbox/discard-pre-high-abund.py
ctSkennerton/khmer
f5428c5bdfe009ce39b125fa6e18077c534dc747
[ "BSD-3-Clause" ]
null
null
null
sandbox/discard-pre-high-abund.py
ctSkennerton/khmer
f5428c5bdfe009ce39b125fa6e18077c534dc747
[ "BSD-3-Clause" ]
null
null
null
sandbox/discard-pre-high-abund.py
ctSkennerton/khmer
f5428c5bdfe009ce39b125fa6e18077c534dc747
[ "BSD-3-Clause" ]
null
null
null
#! /usr/bin/env python # # This file is part of khmer, http://github.com/ged-lab/khmer/, and is # Copyright (C) Michigan State University, 2009-2013. It is licensed under # the three-clause BSD license; see doc/LICENSE.txt. # Contact: khmer-project@idyll.org # """ Eliminate reads with median k-mer abundance higher than...
32.183099
79
0.581619
566
4,570
4.528269
0.335689
0.04721
0.053063
0.019899
0.105345
0.065548
0.042918
0.042918
0.042918
0.042918
0
0.01447
0.289278
4,570
141
80
32.411348
0.774631
0.063895
0
0.041667
0
0
0.172131
0
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.15625
0
0
0
null
0
0
0
0
0
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
8362cbf6b07e5cef122aea66c67865f9c7e2a2ae
943
py
Python
lemmatizer/es.py
fcoclavero/textpreprocess
09f646b74cd36f020c2a45fcca5bca520929cfef
[ "MIT" ]
null
null
null
lemmatizer/es.py
fcoclavero/textpreprocess
09f646b74cd36f020c2a45fcca5bca520929cfef
[ "MIT" ]
7
2019-06-28T07:37:06.000Z
2022-02-09T20:08:54.000Z
lemmatizer/es.py
fcoclavero/textpreprocess
09f646b74cd36f020c2a45fcca5bca520929cfef
[ "MIT" ]
1
2019-05-31T03:06:13.000Z
2019-05-31T03:06:13.000Z
__author__ = ["Francisco Clavero"] __email__ = ["fcoclavero32@gmail.com"] __status__ = "Prototype" import json from nltk import word_tokenize from ..settings import ES # Load spanish lemmas dictionary lemmas = json.load(open(ES['LEMMAS_PATH'], 'r', encoding='latin-1')) def lemma(word): """ Transforms a ...
24.815789
95
0.692471
130
943
4.907692
0.5
0.043887
0.081505
0.059561
0
0
0
0
0
0
0
0.004038
0.212089
943
37
96
25.486486
0.854643
0.480382
0
0
0
0
0.160757
0.052009
0
0
0
0
0
1
0.181818
false
0
0.272727
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
55c11a8735f52e502e2fb915bb72981df59bd2b1
420
py
Python
05_NER_hidden_markov_model/HMM_model/utils.py
loveagri/a_journey_into_math_of_ml
e081b67d51a8dc74daa55bb0de35de86acdaa536
[ "MIT" ]
1,590
2019-06-02T05:56:09.000Z
2022-03-31T16:32:26.000Z
05_NER_hidden_markov_model/HMM_model/utils.py
loveagri/a_journey_into_math_of_ml
e081b67d51a8dc74daa55bb0de35de86acdaa536
[ "MIT" ]
20
2019-07-24T03:52:33.000Z
2021-11-03T03:14:25.000Z
05_NER_hidden_markov_model/HMM_model/utils.py
loveagri/a_journey_into_math_of_ml
e081b67d51a8dc74daa55bb0de35de86acdaa536
[ "MIT" ]
690
2019-06-20T11:23:52.000Z
2022-03-29T07:45:16.000Z
import json def load_dict(path): """ 加载字典 :param path: :return: """ with open(path, "r", encoding="utf-8") as f: return json.load(f) def load_data(path): """ 读取txt文件, 加载训练数据 :param path: :return: [{'text': ['当', '希', '望', ...], 'label': ... }, {...}, ... ] ...
20
48
0.47381
54
420
3.648148
0.555556
0.071066
0.152284
0.13198
0.345178
0.345178
0.345178
0.345178
0.345178
0.345178
0
0.006757
0.295238
420
21
49
20
0.658784
0.3
0
0.285714
0
0
0.05
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
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
55c1c8d471a9c8dd584e50da158f0e7b9c613be5
1,849
py
Python
geotrek/api/v2/views/signage.py
IdrissaD/Geotrek-admin
c5aba155d5665fdccdde0620a1024e02ebe71a7c
[ "BSD-2-Clause" ]
null
null
null
geotrek/api/v2/views/signage.py
IdrissaD/Geotrek-admin
c5aba155d5665fdccdde0620a1024e02ebe71a7c
[ "BSD-2-Clause" ]
null
null
null
geotrek/api/v2/views/signage.py
IdrissaD/Geotrek-admin
c5aba155d5665fdccdde0620a1024e02ebe71a7c
[ "BSD-2-Clause" ]
null
null
null
from django.conf import settings from django.db.models import F from geotrek.api.v2 import serializers as api_serializers, \ viewsets as api_viewsets, filters as api_filters from geotrek.signage import models as signage_models from geotrek.api.v2.functions import Transform class SignageViewSet(api_viewsets.Geotre...
43
148
0.799351
201
1,849
7.094527
0.323383
0.069425
0.075736
0.12202
0.358345
0.345021
0.151473
0
0
0
0
0.002436
0.111952
1,849
42
149
44.02381
0.866017
0
0
0
0
0
0.037858
0.013521
0
0
0
0
0
1
0
false
0
0.166667
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
55cc3d2e0464e94cb5143e3388d7c20d7fdcd83a
9,776
py
Python
brownies/LANL/dismemberACE/dismemberACE_c.py
brown170/fudge
4f818b0e0b0de52bc127dd77285b20ce3568c97a
[ "BSD-3-Clause" ]
14
2019-08-29T23:46:24.000Z
2022-03-21T10:16:25.000Z
brownies/LANL/dismemberACE/dismemberACE_c.py
brown170/fudge
4f818b0e0b0de52bc127dd77285b20ce3568c97a
[ "BSD-3-Clause" ]
1
2020-08-04T16:14:45.000Z
2021-12-01T01:54:34.000Z
brownies/LANL/dismemberACE/dismemberACE_c.py
brown170/fudge
4f818b0e0b0de52bc127dd77285b20ce3568c97a
[ "BSD-3-Clause" ]
2
2022-03-03T22:41:41.000Z
2022-03-03T22:54:43.000Z
# <<BEGIN-copyright>> # Copyright 2021, Lawrence Livermore National Security, LLC. # See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: BSD-3-Clause # <<END-copyright>> from brownies.LANL.dismemberACE import dismemberACE_misc as dismemberACE_miscModule def dismemberACE( args, NXS, JXS, XSS ) ...
54.311111
191
0.616101
1,046
9,776
5.688337
0.214149
0.240336
0.131597
0.103529
0.29563
0.191933
0.091092
0.084706
0
0
0
0.027704
0.265241
9,776
179
192
54.614525
0.80064
0.0893
0
0.044444
0
0.007407
0.135918
0.037755
0
0
0
0
0
1
0.007407
false
0
0.007407
0
0.014815
0.037037
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
55cefb59812a57d8976617997af09640a00fefb9
2,263
py
Python
assets/monitor.py
mosscylium/forestfloor
6e2f1a4378178a6a880789545c7d4fddef381106
[ "Apache-2.0" ]
null
null
null
assets/monitor.py
mosscylium/forestfloor
6e2f1a4378178a6a880789545c7d4fddef381106
[ "Apache-2.0" ]
null
null
null
assets/monitor.py
mosscylium/forestfloor
6e2f1a4378178a6a880789545c7d4fddef381106
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import sqlite3 import os import time import glob # global variables speriod=(15*60)-1 dbname='/var/www/templog.db' # store the temperature in the database def log_temperature(temp): conn=sqlite3.connect(dbname) curs=conn.cursor() curs.execute("INSERT INTO temps values(datetime(...
20.205357
75
0.632788
292
2,263
4.849315
0.452055
0.049435
0.026836
0.029661
0.173729
0.142655
0.053672
0
0
0
0
0.021008
0.263809
2,263
111
76
20.387387
0.828932
0.301812
0
0.307692
0
0
0.138264
0.029582
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.115385
0
0
0
null
0
0
0
0
0
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