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
1d8ed691bc1e2cfc66de444bb1d05af62280c187
1,787
py
Python
src/models/operations/densenet.py
takedarts/skipresnet
d6f1e16042f8433a287355009e17e4e5768ad319
[ "MIT" ]
3
2022-02-03T13:25:12.000Z
2022-02-04T16:12:23.000Z
src/models/operations/densenet.py
takedarts/skipresnet
d6f1e16042f8433a287355009e17e4e5768ad319
[ "MIT" ]
null
null
null
src/models/operations/densenet.py
takedarts/skipresnet
d6f1e16042f8433a287355009e17e4e5768ad319
[ "MIT" ]
1
2022-02-04T12:28:02.000Z
2022-02-04T12:28:02.000Z
import collections from typing import Callable import torch.nn as nn from ..modules import DropBlock class DenseNetOperation(nn.Sequential): ''' Operation class for DenseNets. ''' def __init__( self, in_channels: int, out_channels: int, stride: int, growth: i...
35.039216
73
0.521544
181
1,787
5.022099
0.348066
0.055006
0.069307
0.068207
0.459846
0.433443
0.365237
0.365237
0.365237
0.259626
0
0.025087
0.353106
1,787
50
74
35.74
0.761246
0.016788
0
0.285714
0
0
0.03274
0
0
0
0
0
0
1
0.02381
false
0
0.095238
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d92af4b43cb3e937840bf4564f0bebb96606407
1,664
py
Python
src/de_direct/ipfs_utils.py
tubleronchik/drone_passport_agent
e85bbc8b4777b2c93c3564c22336cb13bb93bf5f
[ "BSD-3-Clause" ]
null
null
null
src/de_direct/ipfs_utils.py
tubleronchik/drone_passport_agent
e85bbc8b4777b2c93c3564c22336cb13bb93bf5f
[ "BSD-3-Clause" ]
null
null
null
src/de_direct/ipfs_utils.py
tubleronchik/drone_passport_agent
e85bbc8b4777b2c93c3564c22336cb13bb93bf5f
[ "BSD-3-Clause" ]
null
null
null
import os import rospy from shutil import move from tempfile import gettempdir, NamedTemporaryFile from ipfshttpclient import connect from rosbag import Bag def ipfs_download_txt_file(ipfs_hash: str) -> str: temp_log = NamedTemporaryFile(delete=False) ipfs_download_file(connect(), ipfs_hash, temp_log.name) ...
30.254545
120
0.672476
221
1,664
4.923077
0.384615
0.038603
0.04136
0.042279
0.110294
0.053309
0
0
0
0
0
0
0.23738
1,664
54
121
30.814815
0.857368
0
0
0.227273
0
0
0.135298
0
0
0
0
0
0
1
0.068182
false
0
0.136364
0
0.318182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d934a395a0830ed466a1f51cf7e9b44cbf3358d
240
py
Python
7_adapter&facade/adapter/turkey_adapter.py
hypersport/Head-First-Design-Patterns-Python
0c8b831ae89ebbbef8b203b96508deb7e3063590
[ "MIT" ]
null
null
null
7_adapter&facade/adapter/turkey_adapter.py
hypersport/Head-First-Design-Patterns-Python
0c8b831ae89ebbbef8b203b96508deb7e3063590
[ "MIT" ]
null
null
null
7_adapter&facade/adapter/turkey_adapter.py
hypersport/Head-First-Design-Patterns-Python
0c8b831ae89ebbbef8b203b96508deb7e3063590
[ "MIT" ]
null
null
null
from duck import Duck class TurkeyAdapter(Duck): def __init__(self, turkey): self.turkey = turkey def quack(self): self.turkey.gobble() def fly(self): for _ in range(5): self.turkey.fly()
17.142857
31
0.583333
30
240
4.5
0.533333
0.296296
0
0
0
0
0
0
0
0
0
0.006024
0.308333
240
13
32
18.461538
0.807229
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0
0.555556
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
1
0
0
0
0
1
0
0
3
1d9360fea8ca609279982587a765a834decd39e6
475
py
Python
test_jsonldification.py
khelm/nidm
f182aedfc025a3e29afc9579dc2a4199a3d789a6
[ "Apache-2.0" ]
14
2018-02-19T07:45:48.000Z
2021-06-18T12:31:08.000Z
test_jsonldification.py
khelm/nidm
f182aedfc025a3e29afc9579dc2a4199a3d789a6
[ "Apache-2.0" ]
39
2018-02-05T15:19:37.000Z
2022-03-24T15:52:40.000Z
test_jsonldification.py
khelm/nidm
f182aedfc025a3e29afc9579dc2a4199a3d789a6
[ "Apache-2.0" ]
7
2019-06-06T11:45:26.000Z
2021-09-03T13:42:02.000Z
import rdflib as rl import pyld as ld import json g = rl.ConjunctiveGraph() g.parse(('https://raw.githubusercontent.com/incf-nidash/nidm-specs/master/nidm/nidm-results' '/spm/example001/example001_spm_results.ttl'), format='turtle') g2 = g.serialize(format='json-ld') context = { "@context": "https://...
36.538462
106
0.730526
68
475
5.073529
0.544118
0.046377
0.144928
0.162319
0
0
0
0
0
0
0
0.021127
0.103158
475
13
107
36.538462
0.788732
0
0
0
0
0.181818
0.466387
0.088235
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
0.090909
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
1d940c228fcfb56c1a9c74a6eb7e2d65108a4597
207
py
Python
__tests__/utils/time.py
celestinosalim/dialog-engine
17c7d6e06df05aa24cfb611e91ef4790ffc80cb6
[ "MIT" ]
4
2020-04-17T15:50:33.000Z
2020-04-17T16:49:00.000Z
__tests__/utils/time.py
celestinosalim/dialog-engine
17c7d6e06df05aa24cfb611e91ef4790ffc80cb6
[ "MIT" ]
6
2020-06-18T16:17:27.000Z
2020-08-24T13:21:56.000Z
__tests__/utils/time.py
esl-works/dialog-engine
f29ab486a6f193edce5bbcd2bf3b86b8ad9ceaa9
[ "MIT" ]
3
2020-04-17T16:11:35.000Z
2020-05-21T11:38:05.000Z
import datetime def get_timestamp_min_in_past(min_ago: int) -> datetime.datetime: dt = datetime.datetime.now() - datetime.timedelta(minutes=min_ago) return dt.replace(tzinfo=datetime.timezone.utc)
29.571429
70
0.772947
29
207
5.310345
0.655172
0.077922
0
0
0
0
0
0
0
0
0
0
0.115942
207
6
71
34.5
0.84153
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
1d9436580093cf984b1f304dba129117ecc40d0b
13,571
py
Python
src/competitions.py
Matin-Ardestani/Type-online-app
1803ab005d0cc8d38c51f334f987db712de732a2
[ "MIT" ]
13
2021-11-03T18:41:31.000Z
2022-03-29T05:21:29.000Z
src/competitions.py
Matin-Ardestani/Typing-online-app
1803ab005d0cc8d38c51f334f987db712de732a2
[ "MIT" ]
1
2021-11-10T17:44:47.000Z
2021-11-10T17:52:50.000Z
src/competitions.py
Matin-Ardestani/Typing-online-app
1803ab005d0cc8d38c51f334f987db712de732a2
[ "MIT" ]
1
2021-11-12T16:10:05.000Z
2021-11-12T16:10:05.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'competition.ui' # # Created by: PyQt5 UI code generator 5.15.4 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, ...
49.710623
109
0.681822
1,539
13,571
5.88629
0.138402
0.053869
0.060713
0.039739
0.469036
0.37609
0.249365
0.224087
0.185451
0.145601
0
0.040671
0.191953
13,571
272
110
49.893382
0.785428
0.020337
0
0.262745
1
0
0.111094
0.003538
0
0
0
0
0
1
0.007843
false
0
0.007843
0
0.019608
0
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
1d94415ab82731c0dda5e02646e86a001b75c57f
5,200
py
Python
AutoBookTKB/AutoBookTKB.py
heyfey/AutoBookseatTKB
9d0b27a3227e7ca5975a6b1fd3749f5b2ed6aa75
[ "MIT" ]
2
2019-07-09T08:32:35.000Z
2019-09-30T19:02:35.000Z
AutoBookTKB/AutoBookTKB.py
heyfey/AutoBookTKB
9d0b27a3227e7ca5975a6b1fd3749f5b2ed6aa75
[ "MIT" ]
1
2018-08-22T03:52:13.000Z
2018-08-22T03:52:13.000Z
AutoBookTKB/AutoBookTKB.py
heyfey/AutoBookTKB
9d0b27a3227e7ca5975a6b1fd3749f5b2ed6aa75
[ "MIT" ]
null
null
null
# !/usr/bin/python # -*-coding:utf-8 -*- from selenium import webdriver from selenium.webdriver.support.ui import Select from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC class AutoBookTKB: def __in...
32.704403
94
0.600962
614
5,200
4.907166
0.28013
0.059741
0.051112
0.069698
0.345171
0.338201
0.273813
0.166611
0.100232
0.100232
0
0.005029
0.273462
5,200
158
95
32.911392
0.792483
0.032692
0
0.214876
0
0
0.115323
0.010575
0
0
0
0
0
1
0.107438
false
0.008264
0.066116
0
0.190083
0.041322
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d948a5ce7cab52797ed2b3841127205cc07364e
3,019
py
Python
mripy/tests/test_afni.py
herrlich10/mripy
df9a8e57a21163579af49c59a9dcd2da279cb9fa
[ "MIT" ]
3
2020-08-05T10:18:59.000Z
2022-01-19T08:28:16.000Z
mripy/tests/test_afni.py
herrlich10/mripy
df9a8e57a21163579af49c59a9dcd2da279cb9fa
[ "MIT" ]
null
null
null
mripy/tests/test_afni.py
herrlich10/mripy
df9a8e57a21163579af49c59a9dcd2da279cb9fa
[ "MIT" ]
4
2020-08-19T05:06:16.000Z
2021-02-03T09:53:33.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function, division, absolute_import, unicode_literals import unittest import numpy as np from mripy import afni, math class test_afni(unittest.TestCase): def test_get_prefix(self): # 3d dset self.assertEqual(afni.get_prefix...
59.196078
138
0.655846
464
3,019
4.131466
0.260776
0.140845
0.14867
0.114763
0.558164
0.486698
0.424622
0.351591
0.222222
0.197183
0
0.044961
0.145412
3,019
50
139
60.38
0.698062
0.073534
0
0
0
0
0.189451
0.040904
0
0
0
0
0.6
1
0.1
false
0
0.1
0
0.225
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
1
0
0
0
0
0
0
0
0
0
1
1d957ac7f202a3c53e2756d95e0827c954759d24
1,245
py
Python
scale/storage/migrations/0016_populate_data_type_tags.py
kaydoh/scale
1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee
[ "Apache-2.0" ]
121
2015-11-18T18:15:33.000Z
2022-03-10T01:55:00.000Z
scale/storage/migrations/0016_populate_data_type_tags.py
kaydoh/scale
1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee
[ "Apache-2.0" ]
1,415
2015-12-23T23:36:04.000Z
2022-01-07T14:10:09.000Z
scale/storage/migrations/0016_populate_data_type_tags.py
kaydoh/scale
1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee
[ "Apache-2.0" ]
66
2015-12-03T20:38:56.000Z
2020-07-27T15:28:11.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import connection, migrations def populate_data_type_tags(apps, schema_editor): # Go through all of the ScaleFile models and convert the data_type string into an array of tags update = 'UPDATE scale_file SET data_type_tags = string...
32.763158
110
0.683534
152
1,245
5.355263
0.486842
0.078624
0.07371
0.04914
0.07371
0
0
0
0
0
0
0.005097
0.212048
1,245
37
111
33.648649
0.824669
0.127711
0
0
0
0
0.224584
0.051756
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.291667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d962125141716820a534fa0d7a319931e5f5fd8
30,750
py
Python
analyze_epitope_privacy.py
shanavas33/tcr-dist
f9304fa9b7ba05f9f776aa3f60822e2e08023151
[ "MIT" ]
1
2018-10-26T10:59:46.000Z
2018-10-26T10:59:46.000Z
analyze_epitope_privacy.py
joshuabhk/tcr-dist
5ea156bae9216cf1205a7e54a45aa6ffbccac7c9
[ "MIT" ]
null
null
null
analyze_epitope_privacy.py
joshuabhk/tcr-dist
5ea156bae9216cf1205a7e54a45aa6ffbccac7c9
[ "MIT" ]
null
null
null
import sys from basic import * import tcr_distances import parse_tsv import numpy as np from scipy.cluster import hierarchy from scipy.spatial import distance import util import html_colors from all_genes import all_genes with Parser(locals()) as p: #p.str('args').unspecified_default().multiple().required() p...
44.759825
537
0.570179
4,096
30,750
4.116943
0.144287
0.008777
0.012809
0.005812
0.325031
0.270948
0.223033
0.192492
0.17067
0.139892
0
0.021256
0.325301
30,750
686
538
44.825073
0.791536
0.070341
0
0.207843
0
0.058824
0.20475
0.005919
0
0
0
0.001458
0.021569
0
null
null
0
0.023529
null
null
0.023529
0
0
0
null
0
0
0
0
0
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
1d96409b70dfd29939216befd660664abf857a96
135
py
Python
src/fintrist_ds/__init__.py
tristanbrown/fintrist
38875e4f2c3ab4db31195c798c4262a2f51e4a22
[ "MIT" ]
null
null
null
src/fintrist_ds/__init__.py
tristanbrown/fintrist
38875e4f2c3ab4db31195c798c4262a2f51e4a22
[ "MIT" ]
null
null
null
src/fintrist_ds/__init__.py
tristanbrown/fintrist
38875e4f2c3ab4db31195c798c4262a2f51e4a22
[ "MIT" ]
1
2022-01-21T21:10:38.000Z
2022-01-21T21:10:38.000Z
""" Import all of the processing functions. """ from .engine import * from .manage import * from .services import * from .viz import *
16.875
39
0.711111
18
135
5.333333
0.611111
0.3125
0
0
0
0
0
0
0
0
0
0
0.177778
135
7
40
19.285714
0.864865
0.288889
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
1d96e779fc8d314da75088210a5bba32a3719d6f
43
py
Python
tests/tasks/secrets/__init__.py
concreted/prefect
dd732f5990ee2b0f3d816adb285168fd63b239e4
[ "Apache-2.0" ]
8,633
2019-03-23T17:51:03.000Z
2022-03-31T22:17:42.000Z
tests/tasks/secrets/__init__.py
concreted/prefect
dd732f5990ee2b0f3d816adb285168fd63b239e4
[ "Apache-2.0" ]
3,903
2019-03-23T19:11:21.000Z
2022-03-31T23:21:23.000Z
tests/tasks/secrets/__init__.py
concreted/prefect
dd732f5990ee2b0f3d816adb285168fd63b239e4
[ "Apache-2.0" ]
937
2019-03-23T18:49:44.000Z
2022-03-31T21:45:13.000Z
import pytest pytest.importorskip("hvac")
10.75
27
0.790698
5
43
6.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.093023
43
3
28
14.333333
0.871795
0
0
0
0
0
0.093023
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
1d9b1fa7fc8c23b3d41158678831aba2fa1fcc52
1,436
py
Python
cybereason_consts.py
splunk-soar-connectors/cybereason
f53892478b9bd75415d0b3eb984d5818bce9185c
[ "Apache-2.0" ]
null
null
null
cybereason_consts.py
splunk-soar-connectors/cybereason
f53892478b9bd75415d0b3eb984d5818bce9185c
[ "Apache-2.0" ]
2
2021-11-09T20:46:34.000Z
2021-11-25T01:20:52.000Z
cybereason_consts.py
splunk-soar-connectors/cybereason
f53892478b9bd75415d0b3eb984d5818bce9185c
[ "Apache-2.0" ]
1
2021-11-12T09:55:02.000Z
2021-11-12T09:55:02.000Z
# File: cybereason_consts.py # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
42.235294
112
0.770891
197
1,436
5.441624
0.568528
0.05597
0.024254
0.029851
0.136194
0.059701
0.059701
0
0
0
0
0.003265
0.146936
1,436
33
113
43.515152
0.871837
0.451253
0
0
0
0
0.560155
0.056921
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d9bc600cb86c39242efe33e2263b3b50c5a51bf
230
py
Python
apps/tg_bot/urls.py
VladimirLazor/Lohika
a36407feeb2e3ade4f8c689030f343d88ff47a92
[ "Apache-2.0" ]
null
null
null
apps/tg_bot/urls.py
VladimirLazor/Lohika
a36407feeb2e3ade4f8c689030f343d88ff47a92
[ "Apache-2.0" ]
9
2021-03-19T15:59:10.000Z
2022-03-12T00:57:56.000Z
apps/tg_bot/urls.py
VladimirLazor/Lohika
a36407feeb2e3ade4f8c689030f343d88ff47a92
[ "Apache-2.0" ]
null
null
null
from django.urls import path from django.views.decorators.csrf import csrf_exempt from config.settings import TG_WEB_HOOK_URL from .views import tg_web_hook urlpatterns = [ path(TG_WEB_HOOK_URL, csrf_exempt(tg_web_hook)), ]
23
52
0.813043
38
230
4.605263
0.421053
0.114286
0.205714
0.171429
0
0
0
0
0
0
0
0
0.121739
230
9
53
25.555556
0.866337
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
1d9c32db10f13bc5f70c8f9104956589288f639d
4,242
py
Python
creme/compose/union.py
IFV/creme
a7393b534489422ba156f2d2e83fb777afbd2efb
[ "BSD-3-Clause" ]
null
null
null
creme/compose/union.py
IFV/creme
a7393b534489422ba156f2d2e83fb777afbd2efb
[ "BSD-3-Clause" ]
1
2022-02-10T06:24:42.000Z
2022-02-10T06:24:42.000Z
creme/compose/union.py
igorol/creme
60977c4accfdca08cfd76a162095ff738ef87281
[ "BSD-3-Clause" ]
1
2021-04-16T08:27:14.000Z
2021-04-16T08:27:14.000Z
import collections import types try: import graphviz GRAPHVIZ_INSTALLED = True except ImportError: GRAPHVIZ_INSTALLED = False from .. import base from . import func __all__ = ['TransformerUnion'] class TransformerUnion(collections.UserDict, base.Transformer): """Packs multiple transformers into a...
30.517986
86
0.558934
463
4,242
4.930886
0.308855
0.049058
0.042926
0.058257
0.20806
0.196233
0.169952
0.169952
0.169952
0.136662
0
0.013831
0.318246
4,242
138
87
30.73913
0.775588
0.495521
0
0.036364
0
0
0.036923
0
0
0
0
0
0
1
0.163636
false
0
0.127273
0.054545
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d9d5c2fd8fb2fa4769b60940901fb851de328f1
30,740
py
Python
app.py
mattmallencode/republic
ce7c634fab048e2734f999d56edcf444b71d28ff
[ "CC-BY-4.0" ]
null
null
null
app.py
mattmallencode/republic
ce7c634fab048e2734f999d56edcf444b71d28ff
[ "CC-BY-4.0" ]
null
null
null
app.py
mattmallencode/republic
ce7c634fab048e2734f999d56edcf444b71d28ff
[ "CC-BY-4.0" ]
null
null
null
""" Attribution: 1. Fire SVG made by made by Deepak K Vijayan (2xsamurai). Available from: https://codepen.io/2xsamurai/pen/EKpYM". Logo animation and form animation were made by me. 2. "round_up" function wirtten by Priyankur Sarkar. AVailable from: https://www.knowledgehut.com/blog/programming/py...
54.310954
252
0.640468
4,109
30,740
4.710392
0.157703
0.02201
0.027125
0.01209
0.422371
0.388478
0.329889
0.306691
0.288091
0.241901
0
0.00857
0.252212
30,740
565
253
54.40708
0.833428
0.378855
0
0.523035
0
0
0.139028
0.009336
0
0
0
0
0
1
0.04607
false
0.04065
0.01626
0
0.135501
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d9d86c211fc1d58055ad9b788bab3c0e20dbabd
1,398
py
Python
test/test_earthdata.py
matthewhanson/modis-ingestor
c8b903b8ce671a93a40f563103a9ca5264658815
[ "MIT" ]
13
2017-01-31T16:37:56.000Z
2020-06-23T19:55:55.000Z
test/test_earthdata.py
matthewhanson/modis-ingestor
c8b903b8ce671a93a40f563103a9ca5264658815
[ "MIT" ]
22
2017-01-12T19:42:32.000Z
2021-05-20T16:03:08.000Z
test/test_earthdata.py
matthewhanson/modis-ingestor
c8b903b8ce671a93a40f563103a9ca5264658815
[ "MIT" ]
2
2018-03-29T23:41:59.000Z
2019-11-09T00:33:38.000Z
import os from dateutil.parser import parse import unittest from modispds.earthdata import query, download_granule class TestCMR(unittest.TestCase): """ Test query and downloading from CMR """ date1 = parse('2016-01-01').date() date2 = parse('2016-01-02').date() date3 = parse('2016-01-30').date() ...
31.066667
125
0.610873
192
1,398
4.369792
0.401042
0.053635
0.039333
0.053635
0.077473
0.054827
0
0
0
0
0
0.09375
0.244635
1,398
44
126
31.772727
0.700758
0.111588
0
0
0
0.033333
0.130399
0
0
0
0
0
0.2
1
0.166667
false
0
0.133333
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d9ed538d4bd36bf0a9f2ecf1ac6d7673e34504f
1,787
py
Python
apps/tests/SerialRecvTest/pingpong-serial.py
zxpower/MansOS
1130f54357649eb25020951951d9a5963e755c66
[ "MIT" ]
10
2015-10-14T12:35:50.000Z
2022-02-20T12:24:36.000Z
apps/tests/SerialRecvTest/pingpong-serial.py
zxpower/MansOS
1130f54357649eb25020951951d9a5963e755c66
[ "MIT" ]
13
2015-11-24T03:25:08.000Z
2017-02-08T09:15:45.000Z
apps/tests/SerialRecvTest/pingpong-serial.py
zxpower/MansOS
1130f54357649eb25020951951d9a5963e755c66
[ "MIT" ]
7
2015-10-15T07:53:52.000Z
2020-12-15T00:15:49.000Z
#!/usr/bin/python # use serial python lib included in MansOS import sys sys.path.append('../../../mos/make/scripts') import serial import threading import random import time baudRate = 38400 try: ser = serial.Serial( port='/dev/ttyUSB0', baudrate=baudRate, parity=serial.PARITY_NONE, ...
20.77907
86
0.579183
215
1,787
4.762791
0.502326
0.027344
0.041016
0.033203
0
0
0
0
0
0
0
0.012116
0.307219
1,787
85
87
21.023529
0.815024
0.044208
0
0.237288
0
0
0.193075
0.014671
0
0
0
0
0
0
null
null
0
0.084746
null
null
0.152542
0
0
0
null
0
0
0
0
0
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
1d9ef948608abb5888f2c512e8ac676a5c5b356c
137
py
Python
scripts-for-manuscript/figure4/src/h5-mean.py
Clinical-Genomics/d4-format
b36b441f652b1caa3d8ce49b880a0dc853547de3
[ "MIT" ]
116
2020-05-14T19:16:47.000Z
2022-03-19T21:50:19.000Z
scripts-for-manuscript/figure4/src/h5-mean.py
Clinical-Genomics/d4-format
b36b441f652b1caa3d8ce49b880a0dc853547de3
[ "MIT" ]
40
2020-08-27T17:27:31.000Z
2022-03-19T08:41:06.000Z
scripts-for-manuscript/figure4/src/h5-mean.py
Clinical-Genomics/d4-format
b36b441f652b1caa3d8ce49b880a0dc853547de3
[ "MIT" ]
11
2020-09-18T13:03:42.000Z
2022-02-18T17:27:48.000Z
import h5py import sys file = h5py.File(sys.argv[1], "r") for chr in file.keys(): data = file[chr][:] print(chr, data.mean())
13.7
34
0.605839
23
137
3.608696
0.608696
0
0
0
0
0
0
0
0
0
0
0.027523
0.20438
137
9
35
15.222222
0.733945
0
0
0
0
0
0.007353
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1d9f22247e6067874f38821b8ef5cf39fb2b0283
1,205
py
Python
setup.py
stanislavlevin/k5test
9f4e490d93c92e1b92d23ff82fb605c297515e3f
[ "0BSD" ]
null
null
null
setup.py
stanislavlevin/k5test
9f4e490d93c92e1b92d23ff82fb605c297515e3f
[ "0BSD" ]
null
null
null
setup.py
stanislavlevin/k5test
9f4e490d93c92e1b92d23ff82fb605c297515e3f
[ "0BSD" ]
null
null
null
#!/usr/bin/env python from setuptools import setup setup( name='k5test', version='0.10.0', author='The Python GSSAPI Team', author_email='sross@redhat.com', packages=['k5test'], description='A library for testing Python applications in ' 'self-contained Kerberos 5 environments'...
32.567568
70
0.60083
122
1,205
5.885246
0.622951
0.185237
0.243733
0.181059
0
0
0
0
0
0
0
0.022026
0.246473
1,205
36
71
33.472222
0.768722
0.016598
0
0
0
0
0.565034
0
0
0
0
0
0
1
0
true
0
0.030303
0
0.030303
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
1da049a2d7118c28d4f3ac2b476676bdb4c8aff1
2,677
py
Python
src/__init__.py
erramuzpe/ruber
cf510a4cf9b0b15d870b6506a1593c3b2b00a3b7
[ "MIT" ]
2
2018-11-07T07:54:34.000Z
2022-01-13T13:06:06.000Z
src/__init__.py
erramuzpe/ruber
cf510a4cf9b0b15d870b6506a1593c3b2b00a3b7
[ "MIT" ]
null
null
null
src/__init__.py
erramuzpe/ruber
cf510a4cf9b0b15d870b6506a1593c3b2b00a3b7
[ "MIT" ]
null
null
null
from src.dmri import (run_spm_fsl_dti_preprocessing, run_dti_artifact_correction, correct_dwi_space_atlas, get_con_matrix_matlab, run_dtk_tractography, ) from src.interfaces import (CanICAInterface, ...
38.797101
54
0.393351
176
2,677
5.443182
0.590909
0.036534
0.025052
0.033403
0
0
0
0
0
0
0
0.000888
0.57938
2,677
69
55
38.797101
0.849911
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
1da1ec4541fe6c8f195889f5b3381ab3a7789467
1,062
py
Python
nuage_neutron/vsdclient/common/cms_id_helper.py
jbemmel/nuage-openstack-neutron
e356c017f7e1600b72cfc26abb588c7cf636e925
[ "Apache-2.0" ]
14
2015-06-24T18:35:25.000Z
2020-09-21T07:14:06.000Z
nuage_neutron/vsdclient/common/cms_id_helper.py
jbemmel/nuage-openstack-neutron
e356c017f7e1600b72cfc26abb588c7cf636e925
[ "Apache-2.0" ]
7
2016-01-20T18:20:28.000Z
2020-11-18T16:04:14.000Z
nuage_neutron/vsdclient/common/cms_id_helper.py
jbemmel/nuage-openstack-neutron
e356c017f7e1600b72cfc26abb588c7cf636e925
[ "Apache-2.0" ]
43
2015-04-07T09:02:35.000Z
2021-02-12T07:50:19.000Z
# Copyright 2016 NOKIA # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
28.702703
78
0.699623
159
1,062
4.528302
0.534591
0.048611
0.045833
0.044444
0.055556
0
0
0
0
0
0
0.010817
0.216573
1,062
36
79
29.5
0.854567
0.536723
0
0
0
0
0.144351
0
0
0
0
0
0
1
0.285714
false
0
0
0.214286
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1da378ba7833b27f03503c506a22364e42c3cfd3
4,195
py
Python
Interface.py
Angel2298/PyCakeSwapBot
e92ed52006a7aa6f94a3c88a5a70e7f4098096c9
[ "BSD-3-Clause" ]
null
null
null
Interface.py
Angel2298/PyCakeSwapBot
e92ed52006a7aa6f94a3c88a5a70e7f4098096c9
[ "BSD-3-Clause" ]
null
null
null
Interface.py
Angel2298/PyCakeSwapBot
e92ed52006a7aa6f94a3c88a5a70e7f4098096c9
[ "BSD-3-Clause" ]
null
null
null
####################################################### CREATE INTERFACE GUI ########################################### import os from tkinter import * import time window = Tk() window.title("DEX PancakeBot") window.minsize(width=500, height= 600) window.config(padx=20, pady=20) # Title Title = Label(text...
32.269231
121
0.591657
536
4,195
4.511194
0.244403
0.074442
0.050041
0.063689
0.245658
0.171216
0.064516
0.039702
0.039702
0.039702
0
0.024191
0.152563
4,195
129
122
32.51938
0.655978
0.15876
0
0
0
0
0.139878
0
0
0
0
0
0
1
0.073529
false
0
0.044118
0
0.117647
0.044118
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1da4d87ac0986d231201bd1bb6e4a0fc6fc8d019
211
py
Python
watchmate_v1/watchlist_app/urls.py
rroy11705/Rest_API_With_Django
6a75db2e2c3913ec9afc1cbfef67a5c9fd655e60
[ "CNRI-Python" ]
null
null
null
watchmate_v1/watchlist_app/urls.py
rroy11705/Rest_API_With_Django
6a75db2e2c3913ec9afc1cbfef67a5c9fd655e60
[ "CNRI-Python" ]
null
null
null
watchmate_v1/watchlist_app/urls.py
rroy11705/Rest_API_With_Django
6a75db2e2c3913ec9afc1cbfef67a5c9fd655e60
[ "CNRI-Python" ]
null
null
null
from .views import movie_details, movie_list from django.urls import path, include urlpatterns = [ path('all/', movie_list, name="movie-list"), path('<int:pk>/', movie_details, name="movie-details"), ]
26.375
59
0.701422
29
211
4.965517
0.517241
0.25
0
0
0
0
0
0
0
0
0
0
0.137441
211
7
60
30.142857
0.791209
0
0
0
0
0
0.170616
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
1da5b23d36add3ad28179cc6dbffebac84bcc231
280
py
Python
music_review/graphql/performer/types.py
wmalarski/music-reviews
7190a2fc489965d951b3879ef89bfdf7893b2456
[ "MIT" ]
null
null
null
music_review/graphql/performer/types.py
wmalarski/music-reviews
7190a2fc489965d951b3879ef89bfdf7893b2456
[ "MIT" ]
80
2020-09-22T19:26:24.000Z
2021-09-22T19:44:09.000Z
music_review/graphql/performer/types.py
wmalarski/music-reviews
7190a2fc489965d951b3879ef89bfdf7893b2456
[ "MIT" ]
null
null
null
from graphene import relay from graphene_django import DjangoObjectType from graphene_federation import key from ...reviews.models import Performer @key("mbid") class PerformerType(DjangoObjectType): class Meta: model = Performer interfaces = (relay.Node,)
21.538462
44
0.753571
31
280
6.741935
0.580645
0.172249
0
0
0
0
0
0
0
0
0
0
0.178571
280
12
45
23.333333
0.908696
0
0
0
0
0
0.014286
0
0
0
0
0
0
1
0
false
0
0.444444
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
1
0
0
0
0
1
1da5bba78f1767ef9835d4c40a24376f9193ae1b
3,550
py
Python
tests/test_python_dev_tools.py
Joeyt1008/python-dev-tools
95b08b03dc62afdc2ffb2198cccb3e34291353ba
[ "BSD-3-Clause" ]
11
2019-02-24T16:44:41.000Z
2020-12-14T13:03:21.000Z
tests/test_python_dev_tools.py
Joeyt1008/python-dev-tools
95b08b03dc62afdc2ffb2198cccb3e34291353ba
[ "BSD-3-Clause" ]
291
2019-03-22T17:21:53.000Z
2022-03-31T04:13:44.000Z
tests/test_python_dev_tools.py
Joeyt1008/python-dev-tools
95b08b03dc62afdc2ffb2198cccb3e34291353ba
[ "BSD-3-Clause" ]
10
2019-03-22T15:45:14.000Z
2021-12-20T14:00:25.000Z
"""Tests for `python_dev_tools` package.""" import sys from pathlib import Path from textwrap import dedent import python_dev_tools.whataformatter import python_dev_tools.whatalinter from python_dev_tools.whataformatter import main as main_formatter from python_dev_tools.whatalinter import lint, main as main_linter ...
27.099237
95
0.589577
445
3,550
4.546067
0.285393
0.071181
0.110727
0.071181
0.355413
0.19476
0.122096
0.074147
0.074147
0.074147
0
0.033925
0.285915
3,550
130
96
27.307692
0.764103
0.07493
0
0.245283
0
0
0.176592
0.022786
0
0
0
0.023077
0.09434
1
0.113208
false
0
0.132075
0
0.245283
0
0
0
0
null
0
0
0
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
1da6ecd7cf81d6949311f2c3cbbf6ad20aecc35c
164
py
Python
deepa2/metrics/__init__.py
debatelab/deepa2
1a9e8c357d7e3924808c703ec9f4a6611a4b5f93
[ "Apache-2.0" ]
null
null
null
deepa2/metrics/__init__.py
debatelab/deepa2
1a9e8c357d7e3924808c703ec9f4a6611a4b5f93
[ "Apache-2.0" ]
null
null
null
deepa2/metrics/__init__.py
debatelab/deepa2
1a9e8c357d7e3924808c703ec9f4a6611a4b5f93
[ "Apache-2.0" ]
null
null
null
"""Classes for evaluating generated DeepA2 records""" # flake8: noqa # pylint: skip-file from deepa2.metrics.metric_handler import ( DA2PredictionEvaluator, )
20.5
53
0.762195
18
164
6.888889
0.944444
0
0
0
0
0
0
0
0
0
0
0.028369
0.140244
164
7
54
23.428571
0.851064
0.481707
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
1da7670cb3265bca373b14be3b2d7200397286df
1,664
py
Python
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/dark_lang/models.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
3
2021-12-15T04:58:18.000Z
2022-02-06T12:15:37.000Z
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/dark_lang/models.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
null
null
null
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/dark_lang/models.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
1
2019-01-02T14:38:50.000Z
2019-01-02T14:38:50.000Z
""" Models for the dark-launching languages """ from config_models.models import ConfigurationModel from django.db import models class DarkLangConfig(ConfigurationModel): """ Configuration for the dark_lang django app. .. no_pii: """ released_languages = models.TextField( blank=True, ...
27.278689
104
0.622596
190
1,664
5.326316
0.357895
0.100791
0.055336
0.075099
0.590909
0.590909
0.590909
0.590909
0.590909
0.590909
0
0
0.271034
1,664
60
105
27.733333
0.834295
0.200721
0
0.322581
0
0
0.191935
0
0
0
0
0
0
1
0.096774
false
0
0.064516
0.032258
0.451613
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1da7c48b6acd120f6e2b6e67aae76c191dc3fd53
548
py
Python
scrummy/__version__.py
mas-4/scrummy
3ff921c40b65413c5de39c20aa3f9feb8f0a6332
[ "MIT" ]
null
null
null
scrummy/__version__.py
mas-4/scrummy
3ff921c40b65413c5de39c20aa3f9feb8f0a6332
[ "MIT" ]
1
2022-01-10T22:59:36.000Z
2022-01-10T22:59:36.000Z
scrummy/__version__.py
mas-4/scrummy
3ff921c40b65413c5de39c20aa3f9feb8f0a6332
[ "MIT" ]
null
null
null
# ___ ___ _ __ _ _ _ __ ___ _ __ ___ _ _ # / __|/ __| '__| | | | '_ ` _ \| '_ ` _ \| | | | # \__ \ (__| | | |_| | | | | | | | | | | | |_| | # |___/\___|_| \__,_|_| |_| |_|_| |_| |_|\__, | # |___/ __title__ = 'scrummy' __description__ = 'Plaintext Scrum-like Todo and ...
39.142857
70
0.534672
36
548
5.5
0.833333
0.141414
0
0
0
0
0
0
0
0
0
0.02005
0.271898
548
14
71
39.142857
0.47619
0.430657
0
0
0
0
0.522876
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1da8215721de36398c957e99a911b088c52928ea
3,210
py
Python
refnx/reflect/_jax_reflect.py
dcortie/refnx
037434fa0a64755f72c540d75063986bd517ab10
[ "BSD-3-Clause" ]
32
2016-04-18T15:29:59.000Z
2022-03-27T08:35:29.000Z
refnx/reflect/_jax_reflect.py
dcortie/refnx
037434fa0a64755f72c540d75063986bd517ab10
[ "BSD-3-Clause" ]
116
2015-10-27T04:33:09.000Z
2022-02-22T02:02:47.000Z
refnx/reflect/_jax_reflect.py
dcortie/refnx
037434fa0a64755f72c540d75063986bd517ab10
[ "BSD-3-Clause" ]
22
2015-09-29T23:21:15.000Z
2022-02-27T18:12:18.000Z
""" *Calculates the specular (Neutron or X-ray) reflectivity from a stratified series of layers. The refnx code is distributed under the following license: Copyright (c) 2015 A. R. J. Nelson, ANSTO Permission to use and redistribute the source code or binary forms of this software and its documentation, with or with...
30
79
0.62648
473
3,210
4.22833
0.391121
0.028
0.026
0.012
0.048
0.048
0
0
0
0
0
0.045588
0.25514
3,210
106
80
30.283019
0.790882
0.436449
0
0.172414
0
0
0
0
0
0
0
0
0
1
0.017241
false
0
0.068966
0
0.103448
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1da9f37084416d4890228bbc62b4a8fea137f0a1
7,015
py
Python
ModelFinder/model_finder.py
Sparab16/CreditCardPrediction
70c26664d747e0cfcae5256609097ab2e9434b67
[ "MIT" ]
null
null
null
ModelFinder/model_finder.py
Sparab16/CreditCardPrediction
70c26664d747e0cfcae5256609097ab2e9434b67
[ "MIT" ]
null
null
null
ModelFinder/model_finder.py
Sparab16/CreditCardPrediction
70c26664d747e0cfcae5256609097ab2e9434b67
[ "MIT" ]
null
null
null
from sklearn.model_selection import GridSearchCV from sklearn.metrics import roc_auc_score, accuracy_score from sklearn.naive_bayes import GaussianNB from xgboost import XGBClassifier import os from Logger import AppLogger class ModelFinder: ''' This class shall be used to find the model with best acc...
45.258065
142
0.609123
865
7,015
4.731792
0.178035
0.043
0.07525
0.041534
0.627413
0.56389
0.557293
0.542145
0.537259
0.516736
0
0.010903
0.307056
7,015
155
143
45.258065
0.831105
0.224519
0
0.349398
0
0
0.177971
0.07455
0
0
0
0
0
1
0.048193
false
0
0.072289
0
0.180723
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5179e30e12ae21f90a025392fe8828ab8591a1d
2,547
py
Python
migrations/versions/8778f6b803ae_.py
anngle/school
5ca6f784a78b08fa9b43c8429de48ebffc4d26ca
[ "BSD-3-Clause" ]
null
null
null
migrations/versions/8778f6b803ae_.py
anngle/school
5ca6f784a78b08fa9b43c8429de48ebffc4d26ca
[ "BSD-3-Clause" ]
6
2020-06-05T18:11:49.000Z
2022-03-11T23:20:50.000Z
migrations/versions/8778f6b803ae_.py
anaf007/school
5ca6f784a78b08fa9b43c8429de48ebffc4d26ca
[ "BSD-3-Clause" ]
1
2019-05-30T06:00:30.000Z
2019-05-30T06:00:30.000Z
"""empty message Revision ID: 8778f6b803ae Revises: 309f6ca2a8ec Create Date: 2018-03-04 18:11:47.289975 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql # revision identifiers, used by Alembic. revision = '8778f6b803ae' down_revision = '309f6ca2a8ec' branch_labels = None depe...
48.056604
125
0.711818
364
2,547
4.678571
0.197802
0.150323
0.115091
0.057546
0.757487
0.757487
0.662361
0.597181
0.546682
0.546682
0
0.026702
0.117786
2,547
52
126
48.980769
0.731197
0.115823
0
0.085714
0
0
0.299323
0
0
0
0
0
0
1
0.057143
false
0
0.085714
0
0.142857
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
d517c4f09ba04347c87fe273db685ea053682476
7,248
py
Python
barbican-8.0.0/barbican/plugin/util/translations.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
null
null
null
barbican-8.0.0/barbican/plugin/util/translations.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
5
2019-08-14T06:46:03.000Z
2021-12-13T20:01:25.000Z
barbican-8.0.0/barbican/plugin/util/translations.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
2
2020-03-15T01:24:15.000Z
2020-07-22T20:34:26.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the...
35.356098
77
0.717991
880
7,248
5.696591
0.240909
0.048274
0.011171
0.01536
0.420507
0.327349
0.229404
0.159585
0.145222
0.05785
0
0.009901
0.219647
7,248
204
78
35.529412
0.876414
0.266004
0
0.376
0
0
0.018053
0
0
0
0
0
0
1
0.096
false
0.016
0.064
0
0.28
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5188b939478073039307a3d9b9b3d9126626f3a
35,539
py
Python
mars/worker/execution.py
immortalFrogJiang/mars
93c786e38bdc0fbb483282d7792379db0345a3b6
[ "Apache-2.0" ]
1
2019-02-01T07:41:48.000Z
2019-02-01T07:41:48.000Z
mars/worker/execution.py
immortalFrogJiang/mars
93c786e38bdc0fbb483282d7792379db0345a3b6
[ "Apache-2.0" ]
null
null
null
mars/worker/execution.py
immortalFrogJiang/mars
93c786e38bdc0fbb483282d7792379db0345a3b6
[ "Apache-2.0" ]
null
null
null
# Copyright 1999-2018 Alibaba Group Holding Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
43.552696
117
0.63533
4,352
35,539
4.859605
0.106618
0.043501
0.039718
0.047425
0.415953
0.343704
0.271928
0.230555
0.182656
0.151969
0
0.001965
0.284026
35,539
815
118
43.606135
0.8292
0.110526
0
0.254833
0
0
0.058298
0
0
0
0
0.001227
0
1
0.063269
false
0.003515
0.040422
0.005272
0.168717
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d51a3e8b7e251050ecd8235bb18dc9a527dfd0c7
5,574
py
Python
models/text2text/encoder.py
aasseman/mi-prometheus
c655c88cc6aec4d0724c19ea95209f1c2dd6770d
[ "Apache-2.0" ]
null
null
null
models/text2text/encoder.py
aasseman/mi-prometheus
c655c88cc6aec4d0724c19ea95209f1c2dd6770d
[ "Apache-2.0" ]
null
null
null
models/text2text/encoder.py
aasseman/mi-prometheus
c655c88cc6aec4d0724c19ea95209f1c2dd6770d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # The MIT License (MIT) # # Copyright (c) 2017 Sean Robertson # # 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...
41.909774
182
0.685863
767
5,574
4.887875
0.353325
0.045345
0.022406
0.016004
0.100293
0.082689
0.049613
0.049613
0.028274
0.028274
0
0.005385
0.233764
5,574
132
183
42.227273
0.872395
0.700036
0
0.066667
0
0
0.010601
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d51acf3bcb18e8d4e1684a55450fc3e9b95ebb72
6,200
py
Python
TSSystem/apps/edu_reform/models.py
LittleBai0606/TeachingSecretarySystem
c9067b83f8e1edaf06974db73b7cc47a5b49e0d4
[ "MIT" ]
null
null
null
TSSystem/apps/edu_reform/models.py
LittleBai0606/TeachingSecretarySystem
c9067b83f8e1edaf06974db73b7cc47a5b49e0d4
[ "MIT" ]
5
2020-06-05T18:13:28.000Z
2022-02-11T03:39:14.000Z
TSSystem/apps/edu_reform/models.py
WhiteBrownBottle/TeachingSecretarySystem
c9067b83f8e1edaf06974db73b7cc47a5b49e0d4
[ "MIT" ]
null
null
null
from django.db import models import datetime, time import django.utils.timezone as timezone from student.models import Student from teacher.models import Teacher from utils.customfilefield.storage import FileStorage # Create your models here. class EduProject(models.Model): #教改/教研/教材项目数据模型 TYPE_CHOIC...
43.661972
143
0.669677
791
6,200
5.020228
0.221239
0.135734
0.105767
0.043062
0.558298
0.532611
0.524553
0.51448
0.416268
0.392848
0
0.016161
0.191613
6,200
142
144
43.661972
0.776137
0.00871
0
0.229358
0
0
0.076013
0
0
0
0
0
0
1
0.045872
false
0
0.055046
0.045872
0.59633
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
d51b548c1f46b703f923d309ace739d11c94c086
2,374
py
Python
iexfinance/tests/stocks/test_prices.py
jto-d/iexfinance
8bf958f269638b6f8d2dbdd857c0ef2ba324cdd4
[ "Apache-2.0" ]
653
2018-01-02T21:03:49.000Z
2022-03-24T06:37:10.000Z
iexfinance/tests/stocks/test_prices.py
jto-d/iexfinance
8bf958f269638b6f8d2dbdd857c0ef2ba324cdd4
[ "Apache-2.0" ]
219
2017-12-09T21:44:43.000Z
2022-03-23T20:21:46.000Z
iexfinance/tests/stocks/test_prices.py
jto-d/iexfinance
8bf958f269638b6f8d2dbdd857c0ef2ba324cdd4
[ "Apache-2.0" ]
155
2018-02-07T17:08:18.000Z
2022-03-13T23:36:57.000Z
import pandas as pd import pytest from iexfinance.stocks import Stock from iexfinance.utils.exceptions import IEXQueryError class TestStockPrices(object): def setup_class(self): self.a = Stock("AAPL") self.b = Stock(["AAPL", "TSLA"]) self.c = Stock("SVXY") self.d = Stock(["AAPL", ...
25.255319
53
0.642797
303
2,374
4.871287
0.19802
0.173442
0.097561
0.105691
0.642276
0.538618
0.433604
0.253388
0.253388
0.253388
0
0.005643
0.25358
2,374
93
54
25.526882
0.827314
0
0
0.344262
0
0
0.022325
0
0
0
0
0
0.344262
1
0.229508
false
0
0.065574
0
0.311475
0
0
0
0
null
0
0
0
0
0
0
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
d51cb89eb6deb0955d26dd78296fd7fa6bebba2b
3,855
py
Python
gatlin/infra/excel.py
kokomal/GATLIN
20102e6d926a3a805d1cb30c8d6ec45b492ac507
[ "BSD-3-Clause" ]
1
2019-08-05T13:01:04.000Z
2019-08-05T13:01:04.000Z
gatlin/infra/excel.py
kokomal/GATLIN
20102e6d926a3a805d1cb30c8d6ec45b492ac507
[ "BSD-3-Clause" ]
null
null
null
gatlin/infra/excel.py
kokomal/GATLIN
20102e6d926a3a805d1cb30c8d6ec45b492ac507
[ "BSD-3-Clause" ]
null
null
null
# coding = utf-8 # -*- coding: utf-8 -*- import json from openpyxl import load_workbook # 读取某一个region,从此之下读取两列拼装成map def read_region_below_map(fn, sheet_name, region_name): mp = {} wb = load_workbook(fn) ws = wb[sheet_name] region = ws[region_name] next_row = region.row + 1 column = region.co...
32.669492
89
0.629572
567
3,855
4.015873
0.141093
0.076856
0.098814
0.07422
0.667106
0.657005
0.622749
0.589372
0.5639
0.5639
0
0.00951
0.263554
3,855
117
90
32.948718
0.792533
0.06537
0
0.62766
0
0
0.002506
0
0
0
0
0
0
1
0.085106
false
0
0.021277
0
0.202128
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d51db870e2b3ba60a86f83ec6d2144b9f9d6cde6
42,562
py
Python
Assets/Python/Screens/CvForeignAdvisor.py
Imperator-Knoedel/Sunset
19c95f4844586b96341f3474b58e0dacaae485b9
[ "MIT" ]
1
2019-08-05T18:36:14.000Z
2019-08-05T18:36:14.000Z
Assets/Python/Screens/CvForeignAdvisor.py
Imperator-Knoedel/Sunset
19c95f4844586b96341f3474b58e0dacaae485b9
[ "MIT" ]
null
null
null
Assets/Python/Screens/CvForeignAdvisor.py
Imperator-Knoedel/Sunset
19c95f4844586b96341f3474b58e0dacaae485b9
[ "MIT" ]
null
null
null
## Sid Meier's Civilization 4 ## Copyright Firaxis Games 2005 from CvPythonExtensions import * import CvUtil import ScreenInput import CvScreenEnums import math # globals gc = CyGlobalContext() ArtFileMgr = CyArtFileMgr() localText = CyTranslator() # this class is shared by both the resource and technology foreign ad...
56.298942
378
0.728725
4,839
42,562
6.263898
0.101881
0.027218
0.021774
0.021048
0.72957
0.679621
0.637821
0.60516
0.588763
0.544159
0
0.012003
0.140665
42,562
755
379
56.37351
0.816733
0.092312
0
0.431304
0
0
0.057627
0.025145
0
0
0
0
0
1
0.026087
false
0
0.008696
0.001739
0.052174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d51e26d1b13d097b4892231545aad4dd6145adfc
6,300
py
Python
Examples/ApiExamples/ex_hyphenation.py
alex-dudin/Aspose.Words-for-Python-via-.NET
02b257df8da9892fcce671c473c2ef27b68b5087
[ "MIT" ]
3
2021-12-04T22:17:28.000Z
2022-02-22T03:30:01.000Z
Examples/ApiExamples/ex_hyphenation.py
alex-dudin/Aspose.Words-for-Python-via-.NET
02b257df8da9892fcce671c473c2ef27b68b5087
[ "MIT" ]
4
2021-11-26T10:01:06.000Z
2021-12-14T15:01:11.000Z
Examples/ApiExamples/ex_hyphenation.py
alex-dudin/Aspose.Words-for-Python-via-.NET
02b257df8da9892fcce671c473c2ef27b68b5087
[ "MIT" ]
2
2021-10-20T18:06:22.000Z
2021-10-29T20:59:18.000Z
# Copyright (c) 2001-2022 Aspose Pty Ltd. All Rights Reserved. # # This file is part of Aspose.Words. The source code in this file # is only intended as a supplement to the documentation, and is provided # "as is", without warranty of any kind, either expressed or implied. import aspose.words as aw from api_example_b...
47.727273
125
0.685714
767
6,300
5.512386
0.312907
0.074503
0.048013
0.03122
0.264428
0.204825
0.151372
0.132923
0.074267
0.047777
0
0.003493
0.22746
6,300
131
126
48.091603
0.865215
0.757143
0
0.142857
0
0
0.099509
0.053259
0
0
0
0
0.214286
1
0.071429
false
0
0.142857
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d51f3ce171cefeb4ce9612bb83acf0f40ea9f6ff
3,036
py
Python
PreprocessData/all_class_files/PriceSpecification.py
wkid-neu/Schema
4854720a15894dd814691a55e03329ecbbb6f558
[ "MIT" ]
3
2021-11-06T12:29:05.000Z
2022-03-22T12:48:55.000Z
PreprocessData/all_class_files/PriceSpecification.py
DylanNEU/Schema
4854720a15894dd814691a55e03329ecbbb6f558
[ "MIT" ]
null
null
null
PreprocessData/all_class_files/PriceSpecification.py
DylanNEU/Schema
4854720a15894dd814691a55e03329ecbbb6f558
[ "MIT" ]
1
2021-11-06T12:29:12.000Z
2021-11-06T12:29:12.000Z
from PreprocessData.all_class_files.StructuredValue import StructuredValue import global_data class PriceSpecification(StructuredValue): def __init__(self, additionalType=None, alternateName=None, description=None, disambiguatingDescription=None, identifier=None, image=None, mainEntityOfPage=None, name=None,...
37.02439
403
0.704216
283
3,036
7.34629
0.19788
0.025974
0.060606
0.047138
0.01924
0
0
0
0
0
0
0
0.226285
3,036
81
404
37.481481
0.885057
0
0
0.338983
0
0
0.006768
0
0
0
0
0
0
1
0.338983
false
0
0.033898
0.152542
0.559322
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d52046c063e104480fca192e02774204fb6af2fe
43,682
py
Python
sim/python/theory_control.py
wpisailbot/boat
7c053d67422d21af95e350c4c9d31425e5760df8
[ "Apache-2.0" ]
4
2017-04-12T19:33:17.000Z
2019-01-29T07:44:52.000Z
sim/python/theory_control.py
wpisailbot/boat
7c053d67422d21af95e350c4c9d31425e5760df8
[ "Apache-2.0" ]
17
2017-12-05T01:43:14.000Z
2019-02-01T00:48:11.000Z
sim/python/theory_control.py
wpisailbot/boat
7c053d67422d21af95e350c4c9d31425e5760df8
[ "Apache-2.0" ]
2
2017-02-19T22:40:12.000Z
2018-09-07T11:14:24.000Z
#!/usr/bin/python3 import numpy as np from numpy import matlib from numpy import random import sys import copy import scipy.signal import scipy.stats.stats from matplotlib import pyplot as plt import unittest def Norm(t): while t > np.pi: t -= 2 * np.pi while t < -np.pi: t += 2 * np.pi return t def Sign...
34.395276
117
0.596836
6,159
43,682
4.210099
0.121773
0.01157
0.007173
0.006479
0.379483
0.332433
0.300617
0.268261
0.236251
0.222021
0
0.036999
0.256284
43,682
1,269
118
34.42238
0.761166
0.179525
0
0.229834
0
0.001105
0.048413
0.005179
0
0
0
0.001576
0
1
0.047514
false
0
0.009945
0.00663
0.102762
0.001105
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5215f9109908924a1a6af979e4f67e4558759f2
671
py
Python
leetcode/1018_binary_prefix_divisible_by_5/1018_binary_prefix_divisible_by_5.py
ryangillard/misc
d1f9919400636e6b988fa933493b94829a73331e
[ "Apache-2.0" ]
null
null
null
leetcode/1018_binary_prefix_divisible_by_5/1018_binary_prefix_divisible_by_5.py
ryangillard/misc
d1f9919400636e6b988fa933493b94829a73331e
[ "Apache-2.0" ]
null
null
null
leetcode/1018_binary_prefix_divisible_by_5/1018_binary_prefix_divisible_by_5.py
ryangillard/misc
d1f9919400636e6b988fa933493b94829a73331e
[ "Apache-2.0" ]
null
null
null
class Solution(object): def prefixesDivBy5(self, A): """ :type A: List[int] :rtype: List[bool] """ return self.prefixMod(A) def forLoop(self, A): A = "".join([str(x) for x in A]) ret = [False] * len(A) for i in range(len(A)): if int(A[...
24.851852
66
0.432191
105
671
2.761905
0.304762
0.068966
0.062069
0.072414
0.372414
0.310345
0.206897
0.144828
0.144828
0.144828
0
0.036675
0.390462
671
27
67
24.851852
0.672372
0.055142
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.235294
false
0
0
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
d521ab84f8b14d9b5f58fe4cba2c88a22ff8f98f
1,105
py
Python
evechem_api/security/definitions.py
mylesgallagher/evechemapi
d096a2d13b84c3ac15fedf9795177c619f96a36d
[ "MIT" ]
null
null
null
evechem_api/security/definitions.py
mylesgallagher/evechemapi
d096a2d13b84c3ac15fedf9795177c619f96a36d
[ "MIT" ]
null
null
null
evechem_api/security/definitions.py
mylesgallagher/evechemapi
d096a2d13b84c3ac15fedf9795177c619f96a36d
[ "MIT" ]
null
null
null
from .base import BaseKey, BaseKeyControl from .exceptions import KeyNotFound from evechem_api.maps import application_map from evechem_api.models import Error class APIKey(BaseKey): valid_permissions = [ 'master', 'director', 'manager', 'auditor', 'customer'] def __init__(self, value, operation_id, perm...
24.555556
63
0.730317
148
1,105
5.243243
0.418919
0.030928
0.036082
0
0
0
0
0
0
0
0
0.006494
0.163801
1,105
44
64
25.113636
0.833333
0
0
0
0
0
0.100452
0
0
0
0
0
0
1
0.105263
false
0
0.105263
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d522254b8c4c695805f12c63573f2dacd4d1ded5
293
py
Python
notebooks/_solutions/case2_biodiversity_analysis16.py
rprops/Python_DS-WS
b2fc449a74be0c82863e5fcf1ddbe7d64976d530
[ "BSD-3-Clause" ]
65
2017-03-21T09:15:40.000Z
2022-02-01T23:43:08.000Z
notebooks/_solutions/case2_biodiversity_analysis16.py
rprops/Python_DS-WS
b2fc449a74be0c82863e5fcf1ddbe7d64976d530
[ "BSD-3-Clause" ]
100
2016-12-15T03:44:06.000Z
2022-03-07T08:14:07.000Z
notebooks/_solutions/case2_biodiversity_analysis16.py
rprops/Python_DS-WS
b2fc449a74be0c82863e5fcf1ddbe7d64976d530
[ "BSD-3-Clause" ]
52
2016-12-19T07:48:52.000Z
2022-02-19T17:53:48.000Z
heatmap_prep_plotnine = survey_data.groupby([survey_data['eventDate'].dt.year, survey_data['eventDate'].dt.month]).size() heatmap_prep_plotnine.index.names = ["year", "month"] heatmap_prep_plotnine = heatmap_prep_plotnine.reset_index(name='count')
73.25
87
0.675768
34
293
5.470588
0.470588
0.236559
0.408602
0.225806
0
0
0
0
0
0
0
0
0.191126
293
4
88
73.25
0.78481
0
0
0
0
0
0.108844
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
d523f8e13f2c1d72d705469d378a9e0c260a200c
248
py
Python
SistemaWebAuditorias/Apps/Colaborativo/urls.py
diegoquirozramirez/Sistema-Web-Auditorias
d070a7c85a9dad1740dea5bc397fd3cfb3735ba8
[ "MIT" ]
null
null
null
SistemaWebAuditorias/Apps/Colaborativo/urls.py
diegoquirozramirez/Sistema-Web-Auditorias
d070a7c85a9dad1740dea5bc397fd3cfb3735ba8
[ "MIT" ]
null
null
null
SistemaWebAuditorias/Apps/Colaborativo/urls.py
diegoquirozramirez/Sistema-Web-Auditorias
d070a7c85a9dad1740dea5bc397fd3cfb3735ba8
[ "MIT" ]
null
null
null
from django.urls import path from Apps.Colaborativo import views app_name = 'Colaborativo' urlpatterns = [ path('', views.goEspacioColaborativo, name="colaboracion"), path('update/<int:ida>', views.updateInfoAuditoria, name="update"), ]
24.8
70
0.733871
27
248
6.703704
0.62963
0
0
0
0
0
0
0
0
0
0
0
0.129032
248
10
71
24.8
0.837963
0
0
0
0
0
0.184739
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
d524800f52609686d464ccbebfdd2ca500a958bf
3,200
py
Python
App/models.py
steve-njuguna-k/Django-Instragram-Clone
0947849c415ab4b1729998d69d2c27f5a0a35c57
[ "MIT" ]
2
2022-02-08T08:05:17.000Z
2022-02-15T03:03:24.000Z
App/models.py
steve-njuguna-k/Django-Instagram-Clone
0947849c415ab4b1729998d69d2c27f5a0a35c57
[ "MIT" ]
null
null
null
App/models.py
steve-njuguna-k/Django-Instagram-Clone
0947849c415ab4b1729998d69d2c27f5a0a35c57
[ "MIT" ]
null
null
null
from pyexpat import model from django.db import models from django.contrib.auth.models import User from cloudinary.models import CloudinaryField # Create your models here. class Profile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE, verbose_name='User') bio = models.TextField(max_le...
36.363636
122
0.711563
406
3,200
5.435961
0.204434
0.074762
0.057091
0.085637
0.50068
0.383326
0.337562
0.280924
0.280924
0.280924
0
0.005339
0.180625
3,200
88
123
36.363636
0.836384
0.024375
0
0.30303
0
0
0.050978
0
0
0
0
0
0
1
0.19697
false
0
0.060606
0.106061
0.848485
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
d5266761905d745a4881f9899734f3b37cdf85bc
1,261
py
Python
AndroidPythonScripting/andrdPostalCode.py
CamDavidsonPilon/Playground
874a883dae34452db0cc51400a6e06a307b8646d
[ "MIT" ]
2
2017-12-13T18:48:08.000Z
2018-12-06T10:12:55.000Z
AndroidPythonScripting/andrdPostalCode.py
CamDavidsonPilon/Playground
874a883dae34452db0cc51400a6e06a307b8646d
[ "MIT" ]
null
null
null
AndroidPythonScripting/andrdPostalCode.py
CamDavidsonPilon/Playground
874a883dae34452db0cc51400a6e06a307b8646d
[ "MIT" ]
1
2018-11-08T13:30:19.000Z
2018-11-08T13:30:19.000Z
# script to record my location. from time import sleep import csv import android i=0 documentCount = 0 droid = android.Android() while 1: try: sleep(5) droid.startLocating(30,5) sleep(5) location = droid.readLocation().result droid.stopLocating() if hasatt...
27.413043
126
0.538462
119
1,261
5.705882
0.445378
0.064801
0.055965
0.079529
0.232695
0.120766
0.120766
0
0
0
0
0.015588
0.33862
1,261
45
127
28.022222
0.798561
0.022998
0
0.324324
0
0
0.101709
0.026037
0
0
0
0
0
0
null
null
0
0.081081
null
null
0.027027
0
0
0
null
0
0
0
0
0
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
d526c2e9d5952d53cc0f0d0f50944fa61a1fa5cc
2,123
py
Python
setup.py
hartym/django-includes
95b2454c182c149963ca751c1b32aa1bc462f4cd
[ "Apache-2.0" ]
2
2017-03-14T10:19:28.000Z
2018-03-28T20:54:22.000Z
setup.py
hartym/django-includes
95b2454c182c149963ca751c1b32aa1bc462f4cd
[ "Apache-2.0" ]
8
2020-01-02T08:01:20.000Z
2021-09-22T17:43:29.000Z
setup.py
hartym/django-includes
95b2454c182c149963ca751c1b32aa1bc462f4cd
[ "Apache-2.0" ]
2
2016-08-06T15:48:51.000Z
2020-01-27T09:34:22.000Z
# Generated by Medikit 0.7.5 on 2020-05-19. # All changes will be overriden. # Edit Projectfile and run “make update” (or “medikit update”) to regenerate. from codecs import open from os import path from setuptools import find_packages, setup here = path.abspath(path.dirname(__file__)) # Py3 compatibility hacks, bo...
30.328571
110
0.663212
281
2,123
4.914591
0.516014
0.054308
0.026068
0.021723
0.108617
0.086894
0.053584
0
0
0
0
0.022145
0.19171
2,123
69
111
30.768116
0.782634
0.135657
0
0.113208
1
0
0.294311
0.01477
0
0
0
0
0
1
0.018868
false
0
0.056604
0
0.075472
0
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
d526df5a2127ccb12862e8d089efd56dff94d881
3,947
py
Python
backup.py
alidevjimmy/backup.py
863b9b06118891f880617f3f27c9ee8ece5e41b4
[ "MIT" ]
null
null
null
backup.py
alidevjimmy/backup.py
863b9b06118891f880617f3f27c9ee8ece5e41b4
[ "MIT" ]
null
null
null
backup.py
alidevjimmy/backup.py
863b9b06118891f880617f3f27c9ee8ece5e41b4
[ "MIT" ]
null
null
null
import sys import tkinter as tk from tkinter import messagebox as tkMessageBox import re import subprocess import datetime import getpass import tkinter.simpledialog import os # location of configuration file # this file in this version nees to command # 1- COMMAND -> command that run for make backup -> use rsync re...
29.901515
91
0.613884
510
3,947
4.662745
0.352941
0.038267
0.026493
0.036585
0.151808
0.137511
0.084104
0.084104
0.045416
0.045416
0
0.003821
0.270585
3,947
131
92
30.129771
0.82216
0.221687
0
0.073171
0
0
0.144215
0.032121
0
0
0
0
0
1
0.109756
false
0.036585
0.109756
0.012195
0.280488
0.012195
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5285bf4cb0c251133aab700e3e6910bf4b734e8
3,061
py
Python
mlctl/plugins/sagemaker/SagemakerHosting.py
LaudateCorpus1/mlctl
0a42035ce9c4999e1b3565ba41fe69d6d3552273
[ "Apache-2.0" ]
24
2021-06-25T04:31:10.000Z
2022-01-12T12:53:42.000Z
mlctl/plugins/sagemaker/SagemakerHosting.py
srivathsanvc/mlctl
0a42035ce9c4999e1b3565ba41fe69d6d3552273
[ "Apache-2.0" ]
14
2021-06-25T04:46:43.000Z
2021-08-19T00:01:42.000Z
mlctl/plugins/sagemaker/SagemakerHosting.py
LaudateCorpus1/mlctl
0a42035ce9c4999e1b3565ba41fe69d6d3552273
[ "Apache-2.0" ]
8
2021-07-16T18:14:17.000Z
2022-02-24T08:05:39.000Z
from mlctl.interfaces.Hosting import Hosting from mlctl.plugins.utils import parse_config import boto3 class SagemakerHosting(Hosting): def __init__(self, profile=None): if profile: boto3.setup_default_session(profile_name=profile) self._client = boto3.client("sagemaker") def crea...
43.112676
98
0.499837
250
3,061
5.888
0.276
0.11413
0.07337
0.048913
0.29144
0.29144
0.29144
0.23981
0.154891
0.154891
0
0.001738
0.436132
3,061
70
99
43.728571
0.851101
0
0
0.28125
0
0
0.08984
0.015028
0
0
0
0
0
1
0.078125
false
0
0.046875
0
0.28125
0.015625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5285c58efb554dcd2bf8ff1ee7abffb6aec165d
1,836
py
Python
tests/test_helpers.py
pablocael/handwritten-number-generator
931e61469d610c48c7a36d316845026926d72eb2
[ "MIT" ]
null
null
null
tests/test_helpers.py
pablocael/handwritten-number-generator
931e61469d610c48c7a36d316845026926d72eb2
[ "MIT" ]
null
null
null
tests/test_helpers.py
pablocael/handwritten-number-generator
931e61469d610c48c7a36d316845026926d72eb2
[ "MIT" ]
null
null
null
import numpy as np from number_generator import helpers def test_calculate_binary_image_contents_bbox(): # create an empty image empty_image = np.zeros((28, 28), dtype=np.uint8) bbox = helpers.calculate_binary_image_contents_bbox(empty_image) # bbox of empty image (background only) should be all zero...
32.785714
73
0.712418
278
1,836
4.517986
0.327338
0.076433
0.079618
0.111465
0.461783
0.35828
0.327229
0.292994
0.292994
0.229299
0
0.050999
0.209695
1,836
55
74
33.381818
0.814611
0.333878
0
0.076923
0
0
0
0
0
0
0
0
0.230769
1
0.076923
false
0
0.076923
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d528cdb7358fa86ca6d319001569d76a35a9c560
360
py
Python
products/urls.py
wmalott23/Products_app
691e156ed6f2607a257b18bc988c789013505ee1
[ "MIT" ]
null
null
null
products/urls.py
wmalott23/Products_app
691e156ed6f2607a257b18bc988c789013505ee1
[ "MIT" ]
null
null
null
products/urls.py
wmalott23/Products_app
691e156ed6f2607a257b18bc988c789013505ee1
[ "MIT" ]
null
null
null
from django.urls import path from . import views from rest_framework.urlpatterns import format_suffix_patterns urlpatterns = [ # path('', views.products_list), # path('<int:pk>/', views.product_detail), path('', views.ProductList.as_view()), path('<int:pk>/', views.ProductDetail.as_view()) ] urlpatter...
30
61
0.727778
44
360
5.75
0.5
0.094862
0.158103
0.245059
0
0
0
0
0
0
0
0
0.127778
360
12
62
30
0.805732
0.197222
0
0
0
0
0.031359
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
d52947496bda3409d71bc7bd9fc3a5aeeb797a0a
202
py
Python
locomotive/models/__init__.py
maxmouchet/sncf-cli
841a6a941630a3f460d566f50118881fff542034
[ "MIT" ]
22
2020-05-20T23:56:26.000Z
2022-01-29T01:13:29.000Z
locomotive/models/__init__.py
maxmouchet/sncf-cli
841a6a941630a3f460d566f50118881fff542034
[ "MIT" ]
8
2019-06-10T08:27:38.000Z
2020-01-30T14:12:10.000Z
locomotive/models/__init__.py
maxmouchet/sncf-cli
841a6a941630a3f460d566f50118881fff542034
[ "MIT" ]
null
null
null
""" Models shared between locomotive modules. """ from .board import BoardEntry from .journey import Journey, Proposal, Segment, Transport from .passenger import Passenger from .station import Station
22.444444
58
0.79703
24
202
6.708333
0.625
0
0
0
0
0
0
0
0
0
0
0
0.133663
202
8
59
25.25
0.92
0.20297
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.25
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
5
d5296fe11fece1d8f3fbfcbc77a7811a8729397b
1,538
py
Python
uva/452.py
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
3
2020-06-25T21:04:02.000Z
2021-05-12T03:33:19.000Z
uva/452.py
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
null
null
null
uva/452.py
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
1
2020-06-25T21:04:06.000Z
2020-06-25T21:04:06.000Z
# Author: btjanaka (Bryon Tjanaka) # Problem: (UVa) 452 # Title: Project Scheduling # Link: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=0&problem=393 # Idea: Shortest path algorithm in a DAG - find topological ordering then go # through and relax all edges - O(E) tim...
24.806452
118
0.535111
213
1,538
3.85446
0.441315
0.019488
0.029233
0.017052
0.019488
0
0
0
0
0
0
0.016618
0.33485
1,538
61
119
25.213115
0.785924
0.252926
0
0.045455
0
0
0
0
0
0
0
0
0
1
0
false
0
0.068182
0
0.068182
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d52d64a7724649d18a9c2af3401f63e97a9893fb
1,186
py
Python
main/courses/forums/forms.py
Andymic/class2go
45a457e89790cb83942d24ada816357dc91b8fe4
[ "Apache-2.0" ]
1
2015-11-05T20:49:11.000Z
2015-11-05T20:49:11.000Z
main/courses/forums/forms.py
Andymic/class2go
45a457e89790cb83942d24ada816357dc91b8fe4
[ "Apache-2.0" ]
null
null
null
main/courses/forums/forms.py
Andymic/class2go
45a457e89790cb83942d24ada816357dc91b8fe4
[ "Apache-2.0" ]
null
null
null
from django import forms class PiazzaAuthForm(forms.Form): # User Info user_id = forms.CharField() lis_person_contact_email_primary = forms.CharField() #lis_person_name_given = forms.CharField() #lis_person_name_family = forms.CharField() lis_person_name_full = forms.CharField() lis_person_...
31.210526
58
0.726813
134
1,186
6.104478
0.335821
0.427873
0.162592
0.140587
0.182152
0
0
0
0
0
0
0
0.180438
1,186
37
59
32.054054
0.841564
0.10371
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.04
0
1
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
1
0
0
2
d52e8f311e133d5943a854b889a728f1890959c9
6,563
py
Python
model.py
yucicheung/AdaptiveReconNet
953ad374150cbd488c468cc7c7d35a7409f8e92a
[ "MIT" ]
6
2018-10-08T00:31:47.000Z
2020-10-21T11:30:52.000Z
model.py
yucicheung/AdaptiveReconNet
953ad374150cbd488c468cc7c7d35a7409f8e92a
[ "MIT" ]
1
2019-01-18T10:32:41.000Z
2019-02-18T07:28:47.000Z
model.py
yucicheung/AdaptiveReconNet
953ad374150cbd488c468cc7c7d35a7409f8e92a
[ "MIT" ]
4
2018-10-08T00:31:48.000Z
2021-03-24T00:54:06.000Z
from utils import ( read_data, input_setup, imsave, merge ) import time import os import numpy as np import tensorflow as tf from math import ceil class RECONNET(object): def __init__(self, sess, image_size=33, label_size=33, ...
37.936416
127
0.607039
936
6,563
4.110043
0.199786
0.010398
0.049909
0.037432
0.377697
0.314791
0.240187
0.224071
0.224071
0.124253
0
0.042922
0.226116
6,563
172
128
38.156977
0.714511
0.014627
0
0.090909
0
0.007576
0.058029
0
0
0
0
0
0
1
0.045455
false
0
0.045455
0
0.121212
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d52fa52264faff6b5499de53b2e218972469ccdc
84
py
Python
monitor/test/__init__.py
ReCodEx/monitor
f461da684783888894c571e0bd08eaf6a948e0c5
[ "MIT" ]
4
2017-09-28T09:30:24.000Z
2017-12-10T19:45:51.000Z
monitor/test/__init__.py
ReCodEx/monitor
f461da684783888894c571e0bd08eaf6a948e0c5
[ "MIT" ]
null
null
null
monitor/test/__init__.py
ReCodEx/monitor
f461da684783888894c571e0bd08eaf6a948e0c5
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 __all__ = ['test_ClientConnections', 'test_websock_server']
21
59
0.761905
10
84
5.7
0.9
0
0
0
0
0
0
0
0
0
0
0.012987
0.083333
84
3
60
28
0.727273
0.25
0
0
0
0
0.66129
0.354839
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d53073e705435fd593bab86acb36702d868262ae
157
py
Python
expenseReimbursementProject1/exceptions/value_type_error.py
Basdanso/reimbursementApi
e0e1ef9b1198421884d21ac014fa85767b4f62e2
[ "MIT" ]
null
null
null
expenseReimbursementProject1/exceptions/value_type_error.py
Basdanso/reimbursementApi
e0e1ef9b1198421884d21ac014fa85767b4f62e2
[ "MIT" ]
null
null
null
expenseReimbursementProject1/exceptions/value_type_error.py
Basdanso/reimbursementApi
e0e1ef9b1198421884d21ac014fa85767b4f62e2
[ "MIT" ]
null
null
null
class ValueTypeError(Exception): description: str = 'Occurs when type does not match' def __str__(self): return "Value type does not match"
26.166667
56
0.694268
20
157
5.25
0.75
0.152381
0.209524
0.304762
0
0
0
0
0
0
0
0
0.229299
157
5
57
31.4
0.867769
0
0
0
0
0
0.356688
0
0
0
0
0
0
1
0.25
false
0
0
0.25
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
d5330ff256d87e5e4d011bc3c2a06f779221895e
71
py
Python
tests/functional/__init__.py
bianhaoyi/necache
aaaee900c0cf57bfc477fb790858709c7f2d69fe
[ "BSD-3-Clause" ]
351
2015-01-06T09:49:19.000Z
2022-03-30T12:46:23.000Z
tests/functional/__init__.py
bianhaoyi/necache
aaaee900c0cf57bfc477fb790858709c7f2d69fe
[ "BSD-3-Clause" ]
10
2015-11-19T21:10:18.000Z
2021-08-16T14:29:01.000Z
tests/functional/__init__.py
LaudateCorpus1/twemcache
8cfc4ca5e76ed936bd3786c8cc43ed47e7778c08
[ "BSD-3-Clause" ]
73
2015-01-07T07:06:46.000Z
2022-03-21T00:59:23.000Z
__all__ = ['basic', 'expiry', 'stats', 'advanced', 'startup', '64bit']
35.5
70
0.605634
7
71
5.571429
1
0
0
0
0
0
0
0
0
0
0
0.031746
0.112676
71
1
71
71
0.587302
0
0
0
0
0
0.507042
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d534130c3adddf6058dcb013d4b80cff8777ad9e
2,024
py
Python
laygo2/interface/bag.py
dwkim565/laygo2
fea1263638fa5641ad27f2000d7562cdf910c67f
[ "BSD-3-Clause" ]
null
null
null
laygo2/interface/bag.py
dwkim565/laygo2
fea1263638fa5641ad27f2000d7562cdf910c67f
[ "BSD-3-Clause" ]
null
null
null
laygo2/interface/bag.py
dwkim565/laygo2
fea1263638fa5641ad27f2000d7562cdf910c67f
[ "BSD-3-Clause" ]
1
2021-12-31T08:21:43.000Z
2021-12-31T08:21:43.000Z
#!/usr/bin/python ######################################################################################################################## # # Copyright (c) 2014, Regents of the University of California # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, are permi...
53.263158
120
0.685771
258
2,024
5.344961
0.550388
0.010877
0.024656
0.033358
0.175489
0.098622
0.098622
0.098622
0.098622
0.098622
0
0.006311
0.138834
2,024
37
121
54.702703
0.784854
0.689229
0
0
0
0
0.033333
0
0
0
0
0
0
1
0.142857
false
0
0.285714
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
d534c630f8ec7158aa367faf059fd230fe16ae61
1,035
py
Python
CamJam EduKit 2 - GPIO Zero/Code/5-PIR.py
CamJam-EduKit/EduKit2
e7920420fa6b46233304ae57d8eb39255ade3e1e
[ "MIT" ]
45
2016-02-03T21:59:28.000Z
2021-11-14T02:24:02.000Z
CamJam EduKit 2 - GPIO Zero/Code/5-PIR.py
CamJam-EduKit/EduKit2
e7920420fa6b46233304ae57d8eb39255ade3e1e
[ "MIT" ]
7
2017-05-24T11:44:31.000Z
2022-03-13T11:56:08.000Z
CamJam EduKit 2 - GPIO Zero/Code/5-PIR.py
CamJam-EduKit/EduKit2
e7920420fa6b46233304ae57d8eb39255ade3e1e
[ "MIT" ]
29
2016-02-13T13:37:54.000Z
2021-04-28T16:43:49.000Z
# CamJam EduKit 2 - Sensors (GPIO Zero) # Worksheet 5 - Movement # Import Python header files from gpiozero import MotionSensor import time # Set a variable to hold the GPIO Pin identity pir = MotionSensor(17) print("Waiting for PIR to settle") pir.wait_for_no_motion() print("PIR Module Test (CTRL-C to exit)") # V...
25.243902
61
0.651208
129
1,035
5.193798
0.581395
0.080597
0.026866
0
0
0
0
0
0
0
0
0.012113
0.282126
1,035
40
62
25.875
0.889637
0.32657
0
0.1
0
0
0.143066
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d534d4c11072c8911ea392648daa8cbe0a59680b
5,014
py
Python
match.py
skysea04/Scard
11c30084398860bc31326c56424d6794806245eb
[ "Apache-2.0" ]
5
2021-08-05T16:06:39.000Z
2021-11-20T04:52:02.000Z
match.py
skysea04/Scard
11c30084398860bc31326c56424d6794806245eb
[ "Apache-2.0" ]
null
null
null
match.py
skysea04/Scard
11c30084398860bc31326c56424d6794806245eb
[ "Apache-2.0" ]
5
2021-07-29T03:05:26.000Z
2022-03-08T14:02:34.000Z
import sys, random, math, time, json from datetime import date, timedelta import threading from models.model import db, User, Scard, cache import mysql.connector from app import app, mysql_host, mysql_user, mysql_password, mysql_database db.__init__(app) ''' 測試區 ''' start_time = time.time() today = date.today() yest...
30.573171
182
0.6071
663
5,014
4.339367
0.239819
0.046924
0.008342
0.009732
0.278067
0.219673
0.219673
0.188043
0.188043
0.184567
0
0.021535
0.277623
5,014
164
183
30.573171
0.772501
0.086957
0
0.271845
0
0.009709
0.131068
0.018756
0
0
0
0
0
1
0.048544
false
0.048544
0.058252
0
0.116505
0.029126
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d53515f8808fbd2654fdca8c8f013d1618ebdb2b
1,067
py
Python
setup.py
clementsw/interferometer
5fbf74e5aa011d381c112c0adbc9fb0d1144d331
[ "MIT" ]
6
2021-07-01T19:53:27.000Z
2022-03-24T12:55:09.000Z
setup.py
clementsw/interferometer
5fbf74e5aa011d381c112c0adbc9fb0d1144d331
[ "MIT" ]
1
2021-08-08T03:39:38.000Z
2021-08-08T03:39:38.000Z
setup.py
clementsw/interferometer
5fbf74e5aa011d381c112c0adbc9fb0d1144d331
[ "MIT" ]
1
2022-03-09T16:57:40.000Z
2022-03-09T16:57:40.000Z
# -*- coding: utf-8 -*- """ Created on Fri Mar 23 16:16:20 2018 @author: clementsw """ from setuptools import setup def readme(): with open('README.rst') as f: return f.read() setup(name='interferometer', version='0.1', description='Algorithms for universal interferometers', long_descr...
29.638889
139
0.627929
112
1,067
5.910714
0.821429
0
0
0
0
0
0
0
0
0
0
0.022222
0.240862
1,067
36
140
29.638889
0.795062
0.073102
0
0.074074
0
0
0.472505
0.047862
0
0
0
0
0
1
0.037037
true
0
0.037037
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
d5372720a1be5cab4ade8dc5c07291e11eb0a610
825
py
Python
github_releaser/cmd/asset.py
dfurtado/github-releaser
6b4fc35d1abc6ce3d2e5ab1441d3df0ad482bf65
[ "MIT" ]
2
2020-07-03T09:44:08.000Z
2020-07-03T13:10:48.000Z
github_releaser/cmd/asset.py
dfurtado/github-releaser
6b4fc35d1abc6ce3d2e5ab1441d3df0ad482bf65
[ "MIT" ]
2
2020-07-21T10:50:17.000Z
2020-08-03T11:07:22.000Z
github_releaser/cmd/asset.py
dfurtado/github-releaser
6b4fc35d1abc6ce3d2e5ab1441d3df0ad482bf65
[ "MIT" ]
null
null
null
import click import os from github_releaser import GithubReleaser @click.command(name="upload-assets", help="Upload assets to a existent release") @click.option("--account", "--a", required=True, help="Account") @click.option("--repository", "--r", required=True, help="Repository") @click.option("--token", help="Git...
34.375
90
0.700606
111
825
5.117117
0.432432
0.084507
0.084507
0
0
0
0
0
0
0
0
0.001422
0.147879
825
23
91
35.869565
0.806543
0
0
0
0
0
0.289697
0
0
0
0
0
0
1
0.058824
false
0
0.176471
0
0.235294
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d53971f07f775a3aa711042218ce3a65fcaf552c
2,355
py
Python
decisionTrees/decisionTree/partii/Gain.py
evamy/mlBucket
15fb9687a4c853edeaace23e752de069214f3cf3
[ "MIT" ]
null
null
null
decisionTrees/decisionTree/partii/Gain.py
evamy/mlBucket
15fb9687a4c853edeaace23e752de069214f3cf3
[ "MIT" ]
null
null
null
decisionTrees/decisionTree/partii/Gain.py
evamy/mlBucket
15fb9687a4c853edeaace23e752de069214f3cf3
[ "MIT" ]
null
null
null
## # Gain Calculation # for implementing decision trees # # @author antriksh # Version 1: 09/16/2017 from Dataset import Dataset import pandas as pd import numpy as np import random class Gain(): def __init__(self): pass def entropy(self, dataset): """ Find the degree of rando...
23.787879
77
0.539278
249
2,355
5.084337
0.365462
0.014218
0.018957
0.028436
0.135861
0.048973
0.048973
0.048973
0
0
0
0.027609
0.369427
2,355
98
78
24.030612
0.824916
0.16518
0
0.113208
0
0
0.003786
0
0
0
0
0
0
1
0.09434
false
0.018868
0.075472
0
0.283019
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d53e4eb300c1cc0390929d5bc39197d9c1362656
667
py
Python
tests/getnet/services/token/test_card_number.py
rafagonc/getnet-py
d2a5278b497408b5245d5d0fecd2e424f4ddb0d5
[ "MIT" ]
null
null
null
tests/getnet/services/token/test_card_number.py
rafagonc/getnet-py
d2a5278b497408b5245d5d0fecd2e424f4ddb0d5
[ "MIT" ]
null
null
null
tests/getnet/services/token/test_card_number.py
rafagonc/getnet-py
d2a5278b497408b5245d5d0fecd2e424f4ddb0d5
[ "MIT" ]
null
null
null
import unittest from getnet.services.token import CardNumber class CardNumberTest(unittest.TestCase): def testInvalidCardNumber(self): with self.assertRaises(AttributeError): CardNumber("123", "123") def testInvalidCustomerId(self): with self.assertRaises(AttributeError): ...
26.68
84
0.661169
58
667
7.37931
0.586207
0.037383
0.056075
0.11215
0.224299
0.224299
0
0
0
0
0
0.141473
0.226387
667
24
85
27.791667
0.687985
0
0
0.117647
0
0
0.178411
0
0
0
0
0
0.176471
1
0.176471
false
0
0.117647
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d53f47f532735f17bfb2f4eb7d8d52537f38dd98
935
py
Python
inference_converter/utils/argparser.py
mzeynali/dl-model-converter
3adff16661254f29a4e9b2d76402ba9b064d3d97
[ "Apache-2.0" ]
null
null
null
inference_converter/utils/argparser.py
mzeynali/dl-model-converter
3adff16661254f29a4e9b2d76402ba9b064d3d97
[ "Apache-2.0" ]
null
null
null
inference_converter/utils/argparser.py
mzeynali/dl-model-converter
3adff16661254f29a4e9b2d76402ba9b064d3d97
[ "Apache-2.0" ]
null
null
null
import sys import json import argparse import sys def _initialize(): parser = argparse.ArgumentParser( description="General config loader." ) parser.add_argument( "-c", "--config_file", help="Address of the config file." ) return parser def _get_options(parser, arg...
20.777778
52
0.627807
110
935
5.136364
0.381818
0.159292
0.046018
0
0
0
0
0
0
0
0
0.00149
0.282353
935
44
53
21.25
0.840537
0
0
0.058824
0
0
0.104925
0
0
0
0
0
0
1
0.088235
false
0
0.117647
0
0.294118
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5434871e6b9c2f656f5e120340151b549c7af58
12,703
py
Python
three_wolves/envs/contact_cube_env.py
42jaylonw/rrc_2021_three_wolves
f5b8c1589f14c6b8455f438cbb62ed74e9ad8551
[ "BSD-3-Clause" ]
null
null
null
three_wolves/envs/contact_cube_env.py
42jaylonw/rrc_2021_three_wolves
f5b8c1589f14c6b8455f438cbb62ed74e9ad8551
[ "BSD-3-Clause" ]
null
null
null
three_wolves/envs/contact_cube_env.py
42jaylonw/rrc_2021_three_wolves
f5b8c1589f14c6b8455f438cbb62ed74e9ad8551
[ "BSD-3-Clause" ]
1
2022-01-05T11:40:32.000Z
2022-01-05T11:40:32.000Z
import time import gym import numpy as np import pybullet from trifinger_simulation import TriFingerPlatform, visual_objects from trifinger_simulation.tasks import move_cube_on_trajectory as task from three_wolves.envs.base_cube_env import ActionType, BaseCubeTrajectoryEnv from three_wolves.envs.utilities.env_utils i...
41.64918
121
0.615288
1,462
12,703
5.055404
0.156635
0.031119
0.021107
0.023001
0.380598
0.346773
0.31146
0.280476
0.247057
0.247057
0
0.015077
0.295127
12,703
304
122
41.786184
0.810364
0.065103
0
0.280488
0
0
0.04844
0
0
0
0
0
0
1
0.052846
false
0.004065
0.044715
0
0.138211
0.004065
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d54427a0aba1c3116e4d85ec6e7cfa958b479d0b
1,220
py
Python
iamheadless_publisher_admin/mixins.py
plain-ie/iamheadless_publisher_admin
03e0406d5d6e40132fb63100f184ce5e90c0ad31
[ "MIT" ]
null
null
null
iamheadless_publisher_admin/mixins.py
plain-ie/iamheadless_publisher_admin
03e0406d5d6e40132fb63100f184ce5e90c0ad31
[ "MIT" ]
null
null
null
iamheadless_publisher_admin/mixins.py
plain-ie/iamheadless_publisher_admin
03e0406d5d6e40132fb63100f184ce5e90c0ad31
[ "MIT" ]
null
null
null
from django.urls import path from . import permissions from . import utils class ItemViewSetPermissionMixin: def has_access(self): permissions.user_can_access_item_type( self.get_request_user(), self.get_project_id(), self.get_item_type() ) class UtilsViewSe...
25.957447
61
0.690984
166
1,220
4.73494
0.204819
0.132316
0.124682
0.137405
0.395674
0.335878
0.063613
0
0
0
0
0
0.236885
1,220
46
62
26.521739
0.844253
0
0
0.0625
0
0
0.007377
0
0
0
0
0
0
1
0.28125
false
0
0.09375
0.1875
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d54c508466e035352ddb860546e3c55067122dc2
599
py
Python
setup.py
K0lb3/texgenpack_py
28951dd2eb18c1d84483910eaf29846e7ecdfc33
[ "Zlib" ]
null
null
null
setup.py
K0lb3/texgenpack_py
28951dd2eb18c1d84483910eaf29846e7ecdfc33
[ "Zlib" ]
null
null
null
setup.py
K0lb3/texgenpack_py
28951dd2eb18c1d84483910eaf29846e7ecdfc33
[ "Zlib" ]
null
null
null
import os from setuptools import Extension, setup try: from Cython.Build import cythonize except ImportError: cythonize = None def ALL_C(folder, exclude=[]): return [ '/'.join([folder, f]) for f in os.listdir(folder) if f[-2:] == '.c' and f not in exclude ] extensions = [ ...
17.617647
46
0.559265
63
599
5.253968
0.619048
0.024169
0
0
0
0
0
0
0
0
0
0.002457
0.320534
599
33
47
18.151515
0.810811
0
0
0.074074
0
0
0.068447
0
0
0
0
0
0
1
0.037037
false
0
0.148148
0.037037
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d54c6db149f6401a788e181c4dc27753be8b1fc7
2,967
py
Python
sdk/python/pulumi_azure_native/web/v20150801/__init__.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/web/v20150801/__init__.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/web/v20150801/__init__.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** from ... import _utilities import typing # Export this package's modules as members: from ._enums import * from .certificate import * from .certificate...
38.038462
80
0.834176
433
2,967
5.286374
0.17552
0.301442
0.159021
0.118829
0.810398
0.570118
0.138488
0
0
0
0
0.000379
0.109875
2,967
77
81
38.532468
0.866339
0.068419
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
1
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
1
0
1
0
1
0
0
6
d54cca8c5b64ee4952f55cc7414cf0f7c89b54c0
4,976
py
Python
app/main/views.py
Amin1014/blogs-1
7bb51e270385877edb2e0819b503dde512c27b6d
[ "MIT" ]
null
null
null
app/main/views.py
Amin1014/blogs-1
7bb51e270385877edb2e0819b503dde512c27b6d
[ "MIT" ]
null
null
null
app/main/views.py
Amin1014/blogs-1
7bb51e270385877edb2e0819b503dde512c27b6d
[ "MIT" ]
null
null
null
from flask import render_template,redirect,url_for,abort,request,flash from app.main import main from .forms import UpdateProfile,CreateBlog from flask_login import login_required,current_user from ..email import mail_message from app.models import User,Blog,Comment,Follower from ..import db from app.requests import ge...
33.85034
110
0.679863
658
4,976
4.966565
0.147416
0.033048
0.04896
0.04284
0.383415
0.233476
0.158507
0.118727
0.078335
0.032436
0
0.002466
0.185088
4,976
147
111
33.85034
0.803453
0
0
0.269841
0
0
0.12176
0.02391
0
0
0
0
0
1
0.087302
false
0
0.063492
0
0.269841
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d54e7671cd752c4f6814416f2822aa1db9d9be69
380
py
Python
debufftracker/__main__.py
nstatz/PoEDebuffTracker
5129c57e2fa9e43d820dec3eb0f44dddbd49c860
[ "MIT" ]
null
null
null
debufftracker/__main__.py
nstatz/PoEDebuffTracker
5129c57e2fa9e43d820dec3eb0f44dddbd49c860
[ "MIT" ]
null
null
null
debufftracker/__main__.py
nstatz/PoEDebuffTracker
5129c57e2fa9e43d820dec3eb0f44dddbd49c860
[ "MIT" ]
null
null
null
import os from debufftracker import screen_tools current_dir = os.path.dirname( os.path.abspath(__file__)) project_dir = os.path.join(current_dir, os.path.pardir) # set project source folder as working directory os.chdir(project_dir) if __name__ == "__main__": screentracker = screen_tools.ScreenTracker() scr...
29.230769
57
0.784211
50
380
5.56
0.6
0.086331
0.097122
0.115108
0
0
0
0
0
0
0
0
0.121053
380
13
58
29.230769
0.832335
0.121053
0
0
0
0
0.024024
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d54e9e653fd46c7bedfaa8531863df8dbad56a84
279
py
Python
extension_examples/setup.py
malte-storm/Savu
16291e8a22464c50c511af01fbc648860c1236e6
[ "Apache-2.0" ]
39
2015-03-30T14:03:42.000Z
2022-03-16T16:50:33.000Z
extension_examples/setup.py
malte-storm/Savu
16291e8a22464c50c511af01fbc648860c1236e6
[ "Apache-2.0" ]
670
2015-02-11T11:08:09.000Z
2022-03-21T09:27:57.000Z
extension_examples/setup.py
malte-storm/Savu
16291e8a22464c50c511af01fbc648860c1236e6
[ "Apache-2.0" ]
54
2015-02-13T14:09:52.000Z
2022-01-24T13:57:09.000Z
from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext setup( cmdclass={'build_ext':build_ext}, ext_modules=[ Extension("dezing",["dezing.pyx"], libraries=["dezing"]) ] )
23.25
43
0.645161
30
279
5.866667
0.466667
0.136364
0
0
0
0
0
0
0
0
0
0
0.243728
279
11
44
25.363636
0.834123
0
0
0
0
0
0.111511
0
0
0
0
0
0
1
0
true
0
0.3
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
d55090df04a7b080af6bf93b66774f6acfb91c99
1,231
py
Python
bonus_top_interview_questions/315. Count of Smaller Numbers After Self.py
JacopoPan/leetcode-top100-liked-questions
03dc05f087d05805d54b7585ce740338f3128833
[ "MIT" ]
null
null
null
bonus_top_interview_questions/315. Count of Smaller Numbers After Self.py
JacopoPan/leetcode-top100-liked-questions
03dc05f087d05805d54b7585ce740338f3128833
[ "MIT" ]
null
null
null
bonus_top_interview_questions/315. Count of Smaller Numbers After Self.py
JacopoPan/leetcode-top100-liked-questions
03dc05f087d05805d54b7585ce740338f3128833
[ "MIT" ]
null
null
null
""" Runtime: 3284 ms, faster than 74.29% of Python3 online submissions for Count of Smaller Numbers After Self. Memory Usage: 33.2 MB, less than 76.39% of Python3 online submissions for Count of Smaller Numbers After Self. """ from typing import List from typing import Optional class Solution: def countSmaller(sel...
33.27027
110
0.561332
161
1,231
4.236025
0.385093
0.046921
0.096774
0.076246
0.173021
0.173021
0.173021
0.173021
0.173021
0.173021
0
0.041812
0.300569
1,231
36
111
34.194444
0.75029
0.177092
0
0
0
0
0.023881
0
0
0
0
0
0
1
0.107143
false
0
0.071429
0
0.285714
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d5511838b4b4d80eeeb07f7837865dc3b34ed429
1,130
py
Python
util/Tool.py
EmeryWan/GradeEntry
3c4e27588e714df8fe26b29758a961830f9e770d
[ "MIT" ]
3
2019-07-31T13:09:52.000Z
2019-09-30T10:26:03.000Z
util/Tool.py
EmeryWan/GradeEntry
3c4e27588e714df8fe26b29758a961830f9e770d
[ "MIT" ]
null
null
null
util/Tool.py
EmeryWan/GradeEntry
3c4e27588e714df8fe26b29758a961830f9e770d
[ "MIT" ]
null
null
null
import inspect from singleton.AboutViewSingleton import AboutViewSingle def is_num(num): try: float(num) return True except BaseException: return False def colname_to_colnum(colname): if type(colname) is not str: return colname col = 0 power = 1 for i in rang...
21.320755
56
0.546903
140
1,130
4.335714
0.4
0.092257
0.059308
0.036244
0
0
0
0
0
0
0
0.043593
0.330089
1,130
52
57
21.730769
0.758256
0.00885
0
0.15
0
0
0.002683
0
0
0
0
0
0
1
0.125
false
0
0.05
0.025
0.35
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d553ade15a4eefdbc36f33e88c8c183a77abed27
696
py
Python
Tkinter_Scripts/tkinter-dropdown01.py
anupam-sy/Python-GUI
5017b5deccd5f7a592922907aba1ff8b062b9b0a
[ "MIT" ]
1
2020-04-25T01:20:01.000Z
2020-04-25T01:20:01.000Z
Tkinter_Scripts/tkinter-dropdown01.py
anupam-sy/Python-GUI
5017b5deccd5f7a592922907aba1ff8b062b9b0a
[ "MIT" ]
null
null
null
Tkinter_Scripts/tkinter-dropdown01.py
anupam-sy/Python-GUI
5017b5deccd5f7a592922907aba1ff8b062b9b0a
[ "MIT" ]
null
null
null
# Implementation of Dropdown in tkinter from tkinter import * root = Tk() root.title("Dropdown Implementation") root.geometry("200x50") def response(): print("Button clicked.") # create a menubar menubar = Menu(root) # configure root to use that menubar # display the menu root.config(menu=menubar) # Add items...
22.451613
75
0.752874
101
696
5.158416
0.60396
0.057582
0.065259
0.084453
0
0
0
0
0
0
0
0.011725
0.142241
696
30
76
23.2
0.860972
0.183908
0
0
0
0
0.168712
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.181818
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d555e94e143a29f11e123e6f014810777702c950
106
py
Python
mix_beta/example1.py
TomiBelan/multiparser
d23ee69c0771d2b0f899d1cc88bde16aa22f7a9f
[ "Apache-2.0" ]
null
null
null
mix_beta/example1.py
TomiBelan/multiparser
d23ee69c0771d2b0f899d1cc88bde16aa22f7a9f
[ "Apache-2.0" ]
null
null
null
mix_beta/example1.py
TomiBelan/multiparser
d23ee69c0771d2b0f899d1cc88bde16aa22f7a9f
[ "Apache-2.0" ]
null
null
null
print((:(:7:):)) a = (: [[lua string]] :) b = (: x .. y :) c = (: 1 + (: (: (yield 1) :) * 2 :) ^ -6 :)
15.142857
44
0.273585
14
106
2.071429
0.928571
0
0
0
0
0
0
0
0
0
0
0.067568
0.301887
106
6
45
17.666667
0.324324
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
d55987fd12bdc575cb7211586969ce4f4d999611
11,031
py
Python
chaos_genius/core/rca/rca_utils/api_utils.py
chaos-genius/chaos_genius
b5eadb6c38b5d449e54889a167c9034f6cec6009
[ "MIT" ]
320
2022-02-18T18:18:42.000Z
2022-03-31T16:42:38.000Z
chaos_genius/core/rca/rca_utils/api_utils.py
chaos-genius/chaos_genius
b5eadb6c38b5d449e54889a167c9034f6cec6009
[ "MIT" ]
115
2022-02-18T16:39:01.000Z
2022-03-31T15:23:52.000Z
chaos_genius/core/rca/rca_utils/api_utils.py
chaos-genius/chaos_genius
b5eadb6c38b5d449e54889a167c9034f6cec6009
[ "MIT" ]
18
2022-02-18T18:44:01.000Z
2022-03-10T08:33:34.000Z
"""Utility functions for RCA API endpoints.""" import logging from datetime import date, datetime, timedelta from typing import List from chaos_genius.databases.models.anomaly_data_model import AnomalyDataOutput from chaos_genius.extensions import db from chaos_genius.controllers.kpi_controller import get_kpi_data_fro...
32.06686
85
0.528329
1,164
11,031
4.67354
0.135739
0.051471
0.016728
0.019853
0.641176
0.559559
0.541728
0.484191
0.452574
0.444301
0
0.007275
0.364518
11,031
343
86
32.16035
0.768759
0.028103
0
0.476351
0
0
0.106082
0.002155
0
0
0
0
0
1
0.027027
false
0
0.033784
0
0.091216
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d55c5a73eca5eab76ef8ba52d0cc0073bdf209e2
4,027
py
Python
clock/exports/stundenzettel_generator/strategy.py
chgad/django-clock
f855cd1253574c0582ed53a0ac34206c242f04c9
[ "MIT" ]
null
null
null
clock/exports/stundenzettel_generator/strategy.py
chgad/django-clock
f855cd1253574c0582ed53a0ac34206c242f04c9
[ "MIT" ]
null
null
null
clock/exports/stundenzettel_generator/strategy.py
chgad/django-clock
f855cd1253574c0582ed53a0ac34206c242f04c9
[ "MIT" ]
1
2020-03-13T14:42:11.000Z
2020-03-13T14:42:11.000Z
# Package "stundenzettel_generator", Strategy abstract class # (c) 2015 Sven K., GPL # Python batteries import re from datetime import datetime, timedelta, date from os import path # adopt this to your needs freedays_file = path.join(path.dirname(__file__), 'feier-brueckentage2015.txt') # abstract class class Strat...
37.635514
104
0.57785
502
4,027
4.583665
0.412351
0.006084
0.007823
0.008692
0.024337
0.024337
0.003477
0
0
0
0
0.006419
0.3037
4,027
106
105
37.990566
0.814194
0.060343
0
0.047619
0
0
0.175809
0.018636
0
0
0
0
0
0
null
null
0
0.047619
null
null
0.126984
0
0
0
null
0
0
0
0
0
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
d55c7d8f96a78059d6e8c8a3ed3364b75170413a
410
py
Python
tests/Clients/test_serializers.py
Sheshtawy/featurette
d3d75bcf11b7db6f46e35615656e694e13463d1d
[ "MIT" ]
null
null
null
tests/Clients/test_serializers.py
Sheshtawy/featurette
d3d75bcf11b7db6f46e35615656e694e13463d1d
[ "MIT" ]
null
null
null
tests/Clients/test_serializers.py
Sheshtawy/featurette
d3d75bcf11b7db6f46e35615656e694e13463d1d
[ "MIT" ]
null
null
null
from app.Clients.serializers import ClientSchema from app.Clients.models import Client class TestClientSchema(object): def test_init(self, app, db, session): johnClient = Client.create(name='john the client') client_schema = ClientSchema() result = client_schema.dump(johnClient).data ...
31.538462
58
0.7
48
410
5.916667
0.583333
0.049296
0.098592
0
0
0
0
0
0
0
0
0
0.197561
410
12
59
34.166667
0.863222
0
0
0
0
0
0.05122
0
0
0
0
0
0.222222
1
0.111111
false
0
0.222222
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d55da3bd990fcd7c4231a540e95539db3b6dd742
5,696
py
Python
palabox/apis/duolingo.py
marcoboucas/palabox
d6e937db909daac0f9d3c5dff2309c29b5b68ea8
[ "MIT" ]
null
null
null
palabox/apis/duolingo.py
marcoboucas/palabox
d6e937db909daac0f9d3c5dff2309c29b5b68ea8
[ "MIT" ]
null
null
null
palabox/apis/duolingo.py
marcoboucas/palabox
d6e937db909daac0f9d3c5dff2309c29b5b68ea8
[ "MIT" ]
null
null
null
"""Duolingo API.""" from dataclasses import dataclass from datetime import datetime import dacite import requests from .base import BaseApi, BaseApiConfig from .types.duolingo import DuolingoStats @dataclass class DuolingoApiConfig(BaseApiConfig): """DuolingoApiConfig.""" login: str = "" password: str...
53.233645
2,345
0.748244
667
5,696
5.991005
0.433283
0.04004
0.021021
0.02002
0.107608
0.107608
0.107608
0.107608
0.097097
0.097097
0
0.009344
0.154494
5,696
106
2,346
53.735849
0.82039
0.036868
0
0.266667
0
0.026667
0.525667
0.468445
0
0
0
0
0
1
0.093333
false
0.066667
0.08
0
0.426667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
d55dda708b14770945e0676691a296378b570ba7
4,157
py
Python
autofields/tests/autofield.py
lygaret/django-autofields
842a4624b727fabae77a6ad43faf198acf42ecb7
[ "BSD-3-Clause" ]
1
2015-05-01T23:53:01.000Z
2015-05-01T23:53:01.000Z
autofields/tests/autofield.py
lygaret/django-autofields
842a4624b727fabae77a6ad43faf198acf42ecb7
[ "BSD-3-Clause" ]
null
null
null
autofields/tests/autofield.py
lygaret/django-autofields
842a4624b727fabae77a6ad43faf198acf42ecb7
[ "BSD-3-Clause" ]
null
null
null
from django.test import TestCase from django.conf import settings from .. import fields from models import * from datetime import date incoming_markdown = "**bold**, *italic*" gen_html = "<p><strong>bold</strong>, <em>italic</em></p>" class AutoMarkdownTests(TestCase): def setUp(self): self.m = TestAutoD...
30.343066
59
0.618956
514
4,157
4.957198
0.169261
0.156986
0.117739
0.056515
0.324176
0.186028
0.010204
0.010204
0.010204
0.010204
0
0.032678
0.241761
4,157
136
60
30.566176
0.775698
0
0
0.111111
0
0
0.08612
0.006014
0
0
0
0
0.231481
1
0.166667
false
0
0.046296
0
0.259259
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d55e96c721c18cb1f3e8bef1df0d73fa400bed48
14,804
py
Python
tests/unit/service_test.py
TUNE-Archive/freight_forwarder
6ea4a49f474ec04abb8bb81b175c774a16b5312f
[ "MIT" ]
null
null
null
tests/unit/service_test.py
TUNE-Archive/freight_forwarder
6ea4a49f474ec04abb8bb81b175c774a16b5312f
[ "MIT" ]
null
null
null
tests/unit/service_test.py
TUNE-Archive/freight_forwarder
6ea4a49f474ec04abb8bb81b175c774a16b5312f
[ "MIT" ]
null
null
null
# -*- coding: utf-8; -*- from __future__ import absolute_import, unicode_literals import os import six from tests import unittest, mock from freight_forwarder.registry.registry import V1 from freight_forwarder.container.host_config import HostConfig from freight_forwarder.container.config import Config as ContainerCo...
42.056818
123
0.714469
1,693
14,804
5.972829
0.086828
0.061709
0.087223
0.068829
0.788667
0.72676
0.641317
0.53125
0.499901
0.363133
0
0.004734
0.200892
14,804
351
124
42.176638
0.850042
0.044853
0
0.368852
0
0
0.068423
0.042924
0
0
0
0.002849
0.340164
1
0.143443
false
0
0.032787
0
0.184426
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
d55efdb47af4ac34ac2686622df940350716567f
386
py
Python
lb_ec2_db.py
DiptoChakrabarty/diagrams
6efaff8b06b49c071bf243bc266f0be9fdd70afb
[ "MIT" ]
null
null
null
lb_ec2_db.py
DiptoChakrabarty/diagrams
6efaff8b06b49c071bf243bc266f0be9fdd70afb
[ "MIT" ]
null
null
null
lb_ec2_db.py
DiptoChakrabarty/diagrams
6efaff8b06b49c071bf243bc266f0be9fdd70afb
[ "MIT" ]
null
null
null
from diagrams import Diagram from diagrams.aws.compute import EC2 from diagrams.aws.database import RDS from diagrams.aws.network import ELB with Diagram("Grouped Workers",show=True,direction="TB"): ELB("lb") >> [EC2("node1"), EC2("node2"), EC2("node3"), ...
29.692308
57
0.562176
44
386
4.931818
0.568182
0.221198
0.207373
0
0
0
0
0
0
0
0
0.040441
0.295337
386
12
58
32.166667
0.757353
0
0
0
0
0
0.129534
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
0
0
0
null
1
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
1
0
1
0
0
0
0
4
d56065015acdcfc5b50c685207e82f83e0d13834
7,884
py
Python
cymlda.py
LaoWang-Lab/multi-dimensional-topic-model
bbebc15e595ac793a790646a2ff5d0677ec6b2de
[ "MIT" ]
1
2015-11-09T14:17:30.000Z
2015-11-09T14:17:30.000Z
cymlda.py
LaoWang-Lab/multi-dimensional-topic-model
bbebc15e595ac793a790646a2ff5d0677ec6b2de
[ "MIT" ]
null
null
null
cymlda.py
LaoWang-Lab/multi-dimensional-topic-model
bbebc15e595ac793a790646a2ff5d0677ec6b2de
[ "MIT" ]
null
null
null
__author__ = 'Linwei' import numpy as np import os, json, sys, re import _cymlda from settings import H, E, alpha, beta, gamma, docDir, outputDir, iter_max, run_num, dictionary, docset PY2 = sys.version_info[0] == 2 if PY2: range = xrange def n2s(counts): """convert a counts vector to corresponding samples"...
39.818182
146
0.539954
1,258
7,884
3.141494
0.148649
0.055668
0.037196
0.036437
0.293775
0.201164
0.129808
0.120192
0.111083
0.097925
0
0.017305
0.31101
7,884
197
147
40.020305
0.710236
0.09348
0
0.124224
0
0
0.025116
0
0
0
0
0
0.018634
1
0.062112
false
0
0.024845
0
0.099379
0.062112
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d56088b13e056734a3376fd9aad22a5e70b7c4da
8,223
py
Python
uos3/configUp/migrations/0001_initial.py
aliaksei135/telecommand-server
eb6f23f03ff75a18a5115f3038bb4d4192594627
[ "MIT" ]
null
null
null
uos3/configUp/migrations/0001_initial.py
aliaksei135/telecommand-server
eb6f23f03ff75a18a5115f3038bb4d4192594627
[ "MIT" ]
null
null
null
uos3/configUp/migrations/0001_initial.py
aliaksei135/telecommand-server
eb6f23f03ff75a18a5115f3038bb4d4192594627
[ "MIT" ]
1
2020-04-22T20:39:49.000Z
2020-04-22T20:39:49.000Z
# Generated by Django 2.2.6 on 2019-11-01 18:25 import datetime import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='config', fie...
75.440367
219
0.548705
718
8,223
6.157382
0.225627
0.083691
0.167383
0.123501
0.720651
0.708437
0.708437
0.706401
0.686949
0.684913
0
0.055333
0.301107
8,223
108
220
76.138889
0.713938
0.005472
0
0.33
1
0
0.134173
0.025196
0
0
0
0
0
1
0
false
0
0.03
0
0.07
0
0
0
0
null
0
0
0
0
1
1
1
0
1
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
5
d5617408fe61ad79898cc6e28c5136f3b8cef58c
3,176
py
Python
atom/factory.py
yoshiask/PyZuneCatalogServer
b176155f89e3a990456248175b458ba309b808e0
[ "MIT" ]
7
2021-02-21T10:45:25.000Z
2021-03-28T10:29:36.000Z
atom/factory.py
yoshiask/PyZuneCatalogServer
b176155f89e3a990456248175b458ba309b808e0
[ "MIT" ]
1
2022-02-16T08:18:36.000Z
2022-02-20T04:17:02.000Z
atom/factory.py
yoshiask/PyZuneCatalogServer
b176155f89e3a990456248175b458ba309b808e0
[ "MIT" ]
null
null
null
from typing import Dict, Any from xml.dom import minidom from xml.dom.minidom import Element, Document, Text from datetime import datetime MIME_XML = "text/xml" MIME_ATOM_XML = "application/atom+xml" MIME_UIX = "application/uix" MIME_JPG = "image/jpeg" def set_element_value(element: Element, value: str): content...
32.408163
118
0.71694
433
3,176
5.083141
0.184758
0.049977
0.094048
0.087233
0.284871
0.143117
0.063607
0.063607
0.063607
0.063607
0
0.005234
0.157746
3,176
97
119
32.742268
0.81757
0.004408
0
0.029412
0
0
0.081329
0
0
0
0
0
0
1
0.161765
false
0
0.058824
0
0.338235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d562d010288aefc6638d20954153035f7622937e
290
py
Python
snippets - machine learning sklearn/loading-data.py
bjfisica/MachineLearning
20349301ae7f82cd5048410b0cf1f7a5f7d7e5a2
[ "MIT" ]
52
2019-02-15T16:37:13.000Z
2022-02-17T18:34:30.000Z
snippets - machine learning sklearn/loading-data.py
RodeoBlues/Complete-Data-Science-Toolkits
c5e83889e24af825ec3baed6e8198debb135f1ff
[ "MIT" ]
null
null
null
snippets - machine learning sklearn/loading-data.py
RodeoBlues/Complete-Data-Science-Toolkits
c5e83889e24af825ec3baed6e8198debb135f1ff
[ "MIT" ]
22
2019-02-25T23:52:09.000Z
2021-09-21T03:09:35.000Z
import numpy as np X = np.random.random((10,5)) y = np.array(['M','M','F','F','M','F','M','M','F','F','F']) X[X < 0.7] = 0 #use model selection to split our data from sklearn.model_selection import train_test_split X_train, X_test, y_train, y_test = train_test_split(X, y, random_state=0)
36.25
73
0.665517
60
290
3.05
0.433333
0.032787
0.032787
0.043716
0
0
0
0
0
0
0
0.027451
0.12069
290
7
74
41.428571
0.690196
0.127586
0
0
0
0
0.043651
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
d564c433a41a9d425ea19b0dd2e0474e38611f74
3,296
py
Python
cyder/base/eav/models.py
drkitty/cyder
1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8
[ "BSD-3-Clause" ]
6
2015-04-16T23:18:22.000Z
2020-08-25T22:50:13.000Z
cyder/base/eav/models.py
drkitty/cyder
1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8
[ "BSD-3-Clause" ]
267
2015-01-01T00:18:57.000Z
2015-10-14T00:01:13.000Z
cyder/base/eav/models.py
drkitty/cyder
1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8
[ "BSD-3-Clause" ]
5
2015-03-23T00:57:09.000Z
2019-09-09T22:42:37.000Z
from django.db import models from cyder.base.eav.constants import (ATTRIBUTE_TYPES, ATTRIBUTE_INVENTORY, ATTRIBUTE_OPTION, ATTRIBUTE_STATEMENT) from cyder.base.eav.fields import AttributeValueTypeField, EAVValueField from cyder.base.eav.utils import is_hex_byte_sequence from cyder...
31.390476
79
0.646238
383
3,296
5.389034
0.331593
0.030523
0.044089
0.031008
0
0
0
0
0
0
0
0.00693
0.255765
3,296
104
80
31.692308
0.834488
0.151396
0
0.117647
0
0
0.064481
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0.058824
0.485294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d56541d5aa20af499f0418b573223a43ac7ab22d
982
py
Python
Sources/ui/mk_icons_android.py
codingisacopingstrategy/raduga
fab71b2c7630ac141c3cb588a6ff59edf5eb2072
[ "Apache-2.0" ]
null
null
null
Sources/ui/mk_icons_android.py
codingisacopingstrategy/raduga
fab71b2c7630ac141c3cb588a6ff59edf5eb2072
[ "Apache-2.0" ]
1
2015-06-22T10:26:55.000Z
2015-06-22T10:26:58.000Z
Sources/ui/mk_icons_android.py
codingisacopingstrategy/raduga
fab71b2c7630ac141c3cb588a6ff59edf5eb2072
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import subprocess import os """ Resize a PDF icon to to all icon sizes possibly required for Android, Uses OS X’s scriptable image processing system command line utility. http://straylink.wordpress.com/2009/01/24/os-x-command-line-image-manipulation/ On Linux, Ghostscript is your best bet! ...
30.6875
79
0.602851
119
982
4.966387
0.605042
0.126904
0.152284
0.219966
0
0
0
0
0
0
0
0.026846
0.241344
982
31
80
31.677419
0.766443
0.021385
0
0
0
0
0.417391
0.337681
0
0
0
0
0
1
0
false
0
0.117647
0
0.117647
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
d5672c64e05c057c731faac1ae947bf84604cb2e
12,071
py
Python
cldfbench_pulotu.py
D-PLACE/dplace-dataset-pulotu
a26070a803d75dc9cc67e8233d48eee0f9fa0fcd
[ "CC-BY-4.0" ]
null
null
null
cldfbench_pulotu.py
D-PLACE/dplace-dataset-pulotu
a26070a803d75dc9cc67e8233d48eee0f9fa0fcd
[ "CC-BY-4.0" ]
null
null
null
cldfbench_pulotu.py
D-PLACE/dplace-dataset-pulotu
a26070a803d75dc9cc67e8233d48eee0f9fa0fcd
[ "CC-BY-4.0" ]
null
null
null
import re import pathlib import subprocess import collections from clldutils.text import split_text from clldutils.misc import slug from cldfbench import Dataset as BaseDataset, CLDFSpec import errata # The following variables go into LanguageTable, we want to be able to identify these by ID: MD = { 'Latitude': ...
32.712737
109
0.515947
1,372
12,071
4.476676
0.338192
0.010257
0.012699
0.021166
0.144904
0.099153
0.092804
0.054054
0.054054
0.029958
0
0.043234
0.306354
12,071
369
110
32.712737
0.690075
0.033551
0
0.036036
0
0
0.258378
0.004038
0
0
0
0.00271
0.006006
1
0.018018
false
0
0.024024
0.003003
0.06006
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d56a97f82f78b9061fb5f7e8a3676e542e4c4969
1,908
py
Python
selenium/test_navbar.py
mattruston/idb
5c041f0a844fa025b920471bfe826fed0ce23c61
[ "MIT" ]
1
2017-10-19T21:46:35.000Z
2017-10-19T21:46:35.000Z
selenium/test_navbar.py
mattruston/idb
5c041f0a844fa025b920471bfe826fed0ce23c61
[ "MIT" ]
1
2017-09-22T15:24:27.000Z
2017-09-22T15:24:27.000Z
selenium/test_navbar.py
mattruston/idb
5c041f0a844fa025b920471bfe826fed0ce23c61
[ "MIT" ]
null
null
null
import unittest from selenium import webdriver from selenium.webdriver.common.keys import Keys class TestNavBar(unittest.TestCase): def setUp(self): self.driver = webdriver.Firefox() self.driver.get("http://gamingdb.info") def test_hit_site(self): self.assertIn("gamingdb", ...
31.278689
70
0.630503
230
1,908
4.943478
0.208696
0.067722
0.10642
0.131926
0.620932
0.493404
0.493404
0.493404
0.493404
0.493404
0
0
0.256813
1,908
61
71
31.278689
0.801834
0
0
0.408163
0
0
0.106544
0.038399
0
0
0
0
0.142857
1
0.163265
false
0
0.061224
0
0.244898
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d56c4f18f73c4cc41e3d1508894b7b35f74be651
4,724
py
Python
led/Feature.py
cloudy/osr-rover-code
07d370ae1cde75eaf2d279fcc7f220c95cf6d736
[ "Apache-2.0" ]
5
2019-02-13T20:15:27.000Z
2019-08-10T07:07:57.000Z
led/Feature.py
cloudy/osr-rover-code
07d370ae1cde75eaf2d279fcc7f220c95cf6d736
[ "Apache-2.0" ]
null
null
null
led/Feature.py
cloudy/osr-rover-code
07d370ae1cde75eaf2d279fcc7f220c95cf6d736
[ "Apache-2.0" ]
null
null
null
#Framework for FeatureData #Defines and controls Feature objects that can be placed on the Display #from Updater import Updater ''' Feature List Eye(style,x,y,[c1,c2]) 8bit wink ''' class Feature(): def __init__(self,Display,style,x,y,c): self.display = Display self.style = style self.x = x self.y = y ...
25.673913
71
0.696867
811
4,724
3.998767
0.107275
0.024669
0.194265
0.149245
0.715079
0.691027
0.683626
0.64909
0.610854
0.565217
0
0.037055
0.143099
4,724
183
72
25.814208
0.764081
0.135267
0
0.427481
0
0
0.006345
0
0
0
0
0
0
1
0.175573
false
0
0
0.030534
0.251908
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
d56cf4b8f7c59a6b0306ac4185b0f9d60b73fa75
1,390
py
Python
lyrics/models.py
stuntman723/rap-analyzer
46af59a16d2f48795f44c317eafa5143ed79b7bf
[ "MIT" ]
null
null
null
lyrics/models.py
stuntman723/rap-analyzer
46af59a16d2f48795f44c317eafa5143ed79b7bf
[ "MIT" ]
null
null
null
lyrics/models.py
stuntman723/rap-analyzer
46af59a16d2f48795f44c317eafa5143ed79b7bf
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Artist(models.Model): name = models.CharField(max_length=200) list_display = ('name') def __str__(self): return self.name class ListField(models.TextField): __metaclass__ = models.SubfieldBase description = "Stores a python li...
26.226415
56
0.657554
165
1,390
5.260606
0.418182
0.082949
0.079493
0.048387
0.0553
0.0553
0
0
0
0
0
0.002838
0.239568
1,390
53
57
26.226415
0.818354
0.017266
0
0.105263
0
0
0.027839
0
0
0
0
0
0
1
0.157895
false
0
0.026316
0.052632
0.842105
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
d56cf7a16d71912684f9735b1322042ef090fe2a
12,365
py
Python
mushr_rhc/cost/block_push.py
Rockett8855/mushr_rhc
79ea69020ce208c1000ab8a33e5774abf52d882d
[ "BSD-3-Clause" ]
null
null
null
mushr_rhc/cost/block_push.py
Rockett8855/mushr_rhc
79ea69020ce208c1000ab8a33e5774abf52d882d
[ "BSD-3-Clause" ]
null
null
null
mushr_rhc/cost/block_push.py
Rockett8855/mushr_rhc
79ea69020ce208c1000ab8a33e5774abf52d882d
[ "BSD-3-Clause" ]
null
null
null
import torch import math import threading import Tkinter as tk import mushr_rhc.utils as utils class BlockPush: def __init__( self, params, logger, dtype, map, world_rep, value_fn, viz_rollouts_fn ): self.params = params self.logger = logger self.dtype = dtype self.map ...
37.929448
103
0.559968
1,773
12,365
3.654822
0.1348
0.05679
0.059259
0.039506
0.45463
0.414198
0.37284
0.341975
0.31034
0.263889
0
0.029575
0.313627
12,365
325
104
38.046154
0.733946
0.143146
0
0.294118
0
0.004525
0.04431
0.022491
0
0
0
0
0.013575
1
0.045249
false
0
0.022624
0.004525
0.108597
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d56d17b418a5e4e2217bc6482393e687e1206211
935
py
Python
src/Modules/Communication/bluetooth.py
bopopescu/PyHouse_1
6444ed0b4c38ab59b9e419e4d54d65d598e6a54e
[ "MIT" ]
1
2016-09-21T19:30:21.000Z
2016-09-21T19:30:21.000Z
src/Modules/Communication/bluetooth.py
bopopescu/PyHouse_1
6444ed0b4c38ab59b9e419e4d54d65d598e6a54e
[ "MIT" ]
null
null
null
src/Modules/Communication/bluetooth.py
bopopescu/PyHouse_1
6444ed0b4c38ab59b9e419e4d54d65d598e6a54e
[ "MIT" ]
1
2020-07-23T11:13:36.000Z
2020-07-23T11:13:36.000Z
""" -*- test-case-name: PyHouse.src.Modules.communication.test.test_bluetooth -*- @name: PyHouse/src/Modules/communication/bluteooth.py @author: D. Brian Kimmel @contact: D.BrianKimmel@gmail.com @copyright: (c) 2013-2016 by D. Brian Kimmel @note: Created on Nov 18, 2013 @license: MIT License @summary:...
23.375
80
0.675936
129
935
4.72093
0.596899
0.098522
0.090312
0.068966
0.180624
0
0
0
0
0
0
0.019126
0.217112
935
39
81
23.974359
0.812842
0.496257
0
0.142857
0
0
0.065217
0
0
0
0
0
0
1
0.357143
false
0.142857
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
1
0
0
0
0
0
2
d56e2f18944e986ee97c42e87f550658e1b8ea3b
1,438
py
Python
Demo2_PageObjectModel/features/steps/PageObject_Admin.py
imademethink/imademethink_python_selenium_demo
cc364bda00e75eb9115c680ddea5e2fbca1d7acb
[ "BSD-4-Clause" ]
2
2019-04-05T05:09:14.000Z
2020-07-21T16:06:53.000Z
Demo2_PageObjectModel/features/steps/PageObject_Admin.py
imademethink/Python_Selenium_Demo
cc364bda00e75eb9115c680ddea5e2fbca1d7acb
[ "BSD-4-Clause" ]
1
2020-01-08T08:15:42.000Z
2020-01-08T08:15:42.000Z
Demo2_PageObjectModel/features/steps/PageObject_Admin.py
imademethink/Python_Selenium_Demo
cc364bda00e75eb9115c680ddea5e2fbca1d7acb
[ "BSD-4-Clause" ]
4
2018-04-13T08:28:53.000Z
2018-12-30T20:35:19.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- import time from page_objects import PageObject, PageElement from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions from selenium.webdriver.common.by import By delay_mi...
39.944444
120
0.769819
182
1,438
5.78022
0.395604
0.057034
0.091255
0.057034
0.36597
0.343156
0.306084
0.306084
0.218631
0.218631
0
0.0032
0.130737
1,438
35
121
41.085714
0.8384
0.034771
0
0.192308
0
0
0.075922
0.049168
0
0
0
0
0
1
0.115385
false
0
0.230769
0
0.653846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
d57009adc53facb72827aa979d3b948b07800f00
9,629
py
Python
theano/groundhog/models/LM_model.py
haxzie/deepAPI
12c11a40074a0a2893102f42859c9e01dc28df37
[ "MIT" ]
46
2018-09-14T10:33:28.000Z
2022-03-31T14:06:56.000Z
theano/groundhog/models/LM_model.py
haxzie/deepAPI
12c11a40074a0a2893102f42859c9e01dc28df37
[ "MIT" ]
8
2018-10-29T20:10:18.000Z
2022-03-29T06:04:08.000Z
theano/groundhog/models/LM_model.py
haxzie/deepAPI
12c11a40074a0a2893102f42859c9e01dc28df37
[ "MIT" ]
16
2018-11-07T08:20:35.000Z
2022-02-06T18:19:03.000Z
""" Implementation of a language model class. TODO: write more documentation """ __docformat__ = 'restructedtext en' __authors__ = ("Razvan Pascanu " "KyungHyun Cho " "Caglar Gulcehre ") __contact__ = "Razvan Pascanu <r.pascanu@gmail>" import numpy import itertools import logging impo...
40.120833
99
0.555094
1,145
9,629
4.4131
0.221834
0.021373
0.026123
0.045518
0.273105
0.172769
0.143677
0.136948
0.123887
0.114387
0
0.007403
0.368678
9,629
239
100
40.288703
0.82382
0.220895
0
0.148649
0
0
0.0383
0
0
0
0
0.004184
0.013514
1
0.033784
false
0
0.060811
0
0.114865
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0