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
7a0c3420e332d98860be54fe5d3e083789f8db87
11,977
py
Python
Lib/site-packages/wx-2.8-msw-unicode/wx/lib/rpcMixin.py
ekkipermana/robotframework-test
243ca26f69962f8cf20cd7d054e0ff3e709bc7f4
[ "bzip2-1.0.6" ]
27
2020-11-12T19:24:54.000Z
2022-03-27T23:10:45.000Z
Lib/site-packages/wx-2.8-msw-unicode/wx/lib/rpcMixin.py
ekkipermana/robotframework-test
243ca26f69962f8cf20cd7d054e0ff3e709bc7f4
[ "bzip2-1.0.6" ]
2
2020-11-02T06:30:39.000Z
2022-02-23T18:39:55.000Z
Lib/site-packages/wx-2.8-msw-unicode/wx/lib/rpcMixin.py
ekkipermana/robotframework-test
243ca26f69962f8cf20cd7d054e0ff3e709bc7f4
[ "bzip2-1.0.6" ]
7
2018-02-13T10:22:39.000Z
2019-07-04T07:39:28.000Z
# # This was modified from rpcMixin.py distributed with wxPython # #---------------------------------------------------------------------- # Name: rpcMixin # Version: 0.2.0 # Purpose: provides xmlrpc server functionality for wxPython # applications via a mixin class # # Requires: (1) Pyt...
28.314421
83
0.655172
1,577
11,977
4.925809
0.310717
0.015062
0.009655
0.010299
0.071576
0.050335
0.024202
0.018023
0.018023
0.018023
0
0.014677
0.243383
11,977
422
84
28.381517
0.842529
0.145028
0
0.184466
0
0
0.048796
0
0
0
0
0
0
0
null
null
0.014563
0.043689
null
null
0.009709
0
0
0
null
0
0
0
0
0
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
7a0e60c2fcb890b230d7c77acadfb641de35a9ac
464
py
Python
pytube/__init__.py
tooxo/pytube
a5cc8371995971c73f1e3ddbc582ed8f59adeaa3
[ "MIT-0" ]
null
null
null
pytube/__init__.py
tooxo/pytube
a5cc8371995971c73f1e3ddbc582ed8f59adeaa3
[ "MIT-0" ]
null
null
null
pytube/__init__.py
tooxo/pytube
a5cc8371995971c73f1e3ddbc582ed8f59adeaa3
[ "MIT-0" ]
null
null
null
# -*- coding: utf-8 -*- # flake8: noqa: F401 # noreorder """ Pytube: a very serious Python library for downloading YouTube Videos. """ __title__ = "pytube3" __author__ = "Nick Ficano, Harold Martin" __license__ = "MIT License" __copyright__ = "Copyright 2019 Nick Ficano" from pytube.version import __version__ from pyt...
27.294118
69
0.778017
58
464
5.810345
0.655172
0.148368
0
0
0
0
0
0
0
0
0
0.024938
0.135776
464
16
70
29
0.815461
0.260776
0
0
0
0
0.21021
0
0
0
0
0
0
1
0
false
0
0.555556
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7a0fd0d8e8f4b77e525cf382b54a67adb8796607
7,413
py
Python
mojo/public/bindings/pylib/parse/mojo_lexer.py
anirudhSK/chromium
a8f23c87e656ab9ba49de9ccccbc53f614cdcb41
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
mojo/public/bindings/pylib/parse/mojo_lexer.py
anirudhSK/chromium
a8f23c87e656ab9ba49de9ccccbc53f614cdcb41
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
mojo/public/bindings/pylib/parse/mojo_lexer.py
anirudhSK/chromium
a8f23c87e656ab9ba49de9ccccbc53f614cdcb41
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-04-17T13:19:09.000Z
2021-10-21T12:55:15.000Z
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import re import sys import os.path # Try to load the ply module, if not, then assume it is in the third_party # directory. try: # Disable lint check whic...
25.739583
78
0.553082
969
7,413
4.017544
0.276574
0.01644
0.022605
0.02466
0.146674
0.06653
0.035448
0.035448
0
0
0
0.012359
0.25779
7,413
287
79
25.829268
0.695202
0.21206
0
0.089888
0
0.005618
0.177147
0.035708
0
0
0
0
0
1
0.095506
false
0.005618
0.039326
0.044944
0.567416
0.005618
0
0
0
null
0
0
0
0
0
0
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
7a128020aa2d4bec4ebec08e617bce62c5f7a545
2,491
py
Python
adet/data/video_data/yvos_annot_test.py
Tanveer81/BoxVOS
c30aa319f18f3fbee2a25e0ed25cb006a4598300
[ "BSD-2-Clause" ]
4
2022-02-16T02:48:27.000Z
2022-03-08T06:54:32.000Z
adet/data/video_data/yvos_annot_test.py
Tanveer81/BoxVOS
c30aa319f18f3fbee2a25e0ed25cb006a4598300
[ "BSD-2-Clause" ]
null
null
null
adet/data/video_data/yvos_annot_test.py
Tanveer81/BoxVOS
c30aa319f18f3fbee2a25e0ed25cb006a4598300
[ "BSD-2-Clause" ]
null
null
null
import json import sys import time from glob import glob from adet.data.video_data.util import * from PIL import Image import os def generate_detectron2_annotations(img_path, detectron2_annos_path, meta_path, split): f = open(meta_path, ) data = json.load(f) f.close() video_id_names = lis...
37.179104
123
0.566038
295
2,491
4.549153
0.298305
0.067809
0.07079
0.042474
0.351714
0.280179
0.219076
0.174367
0.101341
0.101341
0
0.011422
0.297069
2,491
66
124
37.742424
0.754997
0.001606
0
0.035714
1
0.017857
0.237288
0.11699
0
0
0
0
0
1
0.035714
false
0
0.125
0
0.160714
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7a1d716b50fd0ab91324c4211ead13ac00b99acc
1,288
py
Python
category_classifier/correct_date.py
LaverdeS/NLP_Sexual_Harassment_Testimonies
f5852060e726742532cb5b94ccb3275543a75c92
[ "MIT" ]
null
null
null
category_classifier/correct_date.py
LaverdeS/NLP_Sexual_Harassment_Testimonies
f5852060e726742532cb5b94ccb3275543a75c92
[ "MIT" ]
null
null
null
category_classifier/correct_date.py
LaverdeS/NLP_Sexual_Harassment_Testimonies
f5852060e726742532cb5b94ccb3275543a75c92
[ "MIT" ]
3
2021-03-14T16:04:45.000Z
2022-01-02T15:46:27.000Z
# -*- coding: utf-8 -*- """correct_date.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/168VF123qwRpjZWIlW6AYrt1wn4ZO4NlY """ import pandas as pd from datetime import datetime #Prepare #data = pd.read_csv('SAFETY_GPS.csv')\n", def correct_date(...
30.666667
120
0.688665
169
1,288
5.159763
0.502959
0.103211
0.034404
0.041284
0
0
0
0
0
0
0
0.015903
0.170031
1,288
42
121
30.666667
0.799813
0.216615
0
0.095238
1
0
0.197197
0
0
0
0
0
0
1
0.095238
false
0
0.095238
0.047619
0.285714
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7a1e5f6c5ac0c300440ce6ed6f3172243406c1dd
1,136
py
Python
pipescaler/sorters/regex_sorter.py
KarlTDebiec/PipeScaler
b990ece8f3dd2c3506c226ed871871997fc57beb
[ "BSD-3-Clause" ]
1
2022-02-07T03:47:53.000Z
2022-02-07T03:47:53.000Z
pipescaler/sorters/regex_sorter.py
KarlTDebiec/PipeScaler
b990ece8f3dd2c3506c226ed871871997fc57beb
[ "BSD-3-Clause" ]
49
2022-01-17T15:16:22.000Z
2022-03-28T03:00:39.000Z
pipescaler/sorters/regex_sorter.py
KarlTDebiec/PipeScaler
b990ece8f3dd2c3506c226ed871871997fc57beb
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # pipescaler/sorters/regex_sorter.py # # Copyright (C) 2020-2021 Karl T Debiec # All rights reserved. # # This software may be modified and distributed under the terms of the # BSD license. from __future__ import annotations import re from logging import info from os.path import basenam...
26.418605
75
0.636444
140
1,136
5.042857
0.614286
0.063739
0.025496
0.036827
0
0
0
0
0
0
0
0.009368
0.248239
1,136
42
76
27.047619
0.81733
0.272887
0
0
0
0
0.164198
0.054321
0
0
0
0
0
1
0.142857
false
0
0.285714
0.047619
0.619048
0
0
0
0
null
0
0
0
0
0
0
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
7a1efce1ccc9c1b3b1b3978b1d67a9f32472781c
672
py
Python
adminrestrict/management/commands/removeadminip.py
primal100/django-adminrestrict
f019bb076fcec9d5d949d3cd0014079a3f5ae0b3
[ "MIT" ]
29
2015-04-17T04:11:25.000Z
2022-01-12T07:32:47.000Z
adminrestrict/management/commands/removeadminip.py
primal100/django-adminrestrict
f019bb076fcec9d5d949d3cd0014079a3f5ae0b3
[ "MIT" ]
20
2016-01-21T14:16:35.000Z
2022-03-29T20:45:26.000Z
adminrestrict/management/commands/removeadminip.py
primal100/django-adminrestrict
f019bb076fcec9d5d949d3cd0014079a3f5ae0b3
[ "MIT" ]
24
2015-08-29T11:14:46.000Z
2021-09-26T14:19:53.000Z
from django.core.management.base import BaseCommand from adminrestrict.models import AllowedIP class Command(BaseCommand): help = 'Remove an IP address from the Admin Allowed IP table' def add_arguments(self, parser): parser.add_argument('ip_address', type=str) def handle(self, *args, **options)...
35.368421
93
0.678571
90
672
4.966667
0.555556
0.201342
0.071588
0.067114
0.116331
0
0
0
0
0
0
0.005747
0.223214
672
18
94
37.333333
0.850575
0
0
0
0
0
0.251488
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0.142857
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
e13b09755801042b1d9434d09c0d41d26e0337ad
351
py
Python
Mundo 1/ex023.py
edersonhs/Curso-de-Python-3
9fc076874d1a83f9cf5184c1133def55b1e34347
[ "MIT" ]
null
null
null
Mundo 1/ex023.py
edersonhs/Curso-de-Python-3
9fc076874d1a83f9cf5184c1133def55b1e34347
[ "MIT" ]
null
null
null
Mundo 1/ex023.py
edersonhs/Curso-de-Python-3
9fc076874d1a83f9cf5184c1133def55b1e34347
[ "MIT" ]
null
null
null
numero = int(input('Insira um número: ')) unidade = numero // 1 % 10 dezena = numero // 10 % 10 centena = numero // 100 % 10 milhar = numero // 1000 % 10 print('O número analisado foi {}'.format(numero)) print('Unidade: {}'.format(unidade)) print('Dezena: {}'.format(dezena)) print('Centena: {}'.format(centena)) print...
25.071429
49
0.649573
45
351
5.066667
0.422222
0
0
0
0
0
0
0
0
0
0
0.059801
0.14245
351
13
50
27
0.697674
0
0
0
0
0
0.242857
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
e140f4649d1236a74dcacbd86d3508baa733712f
1,387
py
Python
provision/roles/service-web/files/static/db-stats/db-stats.py
imincik/ansible-demo
e0205ddafa47ca262148a8f524ad903e1f39a342
[ "BSD-3-Clause" ]
null
null
null
provision/roles/service-web/files/static/db-stats/db-stats.py
imincik/ansible-demo
e0205ddafa47ca262148a8f524ad903e1f39a342
[ "BSD-3-Clause" ]
null
null
null
provision/roles/service-web/files/static/db-stats/db-stats.py
imincik/ansible-demo
e0205ddafa47ca262148a8f524ad903e1f39a342
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import os import socket import psycopg2 if os.path.exists("./db-stats.conf"): CFG = open('./db-stats.conf', 'r').read().split(":") else: CFG = open('/etc/db-stats.conf', 'r').read().split(":") def get_stats(): output = "DATABASE: {}\n".format(CFG[0]) conn = psycopg2.connect( ...
23.116667
66
0.563807
176
1,387
4.301136
0.573864
0.027741
0.043593
0.031704
0.103038
0.055482
0
0
0
0
0
0.016865
0.273252
1,387
59
67
23.508475
0.734127
0.035328
0
0
0
0
0.357036
0.062126
0
0
0
0
0
0
null
null
0.023256
0.069767
null
null
0.023256
0
0
0
null
0
0
0
0
0
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
e14582bd51db4d6a321d6ffc2525451a66bbea50
9,088
py
Python
cyberweb/controllers/pkiproxy.py
sumukh210991/Cyberweb
297bd54c9e223d38818b802087055e397c403f1c
[ "Apache-2.0" ]
null
null
null
cyberweb/controllers/pkiproxy.py
sumukh210991/Cyberweb
297bd54c9e223d38818b802087055e397c403f1c
[ "Apache-2.0" ]
null
null
null
cyberweb/controllers/pkiproxy.py
sumukh210991/Cyberweb
297bd54c9e223d38818b802087055e397c403f1c
[ "Apache-2.0" ]
null
null
null
import logging import commands import os from pylons import request, response, session, app_globals, tmpl_context as c, config, url from pylons.controllers.util import abort, redirect from authkit.authorize.pylons_adaptors import authorize, authorized import sqlalchemy as sa from cyberweb.lib.base import BaseControll...
42.867925
125
0.540823
1,044
9,088
4.591954
0.212644
0.048185
0.033375
0.0267
0.287443
0.23446
0.194201
0.172716
0.172716
0.147059
0
0.000829
0.336488
9,088
211
126
43.07109
0.794196
0.032901
0
0.234637
0
0
0.137157
0.033191
0
0
0
0
0
0
null
null
0.027933
0.061453
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
e1469347604e80e2b4786da8bbff4cd038e6c1c2
1,289
py
Python
samples/sample_board.py
kazurrr/raspberry-gpio-emulator
17e52223af93d0cb4b07ea9de05c6b317e4429b0
[ "Apache-2.0" ]
52
2017-04-07T10:44:35.000Z
2022-03-24T02:27:03.000Z
samples/sample_board.py
kazurrr/raspberry-gpio-emulator
17e52223af93d0cb4b07ea9de05c6b317e4429b0
[ "Apache-2.0" ]
8
2016-12-21T10:48:11.000Z
2021-11-25T09:43:20.000Z
samples/sample_board.py
kazurrr/raspberry-gpio-emulator
17e52223af93d0cb4b07ea9de05c6b317e4429b0
[ "Apache-2.0" ]
18
2017-09-02T19:24:00.000Z
2022-03-17T21:30:06.000Z
def main(): import RPi.GPIO as GPIO import time try: print(GPIO.VERSION) print(GPIO.RPI_INFO) GPIO.setmode(GPIO.BOARD) GPIO.setwarnings(False) GPIO.setup(12, GPIO.OUT) GPIO.setup(11, GPIO.OUT, initial=GPIO.HIGH) GPIO.setup(13, GPIO.IN) GPIO...
23.87037
55
0.521334
173
1,289
3.83237
0.289017
0.135747
0.082956
0.096531
0.180995
0.135747
0.135747
0.135747
0.135747
0.135747
0
0.072748
0.328161
1,289
53
56
24.320755
0.692841
0
0
0.05
0
0
0.006206
0
0
0
0
0
0
1
0.025
true
0
0.075
0
0.1
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
e148ce930a291be02aaac1f876653dfd34d0d57b
577
py
Python
problems/A/PetyaAndOrigami.py
deveshbajpai19/CodeForces
707b374f03012ec68054841f791d48b33ae4ef1b
[ "MIT" ]
55
2016-06-19T05:45:15.000Z
2022-03-31T15:18:53.000Z
problems/A/PetyaAndOrigami.py
farhadcu/CodeForces-2
707b374f03012ec68054841f791d48b33ae4ef1b
[ "MIT" ]
null
null
null
problems/A/PetyaAndOrigami.py
farhadcu/CodeForces-2
707b374f03012ec68054841f791d48b33ae4ef1b
[ "MIT" ]
25
2016-07-29T13:03:15.000Z
2021-09-17T01:45:45.000Z
__author__ = 'Devesh Bajpai' ''' https://codeforces.com/problemset/problem/1080/A Solution: Calculate the number of red, green and blue papers needed. Since each book provides k sheets, we divide each color's paper needed by k to get the number of books. To take care of remainder as well we do ceil division. ''' ...
23.08
115
0.667244
97
577
3.793814
0.639175
0.032609
0.059783
0.076087
0
0
0
0
0
0
0
0.017544
0.209705
577
24
116
24.041667
0.789474
0
0
0
0
0
0.076125
0
0
0
0
0
0
0
null
null
0
0
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e14c5b233805ccee082c7ce8758f45a59b32e3d1
598
py
Python
Day2/missing_and_repeating_element_2.py
DsaWithPython/Striver_SDE_SHEET_python
1fe343a8d3388de91d289306284881ec2d2e5f26
[ "MIT" ]
1
2022-02-11T13:13:47.000Z
2022-02-11T13:13:47.000Z
Day2/missing_and_repeating_element_2.py
DsaWithPython/Striver_SDE_SHEET_python
1fe343a8d3388de91d289306284881ec2d2e5f26
[ "MIT" ]
null
null
null
Day2/missing_and_repeating_element_2.py
DsaWithPython/Striver_SDE_SHEET_python
1fe343a8d3388de91d289306284881ec2d2e5f26
[ "MIT" ]
null
null
null
class Solution: # @param A : tuple of integers # @return a list of integers def repeatedNumber(self, A): n = len(A) f_sum = sum(A) #false sum actual_sum = 0 actual_sum_squares = 0 f_sum_square = 0 #false sum squares for i in range(1,n+1): actual_su...
29.9
96
0.523411
90
598
3.244444
0.322222
0.246575
0.164384
0.133562
0
0
0
0
0
0
0
0.020833
0.35786
598
19
97
31.473684
0.739583
0.135452
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.214286
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
e15d2247b2ed5fec79e17c990bd1a211bec00d4b
3,398
py
Python
trepl/checkers.py
chartbeat-labs/trepl
a1391eccd276245ccfec2e99cad2be067e9d6dd1
[ "Apache-2.0" ]
5
2016-03-27T09:10:36.000Z
2019-11-15T17:06:51.000Z
trepl/checkers.py
chartbeat-labs/trepl
a1391eccd276245ccfec2e99cad2be067e9d6dd1
[ "Apache-2.0" ]
null
null
null
trepl/checkers.py
chartbeat-labs/trepl
a1391eccd276245ccfec2e99cad2be067e9d6dd1
[ "Apache-2.0" ]
3
2016-04-06T02:45:15.000Z
2020-10-19T09:20:28.000Z
"""Implementations of useful checkers.""" from functools import partial def default(copysets, copyset): """Check that always passes. The check function checks for custom constraints, such as rack or tier awareness. 'copysets' contains a list of copysets build_copysets has generated so far, and 'cop...
29.807018
79
0.627722
461
3,398
4.542299
0.312364
0.038204
0.018625
0.020057
0.182426
0.129895
0.129895
0.098376
0.051576
0.051576
0
0.002956
0.303119
3,398
113
80
30.070796
0.881334
0.065038
0
0.128205
0
0
0.023904
0
0
0
0
0
0
0
null
null
0
0.025641
null
null
0.051282
0
0
0
null
0
0
0
0
0
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
e1609f428eff7bee3fcc48d489deb2abad805483
344
py
Python
app.py
thebatclaudio/dont-worry-be-happy
efd75a1d62917db0fc794c810382cdf3ba6bc4bc
[ "MIT" ]
2
2020-10-29T11:16:32.000Z
2021-08-16T18:57:25.000Z
app.py
thebatclaudio/dont-worry-be-happy
efd75a1d62917db0fc794c810382cdf3ba6bc4bc
[ "MIT" ]
null
null
null
app.py
thebatclaudio/dont-worry-be-happy
efd75a1d62917db0fc794c810382cdf3ba6bc4bc
[ "MIT" ]
null
null
null
import datetime from eye.eye import Eye from analyzer.analyzer import Analyzer from sender.sender import Sender from config.config import Config configuration = Config() eye = Eye() analyzer = Analyzer() sender = Sender() frame = eye.capture() while True: data = analyzer.analyze(frame) sender.send(data) ...
17.2
38
0.735465
45
344
5.622222
0.333333
0.047431
0.118577
0
0
0
0
0
0
0
0
0
0.171512
344
20
39
17.2
0.887719
0
0
0.142857
0
0
0
0
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
e1617bd92dea7150f64af7b2694025377489a60d
2,030
py
Python
st2client/st2client/utils/terminal.py
totalkyos/stack-storm
b89bc648d53dae03c7484d22abd771edfe45bbb8
[ "Apache-2.0" ]
1
2020-11-21T10:11:25.000Z
2020-11-21T10:11:25.000Z
st2client/st2client/utils/terminal.py
totalkyos/stack-storm
b89bc648d53dae03c7484d22abd771edfe45bbb8
[ "Apache-2.0" ]
1
2015-06-08T15:27:11.000Z
2015-06-08T15:27:11.000Z
st2client/st2client/utils/terminal.py
totalkyos/stack-storm
b89bc648d53dae03c7484d22abd771edfe45bbb8
[ "Apache-2.0" ]
13
2017-01-12T11:07:20.000Z
2019-04-19T09:55:49.000Z
# Licensed to the StackStorm, Inc ('StackStorm') under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use th...
30.757576
79
0.6133
256
2,030
4.816406
0.507813
0.048662
0.03163
0.025953
0.035685
0
0
0
0
0
0
0.011896
0.296059
2,030
65
80
31.230769
0.850945
0.431527
0
0.384615
0
0
0.039286
0
0
0
0
0
0
1
0.051282
false
0.102564
0.128205
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
1
0
0
0
0
0
1
e161dd801ed9c09d1d2f4a17b19cd271ea31abb7
1,262
py
Python
libutils/primes.py
nicknaym530/android_system_core
9f6b99e7aa5eda0391f973a69e97921824de7502
[ "MIT" ]
8,865
2017-03-13T03:27:32.000Z
2022-03-31T12:57:44.000Z
libutils/primes.py
nicknaym530/android_system_core
9f6b99e7aa5eda0391f973a69e97921824de7502
[ "MIT" ]
359
2017-03-13T06:37:22.000Z
2022-01-27T14:31:43.000Z
libutils/primes.py
nicknaym530/android_system_core
9f6b99e7aa5eda0391f973a69e97921824de7502
[ "MIT" ]
1,709
2017-03-13T02:29:13.000Z
2022-03-31T12:57:48.000Z
#!/usr/bin/env python2.6 # # Copyright (C) 2011 The Android Open Source Project # # 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 ...
26.291667
75
0.684628
212
1,262
4.051887
0.570755
0.069849
0.030268
0.037253
0
0
0
0
0
0
0
0.02459
0.226624
1,262
47
76
26.851064
0.855533
0.710777
0
0
0
0
0.120235
0
0
0
0
0
0
0
null
null
0
0
null
null
0.222222
0
0
0
null
0
0
0
0
0
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
e161ed7258e37f8d4434899e4c2f7fd4697232ef
331
py
Python
src/chaospizza/orders/migrations/0002_coordinator_and_restaurant_not_unique.py
chaosdorf/chaospizza
6f0895f28095260d04b41a8b86edf07a87bcccb8
[ "MIT" ]
9
2017-05-19T23:32:19.000Z
2020-06-28T20:40:13.000Z
src/chaospizza/orders/migrations/0002_coordinator_and_restaurant_not_unique.py
chaosdorf/chaospizza
6f0895f28095260d04b41a8b86edf07a87bcccb8
[ "MIT" ]
31
2017-05-19T21:27:30.000Z
2022-01-25T21:38:13.000Z
src/chaospizza/orders/migrations/0002_coordinator_and_restaurant_not_unique.py
chaosdorf/chaospizza
6f0895f28095260d04b41a8b86edf07a87bcccb8
[ "MIT" ]
4
2017-05-19T23:32:05.000Z
2019-02-26T03:41:51.000Z
# Generated by Django 2.2 on 2019-07-13 07:13 from django.db import migrations class Migration(migrations.Migration): # noqa dependencies = [ ('orders', '0001_initial'), ] operations = [ migrations.AlterUniqueTogether( name='order', unique_together=set(), ...
18.388889
46
0.586103
33
331
5.818182
0.787879
0.041667
0
0
0
0
0
0
0
0
0
0.077922
0.302115
331
17
47
19.470588
0.753247
0.145015
0
0
1
0
0.082143
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e1625d9ccf79034adfb71d07b43cc5df061da2f9
2,571
py
Python
tests/test_models/test_amenity.py
jozsa/AirBnB_clone
2ce8dadbf9b7a88b1ca607cc29dd877c4b61da04
[ "MIT" ]
null
null
null
tests/test_models/test_amenity.py
jozsa/AirBnB_clone
2ce8dadbf9b7a88b1ca607cc29dd877c4b61da04
[ "MIT" ]
null
null
null
tests/test_models/test_amenity.py
jozsa/AirBnB_clone
2ce8dadbf9b7a88b1ca607cc29dd877c4b61da04
[ "MIT" ]
null
null
null
#!/usr/bin/python3 """Unittest for class Amenity """ import unittest from datetime import datetime from models.base_model import BaseModel from models.amenity import Amenity class TestAmenity(unittest.TestCase): """Testing Amenity""" def setUp(self): """ Create a new instance of Amenity before...
28.252747
67
0.597822
321
2,571
4.613707
0.23676
0.072924
0.056718
0.043214
0.234976
0.119514
0.119514
0.06077
0.06077
0.06077
0
0.014294
0.292493
2,571
90
68
28.566667
0.79989
0.222482
0
0
0
0
0.026651
0
0
0
0
0
0.375
1
0.275
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e164fcabadf539ae4b40ae342a34dada9d2c7a3e
2,343
py
Python
campus02/base/migrations/0002_auto_20160906_1547.py
fladi/django-campus02
558813ef9d38f94678d52d36ecaf5f70037dc5a4
[ "MIT" ]
null
null
null
campus02/base/migrations/0002_auto_20160906_1547.py
fladi/django-campus02
558813ef9d38f94678d52d36ecaf5f70037dc5a4
[ "MIT" ]
null
null
null
campus02/base/migrations/0002_auto_20160906_1547.py
fladi/django-campus02
558813ef9d38f94678d52d36ecaf5f70037dc5a4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-09-06 15:47 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('base', '0001_initial'), ] operations = [ mig...
37.190476
146
0.578318
230
2,343
5.747826
0.365217
0.066566
0.060514
0.075643
0.386536
0.386536
0.356278
0.19062
0.19062
0.119516
0
0.035672
0.282117
2,343
62
147
37.790323
0.750297
0.028169
0
0.490909
1
0
0.112577
0
0
0
0
0
0
1
0
false
0
0.054545
0
0.109091
0
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
e169fc4f4beda8e3438350491b8184e8e9f3c366
328
py
Python
home_application/apps.py
pengwow/bk-mock-exam
3a8627aa3ffb17b2271d33ee18a61734b8e9147e
[ "Apache-2.0" ]
null
null
null
home_application/apps.py
pengwow/bk-mock-exam
3a8627aa3ffb17b2271d33ee18a61734b8e9147e
[ "Apache-2.0" ]
4
2020-02-12T01:47:04.000Z
2021-06-10T21:34:36.000Z
home_application/apps.py
pengwow/test-demo
9d5c460b534d93d84f39ae24db82aa101027d199
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 from __future__ import unicode_literals from django.apps import AppConfig class HomeApplication(AppConfig): name = 'test-demo.home_application' def ready(self): with open('./123.txt','wb') as fd: fd.write("SSSSSSSSSSSSSSSSSSSSSSFFFFFFF#########99999430\n42354364234\nr...
27.333333
92
0.695122
37
328
6
0.891892
0
0
0
0
0
0
0
0
0
0
0.084249
0.167683
328
12
92
27.333333
0.728938
0.051829
0
0
0
0
0.33871
0.303226
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e16a7fee25a2715b871da3766133e0acd884599a
1,806
py
Python
tests/test_rcopy.py
randy3k/rchitect
23f5052c7b5ae5b390ebe231b369ea254c92425d
[ "MIT" ]
32
2018-12-29T08:44:18.000Z
2021-12-08T04:08:21.000Z
tests/test_rcopy.py
randy3k/rchitect
23f5052c7b5ae5b390ebe231b369ea254c92425d
[ "MIT" ]
14
2018-12-18T16:41:09.000Z
2022-02-06T05:03:44.000Z
tests/test_rcopy.py
randy3k/rchitect
23f5052c7b5ae5b390ebe231b369ea254c92425d
[ "MIT" ]
4
2019-04-06T20:06:50.000Z
2021-02-04T20:30:16.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from rchitect import rcopy, reval from rchitect.interface import rstring import string from collections import OrderedDict def test_booleans(gctorture): assert rcopy(reval("TRUE")) is True assert rcopy(reval("FALSE")) is False assert rcopy(l...
30.1
78
0.601883
271
1,806
3.9631
0.254613
0.184358
0.163873
0.09311
0.216015
0.148976
0.10987
0.10987
0.10987
0.046555
0
0.038409
0.192691
1,806
59
79
30.610169
0.698217
0.011628
0
0.046512
0
0
0.140213
0.014582
0
0
0
0
0.581395
1
0.162791
false
0
0.116279
0
0.27907
0
0
0
0
null
0
0
0
0
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
e16e820635517a9489491df0939979dc1ec8d093
1,756
py
Python
3/tutorials/while_loops.py
shiblon/pytour
71a181ec16fd38b0af62f55e28a50e91790733b9
[ "Apache-2.0" ]
2
2016-04-30T00:12:50.000Z
2018-11-14T20:47:55.000Z
3/tutorials/while_loops.py
shiblon/pytour
71a181ec16fd38b0af62f55e28a50e91790733b9
[ "Apache-2.0" ]
2
2020-02-17T22:31:09.000Z
2020-02-18T04:31:55.000Z
3/tutorials/while_loops.py
shiblon/pytour
71a181ec16fd38b0af62f55e28a50e91790733b9
[ "Apache-2.0" ]
3
2018-03-26T17:41:40.000Z
2019-06-28T12:53:47.000Z
# vim:tw=50 """"While" Loops Recursion is powerful, but not always convenient or efficient for processing sequences. That's why Python has **loops**. A _loop_ is just what it sounds like: you do something, then you go round and do it again, like a track: you run around, then you run around again. Loops let you do ...
24.388889
58
0.686788
303
1,756
3.924092
0.455446
0.047098
0.020185
0.04037
0.068124
0
0
0
0
0
0
0.014255
0.201025
1,756
71
59
24.732394
0.833215
0.693052
0
0.173913
0
0
0.18835
0
0
0
0
0
0
1
0.130435
false
0
0
0
0.173913
0.434783
0
0
0
null
0
0
0
0
0
0
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
e17079e1554a7e73b2d7432d689b687420bd180a
7,924
py
Python
sugaroid/brain/hangman.py
TheDarkDrake/sugaroid
ab4b1777bfaae491e80549ea0ba3f8d627b6de5c
[ "MIT" ]
1
2021-01-23T09:12:30.000Z
2021-01-23T09:12:30.000Z
sugaroid/brain/hangman.py
TheDarkDrake/sugaroid
ab4b1777bfaae491e80549ea0ba3f8d627b6de5c
[ "MIT" ]
null
null
null
sugaroid/brain/hangman.py
TheDarkDrake/sugaroid
ab4b1777bfaae491e80549ea0ba3f8d627b6de5c
[ "MIT" ]
null
null
null
""" MIT License Sugaroid Artificial Intelligence Chatbot Core Copyright (c) 2020-2021 Srevin Saju Copyright (c) 2021 The Sugaroid Project Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without r...
20.42268
116
0.674659
969
7,924
5.458204
0.479876
0.029117
0.034033
0.047268
0.11817
0.081868
0.059558
0.059558
0.017773
0.017773
0
0.003855
0.247097
7,924
387
117
20.475452
0.881998
0.183872
0
0.067692
0
0
0.393228
0
0
1
0
0.002584
0
1
0.027692
false
0
0.018462
0.006154
0.098462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
e17587beda900a82119a92976f198fad5a2b39bc
4,921
py
Python
mini-project 1/main.py
Alireza-Abrehforoush/Mathematical-Foundations-of-Data-Science
cdfeb12a58ac1e21064841470c6fc8b9c47344cf
[ "MIT" ]
null
null
null
mini-project 1/main.py
Alireza-Abrehforoush/Mathematical-Foundations-of-Data-Science
cdfeb12a58ac1e21064841470c6fc8b9c47344cf
[ "MIT" ]
null
null
null
mini-project 1/main.py
Alireza-Abrehforoush/Mathematical-Foundations-of-Data-Science
cdfeb12a58ac1e21064841470c6fc8b9c47344cf
[ "MIT" ]
null
null
null
import os import time as tm import numpy as np import matplotlib.pyplot as plt #function to produce n normal random points in d dimensional hypersphere with radius r def generateNormalRandomPointsInHypersphere(dimension, number_of_points, radius = 1): #generate n normal random d dimensional vectors points = n...
39.685484
108
0.606178
649
4,921
4.53775
0.220339
0.036672
0.019015
0.016299
0.457385
0.393548
0.366723
0.311375
0.311375
0.311375
0
0.020138
0.263361
4,921
124
109
39.685484
0.792276
0.138387
0
0.262626
1
0
0.170285
0
0
0
0
0
0
1
0.070707
false
0
0.040404
0
0.151515
0.080808
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
e1766747d9b8c613ce576fbfc4877fead0887012
14,992
py
Python
preprocessing/postagger/hmmtagger/ngram.py
dinidininta/Semantic-Suffix-Tree-Clustering
c690c5e7b0e8d5fb333d2aa8749026da68073e5d
[ "Apache-2.0" ]
6
2018-11-15T13:22:41.000Z
2021-05-25T16:11:24.000Z
preprocessing/postagger/hmmtagger/ngram.py
dinidininta/Semantic-Suffix-Tree-Clustering
c690c5e7b0e8d5fb333d2aa8749026da68073e5d
[ "Apache-2.0" ]
1
2019-05-31T03:08:45.000Z
2019-05-31T03:08:45.000Z
preprocessing/postagger/hmmtagger/ngram.py
dinidininta/Semantic-Suffix-Tree-Clustering
c690c5e7b0e8d5fb333d2aa8749026da68073e5d
[ "Apache-2.0" ]
3
2020-11-09T09:35:28.000Z
2021-03-25T04:27:23.000Z
# package NLP_ITB.POSTagger.HMM from copy import deepcopy import re import math class WordFreq: def __init__(self, wordTagFreq={}): self.wordTagFreq = wordTagFreq def getWordTagFreq(self): #Returns Map<String, Map<Integer, Integer>> return self.wordTagFreq def readWordTagFreq(reader, ...
29.984
148
0.570237
1,520
14,992
5.551974
0.101974
0.043844
0.023226
0.013509
0.473279
0.42742
0.374926
0.356914
0.340799
0.206423
0
0.038903
0.326174
14,992
499
149
30.044088
0.796476
0.130269
0
0.33887
0
0
0.000634
0
0
0
0
0
0
1
0.189369
false
0.003322
0.009967
0.106312
0.405316
0
0
0
0
null
0
0
0
0
0
0
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
e178c1044f4894bc78329331ec180e7184d4e28b
14,423
py
Python
msdnet/network.py
pkienzle/msdnet
a4c5ac0764c282b894fbc9286000cdacc59b587a
[ "MIT" ]
null
null
null
msdnet/network.py
pkienzle/msdnet
a4c5ac0764c282b894fbc9286000cdacc59b587a
[ "MIT" ]
null
null
null
msdnet/network.py
pkienzle/msdnet
a4c5ac0764c282b894fbc9286000cdacc59b587a
[ "MIT" ]
null
null
null
#----------------------------------------------------------------------- #Copyright 2019 Centrum Wiskunde & Informatica, Amsterdam # #Author: Daniel M. Pelt #Contact: D.M.Pelt@cwi.nl #Website: http://dmpelt.github.io/msdnet/ #License: MIT # #This file is part of MSDNet, a Python implementation of the #Mixed-Scale Dense...
31.909292
128
0.546558
1,804
14,423
4.323725
0.159091
0.019744
0.009231
0.014103
0.354615
0.292051
0.235256
0.206026
0.173333
0.145385
0
0.009159
0.318727
14,423
451
129
31.980044
0.784653
0.205782
0
0.392491
0
0
0.015823
0
0
0
0
0
0
1
0.122867
false
0.061433
0.020478
0
0.177474
0
0
0
0
null
0
0
0
0
0
0
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
e18218373821e071fd2750a70364a945b24bac6e
2,236
py
Python
src/test/resources/dtest.py
Phosphorus15/ScriptIt
e2bfbb9b6ce53614086c23ed69d58c80c13132bf
[ "Apache-2.0" ]
2
2018-08-31T16:59:34.000Z
2018-08-31T17:51:35.000Z
src/test/resources/dtest.py
Phosphorus15/ScriptIt
e2bfbb9b6ce53614086c23ed69d58c80c13132bf
[ "Apache-2.0" ]
2
2018-08-31T19:17:10.000Z
2018-09-01T19:02:29.000Z
src/test/resources/dtest.py
Phosphorus15/ScriptIt
e2bfbb9b6ce53614086c23ed69d58c80c13132bf
[ "Apache-2.0" ]
null
null
null
# this is a plugin script designed for 'Naive Editor' # see /src/test/naive/editor/EditorTest.java pluginc("markleft", "MarkLeft", "1.0.0-SNAPSHOT") # markleft is really(rarely) good ! # import necessary classes from java jimport("javax.swing.JTextPane") jimport("javax.swing.JSplitPane") jimport("javax.swing.JScroll...
36.064516
97
0.723166
281
2,236
5.72242
0.469751
0.019901
0.031716
0
0
0
0
0
0
0
0
0.003741
0.163238
2,236
61
98
36.655738
0.855692
0.403846
0
0
0
0
0.119449
0.050536
0
0
0
0
0
0
null
null
0
0.114286
null
null
0.028571
0
0
0
null
0
0
0
0
0
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
e1826d08e7c86872eb7fa3d7530ee04ca90c94a9
181
py
Python
Regex/Applications/Saying Hi.py
pavstar619/HackerRank
697ee46b6e621ad884a064047461d7707b1413cd
[ "MIT" ]
61
2017-04-27T13:45:12.000Z
2022-01-27T11:40:15.000Z
Regex/Applications/Saying Hi.py
fahad0193/HackerRank
eb6c95e16688c02921c1df6b6ea613667a251457
[ "MIT" ]
1
2017-06-24T14:16:06.000Z
2017-06-24T14:16:28.000Z
Regex/Applications/Saying Hi.py
fahad0193/HackerRank
eb6c95e16688c02921c1df6b6ea613667a251457
[ "MIT" ]
78
2017-07-05T11:48:20.000Z
2022-02-08T08:04:22.000Z
import re if __name__ == '__main__': n = int(input()) r = r'^[H|h][I|i]\s[^D|d]' for _ in range(n): s = input() if re.match(r, s): print(s)
18.1
30
0.436464
30
181
2.333333
0.6
0
0
0
0
0
0
0
0
0
0
0
0.353591
181
9
31
20.111111
0.598291
0
0
0
0
0
0.149171
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
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
e184eb5305905a74f31bd9695601853fbfd7b720
1,894
py
Python
echokit/request.py
arcward/echopy
400f13906e6fa6347cbea8509130eee1588ddbae
[ "MIT" ]
9
2017-05-27T19:42:50.000Z
2018-06-22T19:07:44.000Z
echokit/request.py
arcward/echopy
400f13906e6fa6347cbea8509130eee1588ddbae
[ "MIT" ]
2
2017-10-17T20:14:06.000Z
2018-01-24T21:13:15.000Z
echokit/request.py
arcward/echopy
400f13906e6fa6347cbea8509130eee1588ddbae
[ "MIT" ]
4
2017-07-18T03:46:58.000Z
2018-01-24T20:19:14.000Z
"""Deserialization of incoming requests""" class ASKRequest(dict): """Class to deserialize and access data for incoming requests Allows access to request data via dot notation by dynamically assigning attributes. Hopefully allows more graceful handling of requests in the face of possible future reque...
34.436364
71
0.642555
241
1,894
4.958506
0.526971
0.006695
0.023431
0.011715
0.01841
0
0
0
0
0
0
0
0.290391
1,894
54
72
35.074074
0.889137
0.591869
0
0
0
0
0
0
0
0
0
0
0
1
0.210526
false
0
0
0.052632
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e18719caa0c553224c20b492576472ad3f52682e
346
py
Python
examples/readdata_from_attys.py
glasgowneuro/attys-comm
4c056be28049876d96c9b20c1e3e062949dd017d
[ "Apache-2.0" ]
3
2020-02-17T03:04:05.000Z
2022-03-23T19:48:24.000Z
examples/readdata_from_attys.py
glasgowneuro/attys-comm
4c056be28049876d96c9b20c1e3e062949dd017d
[ "Apache-2.0" ]
null
null
null
examples/readdata_from_attys.py
glasgowneuro/attys-comm
4c056be28049876d96c9b20c1e3e062949dd017d
[ "Apache-2.0" ]
1
2020-10-02T23:39:52.000Z
2020-10-02T23:39:52.000Z
#!/usr/bin/python3 import sys sys.path.append('cpp') import pyattyscomm print("Searching for Attys") s = pyattyscomm.AttysScan() s.scan() c = s.getAttysComm(0) if (c == None): print("No Attys found") quit() c.start() while True: while (not c.hasSampleAvailable()): pass sample = c.getSampleFromB...
18.210526
39
0.66185
46
346
4.978261
0.695652
0
0
0
0
0
0
0
0
0
0
0.007092
0.184971
346
18
40
19.222222
0.804965
0.049133
0
0
0
0
0.109756
0
0
0
0
0
0
1
0
false
0.0625
0.125
0
0.125
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
e18c18a12ac3d97df9e53dee4d81aac0b58759a9
3,335
py
Python
enan/data/data.py
mizuno-group/enan
3c9dbe60bebf98e384e858db56980928b5897775
[ "MIT" ]
null
null
null
enan/data/data.py
mizuno-group/enan
3c9dbe60bebf98e384e858db56980928b5897775
[ "MIT" ]
null
null
null
enan/data/data.py
mizuno-group/enan
3c9dbe60bebf98e384e858db56980928b5897775
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Sep 23 13:05:34 2019 Data class Analyzer o-- DataControl *-- Data @author: tadahaya """ import pandas as pd import numpy as np from .adjuster import * __all__ = ["Data","SeqData","SetData","SetTSData","VectorData"] # abstract class class Data(): de...
27.113821
85
0.552924
398
3,335
4.472362
0.208543
0.107865
0.060674
0.039326
0.616854
0.568539
0.538202
0.489326
0.460112
0.460112
0
0.006079
0.309445
3,335
123
86
27.113821
0.766826
0.191304
0
0.522388
0
0
0.082181
0
0
0
0
0
0
1
0.268657
false
0
0.044776
0
0.41791
0
0
0
0
null
0
0
0
0
0
0
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
e18f4c121cc685bf493a9aba48c2eccdb5b1100c
688
py
Python
apps/workspaces/migrations/0018_workspacegeneralsettings_charts_of_accounts.py
fylein/fyle-qbo-api
627339ddbab37cafc8aa419a757d826759d86778
[ "MIT" ]
null
null
null
apps/workspaces/migrations/0018_workspacegeneralsettings_charts_of_accounts.py
fylein/fyle-qbo-api
627339ddbab37cafc8aa419a757d826759d86778
[ "MIT" ]
22
2020-01-03T11:00:00.000Z
2022-03-22T11:12:35.000Z
apps/workspaces/migrations/0018_workspacegeneralsettings_charts_of_accounts.py
fylein/fyle-qbo-api
627339ddbab37cafc8aa419a757d826759d86778
[ "MIT" ]
3
2020-03-09T12:56:31.000Z
2020-06-10T07:55:47.000Z
# Generated by Django 3.0.3 on 2021-12-01 07:38 import apps.workspaces.models import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('workspaces', '0017_workspace_cluster_domain'), ] operations = [ migratio...
32.761905
247
0.71657
84
688
5.714286
0.690476
0.058333
0.083333
0.1125
0
0
0
0
0
0
0
0.039286
0.186047
688
20
248
34.4
0.817857
0.065407
0
0
1
0
0.212168
0.082683
0
0
0
0
0
1
0
false
0
0.285714
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e1904350645abdd7b4aa54754ecb9c33024f3612
1,144
py
Python
com_blacktensor/cop/sto/model/stock_dao.py
Jelly6489/Stock-Proj
3e7b1ad5cddc5b142f0069e024199fe969c7c7e8
[ "MIT" ]
null
null
null
com_blacktensor/cop/sto/model/stock_dao.py
Jelly6489/Stock-Proj
3e7b1ad5cddc5b142f0069e024199fe969c7c7e8
[ "MIT" ]
null
null
null
com_blacktensor/cop/sto/model/stock_dao.py
Jelly6489/Stock-Proj
3e7b1ad5cddc5b142f0069e024199fe969c7c7e8
[ "MIT" ]
2
2020-11-13T08:11:04.000Z
2020-11-14T05:32:09.000Z
import csv import pandas as pd # # from sqlalchemy import create_engine from com_blacktensor.ext.db import db, openSession, engine from sqlalchemy import func # from com_blacktensor.ext.routes import Resource from com_blacktensor.cop.sto.model.stock_kdd import StockKdd from com_blacktensor.cop.sto.model.stock_dto impo...
26.604651
77
0.706294
147
1,144
5.360544
0.408163
0.053299
0.137056
0.106599
0.129442
0.129442
0.129442
0
0
0
0
0
0.197552
1,144
42
78
27.238095
0.858388
0.101399
0
0.225806
0
0
0.022527
0
0
0
0
0
0
1
0.16129
false
0
0.258065
0.064516
0.516129
0.032258
0
0
0
null
0
0
0
0
0
0
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
e1951a2350b6744ab870931933039ebd7de7c4e8
1,756
py
Python
screenpy/actions/see_any_of.py
MohamedRaslan/screenpy
94be7caa444ae7ac8a4ac403cd93ad92108237fe
[ "MIT" ]
null
null
null
screenpy/actions/see_any_of.py
MohamedRaslan/screenpy
94be7caa444ae7ac8a4ac403cd93ad92108237fe
[ "MIT" ]
null
null
null
screenpy/actions/see_any_of.py
MohamedRaslan/screenpy
94be7caa444ae7ac8a4ac403cd93ad92108237fe
[ "MIT" ]
1
2021-05-18T02:48:18.000Z
2021-05-18T02:48:18.000Z
""" Make several assertions using any number of Question and Resolution tuples, at least one of which is expected to be true. """ from typing import Tuple from screenpy import Actor from screenpy.pacing import beat from screenpy.protocols import Answerable from screenpy.resolutions import BaseResolution from .see im...
31.357143
83
0.617312
199
1,756
5.346734
0.442211
0.045113
0.045113
0.070489
0
0
0
0
0
0
0
0.003172
0.281891
1,756
55
84
31.927273
0.840603
0.388383
0
0
0
0
0.121242
0
0
0
0
0
0.083333
1
0.125
false
0.166667
0.25
0
0.458333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e196d2c955d56aefafc256bcc2075b59997e1446
21,206
py
Python
tests/dht/testNode.py
sonatagreen/lbry
f6473e3383956b7823a76516622bba6c172619e1
[ "BSD-2-Clause" ]
null
null
null
tests/dht/testNode.py
sonatagreen/lbry
f6473e3383956b7823a76516622bba6c172619e1
[ "BSD-2-Clause" ]
null
null
null
tests/dht/testNode.py
sonatagreen/lbry
f6473e3383956b7823a76516622bba6c172619e1
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # # This library is free software, distributed under the terms of # the GNU Lesser General Public License Version 3, or any later version. # See the COPYING file included in this archive import hashlib import unittest import struct import lbrynet.dht.node import lbrynet.dht.constants import lbry...
45.801296
215
0.567905
2,290
21,206
5.217904
0.187336
0.107457
0.029375
0.024102
0.424889
0.331325
0.25341
0.236421
0.220018
0.182777
0
0.02912
0.315005
21,206
462
216
45.900433
0.793474
0.432613
0
0.192771
0
0
0.068372
0
0
0
0
0
0
0
null
null
0
0.066265
null
null
0.018072
0
0
0
null
0
0
0
0
0
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
e1a019413bede0bfe0b4b6a7bae20f8d7a33cdb9
7,535
py
Python
torchspde/neural_spde.py
crispitagorico/Neural-SPDEs
99bab12cfecd626863b7f6d3eab879b3fd54e0f1
[ "Apache-2.0" ]
6
2021-12-23T09:26:10.000Z
2022-02-16T08:24:23.000Z
torchspde/neural_spde.py
dungxibo123/Neural-SPDEs
99bab12cfecd626863b7f6d3eab879b3fd54e0f1
[ "Apache-2.0" ]
null
null
null
torchspde/neural_spde.py
dungxibo123/Neural-SPDEs
99bab12cfecd626863b7f6d3eab879b3fd54e0f1
[ "Apache-2.0" ]
2
2022-02-16T08:20:23.000Z
2022-03-31T08:54:59.000Z
import torch import torch.nn as nn import torch.nn.functional as F from .fixed_point_solver import NeuralFixedPoint from .root_find_solver import NeuralRootFind from .diffeq_solver import DiffeqSolver class SPDEFunc0d(torch.nn.Module): """ Modelling local operators F and G in (latent) SPDE (d_t - L)u = F(u)dt + G...
39.244792
150
0.625083
1,060
7,535
4.267925
0.143396
0.136163
0.097259
0.074271
0.642131
0.593501
0.519231
0.506631
0.426393
0.411362
0
0.025909
0.252157
7,535
192
151
39.244792
0.77693
0.261314
0
0.35
0
0
0.061473
0
0
0
0
0.015625
0.0625
1
0.1
false
0
0.075
0
0.275
0
0
0
0
null
0
0
0
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
e1a2e30abf560d01bff45dd61087b5cc64d87cc0
5,493
py
Python
trestle/core/markdown/md_writer.py
PritamDutt/compliance-trestle
7edadde2bd2949e73a085bd78ef57995250fc9cb
[ "Apache-2.0" ]
null
null
null
trestle/core/markdown/md_writer.py
PritamDutt/compliance-trestle
7edadde2bd2949e73a085bd78ef57995250fc9cb
[ "Apache-2.0" ]
null
null
null
trestle/core/markdown/md_writer.py
PritamDutt/compliance-trestle
7edadde2bd2949e73a085bd78ef57995250fc9cb
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2020 IBM Corp. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
34.765823
98
0.596942
733
5,493
4.260573
0.264666
0.038104
0.040986
0.030419
0.15594
0.097022
0.04611
0.04611
0.028178
0.028178
0
0.005619
0.287275
5,493
157
99
34.987261
0.792082
0.237393
0
0.126316
0
0
0.04132
0
0.021053
0
0
0
0
1
0.210526
false
0
0.063158
0.021053
0.357895
0
0
0
0
null
0
0
0
0
0
0
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
e1a75b6d1b99fc07a889089c9a11e74c7a4549c8
2,632
py
Python
samples/cpp/learnopencv-master/learnopencv-master/ImageAlignment/image_alignment.py
yptheangel/Gymmy
df4b8a13544d1835e361fff8eaa7d420dd389e58
[ "BSD-3-Clause" ]
3
2018-06-22T07:55:51.000Z
2021-06-21T19:18:16.000Z
samples/cpp/learnopencv-master/learnopencv-master/ImageAlignment/image_alignment.py
yptheangel/Gymmy
df4b8a13544d1835e361fff8eaa7d420dd389e58
[ "BSD-3-Clause" ]
null
null
null
samples/cpp/learnopencv-master/learnopencv-master/ImageAlignment/image_alignment.py
yptheangel/Gymmy
df4b8a13544d1835e361fff8eaa7d420dd389e58
[ "BSD-3-Clause" ]
1
2020-11-04T04:56:50.000Z
2020-11-04T04:56:50.000Z
#!/usr/bin/python ''' OpenCV Image Alignment Example Copyright 2015 by Satya Mallick <spmallick@learnopencv.com> ''' import cv2 import numpy as np def get_gradient(im) : # Calculate the x and y gradients using Sobel operator grad_x = cv2.Sobel(im,cv2.CV_32F,1,0,ksize=3) grad_y = cv2.So...
33.74359
145
0.652356
393
2,632
4.229008
0.366412
0.033694
0.019254
0.030686
0.303851
0.200963
0.115523
0.115523
0.078219
0.078219
0
0.036725
0.234422
2,632
77
146
34.181818
0.788089
0.285334
0
0.117647
0
0
0.026934
0
0
0
0
0
0
0
null
null
0
0.058824
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
e1ab538a2d0f578593e38bb38db24e57365e8c3a
4,862
py
Python
vpn_count.py
byronicle/OpenVPN_Tools
cb91eec6efb75e7736460eeadaed5f71392e9c61
[ "MIT" ]
null
null
null
vpn_count.py
byronicle/OpenVPN_Tools
cb91eec6efb75e7736460eeadaed5f71392e9c61
[ "MIT" ]
null
null
null
vpn_count.py
byronicle/OpenVPN_Tools
cb91eec6efb75e7736460eeadaed5f71392e9c61
[ "MIT" ]
null
null
null
# Import regular expressions import re # Import sys module for taking in arguemnts to program import sys # Import pygal for graphing statistics import pygal # Import datetime for dating files import datetime # Print count of VPN logins by sorted username def print_login_counts(filename): logins = vpn_logins(fi...
27.942529
123
0.677293
722
4,862
4.368421
0.214681
0.074192
0.045339
0.031706
0.343691
0.231452
0.167406
0.139505
0.139505
0.139505
0
0.009714
0.216578
4,862
173
124
28.104046
0.818325
0.134924
0
0.242991
0
0.018692
0.194796
0.037957
0
0
0
0
0
0
null
null
0.018692
0.037383
null
null
0.186916
0
0
0
null
0
0
0
0
0
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
e1ad988b66f0448b279aa457d4880a34f1eb1c48
1,851
py
Python
girder_webhooks/__init__.py
girder/girder_webhooks
c4e7b5773ef09d4ef5e913ffad35a0f103e15563
[ "Apache-2.0" ]
null
null
null
girder_webhooks/__init__.py
girder/girder_webhooks
c4e7b5773ef09d4ef5e913ffad35a0f103e15563
[ "Apache-2.0" ]
null
null
null
girder_webhooks/__init__.py
girder/girder_webhooks
c4e7b5773ef09d4ef5e913ffad35a0f103e15563
[ "Apache-2.0" ]
null
null
null
import functools import hashlib import hmac import json import jsonschema import requests import uuid from girder import events from girder.exceptions import ValidationException from girder.models.setting import Setting from girder.plugin import GirderPlugin from girder.api.rest import getApiUrl from girder.utility imp...
26.442857
93
0.599136
191
1,851
5.743456
0.481675
0.054695
0
0
0
0
0
0
0
0
0
0.0059
0.267423
1,851
69
94
26.826087
0.803097
0.047002
0
0.052632
0
0
0.142452
0
0
0
0
0.014493
0
1
0.052632
false
0
0.22807
0
0.315789
0
0
0
0
null
0
0
0
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
e1b3cebcdddb4e1de73dd60f969c0e93e40af535
1,485
py
Python
yewdoc/cmd/register.py
paul-wolf/yewdoc-client
590c78cd13001b105526f801ea52ee348ea14906
[ "BSD-3-Clause" ]
8
2017-01-31T12:50:06.000Z
2019-08-04T10:44:44.000Z
yewdoc/cmd/register.py
paul-wolf/yewdoc-client
590c78cd13001b105526f801ea52ee348ea14906
[ "BSD-3-Clause" ]
5
2017-01-31T17:26:11.000Z
2017-02-06T09:22:23.000Z
yewdoc/cmd/register.py
paul-wolf/yewdoc-client
590c78cd13001b105526f801ea52ee348ea14906
[ "BSD-3-Clause" ]
3
2017-01-31T17:13:25.000Z
2017-02-14T03:05:33.000Z
import sys import os import json import click from strgen import StringGenerator as SG from .. import shared from .configure import _configure @shared.cli.command() @click.pass_context def register(ctx): """Try to setup a new user account on remote.""" yew = ctx.obj["YEW"] # first make sure we are confi...
30.306122
78
0.644444
202
1,485
4.613861
0.430693
0.042918
0.069742
0.123391
0.175966
0.175966
0.175966
0.175966
0.092275
0
0
0.005268
0.232997
1,485
48
79
30.9375
0.812994
0.085522
0
0
0
0
0.212435
0.090303
0
0
0
0
0
1
0.025641
false
0.102564
0.179487
0
0.205128
0
0
0
0
null
0
0
0
0
0
0
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
e1b46f5014c8bd11c037530baedb35b20b2188cd
140,093
py
Python
spydr/webdriver.py
aaronchen/spydr
60b6740a0a6737635a0405ce6bc0f88a096216ad
[ "MIT" ]
2
2021-04-19T00:16:33.000Z
2021-04-20T09:39:54.000Z
spydr/webdriver.py
aaronchen/spydr
60b6740a0a6737635a0405ce6bc0f88a096216ad
[ "MIT" ]
null
null
null
spydr/webdriver.py
aaronchen/spydr
60b6740a0a6737635a0405ce6bc0f88a096216ad
[ "MIT" ]
1
2021-04-20T09:40:11.000Z
2021-04-20T09:40:11.000Z
import base64 import inspect import json import logging import os import platform import re import string import urllib.parse import zipfile from datetime import datetime, timedelta from dateutil import tz from functools import wraps from io import BytesIO from selenium import webdriver from selenium.common.exceptions...
34.788428
147
0.612015
16,513
140,093
5.058863
0.054381
0.033398
0.015083
0.02442
0.580473
0.515305
0.459018
0.418258
0.380861
0.348528
0
0.004071
0.293291
140,093
4,026
148
34.797069
0.839695
0.38094
0
0.223022
0
0.00327
0.133616
0.044244
0
0
0
0
0
1
0.219751
false
0.013734
0.023545
0.007194
0.40811
0
0
0
0
null
0
0
0
0
0
0
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
e1b7bb8be128ddbd82b5432d9ee8750ebe989e10
1,149
py
Python
tests/bisque/test_dome.py
ASTROGBAE/POCS
ddbc716ba375be92c7af1c8ebd536f9cdbc899da
[ "MIT" ]
69
2015-08-27T01:17:26.000Z
2022-01-05T19:11:09.000Z
tests/bisque/test_dome.py
ASTROGBAE/POCS
ddbc716ba375be92c7af1c8ebd536f9cdbc899da
[ "MIT" ]
1,094
2016-01-19T18:18:06.000Z
2022-03-17T04:28:38.000Z
tests/bisque/test_dome.py
ASTROGBAE/POCS
ddbc716ba375be92c7af1c8ebd536f9cdbc899da
[ "MIT" ]
65
2015-08-27T01:17:28.000Z
2021-02-24T04:12:03.000Z
import os import pytest from panoptes.pocs.dome.bisque import Dome from panoptes.pocs.utils.theskyx import TheSkyX pytestmark = pytest.mark.skipif(TheSkyX().is_connected is False, reason="TheSkyX is not connected") @pytest.fixture(scope="function") def dome(config): try: del os.environ['POCSTIME'] e...
21.679245
99
0.70322
162
1,149
4.876543
0.283951
0.177215
0.106329
0.141772
0.364557
0.334177
0.263291
0
0
0
0
0
0.203655
1,149
52
100
22.096154
0.863388
0
0
0.166667
0
0
0.052219
0
0
0
0
0
0.472222
1
0.138889
false
0.027778
0.111111
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
1
0
0
0
0
0
0
0
0
0
1
e1bb5a1a09440191d335eaf484076e74f059c1a7
2,692
py
Python
src/paloma/management/commands/__init__.py
hdknr/paloma
79560fd8373ff09482929d1e73097e6549e4d962
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/paloma/management/commands/__init__.py
hdknr/paloma
79560fd8373ff09482929d1e73097e6549e4d962
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/paloma/management/commands/__init__.py
hdknr/paloma
79560fd8373ff09482929d1e73097e6549e4d962
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
# -*- coding: utf-8 -*- from django.core.management.base import BaseCommand from optparse import make_option import sys class GenericCommand(BaseCommand): ''' paloma postfix management ''' args = '' help = '' model = None option_list = BaseCommand.option_list + ( make_option( ...
24.252252
79
0.47214
260
2,692
4.811538
0.361538
0.071942
0.071942
0.038369
0
0
0
0
0
0
0
0.003679
0.394131
2,692
110
80
24.472727
0.763335
0.007801
0
0.228916
0
0
0.175234
0
0
0
0
0
0
0
null
null
0
0.048193
null
null
0.060241
0
0
0
null
0
0
0
0
0
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
e1bf8e4980eca6e53e04398f5816601424fab4a4
4,140
py
Python
tests/test_metrics/test_pages_created.py
wikimedia/analytics-wikimetrics
1d2036657b06ccd16ecfc76edd3f9a6119ff75f4
[ "MIT" ]
6
2015-01-28T05:59:08.000Z
2018-01-09T07:48:57.000Z
tests/test_metrics/test_pages_created.py
wikimedia/analytics-wikimetrics
1d2036657b06ccd16ecfc76edd3f9a6119ff75f4
[ "MIT" ]
2
2020-05-09T16:36:43.000Z
2020-05-09T16:52:35.000Z
tests/test_metrics/test_pages_created.py
wikimedia/analytics-wikimetrics
1d2036657b06ccd16ecfc76edd3f9a6119ff75f4
[ "MIT" ]
1
2016-01-13T07:19:44.000Z
2016-01-13T07:19:44.000Z
from nose.tools import assert_true, assert_not_equal, assert_equal from tests.fixtures import DatabaseTest from wikimetrics.metrics import PagesCreated class PagesCreatedTest(DatabaseTest): def setUp(self): DatabaseTest.setUp(self) self.common_cohort_4() # Evan has 3 pages created, one in na...
38.333333
85
0.661111
577
4,140
4.485269
0.218371
0.037094
0.027821
0.085008
0.742272
0.702473
0.605487
0.559892
0.512751
0.47643
0
0.076365
0.234541
4,140
107
86
38.691589
0.740297
0.115217
0
0.493827
0
0
0.098002
0
0
0
0
0.009346
0.160494
1
0.160494
false
0
0.037037
0
0.209877
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
e1c08204a6f86bda712a39f841d83bbd8e105558
3,430
py
Python
constants.py
dmcinerney/c-swm
8de4a38a906de0f2f53b6e937b7b4a0b6b6a545a
[ "MIT" ]
null
null
null
constants.py
dmcinerney/c-swm
8de4a38a906de0f2f53b6e937b7b4a0b6b6a545a
[ "MIT" ]
null
null
null
constants.py
dmcinerney/c-swm
8de4a38a906de0f2f53b6e937b7b4a0b6b6a545a
[ "MIT" ]
null
null
null
from collections import namedtuple from enum import Enum constants = [ "STATES", "STATE_LABELS", "ACTIONS", "REWARDS", "QS", "NEXT_STATES", "NEXT_STATE_LABELS", "COMMAND", "NUM_EXP", "TIMESTAMP", "INPUT_SIZE", "NEURONS", "USE_BATCH_NORM", "USE_LAYER_NORM", "ACTIVATION_LAST", "NUM_COMPONENTS", "NUM_ACTIONS...
72.978723
110
0.726822
443
3,430
5.112867
0.444695
0.021192
0.007947
0
0
0
0
0
0
0
0
0
0.104665
3,430
46
111
74.565217
0.737545
0.008163
0
0
0
0
0.690588
0.093235
0
0
0
0
0.02439
1
0
false
0
0.04878
0
0.04878
0
0
0
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
e1c26cd6fab3d7bf1a8025018ca7284084351961
290
py
Python
setup.py
Diego-Ibarra/aquamod
17e2ab3b2555a9551154f2f130a39db0cdf17124
[ "MIT" ]
2
2019-04-02T16:20:13.000Z
2021-02-25T03:25:14.000Z
setup.py
Diego-Ibarra/aquamod
17e2ab3b2555a9551154f2f130a39db0cdf17124
[ "MIT" ]
null
null
null
setup.py
Diego-Ibarra/aquamod
17e2ab3b2555a9551154f2f130a39db0cdf17124
[ "MIT" ]
1
2019-04-02T16:21:17.000Z
2019-04-02T16:21:17.000Z
""" Good place to read about packaging: https://python-packaging-user-guide.readthedocs.org/en/latest/distributing.html """ from setuptools import setup, find_packages setup(name='ODIN', version='1.0', packages=find_packages(), install_requires=['numpy==1.11.1'] )
24.166667
79
0.696552
38
290
5.236842
0.815789
0.120603
0
0
0
0
0
0
0
0
0
0.02439
0.151724
290
12
80
24.166667
0.784553
0.396552
0
0
0
0
0.119048
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
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
e1c3ea3e64920f3441abc66bfe65193c969df22b
301
py
Python
portfolio/admin.py
star-2021/python
4949381b3cc378dbbcc6b0c18bd196d71c50d5c5
[ "MIT" ]
null
null
null
portfolio/admin.py
star-2021/python
4949381b3cc378dbbcc6b0c18bd196d71c50d5c5
[ "MIT" ]
null
null
null
portfolio/admin.py
star-2021/python
4949381b3cc378dbbcc6b0c18bd196d71c50d5c5
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Project # Register your models here. #mostrar los campos que son solo de lectura en admin al crear un proyecto class ProjectAdmin(admin.ModelAdmin): readonly_fields = ("created", "updated") admin.site.register(Project, ProjectAdmin)
30.1
74
0.760797
40
301
5.7
0.775
0
0
0
0
0
0
0
0
0
0
0
0.166113
301
10
75
30.1
0.908367
0.325581
0
0
0
0
0.072917
0
0
0
0
0
0
1
0
false
0
0.4
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
1
0
0
0
0
1
e1c41ba20a5997de2e54fcc8c30522ff06900759
14,475
py
Python
VNA/python/plotImpedance.py
johnlierz/eLink_Instrumentation
0832025d72c70d35f5588bc9640e39cbac7e4b5f
[ "CC0-1.0" ]
null
null
null
VNA/python/plotImpedance.py
johnlierz/eLink_Instrumentation
0832025d72c70d35f5588bc9640e39cbac7e4b5f
[ "CC0-1.0" ]
2
2021-02-10T20:42:51.000Z
2021-05-23T02:00:41.000Z
VNA/python/plotImpedance.py
johnlierz/eLink_Instrumentation
0832025d72c70d35f5588bc9640e39cbac7e4b5f
[ "CC0-1.0" ]
2
2021-04-21T22:26:54.000Z
2021-06-16T19:56:03.000Z
#!/usr/bin/env python3 from itertools import islice import sys, re, os import numpy as np import statistics import skrf as rf #print(rf.__version__) #print(.__version__) #rf.stylely() import pylab import pandas as pd from matplotlib import pyplot as plt from matplotlib.ticker import AutoMinorLocator from matplotlib i...
49.067797
122
0.627979
2,426
14,475
3.493405
0.129431
0.033982
0.042478
0.053805
0.727198
0.707611
0.656755
0.586313
0.536637
0.488496
0
0.093291
0.190604
14,475
294
123
49.234694
0.630079
0.213126
0
0.270115
0
0
0.19103
0.05
0
0
0
0
0
1
0.017241
false
0
0.063218
0.005747
0.086207
0.011494
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
e1c95182fe4502edf72cb2dd40a49c721b44569f
1,126
py
Python
armitage/armitageApp/filters/controller/filterController.py
sudoFerraz/armitage
303a5aca64ace9bacd10acabb0ba1d9b99c678ac
[ "CC0-1.0" ]
null
null
null
armitage/armitageApp/filters/controller/filterController.py
sudoFerraz/armitage
303a5aca64ace9bacd10acabb0ba1d9b99c678ac
[ "CC0-1.0" ]
null
null
null
armitage/armitageApp/filters/controller/filterController.py
sudoFerraz/armitage
303a5aca64ace9bacd10acabb0ba1d9b99c678ac
[ "CC0-1.0" ]
null
null
null
from flask import Blueprint from .. service import filterService as filterService from flask_cors import CORS, cross_origin from flask import request import json from flask_api import status from flask import abort filter = Blueprint('filter', __name__) def wrapValidAnswer(answer): content = json.dumps({"content"...
30.432432
81
0.719361
128
1,126
6.195313
0.390625
0.056747
0.056747
0.087011
0.108449
0.108449
0.108449
0.108449
0
0
0
0.012712
0.161634
1,126
36
82
31.277778
0.827331
0
0
0.133333
0
0
0.094139
0
0
0
0
0
0
0
null
null
0
0.233333
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e1cc3eba126cd7db11ae986321b52500e420ca1d
8,257
py
Python
bin/pannzer/XMLParser.py
nestorzaburannyi/annotate
e175226504efef811d4ac3914f2ab342968edf98
[ "MIT" ]
1
2021-11-26T17:29:56.000Z
2021-11-26T17:29:56.000Z
bin/pannzer/XMLParser.py
nestorzaburannyi/annotate
e175226504efef811d4ac3914f2ab342968edf98
[ "MIT" ]
1
2020-03-19T21:12:23.000Z
2020-03-19T21:12:23.000Z
bin/pannzer/XMLParser.py
nestorzaburannyi/annotate
e175226504efef811d4ac3914f2ab342968edf98
[ "MIT" ]
null
null
null
from __future__ import print_function # SANS tags: # QUERY nid= vote_cutoff= LSEQ= # SBJCT VOTE= TUPS= PIDE= LALI= BITS= EVALUE= DIAG= LSEQ= # computed: # qpid, spid # qcov,scov = LALI/LSEQ # desc, species, gene # rank # qseq, seq import re,sys class XMLParser: def __init...
47.182857
180
0.371442
792
8,257
3.828283
0.188131
0.01847
0.027704
0.023087
0.203166
0.189314
0.153034
0.086412
0.052111
0.019129
0
0.020383
0.506843
8,257
174
181
47.454023
0.724214
0.119051
0
0.244755
0
0
0.050311
0
0
0
0
0
0
1
0.027972
false
0
0.013986
0
0.048951
0.027972
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
e1cd2df1a4bb008de0185b9d6b643241eb07b3df
410
py
Python
script.py
Akashvbf/Unlimited-Filter-Bot
8e42721e3b149d48d1c73664de6ce1eed3d68884
[ "MIT" ]
null
null
null
script.py
Akashvbf/Unlimited-Filter-Bot
8e42721e3b149d48d1c73664de6ce1eed3d68884
[ "MIT" ]
null
null
null
script.py
Akashvbf/Unlimited-Filter-Bot
8e42721e3b149d48d1c73664de6ce1eed3d68884
[ "MIT" ]
null
null
null
class Script(object): START_MSG = """🌐[Share and Support](https://t.me/share/url?url=https://t.me/Tamil_RockersGroup)🌐 """ HELP_MSG = """ NO GONNE HELP U BRO/SIS """ ABOUT_MSG = """⭕️<b>My Name : MT Unlimited Filter Bot</b> ⭕️<b>Creater :</b> <b>@geronimo1234</b> ⭕️<b>Language :</b> <code>Pytho...
19.52381
100
0.592683
69
410
3.608696
0.637681
0.048193
0.064257
0
0
0
0
0
0
0
0
0.023121
0.156098
410
20
101
20.5
0.66763
0
0
0.272727
0
0.181818
0.768293
0
0
0
0
0
0
1
0
false
0
0
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bece2b69b7cc5a3a330a4641119870ef4db2c407
1,196
py
Python
tests/func/test_unprotect.py
itcarroll/dvc
55219e9089005ac15d668ecf735aeaf31a771d0b
[ "Apache-2.0" ]
1
2022-03-16T13:27:40.000Z
2022-03-16T13:27:40.000Z
tests/func/test_unprotect.py
itcarroll/dvc
55219e9089005ac15d668ecf735aeaf31a771d0b
[ "Apache-2.0" ]
41
2021-11-16T15:38:50.000Z
2022-03-30T10:32:14.000Z
tests/func/test_unprotect.py
jhhuh/dvc
fecc81e951efeaa8130264f726c27e92876422ae
[ "Apache-2.0" ]
null
null
null
import os from dvc.cli import main from tests.basic_env import TestDvc class TestUnprotect(TestDvc): def test(self): ret = main(["config", "cache.type", "hardlink"]) self.assertEqual(ret, 0) ret = main(["add", self.FOO]) self.assertEqual(ret, 0) cache = os.path.join( ...
31.473684
79
0.593645
161
1,196
4.372671
0.484472
0.056818
0.035511
0.107955
0.302557
0.269886
0.196023
0.139205
0
0
0
0.018735
0.285953
1,196
37
80
32.324324
0.805621
0.234114
0
0.272727
0
0
0.093407
0.032967
0
0
0
0
0.409091
1
0.045455
false
0
0.136364
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
1
0
0
0
0
0
0
0
0
0
1
bed36def9fa874a42de1547db8083c0c73084927
2,013
py
Python
tests/register.py
dotskapes/dotSkapes
50228926f42a9c3bbc050b08922342a83a974755
[ "MIT" ]
1
2016-01-01T12:22:48.000Z
2016-01-01T12:22:48.000Z
tests/register.py
dineshkummarc/SahanaEden
e3c35de9a7540739287c0c57092befe6d3cda50a
[ "MIT" ]
1
2016-03-11T06:05:39.000Z
2016-03-11T06:05:39.000Z
tests/register.py
dineshkummarc/SahanaEden
e3c35de9a7540739287c0c57092befe6d3cda50a
[ "MIT" ]
1
2020-04-29T13:58:31.000Z
2020-04-29T13:58:31.000Z
from selenium import selenium import unittest, time, re import seleniumtest class NewTest(unittest.TestCase): def setUp(self): self.verificationErrors = [] self.selenium = selenium("localhost", 4444, "*chrome", "http://127.0.0.1:8000/") self.selenium.start() def test_new(self): ...
38.711538
90
0.624938
241
2,013
5.012448
0.327801
0.039735
0.041391
0.057947
0.525662
0.525662
0.525662
0.484272
0.245033
0.245033
0
0.030593
0.220566
2,013
52
91
38.711538
0.739324
0.066567
0
0.341463
0
0
0.219134
0.059327
0
0
0
0
0.097561
0
null
null
0.04878
0.073171
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
bedbfc50330c5afec8cc855630b45a0b85443c0a
1,462
py
Python
app/pizzas/migrations/0001_initial.py
jmorakuebler/tdp-pizza-api
3920919701d41cf75296e1081cf4defb85fad468
[ "MIT" ]
null
null
null
app/pizzas/migrations/0001_initial.py
jmorakuebler/tdp-pizza-api
3920919701d41cf75296e1081cf4defb85fad468
[ "MIT" ]
null
null
null
app/pizzas/migrations/0001_initial.py
jmorakuebler/tdp-pizza-api
3920919701d41cf75296e1081cf4defb85fad468
[ "MIT" ]
null
null
null
# Generated by Django 2.2.17 on 2020-12-21 01:01 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Ingredient', fields=[ ('id', models.AutoFi...
35.658537
132
0.549248
133
1,462
5.879699
0.481203
0.154731
0.061381
0.058824
0.324808
0.324808
0.324808
0.324808
0.324808
0.324808
0
0.022682
0.30643
1,462
40
133
36.55
0.748521
0.031464
0
0.424242
1
0
0.161952
0
0
0
0
0
0
1
0
false
0
0.030303
0
0.151515
0
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
bee0f1d32d396a72a4690e1ae030d2ebf437c8b8
1,006
py
Python
Blueberry.Server.Python/FakeCameraController.py
ppedro74/BlueberryServer
bc1e3f1e5cabd8dbb51ec54c2631f49325b9ff2b
[ "MIT" ]
null
null
null
Blueberry.Server.Python/FakeCameraController.py
ppedro74/BlueberryServer
bc1e3f1e5cabd8dbb51ec54c2631f49325b9ff2b
[ "MIT" ]
1
2021-06-10T10:36:15.000Z
2021-06-10T10:36:15.000Z
Blueberry.Server.Python/FakeCameraController.py
ppedro74/BlueberryServer
bc1e3f1e5cabd8dbb51ec54c2631f49325b9ff2b
[ "MIT" ]
null
null
null
import sys import threading import logging import os import io import datetime import time import CameraController import PIL.Image import PIL.ImageDraw class FakeCameraController(CameraController.CameraController): def __init__(self, server, resolution, framerate, log_level): super().__init__("FakeCameraC...
33.533333
90
0.651093
120
1,006
5.291667
0.483333
0.04252
0.07874
0.088189
0.103937
0
0
0
0
0
0
0.034121
0.242545
1,006
29
91
34.689655
0.799213
0
0
0
0
0
0.035785
0
0
0
0
0
0
1
0.074074
false
0
0.37037
0
0.481481
0
0
0
0
null
0
0
0
0
0
0
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
bee4f045449b00ad862c7be425c2eb063d45e5ac
377
py
Python
model_eval/utils.py
Pandinosaurus/detoxify
0cccd5992fe4e6c5f06052858e51f4da363c28f7
[ "Apache-2.0" ]
1
2022-01-15T03:38:26.000Z
2022-01-15T03:38:26.000Z
model_eval/utils.py
Aarav-USA/detoxify
52f623bc7dd5182686a402a2b2fab48289de2d9c
[ "Apache-2.0" ]
null
null
null
model_eval/utils.py
Aarav-USA/detoxify
52f623bc7dd5182686a402a2b2fab48289de2d9c
[ "Apache-2.0" ]
1
2021-12-11T15:45:59.000Z
2021-12-11T15:45:59.000Z
import numpy as np from sklearn.metrics import roc_auc_score def compute_auc(y_true, y_pred): try: return roc_auc_score(y_true, y_pred) except ValueError: return np.nan def compute_subgroup_auc(df, subgroup, label, model_name): subgroup_examples = df[df[subgroup]] return compute_auc(...
25.133333
79
0.748011
56
377
4.732143
0.464286
0.181132
0.083019
0.075472
0
0
0
0
0
0
0
0
0.175066
377
14
80
26.928571
0.85209
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bee5a1112dbc5a2f822a33a1530f269c4b55f347
59,513
py
Python
packages/python/plotly/plotly/graph_objs/indicator/__init__.py
potpath/plotly.py
46cd47f441d8bda9b14b4ba66a33f02731faf8f0
[ "MIT" ]
1
2020-04-06T20:57:36.000Z
2020-04-06T20:57:36.000Z
packages/python/plotly/plotly/graph_objs/indicator/__init__.py
potpath/plotly.py
46cd47f441d8bda9b14b4ba66a33f02731faf8f0
[ "MIT" ]
null
null
null
packages/python/plotly/plotly/graph_objs/indicator/__init__.py
potpath/plotly.py
46cd47f441d8bda9b14b4ba66a33f02731faf8f0
[ "MIT" ]
null
null
null
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType import copy as _copy class Title(_BaseTraceHierarchyType): # align # ----- @property def align(self): """ Sets the horizontal alignment of the title. It defaults to `center` except for bullet ch...
33.69932
87
0.537899
6,383
59,513
4.95535
0.10904
0.014164
0.019918
0.031868
0.712804
0.686848
0.671261
0.656813
0.632659
0.627664
0
0.008671
0.366323
59,513
1,765
88
33.718414
0.830054
0.529447
0
0.398887
0
0
0.234021
0.021011
0
0
0
0
0
1
0.141002
false
0
0.040816
0.022263
0.269017
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bef46aafc4c5f1aeb157c0bf76c91c2c17a487a5
752
py
Python
ms2ldaviz/basicviz/migrations/0091_auto_20200617_2136.py
sdrogers/ms2ldaviz
ba311bc80891da595d2d6cef4abda95ab583c201
[ "MIT" ]
6
2017-10-27T02:37:55.000Z
2020-11-07T15:43:57.000Z
ms2ldaviz/basicviz/migrations/0091_auto_20200617_2136.py
sdrogers/ms2ldaviz
ba311bc80891da595d2d6cef4abda95ab583c201
[ "MIT" ]
134
2016-07-20T08:35:34.000Z
2020-07-22T13:51:49.000Z
ms2ldaviz/basicviz/migrations/0091_auto_20200617_2136.py
sdrogers/ms2ldaviz
ba311bc80891da595d2d6cef4abda95ab583c201
[ "MIT" ]
9
2016-07-19T15:39:27.000Z
2020-02-11T16:13:14.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.16 on 2020-06-17 21:36 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('basicviz', '090_longer_doc_name'), ] operations = [ migrations.AlterField(...
28.923077
179
0.589096
91
752
4.714286
0.637363
0.09324
0.11655
0.135198
0
0
0
0
0
0
0
0.062167
0.25133
752
25
180
30.08
0.699822
0.091755
0
0.222222
1
0
0.152941
0.030882
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
bef4cab3a637046891c13361a2f01776d5ca8340
6,862
py
Python
sphinx/scripts/test/tests.py
pstrongu93/k-Nearest-Neighbors
30a80a3ac7526da513da1a23bdcaf65b6f350532
[ "MIT" ]
null
null
null
sphinx/scripts/test/tests.py
pstrongu93/k-Nearest-Neighbors
30a80a3ac7526da513da1a23bdcaf65b6f350532
[ "MIT" ]
null
null
null
sphinx/scripts/test/tests.py
pstrongu93/k-Nearest-Neighbors
30a80a3ac7526da513da1a23bdcaf65b6f350532
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import unittest from lib.KNearestNeighbors import KNearestNeighbors from lib.KNearestNeighbors import Point class TestKNearestNeighbors(unittest.TestCase): """ Class for unit testing """ def testKNearestNeighborsExist(self): """ method for checking class existence...
39.436782
158
0.649956
714
6,862
6.144258
0.183473
0.038751
0.050376
0.081377
0.591976
0.579211
0.531571
0.488033
0.411443
0.390244
0
0.01149
0.251676
6,862
173
159
39.66474
0.842843
0.286214
0
0.355263
0
0
0.162646
0.005284
0
0
0
0
0.223684
1
0.223684
false
0
0.039474
0
0.276316
0
0
0
0
null
0
0
0
0
0
0
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
8304d8a91e4b3710da9408a3ff4154ecfef457bc
3,716
py
Python
reweight.py
deapplegate/wtgpipeline
9693e8562022cc97bf5a96427e22965e1a5e8497
[ "MIT" ]
1
2019-03-15T04:01:19.000Z
2019-03-15T04:01:19.000Z
reweight.py
deapplegate/wtgpipeline
9693e8562022cc97bf5a96427e22965e1a5e8497
[ "MIT" ]
5
2017-12-11T00:11:39.000Z
2021-07-09T17:05:16.000Z
reweight.py
deapplegate/wtgpipeline
9693e8562022cc97bf5a96427e22965e1a5e8497
[ "MIT" ]
2
2017-08-15T21:19:11.000Z
2017-10-12T00:36:35.000Z
def get_ending(subdir,cluster,filt): from glob import glob l = glob(subdir + '/' + cluster + '/' + filt + '/SCIENCE/*_7*fits') print l[0] ending = re.split('\_7',l[0].replace('.fits','').replace('.sub',''))[1] if ending[-1] == 'R': ending = ending[:-1] if ending[-1] == 'I': ending = endi...
30.459016
168
0.539828
440
3,716
4.470455
0.268182
0.067107
0.060498
0.044738
0.394001
0.325369
0.296899
0.240976
0.216573
0.216573
0
0.015255
0.329656
3,716
121
169
30.710744
0.774388
0.00296
0
0.267442
0
0
0.139286
0.046429
0
0
0
0
0
0
null
null
0
0.116279
null
null
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
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
830c088ad4334362352da9bf62e6fc1645c032de
1,167
py
Python
pytglib/api/functions/set_scope_notification_settings.py
iTeam-co/pytglib
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
6
2019-10-30T08:57:27.000Z
2021-02-08T14:17:43.000Z
pytglib/api/functions/set_scope_notification_settings.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
1
2021-08-19T05:44:10.000Z
2021-08-19T07:14:56.000Z
pytglib/api/functions/set_scope_notification_settings.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
5
2019-12-04T05:30:39.000Z
2021-05-21T18:23:32.000Z
from ..utils import Object class SetScopeNotificationSettings(Object): """ Changes notification settings for chats of a given type Attributes: ID (:obj:`str`): ``SetScopeNotificationSettings`` Args: scope (:class:`telegram.api.types.NotificationSettingsScope`): Types o...
31.540541
87
0.691517
109
1,167
7.302752
0.431193
0.251256
0.094221
0.052764
0
0
0
0
0
0
0
0
0.219366
1,167
36
88
32.416667
0.873765
0.441302
0
0
0
0
0.139219
0.13073
0
0
0
0
0
1
0.166667
false
0
0.083333
0
0.5
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
8327363cd41300e8bf66d34d2a6a434aafbf123a
2,015
py
Python
VizKG/charts/violinplot.py
espinraf/vizkg
b4461a556b69c34580b96922ccb9c0e5c237b34f
[ "MIT" ]
12
2021-07-30T07:20:26.000Z
2022-03-24T10:11:55.000Z
VizKG/charts/violinplot.py
espinraf/vizkg
b4461a556b69c34580b96922ccb9c0e5c237b34f
[ "MIT" ]
4
2021-06-04T16:09:27.000Z
2022-03-24T10:11:48.000Z
VizKG/charts/violinplot.py
espinraf/vizkg
b4461a556b69c34580b96922ccb9c0e5c237b34f
[ "MIT" ]
2
2021-09-01T16:46:00.000Z
2022-01-14T12:28:20.000Z
from .chart import Chart import plotly.express as px class ViolinPlot(Chart): def __init__(self, dataframe, kwargs): """ Constructs all the necessary attributes for the violinPlot object Parameters: dataframe (pandas.Dataframe): The dataframe """ Chart.__init__(...
31
108
0.598511
221
2,015
5.180995
0.294118
0.122271
0.023581
0.036681
0.237555
0.122271
0.122271
0.122271
0
0
0
0.005874
0.324069
2,015
65
109
31
0.834802
0.176675
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.138889
false
0.055556
0.055556
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8329e8782dd5f8b452cc17f817be91048b5e9b61
1,718
py
Python
scirpts/process_dkt_inputs.py
beardeer/playground
cdb7366e23a4aefba04cef658c218618eb2a418d
[ "Unlicense" ]
null
null
null
scirpts/process_dkt_inputs.py
beardeer/playground
cdb7366e23a4aefba04cef658c218618eb2a418d
[ "Unlicense" ]
null
null
null
scirpts/process_dkt_inputs.py
beardeer/playground
cdb7366e23a4aefba04cef658c218618eb2a418d
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Jan 06 22:05:44 2016 @author: BearDeer """ import csv print 'start' input_file = open('..\data\skill_builder_data_good_m.csv', 'rb') output_file = open('..\data\dkt_input.txt', 'w') output_file_2 = open('..\data\dkt_input_2.txt', 'w') csv_reader = csv.reader(input_file) p...
21.746835
64
0.665308
256
1,718
4.046875
0.234375
0.19305
0.106178
0.11583
0.323359
0.277027
0.188224
0.065637
0.065637
0.065637
0
0.030951
0.210128
1,718
78
65
22.025641
0.732498
0.012224
0
0.266667
0
0
0.0625
0.049632
0
0
0
0
0
0
null
null
0
0.022222
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
832d01d2e9267d85088c165d984bb77a3b2fca6e
1,771
py
Python
shareandcare/account/views.py
vijayscsa/foodpost
08277edb95d14ff3b560376b0ca6130fc228f1ef
[ "MIT" ]
1
2020-03-29T10:27:58.000Z
2020-03-29T10:27:58.000Z
shareandcare/account/views.py
vijayscsa/foodpost
08277edb95d14ff3b560376b0ca6130fc228f1ef
[ "MIT" ]
6
2020-06-06T01:54:59.000Z
2021-06-10T20:03:59.000Z
shareandcare/account/views.py
vijayscsa/foodpost
08277edb95d14ff3b560376b0ca6130fc228f1ef
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect, get_object_or_404 from django.contrib.auth import login, logout, update_session_auth_hash from django.contrib.auth.decorators import login_required from shareandcare.account.forms import * from django.contrib.auth.models import User def home_view(request): return re...
32.2
74
0.687182
216
1,771
5.523148
0.259259
0.046102
0.063705
0.087175
0.385583
0.281643
0.281643
0.221291
0.110645
0.110645
0
0.002817
0.198193
1,771
54
75
32.796296
0.837324
0
0
0.26087
0
0
0.106155
0
0
0
0
0
0
1
0.108696
false
0.108696
0.108696
0.021739
0.413043
0
0
0
0
null
0
0
0
0
0
0
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
83335153c9d50d6865c6cc69ca495d65fae037e4
443
py
Python
src/top_bar.py
Samoray-l337/terminal-wordle
caee2f819bc383dc24a9e466f9a22b4f5eaaa205
[ "MIT" ]
null
null
null
src/top_bar.py
Samoray-l337/terminal-wordle
caee2f819bc383dc24a9e466f9a22b4f5eaaa205
[ "MIT" ]
2
2022-03-08T21:59:20.000Z
2022-03-08T22:01:34.000Z
src/top_bar.py
Samoray-l337/terminal-wordle
caee2f819bc383dc24a9e466f9a22b4f5eaaa205
[ "MIT" ]
null
null
null
import curses from .utils.screen import apply_color_pair, remove_color_pair from .config import TOP_BAR_COLOR_PAIR_INDEX, TOP_BAR_TEXT def draw_top_bar(stdscr: 'curses._CursesWindow'): _, w = stdscr.getmaxyx() x = w // 2 - (len(TOP_BAR_TEXT) // 2) y = 0 apply_color_pair(stdscr, TOP_BAR_COLOR_PAIR_...
23.315789
61
0.738149
70
443
4.242857
0.385714
0.212121
0.111111
0.151515
0.343434
0.276094
0.276094
0.276094
0.276094
0
0
0.00813
0.167043
443
18
62
24.611111
0.796748
0
0
0
0
0
0.045147
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.363636
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
8338e32b81c808e3ab9ffdd9a00977100ef9efd5
1,042
py
Python
users/urls.py
PavelYasukevich/foodgram-project
d03af25d8fd0cbf1eec03467a95620b89993c9fd
[ "MIT" ]
null
null
null
users/urls.py
PavelYasukevich/foodgram-project
d03af25d8fd0cbf1eec03467a95620b89993c9fd
[ "MIT" ]
null
null
null
users/urls.py
PavelYasukevich/foodgram-project
d03af25d8fd0cbf1eec03467a95620b89993c9fd
[ "MIT" ]
1
2021-03-27T16:34:07.000Z
2021-03-27T16:34:07.000Z
from django.contrib.auth import views as auth_views from django.urls import include, path from .views import SignUp urlpatterns = [ path('signup/', SignUp.as_view(), name='signup'), path( 'login/', auth_views.LoginView.as_view(template_name='users/authForm.html'), name='login', ), ...
26.717949
74
0.622841
105
1,042
5.92381
0.295238
0.086817
0.048232
0.086817
0.184887
0
0
0
0
0
0
0
0.252399
1,042
38
75
27.421053
0.79846
0
0
0.333333
0
0
0.257198
0.158349
0
0
0
0
0
1
0
false
0.388889
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
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
833b7bd780829c4c46999bccd2d10b9dc4b70187
2,127
py
Python
prtx_faq/migrations/0001_initial.py
raphaelm/prtx-faq
384b28e14f389aef3a2be09f832573774f245866
[ "Apache-2.0" ]
null
null
null
prtx_faq/migrations/0001_initial.py
raphaelm/prtx-faq
384b28e14f389aef3a2be09f832573774f245866
[ "Apache-2.0" ]
null
null
null
prtx_faq/migrations/0001_initial.py
raphaelm/prtx-faq
384b28e14f389aef3a2be09f832573774f245866
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.2 on 2018-11-13 21:17 import django.db.models.deletion import i18nfield.fields from django.db import migrations, models from prtx_faq.prtx import PRTX class Migration(migrations.Migration): initial = True dependencies = [ (('event', '0017_auto_20180922_0511') if PRTX == 'p...
43.408163
204
0.610719
217
2,127
5.83871
0.396313
0.078137
0.033149
0.052092
0.413575
0.309392
0.22573
0.22573
0.22573
0.22573
0
0.042112
0.251998
2,127
48
205
44.3125
0.754243
0.021157
0
0.365854
1
0
0.196154
0.022115
0
0
0
0
0
1
0
false
0
0.097561
0
0.195122
0
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
833d89dce15ca96d8ce35e68acdd072e279be66a
2,467
py
Python
1.3.18/src/scripts/docutils_htmldeco_writer.py
AYCHCOM/Graphicsmagickbackport
49cf1d8a1b8038dc5e8a9cfb01de942606847431
[ "MIT" ]
null
null
null
1.3.18/src/scripts/docutils_htmldeco_writer.py
AYCHCOM/Graphicsmagickbackport
49cf1d8a1b8038dc5e8a9cfb01de942606847431
[ "MIT" ]
1
2021-02-23T16:09:53.000Z
2021-02-23T16:09:53.000Z
1.3.18/src/scripts/docutils_htmldeco_writer.py
AYCHCOM/Graphicsmagickbackport
49cf1d8a1b8038dc5e8a9cfb01de942606847431
[ "MIT" ]
2
2018-05-18T16:10:16.000Z
2020-11-15T18:31:44.000Z
#!/usr/bin/env python # vim:ts=4:sw=4:expandtab:tw=100: #* Author: Mark Mitchell #* Copyright 2005-2008 Mark Mitchell, All Rights Reserved #* License: see __license__ below. __doc__ = """ A specialized subclass of the docutils html4css1 writer. It includes some additional HTML in the HTMLTranslator body_prefix and ...
34.746479
82
0.762059
356
2,467
5.148876
0.463483
0.042008
0.027823
0.03437
0.08347
0.036007
0
0
0
0
0
0.02002
0.169842
2,467
70
83
35.242857
0.875
0.196595
0
0.05
0
0
0.667689
0
0
0
0
0
0
1
0.05
false
0
0.1
0
0.225
0
0
0
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
833f56cb3ea3d759117ce31203247e0cbcb8697f
1,604
py
Python
chapter5_operations/prediction_monitoring_pattern/src/db/cruds.py
sudabon/ml-system-in-actions
4fb1b3e53e4ed7c36e82f7d4b5570e3959aef525
[ "MIT" ]
133
2021-04-24T09:57:58.000Z
2022-03-29T06:23:56.000Z
chapter5_operations/prediction_monitoring_pattern/src/db/cruds.py
sudabon/ml-system-in-actions
4fb1b3e53e4ed7c36e82f7d4b5570e3959aef525
[ "MIT" ]
6
2021-04-24T09:58:40.000Z
2021-11-19T04:04:40.000Z
chapter5_operations/prediction_monitoring_pattern/src/db/cruds.py
sudabon/ml-system-in-actions
4fb1b3e53e4ed7c36e82f7d4b5570e3959aef525
[ "MIT" ]
40
2021-05-21T23:32:40.000Z
2022-03-30T00:33:08.000Z
from typing import Dict, List from sqlalchemy.orm import Session from src.db import models, schemas def select_prediction_log_all(db: Session) -> List[schemas.PredictionLog]: return db.query(models.PredictionLog).all() def select_prediction_log_between( db: Session, time_before: str, time_later: st...
21.972603
74
0.647756
194
1,604
5.180412
0.195876
0.053731
0.051741
0.075622
0.78607
0.754229
0.521393
0.521393
0.332338
0.332338
0
0
0.242519
1,604
72
75
22.277778
0.82716
0
0
0.542373
0
0
0
0
0
0
0
0
0
1
0.101695
false
0
0.050847
0.067797
0.254237
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
83404ed2fd443d1ec6323cd63bd50e51a8923bb7
874
py
Python
data-storyteller-main/app.py
simmieyungie/streamlit
3996e5bf339c9c190205c3320fc3fbba6541b06b
[ "MIT" ]
null
null
null
data-storyteller-main/app.py
simmieyungie/streamlit
3996e5bf339c9c190205c3320fc3fbba6541b06b
[ "MIT" ]
null
null
null
data-storyteller-main/app.py
simmieyungie/streamlit
3996e5bf339c9c190205c3320fc3fbba6541b06b
[ "MIT" ]
null
null
null
import os import streamlit as st import numpy as np from PIL import Image # Custom imports from multipage import MultiPage from pages import data_upload, machine_learning, metadata, data_visualize, redundant # import your pages here # Create an instance of the app app = MultiPage() # Title of the main page displa...
28.193548
109
0.771167
133
874
4.969925
0.43609
0.054463
0.075643
0.078669
0
0
0
0
0
0
0
0.010444
0.12357
874
30
110
29.133333
0.85248
0.236842
0
0
0
0
0.176292
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
83407598c4971e8f6ce6d151bd99dcc3a1410db0
250
py
Python
server_test.py
jamescch/proxany
c928bdc311858966da6a26676581fe18a9287d92
[ "Apache-2.0" ]
7
2021-04-10T15:05:26.000Z
2022-03-07T12:55:18.000Z
server_test.py
jamescch/proxany
c928bdc311858966da6a26676581fe18a9287d92
[ "Apache-2.0" ]
3
2021-05-13T13:04:42.000Z
2021-07-18T09:56:20.000Z
server_test.py
jamescch/proxany
c928bdc311858966da6a26676581fe18a9287d92
[ "Apache-2.0" ]
null
null
null
from proxany.decode.tls import parse from proxany.server import create_socket sock = create_socket('0.0.0.0', 443) while True: (clientsocket, address) = sock.accept() parse(clientsocket) # ct = client_thread(clientsocket) # ct.run()
25
43
0.712
34
250
5.147059
0.617647
0.034286
0.034286
0
0
0
0
0
0
0
0
0.033654
0.168
250
10
44
25
0.807692
0.164
0
0
0
0
0.033816
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
8343759f9a648db843de9eeff841100f1c4fe0ea
154
py
Python
day2_01.py
hane-jp/study-python
172bd2b47579404736290135d6ab5885402c5bb3
[ "MIT" ]
null
null
null
day2_01.py
hane-jp/study-python
172bd2b47579404736290135d6ab5885402c5bb3
[ "MIT" ]
null
null
null
day2_01.py
hane-jp/study-python
172bd2b47579404736290135d6ab5885402c5bb3
[ "MIT" ]
null
null
null
def calc_bmi(x,y): ans = y/(x*x) return ans x = 2 y = 80 if ans < 18: print("痩せ気味") elif 18 <= ans < 25: print("普通") elif ans >= 25: print("太り気味")
11
20
0.551948
31
154
2.709677
0.548387
0.119048
0.238095
0
0
0
0
0
0
0
0
0.094017
0.24026
154
13
21
11.846154
0.623932
0
0
0
0
0
0.064935
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.181818
0.272727
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
8359dbda8e66f0c00d279998c51574acc7de88ee
2,118
py
Python
asconnect/client.py
fiannaca/asconnect
ec46b774e4e4e4842d36349cb7573aa8925d34b7
[ "MIT" ]
null
null
null
asconnect/client.py
fiannaca/asconnect
ec46b774e4e4e4842d36349cb7573aa8925d34b7
[ "MIT" ]
null
null
null
asconnect/client.py
fiannaca/asconnect
ec46b774e4e4e4842d36349cb7573aa8925d34b7
[ "MIT" ]
null
null
null
"""Wrapper around the Apple App Store Connect APIs.""" # Copyright (c) Microsoft Corporation. # Licensed under the MIT license. import logging from typing import Optional from asconnect.httpclient import HttpClient from asconnect.app_client import AppClient from asconnect.app_info_client import AppInfoClient from a...
33.619048
100
0.714353
275
2,118
5.349091
0.301818
0.095173
0.066621
0.073419
0.229096
0.208022
0.208022
0.208022
0.184908
0.055744
0
0
0.20916
2,118
62
101
34.16129
0.878209
0.233711
0
0
0
0
0.011509
0
0
0
0
0
0
1
0.027027
false
0
0.243243
0
0.513514
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
835a601b4a4892d0d74634b7442405665cd8d213
246
py
Python
petisco/events/redis/redis_based_event_handler.py
jlamoso/petisco
bd71d28a5c0ba6ea789fa7c1529e7a2d108da53f
[ "MIT" ]
null
null
null
petisco/events/redis/redis_based_event_handler.py
jlamoso/petisco
bd71d28a5c0ba6ea789fa7c1529e7a2d108da53f
[ "MIT" ]
null
null
null
petisco/events/redis/redis_based_event_handler.py
jlamoso/petisco
bd71d28a5c0ba6ea789fa7c1529e7a2d108da53f
[ "MIT" ]
null
null
null
from petisco.events.event import Event def redis_based_event_handler(func): def wrapper(message): json_data = message["data"].decode("utf-8") event = Event.from_json(json_data) return func(event) return wrapper
22.363636
51
0.682927
33
246
4.909091
0.545455
0.098765
0
0
0
0
0
0
0
0
0
0.005181
0.215447
246
10
52
24.6
0.834197
0
0
0
0
0
0.036585
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
835e3d4f75733746a293ef9f508c3f9d310e0759
2,354
py
Python
js_services/constants.py
evgeny-dmi3ev/js-services
8d4960ec49a44b0eda537713af9f4976456e0f5e
[ "BSD-3-Clause" ]
null
null
null
js_services/constants.py
evgeny-dmi3ev/js-services
8d4960ec49a44b0eda537713af9f4976456e0f5e
[ "BSD-3-Clause" ]
null
null
null
js_services/constants.py
evgeny-dmi3ev/js-services
8d4960ec49a44b0eda537713af9f4976456e0f5e
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from django.conf import settings from django.utils.text import slugify UPDATE_SEARCH_DATA_ON_SAVE = getattr( settings, 'SERVICES_UPDATE_SEARCH_DATA_ON_SAVE', False, ) ADD_CATEGORIES_TO_SEARCH_DATA = getattr( settings, 'SEARCH_ADD_CATEGORIES_TO_SEARCH_DATA', True ) SERVI...
21.017857
140
0.71198
255
2,354
6.133333
0.301961
0.182225
0.25
0.057545
0.113811
0.053708
0
0
0
0
0
0.003646
0.184367
2,354
111
141
21.207207
0.810938
0.008921
0
0.299065
0
0
0.238095
0.229086
0
0
0
0
0
1
0
false
0
0.028037
0
0.028037
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
55c3564ce2dfac17037ac802aaeef1f004f45068
3,528
py
Python
shiyandaima/demo9.py
HW-BC/mon
7988ebdd5e4b093fd94d180d259af7f9630fc0cb
[ "MIT" ]
null
null
null
shiyandaima/demo9.py
HW-BC/mon
7988ebdd5e4b093fd94d180d259af7f9630fc0cb
[ "MIT" ]
1
2021-11-10T06:48:45.000Z
2021-11-10T06:48:45.000Z
shiyandaima/demo9.py
HW-BC/mon
7988ebdd5e4b093fd94d180d259af7f9630fc0cb
[ "MIT" ]
null
null
null
#字符串 #字符串的驻留机制 a='hello' b="hello" c='''hello''' print(a,id(a)) print(b,id(b)) print(c,id(c))#地址相同 #驻留,字符串只在编译时进行驻留,而非运行时 a="abc" b="ab"+"c" c="".join(["ab","c"]) print(a is b) print(a is c)#is可以判断是否相等,严格相等id和值 print(id(a)) print(id(b)) print(id(c))#c的id与ab并不相同 #字符串的常用操作 s="hello,hello" #正向索引 print(s.index("lo")) pri...
22.76129
68
0.698696
554
3,528
4.445848
0.398917
0.024361
0.012992
0.009744
0.042225
0.026797
0
0
0
0
0
0.067701
0.049603
3,528
155
69
22.76129
0.666865
0.281746
0
0.063636
0
0
0.197001
0.010829
0.009091
0
0
0
0
1
0
false
0
0
0
0
0.690909
0
0
0
null
0
0
0
0
0
0
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
55d2a15b06fcbf1d4f288e30a309acadf9dc51e3
663
py
Python
pset_challenging_ext/exercises/p22.py
mottaquikarim/pydev-psets
9749e0d216ee0a5c586d0d3013ef481cc21dee27
[ "MIT" ]
5
2019-04-08T20:05:37.000Z
2019-12-04T20:48:45.000Z
pset_challenging_ext/exercises/p22.py
mottaquikarim/pydev-psets
9749e0d216ee0a5c586d0d3013ef481cc21dee27
[ "MIT" ]
8
2019-04-15T15:16:05.000Z
2022-02-12T10:33:32.000Z
pset_challenging_ext/exercises/p22.py
mottaquikarim/pydev-psets
9749e0d216ee0a5c586d0d3013ef481cc21dee27
[ "MIT" ]
2
2019-04-10T00:14:42.000Z
2020-02-26T20:35:21.000Z
""" Write a program to compute the frequency of the words from the input. The output should output after sorting the key alphanumerically. """ """Question 22 Level 3 Question: Write a program to compute the frequency of the words from the input. The output should output after sorting the key alphanumerically. Suppos...
25.5
135
0.767722
122
663
4.172131
0.368852
0.053045
0.088409
0.058939
0.436149
0.436149
0.436149
0.436149
0.436149
0.436149
0
0.038462
0.176471
663
26
136
25.5
0.893773
0.202112
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
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
55d82beec5c8dc94641b8829a8ff9b918f21b7a1
407
py
Python
setup.py
mp4096/imola
dc373f3725a216d12d54015b2757e1f45d6fc6ef
[ "BSD-3-Clause" ]
null
null
null
setup.py
mp4096/imola
dc373f3725a216d12d54015b2757e1f45d6fc6ef
[ "BSD-3-Clause" ]
null
null
null
setup.py
mp4096/imola
dc373f3725a216d12d54015b2757e1f45d6fc6ef
[ "BSD-3-Clause" ]
null
null
null
"""Setup file for Imola.""" try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="imola", version="0.1", description="Simulation and benchmarking environment " "for road lane estimators.", license="BSD", author="Mikhail Pak <mikhail.pak@tum...
22.611111
58
0.65602
47
407
5.659574
0.787234
0.082707
0
0
0
0
0
0
0
0
0
0.006154
0.201474
407
17
59
23.941176
0.812308
0.051597
0
0
0
0
0.339474
0
0
0
0
0
0
1
0
true
0
0.214286
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
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
55dc8f07fd25d2488ae40646009f4198bc966cdc
1,822
py
Python
kerlescan/exceptions.py
eherget/kerlescan
19aed245e9b5a470774ee9818f95ab28e9096fcc
[ "MIT" ]
null
null
null
kerlescan/exceptions.py
eherget/kerlescan
19aed245e9b5a470774ee9818f95ab28e9096fcc
[ "MIT" ]
null
null
null
kerlescan/exceptions.py
eherget/kerlescan
19aed245e9b5a470774ee9818f95ab28e9096fcc
[ "MIT" ]
null
null
null
class HTTPError(Exception): def __init__(self, status_code, message=""): """ Raise this exception to return an http response indicating an error. This is a boilerplate exception that was originally from Crane project. :param status_code: HTTP status code. It's a good idea to get th...
32.535714
83
0.621295
207
1,822
5.246377
0.386473
0.073665
0.124309
0.115101
0.333333
0.285451
0.199816
0.199816
0.164825
0.121547
0
0
0.30955
1,822
55
84
33.127273
0.863275
0.449506
0
0.428571
0
0
0
0
0
0
0
0
0
1
0.238095
false
0
0
0
0.47619
0
0
0
0
null
0
0
0
0
0
0
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
55dd1f3f043c69576908da6086da900d58b20b23
4,223
py
Python
w2v_flask_app_run.py
dataquanty/Word2Vec-Search-API
ee5ca7293565053159db818e8d13af13ddc58f6f
[ "MIT" ]
null
null
null
w2v_flask_app_run.py
dataquanty/Word2Vec-Search-API
ee5ca7293565053159db818e8d13af13ddc58f6f
[ "MIT" ]
null
null
null
w2v_flask_app_run.py
dataquanty/Word2Vec-Search-API
ee5ca7293565053159db818e8d13af13ddc58f6f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Mar 22 16:12:00 2018 @author: dataquanty """ from flask import Flask, request, redirect, url_for, flash, jsonify from textsearch import TextSearch import json """ Flask API that returns the n closest match of a text query Takes as input a json query ...
25.136905
84
0.594127
419
4,223
5.954654
0.484487
0.031263
0.052104
0.024048
0.252505
0.252505
0.206012
0.206012
0.155511
0
0
0.184691
0.273029
4,223
168
85
25.136905
0.628013
0.060147
0
0
0
0
0.087404
0
0
0
0
0.011905
0
1
0.05
false
0
0.15
0
0.25
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
55e5d6287fcaefc6f6de6c8d44eea7610415b43c
2,162
py
Python
babilim/data/dataloader.py
penguinmenac3/babilim
d3b1dd7c38a9de8f1e553cc5c0b2dfa62fe25c27
[ "MIT" ]
1
2020-05-04T15:20:55.000Z
2020-05-04T15:20:55.000Z
babilim/data/dataloader.py
penguinmenac3/babilim
d3b1dd7c38a9de8f1e553cc5c0b2dfa62fe25c27
[ "MIT" ]
1
2019-11-28T09:03:20.000Z
2019-11-28T09:03:20.000Z
babilim/data/dataloader.py
penguinmenac3/babilim
d3b1dd7c38a9de8f1e553cc5c0b2dfa62fe25c27
[ "MIT" ]
1
2019-11-28T08:30:13.000Z
2019-11-28T08:30:13.000Z
# AUTOGENERATED FROM: babilim/data/dataloader.ipynb # Cell: 0 """doc # babilim.data.dataloader > A dataloader object loads the data to the gpu for training. """ # Cell: 1 import sys import traceback from typing import Iterable, Iterator, Any from babilim.core.tensor import TensorWrapper # Cell: 2 class Dataloader(...
36.644068
111
0.620259
247
2,162
5.238866
0.412955
0.136012
0.108192
0.026275
0.041731
0
0
0
0
0
0
0.002009
0.309436
2,162
58
112
37.275862
0.864702
0.320074
0
0
1
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.133333
0.033333
0.466667
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
55e617be80b45479bc849909ff2e411f90cc8769
446
py
Python
Problems/Miscellaneous/Medium/01_sort_characters_by_frequency.py
andor2718/LeetCode
59874f49085818e6da751f1cc26867b31079d35d
[ "BSD-3-Clause" ]
1
2022-01-17T19:51:15.000Z
2022-01-17T19:51:15.000Z
Problems/Miscellaneous/Medium/01_sort_characters_by_frequency.py
andor2718/LeetCode
59874f49085818e6da751f1cc26867b31079d35d
[ "BSD-3-Clause" ]
null
null
null
Problems/Miscellaneous/Medium/01_sort_characters_by_frequency.py
andor2718/LeetCode
59874f49085818e6da751f1cc26867b31079d35d
[ "BSD-3-Clause" ]
null
null
null
# https://leetcode.com/problems/sort-characters-by-frequency/ class Solution: def frequencySort(self, s: str) -> str: char_frequencies = dict() for char in s: char_frequencies[char] = char_frequencies.get(char, 0) + 1 char_frequencies = list(char_frequencies.items()) cha...
40.545455
72
0.661435
58
446
4.965517
0.568966
0.364583
0
0
0
0
0
0
0
0
0
0.008571
0.215247
446
10
73
44.6
0.814286
0.132287
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
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
55ec7ee96c56264c5de0453edafc54ed079c1815
1,074
py
Python
mlcomp/contrib/criterion/triplet.py
megachester/mlcomp
8d30ba0a52e225144533e68295b71acb49e3c68a
[ "Apache-2.0" ]
166
2019-08-21T20:00:04.000Z
2020-05-14T16:13:57.000Z
mlcomp/contrib/criterion/triplet.py
megachester/mlcomp
8d30ba0a52e225144533e68295b71acb49e3c68a
[ "Apache-2.0" ]
14
2019-08-22T07:58:39.000Z
2020-04-13T13:59:07.000Z
mlcomp/contrib/criterion/triplet.py
megachester/mlcomp
8d30ba0a52e225144533e68295b71acb49e3c68a
[ "Apache-2.0" ]
22
2019-08-23T12:37:20.000Z
2020-04-20T10:06:29.000Z
import torch import torch.nn.functional as F from catalyst.contrib.nn.criterion.functional import cosine_distance, \ batch_all, _EPS def triplet_loss( embeddings: torch.Tensor, labels: torch.Tensor, margin: float = 0.3, reduction='mean' ) -> torch.Tensor: cosine_dists = cosine_distance(embeddi...
33.5625
76
0.684358
132
1,074
5.257576
0.401515
0.158501
0.207493
0.069164
0
0
0
0
0
0
0
0.007177
0.221601
1,074
31
77
34.645161
0.822967
0
0
0
0
0
0.044693
0
0
0
0
0
0
1
0.037037
false
0
0.111111
0
0.185185
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
55ee515ee2f3bfd05f05a2b2fa00d59903360af3
1,160
py
Python
app/routes/teacher/login.py
himanshuvarandani/Electron-Server
48bcd965816f026518aa56d254fdc7057ae61cd8
[ "MIT" ]
null
null
null
app/routes/teacher/login.py
himanshuvarandani/Electron-Server
48bcd965816f026518aa56d254fdc7057ae61cd8
[ "MIT" ]
5
2021-10-30T06:04:47.000Z
2021-11-14T21:09:00.000Z
app/routes/teacher/login.py
himanshuvarandani/Electron-Server
48bcd965816f026518aa56d254fdc7057ae61cd8
[ "MIT" ]
1
2022-02-28T15:24:58.000Z
2022-02-28T15:24:58.000Z
import hashlib import re from app import app from app.database import db from app.database.models.teachers import Teachers from fastapi import Depends, Response, status from fastapi_jwt_auth import AuthJWT from pydantic import BaseModel, validator class RequestBody(BaseModel): email: str password: str @...
28.292683
86
0.686207
153
1,160
5.104575
0.503268
0.026889
0.038412
0.015365
0.016645
0
0
0
0
0
0
0.011653
0.186207
1,160
40
87
29
0.815678
0
0
0
0
0.032258
0.124138
0.043966
0
0
0
0
0
1
0.032258
false
0.096774
0.258065
0
0.483871
0
0
0
0
null
0
0
0
0
0
0
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
55f3eefc8fc111b69945a6d0e047d7d4b786db29
3,123
py
Python
locations/spiders/quiktrip.py
davidchiles/alltheplaces
6f35f6cd652e7462107ead0a77f322caff198653
[ "MIT" ]
297
2017-12-07T01:29:14.000Z
2022-03-29T06:58:01.000Z
locations/spiders/quiktrip.py
davidchiles/alltheplaces
6f35f6cd652e7462107ead0a77f322caff198653
[ "MIT" ]
2,770
2017-11-28T04:20:21.000Z
2022-03-31T11:29:16.000Z
locations/spiders/quiktrip.py
davidchiles/alltheplaces
6f35f6cd652e7462107ead0a77f322caff198653
[ "MIT" ]
111
2017-11-27T21:40:02.000Z
2022-01-22T01:21:52.000Z
# -*- coding: utf-8 -*- import scrapy from locations.items import GeojsonPointItem class QuiktripSpider(scrapy.Spider): name = "quiktrip" item_attributes = {'brand': "QuikTrip", 'brand_wikidata': "Q7271953"} allowed_domains = ["quiktrip.com", "where2getit.com"] start_urls = ( 'https://hosted....
76.170732
1,411
0.674352
406
3,123
5.123153
0.374384
0.075
0.061538
0.076923
0.138462
0.138462
0.138462
0
0
0
0
0.105144
0.153378
3,123
40
1,412
78.075
0.681543
0.006724
0
0
0
0.030303
0.573226
0
0
0
0
0
0
1
0.060606
false
0
0.060606
0.030303
0.30303
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
55f508dec940a37f01fb87468925bea4f99850c0
643
py
Python
launcher.py
JasperGeurtz/pybrood-bot-launcher
edfc99cc905dcdf56e2fbe5b8f0ca8ce5260d440
[ "MIT" ]
2
2019-10-01T21:14:45.000Z
2019-10-01T22:42:02.000Z
launcher.py
JasperGeurtz/pybrood-bot-launcher
edfc99cc905dcdf56e2fbe5b8f0ca8ce5260d440
[ "MIT" ]
null
null
null
launcher.py
JasperGeurtz/pybrood-bot-launcher
edfc99cc905dcdf56e2fbe5b8f0ca8ce5260d440
[ "MIT" ]
null
null
null
### IMPORTS ### import configparser import os import sys ### CUSTOM IMPORTS ### import pybrood import random import time ### PATHS ### bwapi_ai_path = "bwapi-data/AI/" config_name = "scriptloader.ini" sys_path = os.getcwd() if __name__ == "__main__": if not os.path.isfile(config_name): config_name = bw...
20.09375
74
0.660964
81
643
4.975309
0.395062
0.124069
0.081886
0
0
0
0
0
0
0
0
0.00189
0.177294
643
31
75
20.741935
0.759924
0.046656
0
0
0
0
0.163575
0
0
0
0
0
0
1
0
false
0
0.368421
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
55f5bf5df463800fee16024f18133a994356c736
492
py
Python
backend/unpp_api/apps/sanctionslist/migrations/0003_auto_20180615_1224.py
unicef/un-partner-portal
73afa193a5f6d626928cae0025c72a17f0ef8f61
[ "Apache-2.0" ]
6
2017-11-21T10:00:44.000Z
2022-02-12T16:51:48.000Z
backend/unpp_api/apps/sanctionslist/migrations/0003_auto_20180615_1224.py
unicef/un-partner-portal
73afa193a5f6d626928cae0025c72a17f0ef8f61
[ "Apache-2.0" ]
995
2017-07-31T02:08:36.000Z
2022-03-08T22:44:03.000Z
backend/unpp_api/apps/sanctionslist/migrations/0003_auto_20180615_1224.py
unicef/un-partner-portal
73afa193a5f6d626928cae0025c72a17f0ef8f61
[ "Apache-2.0" ]
1
2021-07-21T10:45:15.000Z
2021-07-21T10:45:15.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-06-15 12:24 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('partner', '0063_auto_20180612_0625'), ('sanctionslist', '0002_auto_20180612_1142'), ] ...
23.428571
55
0.634146
50
492
6
0.8
0.08
0
0
0
0
0
0
0
0
0
0.133333
0.237805
492
20
56
24.6
0.666667
0.140244
0
0
1
0
0.228571
0.109524
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
36007c508f18971c8294a3cbd1803db1f2977767
337
py
Python
exe 6.py
LucasGabrielTheodoro/Lista-de-python
686ee7fae83ad6e43f30d0cfb000b41c272f4398
[ "MIT" ]
null
null
null
exe 6.py
LucasGabrielTheodoro/Lista-de-python
686ee7fae83ad6e43f30d0cfb000b41c272f4398
[ "MIT" ]
null
null
null
exe 6.py
LucasGabrielTheodoro/Lista-de-python
686ee7fae83ad6e43f30d0cfb000b41c272f4398
[ "MIT" ]
1
2021-09-23T23:15:03.000Z
2021-09-23T23:15:03.000Z
n1 = int(input('Digite o preço do primeiro produto: ')) n2 = int(input('Digite o preço do segundo número: ')) desconto1= ((n1 * 8) / 100) - n1 desconto2= ((n2 * 11) / 100) - n2 total = (desconto1 + desconto2) *-1 print ('Com o desconto no primeiro produto de 8% e de 11% no segundo produt, o total vai ser de {}...
42.125
115
0.643917
54
337
4.018519
0.537037
0.073733
0.129032
0.138249
0.202765
0.202765
0
0
0
0
0
0.086142
0.207715
337
8
115
42.125
0.726592
0
0
0
0
0.166667
0.483384
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3600940f119fa275377d5f239b217692ab12a255
707
py
Python
sandbox/mk_nodes.py
satishgoda/leo-editor-tutorial
d61afb65847703609001b9cdc9b616ddeba69dab
[ "MIT" ]
5
2016-12-17T06:34:26.000Z
2021-05-31T13:47:14.000Z
sandbox/mk_nodes.py
satishgoda/leo-editor-tutorial
d61afb65847703609001b9cdc9b616ddeba69dab
[ "MIT" ]
1
2017-01-14T08:42:18.000Z
2017-01-14T08:42:18.000Z
sandbox/mk_nodes.py
satishgoda/leo-editor-tutorial
d61afb65847703609001b9cdc9b616ddeba69dab
[ "MIT" ]
2
2018-03-27T18:21:37.000Z
2021-08-04T21:27:25.000Z
@language python if p.h.startswith('@button'): raise ValueError("This script cannot be used on button nodes") if not p.b.split(): raise Exception("""For creating children for the selected node The body of the seelcted node must contain the name of the child specified one per line. """) copied_p ...
22.806452
69
0.659123
108
707
4.259259
0.546296
0.021739
0.030435
0
0
0
0
0
0
0
0
0.00363
0.220651
707
30
70
23.566667
0.831216
0
0
0.095238
0
0
0.353607
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3607d5f322b181ae519c7da02b83fdb063a25907
2,232
py
Python
tests/oracle_sql/test_oracle_sql.py
pcadoret/toucan-connectors
bfe3960fc2d54ac5039d6712e61c7d6fb1160729
[ "BSD-3-Clause" ]
null
null
null
tests/oracle_sql/test_oracle_sql.py
pcadoret/toucan-connectors
bfe3960fc2d54ac5039d6712e61c7d6fb1160729
[ "BSD-3-Clause" ]
null
null
null
tests/oracle_sql/test_oracle_sql.py
pcadoret/toucan-connectors
bfe3960fc2d54ac5039d6712e61c7d6fb1160729
[ "BSD-3-Clause" ]
1
2020-07-06T15:13:49.000Z
2020-07-06T15:13:49.000Z
import cx_Oracle import pytest from toucan_connectors.oracle_sql.oracle_sql_connector import ( OracleSQLConnector, OracleSQLDataSource, ) missing_oracle_lib = False try: cx_Oracle.connect() except cx_Oracle.DatabaseError as e: missing_oracle_lib = 'DPI-1047' in str(e) @pytest.fixture(scope='module')...
29.76
99
0.672939
285
2,232
5.059649
0.403509
0.033287
0.049931
0.066574
0.209431
0.209431
0.209431
0.183773
0.183773
0.101248
0
0.013476
0.202061
2,232
74
100
30.162162
0.796182
0.066308
0
0
0
0
0.21078
0.028874
0
0
0
0
0.109091
1
0.090909
false
0.072727
0.054545
0.018182
0.181818
0
0
0
0
null
0
0
0
0
0
0
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
361007c69de0d1513d64fce65d7ab86d8c0d451b
7,885
py
Python
tools/python/myriad/assistant.py
TU-Berlin-DIMA/myriad-toolkit
5f7610e10b11e05591d6e2dc030c3ca5dc2a90b4
[ "BSL-1.0" ]
15
2015-01-18T18:02:16.000Z
2021-08-02T09:20:35.000Z
tools/python/myriad/assistant.py
TU-Berlin-DIMA/myriad-toolkit
5f7610e10b11e05591d6e2dc030c3ca5dc2a90b4
[ "BSL-1.0" ]
null
null
null
tools/python/myriad/assistant.py
TU-Berlin-DIMA/myriad-toolkit
5f7610e10b11e05591d6e2dc030c3ca5dc2a90b4
[ "BSL-1.0" ]
5
2015-08-10T21:50:39.000Z
2018-03-14T15:31:28.000Z
''' Copyright 2010-2013 DIMA Research Group, TU Berlin 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...
33.696581
105
0.563475
811
7,885
5.284834
0.274969
0.037331
0.030798
0.036398
0.217685
0.156323
0.111526
0.111526
0.111526
0.080728
0
0.006121
0.336969
7,885
233
106
33.841202
0.813695
0.10577
0
0.266187
0
0
0.062942
0.006101
0
0
0
0.004292
0
0
null
null
0
0.05036
null
null
0.330935
0
0
0
null
0
0
0
0
0
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
36106e30293e65e04d603638922d7131c6cba733
553
py
Python
aries_cloudagent/protocols/revocation_notification/v1_0/message_types.py
kuraakhilesh8230/aries-cloudagent-python
ee384d1330f6a50ff45a507392ce54f92900f23a
[ "Apache-2.0" ]
4
2019-07-01T13:12:50.000Z
2019-07-02T20:01:37.000Z
aries_cloudagent/protocols/revocation_notification/v1_0/message_types.py
kuraakhilesh8230/aries-cloudagent-python
ee384d1330f6a50ff45a507392ce54f92900f23a
[ "Apache-2.0" ]
51
2021-01-12T05:50:50.000Z
2022-03-25T06:03:13.000Z
aries_cloudagent/protocols/revocation_notification/v1_0/message_types.py
kuraakhilesh8230/aries-cloudagent-python
ee384d1330f6a50ff45a507392ce54f92900f23a
[ "Apache-2.0" ]
12
2019-06-24T22:17:44.000Z
2019-07-02T19:49:31.000Z
"""Message type identifiers for Revocation Notification protocol.""" from ...didcomm_prefix import DIDCommPrefix SPEC_URI = ( "https://github.com/hyperledger/aries-rfcs/blob/main/features/" "0183-revocation-notification/README.md" ) PROTOCOL = "revocation_notification" VERSION = "1.0" BASE = f"{PROTOCOL}/{VE...
26.333333
76
0.761302
65
553
6.323077
0.615385
0.214112
0
0
0
0
0
0
0
0
0
0.016162
0.104882
553
20
77
27.65
0.814141
0.139241
0
0
0
0
0.540426
0.334043
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
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
36129be3cbae6ce81078e92bcd916223519b2b2d
4,996
py
Python
hasher-matcher-actioner/hmalib/lambdas/pdq/pdq_matcher.py
isabella232/ThreatExchange
0d07a800bbf25d8541f40b828e2dfd377395af9b
[ "BSD-3-Clause" ]
null
null
null
hasher-matcher-actioner/hmalib/lambdas/pdq/pdq_matcher.py
isabella232/ThreatExchange
0d07a800bbf25d8541f40b828e2dfd377395af9b
[ "BSD-3-Clause" ]
1
2021-04-19T10:20:43.000Z
2021-04-19T10:20:43.000Z
hasher-matcher-actioner/hmalib/lambdas/pdq/pdq_matcher.py
isabella232/ThreatExchange
0d07a800bbf25d8541f40b828e2dfd377395af9b
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import json import os import pickle import boto3 import datetime import typing as t from mypy_boto3_sns import SNSClient from threatexchange.signal_type.pdq_index import PDQIndex from hmalib import metrics from hmalib.models import ( PDQMatch...
32.868421
90
0.615292
589
4,996
5.042445
0.358234
0.020202
0.022896
0.023232
0.106397
0.090236
0.07138
0.07138
0
0
0
0.003742
0.304644
4,996
151
91
33.086093
0.85118
0.233187
0
0.104167
0
0
0.103587
0.018469
0
0
0
0.013245
0
1
0.03125
false
0
0.114583
0
0.166667
0
0
0
0
null
0
0
0
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
36136a88eab9f836b8248bedecf99fab0c664fa1
4,871
py
Python
pysnmp-with-texts/Q-IN-Q-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/Q-IN-Q-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/Q-IN-Q-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module Q-IN-Q-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Q-IN-Q-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:43:18 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:...
105.891304
477
0.769247
588
4,871
6.365646
0.29932
0.051296
0.089768
0.011755
0.373764
0.242586
0.20732
0.20732
0.20732
0.203847
0
0.062317
0.087456
4,871
45
478
108.244444
0.779753
0.064463
0
0
0
0.027027
0.239006
0.009675
0
0
0
0
0
1
0
false
0
0.189189
0
0.243243
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3613f5cee775c897154f14b0543517497cede7c3
2,797
py
Python
label_studio_withoutsignin/tasks/migrations/0005_auto_20210309_1239.py
DimaVinnitsa/label-studio
b33ef9edc5efef5f5a073e3a457832278afbf2cf
[ "Apache-2.0" ]
null
null
null
label_studio_withoutsignin/tasks/migrations/0005_auto_20210309_1239.py
DimaVinnitsa/label-studio
b33ef9edc5efef5f5a073e3a457832278afbf2cf
[ "Apache-2.0" ]
null
null
null
label_studio_withoutsignin/tasks/migrations/0005_auto_20210309_1239.py
DimaVinnitsa/label-studio
b33ef9edc5efef5f5a073e3a457832278afbf2cf
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.4 on 2021-03-09 12:39 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("tasks", "0004_auto_20210...
35.858974
231
0.568466
294
2,797
5.244898
0.431973
0.046693
0.081064
0.094034
0.191959
0.166018
0.11284
0
0
0
0
0.021288
0.345013
2,797
77
232
36.324675
0.820415
0.016089
0
0.450704
1
0.042254
0.306545
0.030182
0
0
0
0
0
1
0
false
0.014085
0.070423
0
0.112676
0
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
36154f6dc7046753115f6b583d6f4e4c3e0240bc
1,724
py
Python
tkinter_entryform.py
shreyansh-1711/Tkinters-Projects
a2d5f80a9a934ab103f6de21f988548288ce552d
[ "Apache-2.0" ]
1
2021-11-19T12:19:12.000Z
2021-11-19T12:19:12.000Z
tkinter_entryform.py
shreyansh-1711/Tkinters-Projects
a2d5f80a9a934ab103f6de21f988548288ce552d
[ "Apache-2.0" ]
null
null
null
tkinter_entryform.py
shreyansh-1711/Tkinters-Projects
a2d5f80a9a934ab103f6de21f988548288ce552d
[ "Apache-2.0" ]
null
null
null
from tkinter import * root = Tk() root.geometry("700x700") Gender = StringVar() check = StringVar() var_name = StringVar() var_password = StringVar() def show(): if(check.get()=="1"): result = f"Your name is : {var_name.get()}\n Your password is : {var_password.get()}" print(result) l...
36.680851
119
0.686775
272
1,724
4.257353
0.305147
0.07772
0.094991
0.146805
0.360967
0.322971
0.278066
0.217617
0.217617
0.129534
0
0.051247
0.139791
1,724
47
120
36.680851
0.729602
0
0
0
0
0
0.241811
0
0
0
0
0
0
1
0.029412
false
0.176471
0.029412
0
0.058824
0.029412
0
0
0
null
0
0
0
0
0
0
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
3615a852bd3e4e5c4ae6face5feab9eec5d32b83
173
py
Python
unique_key.py
Akshara2820/Json
ce5f5bc980a9eaf83832842c2de3dddc59c6c0b2
[ "MIT" ]
null
null
null
unique_key.py
Akshara2820/Json
ce5f5bc980a9eaf83832842c2de3dddc59c6c0b2
[ "MIT" ]
null
null
null
unique_key.py
Akshara2820/Json
ce5f5bc980a9eaf83832842c2de3dddc59c6c0b2
[ "MIT" ]
null
null
null
import json dic={ "a": 1, "a": 2, "a": 3, "a": 4, "b": 1, "b": 2 } with open('unique_keys.json','w') as data: json.dump(dic,data,indent=2)
12.357143
43
0.445087
29
173
2.62069
0.62069
0
0
0
0
0
0
0
0
0
0
0.059322
0.317919
173
13
44
13.307692
0.584746
0
0
0
0
0
0.14375
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
361882d5a81ad75540f9f8496c4ec6ba3ddab250
2,260
py
Python
polling_stations/apps/data_collection/management/commands/import_vale_of_white_horse.py
mtravis/UK-Polling-Stations
26e0331dc29253dc436a0462ffaa01e974c5dc52
[ "BSD-3-Clause" ]
null
null
null
polling_stations/apps/data_collection/management/commands/import_vale_of_white_horse.py
mtravis/UK-Polling-Stations
26e0331dc29253dc436a0462ffaa01e974c5dc52
[ "BSD-3-Clause" ]
null
null
null
polling_stations/apps/data_collection/management/commands/import_vale_of_white_horse.py
mtravis/UK-Polling-Stations
26e0331dc29253dc436a0462ffaa01e974c5dc52
[ "BSD-3-Clause" ]
null
null
null
from data_collection.management.commands import BaseXpressDemocracyClubCsvImporter class Command(BaseXpressDemocracyClubCsvImporter): council_id = "E07000180" addresses_name = ( "local.2019-05-02/Version 1/Democracy Club Data Vale of White Horse.tsv" ) stations_name = ( "local.2019-05-...
29.736842
100
0.556637
197
2,260
6.238579
0.588832
0.026037
0.039056
0.031733
0.185517
0.099268
0.099268
0.099268
0.099268
0.099268
0
0.253036
0.344248
2,260
75
101
30.133333
0.576248
0.111062
0
0.196721
0
0
0.271593
0.023964
0
0
0
0
0
1
0.032787
false
0
0.032787
0
0.213115
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1