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
d626dba52b0a7842d53cf5ec0b5e12be74777d16
1,187
py
Python
gpnn/factory.py
jiayixu64/graph-partition-neural-network-samples
7a8bc3f51e7aedad10b072ba91424a7d621d19a9
[ "MIT" ]
53
2017-12-04T09:51:31.000Z
2019-04-21T09:25:47.000Z
gpnn/factory.py
jiayixu64/graph-partition-neural-network-samples
7a8bc3f51e7aedad10b072ba91424a7d621d19a9
[ "MIT" ]
1
2019-02-05T12:03:51.000Z
2019-02-05T12:03:51.000Z
gpnn/factory.py
jiayixu64/graph-partition-neural-network-samples
7a8bc3f51e7aedad10b072ba91424a7d621d19a9
[ "MIT" ]
27
2019-05-21T22:33:37.000Z
2022-02-22T03:26:28.000Z
from __future__ import (absolute_import, division, print_function) import unittest class Factory(object): _registry = {} @classmethod def factory(cls, class_name): try: return cls._registry[class_name] except: raise ValueError( "Unknown class {} from factory {}".format(class_name...
17.984848
78
0.682393
133
1,187
5.766917
0.353383
0.05867
0.062581
0.057366
0
0
0
0
0
0
0
0
0.211457
1,187
65
79
18.261538
0.819444
0.007582
0
0.175
0
0
0.054422
0
0
0
0
0
0.05
1
0.175
false
0
0.05
0.05
0.6
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d627aab66f6fb83b672cf8f0f7b8ff79ffc8a809
1,381
py
Python
tests/account/views/test_sing_in_view.py
borislavstoychev/nails_project
fd6efc82489f59ba2e16cddd26485843794453ec
[ "MIT" ]
null
null
null
tests/account/views/test_sing_in_view.py
borislavstoychev/nails_project
fd6efc82489f59ba2e16cddd26485843794453ec
[ "MIT" ]
null
null
null
tests/account/views/test_sing_in_view.py
borislavstoychev/nails_project
fd6efc82489f59ba2e16cddd26485843794453ec
[ "MIT" ]
null
null
null
from tests.base.mixins import UserTestUtils, NailsTestUtils from tests.base.tests import NailsProjectTestCase from django.urls import reverse class SingInViewTest(NailsTestUtils, UserTestUtils,NailsProjectTestCase): def test_singInVieName_and_templateName(self): response = self.client.get(reverse('sign i...
46.033333
98
0.711079
153
1,381
6.281046
0.379085
0.056191
0.049948
0.083247
0.4641
0.39334
0.39334
0.39334
0.39334
0.39334
0
0.025416
0.173787
1,381
29
99
47.62069
0.816827
0
0
0.416667
0
0
0.136857
0.018103
0
0
0
0
0.25
1
0.125
false
0.166667
0.125
0
0.291667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d62f37bfea9f8802273cacbba71fec4c3b07bf93
329
py
Python
timelog/migrations/0003_remove_timelog_billable.py
lowjumpingfrog/timelogger
964bdcce9498c2c7355a4c28f844874dc05ae1d6
[ "MIT" ]
null
null
null
timelog/migrations/0003_remove_timelog_billable.py
lowjumpingfrog/timelogger
964bdcce9498c2c7355a4c28f844874dc05ae1d6
[ "MIT" ]
5
2020-06-05T17:34:11.000Z
2021-09-07T23:55:05.000Z
timelog/migrations/0003_remove_timelog_billable.py
lowjumpingfrog/timelogger
964bdcce9498c2c7355a4c28f844874dc05ae1d6
[ "MIT" ]
null
null
null
# Generated by Django 2.0.5 on 2018-05-31 09:55 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('timelog', '0002_timelog_billable'), ] operations = [ migrations.RemoveField( model_name='timelog', name='billable', ...
18.277778
47
0.592705
34
329
5.647059
0.764706
0
0
0
0
0
0
0
0
0
0
0.081897
0.294833
329
17
48
19.352941
0.74569
0.136778
0
0
1
0
0.152482
0.074468
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d631b0d8d2822e107ffb0d0ba6593d1b7d4859c6
1,534
py
Python
modules/sources/gymshack.py
shanwpf/priceless
0d5c424d576159e96cc78a9387586e2b72c6dc82
[ "MIT" ]
null
null
null
modules/sources/gymshack.py
shanwpf/priceless
0d5c424d576159e96cc78a9387586e2b72c6dc82
[ "MIT" ]
null
null
null
modules/sources/gymshack.py
shanwpf/priceless
0d5c424d576159e96cc78a9387586e2b72c6dc82
[ "MIT" ]
1
2018-02-03T15:31:04.000Z
2018-02-03T15:31:04.000Z
from bs4 import BeautifulSoup import requests URL_PREFIX = "https://sg.gymshack.com/search?q=" URL_PRODUCT_PREFIX = "https://sg.gymshack.com" REPLACE_SPACE_STRING = "+" def generate_url(search_str): return URL_PREFIX + search_str.replace(" ", REPLACE_SPACE_STRING) # The website uses a postfix to lead to their catal...
31.306122
89
0.732725
235
1,534
4.591489
0.374468
0.059314
0.038925
0.038925
0.196478
0.064875
0.064875
0
0
0
0
0.005279
0.135593
1,534
49
90
31.306122
0.808446
0.236636
0
0.064516
1
0
0.146048
0
0
0
0
0
0
1
0.16129
false
0
0.064516
0.096774
0.387097
0
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
d631fca88cac4778265ed5071952d0d0604571de
15,485
py
Python
lzutf8/lzutf8.py
TheCakeIsNaOH/xbs-to-archivebox
c684a55a133785a0afdda39023dc0fdb47590e56
[ "MIT" ]
3
2019-05-18T17:53:55.000Z
2020-08-18T21:17:30.000Z
lzutf8/lzutf8.py
TheCakeIsNaOH/xbs-to-archivebox
c684a55a133785a0afdda39023dc0fdb47590e56
[ "MIT" ]
2
2019-06-09T15:10:18.000Z
2020-09-27T08:55:35.000Z
lzutf8/lzutf8.py
TheCakeIsNaOH/xbs-to-archivebox
c684a55a133785a0afdda39023dc0fdb47590e56
[ "MIT" ]
2
2020-12-07T18:08:37.000Z
2021-07-08T15:01:50.000Z
""" Pure Python Implementation of the TypeScript library "LZ-UTF8" originally written by Rotem Dan. Python Code -> Copyright (c) 2019 b-01 Original Code -> Copyright (c) 2014-2018, Rotem Dan <rotemdan@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associ...
40.536649
141
0.643332
1,444
15,485
6.845568
0.25554
0.021244
0.014871
0.005665
0.113708
0.078503
0.034598
0.034598
0.026505
0.026505
0
0.02433
0.291314
15,485
381
142
40.643045
0.876435
0.235066
0
0.280172
0
0
0.008104
0
0
0
0.000938
0
0
1
0.112069
false
0.060345
0.00431
0.025862
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d639c4deaf859e0fdee8bd35a062b0dd5d1847e9
2,222
py
Python
experiments/src/drivers/jcute/make-jcute-drivers.py
handysama/concolic-walk
a550dbbd5390895f2fec37adb65fd5b8f3e6a5fe
[ "MIT" ]
1
2021-02-28T10:11:46.000Z
2021-02-28T10:11:46.000Z
experiments/src/drivers/jcute/make-jcute-drivers.py
handysama/concolic-walk
a550dbbd5390895f2fec37adb65fd5b8f3e6a5fe
[ "MIT" ]
null
null
null
experiments/src/drivers/jcute/make-jcute-drivers.py
handysama/concolic-walk
a550dbbd5390895f2fec37adb65fd5b8f3e6a5fe
[ "MIT" ]
null
null
null
#!/usr/bin/python2 from __future__ import print_function __DESCRIPTION="""Generates boilerplate jCUTE test drivers for all the public static methods in a class. Usage: javap Benchmark.class | make-jcute-drivers.py """ import re import sys import textwrap from context...
29.236842
124
0.593609
259
2,222
4.949807
0.420849
0.028081
0.034321
0.0117
0.085023
0.040562
0
0
0
0
0
0.000592
0.240324
2,222
75
125
29.626667
0.758886
0.007651
0
0.036364
1
0.018182
0.305808
0.057623
0
0
0
0
0
1
0.018182
false
0
0.109091
0
0.145455
0.054545
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
d63d79c79c288d99b99745f2e7fe048402bbf3aa
351
py
Python
01-basics/app-loops.py
vitoOmbero/python-notes
062c05c216d8a59678868d62dd5aacea6249e0b2
[ "Unlicense" ]
null
null
null
01-basics/app-loops.py
vitoOmbero/python-notes
062c05c216d8a59678868d62dd5aacea6249e0b2
[ "Unlicense" ]
null
null
null
01-basics/app-loops.py
vitoOmbero/python-notes
062c05c216d8a59678868d62dd5aacea6249e0b2
[ "Unlicense" ]
null
null
null
print("/"*20) # lol stlist = ["qwev", "kleb", "lew", "fvb", "eivf", "igsi", "ycgbayg"] for s in stlist: if s.startswith("A"): print("Found!") break else: print("Not found") print("/"*20) answer = 42 guess = 0 while answer != guess: guess = int(input("Guess the number: ")) else: pass...
14.625
66
0.538462
47
351
4.021277
0.702128
0.074074
0
0
0
0
0
0
0
0
0
0.026415
0.245014
351
23
67
15.26087
0.686792
0.042735
0
0.25
0
0
0.201201
0
0
0
0
0
0
1
0
false
0.0625
0
0
0
0.3125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d63dd5f720dbe8e494688f4aa0b83640a13408d1
342
py
Python
regexPhoneSearch.py
jinsuki/automate-python-side-projects
2c979a1746391488ab0de07c586e7f3fdaf2e991
[ "MIT" ]
null
null
null
regexPhoneSearch.py
jinsuki/automate-python-side-projects
2c979a1746391488ab0de07c586e7f3fdaf2e991
[ "MIT" ]
null
null
null
regexPhoneSearch.py
jinsuki/automate-python-side-projects
2c979a1746391488ab0de07c586e7f3fdaf2e991
[ "MIT" ]
null
null
null
# \d = digit from 0 to 9; \d\d\d-\d\d\d-\d\d\d\d like phone number # {3} = match this pattern 3-times; \d{3} = \d\d\d; \d{3}-\d{3}-\d{4} import re phoneNumRegex = re.compile(r'(\(\d{3}\))-(\d{3})-(\d{4})') mo = phoneNumRegex.search('My number is 415-555-4242.') print('Phone Number Found: ' + mo.group()) print('Area C...
34.2
69
0.584795
69
342
2.898551
0.478261
0.12
0.15
0.16
0.11
0.11
0.05
0.05
0.05
0
0
0.074576
0.137427
342
9
70
38
0.60339
0.385965
0
0
0
0
0.405797
0.130435
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d640c0477968e29793c51339eb87a0927fe5819e
981
py
Python
RPS game.py
onyebuchidaniel60/Rock-paper-scissors-
5b5737791e1aaa057ab09bb54e10ea8053c42960
[ "MIT" ]
null
null
null
RPS game.py
onyebuchidaniel60/Rock-paper-scissors-
5b5737791e1aaa057ab09bb54e10ea8053c42960
[ "MIT" ]
null
null
null
RPS game.py
onyebuchidaniel60/Rock-paper-scissors-
5b5737791e1aaa057ab09bb54e10ea8053c42960
[ "MIT" ]
null
null
null
import random userinput= input("Rock,paper, or scissors?") game=["Rock","paper","scissors"] try: if userinput==game[0]: print("Rock") computer=random.choice(game) print(computer) elif userinput==game[1]: print("paper") computer=random.choice(game) print(computer)...
27.25
50
0.605505
127
981
4.677165
0.23622
0.19697
0.200337
0.121212
0.691919
0.691919
0.481481
0.481481
0.481481
0.299663
0
0.020107
0.239551
981
35
51
28.028571
0.776139
0
0
0.363636
0
0
0.119266
0
0
0
0
0
0
1
0
false
0
0.030303
0
0.030303
0.393939
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
d6443bc0c1c48d2692f486d76b2939846b19af60
5,500
py
Python
pixel2world/convert_data.py
cwiens32/pixel2world_base
fbb1c0e7828ef1013bcb9fb8a577556b08b7af52
[ "MIT" ]
null
null
null
pixel2world/convert_data.py
cwiens32/pixel2world_base
fbb1c0e7828ef1013bcb9fb8a577556b08b7af52
[ "MIT" ]
null
null
null
pixel2world/convert_data.py
cwiens32/pixel2world_base
fbb1c0e7828ef1013bcb9fb8a577556b08b7af52
[ "MIT" ]
null
null
null
def combine_data(dict_in): """ Combine data from all cameras on the column 'frame' This ensures data matches and is the same length It will add the file name to the column names to distinguish from where the data came. So the file name needs to contain the camera name (this will be how later fu...
37.162162
124
0.603818
783
5,500
4.09834
0.210728
0.018697
0.013711
0.012465
0.663758
0.643191
0.635712
0.635712
0.635712
0.635712
0
0.012448
0.298909
5,500
148
125
37.162162
0.819761
0.444727
0
0.527273
0
0
0.154065
0
0
0
0
0
0
1
0.054545
false
0
0.127273
0
0.236364
0.018182
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d649e21ae9a82aa3ce0accca5e4b9ed02b48a0aa
2,906
py
Python
python/util.py
clslgrnc/moonlight
0bb2538103ef13ca58895af329474dee1e0235ac
[ "Apache-2.0" ]
null
null
null
python/util.py
clslgrnc/moonlight
0bb2538103ef13ca58895af329474dee1e0235ac
[ "Apache-2.0" ]
null
null
null
python/util.py
clslgrnc/moonlight
0bb2538103ef13ca58895af329474dee1e0235ac
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 The Australian National University # # This software is the result of a joint project between the Defence Science # and Technology Group and the Australian National University. It was enabled # as part of a Next Generation Technology Fund grant: # see https://www.dst.defence.gov.au/nextgentechfund # # ...
31.934066
78
0.625258
347
2,906
5.115274
0.487032
0.033803
0.023662
0.03493
0
0
0
0
0
0
0
0.003931
0.299725
2,906
90
79
32.288889
0.868305
0.410186
0
0.047619
0
0
0.042978
0.013923
0
0
0
0
0
1
0.047619
false
0.119048
0.119048
0
0.238095
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d64f1794b1fc2d5e80c679fc0997debfb2988de5
2,943
py
Python
back/web/tran/migrations/0044_auto_20200613_0724.py
wda43779/fine-water-flow
8f7773ee4e8fde7ebe1279842090c3c8158c634e
[ "BSD-2-Clause" ]
26
2019-08-27T13:40:58.000Z
2021-07-22T16:53:38.000Z
back/web/tran/migrations/0044_auto_20200613_0724.py
wda43779/fine-water-flow
8f7773ee4e8fde7ebe1279842090c3c8158c634e
[ "BSD-2-Clause" ]
5
2019-12-05T00:22:47.000Z
2022-02-10T12:55:24.000Z
back/web/tran/migrations/0044_auto_20200613_0724.py
wda43779/fine-water-flow
8f7773ee4e8fde7ebe1279842090c3c8158c634e
[ "BSD-2-Clause" ]
9
2019-06-07T09:41:35.000Z
2021-07-22T16:53:39.000Z
# Generated by Django 2.2.3 on 2020-06-13 07:24 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('tran', '0043_auto_202006...
48.245902
156
0.572205
318
2,943
5.172956
0.323899
0.038906
0.059574
0.093617
0.643161
0.643161
0.621277
0.621277
0.533739
0.533739
0
0.021818
0.252463
2,943
60
157
49.05
0.725909
0.015291
0
0.574074
1
0
0.094613
0.007942
0
0
0
0
0
1
0
false
0
0.055556
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d656e3797a57c06e313675b814df016b935d8d83
4,172
py
Python
lib/python/ams_ex.py
MeitalRann/Feature-and-Arcitecture-Study-for-Speech-Activity-Detection
1f37d2090c41081ccedc0dd1fa0d1721b026b396
[ "MIT" ]
1
2021-01-13T00:09:02.000Z
2021-01-13T00:09:02.000Z
lib/python/ams_ex.py
MeitalRann/Feature-and-Arcitecture-Study-for-Speech-Activity-Detection
1f37d2090c41081ccedc0dd1fa0d1721b026b396
[ "MIT" ]
null
null
null
lib/python/ams_ex.py
MeitalRann/Feature-and-Arcitecture-Study-for-Speech-Activity-Detection
1f37d2090c41081ccedc0dd1fa0d1721b026b396
[ "MIT" ]
null
null
null
import math from scipy.signal import butter, lfilter, decimate import numpy as np from feature_extractor import stft_extractor # Meital's version: # Based on the papers: # 1. "An algorithm that improves speech intelligibility in noise for normal-hearing listeners" # 2. "Deep Neural Networks for Multi-Room Voic...
35.965517
126
0.559444
734
4,172
3.088556
0.26158
0.026467
0.01588
0.01985
0.203794
0.154389
0.104102
0.104102
0.065285
0.065285
0
0.104926
0.289549
4,172
115
127
36.278261
0.659919
0.217402
0
0.046512
0
0
0.01853
0
0
0
0
0
0
1
0.069767
false
0.05814
0.046512
0
0.186047
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d65bbac3efe01a0635e1a7761eb78db4d8730969
2,916
py
Python
cookbook/mediumweight.py
tjguk/active_directory2
0338ea9ea168fd37869689c108fe08f716408c95
[ "MIT" ]
2
2016-05-30T14:15:42.000Z
2021-05-15T03:26:22.000Z
cookbook/mediumweight.py
tjguk/active_directory2
0338ea9ea168fd37869689c108fe08f716408c95
[ "MIT" ]
null
null
null
cookbook/mediumweight.py
tjguk/active_directory2
0338ea9ea168fd37869689c108fe08f716408c95
[ "MIT" ]
null
null
null
"""The ADSimple class wraps an ADSI com object with very simple attribute read and write functionality plus a method to dump the contents looking like a dictionary. It does very little validation of the path or the attributes and does no conversion of the values returned. """ from active_directory import core qs ...
34.714286
99
0.759259
396
2,916
5.535354
0.44697
0.041058
0.043339
0.04562
0.182938
0.148723
0.114964
0.114964
0.088504
0.088504
0
0.011905
0.164609
2,916
83
100
35.13253
0.887931
0
0
0.4
0
0
0.225434
0.123956
0
0
0
0
0
0
null
null
0.04
0.16
null
null
0.18
0
0
0
null
0
0
0
0
0
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
c3846cc69c9a2235fd62dc30bddad7c518cbdbd5
1,356
py
Python
tests/test_modules/modules.py
csash/dftimewolf
aab17a7c12a49c959cd89307073ee9415937d016
[ "Apache-2.0" ]
null
null
null
tests/test_modules/modules.py
csash/dftimewolf
aab17a7c12a49c959cd89307073ee9415937d016
[ "Apache-2.0" ]
null
null
null
tests/test_modules/modules.py
csash/dftimewolf
aab17a7c12a49c959cd89307073ee9415937d016
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """Contains dummy modules used in tests.""" from __future__ import print_function, unicode_literals from dftimewolf.lib import module class DummyModule1(module.BaseModule): """This is a dummy module.""" def __init__(self, state): super(DummyModule1, self).__init__(state) self.na...
25.111111
60
0.668142
155
1,356
5.651613
0.290323
0.082192
0.116438
0.143836
0.675799
0.571918
0.541096
0.495434
0.495434
0.495434
0
0.006284
0.178466
1,356
53
61
25.584906
0.780072
0.273599
0
0.538462
0
0
0.081633
0
0
0
0
0
0
1
0.346154
false
0
0.076923
0
0.538462
0.269231
0
0
0
null
0
0
0
0
0
0
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
c384a9cdb62dfd26127ef7f365a36d028e36b6ff
1,688
py
Python
analysis/lib/util.py
astutespruce/sarp
7ce503380440c47b762ed1a8efd1d3e3aab6605e
[ "MIT" ]
5
2020-07-10T16:13:26.000Z
2022-03-02T05:06:30.000Z
analysis/lib/util.py
astutespruce/sarp
7ce503380440c47b762ed1a8efd1d3e3aab6605e
[ "MIT" ]
23
2019-06-02T14:37:53.000Z
2019-10-23T17:59:40.000Z
analysis/lib/util.py
astutespruce/sarp
7ce503380440c47b762ed1a8efd1d3e3aab6605e
[ "MIT" ]
2
2020-05-27T23:28:36.000Z
2020-12-14T22:10:24.000Z
import pandas as pd import numpy as np def append(target_df, df): """Append df to the end of target_df. Intended to be used in a loop where you are appending multiple dataframes together. Parameters ---------- target_df : GeoDataFrame or DataFrame May be none for the first append ope...
24.114286
95
0.631517
231
1,688
4.554113
0.441558
0.045627
0.065589
0.047529
0
0
0
0
0
0
0
0.004898
0.274289
1,688
69
96
24.463768
0.853878
0.417654
0
0
0
0
0.060364
0
0
0
0
0
0
1
0.16
false
0
0.08
0
0.52
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
c38eae881d125d17bd431d30fc802c4f844e5a16
786
py
Python
django_env/codigo_penal/titulos_app/migrations/0009_auto_20171206_2111.py
bopopescu/codigo-penal-digital
95e33f750d242ecd3100b32c529dc0b418a3d975
[ "MIT" ]
null
null
null
django_env/codigo_penal/titulos_app/migrations/0009_auto_20171206_2111.py
bopopescu/codigo-penal-digital
95e33f750d242ecd3100b32c529dc0b418a3d975
[ "MIT" ]
null
null
null
django_env/codigo_penal/titulos_app/migrations/0009_auto_20171206_2111.py
bopopescu/codigo-penal-digital
95e33f750d242ecd3100b32c529dc0b418a3d975
[ "MIT" ]
1
2020-07-23T17:53:27.000Z
2020-07-23T17:53:27.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-12-06 21:11 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('titulos_app', '0008_crimetype_category'), ] operations = [ migrations.AddFi...
25.354839
74
0.581425
79
786
5.607595
0.632911
0.060948
0.13544
0.130926
0.311512
0.180587
0
0
0
0
0
0.056261
0.298982
786
30
75
26.2
0.747731
0.086514
0
0.304348
1
0
0.113287
0.032168
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
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
c390baf647845dcb0e836bba0d26d22474385bd6
3,418
py
Python
toolbox/db/api/sql_connection.py
Alexd14/toolbox
cf834994352d2d997124e69bc7ff43bcd6ac145f
[ "MIT" ]
null
null
null
toolbox/db/api/sql_connection.py
Alexd14/toolbox
cf834994352d2d997124e69bc7ff43bcd6ac145f
[ "MIT" ]
null
null
null
toolbox/db/api/sql_connection.py
Alexd14/toolbox
cf834994352d2d997124e69bc7ff43bcd6ac145f
[ "MIT" ]
null
null
null
from typing import Optional import duckdb from toolbox.db.settings import DB_CONNECTION_STRING class SQLConnection: """ Provides a lazy connection to a duckdb database """ def __init__(self, connection_string: Optional[str] = None, read_only: bool = True) -> None: """ :param connect...
32.865385
107
0.630778
420
3,418
4.930952
0.22619
0.169966
0.084983
0.038629
0.224529
0.119266
0.119266
0.119266
0.119266
0.098503
0
0
0.293739
3,418
103
108
33.184466
0.857912
0.323874
0
0.195122
0
0
0.050607
0.011134
0
0
0
0
0
1
0.219512
false
0.02439
0.073171
0
0.439024
0
0
0
0
null
0
0
0
0
0
0
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
c396b922e6854f9059da53e5dd48d01040c26979
1,139
py
Python
day20/day20-2.py
RobinRH/advent-of-code-2016
dcf5611e58963d0433ae8f8f033a05b78ce658b7
[ "MIT" ]
null
null
null
day20/day20-2.py
RobinRH/advent-of-code-2016
dcf5611e58963d0433ae8f8f033a05b78ce658b7
[ "MIT" ]
null
null
null
day20/day20-2.py
RobinRH/advent-of-code-2016
dcf5611e58963d0433ae8f8f033a05b78ce658b7
[ "MIT" ]
null
null
null
# 119 # # https://adventofcode.com/2016/day/20 import sys import pprint filename = sys.argv[1] with open(filename, 'r') as inputFile: lines = list(inputFile) intervals = {} for line in lines: tokens = line.strip().split('-') interval = [int(s) for s in tokens] intervals[interval[0]] = interval sorte...
23.244898
52
0.657594
133
1,139
5.631579
0.481203
0.069426
0.050734
0.061415
0
0
0
0
0
0
0
0.028409
0.227392
1,139
48
53
23.729167
0.822727
0.100088
0
0.064516
0
0
0.001963
0
0
0
0
0
0
0
null
null
0
0.064516
null
null
0.064516
0
0
0
null
0
0
0
0
0
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
c3994e857ad786403ca45e6ddd0bf13f31707920
3,970
py
Python
dcodex_lectionary/migrations/0030_auto_20201119_2131.py
rbturnbull/dcodex_lectionary
9a4787eb353d09fef023cd82af8859a7ee041aee
[ "Apache-2.0" ]
null
null
null
dcodex_lectionary/migrations/0030_auto_20201119_2131.py
rbturnbull/dcodex_lectionary
9a4787eb353d09fef023cd82af8859a7ee041aee
[ "Apache-2.0" ]
2
2021-08-09T01:11:59.000Z
2021-08-09T01:12:49.000Z
dcodex_lectionary/migrations/0030_auto_20201119_2131.py
rbturnbull/dcodex_lectionary
9a4787eb353d09fef023cd82af8859a7ee041aee
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.11 on 2020-11-19 10:31 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('contenttypes', '0002_remove_content_type_name'), ('dcodex_lectionary', '0029_auto_20201116_2119'), ] opera...
47.261905
225
0.58262
372
3,970
6.034946
0.333333
0.078396
0.129176
0.068597
0.571492
0.571492
0.509131
0.464143
0.464143
0.424053
0
0.019058
0.273048
3,970
83
226
47.831325
0.758836
0.011587
0
0.545455
1
0
0.236359
0.102754
0
0
0
0
0
1
0
false
0
0.025974
0
0.064935
0
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
c39ba747d1b75e7359a98e5b180772360151b3b6
358
py
Python
example/server/resources.py
BradleyKirton/arel
38c2cca060ed0a7c5e433b917104e012ee2312c6
[ "MIT" ]
null
null
null
example/server/resources.py
BradleyKirton/arel
38c2cca060ed0a7c5e433b917104e012ee2312c6
[ "MIT" ]
null
null
null
example/server/resources.py
BradleyKirton/arel
38c2cca060ed0a7c5e433b917104e012ee2312c6
[ "MIT" ]
null
null
null
from starlette.templating import Jinja2Templates import arel from . import settings from .content import load_pages hotreload = arel.HotReload(str(settings.PAGES_DIR), on_reload=[load_pages]) templates = Jinja2Templates(directory=str(settings.TEMPLATES_DIR)) templates.env.globals["DEBUG"] = settings.DEBUG templates...
27.538462
75
0.812849
44
358
6.5
0.454545
0.062937
0.132867
0
0
0
0
0
0
0
0
0.006116
0.086592
358
12
76
29.833333
0.868502
0
0
0
0
0
0.039106
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c3a28772e5708e1556f0c15fa0b400ef79aac45d
968
py
Python
{{cookiecutter.project_name}}/setup.py
hclimente/cookiecutter-bioML
d04d4b43e1fab301973de3c6e95aa57e25ad5b1b
[ "MIT" ]
null
null
null
{{cookiecutter.project_name}}/setup.py
hclimente/cookiecutter-bioML
d04d4b43e1fab301973de3c6e95aa57e25ad5b1b
[ "MIT" ]
1
2021-11-11T15:57:25.000Z
2021-11-11T15:57:25.000Z
{{cookiecutter.project_name}}/setup.py
hclimente/cookiecutter-bioML
d04d4b43e1fab301973de3c6e95aa57e25ad5b1b
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages with open("README.md", "r") as file: readme = file.read() setup( name = '{{cookiecutter.project_name}}' packages = find_packages(), package_dir = {'{{cookiecutter.project_name}}': '{{cookiecutter.project_name}}'}, version = '0.1', description = '{{cookiecutter.project...
34.571429
91
0.697314
104
968
6.326923
0.673077
0.144377
0.139818
0.082067
0
0
0
0
0
0
0
0.008333
0.132231
968
27
92
35.851852
0.775
0
0
0
0
0
0.561983
0.205579
0
0
0
0
0
0
null
null
0
0.04
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c3a68e8af4901d14b405f8a2fc855a454bf43ef8
2,104
py
Python
backend/opsbot/default_config.py
TencentBlueKing/bk-chatbot
da37fb2197142eae32158cdb5c2b658100133fff
[ "MIT" ]
11
2021-05-27T11:45:02.000Z
2022-03-29T15:03:28.000Z
backend/opsbot/default_config.py
hchicken/bk-chatbot
da37fb2197142eae32158cdb5c2b658100133fff
[ "MIT" ]
2
2021-08-16T03:59:19.000Z
2021-09-29T09:31:39.000Z
backend/opsbot/default_config.py
hchicken/bk-chatbot
da37fb2197142eae32158cdb5c2b658100133fff
[ "MIT" ]
12
2021-05-27T11:59:18.000Z
2022-03-17T07:21:53.000Z
""" TencentBlueKing is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaSCommunity Edition) available. Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the...
30.941176
75
0.759981
288
2,104
5.434028
0.611111
0.038339
0.053674
0.020447
0
0
0
0
0
0
0
0.020442
0.139734
2,104
67
76
31.402985
0.844199
0.335551
0
0
0
0
0.096226
0.021698
0
0
0
0
0
1
0
true
0
0.111111
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
c3bbc46db3ef895081868c52536bdd061c0d0594
320
py
Python
FINAL_PROJECT/voctococo/script_tmp.py
lphuong304/CS114.L21---MACHINE-LEARNING
992fbbde0b0d7214475e05408b9b57d2b98c0d04
[ "MIT" ]
2
2021-03-29T02:05:57.000Z
2021-05-10T06:18:09.000Z
FINAL_PROJECT/voctococo/script_tmp.py
lphuong304/CS114.L21---MACHINE-LEARNING
992fbbde0b0d7214475e05408b9b57d2b98c0d04
[ "MIT" ]
null
null
null
FINAL_PROJECT/voctococo/script_tmp.py
lphuong304/CS114.L21---MACHINE-LEARNING
992fbbde0b0d7214475e05408b9b57d2b98c0d04
[ "MIT" ]
19
2021-03-02T08:20:37.000Z
2022-03-14T02:38:56.000Z
f_1 = open("C:/repos/voc2coco/sample/valid.txt", "r") #f_2 = open("sample_ouput.txt", "r") f_3 = open("C:/repos/voc2coco/sample/annpaths_list.txt", "w") for l_1 in f_1: result = "./sample/Annotations/" + l_1.replace("\n", "") + ".xml\n" f_3.writelines(result) f_1.close() #f_2.close() f_3.close()
24.615385
72
0.609375
56
320
3.267857
0.464286
0.032787
0.10929
0.196721
0.262295
0
0
0
0
0
0
0.04461
0.159375
320
12
73
26.666667
0.635688
0.14375
0
0
0
0
0.411538
0.373077
0
0
0
0
0
1
0
false
0
0
0
0
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
c3cab2a320dda918f36841446556b86c28597800
8,112
py
Python
qmt/data/part_data.py
DalavanCloud/qmt
ea5d234012a1d1d39f34834ac9f2007c2a6d4852
[ "MIT" ]
1
2018-09-30T00:45:53.000Z
2018-09-30T00:45:53.000Z
qmt/data/part_data.py
DalavanCloud/qmt
ea5d234012a1d1d39f34834ac9f2007c2a6d4852
[ "MIT" ]
null
null
null
qmt/data/part_data.py
DalavanCloud/qmt
ea5d234012a1d1d39f34834ac9f2007c2a6d4852
[ "MIT" ]
null
null
null
from qmt.data.template import Data class Part3DData(Data): def __init__( self, label, fc_name, directive, domain_type=None, material=None, z0=0, thickness=None, target_wire=None, shell_verts=None, depo_mode=None, z_middle=None, t_in=None, t_out=None, layer_num=None,...
61.454545
123
0.602318
1,035
8,112
4.601932
0.281159
0.023095
0.014697
0.011337
0.144867
0.116313
0.092799
0.080202
0.072223
0.055847
0
0.005601
0.339744
8,112
131
124
61.923664
0.883682
0.621055
0
0
0
0
0.100238
0
0
0
0
0.015267
0
1
0.038462
false
0
0.038462
0
0.115385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c3caee1def7f7cd8b1f0591a3cf8ab1d775b68b7
701
py
Python
setup.py
philippbosch/muto
24568e0e04a100188c893262c8326fe70ee5801a
[ "MIT" ]
1
2015-12-15T06:34:03.000Z
2015-12-15T06:34:03.000Z
setup.py
philippbosch/muto
24568e0e04a100188c893262c8326fe70ee5801a
[ "MIT" ]
null
null
null
setup.py
philippbosch/muto
24568e0e04a100188c893262c8326fe70ee5801a
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='muto', version=__import__('muto').__version__, description='Server and corresponding client library for ImageMagick-based image manipulation and conversion', author='Philipp Bosch', author_email='hello@pb.io', url='http://github.com/phili...
31.863636
114
0.660485
72
701
6.25
0.833333
0.053333
0
0
0
0
0
0
0
0
0
0.001821
0.216833
701
21
115
33.380952
0.817851
0
0
0
0
0
0.513552
0
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
c3cce374a0d7f1d01ac0e24898e3d751f1251eeb
1,430
py
Python
fchat client/testgui.py
FurtiveFox/fchat_mod
290d19da97305938cf63b472e5e859f071fceb4d
[ "MIT" ]
null
null
null
fchat client/testgui.py
FurtiveFox/fchat_mod
290d19da97305938cf63b472e5e859f071fceb4d
[ "MIT" ]
null
null
null
fchat client/testgui.py
FurtiveFox/fchat_mod
290d19da97305938cf63b472e5e859f071fceb4d
[ "MIT" ]
null
null
null
import tkinter as tk from tkinter import ttk from tksupport import LabelInput as LI class loginwindow(tk.Tk): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.title("Login") # self.geometry("300x200") self.resizable(width=False, height=False) logi...
32.5
137
0.641259
180
1,430
4.911111
0.372222
0.056561
0.024887
0.042986
0.08371
0.08371
0.08371
0.08371
0
0
0
0.023684
0.202797
1,430
43
138
33.255814
0.751754
0.025874
0
0
0
0
0.074261
0
0
0
0
0
0
1
0.103448
false
0.068966
0.103448
0
0.275862
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c3cfcfb48bc2074ea8254cf14d54d6eab42c3a58
2,630
py
Python
hzclient/proxy/topicproxy.py
hazelcast-incubator/hazelcast-python-client
5ec6c908916a6adef648059314923c0dbf71557b
[ "Apache-2.0" ]
null
null
null
hzclient/proxy/topicproxy.py
hazelcast-incubator/hazelcast-python-client
5ec6c908916a6adef648059314923c0dbf71557b
[ "Apache-2.0" ]
null
null
null
hzclient/proxy/topicproxy.py
hazelcast-incubator/hazelcast-python-client
5ec6c908916a6adef648059314923c0dbf71557b
[ "Apache-2.0" ]
null
null
null
__author__ = 'jonathanbrodie' from hzclient.codec import proxycodec from hzclient.codec import topiccodec from hzclient.clientmessage import ClientMessage from util import encode import datetime class TopicProxy(object): def __init__(self,title,connfamily): self.title=title self.connection=connfam...
46.964286
137
0.762738
230
2,630
8.686957
0.304348
0.112112
0.055055
0.098098
0.433934
0.307307
0.253253
0.253253
0.253253
0.253253
0
0.002715
0.159696
2,630
56
138
46.964286
0.901357
0
0
0.367347
0
0
0.035728
0
0
0
0
0
0
0
null
null
0
0.102041
null
null
0.040816
0
0
0
null
0
0
0
0
0
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
c3d700a7d2bfde2ecce76a0476caf4fe67c5227b
1,688
py
Python
cloudrail/knowledge/rules/aws/non_context_aware/protocol_enforcments/ensure_cloudfront_protocol_version_is_good.py
my-devops-info/cloudrail-knowledge
b7c1bbd6fe1faeb79c105a01c0debbe24d031a0e
[ "MIT" ]
null
null
null
cloudrail/knowledge/rules/aws/non_context_aware/protocol_enforcments/ensure_cloudfront_protocol_version_is_good.py
my-devops-info/cloudrail-knowledge
b7c1bbd6fe1faeb79c105a01c0debbe24d031a0e
[ "MIT" ]
null
null
null
cloudrail/knowledge/rules/aws/non_context_aware/protocol_enforcments/ensure_cloudfront_protocol_version_is_good.py
my-devops-info/cloudrail-knowledge
b7c1bbd6fe1faeb79c105a01c0debbe24d031a0e
[ "MIT" ]
null
null
null
from typing import List, Dict from packaging import version from cloudrail.knowledge.context.aws.aws_environment_context import AwsEnvironmentContext from cloudrail.knowledge.rules.aws.aws_base_rule import AwsBaseRule from cloudrail.knowledge.rules.base_rule import Issue from cloudrail.knowledge.rules.rule_parameters...
44.421053
144
0.7109
190
1,688
6.057895
0.394737
0.125109
0.076455
0.070374
0.083406
0.083406
0.083406
0
0
0
0
0.009716
0.207346
1,688
37
145
45.621622
0.850523
0
0
0
0
0
0.166469
0.097156
0
0
0
0
0
1
0.142857
false
0
0.214286
0.071429
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
c3d85df07bc486b4bd49b3b46dd14ec7b780049f
1,253
py
Python
scripts/bip70.py
rt121212121/electrumsv
3412bbacd3fdacc30c5497586c675430c4f8f6cc
[ "MIT" ]
null
null
null
scripts/bip70.py
rt121212121/electrumsv
3412bbacd3fdacc30c5497586c675430c4f8f6cc
[ "MIT" ]
null
null
null
scripts/bip70.py
rt121212121/electrumsv
3412bbacd3fdacc30c5497586c675430c4f8f6cc
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # create a BIP70 payment request signed with a certificate import sys import tlslite # pylint: disable=import-error from electrumsv.transaction import Transaction # from electrumsv import paymentrequest from electrumsv import paymentrequest_pb2 as pb2 from electrumsv.address import Address ch...
27.844444
77
0.762969
175
1,253
5.371429
0.52
0.059574
0.042553
0.07234
0
0
0
0
0
0
0
0.031079
0.126895
1,253
44
78
28.477273
0.828154
0.136472
0
0
0
0
0.14
0.0425
0
0
0
0.022727
0
1
0
false
0
0.25
0
0.25
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c3e14b4298b08616ead0fd4db76094c158cc15ae
6,581
py
Python
rxn_yield_context/preprocess_data/process_all_data.py
Lung-Yi/rxn_yield_context
116d6f21a1b6dc39016d87c001dc5b142cfb697a
[ "MIT" ]
null
null
null
rxn_yield_context/preprocess_data/process_all_data.py
Lung-Yi/rxn_yield_context
116d6f21a1b6dc39016d87c001dc5b142cfb697a
[ "MIT" ]
null
null
null
rxn_yield_context/preprocess_data/process_all_data.py
Lung-Yi/rxn_yield_context
116d6f21a1b6dc39016d87c001dc5b142cfb697a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ label process after finding the chemical names """ import pickle import os import argparse if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('--target_dir',type=str, default='../All_LCC_Data/processed_data_12') ...
40.128049
140
0.588664
859
6,581
4.22468
0.130384
0.072747
0.0496
0.030863
0.78534
0.727473
0.679526
0.601819
0.568201
0.549463
0
0.007347
0.276098
6,581
164
141
40.128049
0.754408
0.052576
0
0.433333
0
0
0.106622
0.060352
0
0
0
0
0
1
0
false
0
0.025
0
0.025
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
c3e7a814a4452e558d4ac0d0d4ce85780c935e41
295
py
Python
Data/prediction/pydelay/__init__.py
shihui2010/continuous_cnn
4454d286bc1a00d8328f6f20e1d71facbd956800
[ "MIT" ]
null
null
null
Data/prediction/pydelay/__init__.py
shihui2010/continuous_cnn
4454d286bc1a00d8328f6f20e1d71facbd956800
[ "MIT" ]
null
null
null
Data/prediction/pydelay/__init__.py
shihui2010/continuous_cnn
4454d286bc1a00d8328f6f20e1d71facbd956800
[ "MIT" ]
null
null
null
""" pydelay, A tool for solving delay differential equations. Copyright (C) 2009 Valentin Flunkert Author: Valentin Flunkert <flunkert@gmail.com> Last update: 23.10.2009 """ from _dde23 import dde23 #from constantStepper import dde3 __all__ = ['dde23', 'gen_disconts'] __version__ = '0.1.1'
22.692308
57
0.752542
40
295
5.3
0.775
0.150943
0
0
0
0
0
0
0
0
0
0.086614
0.138983
295
12
58
24.583333
0.748032
0.681356
0
0
0
0
0.255814
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
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
c3eb2e5648d362a4f2276e57847c28ec8808be4d
405
py
Python
ds-udacity/curso 2/tutorial/exercicio3/mapper_1/reduce.py
tassotirap/data-science
644bc351740cda90c0d8c907132d9da9630266c9
[ "Apache-2.0" ]
null
null
null
ds-udacity/curso 2/tutorial/exercicio3/mapper_1/reduce.py
tassotirap/data-science
644bc351740cda90c0d8c907132d9da9630266c9
[ "Apache-2.0" ]
null
null
null
ds-udacity/curso 2/tutorial/exercicio3/mapper_1/reduce.py
tassotirap/data-science
644bc351740cda90c0d8c907132d9da9630266c9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import sys total = 0 oldKey = None for line in sys.stdin: data = line.strip().split("\t") if len(data) != 2: continue thisKey, thisValue = data if oldKey and oldKey != thisKey: print "{0}\t{1}".format(oldKey, total) total = 0 oldKey = thisKey tot...
16.2
46
0.580247
56
405
4.196429
0.5
0.051064
0.102128
0.068085
0.212766
0.212766
0.212766
0
0
0
0
0.023729
0.271605
405
25
47
16.2
0.772881
0.039506
0
0.266667
0
0
0.046272
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.133333
0
0
0
null
0
0
0
0
0
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
c3ebf88b38a702aeae81243f6e9b567d4d43b33f
1,230
py
Python
main.py
Lyriaaw/Jarr
8ff6ebbb24728d7bee29bdf3b6fe22e736ebd743
[ "MIT" ]
1
2021-07-19T06:46:40.000Z
2021-07-19T06:46:40.000Z
main.py
Lyriaaw/Jarr
8ff6ebbb24728d7bee29bdf3b6fe22e736ebd743
[ "MIT" ]
null
null
null
main.py
Lyriaaw/Jarr
8ff6ebbb24728d7bee29bdf3b6fe22e736ebd743
[ "MIT" ]
null
null
null
#Python script import traitement_image as Ti import drone_relation as DroneSimulated import libardrone import mouvement as Move from PIL import Image as Image def main(): # drone = Drone.Drone() # drone = libardrone.ARDrone() """ move = Move.Mouvement() move.initDrone() counter = 1 ...
14.819277
66
0.565854
129
1,230
5.372093
0.426357
0.08658
0.08658
0.099567
0.077922
0
0
0
0
0
0
0.008413
0.323577
1,230
82
67
15
0.824519
0.052033
0
0
0
0
0.040945
0.037795
0
0
0
0
0
0
null
null
0
0.25
null
null
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c3ed4d045ca51c28ac52489f158a4f16d229c019
301
py
Python
ipdf.py
th3lordx/ipdf
29d51d5fe2031f934a3fcc3c2148555a701ce34f
[ "Apache-2.0" ]
1
2019-10-21T17:18:45.000Z
2019-10-21T17:18:45.000Z
ipdf.py
th3lordx/ipdf
29d51d5fe2031f934a3fcc3c2148555a701ce34f
[ "Apache-2.0" ]
null
null
null
ipdf.py
th3lordx/ipdf
29d51d5fe2031f934a3fcc3c2148555a701ce34f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 import iutils def main(): iutils.init() ip = input('[ ip / host ] : ') port = input('[ port ] : ') print('[*] Generating pdf ...') iutils.generate_pdf(ip, port) print('[+] success : readme.pdf') print('[+] starting listener ...') iutils.start_listener(ip, port) main()
18.8125
35
0.604651
37
301
4.864865
0.567568
0.1
0
0
0
0
0
0
0
0
0
0.004016
0.172757
301
16
36
18.8125
0.718876
0.056478
0
0
1
0
0.34507
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.181818
0.272727
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
c3ef53915a286b562527b68cd783c3250f6f9045
361
py
Python
bot_local.py
frizensami/sg-blood-stocks-bot
7783399330dcdf04870be85d004323a5c516a29a
[ "MIT" ]
1
2022-01-25T02:54:31.000Z
2022-01-25T02:54:31.000Z
bot_local.py
frizensami/sg-blood-stocks-bot
7783399330dcdf04870be85d004323a5c516a29a
[ "MIT" ]
4
2021-06-07T12:19:32.000Z
2021-06-09T05:02:36.000Z
bot_local.py
frizensami/sgbloodstocksbot
7783399330dcdf04870be85d004323a5c516a29a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import os from bot import setup #!/usr/bin/env python3 from telegram import Update from telegram.ext import ( Updater, CommandHandler, CallbackContext, MessageHandler, Filters, ) import telegram import sys print("Starting bot") updater = setup(sys.argv[1]) updater.start_po...
15.041667
28
0.725762
46
361
5.673913
0.565217
0.045977
0.068966
0.122605
0
0
0
0
0
0
0
0.009967
0.166205
361
23
29
15.695652
0.857143
0.116343
0
0
0
0
0.063091
0
0
0
0
0
0
1
0
false
0
0.352941
0
0.352941
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c3f0c09aa3490be4eb009fa3e205f0f845be3631
33,865
py
Python
leafAngles/leafAngleDistribution.py
terraref/extractors-3dscanner
d44c3a20a03a5a8bef640ee4debead99c75e9831
[ "BSD-3-Clause" ]
null
null
null
leafAngles/leafAngleDistribution.py
terraref/extractors-3dscanner
d44c3a20a03a5a8bef640ee4debead99c75e9831
[ "BSD-3-Clause" ]
13
2017-08-01T21:35:01.000Z
2019-11-08T02:59:42.000Z
leafAngles/leafAngleDistribution.py
terraref/extractors-3dscanner
d44c3a20a03a5a8bef640ee4debead99c75e9831
[ "BSD-3-Clause" ]
1
2019-11-05T19:00:24.000Z
2019-11-05T19:00:24.000Z
''' Created on Nov 17, 2016 @author: Zongyang ''' import os, sys, terra_common, argparse, shutil, math, colorsys import numpy as np import multiprocessing from numpy import linspace from glob import glob from PIL import Image from plyfile import PlyData, PlyElement #from mpl_toolkits.mplot3d import Axes3D #from matpl...
30.647059
164
0.593769
4,642
33,865
4.129039
0.118483
0.020347
0.020869
0.01033
0.548286
0.477487
0.435853
0.406741
0.389263
0.376793
0
0.02266
0.281973
33,865
1,105
165
30.647059
0.765586
0.04323
0
0.443122
0
0.003968
0.085571
0.008682
0
0
0
0
0
0
null
null
0
0.01455
null
null
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c3f7a00a1c0d82bf1e8a2403d47872e8a0b8b4ce
553
py
Python
Chapter6/Exercise11.py
NoahNacho/Python-project-tests
38e43f011159232fab29d2bb1be969cb5000e635
[ "MIT" ]
2
2021-07-02T03:07:38.000Z
2021-07-21T14:47:20.000Z
Chapter6/Exercise11.py
NoahNacho/python-solving-problems-examples
38e43f011159232fab29d2bb1be969cb5000e635
[ "MIT" ]
null
null
null
Chapter6/Exercise11.py
NoahNacho/python-solving-problems-examples
38e43f011159232fab29d2bb1be969cb5000e635
[ "MIT" ]
null
null
null
import sys def compare(a, b): if a > b: return 1 elif a == b: return 0 elif a < b: return -1 else: return None def test(did_pass): """ Print the result of a test. """ linenum = sys._getframe(1).f_lineno # Get the caller's line number. if did_pass: ...
22.12
73
0.542495
88
553
3.363636
0.454545
0.027027
0.081081
0.060811
0.094595
0
0
0
0
0
0
0.049479
0.305606
553
25
74
22.12
0.721354
0.108499
0
0.095238
0
0
0.090535
0
0
0
0
0
0
1
0.095238
false
0.095238
0.047619
0
0.333333
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c3fc01fd452406f4cfc3189afc6b187ed9be97b1
415
py
Python
Obiora_Fortune/Phase1/Python Basic 1/Task9.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
Obiora_Fortune/Phase1/Python Basic 1/Task9.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
Obiora_Fortune/Phase1/Python Basic 1/Task9.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
''' 9. Write a Python program to display the examination schedule. (extract the date from exam_st_date). exam_st_date = (11, 12, 2014) Sample Output : The examination will start from : 11 / 12 / 2014 Tools:slicing,indexing ''' #9 exam_st_date = (11, 12, 2014) x = exam_st_date[0] y = exam_st_date[1]...
29.642857
100
0.653012
72
415
3.597222
0.458333
0.138996
0.23166
0.092664
0.34749
0.138996
0
0
0
0
0
0.088685
0.212048
415
14
101
29.642857
0.703364
0.578313
0
0
0
0
0.27381
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
c3ff125a45360ea15f72740d55a62e1b341ad7f5
391
py
Python
e621/posts/migrations/0014_auto_20181217_0636.py
adjspecies/explore621
0ec946d28ed54d11569aa237f721001f74e7f1be
[ "MIT" ]
3
2019-10-12T13:32:22.000Z
2021-11-18T19:17:16.000Z
e621/posts/migrations/0014_auto_20181217_0636.py
adjspecies/explore621
0ec946d28ed54d11569aa237f721001f74e7f1be
[ "MIT" ]
6
2018-12-11T20:38:26.000Z
2021-06-10T21:01:45.000Z
e621/posts/migrations/0014_auto_20181217_0636.py
adjspecies/explore621
0ec946d28ed54d11569aa237f721001f74e7f1be
[ "MIT" ]
4
2018-12-11T06:19:59.000Z
2022-02-17T00:29:15.000Z
# Generated by Django 2.1.3 on 2018-12-17 06:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('posts', '0013_auto_20181216_2248'), ] operations = [ migrations.AddIndex( model_name='tag', index=models.Index(field...
21.722222
89
0.624041
47
391
4.978723
0.765957
0
0
0
0
0
0
0
0
0
0
0.119863
0.253197
391
17
90
23
0.681507
0.11509
0
0
1
0
0.194767
0.148256
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c3ff782503c59093e4a74e725f7c97a5511be903
659
py
Python
tests/datatypes/test-IDREFS.py
thorstenb/pyxb
634e86f61dfb73a2900f32fc3d819e9c25365a49
[ "Apache-2.0" ]
null
null
null
tests/datatypes/test-IDREFS.py
thorstenb/pyxb
634e86f61dfb73a2900f32fc3d819e9c25365a49
[ "Apache-2.0" ]
null
null
null
tests/datatypes/test-IDREFS.py
thorstenb/pyxb
634e86f61dfb73a2900f32fc3d819e9c25365a49
[ "Apache-2.0" ]
null
null
null
from pyxb.exceptions_ import * import unittest import pyxb.binding.datatypes as xsd class Test_IDREFS (unittest.TestCase): def testBasicLists (self): v = xsd.IDREFS([ "one", "two", "three" ]) self.assertEqual(3, len(v)) self.assertTrue(isinstance(v[0], xsd.IDREF)) self.assertEqual("...
31.380952
78
0.638847
84
659
4.892857
0.452381
0.145985
0.038929
0.068127
0.491484
0.413625
0.413625
0.413625
0.238443
0.238443
0
0.011583
0.213961
659
20
79
32.95
0.781853
0
0
0.352941
0
0
0.084977
0
0
0
0
0
0.411765
1
0.117647
false
0
0.176471
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
1
0
0
0
0
0
0
0
0
0
1
7f00cf28316b95bb1fe5d1c4b556bcc2553d7887
4,122
py
Python
python/gen_random_dump_combinations.py
anands-repo/hello
743ff49c0de97a985643280a3b5cb562c58e7fb7
[ "MIT" ]
7
2020-03-27T06:33:24.000Z
2022-03-31T16:16:47.000Z
python/gen_random_dump_combinations.py
anands-repo/hello
743ff49c0de97a985643280a3b5cb562c58e7fb7
[ "MIT" ]
3
2021-08-24T08:33:03.000Z
2022-01-10T09:30:21.000Z
python/gen_random_dump_combinations.py
anands-repo/hello
743ff49c0de97a985643280a3b5cb562c58e7fb7
[ "MIT" ]
null
null
null
# © 2019 University of Illinois Board of Trustees. All rights reserved """ Script generates random combinations for the dump command for a set of reads """ import argparse import dump import os import random from find_chr_prefixes import get_reference_prefixes CHROMOSOMES = dump.CHROMOSOMES if __name__ == "__main__"...
28.232877
99
0.58491
466
4,122
4.982833
0.293991
0.083979
0.087855
0.054264
0.180017
0.114556
0.114556
0.114556
0.114556
0.075797
0
0.005236
0.304949
4,122
145
100
28.427586
0.804887
0.035662
0
0.224138
1
0
0.216536
0
0
0
0
0
0
1
0
false
0
0.043103
0
0.043103
0
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
7f09ba01867cd5f08e6d2c6aa695bcc1f0518b4e
751
py
Python
src/api/common.py
123joshuawu/yacs.n
5e5b4e4447953a6e88916f38a3c8720264cfc6f9
[ "MIT" ]
null
null
null
src/api/common.py
123joshuawu/yacs.n
5e5b4e4447953a6e88916f38a3c8720264cfc6f9
[ "MIT" ]
null
null
null
src/api/common.py
123joshuawu/yacs.n
5e5b4e4447953a6e88916f38a3c8720264cfc6f9
[ "MIT" ]
null
null
null
import hashlib def assert_keys_in_form_exist(form, keys): """ Check all the keys exist in the form. :param form: object form :param keys: required keys :return: True if all the keys exist. Otherwise return false. """ if form is None: return False if type(form) is not dict: ...
20.861111
64
0.60719
100
751
4.5
0.37
0.122222
0.044444
0.066667
0
0
0
0
0
0
0
0.017442
0.312916
751
35
65
21.457143
0.854651
0.404794
0
0.230769
0
0
0
0
0
0
0
0
0.076923
1
0.153846
false
0
0.076923
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
7f1b7cd33c20e890710fcdea275268b51ded113e
405
py
Python
mlib-app/book/urls.py
Drawnet253/MyLibrary777
48b8bde10543a5dafc4d350a7dc4fc96df653767
[ "MIT" ]
null
null
null
mlib-app/book/urls.py
Drawnet253/MyLibrary777
48b8bde10543a5dafc4d350a7dc4fc96df653767
[ "MIT" ]
null
null
null
mlib-app/book/urls.py
Drawnet253/MyLibrary777
48b8bde10543a5dafc4d350a7dc4fc96df653767
[ "MIT" ]
null
null
null
from . import views from django.urls import path urlpatterns = [ # /book/ path('', views.BooksListView.as_view(), name='index'), # /book/new path('new/', views.CreateBookView.as_view(), name='book_new'), # /book/import path('import/', views.BooksImportView.as_view(), name='import'), # /boo...
27
68
0.65679
50
405
5.16
0.34
0.170543
0.116279
0
0
0
0
0
0
0
0
0
0.162963
405
14
69
28.928571
0.761062
0.118519
0
0
0
0
0.15625
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7f20e8124ab805d4a4a492575d581cfe71b732fe
1,895
py
Python
LTPA_LCD_SENSORS.py
msembinelli/ltpa-sensor-pi
4a6e40477a90542dfae91586be62320a72a7f9a1
[ "MIT" ]
null
null
null
LTPA_LCD_SENSORS.py
msembinelli/ltpa-sensor-pi
4a6e40477a90542dfae91586be62320a72a7f9a1
[ "MIT" ]
null
null
null
LTPA_LCD_SENSORS.py
msembinelli/ltpa-sensor-pi
4a6e40477a90542dfae91586be62320a72a7f9a1
[ "MIT" ]
null
null
null
#!/usr/bin/python from Adafruit_CharLCD import Adafruit_CharLCD import thread import TMP_SCRIPT import LIGHT_SCRIPT import math from time import sleep, strftime import PRESSURE_SCRIPT from datetime import datetime import eeml # COSM variables. API_KEY = '5o99TlXGJ02f0kPWzS1Erb822VNiYYvleurjm2PwHXFyyAsR' FEED = 98438...
28.283582
191
0.676517
252
1,895
4.928571
0.412698
0.067633
0.041868
0.05475
0.057971
0.057971
0.057971
0.057971
0
0
0
0.044823
0.164116
1,895
66
192
28.712121
0.739268
0.109763
0
0.04878
0
0.02439
0.191895
0.076281
0
0
0
0
0
0
null
null
0
0.219512
null
null
0.097561
0
0
0
null
0
0
0
0
0
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
7f21e1822f3f0e1857b9c19aa4ac7c0189f5d320
2,117
py
Python
plugins/provisioning/osa-newton/nagios/plugins/check-swift-space.py
open-power-ref-design-toolkit/opsmgr
ce9d5dc8a4038f22302a168288a6a4f6683dcd45
[ "Apache-2.0" ]
5
2017-05-10T00:32:37.000Z
2019-08-21T09:32:01.000Z
plugins/provisioning/swift-proxy/nagios/plugins/check-swift-space.py
open-power-ref-design-toolkit/opsmgr
ce9d5dc8a4038f22302a168288a6a4f6683dcd45
[ "Apache-2.0" ]
null
null
null
plugins/provisioning/swift-proxy/nagios/plugins/check-swift-space.py
open-power-ref-design-toolkit/opsmgr
ce9d5dc8a4038f22302a168288a6a4f6683dcd45
[ "Apache-2.0" ]
3
2017-05-10T00:32:40.000Z
2018-10-16T19:18:18.000Z
#!/usr/bin/python # # Copyright 2012 iomart Cloud Services 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 requir...
31.597015
82
0.63864
283
2,117
4.724382
0.491166
0.044877
0.031414
0.023934
0.046372
0.046372
0.046372
0.046372
0.046372
0
0
0.025316
0.253661
2,117
66
83
32.075758
0.820886
0.323571
0
0.057143
0
0
0.203534
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
613044059bbca14f76da9b9f451de75bb80bfc35
1,476
py
Python
reefbot/bin/CameraHealthModule.py
MRSD2018/reefbot-1
a595ca718d0cda277726894a3105815cef000475
[ "MIT" ]
null
null
null
reefbot/bin/CameraHealthModule.py
MRSD2018/reefbot-1
a595ca718d0cda277726894a3105815cef000475
[ "MIT" ]
null
null
null
reefbot/bin/CameraHealthModule.py
MRSD2018/reefbot-1
a595ca718d0cda277726894a3105815cef000475
[ "MIT" ]
null
null
null
'''Keeps track of the camera health Author: Mark Desnoyer (markd@cmu.edu) Date: Sept 2010 ''' import rospy from reefbot_msgs.msg import CameraHealth import copy import RobotXMLStatus def callback(data, cameraHealthModule): """Handler for the RobotStatus messages from ROS.""" cameraHealthModule.UpdateStateFromROS(...
30.75
77
0.677507
171
1,476
5.678363
0.508772
0.086509
0.030896
0.041195
0
0
0
0
0
0
0
0.006087
0.220867
1,476
47
78
31.404255
0.838261
0
0
0
0
0
0.068937
0
0
0
0
0
0
0
null
null
0
0.137931
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
61328b07639171e2c71702ef3bc594d34881daff
754
py
Python
scripts/debug.py
AndreasZS/pychop3d
5261e0b491d25f1824b0a541981dfd3887faf9e4
[ "MIT" ]
14
2019-12-24T10:02:02.000Z
2021-12-07T08:45:27.000Z
scripts/debug.py
AndreasZS/pychop3d
5261e0b491d25f1824b0a541981dfd3887faf9e4
[ "MIT" ]
29
2020-01-16T18:26:31.000Z
2022-03-22T14:54:01.000Z
scripts/debug.py
AndreasZS/pychop3d
5261e0b491d25f1824b0a541981dfd3887faf9e4
[ "MIT" ]
4
2020-03-11T00:36:05.000Z
2021-04-09T15:23:52.000Z
import time import logging from pychop3d import utils from pychop3d import connector from pychop3d.configuration import Configuration logging.basicConfig(level=logging.INFO, format="%(asctime)s %(name)s [%(levelname)s] %(message)s", handlers=[logging.StreamHandler()]) Confi...
37.7
120
0.762599
92
754
6.065217
0.478261
0.064516
0.064516
0.0681
0.107527
0.107527
0
0
0
0
0
0.025564
0.118037
754
19
121
39.684211
0.813534
0
0
0
0
0
0.278515
0.210875
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
613609f0842a97bd81355dcebe74b1cd308da250
1,219
py
Python
transformation_scripts/cast_table.py
Darwin-Che/Find_Rack
22666c224f7c7c55be5bbb65a0374079f14bf9bc
[ "MIT" ]
null
null
null
transformation_scripts/cast_table.py
Darwin-Che/Find_Rack
22666c224f7c7c55be5bbb65a0374079f14bf9bc
[ "MIT" ]
2
2021-05-24T21:13:09.000Z
2021-05-25T06:47:39.000Z
transformation_scripts/cast_table.py
Darwin-Che/Movie_List
22666c224f7c7c55be5bbb65a0374079f14bf9bc
[ "MIT" ]
1
2021-05-22T18:03:41.000Z
2021-05-22T18:03:41.000Z
import pandas as pd print('Reading original dataset...', flush=True) title_crew = pd.read_csv('title.crew.tsv', sep='\t').drop(columns=['directors']) name = pd.read_csv('name.basics.tsv', sep='\t')[['nconst', 'primaryName']] print('Executing transform 1/5...', flush=True) filtered_title_crew = title_crew[title_crew.w...
48.76
140
0.716981
167
1,219
5.047904
0.335329
0.149466
0.181495
0.064057
0.199288
0.156584
0
0
0
0
0
0.008905
0.078753
1,219
24
141
50.791667
0.741763
0
0
0
0
0
0.30927
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0.368421
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
613999e8a45392ebb551db5a36f630f4d3acc745
758
py
Python
tworaven_apps/configurations/migrations/0015_auto_20190127_1950.py
TwoRavens/TwoRavens
e5f820557d6646df525ceed15e17d79f4159cf0a
[ "Apache-2.0" ]
20
2017-12-11T07:26:06.000Z
2021-11-22T16:16:20.000Z
tworaven_apps/configurations/migrations/0015_auto_20190127_1950.py
TwoRavens/TwoRavens
e5f820557d6646df525ceed15e17d79f4159cf0a
[ "Apache-2.0" ]
849
2017-10-20T18:21:18.000Z
2022-02-18T02:45:44.000Z
tworaven_apps/configurations/migrations/0015_auto_20190127_1950.py
TwoRavens/TwoRavens
e5f820557d6646df525ceed15e17d79f4159cf0a
[ "Apache-2.0" ]
1
2020-05-18T06:02:13.000Z
2020-05-18T06:02:13.000Z
# Generated by Django 2.1.5 on 2019-01-28 00:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('configurations', '0014_merge_20190126_1723'), ] operations = [ migrations.AddField( model_name='d3mconfiguration', n...
31.583333
164
0.649077
85
758
5.611765
0.658824
0.037736
0.104822
0.121593
0.155136
0.155136
0.155136
0
0
0
0
0.068182
0.245383
758
23
165
32.956522
0.765734
0.059367
0
0.235294
1
0
0.308017
0.033755
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
613b892a588bd73e686a3b70db5f180f86b5e8bd
3,104
py
Python
src/401_500/0460_lfu-cache/lfu-cache.py
himichael/LeetCode
d54f48e785af3d47a2a67a95fd3343d2b23f8ae5
[ "Apache-2.0" ]
1
2019-12-18T06:08:47.000Z
2019-12-18T06:08:47.000Z
src/401_500/0460_lfu-cache/lfu-cache.py
himichael/LeetCode
d54f48e785af3d47a2a67a95fd3343d2b23f8ae5
[ "Apache-2.0" ]
1
2019-05-18T09:35:22.000Z
2019-05-18T09:35:22.000Z
src/401_500/0460_lfu-cache/lfu-cache.py
himichael/LeetCode
d54f48e785af3d47a2a67a95fd3343d2b23f8ae5
[ "Apache-2.0" ]
null
null
null
class Node(object): def __init__(self,key=None,value=None,freq=0): self.key = key self.val = value self.freq = freq self.pre = None self.next = None class LinkedList(object): def __init__(self): self.head = Node() self.tail = Node() self.head.nex...
26.758621
63
0.554446
366
3,104
4.598361
0.163934
0.047534
0.049911
0.047534
0.229947
0.177065
0.136661
0.103387
0.103387
0
0
0.004395
0.340206
3,104
116
64
26.758621
0.816895
0.041237
0
0.235294
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
61440a39e21535fca7b33cd91de62476dff453ff
3,386
py
Python
ntutm/cooccur/doc2cooccur/jieba_cooccur.py
m516825/IR_Lab_Package
eabb30cd2898b4cdf39b514038fa42d509d67e77
[ "MIT" ]
null
null
null
ntutm/cooccur/doc2cooccur/jieba_cooccur.py
m516825/IR_Lab_Package
eabb30cd2898b4cdf39b514038fa42d509d67e77
[ "MIT" ]
null
null
null
ntutm/cooccur/doc2cooccur/jieba_cooccur.py
m516825/IR_Lab_Package
eabb30cd2898b4cdf39b514038fa42d509d67e77
[ "MIT" ]
null
null
null
#!/usr/bin/env python #-*- coding: utf-8 -*- import xml.etree.ElementTree as ET import vocab import os import sys, getopt import time from scipy.sparse import lil_matrix import cooccur def count_em(valid_path): x = 0 for root, dirs, files in os.walk(valid_path): for f in files: x = x+1 return x if __name__...
27.306452
152
0.634377
474
3,386
4.417722
0.312236
0.06829
0.0468
0.034384
0.222541
0.210124
0.184814
0.184814
0.184814
0.184814
0
0.011611
0.18606
3,386
123
153
27.528455
0.748186
0.116066
0
0.149425
0
0.034483
0.151825
0
0
0
0
0
0
0
null
null
0
0.08046
null
null
0.103448
0
0
0
null
0
0
0
0
0
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
614af0a67038655764e9e2cfa44e189d0cf066b7
2,576
py
Python
PEATSA/Database/Scripts/ImportDataSet.py
shambo001/peat
7a26e896aa9914b084a9064df09ed15df4047cf3
[ "MIT" ]
3
2016-11-11T06:11:03.000Z
2021-09-12T22:13:51.000Z
PEATSA/Database/Scripts/ImportDataSet.py
shambo001/peat
7a26e896aa9914b084a9064df09ed15df4047cf3
[ "MIT" ]
null
null
null
PEATSA/Database/Scripts/ImportDataSet.py
shambo001/peat
7a26e896aa9914b084a9064df09ed15df4047cf3
[ "MIT" ]
2
2016-02-15T16:10:36.000Z
2018-02-27T10:33:21.000Z
#! /bin/env python # # Protein Engineering Analysis Tool Structure Analysis (PEATSA) # Copyright (C) 2010 Michael Johnston & Jens Erik Nielsen # # Author: Michael Johnston # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # th...
35.777778
105
0.700699
333
2,576
5.39039
0.471471
0.01337
0.021727
0.031755
0.092479
0.077994
0.03454
0.03454
0
0
0
0.005342
0.200699
2,576
71
106
36.28169
0.86644
0.355978
0
0.090909
0
0
0.216305
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
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
1
0
0
0
0
0
0
0
0
1
61544f8d7adb197b418c85a671d764ff22ffed95
28,384
py
Python
Research/TC-Bot-Restaurant/src/domain_adaptation.py
IlievskiV/Master_Thesis_GO_Chatbots
6fbba12afbbf51b7a6b6067e9448e5ef673fda16
[ "MIT" ]
13
2018-03-29T16:25:08.000Z
2020-10-23T18:46:06.000Z
Research/TC-Bot-Restaurant/src/domain_adaptation.py
IlievskiV/Master_Thesis_GO_Chatbots
6fbba12afbbf51b7a6b6067e9448e5ef673fda16
[ "MIT" ]
1
2018-03-30T11:13:33.000Z
2018-03-30T11:13:33.000Z
Research/TC-Bot-Restaurant/src/domain_adaptation.py
IlievskiV/Master_Thesis_GO_Chatbots
6fbba12afbbf51b7a6b6067e9448e5ef673fda16
[ "MIT" ]
4
2019-04-29T22:06:09.000Z
2020-08-01T04:09:59.000Z
import json, copy, os import cPickle as pickle from deep_dialog.dialog_system import DialogManager, text_to_dict from deep_dialog.agents import AgentDQN from deep_dialog.usersims import RuleSimulator import random from time import sleep from pprint import pprint import timeit def split_user_goals(all_user_goals): ...
41.436496
151
0.669638
3,434
28,384
5.200932
0.094933
0.043337
0.012542
0.008735
0.581803
0.465677
0.374748
0.339194
0.225252
0.176148
0
0.006385
0.205433
28,384
685
152
41.436496
0.785527
0.214769
0
0.194118
0
0
0.116146
0.038649
0
0
0
0
0
0
null
null
0
0.026471
null
null
0.020588
0
0
0
null
0
0
0
0
0
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
61557523ff934b417c67fd386e3928eff55af6d9
8,848
py
Python
movo_tutorials/movo_object_search/scripts/action/action_set.py
syc7446/kinova-movo
28bec5bb61517f970071782a32ac58e92c67f0df
[ "BSD-3-Clause" ]
1
2021-06-24T19:20:01.000Z
2021-06-24T19:20:01.000Z
movo_tutorials/movo_object_search/scripts/action/action_set.py
syc7446/kinova-movo
28bec5bb61517f970071782a32ac58e92c67f0df
[ "BSD-3-Clause" ]
null
null
null
movo_tutorials/movo_object_search/scripts/action/action_set.py
syc7446/kinova-movo
28bec5bb61517f970071782a32ac58e92c67f0df
[ "BSD-3-Clause" ]
1
2020-01-21T11:05:24.000Z
2020-01-21T11:05:24.000Z
#!/usr/bin/env python import argparse import sys from copy import copy import rospy import actionlib import math import random import numpy as np from movo.system_defines import TRACTOR_REQUEST from geometry_msgs.msg import Twist from movo_msgs.msg import ConfigCmd from nav_msgs.msg import Odometry from visualization_...
38.637555
118
0.644778
1,144
8,848
4.640734
0.166958
0.064796
0.033905
0.039179
0.620456
0.533811
0.496892
0.477868
0.465813
0.443963
0
0.010627
0.266162
8,848
229
119
38.637555
0.807023
0.006442
0
0.471503
0
0
0.089647
0.020705
0
0
0
0
0
0
null
null
0.005181
0.093264
null
null
0.005181
0
0
0
null
0
0
0
0
0
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
615de1064d9a4a1931797f070c7e73be8116b661
511
py
Python
mentorbot/MentorDetails/migrations/0008_mentorprofile_user.py
MentorBot/Webhook
696ce15f41d1c15a6cae336c41f3e56e4a3e5056
[ "Unlicense" ]
2
2018-06-04T10:46:09.000Z
2020-06-02T14:48:44.000Z
mentorbot/MentorDetails/migrations/0008_mentorprofile_user.py
MentorBot/Webhook
696ce15f41d1c15a6cae336c41f3e56e4a3e5056
[ "Unlicense" ]
4
2018-07-18T13:16:50.000Z
2021-09-07T23:41:25.000Z
mentorbot/MentorDetails/migrations/0008_mentorprofile_user.py
MentorBot/Webhook
696ce15f41d1c15a6cae336c41f3e56e4a3e5056
[ "Unlicense" ]
null
null
null
# Generated by Django 2.0.2 on 2018-07-23 18:34 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('MentorDetails', '0007_remove_mentorprofile_user'), ] operations = [ migrations.AddField( model_...
25.55
126
0.661448
56
511
5.946429
0.660714
0.072072
0.084084
0.132132
0
0
0
0
0
0
0
0.050505
0.225049
511
19
127
26.894737
0.790404
0.088063
0
0
1
0
0.181034
0.116379
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6160d658cb8b60cf183e275aa7a446c9ecaa5514
559
py
Python
django/accounts/migrations/0004_auto_20171022_1713.py
zoonoo/aws2
583d8ee144c8b5c422a706d8054716c13d064899
[ "MIT" ]
null
null
null
django/accounts/migrations/0004_auto_20171022_1713.py
zoonoo/aws2
583d8ee144c8b5c422a706d8054716c13d064899
[ "MIT" ]
null
null
null
django/accounts/migrations/0004_auto_20171022_1713.py
zoonoo/aws2
583d8ee144c8b5c422a706d8054716c13d064899
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-10-22 17:13 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('accounts', '0003_user_assigned_room'), ] operation...
25.409091
126
0.652952
66
559
5.378788
0.681818
0.067606
0.078873
0.123944
0
0
0
0
0
0
0
0.048387
0.223614
559
21
127
26.619048
0.769585
0.121646
0
0
1
0
0.114754
0.047131
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
616376e98a52917e6942992957278978fefd29d9
257
py
Python
basic/mim.py
mariia-shumska/google-python-class
64618a37d54c7b40f4ac0153619b6bd728d10bea
[ "Apache-2.0" ]
null
null
null
basic/mim.py
mariia-shumska/google-python-class
64618a37d54c7b40f4ac0153619b6bd728d10bea
[ "Apache-2.0" ]
null
null
null
basic/mim.py
mariia-shumska/google-python-class
64618a37d54c7b40f4ac0153619b6bd728d10bea
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python -tt import sys import random f=open('test.txt', 'rU') text=f.read().split() print text dict={} i=0 while i< len(text): if text[i] not in dict: dict[text[i]]=text[i+1:] i+=1 else : i+=1 for k in dict: print k,':', dict[k]
13.526316
28
0.587549
51
257
2.960784
0.54902
0.099338
0
0
0
0
0
0
0
0
0
0.019417
0.198444
257
18
29
14.277778
0.713592
0.077821
0
0
0
0
0.04661
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
616d09dc03603a624ab062ff8bbd662c5855d25a
487
py
Python
Fractions/Maths.py
rodolfopfranco/python_projects
4815b0431391f86115b42a8959a1ccaee061b2e1
[ "CC0-1.0" ]
null
null
null
Fractions/Maths.py
rodolfopfranco/python_projects
4815b0431391f86115b42a8959a1ccaee061b2e1
[ "CC0-1.0" ]
null
null
null
Fractions/Maths.py
rodolfopfranco/python_projects
4815b0431391f86115b42a8959a1ccaee061b2e1
[ "CC0-1.0" ]
null
null
null
class Maths: """Math methods akin to fractions""" def mdc(self, x, y): """Greatest Common Divisor""" while y != 0: resto = x % y x = y y = resto return x def controlador(op,x,y): """controls the calculation based on operator""" if...
23.190476
56
0.425051
58
487
3.568966
0.5
0.077295
0.173913
0.193237
0.251208
0.251208
0.251208
0.251208
0.251208
0.251208
0
0.00369
0.443532
487
21
57
23.190476
0.760148
0.199179
0
0
0
0
0.010667
0
0
0
0
0
0
1
0.125
false
0
0
0
0.5
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
6171f4e84f153af9a595db205f9227771219081f
5,471
py
Python
SCTF/2017 Quals/toilet/toilet.py
PurpEth/solved-hacking-problem
6f289d1647eb9c091caa580c7aae673e3ba02952
[ "Unlicense" ]
1
2021-08-24T22:16:41.000Z
2021-08-24T22:16:41.000Z
SCTF/2017 Quals/toilet/toilet.py
PurpEth/solved-hacking-problem
6f289d1647eb9c091caa580c7aae673e3ba02952
[ "Unlicense" ]
null
null
null
SCTF/2017 Quals/toilet/toilet.py
PurpEth/solved-hacking-problem
6f289d1647eb9c091caa580c7aae673e3ba02952
[ "Unlicense" ]
null
null
null
# My New Session Interface from flask.sessions import SessionInterface, SecureCookieSession from Crypto.Util.number import bytes_to_long as s2i from Crypto.Util.number import long_to_bytes as i2s from Crypto.Cipher import AES from Crypto.Hash import MD5 from base64 import b64encode, b64decode import time, json def gf_...
34.19375
296
0.618534
725
5,471
4.548966
0.297931
0.014857
0.021225
0.024257
0.096422
0.020012
0.020012
0
0
0
0
0.040514
0.260099
5,471
159
297
34.408805
0.774209
0.104186
0
0.129032
0
0.016129
0.112953
0.063434
0
0
0
0
0.024194
0
null
null
0
0.08871
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6172217bcb12252c53f00d27f8725cb691b16123
2,181
py
Python
tests/test/plugin/test_isolation_update.py
ActorForth/brownie
ef0d5af3bb48edcd11abf985626fc99dbc577c7d
[ "MIT" ]
1,595
2020-06-01T19:41:53.000Z
2022-03-31T16:09:54.000Z
tests/test/plugin/test_isolation_update.py
ActorForth/brownie
ef0d5af3bb48edcd11abf985626fc99dbc577c7d
[ "MIT" ]
532
2020-05-30T12:06:17.000Z
2022-03-31T22:33:41.000Z
tests/test/plugin/test_isolation_update.py
ActorForth/brownie
ef0d5af3bb48edcd11abf985626fc99dbc577c7d
[ "MIT" ]
303
2020-06-17T00:38:34.000Z
2022-03-31T10:59:48.000Z
#!/usr/bin/python3 import json from pathlib import Path import pytest test_source = """ def test_stuff(BrownieTester, accounts): c = accounts[0].deploy(BrownieTester, True) c.doNothing({'from': accounts[0]})""" def test_update_no_isolation(plugintester): result = plugintester.runpytest() result.ass...
31.157143
78
0.694635
267
2,181
5.550562
0.2397
0.072874
0.148448
0.139676
0.578947
0.518893
0.496626
0.496626
0.496626
0.477058
0
0.010817
0.152224
2,181
69
79
31.608696
0.790698
0.007795
0
0.480769
0
0
0.116505
0.039297
0
0
0
0
0.211538
1
0.096154
false
0.134615
0.057692
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
1
0
0
0
0
0
1
617aeea3c3eb4acf005d5ef112c011b59dcf9ce4
755
py
Python
wxgigo/wxmp/sdk/code.py
rfancn/wxgigo
7ed64248e4df037dbb5ff0683f21f458d3f29a0e
[ "MIT" ]
null
null
null
wxgigo/wxmp/sdk/code.py
rfancn/wxgigo
7ed64248e4df037dbb5ff0683f21f458d3f29a0e
[ "MIT" ]
null
null
null
wxgigo/wxmp/sdk/code.py
rfancn/wxgigo
7ed64248e4df037dbb5ff0683f21f458d3f29a0e
[ "MIT" ]
null
null
null
class WXMPCode(object): SUCCESS = 0 ######################################################################### # Weixin Security Module Error Definition ######################################################################### # 校验签名失败 ERR_VALIDATE_SIGNATURE = -40001 # 解析xml失败 ERR_PARSE_XML = -4000...
25.166667
73
0.540397
68
755
5.632353
0.75
0.052219
0
0
0
0
0
0
0
0
0
0.108108
0.215894
755
29
74
26.034483
0.538851
0.197351
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
617dc060c0d32526847c4de64689423aa7d25be1
30,337
py
Python
src/ImportData.py
ChrisChnafa/aneuTools
041160c71fac0b6e6f92ca1ba378706aa847c23e
[ "MIT" ]
3
2018-07-17T18:35:49.000Z
2019-04-13T04:28:21.000Z
src/ImportData.py
ChrisChnafa/aneuTools
041160c71fac0b6e6f92ca1ba378706aa847c23e
[ "MIT" ]
1
2018-11-20T12:38:13.000Z
2018-11-20T12:38:13.000Z
src/ImportData.py
ChrisChnafa/aneuTools
041160c71fac0b6e6f92ca1ba378706aa847c23e
[ "MIT" ]
null
null
null
#!/usr/bin/env python ## Christophe.Chnafa@gmail.com import math import numpy as np import vtk # Array names used by VMTK. BLANKINGARRAYNAME = 'Blanking' GROUPIDSARRAYNAME = 'GroupIds' RADIUSARRAYNAME = 'MaximumInscribedSphereRadius' SECTIONARRAYNAME = 'CenterlineSectionArea' def loadFile(fileName): '''Load the...
38.744572
144
0.642054
3,057
30,337
6.368989
0.176644
0.015408
0.014176
0.014176
0.365434
0.30678
0.264099
0.251875
0.211608
0.180329
0
0.023081
0.268781
30,337
782
145
38.794118
0.854618
0.009362
0
0.313559
0
0
0.046528
0.001867
0
0
0
0.001279
0
0
null
null
0
0.00678
null
null
0.084746
0
0
0
null
0
0
0
0
0
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
6180324b30e36ab959b8f1d1a9e2ef9587883609
531
py
Python
novelsave_sources/sources/novel/domentranslations.py
mensch272/novelsave_sources
6d7b49aca4f9543fb23c1b1a81c9e2bd7d5d352a
[ "Apache-2.0" ]
11
2021-09-05T04:36:41.000Z
2022-03-20T00:16:42.000Z
novelsave_sources/sources/novel/domentranslations.py
mHaisham/novelsave_sources
6d7b49aca4f9543fb23c1b1a81c9e2bd7d5d352a
[ "Apache-2.0" ]
9
2021-08-30T02:36:43.000Z
2022-03-30T02:06:43.000Z
novelsave_sources/sources/novel/domentranslations.py
mHaisham/novelsave_sources
6d7b49aca4f9543fb23c1b1a81c9e2bd7d5d352a
[ "Apache-2.0" ]
2
2022-03-20T13:18:01.000Z
2022-03-29T07:07:04.000Z
import datetime from .wordpress import WordPress class DomenTranslations(WordPress): base_urls = [ "https://domentranslations.wordpress.com/", ] last_updated = datetime.date(2021, 11, 3) lang = "es" def init(self): self.blacklist_patterns += ["CONTENIDO | SIGUIENTE"] def pa...
22.125
82
0.638418
58
531
5.758621
0.724138
0.155689
0
0
0
0
0
0
0
0
0
0.017284
0.237288
531
23
83
23.086957
0.807407
0
0
0
0
0
0.201507
0.060264
0
0
0
0
0
1
0.133333
false
0
0.133333
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
61809ce3a8265d888ede05c02eea7d2d816d692a
3,463
py
Python
msd/tickets/migrations/0001_initial.py
rsg33/msd
b6b5cf2edb4b0e99d87a8e93ed714141a0ed96a8
[ "MIT" ]
null
null
null
msd/tickets/migrations/0001_initial.py
rsg33/msd
b6b5cf2edb4b0e99d87a8e93ed714141a0ed96a8
[ "MIT" ]
null
null
null
msd/tickets/migrations/0001_initial.py
rsg33/msd
b6b5cf2edb4b0e99d87a8e93ed714141a0ed96a8
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-10 07:45 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
46.173333
183
0.582732
335
3,463
5.832836
0.289552
0.140737
0.042989
0.067554
0.567042
0.480041
0.449846
0.415046
0.415046
0.415046
0
0.009577
0.27635
3,463
74
184
46.797297
0.770152
0.012995
0
0.402985
1
0
0.172131
0
0
0
0
0
0
1
0
false
0
0.044776
0
0.104478
0
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
61832c136272d27eee069115b05ac2d15c3b82b3
1,453
py
Python
Project _ 3 -- eCommarce/core/migrations/0005_auto_20200713_0146.py
AyemunHossain/Django
0b1ed21fd6bd2906a4a1a220c029a2193658320f
[ "MIT" ]
2
2020-02-14T19:23:50.000Z
2020-04-19T08:26:38.000Z
Project _ 3 -- eCommarce/core/migrations/0005_auto_20200713_0146.py
AyemunHossain/Django
0b1ed21fd6bd2906a4a1a220c029a2193658320f
[ "MIT" ]
42
2021-02-02T23:08:30.000Z
2022-03-12T00:54:55.000Z
Project _ 3 -- eCommarce/core/migrations/0005_auto_20200713_0146.py
AyemunHossain/Django
0b1ed21fd6bd2906a4a1a220c029a2193658320f
[ "MIT" ]
1
2022-03-07T08:09:41.000Z
2022-03-07T08:09:41.000Z
# Generated by Django 2.2.12 on 2020-07-12 19:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0004_auto_20200712_2358'), ] operations = [ migrations.AddField( model_name='item', name='discount_price', ...
37.25641
149
0.602202
162
1,453
5.277778
0.37037
0.052632
0.076023
0.099415
0.610526
0.610526
0.528655
0.435088
0.435088
0.435088
0
0.037649
0.250516
1,453
38
150
38.236842
0.747475
0.031659
0
0.4375
1
0
0.201423
0.01637
0
0
0
0
0
1
0
false
0
0.03125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6184447fb41be553c5a09f08d8143f58ced0ce1b
1,199
py
Python
bumblebee_status/modules/contrib/ytrssil.py
TheEdgeOfRage/bumblebee-status
85b8a2f3079fa85f336a6b683381eb45922da1de
[ "MIT" ]
null
null
null
bumblebee_status/modules/contrib/ytrssil.py
TheEdgeOfRage/bumblebee-status
85b8a2f3079fa85f336a6b683381eb45922da1de
[ "MIT" ]
null
null
null
bumblebee_status/modules/contrib/ytrssil.py
TheEdgeOfRage/bumblebee-status
85b8a2f3079fa85f336a6b683381eb45922da1de
[ "MIT" ]
null
null
null
"""Show number of new yt videos. Requires the following library: * ytrssil (from aur) contributed by `Pavle Portic <>`_ - many thanks! """ import logging from ytrssil.api import get_new_video_count import core.module import core.widget import core.decorators class Module(core.module.Module): @core.decora...
22.622642
77
0.643036
145
1,199
5.062069
0.475862
0.061308
0.029973
0.043597
0
0
0
0
0
0
0
0.007821
0.253545
1,199
52
78
23.057692
0.812291
0.158465
0
0.066667
0
0
0.03992
0
0
0
0
0
0
1
0.2
false
0
0.166667
0.1
0.566667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
618870651953c880981c3cfd7102dba6353dcd5b
1,557
py
Python
stdplugins/remoteunzip.py
mhdrezza23/genkkapak
949f41e150b88a803ea4f4dcff8da38c314b5d0d
[ "Apache-2.0" ]
null
null
null
stdplugins/remoteunzip.py
mhdrezza23/genkkapak
949f41e150b88a803ea4f4dcff8da38c314b5d0d
[ "Apache-2.0" ]
null
null
null
stdplugins/remoteunzip.py
mhdrezza23/genkkapak
949f41e150b88a803ea4f4dcff8da38c314b5d0d
[ "Apache-2.0" ]
null
null
null
""".runzip""" import asyncio import os import re import time import zipfile from datetime import datetime from zipfile import ZipFile from pySmartDL import SmartDL from remotezip import RemoteZip from telethon import events from telethon.tl.types import DocumentAttributeAudio, DocumentAttributeVideo from uniborg.util...
29.377358
98
0.601798
173
1,557
5.323699
0.526012
0.054289
0.060803
0.04126
0
0
0
0
0
0
0
0.000925
0.305716
1,557
52
99
29.942308
0.851064
0.085421
0
0.097561
0
0
0.092754
0.02971
0
0
0
0
0
1
0
false
0.02439
0.317073
0
0.341463
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
618a27f679cd32cb1731a7f2e24d9cec981f7258
206
py
Python
geo.py
kotharipeddirajulu/Location_based_Password_and_Otp_Generator
1e95150c99a60284bd2b79db27ad33686aed6db0
[ "BSD-3-Clause" ]
1
2020-12-07T14:13:55.000Z
2020-12-07T14:13:55.000Z
geo.py
kotharipeddirajulu/Location_based_Password_and_Otp_Generator
1e95150c99a60284bd2b79db27ad33686aed6db0
[ "BSD-3-Clause" ]
null
null
null
geo.py
kotharipeddirajulu/Location_based_Password_and_Otp_Generator
1e95150c99a60284bd2b79db27ad33686aed6db0
[ "BSD-3-Clause" ]
null
null
null
import geocoder class geo_location: myloc = geocoder.ip('me') loc = myloc.address lng = int(myloc.lng * 10 ** 4) lat = int(myloc.lat * 10 ** 4) ci = myloc.city sta = myloc.state
15.846154
34
0.587379
30
206
4
0.633333
0.133333
0
0
0
0
0
0
0
0
0
0.040541
0.281553
206
12
35
17.166667
0.77027
0
0
0
0
0
0.009804
0
0
0
0
0
0
1
0
false
0
0.125
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
618ea19444ecdb72842d8b7972eace6bd07c9c06
919
py
Python
Create_a_Heart/code.py
Priya96-sketch/Py-Scripts
4ca53fe76415f5ec5069342a917cefff250acf82
[ "MIT" ]
2
2021-01-13T19:48:03.000Z
2021-02-17T21:03:35.000Z
Create_a_Heart/code.py
Priya96-sketch/Py-Scripts
4ca53fe76415f5ec5069342a917cefff250acf82
[ "MIT" ]
1
2021-01-13T18:52:16.000Z
2021-01-13T18:52:16.000Z
Create_a_Heart/code.py
Priya96-sketch/Py-Scripts
4ca53fe76415f5ec5069342a917cefff250acf82
[ "MIT" ]
1
2021-03-14T13:23:09.000Z
2021-03-14T13:23:09.000Z
--- #Project Name -> Create a heart with TURTLE #Author -> Priya Mondal --- #What is TURTLE? -> Turtle graphics is a popular way for introducing programming to kids. #It was part of the original Logo programming language developed by Wally Feurzeig, Seymour Papert and Cynthia Solomon in 1967 import turtle #Define pro...
23.564103
126
0.742111
137
919
4.963504
0.642336
0.057353
0.047059
0.052941
0
0
0
0
0
0
0
0.036082
0.155604
919
38
127
24.184211
0.840206
0.572361
0
0.285714
0
0
0.031414
0
0
0
0
0
0
0
null
null
0
0.047619
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6196d117858ebb9ddef330d8d78be3af1b4a0b82
1,053
py
Python
src/alias_free_torch/act.py
junjun3518/alias-free-torch
670843075b687d9e676394975d533c7aeb9f5f5e
[ "Apache-2.0" ]
39
2021-08-18T00:01:53.000Z
2022-01-04T22:32:43.000Z
src/alias_free_torch/act.py
junjun3518/alias-free-torch
670843075b687d9e676394975d533c7aeb9f5f5e
[ "Apache-2.0" ]
null
null
null
src/alias_free_torch/act.py
junjun3518/alias-free-torch
670843075b687d9e676394975d533c7aeb9f5f5e
[ "Apache-2.0" ]
3
2021-08-25T10:35:36.000Z
2022-01-04T22:32:48.000Z
import torch import torch.nn as nn import torch.nn.functional as F from .resample import UpSample1d, DownSample1d from .resample import UpSample2d, DownSample2d class Activation1d(nn.Module): def __init__(self, activation, up_ratio=2, down_ratio=2): super().__init__() self.up_ratio = up_ratio ...
27.710526
61
0.641975
137
1,053
4.70073
0.226277
0.086957
0.055901
0.046584
0.60559
0.60559
0.60559
0.60559
0.60559
0.60559
0
0.018018
0.262108
1,053
37
62
28.459459
0.810811
0
0
0.645161
0
0
0
0
0
0
0
0
0
1
0.129032
false
0
0.16129
0
0.419355
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
619d61e3a0dc2d67c7b9c65f0866a27a4c20d467
546
py
Python
physics/solveQuadraticEquation.py
jboissard/mathExperiments
350a5053fc5d8411b77ea7d084180ef5a8ba24b0
[ "Apache-2.0" ]
2
2016-07-08T10:56:54.000Z
2019-03-14T16:26:00.000Z
physics/solveQuadraticEquation.py
jboissard/mathExperiments
350a5053fc5d8411b77ea7d084180ef5a8ba24b0
[ "Apache-2.0" ]
null
null
null
physics/solveQuadraticEquation.py
jboissard/mathExperiments
350a5053fc5d8411b77ea7d084180ef5a8ba24b0
[ "Apache-2.0" ]
null
null
null
""" solves 2nd degree equation to solve: x^2 -x - 90 = 0 `python solveQuadrativeEquation.py 1 -1 -90` """ import sys import numpy as np import helper # check if right amount of arguments if len(sys.argv) != 4: raise ValueError('The number of arguments must be 3') sys.exit() try: (a,b,c) = (complex(sys.a...
21
76
0.70696
89
546
4.325843
0.617978
0.072727
0.109091
0
0
0
0
0
0
0
0
0.035011
0.163004
546
26
77
21
0.80744
0.089744
0
0
0
0
0.197917
0
0
0
0
0
0
0
null
null
0
0.230769
null
null
0.153846
0
0
0
null
0
0
0
0
0
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
61a51a03f9984dfcc24e6d6631001283cc95021c
3,102
py
Python
parsing.py
mgfzemor/microdados-enem
5be3de40d8f2fc6e7ec9555fed6e52b49f554c55
[ "MIT" ]
null
null
null
parsing.py
mgfzemor/microdados-enem
5be3de40d8f2fc6e7ec9555fed6e52b49f554c55
[ "MIT" ]
null
null
null
parsing.py
mgfzemor/microdados-enem
5be3de40d8f2fc6e7ec9555fed6e52b49f554c55
[ "MIT" ]
null
null
null
from classes.Estudante import * from classes.ProvaObjetiva import * from classes.ProvaRedacao import * from classes.Database import * import classes.file as csvfile import logging import config.logger as log logger = logging.getLogger(__name__); MAX_TO_COMMIT=6 def insertEstudents(data,dd): conn = Database.conne...
31.02
106
0.586718
319
3,102
5.633229
0.278997
0.023372
0.024485
0.051196
0.42404
0.42404
0.390651
0.358375
0.358375
0.341124
0
0.010393
0.286589
3,102
99
107
31.333333
0.801627
0
0
0.5
0
0
0.102192
0
0
0
0
0
0
0
null
null
0
0.079545
null
null
0.102273
0
0
0
null
0
0
0
0
0
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
61b0ef8b43c5e4068ebc44e8ad6e0c408c5d2446
835
py
Python
modules/shell/twopanes/scripts/mcpanes.py
wiedzmin/nixos-conf
1821cf5fa4d5a4a90a79f2fb689f9e20a2595c77
[ "MIT" ]
27
2018-10-03T08:56:46.000Z
2021-07-14T23:16:23.000Z
modules/shell/twopanes/scripts/mcpanes.py
wiedzmin/nixos-conf
1821cf5fa4d5a4a90a79f2fb689f9e20a2595c77
[ "MIT" ]
null
null
null
modules/shell/twopanes/scripts/mcpanes.py
wiedzmin/nixos-conf
1821cf5fa4d5a4a90a79f2fb689f9e20a2595c77
[ "MIT" ]
3
2018-10-03T08:58:26.000Z
2020-12-28T07:51:39.000Z
import argparse import json import redis from pystdlib import shell_cmd from pystdlib.shell import tmux_create_window from pystdlib.uishim import get_selection_rofi from pystdlib.xlib import switch_named_desktop parser = argparse.ArgumentParser(description="Two panes file manager selection") parser.add_argument('--s...
33.4
92
0.778443
123
835
5.056911
0.512195
0.07717
0.07717
0.064309
0.118971
0.118971
0.118971
0
0
0
0
0.006623
0.095808
835
24
93
34.791667
0.817219
0.033533
0
0
0
0
0.191304
0
0
0
0
0
0
1
0
false
0
0.4375
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
61b1c9e416f19942a804a1c3362469751eeaa321
827
py
Python
build-docker-image.py
jeanfabrice/vmware2dfhcp
cf462b5d5a8fc9b9e7dd5ac87058383448fa80f4
[ "MIT" ]
null
null
null
build-docker-image.py
jeanfabrice/vmware2dfhcp
cf462b5d5a8fc9b9e7dd5ac87058383448fa80f4
[ "MIT" ]
null
null
null
build-docker-image.py
jeanfabrice/vmware2dfhcp
cf462b5d5a8fc9b9e7dd5ac87058383448fa80f4
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf8 -*- # Copyright (c) 2019 Jean-Fabrice # # This software is released under the MIT License. # https://opensource.org/licenses/MIT from datetime import datetime, timezone import subprocess import setup subprocess.call([ "docker", "build", "--build-arg", "AUTHOR="+setup._...
21.763158
68
0.661427
92
827
5.51087
0.521739
0.142012
0
0
0
0
0
0
0
0
0
0.006944
0.129383
827
37
69
22.351351
0.697222
0.191052
0
0.310345
0
0
0.282051
0
0
0
0
0
0
1
0
true
0
0.103448
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
1
0
0
0
0
0
0
1
61ba76e6d6446784d1293b341c538a6c9e024bfd
6,525
py
Python
funciones.py
cparodif/funciones
124dac982c5a5f334f245b85111023d77a762248
[ "MIT" ]
null
null
null
funciones.py
cparodif/funciones
124dac982c5a5f334f245b85111023d77a762248
[ "MIT" ]
null
null
null
funciones.py
cparodif/funciones
124dac982c5a5f334f245b85111023d77a762248
[ "MIT" ]
null
null
null
#!/usr/bin/python3 #-*- coding: utf-8 -*- import time, sys, os from sys import path path.append('./') def crear_fichero_resultados(): texto_cabecera = "cabecera" file = open("./resultados.txt", "w") file.write(texto_cabecera) file.close() return def abrir_fichero_resultados(): file = open("./...
24.530075
121
0.589272
795
6,525
4.761006
0.238994
0.063408
0.029062
0.009511
0.318362
0.263144
0.263144
0.241744
0.224835
0.224835
0
0.064147
0.249808
6,525
265
122
24.622642
0.709091
0.020843
0
0.268908
0
0
0.065746
0.006903
0
0
0
0
0
1
0.226891
false
0
0.016807
0
0.495798
0
0
0
0
null
0
0
0
0
0
0
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
61c5d5a3766ea90ec2c75d07ad72840a832a2a99
3,463
py
Python
OOD/movie_ticket.py
shiwentao00/Python-leetcode
a038eeac53390b270abcaf60194df677fc143e76
[ "MIT" ]
1
2020-12-02T17:34:25.000Z
2020-12-02T17:34:25.000Z
OOD/movie_ticket.py
shiwentao00/Python-leetcode
a038eeac53390b270abcaf60194df677fc143e76
[ "MIT" ]
null
null
null
OOD/movie_ticket.py
shiwentao00/Python-leetcode
a038eeac53390b270abcaf60194df677fc143e76
[ "MIT" ]
1
2020-12-05T20:34:51.000Z
2020-12-05T20:34:51.000Z
""" Our ticket booking service should meet the following requirements: 1. It should be able to list the cities where affiliate cinemas are located. 2. Each cinema can have multiple halls and each hall can run one movie show at a time. 3. Each Movie will have multiple shows. 4. Customers should be able to search movies...
26.435115
164
0.664453
480
3,463
4.64375
0.28125
0.050247
0.054284
0.043966
0.093764
0.039031
0.027815
0
0
0
0
0.002375
0.270575
3,463
131
165
26.435115
0.880048
0.352584
0
0.180723
0
0
0
0
0
0
0
0
0
1
0.313253
false
0
0.012048
0
0.457831
0
0
0
0
null
0
0
0
0
0
0
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
61c8a009c59170fdf8d8a1172f0d3158114baa2d
635
py
Python
rookie/news/migrations/0002_word.py
rookie0806/news
260bfc81cc3e1bc1a294682d4f74b3e9926e9a8c
[ "MIT" ]
null
null
null
rookie/news/migrations/0002_word.py
rookie0806/news
260bfc81cc3e1bc1a294682d4f74b3e9926e9a8c
[ "MIT" ]
15
2020-06-05T19:43:00.000Z
2022-03-08T22:35:05.000Z
rookie/news/migrations/0002_word.py
rookie0806/news
260bfc81cc3e1bc1a294682d4f74b3e9926e9a8c
[ "MIT" ]
null
null
null
# Generated by Django 2.0.7 on 2018-12-01 08:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('news', '0001_initial'), ] operations = [ migrations.CreateModel( name='Word', fields=[ ('id', models...
27.608696
114
0.56378
63
635
5.603175
0.746032
0
0
0
0
0
0
0
0
0
0
0.051339
0.294488
635
22
115
28.863636
0.736607
0.070866
0
0
1
0
0.069728
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4ee15a94ba5b67fbbcd9c69e2936e3eaac36ea45
963
py
Python
task-base/docker-build/json2wget.py
ikewai/climate-automation
4c14038eef8dfad515d3d6133664956b889da223
[ "BSD-3-Clause" ]
null
null
null
task-base/docker-build/json2wget.py
ikewai/climate-automation
4c14038eef8dfad515d3d6133664956b889da223
[ "BSD-3-Clause" ]
null
null
null
task-base/docker-build/json2wget.py
ikewai/climate-automation
4c14038eef8dfad515d3d6133664956b889da223
[ "BSD-3-Clause" ]
null
null
null
#!/bin/python3 import sys, subprocess, json # Currently a prototype, needs to be improved for robustness/long-term security # Check for arguments if (sys.argv[1] == None) or (str(sys.argv[1]) == ""): print("This script needs args! Pass it a json manifest.") exit(1) # Take arg 1 as the json file to read fnam...
32.1
86
0.711319
157
963
4.197452
0.477707
0.091047
0.036419
0.033384
0.072838
0.072838
0.072838
0
0
0
0
0.007335
0.150571
963
30
87
32.1
0.797066
0.2108
0
0.117647
0
0
0.238095
0.089947
0
0
0
0
0
1
0
false
0.058824
0.058824
0
0.058824
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
1
0
0
0
0
0
1
4ee191603c5cca2e6547de9d114918b053fad920
324
py
Python
knife-strings.py
cidmedeiros/data-swissknife
eba0bb68bf103375a42d0626bebd8fe04484a301
[ "MIT" ]
null
null
null
knife-strings.py
cidmedeiros/data-swissknife
eba0bb68bf103375a42d0626bebd8fe04484a301
[ "MIT" ]
null
null
null
knife-strings.py
cidmedeiros/data-swissknife
eba0bb68bf103375a42d0626bebd8fe04484a301
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sat Mar 9 11:48:56 2019 @author: cidmedeiros """ def strip_punct(str_list): import string no_punctuation_documents = [] for i in str_list: no_punctuation_documents.append(i.translate(str.maketrans('', '', string.punctuation))) return no_punctuation_docume...
24.923077
95
0.691358
43
324
5
0.72093
0.181395
0.306977
0
0
0
0
0
0
0
0
0.045113
0.179012
324
12
96
27
0.763158
0.246914
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
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
4ee7a76160170195aae50002fcd8dcccd3202663
614
py
Python
app/admin.py
curioswati/scrapy-tsa
50556880125412e0b8d925fb46c41c44dd31fb37
[ "MIT" ]
2
2020-01-15T05:17:23.000Z
2020-08-13T01:50:00.000Z
app/admin.py
curioswati/scrapy-tsa
50556880125412e0b8d925fb46c41c44dd31fb37
[ "MIT" ]
null
null
null
app/admin.py
curioswati/scrapy-tsa
50556880125412e0b8d925fb46c41c44dd31fb37
[ "MIT" ]
null
null
null
from django.contrib import admin from . import models class TweetAdmin(admin.ModelAdmin): list_per_page = 10 list_display = ( 'text', 'sentiment', 'sent_accuracy', 'collected_at', 'created_at') class SentimentAdmin(admin.ModelAdmin): list_per_page = 10 list_di...
20.466667
53
0.675896
68
614
5.911765
0.441176
0.11194
0.141791
0.164179
0.291045
0.291045
0.291045
0.291045
0
0
0
0.012474
0.216612
614
29
54
21.172414
0.823285
0
0
0.238095
0
0
0.105863
0
0
0
0
0
0
1
0
false
0
0.095238
0
0.52381
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
4eeb36f68cfcafb50687e732c7c951f2ecdc6416
507
py
Python
disturbance/migrations/0212_auto_20210112_1411.py
thakurpriya1990/disturbance
47f9ce5ae5f1b02d97ace11f1041e96daf7e4556
[ "Apache-2.0" ]
1
2020-06-30T04:47:42.000Z
2020-06-30T04:47:42.000Z
disturbance/migrations/0212_auto_20210112_1411.py
thakurpriya1990/disturbance
47f9ce5ae5f1b02d97ace11f1041e96daf7e4556
[ "Apache-2.0" ]
16
2020-03-11T08:25:46.000Z
2022-03-02T08:14:40.000Z
disturbance/migrations/0212_auto_20210112_1411.py
thakurpriya1990/disturbance
47f9ce5ae5f1b02d97ace11f1041e96daf7e4556
[ "Apache-2.0" ]
9
2020-01-30T17:37:38.000Z
2021-09-30T02:22:24.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2021-01-12 06:11 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('disturbance', '0211_auto_20201211_0935'), ] operations = [ migrations.Alte...
24.142857
82
0.642998
56
507
5.607143
0.821429
0
0
0
0
0
0
0
0
0
0
0.093506
0.240631
507
20
83
25.35
0.722078
0.136095
0
0
1
0
0.16092
0.052874
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4eee018747df60b140c41f1b3bb80e73b9f57fb8
1,754
py
Python
scripts/api-timeboard.py
mthnyldrm/hiring-engineers
cce91e08e6098c251a5b6bc4367b28a696c5159d
[ "Apache-2.0" ]
null
null
null
scripts/api-timeboard.py
mthnyldrm/hiring-engineers
cce91e08e6098c251a5b6bc4367b28a696c5159d
[ "Apache-2.0" ]
null
null
null
scripts/api-timeboard.py
mthnyldrm/hiring-engineers
cce91e08e6098c251a5b6bc4367b28a696c5159d
[ "Apache-2.0" ]
null
null
null
from datadog import initialize, api options = { 'api_key': "DELETED API KEY", 'app_key': "DELETED APP KEY" } initialize(**options) my_metrics_graph = { "viz": "timeseries", "requests": [ { "q": "avg:my_metric{host:C3PO} by {host}", "type": "area", "style": { "palette": "dog_...
21.13253
78
0.547891
168
1,754
5.517857
0.416667
0.03452
0.048544
0.071197
0.370011
0.278317
0.278317
0.278317
0.278317
0.278317
0
0.006375
0.284493
1,754
82
79
21.390244
0.732271
0
0
0.391892
0
0
0.335804
0.059293
0
0
0
0
0
0
null
null
0
0.013514
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4eef82291e0d26fd1968826470bdaec3db0c581b
539
py
Python
schemas/globalmarket.py
Crypto-Bot-Platform/core
97ffb3e47acc22876a2ea4793dc28715e740e804
[ "Apache-2.0" ]
null
null
null
schemas/globalmarket.py
Crypto-Bot-Platform/core
97ffb3e47acc22876a2ea4793dc28715e740e804
[ "Apache-2.0" ]
4
2022-02-13T22:54:00.000Z
2022-02-13T22:56:07.000Z
schemas/globalmarket.py
Crypto-Bot-Platform/core
97ffb3e47acc22876a2ea4793dc28715e740e804
[ "Apache-2.0" ]
null
null
null
GlobalMarketCommandSchema = """ { "namespace": "confluent.io.examples.serialization.avro", "name": "CBPCommand", "type": "record", "fields": [ {"name": "timestamp", "type": "long", "logicalType": "timestamp-millis"}, {"name": "pair", "type": "string"}...
31.705882
96
0.406308
33
539
6.636364
0.69697
0.100457
0
0
0
0
0
0
0
0
0
0
0.397032
539
17
97
31.705882
0.673846
0
0
0
0
0
0.935185
0.07963
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4ef10e157cc4d4497245a6b4489825c683081361
3,872
py
Python
lesson02/lixuebin/UserManageSystem.py
herrywen-nanj/51reboot
1130c79a360e1b548a6eaad176eb60f8bed22f40
[ "Apache-2.0" ]
null
null
null
lesson02/lixuebin/UserManageSystem.py
herrywen-nanj/51reboot
1130c79a360e1b548a6eaad176eb60f8bed22f40
[ "Apache-2.0" ]
null
null
null
lesson02/lixuebin/UserManageSystem.py
herrywen-nanj/51reboot
1130c79a360e1b548a6eaad176eb60f8bed22f40
[ "Apache-2.0" ]
null
null
null
''' 1. 登录认证; 2. 增删改查和搜索 3.1 增 add # add monkey 12 132xxx monkey@51reboot.com 3.2 删 delete # delete monkey 3.3 改 update # update monkey set age = 18 3.4 查 list # list 3.5 搜 find # find monkey 3. 格式化输出 ''' # 标准模块 import sys # 定义变量 RESULT = [] INIT_FAIL_CNT ...
31.479675
96
0.434917
442
3,872
3.757919
0.28733
0.042143
0.043347
0.036123
0.174594
0.15292
0.128838
0.128838
0.128838
0.095725
0
0.096019
0.448605
3,872
122
97
31.737705
0.681967
0.118802
0
0.342105
0
0.013158
0.213589
0
0
0
0
0
0
1
0
false
0.052632
0.013158
0
0.013158
0.171053
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4ef22ac7dd2d710b37191df8be1d96e2d1506330
57,671
py
Python
longplay5/velocityEngineLearningTest.py
mguzdial3/VideoGameEngineLearning
4a849df7a5a53f97d604c47594fc34874bef2982
[ "MIT" ]
5
2018-06-05T20:19:59.000Z
2020-06-04T06:53:03.000Z
longplay5/velocityEngineLearningTest.py
mguzdial3/VideoGameEngineLearning
4a849df7a5a53f97d604c47594fc34874bef2982
[ "MIT" ]
null
null
null
longplay5/velocityEngineLearningTest.py
mguzdial3/VideoGameEngineLearning
4a849df7a5a53f97d604c47594fc34874bef2982
[ "MIT" ]
3
2019-03-03T18:50:33.000Z
2020-01-17T00:36:46.000Z
import csv, shutil, sys, os, copy, glob, pickle sys.path.append('/usr/local/lib/python2.7/site-packages') import random, math import numpy as np from Queue import PriorityQueue #Hogwarts42! wordpress playerAccelerations = ["./playerAccelerationTrack.csv"] spriteAccelerations = ["./spriteAccelerationTrack.csv"] sprites...
36.616508
294
0.72572
6,586
57,671
6.293198
0.099302
0.0076
0.007962
0.01216
0.428306
0.355973
0.326296
0.304992
0.280479
0.262311
0
0.015577
0.162889
57,671
1,575
295
36.616508
0.842948
0.04947
0
0.368098
0
0
0.019355
0.005707
0
0
0
0.001905
0
0
null
null
0
0.004908
null
null
0.007362
0
0
0
null
0
0
0
0
0
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
4ef3458d115a0c58840b280b2e2cf8ae363cbdc5
347
py
Python
tenders_api/urls.py
dakhnovskaya/tenders
6d181ea2dca0f019cfc13a0022c7b08d816512c7
[ "Apache-2.0" ]
null
null
null
tenders_api/urls.py
dakhnovskaya/tenders
6d181ea2dca0f019cfc13a0022c7b08d816512c7
[ "Apache-2.0" ]
null
null
null
tenders_api/urls.py
dakhnovskaya/tenders
6d181ea2dca0f019cfc13a0022c7b08d816512c7
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.tender_list, name='tender_list'), url(r'^tender/(?P<pk>\d+)/$', views.tender_detail, name='tender_detail'), url(r'^tender/new/$', views.tender_new, name='tender_new'), url(r'^tender/(?P<pk>\d+)/edit/$', views.tender_e...
38.555556
78
0.657061
53
347
4.150943
0.339623
0.072727
0.136364
0.1
0.127273
0.127273
0
0
0
0
0
0
0.115274
347
9
79
38.555556
0.716612
0
0
0
0
0
0.307471
0.135057
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0
0
0
0
0
1
4ef401bf38a35a43bfbd95e54d2479c269a8d450
6,150
py
Python
nodes/AcuriteController.py
jamespauly/udi-acurite-poly
8c4866c3b18cf1c27f37ead392e732aa49e1bc07
[ "MIT" ]
null
null
null
nodes/AcuriteController.py
jamespauly/udi-acurite-poly
8c4866c3b18cf1c27f37ead392e732aa49e1bc07
[ "MIT" ]
null
null
null
nodes/AcuriteController.py
jamespauly/udi-acurite-poly
8c4866c3b18cf1c27f37ead392e732aa49e1bc07
[ "MIT" ]
null
null
null
# !/usr/bin/env python import time import json import udi_interface import nodes from acurite import AcuriteManager LOGGER = udi_interface.LOGGER Custom = udi_interface.Custom class AcuriteController(udi_interface.Node): def __init__(self, polyglot, primary, address, name): super(AcuriteController, sel...
37.730061
118
0.546829
555
6,150
6.014414
0.27027
0.040743
0.031456
0.025165
0.162373
0.107849
0.098862
0.098862
0.098862
0.098862
0
0.003322
0.36374
6,150
162
119
37.962963
0.849732
0.007967
0
0.195313
0
0
0.153821
0
0
0
0
0
0
1
0.078125
false
0.085938
0.039063
0
0.15625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4efd330234f572be13bc4497edf8cff77b92c118
5,466
py
Python
staffs/views.py
Floran-Github/Project-code
186ea185f1a5e57bf3fdc34b31b9979bafef4cfc
[ "Apache-2.0" ]
3
2021-02-02T12:24:44.000Z
2021-12-28T11:23:11.000Z
staffs/views.py
Floran-Github/Project-code
186ea185f1a5e57bf3fdc34b31b9979bafef4cfc
[ "Apache-2.0" ]
8
2021-03-20T18:51:54.000Z
2021-09-08T02:39:21.000Z
staffs/views.py
Floran-Github/Project-code
186ea185f1a5e57bf3fdc34b31b9979bafef4cfc
[ "Apache-2.0" ]
1
2020-11-16T11:29:23.000Z
2020-11-16T11:29:23.000Z
from django.contrib.messages.views import SuccessMessageMixin from django.shortcuts import * from django.contrib.auth.decorators import login_required from django.http import HttpResponse from django.views.generic import ListView, DetailView from django.views.generic.edit import CreateView, UpdateView, DeleteView from ...
33.533742
90
0.577205
542
5,466
5.667897
0.284133
0.032552
0.057292
0.070313
0.407552
0.386068
0.358724
0.349609
0.349609
0.349609
0
0.003055
0.281376
5,466
162
91
33.740741
0.779022
0.028357
0
0.385246
0
0
0.136622
0.026032
0
0
0
0
0
1
0.057377
false
0
0.147541
0
0.532787
0.008197
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
4eff86f61e5bd37ea0d1c87ff49e9b86fd0caaed
729
py
Python
pyregions/namespaces/entities.py
Kokitis/pyregions
c7da230128f1edb81ec1c6af39cbfdb27ffc049d
[ "MIT" ]
null
null
null
pyregions/namespaces/entities.py
Kokitis/pyregions
c7da230128f1edb81ec1c6af39cbfdb27ffc049d
[ "MIT" ]
null
null
null
pyregions/namespaces/entities.py
Kokitis/pyregions
c7da230128f1edb81ec1c6af39cbfdb27ffc049d
[ "MIT" ]
null
null
null
from pony.orm import Database, PrimaryKey, Set, Required, Optional, StrArray database_object = Database() class Namespace(database_object.Entity): id = PrimaryKey(int, auto=True) codes = Set('Code') name = Required(str) url = Optional(str) wiki = Optional(str) description = Optional(str) class Region(databa...
22.78125
76
0.735254
89
729
5.977528
0.370787
0.105263
0.112782
0.082707
0.161654
0.161654
0.161654
0.161654
0
0
0
0
0.135802
729
32
77
22.78125
0.844444
0
0
0.181818
0
0
0.049315
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
f60388fa589c2d04c49946de649e9f04bc08111e
1,163
py
Python
solfasol/events/models.py
rekognize/solfasol
c960c3364c753d75161242eccac4f085d800c843
[ "MIT" ]
null
null
null
solfasol/events/models.py
rekognize/solfasol
c960c3364c753d75161242eccac4f085d800c843
[ "MIT" ]
1
2020-06-18T13:08:47.000Z
2020-06-18T13:08:47.000Z
solfasol/events/models.py
Solfasol/solfasol
c960c3364c753d75161242eccac4f085d800c843
[ "MIT" ]
null
null
null
from django.db import models class EventType(models.Model): name = models.CharField("Tip", max_length=50) def __str__(self): return self.name class Meta: verbose_name = "Etkinlik tipi" verbose_name_plural = "Etkinlik tipleri" class Event(models.Model): title = models.CharFi...
29.820513
89
0.66724
137
1,163
5.510949
0.481752
0.059603
0.086093
0.112583
0.119205
0.066225
0
0
0
0
0
0.008801
0.218401
1,163
38
90
30.605263
0.821782
0
0
0.133333
0
0
0.134136
0
0
0
0
0
0
1
0.066667
false
0
0.033333
0.066667
0.633333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
f609a5ad98c426e480ab5b5509cf7c62390affa6
1,475
py
Python
mmtbx/polygon/tst.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
mmtbx/polygon/tst.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
mmtbx/polygon/tst.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
from __future__ import division import iotbx.phil from mmtbx import polygon import libtbx, os params1 = iotbx.phil.parse("""\ polygon { keys_to_show = *r_work *r_free *bond_rmsd *angle_rmsd *adp_mean_all } """) params3 = iotbx.phil.parse("""\ polygon { keys_to_show = %s } """ % " ".join([ "*%s" % k for k in polyg...
28.921569
76
0.701695
202
1,475
4.856436
0.440594
0.103976
0.039755
0.051988
0.342508
0.342508
0.342508
0.279307
0.228338
0.228338
0
0.016515
0.178983
1,475
50
77
29.5
0.793559
0.202712
0
0.157895
0
0
0.216424
0.031651
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f60d4db776e42fb864a9078e417dfa7959547a44
2,075
py
Python
tests/test_models/test_report.py
hugorodgerbrown/django-onfido
9e534f4725b61d982ffb2cd6a018ed1fffc353b6
[ "MIT" ]
6
2016-11-14T13:31:46.000Z
2022-02-17T20:39:42.000Z
tests/test_models/test_report.py
hugorodgerbrown/django-onfido
9e534f4725b61d982ffb2cd6a018ed1fffc353b6
[ "MIT" ]
23
2016-10-21T11:18:34.000Z
2021-12-08T17:33:01.000Z
tests/test_models/test_report.py
hugorodgerbrown/django-onfido
9e534f4725b61d982ffb2cd6a018ed1fffc353b6
[ "MIT" ]
7
2016-11-14T18:19:09.000Z
2021-10-01T11:34:48.000Z
import copy from unittest import mock import pytest from dateutil.parser import parse as date_parse from onfido.models import Report from onfido.models.base import BaseModel from ..conftest import IDENTITY_REPORT_ID, TEST_REPORT_IDENTITY_ENHANCED @pytest.mark.django_db class TestReportManager: @mock.patch.obje...
38.425926
84
0.697349
261
2,075
5.35249
0.256705
0.146027
0.077309
0.111668
0.18325
0.121689
0.121689
0.06156
0.06156
0
0
0
0.21012
2,075
53
85
39.150943
0.852349
0.072771
0
0.146341
0
0
0.06499
0
0
0
0
0
0.512195
1
0.073171
false
0
0.170732
0
0.292683
0
0
0
0
null
0
0
0
0
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
f61211e215eed5bf4a059e058d62d17b531a8100
1,244
py
Python
thirdparty/MicroPython/tests_excamples/test_re.py
flyghost/OneOS-V2.1.0
6fedab0558c07fe679d63ba1eb8ee9992c044d86
[ "Apache-2.0" ]
null
null
null
thirdparty/MicroPython/tests_excamples/test_re.py
flyghost/OneOS-V2.1.0
6fedab0558c07fe679d63ba1eb8ee9992c044d86
[ "Apache-2.0" ]
null
null
null
thirdparty/MicroPython/tests_excamples/test_re.py
flyghost/OneOS-V2.1.0
6fedab0558c07fe679d63ba1eb8ee9992c044d86
[ "Apache-2.0" ]
null
null
null
#test_re.py import ure as re r = re.compile(".+") m = r.match("abc") print(m.group(0))#abc str(r)#'<re 2000b5c0>',正则表达式编译后所在的内存地址 str(m)#'<match num=1>' r = re.compile("(.+)1") m = r.match("xyz781") print(m.group(0))#xyz781 print(m.group(1))#xyz78 r = re.compile("[a-cu-z]") m = r.match("a") print(m.group(0))#a m = r.m...
19.746032
81
0.576367
229
1,244
3.117904
0.283843
0.109244
0.169468
0.117647
0.155462
0.120448
0.018207
0
0
0
0
0.105566
0.162379
1,244
62
82
20.064516
0.579655
0.146302
0
0.244444
0
0
0.129328
0.02444
0
0
0
0
0
1
0.066667
false
0.022222
0.022222
0.044444
0.133333
0.422222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
f613142ddcd652609cb931bbe8c1e3214368175d
1,059
py
Python
tdc/test/dev_tests/chem_utils_test/test_molconverter.py
Shicheng-Guo/TDC
36e2863aca5abe3147e34f59d20fd77112945242
[ "MIT" ]
577
2020-11-17T01:09:15.000Z
2022-03-31T22:45:34.000Z
tdc/test/dev_tests/chem_utils_test/test_molconverter.py
Shicheng-Guo/TDC
36e2863aca5abe3147e34f59d20fd77112945242
[ "MIT" ]
70
2020-11-18T09:35:33.000Z
2022-03-25T11:28:38.000Z
tdc/test/dev_tests/chem_utils_test/test_molconverter.py
Shicheng-Guo/TDC
36e2863aca5abe3147e34f59d20fd77112945242
[ "MIT" ]
106
2020-11-17T01:47:02.000Z
2022-03-25T03:34:46.000Z
# -*- coding: utf-8 -*- from __future__ import division from __future__ import print_function import os import sys import unittest import shutil # temporary solution for relative imports in case TDC is not installed # if TDC is installed, no need to use the following line sys.path.append(os.path.abspath(os.path.joi...
29.416667
73
0.629839
138
1,059
4.710145
0.521739
0.055385
0.046154
0.055385
0.166154
0.166154
0
0
0
0
0
0.017241
0.233239
1,059
36
74
29.416667
0.783251
0.136922
0
0.173913
0
0.043478
0.144896
0.111965
0
0
0
0
0
1
0.130435
false
0.043478
0.347826
0
0.521739
0.130435
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f61694377f46c295f95a15496f4f86dffe9f8581
839
py
Python
FindL1NearHardStops.py
EichlerLab/chm1_scripts
55d1783139f4ccc6e41c79812920785b1eaea65e
[ "MIT" ]
5
2016-04-21T20:00:01.000Z
2020-03-12T16:35:55.000Z
FindL1NearHardStops.py
EichlerLab/chm1_scripts
55d1783139f4ccc6e41c79812920785b1eaea65e
[ "MIT" ]
null
null
null
FindL1NearHardStops.py
EichlerLab/chm1_scripts
55d1783139f4ccc6e41c79812920785b1eaea65e
[ "MIT" ]
8
2015-09-15T07:08:06.000Z
2021-07-13T02:25:12.000Z
#!/usr/bin/env python import sys import argparse import Tools import os ap = argparse.ArgumentParser(description="Find L1s near alignments.") ap.add_argument("l1", help="L1 alignments in m1 format.") ap.add_argument("hs", help="Input hard-stop cluster bed file. The 4th field is the reads that align") args = ap.pars...
23.971429
102
0.605483
126
839
4.007937
0.492063
0.055446
0.065347
0
0
0
0
0
0
0
0
0.041009
0.244339
839
34
103
24.676471
0.755521
0.023838
0
0.076923
0
0
0.162592
0
0
0
0
0
0
0
null
null
0
0.153846
null
null
0.038462
0
0
0
null
0
0
0
0
0
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
f61aab987e3d915cebd0a4c0f8a5bcf61bbf0629
2,466
py
Python
acl_stats/cli.py
DiogoAndre/acl_stats
5d9988c50c0ae7cc48f8a6ffafb7f1ffccca2aab
[ "MIT" ]
1
2018-10-17T02:32:06.000Z
2018-10-17T02:32:06.000Z
acl_stats/cli.py
DiogoAndre/acl_stats
5d9988c50c0ae7cc48f8a6ffafb7f1ffccca2aab
[ "MIT" ]
3
2018-10-12T07:00:38.000Z
2021-04-06T16:58:04.000Z
acl_stats/cli.py
DiogoAndre/acl_stats
5d9988c50c0ae7cc48f8a6ffafb7f1ffccca2aab
[ "MIT" ]
1
2018-10-17T02:32:08.000Z
2018-10-17T02:32:08.000Z
# -*- coding: utf-8 -*- """Console script for acl_stats.""" import sys import click from acl_stats import acl_stats @click.group() def main(): click.echo(click.style('ACL Stats', fg='blue', bold=True)) pass @main.command() @click.option('--acl-file', default=None, prompt='ACL File', help='File containing the...
42.517241
161
0.708029
358
2,466
4.773743
0.223464
0.070802
0.069631
0.094207
0.455237
0.401989
0.401989
0.401989
0.401989
0.401989
0
0.00283
0.140308
2,466
57
162
43.263158
0.803302
0.062044
0
0.216216
0
0
0.301829
0
0
0
0
0
0
1
0.081081
false
0.108108
0.081081
0
0.216216
0.108108
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f61c4d51add650c701131dd7b88a89605386536c
2,857
py
Python
stdnet/backends/redisb/client/async.py
stuaxo/python-stdnet
78db5320bdedc3f28c5e4f38cda13a4469e35db7
[ "BSD-3-Clause" ]
61
2015-01-13T23:41:10.000Z
2021-09-14T03:23:59.000Z
stdnet/backends/redisb/client/async.py
drscream/python-stdnet
78db5320bdedc3f28c5e4f38cda13a4469e35db7
[ "BSD-3-Clause" ]
4
2015-02-28T08:57:14.000Z
2020-12-29T17:14:43.000Z
stdnet/backends/redisb/client/async.py
drscream/python-stdnet
78db5320bdedc3f28c5e4f38cda13a4469e35db7
[ "BSD-3-Clause" ]
12
2015-01-01T09:23:06.000Z
2021-09-16T08:09:13.000Z
'''The :mod:`stdnet.backends.redisb.async` module implements an asynchronous connector for redis-py_. It uses pulsar_ asynchronous framework. To use this connector, add ``timeout=0`` to redis :ref:`connection string <connection-string>`:: 'redis://127.0.0.1:6378?password=bla&timeout=0' Usage:: from stdnet im...
30.073684
79
0.651383
345
2,857
5.298551
0.284058
0.034464
0.061269
0.050328
0.474836
0.474836
0.442013
0.442013
0.399344
0.399344
0
0.011601
0.245712
2,857
94
80
30.393617
0.836659
0.19986
0
0.461538
0
0
0.017048
0
0
0
0
0
0
1
0.134615
false
0.057692
0.076923
0.057692
0.403846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f61cc1ae852f6e3cdc0373fc2f68008d500802d7
1,060
py
Python
Bookstore/migrations/0003_auto_20141231_0233.py
nuaaflash/NuaaOldBookStore
259f551a5fa97f2862745cb239c50d8ef87efe49
[ "Apache-2.0" ]
1
2020-04-15T17:04:07.000Z
2020-04-15T17:04:07.000Z
Bookstore/migrations/0003_auto_20141231_0233.py
nuaaflash/NuaaOldBookStore
259f551a5fa97f2862745cb239c50d8ef87efe49
[ "Apache-2.0" ]
null
null
null
Bookstore/migrations/0003_auto_20141231_0233.py
nuaaflash/NuaaOldBookStore
259f551a5fa97f2862745cb239c50d8ef87efe49
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('Bookstore', '0002_auto_20141231_0212'), ] operations = [ migrations.AddField( model_name='book', nam...
27.179487
89
0.567925
96
1,060
6.072917
0.5
0.123499
0.157804
0.185249
0.353345
0.353345
0.29331
0.29331
0.29331
0.198971
0
0.041609
0.319811
1,060
38
90
27.894737
0.76699
0.019811
0
0.5
0
0
0.108968
0.022179
0
0
0
0
0
1
0
false
0
0.0625
0
0.15625
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
f622d97038dda29232e1878a65eabde8e5a0a425
3,668
py
Python
tests_admin_hotel/rooms/test_post_check_in.py
brailovskiy/rest-api-test
01b099b748d4fd8dc6c380492e71c5d34bb15fdb
[ "MIT" ]
null
null
null
tests_admin_hotel/rooms/test_post_check_in.py
brailovskiy/rest-api-test
01b099b748d4fd8dc6c380492e71c5d34bb15fdb
[ "MIT" ]
null
null
null
tests_admin_hotel/rooms/test_post_check_in.py
brailovskiy/rest-api-test
01b099b748d4fd8dc6c380492e71c5d34bb15fdb
[ "MIT" ]
null
null
null
from hamcrest import * from shared.constants import DefaultValues as DV from shared.sdp_actions_room import RoomControl as RC from shared.generate_data import DepartureDate from api.rooms import Rooms import allure class TestPostCheckInAdminHotel: """ Тесты категории Rooms, метод POST /id/checkin, роль - админист...
58.222222
114
0.697655
483
3,668
5.022774
0.329193
0.065952
0.051937
0.040396
0.402308
0.33141
0.3108
0.248145
0.233306
0.233306
0
0.015395
0.203108
3,668
62
115
59.16129
0.814574
0.075245
0
0.12766
1
0
0.281937
0.030303
0
0
0
0
0.340426
1
0.06383
false
0
0.12766
0
0.212766
0
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