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
2d65a6b560201a134f57e5463d99d92ee04799d4
492
py
Python
gammapy/time/tests/test_exptest.py
contrera/gammapy
aa0a74baa977ee2477b5c63e036075f4219792a3
[ "BSD-3-Clause" ]
null
null
null
gammapy/time/tests/test_exptest.py
contrera/gammapy
aa0a74baa977ee2477b5c63e036075f4219792a3
[ "BSD-3-Clause" ]
1
2020-10-29T19:55:46.000Z
2020-10-29T19:55:46.000Z
gammapy/time/tests/test_exptest.py
qpiel/gammapy
cfb976909e63f4d5d578e1495245c0baad69482b
[ "BSD-3-Clause" ]
null
null
null
# Licensed under a 3-clause BSD style license - see LICENSE.rst from __future__ import absolute_import, division, print_function, unicode_literals from numpy.testing import assert_allclose from astropy.units import Quantity from ..exptest import exptest from ..simulate import random_times def test_exptest(): rate...
35.142857
82
0.778455
71
492
5.169014
0.647887
0.076294
0
0
0
0
0
0
0
0
0
0.047281
0.140244
492
13
83
37.846154
0.820331
0.123984
0
0
0
0
0.009324
0
0
0
0
0
0.2
1
0.1
false
0
0.5
0
0.6
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2d6783269108954016882a6bc19f89f0a176f96a
806
py
Python
load-tester/loadTester/loadTester.py
artofimagination/snippets
e82ceb15aa6189d84468f7873bc6c9726790f372
[ "MIT" ]
2
2020-10-30T01:54:59.000Z
2021-11-15T22:51:30.000Z
load-tester/loadTester/loadTester.py
artofimagination/snippets
e82ceb15aa6189d84468f7873bc6c9726790f372
[ "MIT" ]
null
null
null
load-tester/loadTester/loadTester.py
artofimagination/snippets
e82ceb15aa6189d84468f7873bc6c9726790f372
[ "MIT" ]
null
null
null
import time from locust import HttpUser, task, between from locust import events import json import random userID = 1 class testUserAdd(HttpUser): wait_time = between(0.1, 2) @task(3) def getUser(self): self.client.get("/") pass @task def addUser(self): with self.cli...
25.1875
151
0.621588
100
806
4.96
0.59
0.080645
0.064516
0
0
0
0
0
0
0
0
0.018676
0.269231
806
32
152
25.1875
0.82343
0
0
0
0
0.043478
0.168525
0.097893
0
0
0
0
0
1
0.130435
false
0.086957
0.217391
0
0.434783
0
0
0
0
null
0
0
0
0
0
0
0
0
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
2d68c8a165debfb97ec562aac8a403c77ba9bd95
743
py
Python
gql/schema/Media.py
allanwright/media-classifier-api
f1391c9c62cb9016403443aeba87b252108d3e1a
[ "MIT" ]
1
2020-09-01T09:32:38.000Z
2020-09-01T09:32:38.000Z
gql/schema/Media.py
allanwright/media-classifier-api
f1391c9c62cb9016403443aeba87b252108d3e1a
[ "MIT" ]
1
2019-12-18T23:27:17.000Z
2020-01-07T09:14:18.000Z
gql/schema/Media.py
allanwright/media-classifier-api
f1391c9c62cb9016403443aeba87b252108d3e1a
[ "MIT" ]
null
null
null
import graphene from .Classification import Classification from .Entity import Entity class Media(graphene.ObjectType): name = graphene.String() classification = graphene.Field(Classification) entities = graphene.List(Entity) @staticmethod def resolve_classification(parent, info): ...
33.772727
104
0.689098
71
743
7.183099
0.464789
0.058824
0.086275
0
0
0
0
0
0
0
0
0
0.208614
743
21
105
35.380952
0.867347
0
0
0.117647
0
0
0.060565
0
0
0
0
0
0
1
0.117647
false
0
0.176471
0.058824
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
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
2d6b3b6fb6b1009267d289bbe8f65bab345328b6
17,338
py
Python
recipes/Python/576957_Asynchronous_subprocess_using/recipe-576957.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/576957_Asynchronous_subprocess_using/recipe-576957.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/576957_Asynchronous_subprocess_using/recipe-576957.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
#!/usr/bin/env python """asyncsubproc.py: Asynchronous subprocess communication using asyncore. The `AsyncPopen` class wraps the I/O pipes from `Popen` in asynchronous dispatchers, providing asynchronous communication with the subprocess using `asyncore.loop()` to read and write in parallel with other I/O. The `Subp...
46.607527
115
0.676837
2,344
17,338
4.896331
0.22227
0.02945
0.011153
0.008365
0.142807
0.10325
0.081032
0.051233
0.032761
0.026662
0
0.004303
0.235898
17,338
371
116
46.733154
0.862017
0.054159
0
0.187166
0
0
0.085267
0
0
0
0
0
0
0
null
null
0.005348
0.085562
null
null
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
1
0
0
0
0
0
0
0
0
1
2d7caa7b642ed402a584c731a72f9ee2c7c5c614
440
py
Python
python_07_function/music.py
lexiaoyuan/PythonCrashCourse
9d1c59012d3ae9fdbfc468bbf401f567ce88681b
[ "MIT" ]
null
null
null
python_07_function/music.py
lexiaoyuan/PythonCrashCourse
9d1c59012d3ae9fdbfc468bbf401f567ce88681b
[ "MIT" ]
null
null
null
python_07_function/music.py
lexiaoyuan/PythonCrashCourse
9d1c59012d3ae9fdbfc468bbf401f567ce88681b
[ "MIT" ]
null
null
null
def make_album(singer, album, numbers=''): albums = {'singer': singer, 'album': album} if numbers: albums['numbers'] = numbers return albums print(make_album('张靓颖', '终于等到你')) print(make_album('邓丽君', '我只在乎你', 20)) print(make_album('汪小敏', '笑看风云')) while True: singer = input("请输入歌手:") if not...
22
47
0.606818
55
440
4.763636
0.418182
0.171756
0.21374
0.152672
0
0
0
0
0
0
0
0.0059
0.229545
440
19
48
23.157895
0.766962
0
0
0.125
0
0
0.120455
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.125
0.25
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
2d7e1a7e16c174766487a2395a5d9c2de63a0979
3,401
py
Python
ops_challenge/ops_challenge05/classes/malware.py
jinwoov/Ops401
28db339e1edac31fb82640a76ebb01c4218984a0
[ "MIT" ]
null
null
null
ops_challenge/ops_challenge05/classes/malware.py
jinwoov/Ops401
28db339e1edac31fb82640a76ebb01c4218984a0
[ "MIT" ]
null
null
null
ops_challenge/ops_challenge05/classes/malware.py
jinwoov/Ops401
28db339e1edac31fb82640a76ebb01c4218984a0
[ "MIT" ]
null
null
null
import os, ctypes, urllib.request, datetime, subprocess, time, win32gui from .helper_method import * class Malware: def __init__(self): self.user_name = os.path.expanduser("~") self.ab_path = f"{self.user_name}/Desktop/" def change_desktop_wallpaper(self): image_url = "https://pm1.narv...
49.289855
135
0.667745
494
3,401
4.520243
0.431174
0.049261
0.017913
0.014778
0.113748
0.101209
0.101209
0.0412
0.0412
0.0412
0
0.024774
0.252279
3,401
69
136
49.289855
0.853323
0.064981
0
0.116667
0
0.083333
0.534825
0.059565
0
0
0
0
0
1
0.083333
false
0.066667
0.05
0
0.166667
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2d7fc3abe39cf3e9af684ca1c1c06bb76cefc22e
2,099
py
Python
restful_mys/controller/auth.py
YnkDK/restful-mys
a7c9b69fc1819c018eea427d36b75e7428017b47
[ "MIT" ]
null
null
null
restful_mys/controller/auth.py
YnkDK/restful-mys
a7c9b69fc1819c018eea427d36b75e7428017b47
[ "MIT" ]
null
null
null
restful_mys/controller/auth.py
YnkDK/restful-mys
a7c9b69fc1819c018eea427d36b75e7428017b47
[ "MIT" ]
null
null
null
import time from flask.ext.restful import Resource, reqparse, abort from flask import jsonify from ..model.auth import Auth as Model from restful_mys.controller.secure_resource import SecureResource class Auth(Resource): def __init__(self): """ Sets up request parser and model for authentication...
31.328358
117
0.587899
236
2,099
5.127119
0.40678
0.064463
0.070248
0.049587
0.185124
0.138843
0.059504
0
0
0
0
0.00625
0.313959
2,099
67
118
31.328358
0.834028
0.206289
0
0.166667
0
0.02381
0.171756
0
0
0
0
0
0
1
0.071429
false
0.071429
0.119048
0
0.261905
0
0
0
0
null
0
0
0
0
0
0
0
0
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
2d8060a095c24721d7f41aeabcb2b6aac2136880
330
py
Python
runoob/basic_tutorial/for.py
zeroonegit/python
919f8bb14ae91e37e42ff08192df24b60135596f
[ "MIT" ]
1
2017-03-30T00:43:40.000Z
2017-03-30T00:43:40.000Z
runoob/basic_tutorial/for.py
QuinceySun/Python
919f8bb14ae91e37e42ff08192df24b60135596f
[ "MIT" ]
null
null
null
runoob/basic_tutorial/for.py
QuinceySun/Python
919f8bb14ae91e37e42ff08192df24b60135596f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Filename: for.py edibles = ['ham', 'spam', 'eggs', 'nuts'] for food in edibles: if food == 'spam': print('No more spam please!') break print('Great, delicious ' + food) else: print('I am so glad: No spam!') print('Finally, I finished stuffing...
23.571429
44
0.590909
46
330
4.23913
0.73913
0.092308
0
0
0
0
0
0
0
0
0
0.007843
0.227273
330
13
45
25.384615
0.756863
0.181818
0
0
0
0
0.423221
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
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
2d812410456274462b915c6ce91ff52a568c1a04
5,351
py
Python
abnormal/Address.py
89berner/abnormal
2bd61f52ecdd9bdf15fbd12d9963b030761b4ed3
[ "MIT" ]
4
2017-07-19T12:16:36.000Z
2019-08-27T17:46:51.000Z
abnormal/Address.py
89berner/abnormal
2bd61f52ecdd9bdf15fbd12d9963b030761b4ed3
[ "MIT" ]
null
null
null
abnormal/Address.py
89berner/abnormal
2bd61f52ecdd9bdf15fbd12d9963b030761b4ed3
[ "MIT" ]
null
null
null
import logging import json import re import time import os import traceback import sys import Utils import cv2 import hashlib from BeautifulSoup import BeautifulSoup from selenium.webdriver.common.by import By from selenium import webdriver from selenium.webdriver.common.desired_capabilities import DesiredCapabilities...
34.522581
124
0.56681
631
5,351
4.689382
0.286846
0.036499
0.028388
0.020277
0.143968
0.108145
0.095978
0.072998
0.072998
0.072998
0
0.007804
0.329471
5,351
155
125
34.522581
0.81689
0.037937
0
0.231343
0
0
0.076444
0.011087
0
0
0
0
0
0
null
null
0.014925
0.11194
null
null
0.029851
0
0
0
null
0
0
0
0
0
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
2d82f0cad6e25e6ee11de50a92f1e29522149a95
1,325
py
Python
MainWeb.py
leonevo/euao
ff7a2c9fa76c4eed297856ef82ac3d2baa8976c1
[ "Apache-2.0" ]
2
2015-01-16T07:36:19.000Z
2017-03-10T06:11:55.000Z
MainWeb.py
leonevo/euao
ff7a2c9fa76c4eed297856ef82ac3d2baa8976c1
[ "Apache-2.0" ]
null
null
null
MainWeb.py
leonevo/euao
ff7a2c9fa76c4eed297856ef82ac3d2baa8976c1
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python #-*- coding: utf-8 -*- # # Copyright 2012 leon.tan@ce-service.com.cn # import tornado.httpserver import tornado.ioloop from tornadows import soaphandler from tornadows import webservices from tornadows import xmltypes from tornadows.soaphandler import webservice from time import ctime,s...
30.113636
58
0.753208
168
1,325
5.738095
0.35119
0.03112
0.037344
0.103734
0.145228
0.145228
0.145228
0
0
0
0
0.004437
0.149434
1,325
44
59
30.113636
0.850932
0.086792
0
0
0
0
0.055077
0
0
0
0
0
0
1
0
false
0
0.424242
0
0.424242
0
0
0
0
null
0
0
0
0
0
0
0
0
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
2d839397b1b09e39c22594a8d49690eb6a6093c9
2,690
py
Python
tests/test_utils_paths.py
gva-jjoyce/gva_data
cda990d0abb4b175025aaf16e75192bd9cc213af
[ "Apache-2.0" ]
null
null
null
tests/test_utils_paths.py
gva-jjoyce/gva_data
cda990d0abb4b175025aaf16e75192bd9cc213af
[ "Apache-2.0" ]
24
2020-12-24T12:21:42.000Z
2021-01-28T14:22:38.000Z
tests/test_utils_paths.py
gva-jjoyce/gva_data
cda990d0abb4b175025aaf16e75192bd9cc213af
[ "Apache-2.0" ]
null
null
null
""" Tests for paths to ensure the split and join methods of paths return the expected values for various stimulus. """ import datetime import sys import os sys.path.insert(1, os.path.join(sys.path[0], '..')) from gva.utils import paths try: from rich import traceback traceback.install() except Impo...
31.27907
94
0.620446
376
2,690
4.268617
0.239362
0.113396
0.079751
0.095327
0.501558
0.427414
0.404984
0.404984
0.389408
0.389408
0
0.035054
0.215242
2,690
85
95
31.647059
0.725249
0.081041
0
0.25
0
0
0.27399
0.091751
0
0
0
0
0.428571
1
0.053571
false
0.017857
0.107143
0
0.160714
0.017857
0
0
0
null
0
0
0
0
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
2d84db9f4085a2b063eabd4285db229eaeabfb31
824
py
Python
bridger/markdown/models.py
intellineers/django-bridger
ed097984a99df7da40a4d01bd00c56e3c6083056
[ "BSD-3-Clause" ]
2
2020-03-17T00:53:23.000Z
2020-07-16T07:00:33.000Z
bridger/markdown/models.py
intellineers/django-bridger
ed097984a99df7da40a4d01bd00c56e3c6083056
[ "BSD-3-Clause" ]
76
2019-12-05T01:15:57.000Z
2021-09-07T16:47:27.000Z
bridger/markdown/models.py
intellineers/django-bridger
ed097984a99df7da40a4d01bd00c56e3c6083056
[ "BSD-3-Clause" ]
1
2020-02-05T15:09:47.000Z
2020-02-05T15:09:47.000Z
import pathlib import uuid from django.db import models from django.dispatch import receiver class Asset(models.Model): id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) file = models.FileField(upload_to="markdown/assets") content_type = models.CharField(max_length=10, null=Tr...
30.518519
79
0.729369
109
824
5.366972
0.522936
0.05641
0.061538
0.082051
0
0
0
0
0
0
0
0.011494
0.15534
824
26
80
31.692308
0.829023
0.050971
0
0
0
0
0.076923
0.026923
0
0
0
0
0
1
0.058824
false
0
0.235294
0
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
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
2d86a39167f07377be13bbec151cf1f804e05ee3
2,803
py
Python
biostar/apps/planet/models.py
Torres63/biostar
b7292abe9d541d5cec003812050f7723fad80d8e
[ "MIT" ]
1
2021-08-01T23:26:12.000Z
2021-08-01T23:26:12.000Z
biostar/apps/planet/models.py
Torres63/biostar
b7292abe9d541d5cec003812050f7723fad80d8e
[ "MIT" ]
14
2019-12-26T17:01:14.000Z
2022-03-21T22:16:52.000Z
biostar/apps/planet/models.py
Torres63/biostar
b7292abe9d541d5cec003812050f7723fad80d8e
[ "MIT" ]
1
2020-03-12T07:24:27.000Z
2020-03-12T07:24:27.000Z
from django.db import models from django.conf import settings import os, urllib, logging, feedparser, datetime from django.core.urlresolvers import reverse from django.utils.timezone import utc from django.contrib import admin logger = logging.getLogger(__name__) def now(): return datetime.datetime.utcnow().repla...
27.752475
95
0.652515
360
2,803
5.002778
0.397222
0.027762
0.036646
0.026652
0.138812
0.108828
0.038867
0
0
0
0
0.007042
0.2401
2,803
101
96
27.752475
0.838498
0.113807
0
0.190476
0
0
0.048301
0
0
0
0
0
0
0
null
null
0
0.095238
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
2d911fdfe6be8400efc08257f6e6406f69ce008f
1,073
py
Python
analysis_layer/test_permutation.py
tpimentelms/phonotactic-complexity
70d0a9e45943096d7640eaf7277033e3920408c9
[ "MIT" ]
5
2020-04-17T20:46:11.000Z
2022-03-02T10:32:00.000Z
analysis_layer/test_permutation.py
tpimentelms/phonotactic-complexity
70d0a9e45943096d7640eaf7277033e3920408c9
[ "MIT" ]
null
null
null
analysis_layer/test_permutation.py
tpimentelms/phonotactic-complexity
70d0a9e45943096d7640eaf7277033e3920408c9
[ "MIT" ]
null
null
null
import numpy as np def paired_permutation_test(art, norm, verbose=True): diffs = [art[i] - norm[i] for i in range(len(art))] mu = np.abs(np.mean(diffs)) n = 0 for i in range(2**len(art)): permut = bin(i)[2:] permut = [0] * (len(art) - len(permut)) + [int(y) for y in permut] mu...
29
81
0.541473
183
1,073
3.120219
0.240437
0.084063
0.049037
0.077058
0.609457
0.609457
0.609457
0.609457
0.609457
0.609457
0
0.025099
0.294501
1,073
36
82
29.805556
0.729194
0
0
0.571429
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0.035714
0
0.178571
0.107143
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
2d9924e50567b3075a248365f7fdb4383555135b
4,296
py
Python
async_dns/core/address.py
gera2ld/async_dns
e82066415f334f0a6518056643b58e475abb117f
[ "MIT" ]
59
2017-01-22T04:46:04.000Z
2022-03-18T08:31:38.000Z
async_dns/core/address.py
gera2ld/async_dns
e82066415f334f0a6518056643b58e475abb117f
[ "MIT" ]
26
2017-05-09T05:20:53.000Z
2021-10-02T10:42:55.000Z
async_dns/core/address.py
gera2ld/async_dns
e82066415f334f0a6518056643b58e475abb117f
[ "MIT" ]
21
2017-05-08T20:50:19.000Z
2022-02-04T19:19:43.000Z
import socket from typing import Union from urllib.parse import urlparse from . import types __all__ = [ 'Host', 'Address', 'InvalidHost', 'InvalidIP', ] class Host: hostname: str port: Union[int, None] username: Union[str, None] password: Union[str, None] def __init__(self, net...
26.85
78
0.570764
485
4,296
4.917526
0.212371
0.045283
0.026834
0.016771
0.020964
0.020964
0
0
0
0
0
0.006489
0.318436
4,296
159
79
27.018868
0.80806
0.00838
0
0.108527
0
0
0.046053
0.005874
0
0
0
0
0
1
0.124031
false
0.100775
0.031008
0.03876
0.325581
0
0
0
0
null
0
0
0
0
0
0
0
0
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
2d9ddf535cf35ba37d4eac9f433cfe388a7677a5
1,545
py
Python
src/max10_generate.py
krtkr/altera_kicad_gen
0a688df5d718bcd2c40946fa3538e8a7b20427a3
[ "MIT" ]
null
null
null
src/max10_generate.py
krtkr/altera_kicad_gen
0a688df5d718bcd2c40946fa3538e8a7b20427a3
[ "MIT" ]
null
null
null
src/max10_generate.py
krtkr/altera_kicad_gen
0a688df5d718bcd2c40946fa3538e8a7b20427a3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ''' Created on 20 июл. 2017 г. @author: krtkr ''' import sys import getopt from KicadSymGen.draw import Library from KicadSymGen.generate import Generator from KicadSymGen.generate import Layout from KicadSymGen.parse.altera import Max10Reader from KicadSymGen.parse.altera import Max10Parser...
27.105263
87
0.610356
190
1,545
4.794737
0.394737
0.052689
0.036224
0.063666
0.105379
0
0
0
0
0
0
0.025239
0.256311
1,545
56
88
27.589286
0.767624
0.042071
0
0.046512
1
0
0.171196
0
0
0
0
0
0
1
0.023256
false
0.023256
0.162791
0
0.186047
0.162791
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
2db1b6921c5d27b60e270fec2d01b8834afe0b90
632
py
Python
dynadb/migrations/0075_auto_20170125_1954.py
GPCRmd/GPCRmd
7dc75359ace4a00c1597bdb7a86ebee17d51f09c
[ "Apache-2.0" ]
3
2019-03-06T13:35:38.000Z
2020-08-05T15:31:29.000Z
dynadb/migrations/0075_auto_20170125_1954.py
GPCRmd/GPCRmd
7dc75359ace4a00c1597bdb7a86ebee17d51f09c
[ "Apache-2.0" ]
null
null
null
dynadb/migrations/0075_auto_20170125_1954.py
GPCRmd/GPCRmd
7dc75359ace4a00c1597bdb7a86ebee17d51f09c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2017-01-25 18:54 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('dynadb', '0074_auto_2017012...
27.478261
157
0.68038
79
632
5.240506
0.658228
0.057971
0.067633
0.10628
0
0
0
0
0
0
0
0.063745
0.205696
632
22
158
28.727273
0.760956
0.106013
0
0
1
0
0.103203
0.040925
0
0
0
0
0
1
0
false
0
0.266667
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2dbcc88a23bbd569c1da024d5f32aacf47d92b8c
5,502
py
Python
feature_extraction.py
navtejsingh/epilepsypred
ee7cfcd78f5eb23295b86d4ff3220cb8ff5ffb1d
[ "BSD-2-Clause" ]
1
2021-03-24T21:11:54.000Z
2021-03-24T21:11:54.000Z
feature_extraction.py
navtejsingh/epilepsypred
ee7cfcd78f5eb23295b86d4ff3220cb8ff5ffb1d
[ "BSD-2-Clause" ]
null
null
null
feature_extraction.py
navtejsingh/epilepsypred
ee7cfcd78f5eb23295b86d4ff3220cb8ff5ffb1d
[ "BSD-2-Clause" ]
null
null
null
""" Extract Features from EEG time series ------------------------------------- Peak in Band (PIB) features are extracted from EEG time series data. Six PIB per minute are calculated. This results in 960 features for 10 minute of EEG recording in 16 channels. Reference --------- htt...
28.071429
91
0.59233
739
5,502
4.282815
0.285521
0.044234
0.024645
0.02654
0.070774
0.041706
0
0
0
0
0
0.037151
0.290622
5,502
196
92
28.071429
0.773764
0.157034
0
0.030303
0
0
0.062438
0.030063
0
0
0
0
0
0
null
null
0
0.075758
null
null
0.015152
0
0
0
null
0
0
0
0
0
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
2dc25673274e7db340983f6a92a58721653c30dc
1,639
py
Python
args/asr_train_arg_parser.py
HikaruHotta/M2M-VC-CycleGAN
a93b06221c787cc3e13b2d92fee728b811e5d526
[ "MIT" ]
5
2021-02-23T05:22:18.000Z
2021-03-23T19:17:22.000Z
args/asr_train_arg_parser.py
hikaruhotta/M2M-VC-CycleGAN
a93b06221c787cc3e13b2d92fee728b811e5d526
[ "MIT" ]
null
null
null
args/asr_train_arg_parser.py
hikaruhotta/M2M-VC-CycleGAN
a93b06221c787cc3e13b2d92fee728b811e5d526
[ "MIT" ]
null
null
null
""" Arguments for training ASR model. Inherits BaseArgParser. """ from args.train_arg_parser import TrainArgParser class ASRTrainArgParser(TrainArgParser): """ Class which implements an argument parser for args used only in train mode. It inherits BaseArgParser. """ def __init__(self): s...
37.25
89
0.621721
193
1,639
5.124352
0.419689
0.101112
0.131446
0.212336
0.122346
0
0
0
0
0
0
0.013878
0.252593
1,639
43
90
38.116279
0.793469
0.104942
0
0.333333
0
0
0.248611
0.015278
0
0
0
0
0
1
0.037037
false
0
0.037037
0
0.111111
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
2dc270df7fb4c53e027283e5595d217f6f9ec0d5
534
py
Python
migrations/versions/2023b1841f34_initial_revision.py
wlsouza/pydiscordbot
848a991209013ff173b1ae574ae33f68ed8f859f
[ "MIT" ]
null
null
null
migrations/versions/2023b1841f34_initial_revision.py
wlsouza/pydiscordbot
848a991209013ff173b1ae574ae33f68ed8f859f
[ "MIT" ]
null
null
null
migrations/versions/2023b1841f34_initial_revision.py
wlsouza/pydiscordbot
848a991209013ff173b1ae574ae33f68ed8f859f
[ "MIT" ]
null
null
null
"""initial revision Revision ID: 2023b1841f34 Revises: Create Date: 2021-07-21 18:53:29.086785 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '2023b1841f34' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto g...
18.413793
65
0.679775
65
534
5.538462
0.615385
0.075
0.116667
0.127778
0.355556
0.355556
0.355556
0.355556
0.355556
0.355556
0
0.09434
0.205993
534
28
66
19.071429
0.754717
0.535581
0
0.2
0
0
0.056872
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2dc356ec9c0ca9a10da2647a6c534d8f3bd4b929
470
py
Python
src/zignalz/cli/log_server.py
rscohn2/sensepy
1c00cd6d0c1920057cc732d6c5b6a791b7e79e36
[ "MIT" ]
null
null
null
src/zignalz/cli/log_server.py
rscohn2/sensepy
1c00cd6d0c1920057cc732d6c5b6a791b7e79e36
[ "MIT" ]
1
2021-02-20T17:26:15.000Z
2021-02-20T17:26:15.000Z
src/zignalz/cli/log_server.py
zignalz/zignalz
1c00cd6d0c1920057cc732d6c5b6a791b7e79e36
[ "MIT" ]
null
null
null
# SPDX-FileCopyrightText: 2020 Robert Cohn # # SPDX-License-Identifier: MIT import logging logger = logging.getLogger(__name__) def add_parser(subparsers): parser = subparsers.add_parser('log-server', help='Log server') subparsers = parser.add_subparsers(dest='cmd') subparsers.required = True sync_p...
21.363636
67
0.712766
58
470
5.586207
0.568966
0.083333
0.117284
0.154321
0
0
0
0
0
0
0
0.010336
0.176596
470
21
68
22.380952
0.826873
0.146809
0
0
0
0
0.133501
0
0
0
0
0
0
1
0.166667
false
0.083333
0.083333
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2ddaab25b094c57f295657dee2311b2a6580869f
3,720
py
Python
SVMToCoreML/venv/Lib/site-packages/coremltools/proto/DictVectorizer_pb2.py
blueXstar597/HandwritingRecognition
a0864297247108e4a1b55100c71122510cecaa36
[ "MIT" ]
1
2019-09-26T01:31:26.000Z
2019-09-26T01:31:26.000Z
SVMToCoreML/venv/Lib/site-packages/coremltools/proto/DictVectorizer_pb2.py
blueXstar597/HandwritingRecognition
a0864297247108e4a1b55100c71122510cecaa36
[ "MIT" ]
null
null
null
SVMToCoreML/venv/Lib/site-packages/coremltools/proto/DictVectorizer_pb2.py
blueXstar597/HandwritingRecognition
a0864297247108e4a1b55100c71122510cecaa36
[ "MIT" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: DictVectorizer.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as...
39.157895
367
0.790054
433
3,720
6.473441
0.314088
0.023546
0.047092
0.055655
0.350696
0.184088
0.184088
0.152694
0.152694
0.152694
0
0.037511
0.097043
3,720
94
368
39.574468
0.796963
0.062366
0
0.24
1
0.013333
0.216542
0.147616
0
0
0
0
0
1
0
false
0
0.106667
0
0.106667
0
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
2ddbc0cb192c1655c658246b92823215f8dba20e
248
py
Python
autodiff/examples/decorators.py
gwtaylor/pyautodiff
7973e26f1c233570ed4bb10d08634ec7378e2152
[ "BSD-3-Clause" ]
59
2015-02-03T20:50:59.000Z
2020-05-26T05:38:54.000Z
autodiff/examples/decorators.py
gwtaylor/pyautodiff
7973e26f1c233570ed4bb10d08634ec7378e2152
[ "BSD-3-Clause" ]
3
2015-05-10T06:22:45.000Z
2016-12-06T02:20:58.000Z
autodiff/examples/decorators.py
gwtaylor/pyautodiff
7973e26f1c233570ed4bb10d08634ec7378e2152
[ "BSD-3-Clause" ]
11
2015-04-15T16:52:09.000Z
2017-06-28T12:10:39.000Z
from autodiff import function, gradient @function def f(x): return x ** 2 @gradient def g(x): return x ** 2 if __name__ == '__main__': print 'x = 20' print 'f(x) = {0}'.format(f(20.0)) print 'f\'(x) = {0}'.format(g(20.0))
13.777778
40
0.556452
41
248
3.170732
0.439024
0.046154
0.123077
0.138462
0.215385
0
0
0
0
0
0
0.064171
0.245968
248
17
41
14.588235
0.631016
0
0
0.181818
0
0
0.104839
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
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
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2de16adc9ebaba47e293bca7ebb41f2e4050ad59
998
py
Python
tests/test_utility.py
yahoo/pypirun
77e0cd4d7b7350b6d33879f37fa5c2b04156fa6d
[ "BSD-3-Clause" ]
2
2019-08-01T14:27:47.000Z
2020-03-15T09:05:34.000Z
tests/test_utility.py
yahoo/pypirun
77e0cd4d7b7350b6d33879f37fa5c2b04156fa6d
[ "BSD-3-Clause" ]
14
2019-06-06T02:44:38.000Z
2019-11-13T18:29:00.000Z
tests/test_utility.py
yahoo/pypirun
77e0cd4d7b7350b6d33879f37fa5c2b04156fa6d
[ "BSD-3-Clause" ]
4
2020-07-31T17:32:01.000Z
2021-09-25T14:23:05.000Z
import os import shutil import unittest from pypirun import utility class TestUtility(unittest.TestCase): test_key = 'OUROATH_UTILITY' def tearDown(self): try: del os.environ[self.test_key] except KeyError: pass def test__env_bool__default(self): self.ass...
28.514286
64
0.691383
130
998
4.984615
0.269231
0.08642
0.118827
0.111111
0.626543
0.515432
0.441358
0.302469
0.135802
0.135802
0
0.003788
0.206413
998
34
65
29.352941
0.814394
0
0
0
0
0
0.04509
0
0
0
0
0
0.2
1
0.24
false
0.04
0.16
0
0.48
0
0
0
0
null
0
0
0
0
0
0
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
2de4265ce2dccf08fb1c84c24dfa52fd822ad810
1,318
py
Python
tushare_trader/datayes/idx.py
gorf/tushare-trader
7502e11acb509f481041445e69e2f6960b3fba0d
[ "BSD-3-Clause" ]
1
2020-07-12T02:40:11.000Z
2020-07-12T02:40:11.000Z
tushare_trader/datayes/idx.py
gorf/tushare-trader
7502e11acb509f481041445e69e2f6960b3fba0d
[ "BSD-3-Clause" ]
3
2020-07-12T01:13:17.000Z
2021-03-31T19:16:04.000Z
tushare_trader/datayes/idx.py
gorf/tushare-trader
7502e11acb509f481041445e69e2f6960b3fba0d
[ "BSD-3-Clause" ]
null
null
null
# -*- coding:utf-8 -*- """ 通联数据 Created on 2015/08/24 @author: Jimmy Liu @group : waditu @contact: jimmysoa@sina.cn """ from io import StringIO import pandas as pd from tushare.util import vars as vs from tushare.util.common import Client from tushare.util import upass as up class Idx(): def __init__(self, ...
25.843137
80
0.562974
157
1,318
4.649682
0.477707
0.068493
0.061644
0.069863
0.164384
0.164384
0.084932
0
0
0
0
0.015402
0.310319
1,318
50
81
26.36
0.787679
0.150228
0
0.153846
0
0
0.00473
0
0
0
0
0
0
1
0.153846
false
0.038462
0.192308
0
0.538462
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
0
0
0
0
0
0
1
0
0
1
2de47e2fca76e0f9b099a6b4d6117dc509007ab5
526
py
Python
examples/example_test/main.py
lcopey/node_editor
04d56ae4c7f2149e46903d5dd2e46f3906ef69e6
[ "MIT" ]
1
2021-04-30T11:28:42.000Z
2021-04-30T11:28:42.000Z
examples/example_test/main.py
lcopey/node_editor
04d56ae4c7f2149e46903d5dd2e46f3906ef69e6
[ "MIT" ]
null
null
null
examples/example_test/main.py
lcopey/node_editor
04d56ae4c7f2149e46903d5dd2e46f3906ef69e6
[ "MIT" ]
null
null
null
import sys import os import inspect from PyQt5.QtWidgets import * sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../..')) from node_editor.node_editor_window import NodeEditorWindow from node_editor.utils import loadStylessheet if __name__ == '__main__': app = QApplication(sys.argv) wnd = NodeEd...
26.3
68
0.743346
69
526
5.333333
0.507246
0.065217
0.054348
0
0
0
0
0
0
0
0
0.004357
0.127376
526
19
69
27.684211
0.797386
0
0
0
0
0
0.058935
0
0
0
0
0
0
1
0
false
0
0.428571
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2de82a0700822b473d2bc90a74b311e1ca14a719
2,203
py
Python
tests/vtk_ui/test_vtk_ui_handle_interaction.py
scottwittenburg/vcs
5b9f17fb78f7ab186fc0132ab81ada043a7ba348
[ "BSD-3-Clause" ]
11
2018-10-10T03:14:33.000Z
2022-01-05T14:18:15.000Z
tests/vtk_ui/test_vtk_ui_handle_interaction.py
scottwittenburg/vcs
5b9f17fb78f7ab186fc0132ab81ada043a7ba348
[ "BSD-3-Clause" ]
196
2018-03-21T19:44:56.000Z
2021-12-21T21:56:24.000Z
tests/vtk_ui/test_vtk_ui_handle_interaction.py
scottwittenburg/vcs
5b9f17fb78f7ab186fc0132ab81ada043a7ba348
[ "BSD-3-Clause" ]
5
2019-12-09T21:54:45.000Z
2022-03-20T04:22:14.000Z
""" Tests handle's interactivity. """ import vcs.vtk_ui import vtk_ui_test import decimal class test_vtk_ui_handle_interaction(vtk_ui_test.vtk_ui_test): def setUp(self): super(test_vtk_ui_handle_interaction, self).setUp() self.h = None self.h2 = None def do(self): self.win.Set...
35.532258
133
0.635043
314
2,203
4.33758
0.242038
0.03304
0.040382
0.03304
0.364905
0.307636
0.129956
0.060206
0
0
0
0.030723
0.246482
2,203
61
134
36.114754
0.789759
0.034952
0
0
0
0
0.23796
0
0
0
0
0
0.272727
1
0.136364
false
0.227273
0.068182
0
0.227273
0
0
0
0
null
0
0
0
0
0
0
0
0
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
2dea65853d8c90a9b081af8adf6fa9454c3b51f5
1,040
py
Python
odoo_actions/utils.py
catalyst-cloud/adjutant-odoo
6d1e473710e1757b92b4344d65d5bd106677fe36
[ "Apache-2.0" ]
1
2020-05-01T18:28:39.000Z
2020-05-01T18:28:39.000Z
odoo_actions/utils.py
catalyst-cloud/adjutant-odoo
6d1e473710e1757b92b4344d65d5bd106677fe36
[ "Apache-2.0" ]
null
null
null
odoo_actions/utils.py
catalyst-cloud/adjutant-odoo
6d1e473710e1757b92b4344d65d5bd106677fe36
[ "Apache-2.0" ]
2
2018-09-20T05:01:34.000Z
2020-10-17T04:31:47.000Z
# Copyright (C) 2016 Catalyst IT Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
32.5
78
0.710577
158
1,040
4.64557
0.64557
0.081744
0.035422
0.043597
0
0
0
0
0
0
0
0.01737
0.225
1,040
31
79
33.548387
0.8933
0.748077
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2dee85511ee94b17223bd2b9b417b18151d8f1b7
590
py
Python
hashes/password-to-ntlm.py
r0kit/Pentesting-Templates
31ebd89999115b49d83a426ef279f72d46ea5706
[ "MIT" ]
null
null
null
hashes/password-to-ntlm.py
r0kit/Pentesting-Templates
31ebd89999115b49d83a426ef279f72d46ea5706
[ "MIT" ]
null
null
null
hashes/password-to-ntlm.py
r0kit/Pentesting-Templates
31ebd89999115b49d83a426ef279f72d46ea5706
[ "MIT" ]
1
2021-10-30T13:59:46.000Z
2021-10-30T13:59:46.000Z
import argparse import hashlib import binascii def run(args): h = hashlib.new('md4', args.password.encode('utf-16le')).digest() print(binascii.hexlify(h).decode('utf-8')) if __name__ == '__main__': parser = argparse.ArgumentParser(description='Make an NTLM hash from a password.') parser.add_argument('...
29.5
108
0.654237
76
590
4.934211
0.684211
0.037333
0
0
0
0
0
0
0
0
0
0.010504
0.19322
590
19
109
31.052632
0.777311
0
0
0
0
0
0.172881
0
0
0
0
0
0
1
0.0625
false
0.1875
0.1875
0
0.25
0.1875
0
0
0
null
0
0
0
0
0
0
0
0
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
2df852ffcb0ea4eb7b71168b3506f30180c40006
3,160
py
Python
segment.py
DefJia/BIT-Search-Engine
90811a47f598f1f8c2edfdc36f54ed97038ad4b3
[ "Apache-2.0" ]
null
null
null
segment.py
DefJia/BIT-Search-Engine
90811a47f598f1f8c2edfdc36f54ed97038ad4b3
[ "Apache-2.0" ]
null
null
null
segment.py
DefJia/BIT-Search-Engine
90811a47f598f1f8c2edfdc36f54ed97038ad4b3
[ "Apache-2.0" ]
null
null
null
import sqlite3, jieba from configparser import ConfigParser import jieba.posseg as pseg cfg = ConfigParser() cfg.read("config.ini") d = {'k': {'desc': ' ', 'ch': '后接成分'}, 'un': {'desc': 'hhh', 'ch': '未知词'}, 'a': {'desc': '取英语形容词 adjective的第1个字母。', 'ch': '形容词'}, 'r': {'desc': '取英语代词 pronoun的第2个字母,因p已用于介词。', 'ch': '代词'...
85.405405
2,096
0.546835
420
3,160
4.078571
0.557143
0.020432
0.021016
0.024518
0.084063
0.084063
0.084063
0.084063
0.084063
0.084063
0
0.008965
0.152848
3,160
37
2,097
85.405405
0.63093
0.014557
0
0.275862
0
0
0.457905
0.05527
0
0
0
0
0
1
0.034483
false
0.034483
0.103448
0
0.137931
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2dfb6f08cc966d78efb21cc4fafd695cf926f19e
420
py
Python
exp_mixture_model/__version__.py
naokimas/exp_mixture_model
2047e3c2bf87bd8efbfd90730d05b8f78713b3e0
[ "MIT" ]
2
2019-11-05T22:35:41.000Z
2021-06-21T17:39:12.000Z
exp_mixture_model/__version__.py
naokimas/exp_mixture_model
2047e3c2bf87bd8efbfd90730d05b8f78713b3e0
[ "MIT" ]
null
null
null
exp_mixture_model/__version__.py
naokimas/exp_mixture_model
2047e3c2bf87bd8efbfd90730d05b8f78713b3e0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __title__ = 'exp_mixture_model' __version__ = '1.0.0' __description__ = 'Maximum likelihood estimation and model selection of EMMs' __copyright__ = 'Copyright (C) 2019 Makoto Okada and Naoki Masuda' __license__ = 'MIT License' __author__ = 'Makoto Okada, Kenji Yamanishi and Naoki Masuda' __auth...
38.181818
77
0.764286
55
420
5.163636
0.709091
0.116197
0.105634
0
0
0
0
0
0
0
0
0.02168
0.121429
420
10
78
42
0.747967
0.05
0
0
0
0
0.642317
0.065491
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
9312cfe4fdc54cd5ea25c7ec2a5e5a79d2a659ba
4,947
py
Python
command_line/fqm_mopac.py
qrefine/qrefine
016cac07a39e032c07f34384065dbd4756fe85f8
[ "Apache-2.0" ]
17
2016-01-13T02:22:26.000Z
2021-04-03T18:58:43.000Z
command_line/fqm_mopac.py
rajeevroy09/qrefine
789cb6266d7a3055aea0ebb5a5f0a253680a97d0
[ "Apache-2.0" ]
78
2015-12-23T12:03:38.000Z
2022-01-28T18:13:21.000Z
command_line/fqm_mopac.py
rajeevroy09/qrefine
789cb6266d7a3055aea0ebb5a5f0a253680a97d0
[ "Apache-2.0" ]
11
2017-04-04T04:10:25.000Z
2021-04-13T08:54:54.000Z
from __future__ import division # LIBTBX_SET_DISPATCHER_NAME qr.fqm_mopac import sys import time import os.path import libtbx import iotbx.pdb import cPickle as pickle from qrefine.fragment import fragments from qrefine.fragment import fragment_extracts from qrefine.fragment import get_qm_file_name_and_pdb_hierarchy fr...
29.272189
90
0.623812
668
4,947
4.368263
0.261976
0.05209
0.032557
0.042838
0.184716
0.114805
0.061686
0.042495
0.042495
0.042495
0
0.011332
0.268648
4,947
168
91
29.446429
0.795191
0.063271
0
0.101449
0
0
0.069167
0
0
0
0
0
0
0
null
null
0
0.123188
null
null
0.123188
0
0
0
null
0
0
0
0
0
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
932178efc4208934a6a1e8da4739889abfea570b
7,650
py
Python
ggpy/player/game_player.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
1
2015-01-26T19:07:45.000Z
2015-01-26T19:07:45.000Z
ggpy/player/game_player.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
null
null
null
ggpy/player/game_player.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
null
null
null
#!/usr/bin/env python import socket class Socket: '''from python.org docs demonstration class only -- coded for clarity, not efficiency ''' def __init__(self, sock=None): if sock is None: self.sock = socket.socket( socket.AF_INET, socket.SOCK_STREAM) e...
33.26087
137
0.603922
852
7,650
5.346244
0.320423
0.065862
0.079034
0.105379
0.179802
0.051372
0.021515
0
0
0
0
0.004123
0.302484
7,650
229
138
33.406114
0.849513
0.342876
0
0.094488
0
0
0.047609
0
0
0
0
0
0
1
0.220472
false
0.007874
0.015748
0
0.401575
0.047244
0
0
0
null
0
0
0
0
0
0
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
9321c13fd9d41f5778ddc708bbef13611afc94da
666
py
Python
boris/services/templatetags/services.py
fragaria/BorIS
9585c83f29220d8f63910dabd98641ab41ace6cf
[ "MIT" ]
1
2021-08-10T14:01:26.000Z
2021-08-10T14:01:26.000Z
boris/services/templatetags/services.py
fragaria/BorIS
9585c83f29220d8f63910dabd98641ab41ace6cf
[ "MIT" ]
5
2018-04-04T14:31:34.000Z
2020-06-08T07:50:23.000Z
boris/services/templatetags/services.py
fragaria/BorIS
9585c83f29220d8f63910dabd98641ab41ace6cf
[ "MIT" ]
4
2017-02-06T15:38:34.000Z
2018-03-21T09:40:12.000Z
''' Created on 2.10.2011 @author: xaralis ''' from django import template from django.conf import settings from boris.services.models.core import service_list register = template.Library() @register.inclusion_tag('services/interface.html') def render_service_interface(encounter): return { 'encounter':...
22.2
73
0.719219
77
666
6.051948
0.480519
0.070815
0.085837
0.120172
0
0
0
0
0
0
0
0.012567
0.163664
666
29
74
22.965517
0.824057
0.057057
0
0.117647
0
0
0.158065
0.075806
0
0
0
0
0
1
0.117647
false
0
0.176471
0.117647
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
9323cfd1cc130b89ecd02855fec6af6eba35fa65
572
py
Python
dummy.py
paulaner/flask-sso
a3af30926405de1d4f491a309151afa4ad5c03b4
[ "MIT" ]
null
null
null
dummy.py
paulaner/flask-sso
a3af30926405de1d4f491a309151afa4ad5c03b4
[ "MIT" ]
null
null
null
dummy.py
paulaner/flask-sso
a3af30926405de1d4f491a309151afa4ad5c03b4
[ "MIT" ]
null
null
null
import datetime from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from tabledef import * engine = create_engine('sqlite:///tutorial.db', echo=True) # create a Session Session = sessionmaker(bind=engine) session = Session() user = User("admin","admin","admin@example.com", True, "admin") ses...
22.88
64
0.737762
77
572
5.454545
0.38961
0.095238
0.1
0.085714
0.228571
0.157143
0.157143
0
0
0
0
0
0.106643
572
24
65
23.833333
0.821918
0.082168
0
0.333333
0
0
0.224138
0.04023
0
0
0
0
0
1
0
false
0.133333
0.266667
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
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
932578f2a8cfe45be267cc32fce00aae306424fe
3,759
py
Python
tfcontracts/dtype_contract.py
vasiliykarasev/tfcontracts
14a1cff3ce01b01b32ebeb5e16bec6263cec8bb5
[ "MIT" ]
2
2021-01-19T18:34:31.000Z
2021-01-21T01:15:24.000Z
tfcontracts/dtype_contract.py
vasiliykarasev/tfcontracts
14a1cff3ce01b01b32ebeb5e16bec6263cec8bb5
[ "MIT" ]
null
null
null
tfcontracts/dtype_contract.py
vasiliykarasev/tfcontracts
14a1cff3ce01b01b32ebeb5e16bec6263cec8bb5
[ "MIT" ]
null
null
null
import typing import tensorflow as tf from typing import Any, Callable, Dict, Sequence, Mapping, Union from . import common from . import contract from . import errors class SimpleDTypeContract(contract.FunctionContract): """Contract that ensures that all arguments match the given dtype. Raises an exception if...
37.217822
80
0.677574
499
3,759
4.927856
0.262525
0.05856
0.01952
0.032534
0.244408
0.143961
0.112647
0.112647
0.112647
0.094347
0
0.002747
0.225326
3,759
100
81
37.59
0.84169
0.305932
0
0.070175
0
0
0.077804
0
0
0
0
0.02
0
1
0.105263
false
0
0.105263
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
93279a599ccaa19968275cd68c61c013e20aa079
2,647
py
Python
core/dm.py
avidale/pleiades-bot
6598bc8fa8af2b96d811ffa76f53bac3af9e096b
[ "MIT" ]
null
null
null
core/dm.py
avidale/pleiades-bot
6598bc8fa8af2b96d811ffa76f53bac3af9e096b
[ "MIT" ]
null
null
null
core/dm.py
avidale/pleiades-bot
6598bc8fa8af2b96d811ffa76f53bac3af9e096b
[ "MIT" ]
2
2021-04-11T07:46:05.000Z
2021-04-11T08:35:59.000Z
import copy import os from datetime import datetime import dialogic import attr from dialogic.cascade import Cascade, Pr, DialogTurn from dialogic.dialog import Context, Response from dialogic.dialog_manager import TurnDialogManager csc = Cascade() @attr.s class PTurn(DialogTurn): forms_collection = attr.ib(de...
30.079545
89
0.694749
322
2,647
5.465839
0.295031
0.136364
0.053977
0.068182
0.208523
0.116477
0.038636
0
0
0
0
0
0.215338
2,647
87
90
30.425287
0.847376
0.031734
0
0.030769
0
0
0.013677
0
0
0
0
0.011494
0
1
0.107692
false
0
0.123077
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
932b12b96136823b64ad35af20eb15c795e4ef00
21,005
py
Python
test/test_packages/extras/test_idt.py
drewrisinger/pyGSTi
dd4ad669931c7f75e026456470cf33ac5b682d0d
[ "Apache-2.0" ]
1
2021-12-19T15:11:09.000Z
2021-12-19T15:11:09.000Z
test/test_packages/extras/test_idt.py
drewrisinger/pyGSTi
dd4ad669931c7f75e026456470cf33ac5b682d0d
[ "Apache-2.0" ]
null
null
null
test/test_packages/extras/test_idt.py
drewrisinger/pyGSTi
dd4ad669931c7f75e026456470cf33ac5b682d0d
[ "Apache-2.0" ]
null
null
null
from ..testutils import BaseTestCase, compare_files, temp_files, regenerate_references import unittest import numpy as np import pickle import time import warnings import pygsti from pygsti.extras import idletomography as idt #Helper functions #Global dicts describing how to prep and measure in various bases prepDict...
55.71618
139
0.603809
2,426
21,005
5.070486
0.192498
0.022762
0.002195
0.002927
0.453622
0.401919
0.332331
0.289895
0.278351
0.241281
0
0.019582
0.27065
21,005
376
140
55.864362
0.783355
0.226565
0
0.202532
1
0
0.078995
0.015848
0
0
0
0
0.059072
1
0.042194
false
0
0.054852
0.004219
0.118143
0.075949
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
93365f543b89ea6847360c03dadc7f7ef5d6b978
1,085
py
Python
examples/kec.py
WeiZhixiong/ksc-sdk-python
a93237ce376e107eaae644678ef6b99819a9f8eb
[ "Apache-2.0" ]
null
null
null
examples/kec.py
WeiZhixiong/ksc-sdk-python
a93237ce376e107eaae644678ef6b99819a9f8eb
[ "Apache-2.0" ]
null
null
null
examples/kec.py
WeiZhixiong/ksc-sdk-python
a93237ce376e107eaae644678ef6b99819a9f8eb
[ "Apache-2.0" ]
1
2016-12-07T03:17:42.000Z
2016-12-07T03:17:42.000Z
# -*- encoding:utf-8 -*- from kscore.session import get_session if __name__ == "__main__": s = get_session() client = s.create_client("kec", "cn-beijing-6", use_ssl=False) # https://docs.ksyun.com/read/latest/52/_book/oaDescribeInstances.html client.describe_instances() # https://docs.ksyun.com...
40.185185
110
0.719816
127
1,085
6.007874
0.629921
0.035387
0.055046
0.066841
0.25557
0.129751
0.129751
0.129751
0
0
0
0.120635
0.129032
1,085
26
111
41.730769
0.686772
0.207373
0
0
0
0
0.283372
0.210773
0
0
0
0
0
1
0
false
0.076923
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
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
933928b0660330bfda21f857900f5331551b989c
1,631
py
Python
backend/api/migrations/0002_stock_userprofile.py
DataHack-CSCE606/django-vue-template
9dd1b1bf91223383938b844ed484de2d3b949a4d
[ "MIT" ]
null
null
null
backend/api/migrations/0002_stock_userprofile.py
DataHack-CSCE606/django-vue-template
9dd1b1bf91223383938b844ed484de2d3b949a4d
[ "MIT" ]
1
2021-04-26T04:48:16.000Z
2021-04-26T04:48:16.000Z
backend/api/migrations/0002_stock_userprofile.py
DataHack-CSCE606/django-vue-template
9dd1b1bf91223383938b844ed484de2d3b949a4d
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-04-24 03:25 from django.db import migrations, models # pragma: no cover import django.db.models.deletion # pragma: no cover class Migration(migrations.Migration): # pragma: no cover dependencies = [ ('api', '0001_initial'), ] operations = [ migrations.C...
41.820513
134
0.582465
173
1,631
5.34104
0.445087
0.097403
0.149351
0.12987
0.215368
0.100649
0.069264
0
0
0
0
0.037037
0.271613
1,631
38
135
42.921053
0.740741
0.057633
0
0.25
1
0
0.132507
0
0
0
0
0
0
1
0
false
0
0.0625
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
933d688eda28363d28ed7fa2c1dc91b35ad3915e
386
py
Python
2021/03/p1.py
jo3-l/advent
22c0e8feb594bcb1d9f36b464bd735c6a8ab4ea0
[ "MIT" ]
null
null
null
2021/03/p1.py
jo3-l/advent
22c0e8feb594bcb1d9f36b464bd735c6a8ab4ea0
[ "MIT" ]
null
null
null
2021/03/p1.py
jo3-l/advent
22c0e8feb594bcb1d9f36b464bd735c6a8ab4ea0
[ "MIT" ]
null
null
null
def lmap(f, it): return list(map(f, it)) def ints(it): return lmap(int, it) def solve(input): l = len(input.split()[0]) xs = lmap(lambda x: int(x, 2), input.split()) a = 0 for i in range(l): cnt = [0, 0] for x in xs: cnt[(x >> i) & 1] += 1 if cnt[1] > cnt[...
18.380952
49
0.42487
66
386
2.484848
0.409091
0.036585
0
0
0
0
0
0
0
0
0
0.049793
0.375648
386
20
50
19.3
0.630705
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0.133333
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
9345a4850fd5cc4e5cf582e23aebf8277340c2f0
308
py
Python
products/migrations/0005_delete_products_category.py
Endraraaz/Raj-Beverages
fcf767d70db4c7d368a2b3c62f3e48dbc089d9b4
[ "Apache-2.0" ]
null
null
null
products/migrations/0005_delete_products_category.py
Endraraaz/Raj-Beverages
fcf767d70db4c7d368a2b3c62f3e48dbc089d9b4
[ "Apache-2.0" ]
null
null
null
products/migrations/0005_delete_products_category.py
Endraraaz/Raj-Beverages
fcf767d70db4c7d368a2b3c62f3e48dbc089d9b4
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.2 on 2018-11-15 04:09 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('products', '0004_beer_rum_vodka_wine'), ] operations = [ migrations.DeleteModel( name='products_category', ), ]
18.117647
49
0.62013
34
308
5.470588
0.823529
0
0
0
0
0
0
0
0
0
0
0.084821
0.272727
308
16
50
19.25
0.745536
0.146104
0
0
1
0
0.187739
0.091954
0
0
0
0
0
1
0
false
0
0.1
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9347e86bbd9ab65dfc82fe9c702359587a3d7e92
570
py
Python
query_processor/migrations/0020_auto_20160710_0140.py
shashank-iitj/traibot
30676413e30a0f7dc651f1918b33892728a01c1b
[ "Apache-2.0" ]
null
null
null
query_processor/migrations/0020_auto_20160710_0140.py
shashank-iitj/traibot
30676413e30a0f7dc651f1918b33892728a01c1b
[ "Apache-2.0" ]
null
null
null
query_processor/migrations/0020_auto_20160710_0140.py
shashank-iitj/traibot
30676413e30a0f7dc651f1918b33892728a01c1b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-07-09 20:10 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('query_processor', '0019_auto_20160709_1732'), ] operations = [ migrations.RemoveFiel...
21.923077
55
0.596491
52
570
6.346154
0.75
0.121212
0.151515
0
0
0
0
0
0
0
0
0.079602
0.294737
570
25
56
22.8
0.741294
0.117544
0
0.277778
1
0
0.184
0.046
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
934988e35b39a6a4e436cafb599d09a8a8ee0d13
1,339
py
Python
accounts/views.py
APNovichkov/xplrio
a1cb04c726f16dfb888f53198400a51d16417de7
[ "MIT" ]
null
null
null
accounts/views.py
APNovichkov/xplrio
a1cb04c726f16dfb888f53198400a51d16417de7
[ "MIT" ]
12
2019-12-09T21:10:58.000Z
2022-01-13T01:55:56.000Z
accounts/views.py
APNovichkov/xplrio
a1cb04c726f16dfb888f53198400a51d16417de7
[ "MIT" ]
1
2020-11-16T15:01:15.000Z
2020-11-16T15:01:15.000Z
from django.views.generic import CreateView from django.urls import reverse_lazy from django.http import HttpResponseRedirect from django.shortcuts import render from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from accounts.models import UserProfile from accounts.form...
33.475
75
0.710232
151
1,339
6.218543
0.437086
0.063898
0.036209
0.044728
0.202343
0.202343
0.112886
0
0
0
0
0.000923
0.191187
1,339
39
76
34.333333
0.866113
0.017177
0
0.071429
0
0
0.114155
0.056317
0
0
0
0
0
1
0.071429
false
0
0.285714
0
0.678571
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
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
934f7233f7227227dbf24f80754bdc36733c6792
1,141
py
Python
Methods/lambdaExpressionFiltersandMaps.py
NagarajuSaripally/PythonCourse
c9e495f0fce938e21c132b2aaa94afefdc6f17ae
[ "Unlicense" ]
null
null
null
Methods/lambdaExpressionFiltersandMaps.py
NagarajuSaripally/PythonCourse
c9e495f0fce938e21c132b2aaa94afefdc6f17ae
[ "Unlicense" ]
null
null
null
Methods/lambdaExpressionFiltersandMaps.py
NagarajuSaripally/PythonCourse
c9e495f0fce938e21c132b2aaa94afefdc6f17ae
[ "Unlicense" ]
null
null
null
''' Lambda expressions are quick way of creating the anonymous functions: ''' #function without lamda expression: def square(num): return num ** 2 print(square(5)) #converting it into lambda expression: lambda num : num ** 2 #if we want we can assign this to variable like square2 = lambda num : num ** 2. # we are...
18.111111
111
0.680105
191
1,141
4.026178
0.445026
0.031209
0.046814
0.050715
0.070221
0.057217
0
0
0
0
0
0.03312
0.179667
1,141
63
112
18.111111
0.788462
0.342682
0
0.166667
0
0
0.026144
0
0
0
0
0
0
1
0.166667
false
0
0
0.125
0.375
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
9351560617790d6ebe3d75e45fb53ee51c3ba7e8
1,643
py
Python
odesolvers/tests/test_helpers.py
francescoseccamonte/odesolvers
40debe289b80399b62164793cc9b29d3abce9280
[ "MIT" ]
null
null
null
odesolvers/tests/test_helpers.py
francescoseccamonte/odesolvers
40debe289b80399b62164793cc9b29d3abce9280
[ "MIT" ]
1
2020-02-01T23:40:12.000Z
2020-02-01T23:40:12.000Z
odesolvers/tests/test_helpers.py
francescoseccamonte/odesolvers
40debe289b80399b62164793cc9b29d3abce9280
[ "MIT" ]
null
null
null
# # Author : Francesco Seccamonte # Copyright (c) 2020 Francesco Seccamonte. All rights reserved. # Licensed under the MIT License. See LICENSE file in the project root for full license information. # # # Test function helpers. # import numpy as np def constantode(t,x): """Function containing a constant ODE x' ...
17.858696
102
0.597079
267
1,643
3.640449
0.217228
0.016461
0.082305
0.164609
0.454733
0.427984
0.427984
0.150206
0.150206
0.05144
0
0.059414
0.211199
1,643
91
103
18.054945
0.690586
0.42605
0
0.560976
0
0
0
0
0
0
0
0
0
1
0.195122
false
0
0.02439
0
0.414634
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
935434dd3c3971b446db019b19417b2a7c5fa4d2
326
py
Python
src/stats/stats.py
gvso/eleccionespy
f02e5fc66e7b632a108dba94787d4109c996ecf3
[ "MIT" ]
null
null
null
src/stats/stats.py
gvso/eleccionespy
f02e5fc66e7b632a108dba94787d4109c996ecf3
[ "MIT" ]
null
null
null
src/stats/stats.py
gvso/eleccionespy
f02e5fc66e7b632a108dba94787d4109c996ecf3
[ "MIT" ]
null
null
null
from scipy import stats class Stats: """ The class Stats defines several statistics calculation functions such as linear regression and p values. """ def r_and_p_value(self, x, y) -> str: _, _, r_value, p_value, _ = stats.linregress(x, y) return f"R = {r_value:.2f}, p = {p_value:...
23.285714
76
0.628834
48
326
4.0625
0.625
0.092308
0
0
0
0
0
0
0
0
0
0.008264
0.257669
326
13
77
25.076923
0.797521
0.319018
0
0
0
0
0.178218
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
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
935c7fa9d3ff93d571e88991ac6ff6615b4c5ca0
408
py
Python
example/miniobs/run_acq.py
simonsobs/ocs
24c6a617ea3038fccdb40bfd602ffd541415a476
[ "BSD-2-Clause" ]
9
2019-09-02T14:17:06.000Z
2022-03-11T21:26:34.000Z
example/miniobs/run_acq.py
simonsobs/ocs
24c6a617ea3038fccdb40bfd602ffd541415a476
[ "BSD-2-Clause" ]
158
2019-05-17T17:54:37.000Z
2022-03-14T19:29:59.000Z
example/miniobs/run_acq.py
simonsobs/ocs
24c6a617ea3038fccdb40bfd602ffd541415a476
[ "BSD-2-Clause" ]
1
2021-07-16T13:21:45.000Z
2021-07-16T13:21:45.000Z
from ocs.ocs_client import OCSClient import time faker = OCSClient('data1') print('Data Faker -- start 30 second acq.') print(faker.acq.start()) print('\nMonitoring (ctrl-c to stop and exit)...\n') try: for i in range(10): time.sleep(3) print(faker.acq.status()) except KeyboardInterrupt: prin...
20.4
52
0.659314
59
408
4.542373
0.610169
0.11194
0.145522
0
0
0
0
0
0
0
0
0.017804
0.17402
408
19
53
21.473684
0.777448
0
0
0
0
0
0.286765
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0.533333
0
0
0
null
0
0
0
0
0
0
0
0
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
9362cb00670a281400bfa1eb7cf9fecb509202c2
2,875
gyp
Python
third_party/netty-tcnative/netty-tcnative.gyp
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
third_party/netty-tcnative/netty-tcnative.gyp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
third_party/netty-tcnative/netty-tcnative.gyp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.000Z
# Builds the Netty fork of Tomcat Native. See http://netty.io/wiki/forked-tomcat-native.html { 'targets': [ { 'target_name': 'netty-tcnative-so', 'product_name': 'netty-tcnative', 'type': 'shared_library', 'sources': [ 'src/c/address.c', 'src/c/bb.c', 'src/c/dir.c',...
27.122642
92
0.482087
322
2,875
4.15528
0.378882
0.092676
0.09716
0.056801
0.140508
0.046338
0
0
0
0
0
0.001037
0.329391
2,875
106
93
27.122642
0.692946
0.095652
0
0.245098
0
0
0.516949
0.209938
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
93715190441e7019ad003516844ddb033263ee50
368
py
Python
mailer/backend.py
mvpoland/django-mailer
6fa4f2968dfd60b3dabb803f10279ed4d2502d88
[ "MIT" ]
null
null
null
mailer/backend.py
mvpoland/django-mailer
6fa4f2968dfd60b3dabb803f10279ed4d2502d88
[ "MIT" ]
2
2018-05-11T10:27:15.000Z
2019-08-26T09:53:27.000Z
mailer/backend.py
mvpoland/django-mailer
6fa4f2968dfd60b3dabb803f10279ed4d2502d88
[ "MIT" ]
null
null
null
from django.core.mail.backends.base import BaseEmailBackend from mailer.models import Message class DbBackend(BaseEmailBackend): def send_messages(self, email_messages): # allow for a custom batch size messages = Message.objects.bulk_create( [Message(email=email) for email in email_me...
26.285714
62
0.706522
44
368
5.818182
0.681818
0.101563
0
0
0
0
0
0
0
0
0
0
0.225543
368
13
63
28.307692
0.898246
0.078804
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
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
9372ea474b621e536fdf3fc063d6e05b4a8e79f4
426
py
Python
accounts/migrations/0022_auto_20200910_0658.py
samarthkulshrestha/zedway
96fced2bd480ffb4d296cb761cf3d775cf0d0b97
[ "Unlicense" ]
1
2021-08-11T06:45:25.000Z
2021-08-11T06:45:25.000Z
accounts/migrations/0022_auto_20200910_0658.py
samarthkulshrestha/zedway
96fced2bd480ffb4d296cb761cf3d775cf0d0b97
[ "Unlicense" ]
null
null
null
accounts/migrations/0022_auto_20200910_0658.py
samarthkulshrestha/zedway
96fced2bd480ffb4d296cb761cf3d775cf0d0b97
[ "Unlicense" ]
null
null
null
# Generated by Django 3.0.8 on 2020-09-10 06:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0021_auto_20200910_0431'), ] operations = [ migrations.AlterField( model_name='userprofile', name='follo...
22.421053
74
0.622066
47
426
5.510638
0.851064
0
0
0
0
0
0
0
0
0
0
0.108626
0.265258
426
18
75
23.666667
0.71885
0.105634
0
0
1
0
0.153034
0.060686
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
937c8384df5d6e24e1d35c8a33effa7f14e465e4
390
py
Python
High School/9th Grade APCSP (Python)/Unit 4/04.01.01.py
SomewhereOutInSpace/Computer-Science-Class
f5d21850236a7a18dc53b4a650ecbe9a11781f1d
[ "Unlicense" ]
null
null
null
High School/9th Grade APCSP (Python)/Unit 4/04.01.01.py
SomewhereOutInSpace/Computer-Science-Class
f5d21850236a7a18dc53b4a650ecbe9a11781f1d
[ "Unlicense" ]
null
null
null
High School/9th Grade APCSP (Python)/Unit 4/04.01.01.py
SomewhereOutInSpace/Computer-Science-Class
f5d21850236a7a18dc53b4a650ecbe9a11781f1d
[ "Unlicense" ]
null
null
null
def bin_value(num): return bin(num) [2:] def remove0b(num): return num [2:] numberA = int(input("")) numberB = int(input("")) binaryA = bin_value(numberA) binaryB = bin_value(numberB) sum = bin(int(binaryA,2) + int(binaryB,2)) cleaned = remove0b(sum) binaryA = str(binaryA) binaryB = str(binaryB) sum = str(cle...
20.526316
48
0.653846
54
390
4.666667
0.333333
0.095238
0
0
0
0
0
0
0
0
0
0.018519
0.169231
390
18
49
21.666667
0.759259
0
0
0
0
0
0.015424
0
0
0
0
0
0
1
0.133333
false
0
0
0.133333
0.266667
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
fa77ff5ba65db8725cee716728a0ea9f35990917
2,340
py
Python
python/25-solution/actions.py
gras/SensorWorkshop
bfe8dbf48173987fa67e27b59edaccfbcf73ef07
[ "MIT" ]
null
null
null
python/25-solution/actions.py
gras/SensorWorkshop
bfe8dbf48173987fa67e27b59edaccfbcf73ef07
[ "MIT" ]
null
null
null
python/25-solution/actions.py
gras/SensorWorkshop
bfe8dbf48173987fa67e27b59edaccfbcf73ef07
[ "MIT" ]
null
null
null
# Making Sense of Sensors Workshop # Educators Edition 2015 # # 25-FindAndGrabTribble # actions.py ''' @author: Dead Robot Society ''' from time import sleep import movement as move import sensor ################################## # public routines ################################## ''' rotate to the left, unti...
21.869159
48
0.529487
235
2,340
5.27234
0.451064
0.020178
0.035513
0.041969
0.209847
0.209847
0.209847
0.209847
0.146893
0.146893
0
0.014563
0.295727
2,340
106
49
22.075472
0.737257
0.065385
0
0.074074
0
0
0.102241
0
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.240741
0
0
0
null
0
0
0
0
0
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
fa84d704b44e36b76453ad51955f3ec029e1a5a2
3,526
py
Python
tests/api_resources/test_subscription_item.py
bhch/async-stripe
75d934a8bb242f664e7be30812c12335cf885287
[ "MIT", "BSD-3-Clause" ]
8
2021-05-29T08:57:58.000Z
2022-02-19T07:09:25.000Z
tests/api_resources/test_subscription_item.py
bhch/async-stripe
75d934a8bb242f664e7be30812c12335cf885287
[ "MIT", "BSD-3-Clause" ]
5
2021-05-31T10:18:36.000Z
2022-01-25T11:39:03.000Z
tests/api_resources/test_subscription_item.py
bhch/async-stripe
75d934a8bb242f664e7be30812c12335cf885287
[ "MIT", "BSD-3-Clause" ]
1
2021-05-29T13:27:10.000Z
2021-05-29T13:27:10.000Z
from __future__ import absolute_import, division, print_function import stripe import pytest pytestmark = pytest.mark.asyncio TEST_RESOURCE_ID = "si_123" class TestSubscriptionItem(object): async def test_is_listable(self, request_mock): resources = await stripe.SubscriptionItem.list(subscription="su...
35.26
78
0.667328
369
3,526
6.086721
0.192412
0.088157
0.0935
0.104185
0.721282
0.716385
0.654942
0.554319
0.526714
0.367765
0
0.019512
0.244186
3,526
99
79
35.616162
0.823265
0
0
0.353659
0
0
0.112309
0.072604
0
0
0
0
0.231707
1
0
false
0
0.036585
0
0.073171
0.012195
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
fa8bb862415e7099466daa58bc5ef7a40e2b5371
430
py
Python
scripts/isqrt.py
Marlon-Lazo-Coronado/tiny-bignum-c
b5ef2beb2010f5d5dd1a57fc3515e3d6e5fc97ad
[ "Unlicense" ]
331
2017-10-28T08:33:54.000Z
2022-03-17T08:22:49.000Z
scripts/isqrt.py
Marlon-Lazo-Coronado/tiny-bignum-c
b5ef2beb2010f5d5dd1a57fc3515e3d6e5fc97ad
[ "Unlicense" ]
25
2017-11-11T22:26:22.000Z
2021-12-22T09:47:28.000Z
scripts/isqrt.py
Marlon-Lazo-Coronado/tiny-bignum-c
b5ef2beb2010f5d5dd1a57fc3515e3d6e5fc97ad
[ "Unlicense" ]
74
2017-12-18T18:59:39.000Z
2022-01-27T11:22:56.000Z
#isqrt.py import math def isqrt(n): if n == 0: return 0 high = n low = 0 calcMid = lambda: (high - low) / 2 + low + 1 mid = calcMid() while high > low: sq = mid**2 if sq > n: high = mid - 1 else: low = mid mid = calcMid() return low if __name__ == "__main__": for i in range(10000000): sq = is...
16.538462
45
0.562791
73
430
3.205479
0.465753
0.059829
0
0
0
0
0
0
0
0
0
0.07074
0.276744
430
25
46
17.2
0.681672
0.018605
0
0.095238
0
0
0.057007
0
0
0
0
0
0
0
null
null
0
0.047619
null
null
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
1
0
0
0
0
0
0
0
0
1
fa8dbb408dff16830fbac46ed9d5e95e7f1df78f
570
py
Python
Algorithm/Implementation/Grading Students.py
rahamath2009/git-github.com-nishant-sethi-HackerRank
14d9bd3e772a863aceba22d9a3361a8325cca4bc
[ "Apache-2.0" ]
76
2018-06-28T04:29:14.000Z
2022-03-21T01:57:27.000Z
Algorithm/Implementation/Grading Students.py
rahamath2009/git-github.com-nishant-sethi-HackerRank
14d9bd3e772a863aceba22d9a3361a8325cca4bc
[ "Apache-2.0" ]
31
2018-10-01T09:12:05.000Z
2022-03-08T23:39:01.000Z
Algorithm/Implementation/Grading Students.py
rahamath2009/git-github.com-nishant-sethi-HackerRank
14d9bd3e772a863aceba22d9a3361a8325cca4bc
[ "Apache-2.0" ]
44
2018-07-09T11:31:20.000Z
2022-01-12T19:21:20.000Z
import sys def solve(grades): # Complete this function new_grades=[] for i in grades: if(i<38): new_grade=i else: x=i%5 if(x<3): new_grade=i else: new_grade=(i/5+1)*5 new_grades.append(n...
21.111111
40
0.519298
79
570
3.582278
0.443038
0.113074
0.095406
0.091873
0.155477
0
0
0
0
0
0
0.021918
0.359649
570
27
41
21.111111
0.753425
0.038596
0
0.181818
0
0
0.003846
0
0
0
0
0
0
0
null
null
0
0.045455
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fa92d14d0c2e43f1b13c51f54c7ee2ff71c83a38
2,580
py
Python
database/inserts.py
retropleinad/DnD-Calculator
91e2dc6292e098dc921c2f34ffd410ca2f6f869f
[ "MIT" ]
null
null
null
database/inserts.py
retropleinad/DnD-Calculator
91e2dc6292e098dc921c2f34ffd410ca2f6f869f
[ "MIT" ]
null
null
null
database/inserts.py
retropleinad/DnD-Calculator
91e2dc6292e098dc921c2f34ffd410ca2f6f869f
[ "MIT" ]
null
null
null
from . import util path = util.PATH """ This file contains methods to insert data into different tables """ # Insert into the region table def insert_region(name, description): args = (name, description) query = """ INSERT INTO region(name, description) VALUES (?, ?) ...
29.318182
83
0.597674
274
2,580
5.551095
0.175182
0.207101
0.12426
0.110454
0.60355
0.522025
0.522025
0.495069
0.372781
0.287968
0
0.00054
0.282558
2,580
88
84
29.318182
0.821178
0.094961
0
0.559322
0
0
0.394191
0
0
0
0
0
0
1
0.135593
false
0
0.016949
0
0.152542
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fa939aef126969368451bb9e00044fa65e323af7
1,085
py
Python
client/python/GravityWebsocketApi.py
philoxnard/gravtest
1b714f518b7cc98a788f123e18f713ea362870c4
[ "MIT" ]
null
null
null
client/python/GravityWebsocketApi.py
philoxnard/gravtest
1b714f518b7cc98a788f123e18f713ea362870c4
[ "MIT" ]
null
null
null
client/python/GravityWebsocketApi.py
philoxnard/gravtest
1b714f518b7cc98a788f123e18f713ea362870c4
[ "MIT" ]
null
null
null
#!/usr/bin/python """ Client code that interacts with the web server over Websockets Written by: J. Patrick Farrell Copyright 2019 Creative Collisions Technology, LLC """ import json from websocket import create_connection WEBSOCKET_URL_TEMPLATE = "ws://%s/ws1.ws" class GravityWebsocketApi(): def __init__(self,...
19.375
71
0.733641
133
1,085
5.759399
0.511278
0.062663
0.052219
0.060052
0
0
0
0
0
0
0
0.009836
0.156682
1,085
56
72
19.375
0.827322
0.014747
0
0.071429
0
0
0.091803
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fa95ee5a852e0800d92ea4dde1257c8952ddf025
4,188
py
Python
tests/profiles/test_constructors.py
pyroll-project/pyroll-core
f59094d58c2f7493ddc6345b3afc4700ca259681
[ "BSD-3-Clause" ]
null
null
null
tests/profiles/test_constructors.py
pyroll-project/pyroll-core
f59094d58c2f7493ddc6345b3afc4700ca259681
[ "BSD-3-Clause" ]
null
null
null
tests/profiles/test_constructors.py
pyroll-project/pyroll-core
f59094d58c2f7493ddc6345b3afc4700ca259681
[ "BSD-3-Clause" ]
null
null
null
import logging import matplotlib.pyplot as plt import numpy as np import pytest from shapely.affinity import rotate from pyroll.core import SquareGroove, Profile groove = SquareGroove(0, 3, tip_depth=20, tip_angle=91 / 180 * np.pi) def test_from_groove(): Profile.from_groove(groove, width=45, height=50) Pr...
32.465116
132
0.702006
595
4,188
4.835294
0.173109
0.08342
0.133472
0.119917
0.727494
0.71081
0.572819
0.436566
0.389642
0.232186
0
0.049005
0.171681
4,188
128
133
32.71875
0.78034
0
0
0.297872
0
0.010638
0.034384
0
0
0
0
0
0.06383
1
0.12766
false
0
0.06383
0
0.191489
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
fa9d30c26762e2dfcec27cf3f9bf15d8948deffb
3,024
py
Python
src/main.py
yoshihidesawada/DCUF
a5a9b4ad81781f7d74e8aa7b723692e06e0361f4
[ "MIT" ]
2
2019-03-18T02:50:14.000Z
2020-05-19T14:10:33.000Z
src/main.py
yoshihidesawada/DCUF
a5a9b4ad81781f7d74e8aa7b723692e06e0361f4
[ "MIT" ]
null
null
null
src/main.py
yoshihidesawada/DCUF
a5a9b4ad81781f7d74e8aa7b723692e06e0361f4
[ "MIT" ]
null
null
null
### # python main.py ${lam} ${ICF_EPOCH} ${AE_EPOCH} ${DCUF_EPOCH} ### import sys import random import numpy as np import chainer import environment as Env import model as Model if len(sys.argv) != 5: print 'error' print sys.argv exit(0) _, lamb, icf_epoch, ae_epoch, dcuf_epoch = sys.argv def disentang...
32.516129
95
0.654762
414
3,024
4.570048
0.318841
0.038055
0.036998
0.055497
0.140592
0.140592
0.093023
0.078224
0.078224
0.078224
0
0.008865
0.253968
3,024
92
96
32.869565
0.829787
0.31713
0
0
0
0
0.011313
0
0.021739
0
0
0
0
0
null
null
0
0.130435
null
null
0.043478
0
0
0
null
0
0
0
0
0
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
fa9d499f9abc2d06d6d1e3b4bb94c59a187eab04
1,081
py
Python
utils/wfuzzbasicauthbrute/wfuzz/plugins/scripts/robots.py
ismailbozkurt/kubebot
3558ddc593c861a9805731052c1ac5e71879fdf5
[ "MIT" ]
171
2017-07-11T08:27:49.000Z
2022-02-20T17:42:51.000Z
utils/wfuzzbasicauthbrute/wfuzz/plugins/scripts/robots.py
STEALTH-Z/kubebot
3558ddc593c861a9805731052c1ac5e71879fdf5
[ "MIT" ]
2
2017-07-11T17:50:16.000Z
2019-12-01T21:35:18.000Z
utils/wfuzzbasicauthbrute/wfuzz/plugins/scripts/robots.py
STEALTH-Z/kubebot
3558ddc593c861a9805731052c1ac5e71879fdf5
[ "MIT" ]
36
2017-07-11T08:33:31.000Z
2022-03-11T04:56:02.000Z
import re from urlparse import urlparse, urljoin from framework.plugins.api import DiscoveryPlugin from framework.plugins.api import url_filename from externals.moduleman.plugin import moduleman_plugin @moduleman_plugin class robots(DiscoveryPlugin): name = "robots" description = "Parses robots.txt looking f...
32.757576
99
0.697502
141
1,081
5.297872
0.496454
0.060241
0.052209
0.06158
0.120482
0
0
0
0
0
0
0.013216
0.160037
1,081
32
100
33.78125
0.809471
0.070305
0
0
0
0
0.130739
0
0
0
0
0
0
0
null
null
0
0.227273
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
faa630940ac8b03a1f3afa930650604e8184e458
868
py
Python
solutions/flask-adopt-solution/part-1/models.py
demohack/nonpub
e53bcec7115bcb2605687bb272d843e1e8d17ae5
[ "MIT" ]
null
null
null
solutions/flask-adopt-solution/part-1/models.py
demohack/nonpub
e53bcec7115bcb2605687bb272d843e1e8d17ae5
[ "MIT" ]
null
null
null
solutions/flask-adopt-solution/part-1/models.py
demohack/nonpub
e53bcec7115bcb2605687bb272d843e1e8d17ae5
[ "MIT" ]
null
null
null
"""Models for adopt app.""" from flask_sqlalchemy import SQLAlchemy GENERIC_IMAGE = "https://mylostpetalert.com/wp-content/themes/mlpa-child/images/nophoto.gif" db = SQLAlchemy() class Pet(db.Model): """Adoptable pet.""" __tablename__ = "pets" id = db.Column(db.Integer, primary_key=True) name = d...
23.459459
92
0.671659
123
868
4.634146
0.504065
0.098246
0.122807
0.098246
0.094737
0.094737
0
0
0
0
0
0
0.198157
868
36
93
24.111111
0.818966
0.191244
0
0
0
0.058824
0.116071
0
0
0
0
0
0
1
0.117647
false
0
0.058824
0
0.764706
0
0
0
0
null
0
0
0
0
0
0
0
0
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
faa9f2f996567f32cc481ed532881eb6f7e06957
1,690
py
Python
data-prep/dictionary-comprehension.py
Omelette-du-croissant/da-ta
367d45316ef6f67315b820b01010f5881decc815
[ "MIT" ]
null
null
null
data-prep/dictionary-comprehension.py
Omelette-du-croissant/da-ta
367d45316ef6f67315b820b01010f5881decc815
[ "MIT" ]
null
null
null
data-prep/dictionary-comprehension.py
Omelette-du-croissant/da-ta
367d45316ef6f67315b820b01010f5881decc815
[ "MIT" ]
null
null
null
import random # Key: word, value: character count # Example list with random sentences (from https://randomwordgenerator.com/sentence.php): sentences = ["The chic gangster liked to start the day with a pink scarf.", "The wooden spoon couldn’t cut but left emotional scars.", "Tomatoes make great weapons w...
70.416667
179
0.706509
271
1,690
4.405904
0.693727
0.008375
0
0
0
0
0
0
0
0
0
0.002273
0.218935
1,690
23
180
73.478261
0.902273
0.10355
0
0
0
0.076923
0.787276
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
faad2fcbfc50c7b477efffa04ea842b238bbb4ca
405
py
Python
hapycolor/visual.py
rvdz/hapycolor
e071e5138180507405c067032c161f1d0c70d7ca
[ "MIT" ]
1
2020-05-20T19:36:27.000Z
2020-05-20T19:36:27.000Z
hapycolor/visual.py
rvdz/hapycolor
e071e5138180507405c067032c161f1d0c70d7ca
[ "MIT" ]
2
2018-06-23T11:10:57.000Z
2018-07-01T11:34:19.000Z
hapycolor/visual.py
rvdz/hapycolor
e071e5138180507405c067032c161f1d0c70d7ca
[ "MIT" ]
1
2018-06-24T10:54:11.000Z
2018-06-24T10:54:11.000Z
""" Utilitary methods to display ouputs """ # Add color to a string def str_color(message, rgbcol): r, g, b = rgbcol return "\033[38;2;{};{};{}m{}\033[0m".format(r, g, b, message) # print(squares from a palette) def print_palette(rgbcols, size=2): str_palette = "" for col in rgbcols: str_pal...
23.823529
66
0.622222
63
405
3.936508
0.555556
0.120968
0.024194
0
0
0
0
0
0
0
0
0.034591
0.214815
405
16
67
25.3125
0.738994
0.274074
0
0
0
0
0.105263
0.098246
0
0
0
0
0
1
0.25
false
0
0
0
0.375
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
fab23b9b9ef5d5c6e012de13f14c7e2292b5bbb4
841
py
Python
NoteBooks/Curso de Python/Python/Core/Decoradores/Clases_decoradores.py
Alejandro-sin/Learning_Notebooks
161d6bed4c7b1d171b45f61c0cc6fa91e9894aad
[ "MIT" ]
1
2021-02-26T13:12:22.000Z
2021-02-26T13:12:22.000Z
NoteBooks/Curso de Python/Python/Core/Decoradores/Clases_decoradores.py
Alejandro-sin/Learning_Notebooks
161d6bed4c7b1d171b45f61c0cc6fa91e9894aad
[ "MIT" ]
null
null
null
NoteBooks/Curso de Python/Python/Core/Decoradores/Clases_decoradores.py
Alejandro-sin/Learning_Notebooks
161d6bed4c7b1d171b45f61c0cc6fa91e9894aad
[ "MIT" ]
null
null
null
''' Decoradores y clases. update_wrapper: Para evitar que el efecto de wrap suceda se usa en este aso al ser una clase Es necesario que la clase sea llamable. Por lo que se implementa el método dunder __call__, este método se corre cada vez que se implementtratea de crear una instancia de la clase ''' from fun...
20.02381
180
0.640904
125
841
4.192
0.568
0.061069
0
0
0
0
0
0
0
0
0
0.011438
0.272295
841
41
181
20.512195
0.844771
0.436385
0
0
0
0
0.054945
0
0
0
0
0.02439
0
1
0.166667
false
0
0.055556
0
0.444444
0.055556
0
0
0
null
0
0
0
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
fac64ac31bb48a34578e15c2a01b2a44ca19db56
942
py
Python
snips_nlu/tests/test_version.py
ddorian/snips-nlu
0934d386bb138ebb34764446416856cfac664e65
[ "Apache-2.0" ]
1
2021-01-01T15:03:22.000Z
2021-01-01T15:03:22.000Z
snips_nlu/tests/test_version.py
ddorian/snips-nlu
0934d386bb138ebb34764446416856cfac664e65
[ "Apache-2.0" ]
null
null
null
snips_nlu/tests/test_version.py
ddorian/snips-nlu
0934d386bb138ebb34764446416856cfac664e65
[ "Apache-2.0" ]
null
null
null
from semantic_version import Version from snips_nlu import __model_version__, __version__ from snips_nlu.tests.utils import SnipsTest class TestVersion(SnipsTest): def test_version_should_be_semantic(self): # Given version = __version__ # When valid = False try: ...
24.153846
78
0.580679
93
942
5.526882
0.354839
0.140078
0.062257
0.07393
0.614786
0.614786
0.36965
0.36965
0.36965
0.36965
0
0
0.364119
942
38
79
24.789474
0.858097
0.032909
0
0.5
0
0
0.099558
0
0
0
0
0
0.083333
1
0.083333
false
0.083333
0.125
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
fac758a48d68ba92941233d996dc9d28b0cbd191
4,391
py
Python
flask_test.py
Zihang97/News_Analyzer_app
736e441b33942ad503f060cd337c4400614f0f42
[ "MIT" ]
1
2021-05-06T14:49:34.000Z
2021-05-06T14:49:34.000Z
flask_test.py
Zihang97/News_Analyzer_app
736e441b33942ad503f060cd337c4400614f0f42
[ "MIT" ]
null
null
null
flask_test.py
Zihang97/News_Analyzer_app
736e441b33942ad503f060cd337c4400614f0f42
[ "MIT" ]
null
null
null
from flask import Flask, escape, request, redirect, url_for, render_template from database import * from news import * app = Flask(__name__) @app.route('/register/', methods=['GET','POST']) def regist(): if request.method =='POST': username = request.form['username'] password = request.form['passw...
36.289256
105
0.677294
575
4,391
5.076522
0.201739
0.076739
0.102775
0.081535
0.351148
0.279205
0.241864
0.232271
0.179514
0.082905
0
0
0.161467
4,391
120
106
36.591667
0.792776
0.085402
0
0.247423
0
0
0.219738
0.040864
0
0
0
0
0
1
0.14433
false
0.164948
0.030928
0.051546
0.381443
0
0
0
0
null
0
0
0
0
0
0
0
0
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
fac8cb749b0b9ae45003c5ee214ce2ecabd56a23
1,020
py
Python
tcc-teste.py
felipetomm/POX-Django
6060a9e2a999dc56b63826d0ec3498b11b03adce
[ "Apache-2.0" ]
1
2019-10-20T00:05:34.000Z
2019-10-20T00:05:34.000Z
tcc-teste.py
felipetomm/POX-Django
6060a9e2a999dc56b63826d0ec3498b11b03adce
[ "Apache-2.0" ]
null
null
null
tcc-teste.py
felipetomm/POX-Django
6060a9e2a999dc56b63826d0ec3498b11b03adce
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python2.7 import time from threading import Thread import threading, Queue class cabeca(object): def __init__(self): self.nome = None def check_infos(user_id, queue): result = user_id+5*2+4*20 queue.put(result) def soma(i): return i+5*2+4*20 queued_request = Queue.Queue() lista...
19.245283
100
0.694118
163
1,020
4.147239
0.331288
0.162722
0.065089
0.065089
0.107988
0.085799
0.085799
0.085799
0
0
0
0.0391
0.172549
1,020
52
101
19.615385
0.761848
0.035294
0
0.147059
0
0
0.036697
0
0
0
0
0
0
0
null
null
0
0.088235
null
null
0.088235
0
0
0
null
0
0
0
0
0
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
facb91f33a8ecfa979e771ac506f61e8613c2609
358
py
Python
src/nhl_analysis/example.py
pjordan34/nhl_analysis
dce2a70c509584af43d4bf48bc157b1a4c7b4f85
[ "MIT" ]
null
null
null
src/nhl_analysis/example.py
pjordan34/nhl_analysis
dce2a70c509584af43d4bf48bc157b1a4c7b4f85
[ "MIT" ]
null
null
null
src/nhl_analysis/example.py
pjordan34/nhl_analysis
dce2a70c509584af43d4bf48bc157b1a4c7b4f85
[ "MIT" ]
null
null
null
import pandas as pd from aggregate import team_goals from transform import transform pbp = pd.read_csv('data/nhl_pbp20172018.csv') # note that you can use the "uncleaned pbp files in this code, # you just will not be able to index on the the standard three-letter abbreviations for all teams print(team_goals(pbp)) p...
25.571429
97
0.776536
61
358
4.491803
0.704918
0.065693
0
0
0
0
0
0
0
0
0
0.026403
0.153631
358
14
98
25.571429
0.877888
0.435754
0
0
0
0
0.12
0.12
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
facee0dfdfb2b634403d2be727bf9433ef30f321
287
py
Python
lstm/model.py
KalllN/stock-price-lstm
957b16bda4150c89d9b68dfd71902a033137eba8
[ "MIT" ]
null
null
null
lstm/model.py
KalllN/stock-price-lstm
957b16bda4150c89d9b68dfd71902a033137eba8
[ "MIT" ]
null
null
null
lstm/model.py
KalllN/stock-price-lstm
957b16bda4150c89d9b68dfd71902a033137eba8
[ "MIT" ]
null
null
null
model = Sequential() model.add(LSTM(50, return_sequences = True, input_shape = (x_train.shape[1], 1))) model.add(LSTM(50, return_sequences = False)) model.add(Dense(25)) model.add(Dense(1)) #Compiling the model model.compile(optimizer = 'adam', loss = 'mean_squared_error') #using rmse
28.7
81
0.735192
44
287
4.659091
0.613636
0.156098
0.117073
0.136585
0.282927
0.282927
0
0
0
0
0
0.034884
0.101045
287
9
82
31.888889
0.75969
0.101045
0
0
0
0
0.085938
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
fadad0d929b35cd209d94dc326ee18b38fd8f634
240
py
Python
session/static_configs.py
SirjanK/Multivac
27b5d490c015b68e268d4d44a0ff17b8ab519274
[ "MIT" ]
null
null
null
session/static_configs.py
SirjanK/Multivac
27b5d490c015b68e268d4d44a0ff17b8ab519274
[ "MIT" ]
7
2020-01-28T23:13:00.000Z
2022-03-12T00:09:36.000Z
session/static_configs.py
SirjanK/Multivac
27b5d490c015b68e268d4d44a0ff17b8ab519274
[ "MIT" ]
null
null
null
DEFAULT_REDIS_PORT = 6379 # Number of seconds to sleep upon successful end to allow graceful termination of subprocesses. TERMINATION_TIME = 3 # Max caps on parameters MAX_NUM_STEPS = 10000 MAX_OBSERVATION_DELTA = 5000 MAX_VIDEO_FPS = 60
24
95
0.8125
37
240
5.027027
0.837838
0
0
0
0
0
0
0
0
0
0
0.078818
0.154167
240
9
96
26.666667
0.837438
0.483333
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
fadd117b1f1e89a16ca985396a8f626d8c0125eb
1,140
py
Python
src/WaveBlocks/IOM_plugin_grid.py
WaveBlocks/WaveBlocks
2af3730dcf27e54006ec602e696b4d4df25459d8
[ "BSD-3-Clause" ]
null
null
null
src/WaveBlocks/IOM_plugin_grid.py
WaveBlocks/WaveBlocks
2af3730dcf27e54006ec602e696b4d4df25459d8
[ "BSD-3-Clause" ]
null
null
null
src/WaveBlocks/IOM_plugin_grid.py
WaveBlocks/WaveBlocks
2af3730dcf27e54006ec602e696b4d4df25459d8
[ "BSD-3-Clause" ]
null
null
null
"""The WaveBlocks Project IOM plugin providing functions for handling grid data. @author: R. Bourquin @copyright: Copyright (C) 2010, 2011 R. Bourquin @license: Modified BSD License """ import numpy as np import h5py as hdf def add_grid(self, parameters, blockid=0): r""" Add storage for a grid. """ ...
21.923077
123
0.642105
159
1,140
4.503145
0.421384
0.078212
0.062849
0.146648
0.308659
0.231844
0.114525
0.114525
0.114525
0
0
0.01547
0.20614
1,140
51
124
22.352941
0.775691
0.290351
0
0.090909
0
0
0.050894
0
0
0
0
0
0
1
0.227273
false
0.045455
0.090909
0
0.409091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
fadeec5bc77cee165af7c0fea0816003c256cf7b
10,142
py
Python
pycozmo/protocol_utils.py
gimait/pycozmo
601d9c09903b9300e8990723cae95974212afb09
[ "MIT" ]
1
2020-12-20T13:33:41.000Z
2020-12-20T13:33:41.000Z
pycozmo/protocol_utils.py
solosito/pycozmo
5d28118eb8f7a625ae4a66054dabf19b4fe27483
[ "MIT" ]
null
null
null
pycozmo/protocol_utils.py
solosito/pycozmo
5d28118eb8f7a625ae4a66054dabf19b4fe27483
[ "MIT" ]
1
2019-12-25T13:36:16.000Z
2019-12-25T13:36:16.000Z
import struct _struct_cache = dict() def _get_struct(fmt, length): key = (fmt, length) if key in _struct_cache: return _struct_cache[key] else: reader = struct.Struct("<{0}{1}".format(length, fmt)) _struct_cache[key] = reader return reader def validate_float(name, valu...
38.709924
113
0.662197
1,366
10,142
4.727672
0.097365
0.074326
0.029421
0.035615
0.628213
0.591824
0.530969
0.475844
0.401363
0.331527
0
0.002183
0.232006
10,142
261
114
38.858238
0.826935
0.183593
0
0.341176
0
0
0.111358
0
0
0
0
0
0
1
0.247059
false
0
0.005882
0.017647
0.435294
0
0
0
0
null
0
0
0
0
0
0
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
fadfe1b2f10bb04f619c32ea37befd615b90f05e
14,644
py
Python
TimeSeriesTools/TS_statistics/ts_statistics.py
Psicowired87/TimeSeriesTools
de42dbcc5371ee576df6c9521b1c79a47c147dd1
[ "MIT" ]
1
2015-05-01T14:14:02.000Z
2015-05-01T14:14:02.000Z
TimeSeriesTools/TS_statistics/ts_statistics.py
Psicowired87/TimeSeriesTools
de42dbcc5371ee576df6c9521b1c79a47c147dd1
[ "MIT" ]
null
null
null
TimeSeriesTools/TS_statistics/ts_statistics.py
Psicowired87/TimeSeriesTools
de42dbcc5371ee576df6c9521b1c79a47c147dd1
[ "MIT" ]
1
2015-05-01T14:15:03.000Z
2015-05-01T14:15:03.000Z
""" This module contains the functions which computes interesting statistics. They can be applied to continious time-series for obtaining important statistics for the study of causality or prediction. TODO ---- Pass to the individuals a list of values. values_info or samevals for all. """ from itertools import produ...
29.583838
79
0.595124
1,955
14,644
4.392839
0.12532
0.023638
0.014672
0.026898
0.576502
0.545063
0.521425
0.496973
0.466814
0.455286
0
0.011672
0.297938
14,644
494
80
29.643725
0.823655
0.409246
0
0.521951
0
0
0
0
0
0
0
0.010121
0.004878
1
0.039024
false
0.014634
0.014634
0
0.092683
0
0
0
0
null
0
0
0
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
fae165d14fcc718bb9423e63342b6f813b1f4452
869
py
Python
src/mysite/urls.py
kierrez/movie-website
74f4ed018aba545dec190b70d62abe0ac6085462
[ "MIT" ]
1
2019-03-02T20:06:16.000Z
2019-03-02T20:06:16.000Z
src/mysite/urls.py
kierrez/movie-website
74f4ed018aba545dec190b70d62abe0ac6085462
[ "MIT" ]
1
2022-01-07T22:57:41.000Z
2022-01-07T22:57:41.000Z
src/mysite/urls.py
kierrez/movie-website
74f4ed018aba545dec190b70d62abe0ac6085462
[ "MIT" ]
null
null
null
from django.conf.urls import include, url from django.conf.urls.static import static from django.conf import settings from django.contrib import admin from django.views.generic import TemplateView urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^', include('titles.urls')), url(r'^api/', include('a...
34.76
101
0.705409
114
869
5.245614
0.333333
0.053512
0.080268
0.060201
0
0
0
0
0
0
0
0
0.134638
869
24
102
36.208333
0.795213
0
0
0
0
0
0.151899
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
faf813cbbe6974efb607579469ef647e1911bc41
15,031
py
Python
src/axom/sidre/interface/c_fortran/genfsidresplicer.py
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
86
2019-04-12T20:39:37.000Z
2022-01-28T17:06:08.000Z
src/axom/sidre/interface/c_fortran/genfsidresplicer.py
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
597
2019-04-25T22:36:16.000Z
2022-03-31T20:21:54.000Z
src/axom/sidre/interface/c_fortran/genfsidresplicer.py
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
21
2019-06-27T15:53:08.000Z
2021-09-30T20:17:41.000Z
# Copyright (c) 2017-2021, Lawrence Livermore National Security, LLC and # other Axom Project Developers. See the top-level LICENSE file for details. # # SPDX-License-Identifier: (BSD-3-Clause) # # Routines to generate splicers for wrappers. # Used to generate several variations of a routine for Fortran. # Similar to ...
32.605206
117
0.622647
1,938
15,031
4.587719
0.123323
0.017996
0.024294
0.016871
0.699471
0.652233
0.624677
0.588573
0.564841
0.552019
0
0.00423
0.229393
15,031
460
118
32.676087
0.76336
0.1451
0
0.570122
0
0.009146
0.619632
0.178312
0.006098
0
0
0
0
1
0.04878
false
0
0.006098
0.009146
0.097561
0.079268
0
0
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
4f00d79c36e16801cd3b8686834b1d6fdf62d6eb
988
py
Python
zenqueue/client/http/common.py
zacharyvoase/zenqueue
ffd2d87fa2423339423abe606312b3046c4efefe
[ "MIT" ]
6
2015-11-05T13:36:19.000Z
2019-12-08T14:08:38.000Z
zenqueue/client/http/common.py
zacharyvoase/zenqueue
ffd2d87fa2423339423abe606312b3046c4efefe
[ "MIT" ]
null
null
null
zenqueue/client/http/common.py
zacharyvoase/zenqueue
ffd2d87fa2423339423abe606312b3046c4efefe
[ "MIT" ]
2
2015-09-18T14:59:22.000Z
2019-03-26T08:59:08.000Z
# -*- coding: utf-8 -*- import urllib from urlobject import URLObject from zenqueue import json from zenqueue.client.common import AbstractQueueClient class HTTPQueueClient(AbstractQueueClient): log_name = 'zenq.client.http' def __init__(self, host='127.0.0.1', port=3080): super(HTTPQueue...
29.939394
76
0.626518
118
988
5.127119
0.5
0.039669
0
0
0
0
0
0
0
0
0
0.014966
0.256073
988
33
77
29.939394
0.808163
0.098178
0
0
0
0
0.063063
0
0
0
0
0
0
1
0.157895
false
0
0.210526
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
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
4f077d753c9e26658aaf1a8f9d1e005ded426780
412
py
Python
users/migrations/0010_user_cerbere_login.py
MTES-MCT/apilos
6404b94b0f668e39c1dc12a6421aebd26ef1c98b
[ "MIT" ]
null
null
null
users/migrations/0010_user_cerbere_login.py
MTES-MCT/apilos
6404b94b0f668e39c1dc12a6421aebd26ef1c98b
[ "MIT" ]
2
2021-12-15T05:10:43.000Z
2021-12-15T05:11:00.000Z
users/migrations/0010_user_cerbere_login.py
MTES-MCT/apilos
6404b94b0f668e39c1dc12a6421aebd26ef1c98b
[ "MIT" ]
1
2021-12-28T13:06:06.000Z
2021-12-28T13:06:06.000Z
# Generated by Django 3.2.13 on 2022-05-17 14:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("users", "0009_alter_user_filtre_departements"), ] operations = [ migrations.AddField( model_name="user", name="cerb...
21.684211
62
0.616505
46
412
5.369565
0.847826
0
0
0
0
0
0
0
0
0
0
0.076667
0.271845
412
18
63
22.888889
0.746667
0.11165
0
0
1
0
0.156593
0.096154
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8784d5afc8471a2bb4357827d05db3ceacaf99dd
241
py
Python
NEATClub/Parameters.py
Magody/IAProyecto_NEAT
b997e1b9b064e46f3cfeeb3f0b0cd6a99c04a8ca
[ "MIT" ]
null
null
null
NEATClub/Parameters.py
Magody/IAProyecto_NEAT
b997e1b9b064e46f3cfeeb3f0b0cd6a99c04a8ca
[ "MIT" ]
null
null
null
NEATClub/Parameters.py
Magody/IAProyecto_NEAT
b997e1b9b064e46f3cfeeb3f0b0cd6a99c04a8ca
[ "MIT" ]
null
null
null
class Parameters: WINDOW_WIDTH = 500 WINDOW_HEIGHT = 600 BASE_HEIGHT = 100 BASE_IMAGE = "base.png" BACKGROUND_IMAGE = "bg.png" BIRD_IMAGES = ["bird1.png", "bird2.png", "bird3.png"] PIPE_IMAGES = ["pipe.png"]
17.214286
57
0.626556
31
241
4.645161
0.612903
0
0
0
0
0
0
0
0
0
0
0.065574
0.240664
241
13
58
18.538462
0.721311
0
0
0
0
0
0.204167
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
8789bc0b1bbd896b0bcad7826551236cba05874b
1,071
py
Python
src/bitwardentools/common.py
kiorky/bitwardentools
b13ae37324b5baa42137283aa98a3cfb6a210895
[ "BSD-3-Clause" ]
null
null
null
src/bitwardentools/common.py
kiorky/bitwardentools
b13ae37324b5baa42137283aa98a3cfb6a210895
[ "BSD-3-Clause" ]
null
null
null
src/bitwardentools/common.py
kiorky/bitwardentools
b13ae37324b5baa42137283aa98a3cfb6a210895
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function import enum import logging import os import re from http.client import HTTPConnection class VAULTIER_SECRET(enum.IntEnum): secret = 200 note = 100 file = 300 def sanitize(st): return st ...
23.282609
68
0.690943
148
1,071
4.871622
0.574324
0.049931
0.066574
0
0
0
0
0
0
0
0
0.019187
0.172736
1,071
45
69
23.8
0.794582
0.066293
0
0
0
0
0.127382
0.025075
0
0
0
0
0
1
0.103448
false
0.034483
0.206897
0.034483
0.551724
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
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
878b5c3ea3d07b1fbaad0e3a809ff6f011f3004b
529
py
Python
app.py
aslan1301/sql_alchemy
23326bf1da1dfb8d8dc2cb6d91025dc04d7a1bb0
[ "ADSL" ]
null
null
null
app.py
aslan1301/sql_alchemy
23326bf1da1dfb8d8dc2cb6d91025dc04d7a1bb0
[ "ADSL" ]
null
null
null
app.py
aslan1301/sql_alchemy
23326bf1da1dfb8d8dc2cb6d91025dc04d7a1bb0
[ "ADSL" ]
null
null
null
# Dependencies from flask import Flask, jsonify import sqlalchemy from sqlalchemy.ext.automap import automap_base from sqlalchemy.orm import Session from sqlalchemy import create_engine, func # Set up database engine = create_engine("sqlite:///Resources/hawaii.sqlite") Base = automap_base() Base.prepare(engine, reflec...
22.041667
59
0.795841
70
529
5.9
0.471429
0.101695
0
0
0
0
0
0
0
0
0
0
0.126654
529
23
60
23
0.893939
0.189036
0
0
0
0
0.078014
0.078014
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
878bf84f306f9167551da63dab55cefe273aee5c
11,293
py
Python
CosmOrc/cospar.py
akvatol/CosmOrc
6ee1e1f3521a6d2b4c8eec104fa4e93db32d9352
[ "MIT" ]
1
2018-12-07T17:21:39.000Z
2018-12-07T17:21:39.000Z
CosmOrc/cospar.py
akvatol/CosmOrc
6ee1e1f3521a6d2b4c8eec104fa4e93db32d9352
[ "MIT" ]
8
2018-11-23T10:05:01.000Z
2019-04-09T19:17:43.000Z
CosmOrc/cospar.py
akvatol/CosmOrc
6ee1e1f3521a6d2b4c8eec104fa4e93db32d9352
[ "MIT" ]
1
2018-12-07T17:21:40.000Z
2018-12-07T17:21:40.000Z
import re import pandas as pd from CosmOrc.setting import Setting def chunkit(data: list or tuple = None, n: int = None): """ Функция разбивает исходный массив на N частей (N == n). Arguments --------- data_list: list or tuple Массив, который будет разделен на n частей n: int ...
30.114667
458
0.559639
1,362
11,293
4.530103
0.255507
0.01248
0.016045
0.009724
0.263371
0.241653
0.199514
0.188817
0.15316
0.139222
0
0.062572
0.310812
11,293
374
459
30.195187
0.730181
0.404233
0
0.219178
0
0
0.045038
0.013011
0
0
0
0.018717
0
1
0.10274
false
0.013699
0.034247
0
0.267123
0
0
0
0
null
0
0
0
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
878c3da6d51776775774d5f673fcd36314c64191
702
py
Python
alembic/versions/61298763f7e4_create_characters_table.py
chalupaul/twitch_dungeon
97af4a73c8e99d2e5f1f1880e67e3253e0e06582
[ "MIT" ]
null
null
null
alembic/versions/61298763f7e4_create_characters_table.py
chalupaul/twitch_dungeon
97af4a73c8e99d2e5f1f1880e67e3253e0e06582
[ "MIT" ]
null
null
null
alembic/versions/61298763f7e4_create_characters_table.py
chalupaul/twitch_dungeon
97af4a73c8e99d2e5f1f1880e67e3253e0e06582
[ "MIT" ]
null
null
null
"""create characters table Revision ID: 61298763f7e4 Revises: Create Date: 2020-10-24 12:29:03.632815 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = "61298763f7e4" down_revision = None branch_labels = None depends_on = None def upgrade(): op.create_tabl...
20.057143
54
0.633903
92
702
4.782609
0.521739
0.145455
0.125
0.193182
0
0
0
0
0
0
0
0.07326
0.222222
702
34
55
20.647059
0.732601
0.19943
0
0
0
0
0.086643
0
0
0
0
0
0
1
0.1
false
0.05
0.1
0
0.2
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
879126eb701ed4c39daa608dec67f9bc7b38079a
436
py
Python
test/common.py
stavros7167/distributed_protocol_completion
ecda8f447b50795c26c837b91e2d27e47bf435af
[ "MIT" ]
null
null
null
test/common.py
stavros7167/distributed_protocol_completion
ecda8f447b50795c26c837b91e2d27e47bf435af
[ "MIT" ]
null
null
null
test/common.py
stavros7167/distributed_protocol_completion
ecda8f447b50795c26c837b91e2d27e47bf435af
[ "MIT" ]
null
null
null
import automaton def automaton1(): a = automaton.Automaton() a.add_string('label1L a? b! label2L') return a def process_example(): process = automaton.Automaton() process.add_edge('p0', 'p1', label='a!') return process def environment_example(): environment = automaton.Automaton() e...
21.8
48
0.66055
53
436
5.320755
0.377358
0.191489
0.12766
0
0
0
0
0
0
0
0
0.025352
0.18578
436
19
49
22.947368
0.769014
0
0
0
0
0
0.08945
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8797b250e6a5c1cb2e7908dacba53b2ff51f0304
778
py
Python
metagov/metagov/core/migrations/0006_auto_20211101_2053.py
ajnam12/gateway
8e2265820687ff8091eeb43643df80e88d470fe4
[ "MIT" ]
8
2021-11-18T18:26:04.000Z
2022-02-28T20:07:56.000Z
metagov/metagov/core/migrations/0006_auto_20211101_2053.py
ajnam12/gateway
8e2265820687ff8091eeb43643df80e88d470fe4
[ "MIT" ]
38
2021-11-17T14:25:21.000Z
2022-03-28T20:38:47.000Z
metagov/metagov/core/migrations/0006_auto_20211101_2053.py
ajnam12/gateway
8e2265820687ff8091eeb43643df80e88d470fe4
[ "MIT" ]
2
2021-12-22T02:27:24.000Z
2022-01-18T02:45:14.000Z
# Generated by Django 3.2.2 on 2021-11-01 20:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0005_remove_linkedaccount_unique_identifer_on_community_platform'), ] operations = [ migrations.AddField( model_name='pl...
33.826087
235
0.66581
89
778
5.651685
0.707865
0.101392
0.075547
0
0
0
0
0
0
0
0
0.036975
0.235219
778
22
236
35.363636
0.808403
0.057841
0
0.125
1
0.0625
0.385773
0.145007
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
87a185b4dcc32837bf3ddae592564c2216a92436
1,017
py
Python
zoomus/components/live_stream.py
seantibor/zoomus
cc8bf43a90447327a51f527f24c2bf26d31bbf07
[ "Apache-2.0" ]
178
2020-04-13T17:12:13.000Z
2022-03-30T05:55:30.000Z
zoomus/components/live_stream.py
seantibor/zoomus
cc8bf43a90447327a51f527f24c2bf26d31bbf07
[ "Apache-2.0" ]
167
2020-04-14T07:37:03.000Z
2022-03-29T02:13:43.000Z
zoomus/components/live_stream.py
maltobelli/zoomus
049fb6f6334c5bd8c02ce18339ac1caa0cfd5f57
[ "Apache-2.0" ]
90
2020-04-14T09:24:19.000Z
2022-03-24T18:33:48.000Z
from __future__ import absolute_import from zoomus import util from zoomus.components import base class LiveStreamComponentV2(base.BaseComponent): def update(self, **kwargs): """ Use this API to update the meeting's stream information. Expects: - meeting_id: int - stream_u...
29.057143
83
0.597837
113
1,017
5.212389
0.442478
0.091681
0.044143
0.057725
0.458404
0.458404
0.458404
0.342954
0.237691
0.237691
0
0.001395
0.294985
1,017
34
84
29.911765
0.820084
0.279253
0
0.266667
0
0
0.151466
0.086319
0
0
0
0
0
1
0.133333
false
0
0.2
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
87bf30702062ae46bbbf57f9a9f4770b815ca596
22,416
py
Python
clif/python/gen.py
LqNoob/C-Python-interaction
d0c9b1751789f7cc0dad46541eb76518502e47c7
[ "Apache-2.0" ]
null
null
null
clif/python/gen.py
LqNoob/C-Python-interaction
d0c9b1751789f7cc0dad46541eb76518502e47c7
[ "Apache-2.0" ]
null
null
null
clif/python/gen.py
LqNoob/C-Python-interaction
d0c9b1751789f7cc0dad46541eb76518502e47c7
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
36.990099
80
0.615096
3,130
22,416
4.278594
0.170288
0.065412
0.01934
0.007766
0.164651
0.11014
0.097372
0.07273
0.064815
0.049731
0
0.004806
0.238803
22,416
605
81
37.05124
0.78005
0.103364
0
0.263949
0
0.004292
0.314678
0.063697
0
0
0
0.001653
0.01073
0
null
null
0.002146
0.008584
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
87c8ac92fe6b2922230795468ceeaead97cbf1c0
1,036
py
Python
src/reviews/management/commands/send_review_reminders.py
Talengi/phase
60ff6f37778971ae356c5b2b20e0d174a8288bfe
[ "MIT" ]
8
2016-01-29T11:53:40.000Z
2020-03-02T22:42:02.000Z
src/reviews/management/commands/send_review_reminders.py
Talengi/phase
60ff6f37778971ae356c5b2b20e0d174a8288bfe
[ "MIT" ]
289
2015-03-23T07:42:52.000Z
2022-03-11T23:26:10.000Z
src/reviews/management/commands/send_review_reminders.py
Talengi/phase
60ff6f37778971ae356c5b2b20e0d174a8288bfe
[ "MIT" ]
7
2015-12-08T09:03:20.000Z
2020-05-11T15:36:51.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- from itertools import groupby from notifications.management.commands.base import EmailCommand from reviews.models import Review class Command(EmailCommand): help = 'Send an email reminder to all users with pending reviews' text_template = 'reviews/pending_reviews_re...
33.419355
69
0.67278
120
1,036
5.65
0.558333
0.144543
0.064897
0.085546
0.123894
0.123894
0
0
0
0
0
0.001241
0.222008
1,036
30
70
34.533333
0.83995
0.03668
0
0
0
0
0.204819
0.085341
0
0
0
0
0
1
0.142857
false
0
0.142857
0.095238
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
87ce108d518c6c9393b42afd738517ce647af72c
34,550
py
Python
GUI/Ui_SerialPort.py
IronSublimate/PyQt-multifunctional-uart-helper
f9fb3f927395f7fb83697e84bc5c5502249204f3
[ "MIT" ]
13
2019-08-23T09:17:15.000Z
2022-01-10T11:20:13.000Z
GUI/Ui_SerialPort.py
IronSublimate/PyQt-multifunctional-uart-helper
f9fb3f927395f7fb83697e84bc5c5502249204f3
[ "MIT" ]
null
null
null
GUI/Ui_SerialPort.py
IronSublimate/PyQt-multifunctional-uart-helper
f9fb3f927395f7fb83697e84bc5c5502249204f3
[ "MIT" ]
3
2020-09-01T11:43:28.000Z
2021-09-02T15:02:54.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'SerialPort.ui' # # Created by: PyQt5 UI code generator 5.12.1 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): Main...
62.140288
173
0.726541
3,773
34,550
6.44845
0.106547
0.066379
0.021249
0.02762
0.445869
0.347883
0.275216
0.245006
0.201233
0.194534
0
0.023134
0.158003
34,550
555
174
62.252252
0.813207
0.005326
0
0.15342
1
0
0.079222
0.002765
0
0
0
0
0
1
0.003697
false
0
0.009242
0
0.014787
0
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
87ce3548e3294e6a7c328a6b992789cb7686bf4b
3,199
py
Python
Mobley_logP/tautomerExploration/LimitedSet_pKa.py
MobleyLab/SAMPL5_logD_PredictionAnalysis
c7675a8f183a465bee89599a6df9e360476ef868
[ "MIT" ]
1
2018-03-21T16:48:41.000Z
2018-03-21T16:48:41.000Z
tautomerExploration/LimitedSet_pKa.py
MobleyLab/SAMPL5_logD_PredictionAnalysis
c7675a8f183a465bee89599a6df9e360476ef868
[ "MIT" ]
null
null
null
tautomerExploration/LimitedSet_pKa.py
MobleyLab/SAMPL5_logD_PredictionAnalysis
c7675a8f183a465bee89599a6df9e360476ef868
[ "MIT" ]
null
null
null
# Written by Caitlin C Bannan # Mobley Group, UC Irvine # This script performs error analysis for corrected logD values, considering only those where the logD is different than the logP # These results are compared to predictions from set 16 which did the best by most error metrics import pickle from sigfig.sigfig im...
43.22973
248
0.640513
474
3,199
4.267932
0.352321
0.04004
0.023727
0.031636
0.167079
0.135442
0.135442
0.087988
0.067227
0
0
0.012772
0.167865
3,199
73
249
43.821918
0.747183
0.194436
0
0.036364
0
0.018182
0.24415
0.049532
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.127273
0
0
0
null
0
0
0
0
0
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
87d52c8b972b5f594679c13ac62e48cde5b55933
1,918
py
Python
memos/memos/models/MemoActivity.py
iotexpert/docmgr
735c7bcbaeb73bc44efecffb175f268f2438ac3a
[ "MIT" ]
null
null
null
memos/memos/models/MemoActivity.py
iotexpert/docmgr
735c7bcbaeb73bc44efecffb175f268f2438ac3a
[ "MIT" ]
null
null
null
memos/memos/models/MemoActivity.py
iotexpert/docmgr
735c7bcbaeb73bc44efecffb175f268f2438ac3a
[ "MIT" ]
null
null
null
import enum from flask import current_app class MemoActivity(enum.Enum): Create = 1 # Memo has been created and put into draft Signoff = 2 # Memo has been submitted to signoff Sign = 3 # A signature has been added Unsign = 4 # A signature has been remove...
34.872727
80
0.546403
209
1,918
4.985646
0.334928
0.060461
0.164107
0.03263
0
0
0
0
0
0
0
0.01425
0.377998
1,918
55
81
34.872727
0.859179
0.176747
0
0
0
0
0.06686
0
0
0
0
0
0
1
0.030303
false
0
0.060606
0
0.69697
0
0
0
0
null
0
0
0
0
0
0
0
0
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
87e0587273f07a45d209c3760bad03c64753b18c
2,000
py
Python
scripts/practiceScripts/matrixplot.py
czbiohub/scRFE
716b0f59b4b949e6842af3080276c7ea835618a9
[ "MIT" ]
11
2020-03-24T17:10:50.000Z
2021-09-08T22:56:16.000Z
scripts/practiceScripts/matrixplot.py
czbiohub/scRFE
716b0f59b4b949e6842af3080276c7ea835618a9
[ "MIT" ]
null
null
null
scripts/practiceScripts/matrixplot.py
czbiohub/scRFE
716b0f59b4b949e6842af3080276c7ea835618a9
[ "MIT" ]
1
2020-03-26T23:42:00.000Z
2020-03-26T23:42:00.000Z
#!/usr/bin/env python # coding: utf-8 # # Visualtization: Matrix Plot # In[1]: # this is for comparing results from 3m and 24m data # In[2]: # imports import numpy as np import pandas as pd import scanpy as sc from anndata import read_h5ad from sklearn.ensemble import RandomForestClassifier from sklearn.model_s...
19.417476
109
0.751
322
2,000
4.403727
0.375776
0.084626
0.042313
0.050776
0.220733
0.133992
0.133992
0.086037
0.086037
0.086037
0
0.04683
0.1245
2,000
102
110
19.607843
0.762993
0.1715
0
0
0
0
0.180258
0.131208
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
87e1ae7d10290f54409d257df29981a0773a7cd1
499
py
Python
python/publish.py
sogartar/faqap
c5c86a37ce9ab7a7627e98ec5cd2ea820d10e39c
[ "Unlicense" ]
1
2021-12-23T17:53:14.000Z
2021-12-23T17:53:14.000Z
python/publish.py
sogartar/faqap
c5c86a37ce9ab7a7627e98ec5cd2ea820d10e39c
[ "Unlicense" ]
null
null
null
python/publish.py
sogartar/faqap
c5c86a37ce9ab7a7627e98ec5cd2ea820d10e39c
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 from subprocess import run from os import path, mkdir import sys from datetime import datetime curr_script_dir = path.abspath(path.dirname(__file__)) publish_dir = datetime.now().strftime("publish-%Y-%m-%d-%H-%M-%S.%f") mkdir(publish_dir) run( [sys.executable, path.join(curr_script_dir, "...
24.95
69
0.701403
76
499
4.434211
0.5
0.148368
0.115727
0.169139
0.267062
0.267062
0.178042
0
0
0
0
0.002262
0.114228
499
19
70
26.263158
0.760181
0.042084
0
0
0
0
0.144654
0.0587
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
87ec3cb2fc4a9b56a94809c11ea694f5aac841fb
491
py
Python
greenhouse/greenhouse/wsgi.py
wnzlff/greenhouse-web
b26f4c9c7c360ab1cdcb2df0b9185f31530c0215
[ "MIT" ]
1
2021-06-28T13:26:34.000Z
2021-06-28T13:26:34.000Z
greenhouse/greenhouse/wsgi.py
wnzlff/greenhouse-web
b26f4c9c7c360ab1cdcb2df0b9185f31530c0215
[ "MIT" ]
null
null
null
greenhouse/greenhouse/wsgi.py
wnzlff/greenhouse-web
b26f4c9c7c360ab1cdcb2df0b9185f31530c0215
[ "MIT" ]
null
null
null
""" WSGI config for greenhouse project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os import sys from django.core.wsgi import get_wsgi_application os.environ.setdefault(...
27.277778
83
0.794297
70
491
5.485714
0.685714
0.052083
0.09375
0
0
0
0
0
0
0
0
0.004484
0.09165
491
17
84
28.882353
0.856502
0.439919
0
0
0
0
0.393258
0.322097
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
87f3f2007017664fc349c8904abc3d2f9bc3f4bf
1,917
py
Python
tests/test_webhook_payloads.py
DowneyTung/saleor
50f299d8e276b594753ee439d9e1a212f85a91b1
[ "CC-BY-4.0" ]
19
2019-12-03T17:28:07.000Z
2021-09-10T21:30:52.000Z
tests/test_webhook_payloads.py
DowneyTung/saleor
50f299d8e276b594753ee439d9e1a212f85a91b1
[ "CC-BY-4.0" ]
51
2019-12-06T08:06:07.000Z
2021-05-06T02:10:50.000Z
tests/test_webhook_payloads.py
DowneyTung/saleor
50f299d8e276b594753ee439d9e1a212f85a91b1
[ "CC-BY-4.0" ]
20
2020-02-03T00:38:59.000Z
2022-01-03T13:07:52.000Z
import json import pytest from saleor.order import OrderStatus from saleor.webhook import WebhookEventType from saleor.webhook.payloads import ( generate_customer_payload, generate_order_payload, generate_product_payload, generate_sample_payload, ) @pytest.mark.parametrize( "event_name, order_st...
31.42623
75
0.76891
197
1,917
7.101523
0.22335
0.150107
0.105075
0.080057
0.283774
0.052895
0
0
0
0
0
0
0.158581
1,917
60
76
31.95
0.867328
0
0
0.08
1
0
0.027126
0
0
0
0
0
0.08
1
0.08
false
0
0.1
0
0.18
0
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
87f4f98c1a13be45af49b83c561a2e566598ccef
1,547
py
Python
Python/UploadHeroLoginDownload.py
nerzhul/MiscScripts
fd30d31e448631452eb966488b16785d196f9f14
[ "BSD-2-Clause" ]
1
2015-08-29T11:21:59.000Z
2015-08-29T11:21:59.000Z
Python/UploadHeroLoginDownload.py
nerzhul/MiscScripts
fd30d31e448631452eb966488b16785d196f9f14
[ "BSD-2-Clause" ]
null
null
null
Python/UploadHeroLoginDownload.py
nerzhul/MiscScripts
fd30d31e448631452eb966488b16785d196f9f14
[ "BSD-2-Clause" ]
null
null
null
from requests import Request, Session import bs4 as BeautifulSoup import re import sys conn_url="http://uploadhero.com/lib/connexion.php" dl_url="http://uploadhero.co/dl/filetodl" conn_proxies = { # "http": "http://proxy.example.net:3128", } conn_data={"pseudo_login": "mylogin","password_login": "mypwd"} s = Session(...
24.951613
137
0.696186
226
1,547
4.659292
0.411504
0.02849
0.048433
0.039886
0.237417
0.237417
0.191833
0.191833
0.191833
0.191833
0
0.008942
0.132515
1,547
61
138
25.360656
0.775708
0.025857
0
0.192308
0
0
0.199468
0
0
0
0
0
0
0
null
null
0.019231
0.076923
null
null
0.057692
0
0
0
null
0
0
0
0
0
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
87f997a542d3c742526322fbbbd7ef630ba91f1e
483
py
Python
HackerRank/BasicDataTypes/ListComprehensions.py
OAPJ/Python
2fdf9c161f962cd912f2393ff72aed823b4241cb
[ "Apache-2.0" ]
null
null
null
HackerRank/BasicDataTypes/ListComprehensions.py
OAPJ/Python
2fdf9c161f962cd912f2393ff72aed823b4241cb
[ "Apache-2.0" ]
null
null
null
HackerRank/BasicDataTypes/ListComprehensions.py
OAPJ/Python
2fdf9c161f962cd912f2393ff72aed823b4241cb
[ "Apache-2.0" ]
null
null
null
if __name__ == '__main__': x = int(input()) y = int(input()) z = int(input()) n = int(input()) ar = [] #p=0 for i in range(x+1): for j in range(y+1): for k in range(z+1): if (i+j+k) != n: ar.append([i,j,k]) print(ar) """for i in r...
21
38
0.360248
74
483
2.243243
0.283784
0.210843
0.072289
0.13253
0.313253
0.313253
0.313253
0.313253
0.313253
0.313253
0
0.026616
0.455487
483
22
39
21.954545
0.604563
0.006211
0
0
0
0
0.026316
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
87f9aabf86fee1c4eb89eec5481cb713aa530c51
2,559
py
Python
src/genie/libs/parser/nxos/tests/ShowSpanningTreeDetail/cli/equal/golden_output_1_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
204
2018-06-27T00:55:27.000Z
2022-03-06T21:12:18.000Z
src/genie/libs/parser/nxos/tests/ShowSpanningTreeDetail/cli/equal/golden_output_1_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
468
2018-06-19T00:33:18.000Z
2022-03-31T23:23:35.000Z
src/genie/libs/parser/nxos/tests/ShowSpanningTreeDetail/cli/equal/golden_output_1_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
309
2019-01-16T20:21:07.000Z
2022-03-30T12:56:41.000Z
expected_output = { 'mstp': { 'mst_instances': { 0: { 'mst_id': 0, 'bridge_priority': 32768, 'bridge_sysid': 0, 'bridge_address': '00e3.04ff.ad03', 'topology_change_flag': False, 'topology_detected_...
37.086957
70
0.357952
172
2,559
5
0.505814
0.065116
0.039535
0.023256
0
0
0
0
0
0
0
0.088682
0.537319
2,559
68
71
37.632353
0.637669
0
0
0.060606
0
0
0.323426
0.099726
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
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
87fa43f6cd7f8c9deda85610d5fc499df7b69189
2,188
py
Python
hyperglass/cache/base.py
blkmajik/hyperglass
c52a6f609843177671d38bcad59b8bd658f46b64
[ "BSD-3-Clause-Clear" ]
298
2019-06-17T13:51:46.000Z
2021-06-23T18:09:51.000Z
hyperglass/cache/base.py
blkmajik/hyperglass
c52a6f609843177671d38bcad59b8bd658f46b64
[ "BSD-3-Clause-Clear" ]
137
2019-06-18T12:59:37.000Z
2021-06-19T05:50:58.000Z
hyperglass/cache/base.py
blkmajik/hyperglass
c52a6f609843177671d38bcad59b8bd658f46b64
[ "BSD-3-Clause-Clear" ]
42
2019-06-18T07:25:23.000Z
2021-06-18T17:40:20.000Z
"""Base Redis cache handler.""" # Standard Library import re import json from typing import Any, Optional # Third Party from pydantic import SecretStr class BaseCache: """Redis cache handler.""" def __init__( self, db: int, host: str = "localhost", port: int = 6379, ...
32.656716
86
0.564442
264
2,188
4.545455
0.314394
0.046667
0.041667
0.06
0.07
0.07
0.07
0.07
0.07
0.07
0
0.003245
0.295704
2,188
66
87
33.151515
0.77547
0.077239
0
0
0
0
0.078815
0.038655
0
0
0
0
0
1
0.085106
false
0.085106
0.085106
0
0.255319
0
0
0
0
null
0
0
0
0
0
0
0
0
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
e201bb627bf53d9e3315ef19b52a500adba2f552
6,979
py
Python
GUI.py
rodrickcalvin/Musical-note-identifier-Chromatic-tuner
3984a766cf5aeb91e08a95f40cd30346077fbdc6
[ "MIT" ]
3
2021-04-20T12:23:28.000Z
2021-06-07T04:15:00.000Z
GUI.py
rodrickcalvin/Musical-note-identifier-Chromatic-tuner
3984a766cf5aeb91e08a95f40cd30346077fbdc6
[ "MIT" ]
null
null
null
GUI.py
rodrickcalvin/Musical-note-identifier-Chromatic-tuner
3984a766cf5aeb91e08a95f40cd30346077fbdc6
[ "MIT" ]
2
2021-04-20T12:23:31.000Z
2021-06-06T17:10:01.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '/home/thanos/Qt/Guitar Tuna/guitarTunaDialog.ui' # # Created by: PyQt5 UI code generator 5.12.1 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Dialog(object): def setupUi(s...
59.649573
115
0.751254
689
6,979
7.4209
0.184325
0.136906
0.095052
0.070409
0.456092
0.339918
0.251516
0.234305
0.234305
0.234305
0
0.037538
0.152601
6,979
116
116
60.163793
0.827021
0.031237
0
0.038835
1
0
0.066331
0.007255
0
0
0
0
0
1
0.019417
false
0
0.009709
0
0.038835
0
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