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
73b8db5714154072049f41562b46bb8f89e7deee
1,233
py
Python
shortest-paths.py
SAUSy-Lab/map-speed-test
0c9e78056017a247976ff63782c6366c5a724bf4
[ "MIT" ]
2
2017-03-31T02:16:57.000Z
2019-07-13T14:31:04.000Z
shortest-paths.py
SAUSy-Lab/map-speed-test
0c9e78056017a247976ff63782c6366c5a724bf4
[ "MIT" ]
10
2017-01-07T04:26:41.000Z
2017-03-07T21:00:27.000Z
shortest-paths.py
SAUSy-Lab/map-speed-test
0c9e78056017a247976ff63782c6366c5a724bf4
[ "MIT" ]
null
null
null
# calculate shortest paths between OD pairs # in the map_speed_od postgis table # update the shortest path geometry into the table import requests, json, psycopg2 # get OD pairs from DB conn_string = ( "host='localhost' dbname='' user='' password=''" ) connection = psycopg2.connect(conn_string) connection.autocommit ...
25.163265
103
0.687753
179
1,233
4.631285
0.536313
0.038601
0.036188
0.048251
0.060314
0.060314
0
0
0
0
0
0.035171
0.146796
1,233
48
104
25.6875
0.752852
0.193836
0
0.054054
0
0
0.477642
0.145325
0
0
0
0
0
0
null
null
0.027027
0.027027
null
null
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
73b9218ed262aae642dc0406539a72aa91d888bc
320
py
Python
my_tools/tools_for_os/for_file.py
Alex2Yang97/waiting_time_project
649dbaa4bd45b9b9974a5b71a8ee17fada07bcc9
[ "MIT" ]
null
null
null
my_tools/tools_for_os/for_file.py
Alex2Yang97/waiting_time_project
649dbaa4bd45b9b9974a5b71a8ee17fada07bcc9
[ "MIT" ]
12
2020-11-13T17:16:58.000Z
2021-04-23T01:25:17.000Z
my_tools/tools_for_os/for_file.py
Alex2Yang97/waiting_time_project
649dbaa4bd45b9b9974a5b71a8ee17fada07bcc9
[ "MIT" ]
null
null
null
#-*- coding:utf-8 -*- # @Time : 2020-02-15 15:49 # @Author : Zhirui(Alex) Yang # @Function : import os def create_folder(folder_name): if not os.path.exists(folder_name): os.makedirs(folder_name) print(folder_name, 'has created!') else: print(folder_name, 'already existed!')
17.777778
46
0.61875
43
320
4.465116
0.697674
0.260417
0.15625
0
0
0
0
0
0
0
0
0.053061
0.234375
320
17
47
18.823529
0.730612
0.284375
0
0
0
0
0.125561
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0.285714
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
73c50231a058cf0ef478478e7a36afc7a3fd3081
3,481
py
Python
src/cam_loop.py
stay-whimsical/screamchess
4950d480f8f33db2bc3f2d94eea5dc6706ae8087
[ "MIT" ]
2
2019-06-19T20:25:12.000Z
2021-06-04T04:43:36.000Z
src/cam_loop.py
pablo-meier/screamchess
4950d480f8f33db2bc3f2d94eea5dc6706ae8087
[ "MIT" ]
8
2017-08-19T07:09:55.000Z
2017-08-20T21:11:11.000Z
src/cam_loop.py
pablo-meier/screamchess
4950d480f8f33db2bc3f2d94eea5dc6706ae8087
[ "MIT" ]
1
2020-04-17T00:19:43.000Z
2020-04-17T00:19:43.000Z
from camera import board_image_processor as bip from chess.models import * import cv2 import numpy as np from media.sound import * def show_webcam(mirror=False): cam = cv2.VideoCapture(0) while True: ret_val, img = cam.read() #chess_state = process_image(img) cv2.imshow('webcam', img) ...
33.152381
72
0.564493
452
3,481
4.128319
0.316372
0.127546
0.036442
0.066452
0.219185
0.161308
0.102894
0.053591
0
0
0
0.046472
0.320023
3,481
104
73
33.471154
0.741867
0.076128
0
0.117647
0
0
0.057063
0
0
0
0
0
0
0
null
null
0
0.058824
null
null
0.082353
0
0
0
null
0
0
0
0
0
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
73c5ed5d0d7202bd31940ec8f1e4251cfbaeba8a
10,054
py
Python
app/views.py
allthingsclowd/K5_User_Onboarding_Example
313b0033ceb015cca86574762915e02000d4bbbb
[ "MIT" ]
null
null
null
app/views.py
allthingsclowd/K5_User_Onboarding_Example
313b0033ceb015cca86574762915e02000d4bbbb
[ "MIT" ]
null
null
null
app/views.py
allthingsclowd/K5_User_Onboarding_Example
313b0033ceb015cca86574762915e02000d4bbbb
[ "MIT" ]
null
null
null
#!/usr/bin/python """Summary - Flask Views Used to Control/Wrap a web UI around the Add User Python Script Author: Graham Land Date: 08/12/16 Twitter: @allthingsclowd Github: https://github.com/allthingscloud Blog: https://allthingscloud.eu """ from flask import flash, render_template, session,...
41.717842
98
0.514919
834
10,054
6.118705
0.266187
0.028023
0.027435
0.027435
0.321967
0.304527
0.222614
0.209289
0.209289
0.209289
0
0.007213
0.379451
10,054
240
99
41.891667
0.810707
0.118958
0
0.337349
0
0
0.157774
0.017937
0
0
0
0
0
1
0.036145
false
0.072289
0.036145
0
0.174699
0
0
0
0
null
0
0
0
0
0
0
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
73c9920f5c36cc9f240880ba80cb675e0c7cb5ca
5,135
py
Python
readux/books/abbyyocr.py
jpkarlsberg/readux
50a895dcf7d64b753a07808e9be218cab3682850
[ "Apache-2.0" ]
null
null
null
readux/books/abbyyocr.py
jpkarlsberg/readux
50a895dcf7d64b753a07808e9be218cab3682850
[ "Apache-2.0" ]
null
null
null
readux/books/abbyyocr.py
jpkarlsberg/readux
50a895dcf7d64b753a07808e9be218cab3682850
[ "Apache-2.0" ]
null
null
null
''' :class:`eulxml.xmlmap.XmlObject` classes for working with ABBYY FineReadux OCR XML. Currently supports **FineReader6-schema-v1** and **FineReader8-schema-v2**. ---- ''' from eulxml import xmlmap class Base(xmlmap.XmlObject): '''Base :class:`eulxml.xmlmap.XmlObject` for ABBYY OCR XML with common namespace...
36.161972
84
0.651996
587
5,135
5.669506
0.301533
0.091947
0.055288
0.033654
0.212139
0.170673
0.110577
0.110577
0.084135
0.084135
0
0.004467
0.21519
5,135
141
85
36.41844
0.82134
0.255696
0
0.222222
0
0
0.359759
0.013942
0
0
0
0
0
1
0.011111
false
0
0.011111
0
0.544444
0
0
0
0
null
0
0
0
0
0
0
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
73cb0638be23bf0c8d4dd43c1030dd71337f3c61
2,330
py
Python
tests/test_markdown_in_code_cells.py
st--/jupytext
f8e8352859cc22e17b11154d0770fd946c4a430a
[ "MIT" ]
5,378
2018-09-01T22:03:43.000Z
2022-03-31T06:51:42.000Z
tests/test_markdown_in_code_cells.py
st--/jupytext
f8e8352859cc22e17b11154d0770fd946c4a430a
[ "MIT" ]
812
2018-08-31T08:26:13.000Z
2022-03-30T18:12:11.000Z
tests/test_markdown_in_code_cells.py
st--/jupytext
f8e8352859cc22e17b11154d0770fd946c4a430a
[ "MIT" ]
380
2018-09-02T01:40:07.000Z
2022-03-25T13:57:23.000Z
"""Issue #712""" from nbformat.v4.nbbase import new_code_cell, new_notebook from jupytext import reads, writes from jupytext.cell_to_text import three_backticks_or_more from jupytext.compare import compare, compare_notebooks from .utils import requires_myst def test_three_backticks_or_more(): assert three_backt...
17.923077
63
0.564807
260
2,330
4.707692
0.203846
0.058824
0.104575
0.130719
0.710784
0.689542
0.689542
0.637255
0.544118
0.544118
0
0.003356
0.232618
2,330
129
64
18.062016
0.681208
0.004292
0
0.71
0
0
0.223404
0
0
0
0
0
0.06
1
0.04
false
0
0.05
0
0.09
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
73cd6b9d543cd1b702c785eacf0e7b85b40a9737
629
py
Python
amy/workshops/migrations/0152_event_open_ttt_applications.py
code-review-doctor/amy
268c1a199510457891459f3ddd73fcce7fe2b974
[ "MIT" ]
53
2015-01-10T17:39:19.000Z
2019-06-12T17:36:34.000Z
amy/workshops/migrations/0152_event_open_ttt_applications.py
code-review-doctor/amy
268c1a199510457891459f3ddd73fcce7fe2b974
[ "MIT" ]
1,176
2015-01-02T06:32:47.000Z
2019-06-18T11:57:47.000Z
amy/workshops/migrations/0152_event_open_ttt_applications.py
code-review-doctor/amy
268c1a199510457891459f3ddd73fcce7fe2b974
[ "MIT" ]
44
2015-01-03T15:08:56.000Z
2019-06-09T05:33:08.000Z
# Generated by Django 2.1 on 2018-09-02 14:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('workshops', '0151_auto_20180902_0409'), ] operations = [ migrations.AddField( model_name='event', name='open_TTT_appli...
33.105263
281
0.677266
82
629
5.097561
0.768293
0.064593
0
0
0
0
0
0
0
0
0
0.061983
0.230525
629
18
282
34.944444
0.801653
0.068362
0
0
1
0.083333
0.416096
0.075342
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
73cf528b5a42e68ea53f81fc68bbf5a7a0f2cf10
688
py
Python
noheavenbot/cogs/commands/testing.py
Molanito13/noheaven-bot
ad126d4601321ecabff9d1d214ce7d3f4e258c3e
[ "MIT" ]
3
2018-10-13T14:05:24.000Z
2018-12-25T21:40:21.000Z
noheavenbot/cogs/commands/testing.py
Molanito13/noheaven-bot
ad126d4601321ecabff9d1d214ce7d3f4e258c3e
[ "MIT" ]
2
2018-10-08T14:33:39.000Z
2020-03-02T18:00:47.000Z
noheavenbot/cogs/commands/testing.py
Molanito13/noheaven-bot
ad126d4601321ecabff9d1d214ce7d3f4e258c3e
[ "MIT" ]
5
2018-10-08T14:18:58.000Z
2020-11-01T17:55:51.000Z
from discord.ext.commands import command, Cog from noheavenbot.utils.constants import TEXTCHANNELS from discord import Member from noheavenbot.utils.database_tables.table_users import Users from noheavenbot.utils.validator import has_role as check_role class Test(Cog): def __init__(self, bot): self.bot =...
28.666667
112
0.709302
92
688
5.195652
0.586957
0.094142
0.125523
0.075314
0
0
0
0
0
0
0
0.033149
0.210756
688
23
113
29.913043
0.847145
0
0
0
0
0
0.117733
0
0
0
0
0
0
1
0.117647
false
0
0.294118
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
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
73ddae6e14c41c647c3dc794212f25f68df13789
1,094
py
Python
Python/6-hc_sr04-sensor.py
matr1xprogrammer/raspberry_pi-iot
7ff8247fde839a23dd75720c58f3b04d86485ec4
[ "MIT" ]
2
2017-02-18T12:05:25.000Z
2017-02-18T12:15:53.000Z
Python/6-hc_sr04-sensor.py
matr1xprogrammer/raspberry_pi-iot
7ff8247fde839a23dd75720c58f3b04d86485ec4
[ "MIT" ]
null
null
null
Python/6-hc_sr04-sensor.py
matr1xprogrammer/raspberry_pi-iot
7ff8247fde839a23dd75720c58f3b04d86485ec4
[ "MIT" ]
null
null
null
#!/usr/bin/python # # HC-SR04 Ultrasonic ranging sensor # import RPi.GPIO as GPIO import sys, time try: GPIO.setmode(GPIO.BCM) TRIG = 23 ECHO = 24 print "Distance measurement in progress..." GPIO.setup(TRIG, GPIO.OUT) GPIO.setup(ECHO, GPIO.IN) GPIO.output(TRIG, False) whi...
22.791667
74
0.543876
128
1,094
4.585938
0.46875
0.051107
0.07155
0.064736
0.081772
0
0
0
0
0
0
0.034388
0.335466
1,094
47
75
23.276596
0.77304
0.045704
0
0.133333
0
0
0.1125
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
73de6cd753fb9320e7590a96928403d694712cd8
1,632
py
Python
hc/front/tests/test_add_pdc.py
IfBkg/healthchecks
dcd8a74c6b0bcdb0065e7c27d5b6639823400562
[ "BSD-3-Clause" ]
1
2020-07-13T15:33:31.000Z
2020-07-13T15:33:31.000Z
hc/front/tests/test_add_pdc.py
IfBkg/healthchecks
dcd8a74c6b0bcdb0065e7c27d5b6639823400562
[ "BSD-3-Clause" ]
53
2020-11-27T14:55:01.000Z
2021-04-22T10:01:13.000Z
hc/front/tests/test_add_pdc.py
IfBkg/healthchecks
dcd8a74c6b0bcdb0065e7c27d5b6639823400562
[ "BSD-3-Clause" ]
null
null
null
from django.test.utils import override_settings from hc.api.models import Channel from hc.test import BaseTestCase @override_settings(PD_VENDOR_KEY="foo") class AddPdConnectTestCase(BaseTestCase): def setUp(self): super().setUp() self.url = "/projects/%s/add_pdc/" % self.project.code def test...
34
76
0.677083
212
1,632
5.056604
0.316038
0.083955
0.033582
0.085821
0.399254
0.319963
0.319963
0.319963
0.319963
0.26959
0
0.028244
0.197304
1,632
47
77
34.723404
0.790076
0.007966
0
0.222222
0
0
0.105133
0.030921
0
0
0
0
0.194444
1
0.138889
false
0.111111
0.083333
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
73e0868276739ce21107e9b9452274d8030151db
2,568
py
Python
devel_notes/test_class_speed.py
mekhub/alphafold
8d89abf73ea07841b550b968aceae794acb244df
[ "MIT" ]
3
2019-05-15T16:46:20.000Z
2019-07-19T13:27:45.000Z
devel_notes/test_class_speed.py
mekhub/alphafold
8d89abf73ea07841b550b968aceae794acb244df
[ "MIT" ]
null
null
null
devel_notes/test_class_speed.py
mekhub/alphafold
8d89abf73ea07841b550b968aceae794acb244df
[ "MIT" ]
4
2020-02-08T02:43:01.000Z
2021-08-22T09:23:17.000Z
#!/usr/bin/python import time import sys import os from copy import deepcopy sys.path.append(os.path.join(os.getcwd(), '..')) from alphafold.partition import DynamicProgrammingData as DP def getval( DP, idx ): return DP.X[ idx ][ idx ] x = [[]]*500 for i in range( 500 ): x[i] = [0.0]*500 dx = deepcopy( x ) xcontr...
20.709677
60
0.575545
496
2,568
2.977823
0.120968
0.097495
0.074475
0.126608
0.698714
0.661476
0.625592
0.602573
0.587678
0.551794
0
0.14824
0.214564
2,568
123
61
20.878049
0.584036
0.060748
0
0.568421
0
0
0.152535
0
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.210526
0
0
0
null
0
0
0
0
0
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
73e9a8245d7f2b954b01c47bce5f6ddf87248068
781
py
Python
tym.py
tsyogesh40/Finger_recognition-Python-
4c1597cd246be1248bbfbb6cfc1ce1cbf5c4ecac
[ "MIT" ]
null
null
null
tym.py
tsyogesh40/Finger_recognition-Python-
4c1597cd246be1248bbfbb6cfc1ce1cbf5c4ecac
[ "MIT" ]
null
null
null
tym.py
tsyogesh40/Finger_recognition-Python-
4c1597cd246be1248bbfbb6cfc1ce1cbf5c4ecac
[ "MIT" ]
null
null
null
import datetime t=datetime.datetime.now() #date format weekday=t.strftime("%a") # %A for abbr day=t.strftime("%d") month=t.strftime("%b") #%B for abbr month_num=t.strftime("%m") year=t.strftime("%Y") date=t.strftime("%Y-%m-%d") print(date) #time format hour_12=t.strftime("%I") hour_24=t.strftime("%H") minutes=t....
17.75
55
0.641485
139
781
3.510791
0.323741
0.258197
0.067623
0.07377
0.131148
0.131148
0.131148
0.131148
0.131148
0.131148
0
0.035714
0.139565
781
43
56
18.162791
0.690476
0.112676
0
0.137931
0
0
0.094752
0
0
0
0
0
0
1
0.068966
false
0
0.034483
0
0.206897
0.172414
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
73f2bc3599ec98d3aba14c518c543be223219c33
4,759
py
Python
cytochrome-b6f-nn-np-model-kinetics.py
vstadnyt/cytochrome
546aa450fa6dc2758b079aba258e3572dd24d60c
[ "MIT" ]
null
null
null
cytochrome-b6f-nn-np-model-kinetics.py
vstadnyt/cytochrome
546aa450fa6dc2758b079aba258e3572dd24d60c
[ "MIT" ]
null
null
null
cytochrome-b6f-nn-np-model-kinetics.py
vstadnyt/cytochrome
546aa450fa6dc2758b079aba258e3572dd24d60c
[ "MIT" ]
1
2021-09-28T17:17:48.000Z
2021-09-28T17:17:48.000Z
import cytochrome_lib #This is a cytochrome library import matplotlib.pyplot as plt import numpy as np version = "Last update: Aug 8, 2017" desription = "This code calculates population distribution in the cytochrome b6f protein and plots kinetic profiles for two different models: \n'nn' and 'np' models \n The outpu...
36.328244
394
0.741963
891
4,759
3.753086
0.171717
0.019139
0.017943
0.016746
0.612739
0.571471
0.488337
0.45305
0.394737
0.325359
0
0.053446
0.103593
4,759
130
395
36.607692
0.730427
0.132801
0
0.313953
0
0.011628
0.177357
0
0
0
0
0
0
0
null
null
0
0.034884
null
null
0.034884
0
0
0
null
0
0
0
0
0
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
73fb16f86099e7cc34882ec8e6eb8ce6cb617a74
487
py
Python
processing/1_comset.py
acleclair/ICPC2020_GNN
a8b03de597e8f25c17503c3834c7956ecc8f2247
[ "MIT" ]
58
2020-04-09T20:29:34.000Z
2022-03-28T11:38:40.000Z
processing/1_comset.py
acleclair/ICPC2020_GNN
a8b03de597e8f25c17503c3834c7956ecc8f2247
[ "MIT" ]
11
2020-04-11T14:19:01.000Z
2021-11-27T07:38:41.000Z
processing/1_comset.py
acleclair/ICPC2020_GNN
a8b03de597e8f25c17503c3834c7956ecc8f2247
[ "MIT" ]
14
2020-06-15T14:32:03.000Z
2022-01-23T10:33:15.000Z
import pickle bad_fid = pickle.load(open('autogenfid.pkl', 'rb')) comdata = 'com_pp.txt' good_fid = [] outfile = './output/dataset.coms' fo = open(outfile, 'w') for line in open(comdata): tmp = line.split(',') fid = int(tmp[0].strip()) if bad_fid[fid]: continue com = tmp[1].strip() com...
20.291667
51
0.546201
71
487
3.690141
0.577465
0.045802
0
0
0
0
0
0
0
0
0
0.013699
0.250513
487
23
52
21.173913
0.70411
0
0
0.111111
1
0
0.137577
0.043121
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
0
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
73fbbcb7d6e336ad39011f035279ed591c9a4ab4
937
py
Python
src/create_scatterplot.py
djparente/coevol-utils
966a1f16872d72886b92cc3fa51f803412acc481
[ "BSD-3-Clause" ]
1
2016-03-13T05:26:40.000Z
2016-03-13T05:26:40.000Z
src/create_scatterplot.py
djparente/coevol-utils
966a1f16872d72886b92cc3fa51f803412acc481
[ "BSD-3-Clause" ]
null
null
null
src/create_scatterplot.py
djparente/coevol-utils
966a1f16872d72886b92cc3fa51f803412acc481
[ "BSD-3-Clause" ]
null
null
null
#!/cygdrive/c/Python27/python.exe # Daniel J. Parente, Ph.D. # Swint-Kruse Laboratory # Physician Scientist Training Program # University of Kansas Medical Center # This code is adapted from the example available at # http://pandasplotting.blogspot.com/2012/04/added-kde-to-scatter-matrix-diagonals.html # Creates a s...
28.393939
125
0.760939
145
937
4.889655
0.744828
0.036671
0
0
0
0
0
0
0
0
0
0.027879
0.11953
937
33
126
28.393939
0.831515
0.537887
0
0
0
0
0.054632
0
0
0
0
0
0
1
0
false
0
0.363636
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
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
73fea2fbc1c54c3ba581a8b82427643b53be014d
1,444
py
Python
manu_sawyer/src/tensorflow_model_is_gripping/grasp_example.py
robertocalandra/the-feeling-of-success
7bb895897e369ae9f5fcaeed61d401e019a9cdf1
[ "MIT" ]
10
2018-05-31T04:57:25.000Z
2021-05-28T11:22:29.000Z
manu_sawyer/src/tensorflow_model_is_gripping/grasp_example.py
robertocalandra/the-feeling-of-success
7bb895897e369ae9f5fcaeed61d401e019a9cdf1
[ "MIT" ]
null
null
null
manu_sawyer/src/tensorflow_model_is_gripping/grasp_example.py
robertocalandra/the-feeling-of-success
7bb895897e369ae9f5fcaeed61d401e019a9cdf1
[ "MIT" ]
3
2018-05-31T05:00:08.000Z
2019-02-25T06:32:45.000Z
import grasp_net, grasp_params, h5py, aolib.img as ig, os, numpy as np, aolib.util as ut net_pr = grasp_params.im_fulldata_v5() net_pr = grasp_params.gel_im_fulldata_v5() checkpoint_file = '/home/manu/ros_ws/src/manu_research/manu_sawyer/src/tensorflow_model_is_gripping/training/net.tf-6499' gpu = '/gpu:0' db_file = ...
40.111111
121
0.668975
229
1,444
3.991266
0.414847
0.019694
0.021882
0.035011
0.238512
0.238512
0.133479
0.067834
0
0
0
0.049875
0.166898
1,444
35
122
41.257143
0.709892
0.048476
0
0
0
0.08
0.25283
0.129057
0
0
0
0
0
0
null
null
0
0.04
null
null
0.04
0
0
0
null
0
0
0
0
0
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
73fecce467712a52b8aaf68f72a88091d6f9da83
418
py
Python
src/TestDice.py
Yamanama/CodeMonkeyApplication
4dc24016b96dbed5b8e833d5248dd76d1f3dfc08
[ "MIT" ]
null
null
null
src/TestDice.py
Yamanama/CodeMonkeyApplication
4dc24016b96dbed5b8e833d5248dd76d1f3dfc08
[ "MIT" ]
null
null
null
src/TestDice.py
Yamanama/CodeMonkeyApplication
4dc24016b96dbed5b8e833d5248dd76d1f3dfc08
[ "MIT" ]
null
null
null
import unittest from Dice import Dice class TestDice(unittest.TestCase): def setUp(self): self.sides = 8 self.dice = Dice(self.sides) def test_roll(self): for i in range(1000): self.assertLessEqual(self.dice.roll(), self.sides) def test_error(self): self.asse...
19.904762
62
0.636364
54
418
4.740741
0.555556
0.105469
0.09375
0.125
0
0
0
0
0
0
0
0.019231
0.253589
418
20
63
20.9
0.801282
0.035885
0
0
0
0
0.01995
0
0
0
0
0
0.153846
1
0.230769
false
0
0.153846
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
fb40d608ac0b102b80003c2f549912877d9e3d53
963
py
Python
wagtail/snippets/urls.py
brownaa/wagtail
c97bc56c6822eb1b6589d5c33e07f71acfc48845
[ "BSD-3-Clause" ]
2
2021-03-18T21:41:05.000Z
2021-03-18T21:41:08.000Z
wagtail/snippets/urls.py
brownaa/wagtail
c97bc56c6822eb1b6589d5c33e07f71acfc48845
[ "BSD-3-Clause" ]
13
2015-05-08T12:27:10.000Z
2020-01-23T14:45:57.000Z
wagtail/snippets/urls.py
brownaa/wagtail
c97bc56c6822eb1b6589d5c33e07f71acfc48845
[ "BSD-3-Clause" ]
2
2020-09-03T20:12:32.000Z
2021-03-29T08:29:23.000Z
from django.urls import path from wagtail.snippets.views import chooser, snippets app_name = 'wagtailsnippets' urlpatterns = [ path('', snippets.index, name='index'), path('choose/', chooser.choose, name='choose_generic'), path('choose/<slug:app_label>/<slug:model_name>/', chooser.choose, name='choose')...
45.857143
105
0.688474
132
963
4.886364
0.219697
0.086822
0.148837
0.19845
0.502326
0.409302
0.409302
0.274419
0.15814
0
0
0
0.094496
963
20
106
48.15
0.739679
0
0
0
0
0
0.470405
0.376947
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fb427d81000b8506419aa7780e97ffc579670c50
813
py
Python
tools_d2/convert-pretrain-model-to-d2.py
nguyentritai2906/panoptic-deeplab
6bbe17801488a417ed9586acab285ee6a05d68cb
[ "Apache-2.0" ]
506
2020-06-12T01:07:56.000Z
2022-03-26T00:56:52.000Z
tools_d2/convert-pretrain-model-to-d2.py
MrMa-T/panoptic-deeplab
cf8e20bbbf1cf540c7593434b965a93c4a889890
[ "Apache-2.0" ]
85
2020-06-12T04:51:31.000Z
2022-03-23T16:19:44.000Z
tools_d2/convert-pretrain-model-to-d2.py
MrMa-T/panoptic-deeplab
cf8e20bbbf1cf540c7593434b965a93c4a889890
[ "Apache-2.0" ]
102
2020-06-12T06:45:44.000Z
2022-03-22T14:03:04.000Z
#!/usr/bin/env python # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import pickle as pkl import sys import torch """ Usage: # download your pretrained model: wget https://github.com/LikeLy-Journey/SegmenTron/releases/download/v0.1.0/tf-xception65-270e81cf.pth -O x65.pth # run the conver...
24.636364
114
0.681427
123
813
4.365854
0.699187
0.044693
0.03352
0
0
0
0
0
0
0
0
0.060831
0.170972
813
32
115
25.40625
0.735905
0.109471
0
0
0
0
0.193333
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
fb4386dbb22354c808375368f8d1474f3605a181
2,953
py
Python
test_geo.py
OrrEos/IA-Flood-Warning-Project
af485560050c6e387aabf0bd7500b13de62f810f
[ "MIT" ]
null
null
null
test_geo.py
OrrEos/IA-Flood-Warning-Project
af485560050c6e387aabf0bd7500b13de62f810f
[ "MIT" ]
null
null
null
test_geo.py
OrrEos/IA-Flood-Warning-Project
af485560050c6e387aabf0bd7500b13de62f810f
[ "MIT" ]
1
2022-01-24T09:57:24.000Z
2022-01-24T09:57:24.000Z
import random from floodsystem.utils import sorted_by_key # noqa from floodsystem.geo import stations_by_distance, stations_within_radius, rivers_with_station, stations_by_river,rivers_by_station_number from floodsystem.stationdata import build_station_list '''def test_geo(): #Task 1A #does the function ...
29.828283
137
0.679986
432
2,953
4.513889
0.266204
0.06
0.066667
0.061538
0.230256
0.137949
0.102051
0.102051
0.102051
0.069744
0
0.04007
0.230952
2,953
99
138
29.828283
0.818582
0.299357
0
0.166667
0
0
0.042506
0
0
0
0
0
0.428571
1
0.119048
false
0
0.095238
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
1
0
0
0
0
0
0
0
0
0
1
fb4520cbe2999728bc66894639cfa8a36d53fb16
1,809
py
Python
pyActionRec/action_flow.py
Xiatian-Zhu/anet2016_cuhk
a0df08cbbe65013e9a259d5412c33a99c2c84127
[ "BSD-2-Clause" ]
253
2016-07-01T22:57:55.000Z
2022-03-01T10:59:31.000Z
pyActionRec/action_flow.py
Xiatian-Zhu/anet2016_cuhk
a0df08cbbe65013e9a259d5412c33a99c2c84127
[ "BSD-2-Clause" ]
39
2016-08-31T08:42:24.000Z
2021-12-11T06:56:47.000Z
pyActionRec/action_flow.py
Xiatian-Zhu/anet2016_cuhk
a0df08cbbe65013e9a259d5412c33a99c2c84127
[ "BSD-2-Clause" ]
101
2016-07-01T22:57:57.000Z
2022-03-08T07:26:53.000Z
from config import ANET_CFG import sys sys.path.append(ANET_CFG.DENSE_FLOW_ROOT+'/build') from libpydenseflow import TVL1FlowExtractor import action_caffe import numpy as np class FlowExtractor(object): def __init__(self, dev_id, bound=20): TVL1FlowExtractor.set_device(dev_id) self._et = TVL1F...
30.15
113
0.611388
264
1,809
3.981061
0.340909
0.077069
0.01903
0.060894
0.327307
0.31589
0.216936
0.203616
0.203616
0.163654
0
0.033088
0.248203
1,809
59
114
30.661017
0.739706
0
0
0.170732
0
0
0.040719
0
0
0
0
0
0
0
null
null
0
0.195122
null
null
0.02439
0
0
0
null
0
0
0
0
0
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
fb49836ffdfff81dfa3d877748d3c2b47f98f7fb
3,446
py
Python
googlecode-issues-exporter/generate_user_map.py
ballschin52/support-tools
85be996e89d292c7f20031dde88198acc63d5e6c
[ "Apache-2.0" ]
41
2016-05-03T02:27:07.000Z
2021-10-14T13:54:16.000Z
googlecode-issues-exporter/generate_user_map.py
ballschin52/support-tools
85be996e89d292c7f20031dde88198acc63d5e6c
[ "Apache-2.0" ]
7
2016-05-05T13:53:37.000Z
2021-06-27T20:25:13.000Z
googlecode-issues-exporter/generate_user_map.py
ballschin52/support-tools
85be996e89d292c7f20031dde88198acc63d5e6c
[ "Apache-2.0" ]
30
2016-05-05T13:26:21.000Z
2021-10-13T09:39:21.000Z
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
28.716667
78
0.702844
450
3,446
5.22
0.382222
0.051511
0.027246
0.025543
0.0298
0
0
0
0
0
0
0.003297
0.207777
3,446
119
79
28.957983
0.857143
0.165119
0
0
0
0
0.108705
0
0
0
0
0
0
0
null
null
0
0.070175
null
null
0.017544
0
0
0
null
0
0
0
0
0
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
fb4998788840ae0b088496c0b1aec6536f521b03
952
py
Python
apps/auth/views/wxlogin.py
rainydaygit/testtcloudserver
8037603efe4502726a4d794fb1fc0a3f3cc80137
[ "MIT" ]
349
2020-08-04T10:21:01.000Z
2022-03-23T08:31:29.000Z
apps/auth/views/wxlogin.py
rainydaygit/testtcloudserver
8037603efe4502726a4d794fb1fc0a3f3cc80137
[ "MIT" ]
2
2021-01-07T06:17:05.000Z
2021-04-01T06:01:30.000Z
apps/auth/views/wxlogin.py
rainydaygit/testtcloudserver
8037603efe4502726a4d794fb1fc0a3f3cc80137
[ "MIT" ]
70
2020-08-24T06:46:14.000Z
2022-03-25T13:23:27.000Z
from flask import Blueprint from apps.auth.business.wxlogin import WxLoginBusiness from apps.auth.extentions import validation, parse_json_form from library.api.render import json_detail_render wxlogin = Blueprint("wxlogin", __name__) @wxlogin.route('/', methods=['POST']) @validation('POST:wx_user_code') def wxuser...
25.052632
65
0.668067
109
952
5.614679
0.559633
0.078431
0.039216
0
0
0
0
0
0
0
0
0.022727
0.214286
952
37
66
25.72973
0.795455
0.387605
0
0
0
0
0.082164
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.545455
0.181818
0
0
0
null
0
0
0
0
0
0
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
fb4fa127bfbce18cd4fdeeaf2d1ebf19b58badc3
13,826
py
Python
run.py
openmg/mg-phm
e3bb05d6352f90ee40fdc4415ad8e1ed5857196f
[ "Apache-2.0" ]
null
null
null
run.py
openmg/mg-phm
e3bb05d6352f90ee40fdc4415ad8e1ed5857196f
[ "Apache-2.0" ]
null
null
null
run.py
openmg/mg-phm
e3bb05d6352f90ee40fdc4415ad8e1ed5857196f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import numpy as np import cv2 from scipy.misc import imsave import matplotlib.pyplot as plt import analysis import imageprocess import datainterface import imagemosaicking town_names = ['昂素镇', '敖勒召其镇', '布拉格苏木', '城川镇', '二道川乡', \ '毛盖图苏木', '三段地镇', '上海庙镇', '珠和苏木'] for index in rang...
41.39521
117
0.667872
1,845
13,826
4.692141
0.107859
0.124755
0.097724
0.099457
0.497054
0.387894
0.259443
0.231373
0.113665
0.091949
0
0.080161
0.188847
13,826
333
118
41.51952
0.691752
0.020324
0
0.010753
0
0
0.151208
0.046069
0.193548
0
0
0
0
0
null
null
0
0.043011
null
null
0.043011
0
0
0
null
0
0
0
0
0
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
fb515bfaa92002625ae59283942eea3a360391f0
467
py
Python
lib/mysocket.py
vanphuong12a2/pposter
fac6e289985909de059150ca860677dba9ade6c9
[ "MIT" ]
null
null
null
lib/mysocket.py
vanphuong12a2/pposter
fac6e289985909de059150ca860677dba9ade6c9
[ "MIT" ]
null
null
null
lib/mysocket.py
vanphuong12a2/pposter
fac6e289985909de059150ca860677dba9ade6c9
[ "MIT" ]
null
null
null
from flask_socketio import SocketIO NOTI = 'notification' class MySocket(): def __init__(self, app, async_mode): self.socketio = SocketIO(app, async_mode=async_mode) def get_socketio(self): return self.socketio def noti_emit(self, msg, room=None): if room: self.soc...
23.35
81
0.62955
58
467
4.896552
0.413793
0.169014
0.084507
0.140845
0.28169
0.28169
0.28169
0.28169
0
0
0
0
0.239829
467
19
82
24.578947
0.8
0
0
0
0
0
0.06424
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.083333
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
fb593493c97b14b708bc0b8b5a7f5e7166948d28
10,489
py
Python
Kelp/kelp.py
trondkr/particleDistributions
1f5be088150db92c985c00210951ab62521bf694
[ "MIT" ]
null
null
null
Kelp/kelp.py
trondkr/particleDistributions
1f5be088150db92c985c00210951ab62521bf694
[ "MIT" ]
1
2019-07-11T15:02:32.000Z
2019-07-11T16:57:03.000Z
Kelp/kelp.py
trondkr/particleDistributions
1f5be088150db92c985c00210951ab62521bf694
[ "MIT" ]
1
2019-12-23T06:49:29.000Z
2019-12-23T06:49:29.000Z
#!/usr/bin/env python from datetime import datetime, timedelta import numpy as np from opendrift.readers import reader_basemap_landmask from opendrift.readers import reader_ROMS_native from kelp.kelpClass import PelagicPlanktonDrift from opendrift.readers import reader_netCDF_CF_generic import logging import gdal imp...
38.992565
218
0.695586
1,218
10,489
5.885057
0.328407
0.005022
0.012556
0.010882
0.284319
0.203125
0.175223
0.146763
0.138951
0.138951
0
0.029656
0.160931
10,489
268
219
39.13806
0.784797
0.179331
0
0.030864
0
0.006173
0.160569
0.088246
0
0
0
0
0
0
null
null
0
0.098765
null
null
0.074074
0
0
0
null
0
0
0
0
0
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
fb5eea86a746925440911830c3d41121077c7f7a
472
py
Python
vimfiles/bundle/vim-python/submodules/pylint/tests/functional/s/star/star_needs_assignment_target_py35.py
ciskoinch8/vimrc
5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8
[ "MIT" ]
463
2015-01-15T08:17:42.000Z
2022-03-28T15:10:20.000Z
vimfiles/bundle/vim-python/submodules/pylint/tests/functional/s/star/star_needs_assignment_target_py35.py
ciskoinch8/vimrc
5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8
[ "MIT" ]
52
2015-01-06T02:43:59.000Z
2022-03-14T11:15:21.000Z
vimfiles/bundle/vim-python/submodules/pylint/tests/functional/s/star/star_needs_assignment_target_py35.py
ciskoinch8/vimrc
5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8
[ "MIT" ]
249
2015-01-07T22:49:49.000Z
2022-03-18T02:32:06.000Z
""" Test PEP 0448 -- Additional Unpacking Generalizations https://www.python.org/dev/peps/pep-0448/ """ # pylint: disable=superfluous-parens, unnecessary-comprehension UNPACK_TUPLE = (*range(4), 4) UNPACK_LIST = [*range(4), 4] UNPACK_SET = {*range(4), 4} UNPACK_DICT = {'a': 1, **{'b': '2'}} UNPACK_DICT2 = {**UNPACK_D...
29.5
81
0.641949
70
472
4.2
0.614286
0.061224
0.071429
0.132653
0
0
0
0
0
0
0
0.060533
0.125
472
15
82
31.466667
0.651332
0.194915
0
0
0
0
0.029197
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
fb623387f3a45681b01c77927c90b4d6cbbd3ef4
3,503
py
Python
ImageStabilizer.py
arthurscholz/UMN-AFM-Scripts
86b4d11f9f70f378200899c930d1fa38ad393c66
[ "MIT" ]
null
null
null
ImageStabilizer.py
arthurscholz/UMN-AFM-Scripts
86b4d11f9f70f378200899c930d1fa38ad393c66
[ "MIT" ]
null
null
null
ImageStabilizer.py
arthurscholz/UMN-AFM-Scripts
86b4d11f9f70f378200899c930d1fa38ad393c66
[ "MIT" ]
null
null
null
import numpy as np import picoscript import cv2 import HeightTracker import atexit print "Setting Parameters..." zDacRange = 0.215 # Sensor specific number windowSize = 3e-6 # window size in meters windowBLHCX = 3.5e-6 # window bottom left hand corner X-axis in meters windowBLHCY = 3.5e-6 # window bottom left hand c...
30.198276
96
0.663717
434
3,503
5.262673
0.334101
0.024518
0.021016
0.034151
0.226795
0.181261
0.181261
0.181261
0.154991
0.119965
0
0.0243
0.224665
3,503
116
97
30.198276
0.816642
0.091065
0
0.178571
0
0
0.034646
0
0
0
0
0
0
0
null
null
0
0.059524
null
null
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fb67712141abf405660b20968e896ccaf386184f
3,696
py
Python
src/commercetools/services/inventory.py
labd/commercetools-python-sdk
d8ec285f08d56ede2e4cad45c74833f5b609ab5c
[ "MIT" ]
15
2018-11-02T14:35:52.000Z
2022-03-16T07:51:44.000Z
src/commercetools/services/inventory.py
lime-green/commercetools-python-sdk
63b77f6e5abe43e2b3ebbf3cdbbe00c7cf80dca6
[ "MIT" ]
84
2018-11-02T12:50:32.000Z
2022-03-22T01:25:54.000Z
src/commercetools/services/inventory.py
lime-green/commercetools-python-sdk
63b77f6e5abe43e2b3ebbf3cdbbe00c7cf80dca6
[ "MIT" ]
13
2019-01-03T09:16:50.000Z
2022-02-15T18:37:19.000Z
# DO NOT EDIT! This file is automatically generated import typing from commercetools.helpers import RemoveEmptyValuesMixin from commercetools.platform.models.inventory import ( InventoryEntry, InventoryEntryDraft, InventoryEntryUpdate, InventoryEntryUpdateAction, InventoryPagedQueryResponse, ) from...
30.545455
88
0.623106
311
3,696
7.234727
0.266881
0.059111
0.055556
0.055556
0.311111
0.277778
0.263556
0.171111
0.171111
0.118667
0
0
0.28869
3,696
120
89
30.8
0.855839
0.052489
0
0.376238
1
0
0.040161
0
0
0
0
0
0
1
0.049505
false
0.029703
0.049505
0
0.188119
0
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
fb6a3d12a6011f130cb0dca995f5e63b890b615a
184
py
Python
Desafios/desafio48.py
ArthurBrito1/MY-SCRIPTS-PYTHON
86967fe293715a705ac50e908d3369fa3257b5a2
[ "MIT" ]
1
2019-11-21T02:08:58.000Z
2019-11-21T02:08:58.000Z
Desafios/desafio48.py
ArthurBrito1/MY-SCRIPTS-PYTHON
86967fe293715a705ac50e908d3369fa3257b5a2
[ "MIT" ]
null
null
null
Desafios/desafio48.py
ArthurBrito1/MY-SCRIPTS-PYTHON
86967fe293715a705ac50e908d3369fa3257b5a2
[ "MIT" ]
null
null
null
s = 0 cont = 0 for c in range(1, 501, 2): if c % 3 == 0: s = s + c cont = cont + 1 print('A soma de todos os {} valores solicitados é {}'.format(cont, s))
20.444444
72
0.483696
33
184
2.69697
0.666667
0
0
0
0
0
0
0
0
0
0
0.086207
0.369565
184
8
73
23
0.681034
0
0
0
0
0
0.262857
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
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
fb747216a8e33dd3a7c21862ae471a10d4ad3882
246
py
Python
setup.py
whistlebee/awis-py
01793c72b369e5e41c4d11b7ba67f71e47cee3ef
[ "Apache-2.0" ]
1
2020-09-04T18:50:32.000Z
2020-09-04T18:50:32.000Z
setup.py
whistlebee/awis-py
01793c72b369e5e41c4d11b7ba67f71e47cee3ef
[ "Apache-2.0" ]
1
2020-09-06T05:51:43.000Z
2020-09-19T09:27:56.000Z
setup.py
whistlebee/awis-py
01793c72b369e5e41c4d11b7ba67f71e47cee3ef
[ "Apache-2.0" ]
null
null
null
from setuptools import setup, find_packages setup( name='awis-py', version='0.0.2', url='https://github.com/whistlebee/awis-py', packages=find_packages(), install_requires=['requests', 'lxml'], python_requires='>=3.6' )
20.5
48
0.658537
32
246
4.9375
0.75
0.151899
0
0
0
0
0
0
0
0
0
0.024272
0.162602
246
11
49
22.363636
0.742718
0
0
0
0
0
0.268293
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
fb7811b122904a7fba10519297aa03213ea6aa2e
755
py
Python
deep-rl/lib/python2.7/site-packages/OpenGL/GLES2/vboimplementation.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
210
2016-04-09T14:26:00.000Z
2022-03-25T18:36:19.000Z
deep-rl/lib/python2.7/site-packages/OpenGL/GLES2/vboimplementation.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
72
2016-09-04T09:30:19.000Z
2022-03-27T17:06:53.000Z
deep-rl/lib/python2.7/site-packages/OpenGL/GLES2/vboimplementation.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
64
2016-04-09T14:26:49.000Z
2022-03-21T11:19:47.000Z
from OpenGL.arrays import vbo from OpenGL.GLES2.VERSION import GLES2_2_0 from OpenGL.GLES2.OES import mapbuffer class Implementation( vbo.Implementation ): """OpenGL-based implementation of VBO interfaces""" def __init__( self ): for name in self.EXPORTED_NAMES: for source in [ GLES2_2_0, m...
35.952381
73
0.561589
79
755
5.227848
0.531646
0.072639
0.050847
0
0
0
0
0
0
0
0
0.023158
0.370861
755
20
74
37.75
0.846316
0.059603
0
0
0
0
0.004261
0
0
0
0
0
0.055556
1
0.055556
false
0.055556
0.166667
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
fb7bbc55fb1c9399f6c93d62c5a66100a843787f
175
py
Python
examples/domainby.py
ipfinder/ip-finder-python
48ba093801d244c12a4583c138d62c94355baf28
[ "Apache-2.0" ]
8
2019-07-12T22:20:49.000Z
2022-03-01T09:03:58.000Z
examples/domainby.py
ipfinder/ip-finder-python
48ba093801d244c12a4583c138d62c94355baf28
[ "Apache-2.0" ]
2
2019-08-29T23:24:57.000Z
2021-02-01T15:15:16.000Z
examples/domainby.py
ipfinder/ip-finder-python
48ba093801d244c12a4583c138d62c94355baf28
[ "Apache-2.0" ]
5
2019-07-12T23:01:03.000Z
2021-07-07T11:11:44.000Z
import ipfinder con = ipfinder.config('f67f788f8a02a188ec84502e0dff066ed4413a85') # YOUR_TOKEN_GOES_HERE # domain name by = 'DZ'; dby = con.getDomainBy(by) print(dby.all)
15.909091
88
0.771429
21
175
6.285714
0.809524
0
0
0
0
0
0
0
0
0
0
0.168831
0.12
175
10
89
17.5
0.688312
0.182857
0
0
0
0
0.3
0.285714
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
fb8171ca82d4da70cd7cdba0a82012d267002dc5
4,227
py
Python
compuG/transformacionesPCarte copia.py
alejoso76/Computaci-n-gr-fica
474a498a328b8951aa0bfa1db2d0d1f3d8cc914b
[ "MIT" ]
null
null
null
compuG/transformacionesPCarte copia.py
alejoso76/Computaci-n-gr-fica
474a498a328b8951aa0bfa1db2d0d1f3d8cc914b
[ "MIT" ]
null
null
null
compuG/transformacionesPCarte copia.py
alejoso76/Computaci-n-gr-fica
474a498a328b8951aa0bfa1db2d0d1f3d8cc914b
[ "MIT" ]
null
null
null
import pygame import math #Dibuja triangulo y lo escala con el teclado ANCHO=600 ALTO=480 def dibujarPlano(o, pantalla): pygame.draw.line(pantalla, [0, 255, 0], [o[0], 0], [o[0], 480] ) pygame.draw.line(pantalla, [0, 255, 0], [0, o[1]], [640, o[1]] ) def dibujarTriangulo(a, b, c, plano): ''' pygame.dr...
32.767442
79
0.492548
511
4,227
4.050881
0.176125
0.047343
0.027053
0.054106
0.565217
0.543961
0.525604
0.487923
0.463768
0.463768
0
0.052961
0.356754
4,227
128
80
33.023438
0.708349
0.025313
0
0.376471
0
0
0.004607
0
0
0
0
0
0
0
null
null
0
0.023529
null
null
0.011765
0
0
0
null
0
0
0
0
0
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
fb8406595f2e94d2539b01b5e80bd41db3092f8b
1,667
py
Python
soccer_stats_calc/soccer_var_ana.py
steffens21/diesunddas
35222ff2ddac0b115dfd2e5b6764c6878af8d228
[ "MIT" ]
null
null
null
soccer_stats_calc/soccer_var_ana.py
steffens21/diesunddas
35222ff2ddac0b115dfd2e5b6764c6878af8d228
[ "MIT" ]
null
null
null
soccer_stats_calc/soccer_var_ana.py
steffens21/diesunddas
35222ff2ddac0b115dfd2e5b6764c6878af8d228
[ "MIT" ]
null
null
null
import sys from collections import deque import soccer_toolbox import csv_tools def fileToStats(csvfile, stat, nbrAgg): header, listRawData = csv_tools.loadData(csvfile) dictCol = csv_tools.getColumns(header) setTeams = csv_tools.getTeams(listRawData, dictCol['nColHomeTeam'], dictCol['nColAwayTeam']) ...
29.245614
96
0.619076
179
1,667
5.681564
0.324022
0.041298
0.026549
0.035398
0.230089
0.230089
0
0
0
0
0
0.006579
0.270546
1,667
56
97
29.767857
0.82977
0.0024
0
0.093023
0
0
0.041541
0
0
0
0
0
0
0
null
null
0
0.093023
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
fb8546895b2c19d3192fb1d824c0ca8782071aeb
895
py
Python
HelloWorldWebsite/searchTest/views.py
404NotFound-401/DjangoTutorial
8218b5308245b309c7cb36386306152378602b6d
[ "MIT" ]
null
null
null
HelloWorldWebsite/searchTest/views.py
404NotFound-401/DjangoTutorial
8218b5308245b309c7cb36386306152378602b6d
[ "MIT" ]
10
2019-09-07T20:30:34.000Z
2019-09-08T19:22:11.000Z
HelloWorldWebsite/searchTest/views.py
404NotFound-401/DjangoTutorial
8218b5308245b309c7cb36386306152378602b6d
[ "MIT" ]
1
2019-09-08T19:38:54.000Z
2019-09-08T19:38:54.000Z
from __future__ import unicode_literals from django.shortcuts import render, redirect from django.template import loader from django.http import HttpResponse from django.views import generic from .models import Movie from . import searchapi from django.urls import reverse # Create your views here. class Search(gener...
28.870968
66
0.684916
107
895
5.663551
0.514019
0.082508
0.049505
0.069307
0
0
0
0
0
0
0
0
0.221229
895
30
67
29.833333
0.86944
0.025698
0
0
0
0
0.130184
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.727273
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
fb8662bca964b254e5cebea057da8c25555e063b
27,693
py
Python
mapreduce/handlers.py
igeeker/v2ex
9fa81f7c82aa7d162a924d357494b241eb8a6207
[ "BSD-3-Clause" ]
161
2019-07-23T06:53:45.000Z
2022-03-24T01:07:19.000Z
mapreduce/handlers.py
igeeker/v2ex
9fa81f7c82aa7d162a924d357494b241eb8a6207
[ "BSD-3-Clause" ]
null
null
null
mapreduce/handlers.py
igeeker/v2ex
9fa81f7c82aa7d162a924d357494b241eb8a6207
[ "BSD-3-Clause" ]
26
2019-08-05T06:09:38.000Z
2021-07-08T02:05:13.000Z
#!/usr/bin/env python # # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
35.188056
80
0.680605
3,533
27,693
5.12822
0.152279
0.020642
0.012419
0.004471
0.373772
0.317254
0.280329
0.237223
0.200684
0.196766
0
0.001521
0.240386
27,693
786
81
35.232824
0.859764
0.106236
0
0.26087
0
0
0.075547
0.008175
0
0
0
0.006361
0
0
null
null
0
0.036232
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
fb8db21fcb68449e4d69cc6ce7881b29676db85c
864
py
Python
Numbers/floor_tiles_cost.py
lucasc896/Projects
01ec687b07e4b56554c89ecc244fe5979c489826
[ "MIT" ]
null
null
null
Numbers/floor_tiles_cost.py
lucasc896/Projects
01ec687b07e4b56554c89ecc244fe5979c489826
[ "MIT" ]
null
null
null
Numbers/floor_tiles_cost.py
lucasc896/Projects
01ec687b07e4b56554c89ecc244fe5979c489826
[ "MIT" ]
null
null
null
import math as ma # note all sizes in m^2 # all costs in pounds def get_details(): return {'w': get_value("Width:", float), 'h': get_value("Height:", float), 'cost': get_value("Cost per tile:", float),} def get_value(text = "enter_val", expected_type = None): while True: r_i...
23.351351
81
0.572917
126
864
3.690476
0.484127
0.068817
0
0
0
0
0
0
0
0
0
0.011236
0.278935
864
37
82
23.351351
0.735152
0.068287
0
0
0
0
0.198254
0
0
0
0
0
0.045455
0
null
null
0
0.045455
null
null
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fb9534493c6c33c290455dafb3878a1f3ed9246b
454
py
Python
opendbc/generator/test_generator.py
darknight111/openpilot3
a0c755fbe1889f26404a8225816f57e89fde7bc2
[ "MIT" ]
116
2018-03-07T09:00:10.000Z
2020-04-06T18:37:45.000Z
opendbc/generator/test_generator.py
darknight111/openpilot3
a0c755fbe1889f26404a8225816f57e89fde7bc2
[ "MIT" ]
66
2020-04-09T20:27:57.000Z
2022-01-27T14:39:24.000Z
opendbc/generator/test_generator.py
darknight111/openpilot3
a0c755fbe1889f26404a8225816f57e89fde7bc2
[ "MIT" ]
154
2020-04-08T21:41:22.000Z
2022-03-17T21:05:33.000Z
#!/usr/bin/env python3 import os import filecmp import tempfile from opendbc.generator.generator import create_all, opendbc_root def test_generator(): with tempfile.TemporaryDirectory() as d: create_all(d) ignore = [f for f in os.listdir(opendbc_root) if not f.endswith('_generated.dbc')] comp = filecmp...
26.705882
86
0.746696
67
454
4.910448
0.567164
0.100304
0.079027
0
0
0
0
0
0
0
0
0.005141
0.143172
454
16
87
28.375
0.840617
0.046256
0
0
0
0
0.111111
0
0
0
0
0
0.090909
1
0.090909
false
0
0.363636
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
fb97354673fa2e5ae7cab8bfd23169b53bcbcce7
254
py
Python
python/griddly/util/rllib/torch/agents/common.py
maichmueller/Griddly
25b978a08f13226de2831d0941af0f37fea12718
[ "MIT" ]
93
2020-05-29T14:36:46.000Z
2022-03-28T02:58:04.000Z
python/griddly/util/rllib/torch/agents/common.py
maichmueller/Griddly
25b978a08f13226de2831d0941af0f37fea12718
[ "MIT" ]
35
2020-07-22T16:43:03.000Z
2022-03-30T19:50:20.000Z
python/griddly/util/rllib/torch/agents/common.py
maichmueller/Griddly
25b978a08f13226de2831d0941af0f37fea12718
[ "MIT" ]
13
2020-07-22T08:24:28.000Z
2022-01-28T06:58:38.000Z
import numpy as np from torch import nn def layer_init(layer, std=np.sqrt(2), bias_const=0.0): """ Simple function to init layers """ nn.init.orthogonal_(layer.weight, std) nn.init.constant_(layer.bias, bias_const) return layer
21.166667
54
0.685039
40
254
4.225
0.6
0.106509
0
0
0
0
0
0
0
0
0
0.014778
0.200787
254
11
55
23.090909
0.817734
0.11811
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
fb9c65b9797d0529bc740e716a16f8507c95db85
1,567
py
Python
testframework/checkers/spanner_checker.py
emartech/ems-dataflow-testframework
c70b0768573e9c4af98173bb0b444dee442de53a
[ "MIT" ]
null
null
null
testframework/checkers/spanner_checker.py
emartech/ems-dataflow-testframework
c70b0768573e9c4af98173bb0b444dee442de53a
[ "MIT" ]
null
null
null
testframework/checkers/spanner_checker.py
emartech/ems-dataflow-testframework
c70b0768573e9c4af98173bb0b444dee442de53a
[ "MIT" ]
1
2022-02-17T19:56:44.000Z
2022-02-17T19:56:44.000Z
import logging from collections import Generator from typing import Dict from spanner import ems_spanner_client from tenacity import retry, stop_after_attempt, wait_fixed class SpannerChecker: STOP_AFTER_ATTEMPT_SECS = 15 WAIT_FIXED = 3 def __init__(self, project_id: str, instance_id: str, db_name: str)...
37.309524
103
0.685386
203
1,567
5.029557
0.349754
0.03526
0.062684
0.039177
0.060725
0
0
0
0
0
0
0.004878
0.215061
1,567
41
104
38.219512
0.825203
0
0
0
0
0
0.102106
0
0
0
0
0
0
1
0.1875
false
0
0.15625
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
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
fba184b6f53f7d77cbaf5e8e08d7ed47d47fd543
5,950
py
Python
vgg16_imagenet.py
jamccomb92/TransferLearningPneuomia
d476cb89dc75e51ea7bbbea3542590fe0e74dfaa
[ "MIT" ]
null
null
null
vgg16_imagenet.py
jamccomb92/TransferLearningPneuomia
d476cb89dc75e51ea7bbbea3542590fe0e74dfaa
[ "MIT" ]
null
null
null
vgg16_imagenet.py
jamccomb92/TransferLearningPneuomia
d476cb89dc75e51ea7bbbea3542590fe0e74dfaa
[ "MIT" ]
null
null
null
\ import os from keras import applications import keras import tensorflow as tf import time config = tf.ConfigProto() config.gpu_options.allow_growth = True keras.backend.tensorflow_backend.set_session(tf.Session(config=config)) from keras.models import Model from keras.layers import Input, Conv2D, MaxPooling2D, Fl...
58.910891
271
0.381849
416
5,950
5.302885
0.461538
0.032638
0.012693
0.029918
0.12602
0.12602
0.094288
0.059837
0.059837
0.059837
0
0.031444
0.567059
5,950
100
272
59.5
0.824922
0.377143
0
0.123077
0
0
0.080486
0.052982
0
0
0
0
0
1
0
false
0
0.169231
0
0.169231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fba6946e547a329b3ac4d404e2ef31baf20b094f
5,290
py
Python
pxr/base/tf/testenv/testTfStringUtils.py
DougRogers-DigitalFish/USD
d8a405a1344480f859f025c4f97085143efacb53
[ "BSD-2-Clause" ]
3,680
2016-07-26T18:28:11.000Z
2022-03-31T09:55:05.000Z
pxr/base/tf/testenv/testTfStringUtils.py
DougRogers-DigitalFish/USD
d8a405a1344480f859f025c4f97085143efacb53
[ "BSD-2-Clause" ]
1,759
2016-07-26T19:19:59.000Z
2022-03-31T21:24:00.000Z
pxr/base/tf/testenv/testTfStringUtils.py
DougRogers-DigitalFish/USD
d8a405a1344480f859f025c4f97085143efacb53
[ "BSD-2-Clause" ]
904
2016-07-26T18:33:40.000Z
2022-03-31T09:55:16.000Z
#!/pxrpythonsubst # # Copyright 2016 Pixar # # Licensed under the Apache License, Version 2.0 (the "Apache License") # with the following modification; you may not use this file except in # compliance with the Apache License and the following modification to it: # Section 6. Trademarks. is deleted and replaced with: # ...
38.613139
79
0.633648
659
5,290
5.028832
0.308042
0.113156
0.087206
0.050694
0.288775
0.246228
0.204285
0.190706
0.12764
0.095051
0
0.030497
0.23138
5,290
136
80
38.897059
0.784555
0.286578
0
0.105263
0
0
0.093733
0
0
0
0
0
0.5
1
0.092105
false
0
0.039474
0
0.144737
0
0
0
0
null
0
0
0
0
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
fba6b995d133300dd22ec22078918d89b609c5b5
4,300
py
Python
oui/return_arp.py
sukhjinderpalsingh/ansible
07669bfc1e072af670f32a6ba037513c470caf8d
[ "Unlicense" ]
4
2019-04-17T13:16:58.000Z
2020-05-05T23:07:35.000Z
oui/return_arp.py
sukhjinderpalsingh/ansible
07669bfc1e072af670f32a6ba037513c470caf8d
[ "Unlicense" ]
null
null
null
oui/return_arp.py
sukhjinderpalsingh/ansible
07669bfc1e072af670f32a6ba037513c470caf8d
[ "Unlicense" ]
1
2019-05-23T17:24:16.000Z
2019-05-23T17:24:16.000Z
#!/usr/bin/python import subprocess import sys import cgi import datetime import re import requests validMac = False ERROR = False form = cgi.FieldStorage() user = "READONLY_USER_HERE" pwd = "PASSWORD" OUI = form.getvalue('OUI') host = form.getvalue('HOST') def formatOUI(OUI): ot=OUI[0:2] ...
33.858268
172
0.428837
473
4,300
3.887949
0.331924
0.022839
0.019576
0.019576
0.109842
0.090266
0.069603
0.069603
0.069603
0.069603
0
0.022855
0.42
4,300
126
173
34.126984
0.714515
0.003721
0
0.165138
0
0.055046
0.238874
0.065672
0
0
0
0
0
0
null
null
0.018349
0.055046
null
null
0.293578
0
0
0
null
0
0
0
0
0
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
fbaa2cc659c7ec0bddf4650c7e382079513809ba
3,192
py
Python
darling_ansible/python_venv/lib/python3.7/site-packages/oci/monitoring/models/failed_metric_record.py
revnav/sandbox
f9c8422233d093b76821686b6c249417502cf61d
[ "Apache-2.0" ]
null
null
null
darling_ansible/python_venv/lib/python3.7/site-packages/oci/monitoring/models/failed_metric_record.py
revnav/sandbox
f9c8422233d093b76821686b6c249417502cf61d
[ "Apache-2.0" ]
null
null
null
darling_ansible/python_venv/lib/python3.7/site-packages/oci/monitoring/models/failed_metric_record.py
revnav/sandbox
f9c8422233d093b76821686b6c249417502cf61d
[ "Apache-2.0" ]
1
2020-06-25T03:12:58.000Z
2020-06-25T03:12:58.000Z
# coding: utf-8 # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
31.294118
245
0.658835
378
3,192
5.383598
0.325397
0.088452
0.117936
0.055037
0.39656
0.274693
0.199509
0.199509
0.199509
0.199509
0
0.007739
0.271303
3,192
101
246
31.60396
0.867154
0.536028
0
0.057143
0
0
0.061139
0
0
0
0
0
0
1
0.228571
false
0
0.057143
0.057143
0.485714
0
0
0
0
null
0
0
0
0
0
0
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
fbaf22f54791d4657c17a86b0e49e13fd65f1463
7,614
py
Python
options/train_options.py
fatalfeel/DeblurGAN
cc4ccf09d23b91389dbea70a34797cb80331819c
[ "BSD-3-Clause" ]
3
2021-07-12T07:38:32.000Z
2021-11-16T04:56:00.000Z
options/train_options.py
fatalfeel/DeblurGAN
cc4ccf09d23b91389dbea70a34797cb80331819c
[ "BSD-3-Clause" ]
1
2021-11-03T09:57:31.000Z
2021-11-04T03:00:49.000Z
options/train_options.py
fatalfeel/DeblurGAN
cc4ccf09d23b91389dbea70a34797cb80331819c
[ "BSD-3-Clause" ]
null
null
null
import os import torch import argparse from util import util def str2bool(b_str): if b_str.lower() in ('yes', 'true', 't', 'y', '1'): return True elif b_str.lower() in ('no', 'false', 'f', 'n', '0'): return False class TrainOptions(): def __init__(self): self.parser = argparse.Argu...
89.576471
237
0.582217
950
7,614
4.542105
0.283158
0.104287
0.129548
0.20927
0.295249
0.146698
0.107764
0.061645
0.061645
0.021321
0
0.016863
0.275676
7,614
84
238
90.642857
0.765549
0.03638
0
0.028169
0
0.028169
0.343972
0.019776
0
0
0
0
0
1
0.042254
false
0
0.056338
0
0.15493
0.042254
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fbb17de1e27a39093c5016a288d1b4d494da72ba
2,227
py
Python
backend/app/literature/schemas/cross_reference_schemas.py
alliance-genome/agr_literature_service
2278316422d5c3ab65e21bb97d91e861e48853c5
[ "MIT" ]
null
null
null
backend/app/literature/schemas/cross_reference_schemas.py
alliance-genome/agr_literature_service
2278316422d5c3ab65e21bb97d91e861e48853c5
[ "MIT" ]
39
2021-10-18T17:02:49.000Z
2022-03-28T20:56:24.000Z
backend/app/literature/schemas/cross_reference_schemas.py
alliance-genome/agr_literature_service
2278316422d5c3ab65e21bb97d91e861e48853c5
[ "MIT" ]
1
2021-10-21T00:11:18.000Z
2021-10-21T00:11:18.000Z
from typing import List, Optional from pydantic import BaseModel from pydantic import validator class CrossReferenceSchemaRelated(BaseModel): curie: str pages: Optional[List[str]] = None is_obsolete: Optional[bool] = None @validator('curie') def name_must_contain_space(cls, v): if v.coun...
24.472527
62
0.594073
216
2,227
6.018519
0.287037
0.064615
0.115385
0.092308
0.592308
0.473077
0.401538
0.316923
0.288462
0.223846
0
0.000645
0.303996
2,227
90
63
24.744444
0.838065
0
0
0.608696
0
0
0.07903
0.010777
0
0
0
0
0
1
0.014493
false
0
0.043478
0
0.565217
0
0
0
0
null
0
0
0
0
0
0
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
fbb43010f529aa881832d163b127b8c90dbb0317
4,445
py
Python
syft_proto/frameworks/crypten/onnx_model_pb2.py
vkkhare/syft-proto
513b4af50d7476bd5b1ff9dfb6da8528100f961d
[ "Apache-2.0" ]
null
null
null
syft_proto/frameworks/crypten/onnx_model_pb2.py
vkkhare/syft-proto
513b4af50d7476bd5b1ff9dfb6da8528100f961d
[ "Apache-2.0" ]
null
null
null
syft_proto/frameworks/crypten/onnx_model_pb2.py
vkkhare/syft-proto
513b4af50d7476bd5b1ff9dfb6da8528100f961d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: syft_proto/frameworks/crypten/onnx_model.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf im...
46.302083
516
0.783127
593
4,445
5.541315
0.22597
0.046561
0.063603
0.103469
0.574559
0.555691
0.493914
0.443701
0.366403
0.366403
0
0.031227
0.099438
4,445
95
517
46.789474
0.789658
0.068841
0
0.266667
1
0.013333
0.285092
0.247338
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0
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
fbbc5a0d2746e83d3a087caa18124913a0952155
519
py
Python
src/main/resources/pytz/zoneinfo/Asia/Brunei.py
TheEin/swagger-maven-plugin
cf93dce2d5c8d3534f4cf8c612b11e2d2313871b
[ "Apache-2.0" ]
65
2015-11-14T13:46:01.000Z
2021-08-14T05:54:04.000Z
lib/pytz/zoneinfo/Asia/Brunei.py
tjsavage/polymer-dashboard
19bc467f1206613f8eec646b6f2bc43cc319ef75
[ "CNRI-Python", "Linux-OpenIB" ]
13
2016-03-31T20:00:17.000Z
2021-08-20T14:52:31.000Z
lib/pytz/zoneinfo/Asia/Brunei.py
tjsavage/polymer-dashboard
19bc467f1206613f8eec646b6f2bc43cc319ef75
[ "CNRI-Python", "Linux-OpenIB" ]
20
2015-03-18T08:41:37.000Z
2020-12-18T02:58:30.000Z
'''tzinfo timezone information for Asia/Brunei.''' from pytz.tzinfo import DstTzInfo from pytz.tzinfo import memorized_datetime as d from pytz.tzinfo import memorized_ttinfo as i class Brunei(DstTzInfo): '''Asia/Brunei timezone definition. See datetime.tzinfo for details''' zone = 'Asia/Brunei' _utc_tran...
20.76
74
0.674374
82
519
4.182927
0.5
0.087464
0.122449
0.174927
0.169096
0
0
0
0
0
0
0.116009
0.169557
519
24
75
21.625
0.679814
0.210019
0
0
0
0
0.050251
0
0
0
0
0
0
1
0
false
0
0.1875
0
0.4375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fbbc6e1e7a5fe37234c1f6cec6987abfae3a501e
4,184
py
Python
raiden/tests/unit/test_messages.py
ConsenSysMesh/raiden
76510e5535fa0a1ceb26107b560f805f3d7d26d9
[ "MIT" ]
3
2017-04-24T01:09:28.000Z
2017-05-26T18:32:34.000Z
raiden/tests/unit/test_messages.py
ConsenSysMesh/raiden
76510e5535fa0a1ceb26107b560f805f3d7d26d9
[ "MIT" ]
1
2021-10-31T12:41:15.000Z
2021-10-31T12:41:15.000Z
raiden/tests/unit/test_messages.py
isabella232/raiden
76510e5535fa0a1ceb26107b560f805f3d7d26d9
[ "MIT" ]
1
2021-10-31T12:05:52.000Z
2021-10-31T12:05:52.000Z
# -*- coding: utf-8 -*- import pytest from raiden.messages import Ping, Ack, decode, Lock, MediatedTransfer from raiden.utils import make_privkey_address, sha3 PRIVKEY, ADDRESS = make_privkey_address() def test_signature(): ping = Ping(nonce=0) ping.sign(PRIVKEY, ADDRESS) assert ping.sender == ADDRESS ...
25.668712
70
0.675908
493
4,184
5.462475
0.144016
0.202005
0.06684
0.080208
0.500186
0.372818
0.261418
0.261418
0.092833
0.092833
0
0.017653
0.22825
4,184
162
71
25.82716
0.816352
0.010994
0
0.354331
0
0
0.007981
0
0
0
0
0.006173
0.133858
1
0.125984
false
0
0.023622
0.031496
0.188976
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
fbbdd496f48c965142da201326e11323ba150849
6,428
py
Python
python/helpful_scripts/circle_packing.py
Oilgrim/ivs_sim
95dc017ef2aec32173e73dc397ba00177d4f92ce
[ "MIT" ]
null
null
null
python/helpful_scripts/circle_packing.py
Oilgrim/ivs_sim
95dc017ef2aec32173e73dc397ba00177d4f92ce
[ "MIT" ]
null
null
null
python/helpful_scripts/circle_packing.py
Oilgrim/ivs_sim
95dc017ef2aec32173e73dc397ba00177d4f92ce
[ "MIT" ]
1
2019-08-07T03:16:47.000Z
2019-08-07T03:16:47.000Z
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Wed Jul 5 12:41:09 2017 @author: lracuna """ #!/usr/bin/env python """ This program uses a simple implementation of the ADMM algorithm to solve the circle packing problem. We solve minimize 1 subject to |x_i - x_j| > 2R, R < x_i, ...
31.665025
79
0.549471
970
6,428
3.583505
0.293814
0.020713
0.034522
0.009494
0.113349
0.045167
0.015535
0.015535
0.015535
0
0
0.024178
0.285781
6,428
203
80
31.665025
0.732956
0.042159
0
0.086331
0
0.014388
0.14297
0
0
0
0
0.004926
0
0
null
null
0
0.028777
null
null
0.035971
0
0
0
null
0
0
0
0
0
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
fbceb552efb8ef0ad3ab8ba19aa7104619c9f206
495
py
Python
Python/CeV/Exercicios/ex71.py
WerickL/Learning
5a9a488f0422454e612439b89093d5bc11242e65
[ "MIT" ]
null
null
null
Python/CeV/Exercicios/ex71.py
WerickL/Learning
5a9a488f0422454e612439b89093d5bc11242e65
[ "MIT" ]
null
null
null
Python/CeV/Exercicios/ex71.py
WerickL/Learning
5a9a488f0422454e612439b89093d5bc11242e65
[ "MIT" ]
null
null
null
Val = int(input('Digite o valor que você quer sacar:')) c50 = c20 = c10 = c1 = 0 if Val // 50 != 0: c50 = Val // 50 Val = Val % 50 if Val // 20 != 0: c20 = Val // 20 Val = Val % 20 if Val // 10 != 0: c10 = Val // 10 Val = Val % 10 if Val // 1 != 0: c1 = Val // 1 if c50 != 0: print(f'{c50...
23.571429
55
0.50303
96
495
2.59375
0.270833
0.080321
0.11245
0
0
0
0
0
0
0
0
0.209913
0.307071
495
21
56
23.571429
0.516035
0
0
0
0
0
0.260081
0
0
0
0
0
0
1
0
false
0
0
0
0
0.190476
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
fbd0e3db5f9cf99e22751e706aab58c1843471e9
801
bzl
Python
model/oppia_proto_library.bzl
bhaktideshmukh/oppia-android
94626909570ddbbd06d2cd691b49f357b986db0f
[ "Apache-2.0" ]
null
null
null
model/oppia_proto_library.bzl
bhaktideshmukh/oppia-android
94626909570ddbbd06d2cd691b49f357b986db0f
[ "Apache-2.0" ]
null
null
null
model/oppia_proto_library.bzl
bhaktideshmukh/oppia-android
94626909570ddbbd06d2cd691b49f357b986db0f
[ "Apache-2.0" ]
null
null
null
""" Bazel macros for defining proto libraries. """ load("@rules_proto//proto:defs.bzl", "proto_library") # TODO(#4096): Remove this once it's no longer needed. def oppia_proto_library(name, **kwargs): """ Defines a new proto library. Note that the library is defined with a stripped import prefix which en...
30.807692
99
0.689139
110
801
4.945455
0.6
0.132353
0.058824
0
0
0
0
0
0
0
0
0.006504
0.23221
801
25
100
32.04
0.878049
0.684145
0
0
0
0
0.20398
0.139303
0
0
0
0.04
0
1
0.142857
false
0
0.142857
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
fbd4f1c85388584979a3225e172df289b9b181ba
1,761
py
Python
mods/goofile.py
Natto97/discover
101d5457bad9345598720a49e4323b047030e496
[ "MIT" ]
1
2018-08-11T10:28:00.000Z
2018-08-11T10:28:00.000Z
mods/goofile.py
Natto97/discover
101d5457bad9345598720a49e4323b047030e496
[ "MIT" ]
null
null
null
mods/goofile.py
Natto97/discover
101d5457bad9345598720a49e4323b047030e496
[ "MIT" ]
1
2018-11-02T18:33:00.000Z
2018-11-02T18:33:00.000Z
#!/usr/bin/env python # Goofile v1.5a # by Thomas (G13) Richards # www.g13net.com # Project Page: code.google.com/p/goofile # TheHarvester used for inspiration # A many thanks to the Edge-Security team! # Modified by Lee Baird import getopt import httplib import re import string import sys global result r...
20.717647
71
0.609313
253
1,761
4.201581
0.501976
0.0254
0.022578
0.024459
0
0
0
0
0
0
0
0.019397
0.20954
1,761
84
72
20.964286
0.744253
0.126065
0
0.081967
0
0
0.213072
0.015033
0
0
0
0
0
0
null
null
0
0.081967
null
null
0.114754
0
0
0
null
0
0
0
0
0
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
fbdc68b03f388458c541749b935a1b91cef73dc0
155,379
py
Python
automate_online-materials/census2010.py
kruschk/automate-the-boring-stuff
2172fa9d1846b2ba9ead4e86971d72edd54f97b3
[ "MIT" ]
2
2020-01-18T16:01:24.000Z
2020-02-29T19:27:17.000Z
automate_online-materials/census2010.py
kruschk/automate-the-boring-stuff
2172fa9d1846b2ba9ead4e86971d72edd54f97b3
[ "MIT" ]
88
2019-10-31T12:30:02.000Z
2020-08-14T12:17:12.000Z
automate_online-materials/census2010.py
kruschk/automate-the-boring-stuff
2172fa9d1846b2ba9ead4e86971d72edd54f97b3
[ "MIT" ]
4
2020-08-17T16:49:06.000Z
2022-02-14T06:45:29.000Z
allData = {'AK': {'Aleutians East': {'pop': 3141, 'tracts': 1}, 'Aleutians West': {'pop': 5561, 'tracts': 2}, 'Anchorage': {'pop': 291826, 'tracts': 55}, 'Bethel': {'pop': 17013, 'tracts': 3}, 'Bristol Bay': {'pop': 997, 'tracts': 1}, 'Denali': {'pop': 1826, 'tracts': 1}, ...
49.436526
65
0.452481
16,002
155,379
4.393576
0.325772
0.032259
0.001067
0.00128
0.000512
0
0
0
0
0
0
0.180156
0.282664
155,379
3,143
66
49.436526
0.450623
0
0
0
0
0
0.331593
0
0
0
0
0
0
1
0
false
0.000318
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fbdcdec6f6daabaf8ab83907c267233eb37da60d
4,276
py
Python
Groups/Group_ID_18/CWMVFE.py
shekhar-sharma/DataScience
1fd771f873a9bc0800458fd7c05e228bb6c4e8a0
[ "MIT" ]
5
2020-12-13T07:53:22.000Z
2020-12-20T18:49:27.000Z
Groups/Group_ID_18/CWMVFE.py
Gulnaz-Tabassum/DataScience
1fd771f873a9bc0800458fd7c05e228bb6c4e8a0
[ "MIT" ]
null
null
null
Groups/Group_ID_18/CWMVFE.py
Gulnaz-Tabassum/DataScience
1fd771f873a9bc0800458fd7c05e228bb6c4e8a0
[ "MIT" ]
24
2020-12-12T11:23:28.000Z
2021-10-04T13:09:38.000Z
#MCCA (Multiview Canonical Correlation Analysis) import numpy as np from scipy import linalg as lin from sklearn.preprocessing import StandardScaler from sklearn.neighbors import KNeighborsClassifier class CWMVFE: def __init__(self,n_components=2,reg_param=0.01 , L): self.n_components = n_component...
32.641221
149
0.563143
676
4,276
3.357988
0.198225
0.059471
0.043612
0.044053
0.25815
0.206608
0.185463
0.130396
0.107489
0.084582
0
0.011332
0.31899
4,276
130
150
32.892308
0.768201
0
0
0.097826
0
0
0
0
0
0
0
0
0
0
null
null
0
0.043478
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
fbdfdcb0c2a9cd822c60b6faedf5d56ff354a6c6
1,071
py
Python
bfxhfindicators/wma.py
quadramadery/bfx-hf-indicators-py
fe523607ae6c16fc26f1bb1d5e8062a3770b43e4
[ "Apache-2.0" ]
1
2022-01-12T09:31:45.000Z
2022-01-12T09:31:45.000Z
bfxhfindicators/wma.py
quadramadery/bfx-hf-indicators-py
fe523607ae6c16fc26f1bb1d5e8062a3770b43e4
[ "Apache-2.0" ]
null
null
null
bfxhfindicators/wma.py
quadramadery/bfx-hf-indicators-py
fe523607ae6c16fc26f1bb1d5e8062a3770b43e4
[ "Apache-2.0" ]
null
null
null
from bfxhfindicators.indicator import Indicator class WMA(Indicator): def __init__(self, args = []): [ period ] = args d = 0 for i in range(period): d += (i + 1) self._d = d self._p = period self._buffer = [] super().__init__({ 'args': args, 'id': 'wma', 'name'...
18.152542
47
0.519141
150
1,071
3.493333
0.246667
0.229008
0.099237
0.040076
0.416031
0.362595
0.29771
0.251908
0.251908
0.251908
0
0.012295
0.316527
1,071
58
48
18.465517
0.703552
0
0
0.333333
0
0
0.028945
0
0
0
0
0
0
1
0.095238
false
0
0.02381
0
0.238095
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
836d607bb4f413a3224c84e9b615d0b74908dbb0
2,304
py
Python
ga4stpg/tree/generate.py
GiliardGodoi/ppgi-stpg-gpx
2097b086111e1cde423031c9a9d58f45b2b96353
[ "MIT" ]
null
null
null
ga4stpg/tree/generate.py
GiliardGodoi/ppgi-stpg-gpx
2097b086111e1cde423031c9a9d58f45b2b96353
[ "MIT" ]
5
2021-01-26T17:28:32.000Z
2021-03-14T13:46:48.000Z
ga4stpg/tree/generate.py
GiliardGodoi/ppgi-stpg-gpx
2097b086111e1cde423031c9a9d58f45b2b96353
[ "MIT" ]
1
2021-01-25T16:35:59.000Z
2021-01-25T16:35:59.000Z
from random import sample, shuffle from ga4stpg.graph import UGraph from ga4stpg.graph.disjointsets import DisjointSets class GenerateBasedPrimRST: def __init__(self, stpg): self.stpg = stpg def __call__(self): result = UGraph() terminals = self.stpg.terminals.copy() ...
27.105882
74
0.521267
286
2,304
4.06993
0.262238
0.089347
0.028351
0.03866
0.228522
0.152921
0.118557
0.118557
0.118557
0.118557
0
0.009142
0.382813
2,304
84
75
27.428571
0.809423
0.038194
0
0.344262
1
0
0
0
0
0
0
0
0
1
0.098361
false
0
0.04918
0
0.245902
0
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
83731763e6cbd3e1546d2f2ccc7d203e0567127e
1,411
py
Python
main/migrations/0028_auto_20170103_1634.py
jsmnbom/htxaarhuslan
5244c4e65f4912c5d2e193f1ac355b3206d1c1b8
[ "MIT" ]
1
2019-09-06T10:28:40.000Z
2019-09-06T10:28:40.000Z
main/migrations/0028_auto_20170103_1634.py
jsmnbom/htxaarhuslan
5244c4e65f4912c5d2e193f1ac355b3206d1c1b8
[ "MIT" ]
2
2018-10-22T10:33:04.000Z
2019-01-31T19:36:04.000Z
main/migrations/0028_auto_20170103_1634.py
jsmnbom/htxaarhuslan
5244c4e65f4912c5d2e193f1ac355b3206d1c1b8
[ "MIT" ]
1
2019-09-06T10:28:41.000Z
2019-09-06T10:28:41.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2017-01-03 15:34 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('main', '0027_auto_20170103_1130'), ] operations = ...
38.135135
159
0.59674
151
1,411
5.410596
0.536424
0.121175
0.073439
0.093023
0.124847
0.124847
0.124847
0.124847
0.124847
0
0
0.037464
0.262225
1,411
36
160
39.194444
0.747358
0.048193
0
0.068966
1
0
0.146269
0.017164
0
0
0
0
0
1
0
false
0
0.103448
0
0.206897
0
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
8373339dd9a549bf7c7f2156eb693bffea51c85a
6,207
py
Python
gw_grb_h_0_ppd_summaries.py
KamshatTazhenova/hh0
c71845056c5a108cb95654b1a1012d63034541c2
[ "MIT" ]
11
2017-07-04T06:56:17.000Z
2022-01-04T08:35:48.000Z
gw_grb_h_0_ppd_summaries.py
KamshatTazhenova/hh0
c71845056c5a108cb95654b1a1012d63034541c2
[ "MIT" ]
null
null
null
gw_grb_h_0_ppd_summaries.py
KamshatTazhenova/hh0
c71845056c5a108cb95654b1a1012d63034541c2
[ "MIT" ]
5
2017-07-07T10:00:19.000Z
2021-06-08T09:38:25.000Z
import numpy as np import matplotlib.pyplot as mp import matplotlib.cm as mpcm import matplotlib.colors as mpc import scipy.stats as ss # plotting settings lw = 1.5 mp.rc('font', family = 'serif') mp.rcParams['text.latex.preamble'] = [r'\boldmath'] mp.rcParams['axes.linewidth'] = lw mp.rcParams['lines.linewidth'] = lw...
33.733696
84
0.624617
1,203
6,207
2.995012
0.16542
0.043297
0.018318
0.027755
0.50902
0.424091
0.340272
0.206772
0.173744
0.149598
0
0.053565
0.163847
6,207
183
85
33.918033
0.640655
0.022555
0
0.11465
0
0
0.111955
0.021797
0
0
0
0
0
0
null
null
0
0.031847
null
null
0.10828
0
0
0
null
0
0
0
0
0
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
837a8a805f3fa86050a9f939d897eba29f04412d
1,713
py
Python
urduhack/stop_words.py
fahdrazavi/urduhack
a2370b0d8c1ee3f260ff90ca5056f45ed9b73ee8
[ "MIT" ]
null
null
null
urduhack/stop_words.py
fahdrazavi/urduhack
a2370b0d8c1ee3f260ff90ca5056f45ed9b73ee8
[ "MIT" ]
null
null
null
urduhack/stop_words.py
fahdrazavi/urduhack
a2370b0d8c1ee3f260ff90ca5056f45ed9b73ee8
[ "MIT" ]
null
null
null
# coding: utf8 """ Complete collection of stopwords for the Urdu language. Maintainer: Ikram Ali(mrikram1989@gmail.com) version = 2019.04.07 Source = https://github.com/urduhack/urdu-stopwords """ # Urdu Language Stop words list STOP_WORDS = frozenset(""" آ آئی آئیں آئے آتا آتی آتے آس آنا آنی آنے آپ آیا ابھی از اس ا...
57.1
101
0.76474
350
1,713
3.74
0.98
0.018335
0
0
0
0
0
0
0
0
0
0.009644
0.213076
1,713
29
102
59.068966
0.961424
0.126678
0
0
0
0
0.971083
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8385780ba677837b4c5c4c3d8cf272c764342143
385
py
Python
backend/todo/migrations/0008_auto_20190403_0812.py
Bhunesh2000/todoWithDjango
e5fa52a087180b66ae283e6b36fe790323d7b920
[ "MIT" ]
null
null
null
backend/todo/migrations/0008_auto_20190403_0812.py
Bhunesh2000/todoWithDjango
e5fa52a087180b66ae283e6b36fe790323d7b920
[ "MIT" ]
11
2019-04-03T09:49:17.000Z
2022-02-10T08:23:26.000Z
backend/todo/migrations/0008_auto_20190403_0812.py
Bhunesh2000/todoWithDjango
e5fa52a087180b66ae283e6b36fe790323d7b920
[ "MIT" ]
1
2019-10-21T19:26:29.000Z
2019-10-21T19:26:29.000Z
# Generated by Django 2.2 on 2019-04-03 08:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('todo', '0007_todo_dateevent'), ] operations = [ migrations.AlterField( model_name='todo', name='dateEvent', ...
20.263158
57
0.58961
41
385
5.463415
0.682927
0.053571
0.071429
0
0
0
0
0
0
0
0
0.094891
0.288312
385
18
58
21.388889
0.722628
0.111688
0
0
1
0
0.135294
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
838aa6ee041eb5a569fe74b2aa529125b8e2fda2
2,595
py
Python
scipy_util/util.py
idf/sci_util_py
53b4d961a1a8faeb444d2972ca7a2baf4a966f6e
[ "BSD-3-Clause" ]
null
null
null
scipy_util/util.py
idf/sci_util_py
53b4d961a1a8faeb444d2972ca7a2baf4a966f6e
[ "BSD-3-Clause" ]
1
2016-02-10T19:17:20.000Z
2016-02-10T20:04:59.000Z
scipy_util/util.py
idf/scipy_util
53b4d961a1a8faeb444d2972ca7a2baf4a966f6e
[ "BSD-3-Clause" ]
null
null
null
""" Adapted from https://github.com/bytefish/facerec """ import os from PIL import Image import numpy as np import random def read_image(filename): imarr = np.array([]) try: im = Image.open(os.path.join(filename)) im = im.convert("L") # convert to greyscale imarr = np.array(im, dtype=...
23.807339
74
0.570713
404
2,595
3.633663
0.274752
0.010899
0.024523
0.035422
0.337875
0.273842
0.250681
0.250681
0.194823
0.145777
0
0.016077
0.280925
2,595
109
75
23.807339
0.770632
0.03815
0
0.20339
0
0
0.020799
0
0
0
0
0
0
0
null
null
0
0.067797
null
null
0.033898
0
0
0
null
0
0
0
0
0
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
83927dd68fcacbf5d7c2a21161a37e8eb6342054
1,021
py
Python
Task2G.py
asew4/Flood-Warning-System-8
66f436caf8307232604b830e4dc4ab385de0556e
[ "MIT" ]
null
null
null
Task2G.py
asew4/Flood-Warning-System-8
66f436caf8307232604b830e4dc4ab385de0556e
[ "MIT" ]
null
null
null
Task2G.py
asew4/Flood-Warning-System-8
66f436caf8307232604b830e4dc4ab385de0556e
[ "MIT" ]
1
2022-02-06T02:27:29.000Z
2022-02-06T02:27:29.000Z
from floodsystem import stationdata, datafetcher, station stations = stationdata.build_station_list() stationdata.update_water_levels(stations) #Empty lists for each of the risk categories severe_level_station = [] high_level_station = [] moderate_level_station = [] low_level_station = [] for station in stations: #S...
30.939394
66
0.712047
142
1,021
4.873239
0.338028
0.225434
0.104046
0.144509
0.187861
0.187861
0.101156
0
0
0
0
0.007509
0.217434
1,021
32
67
31.90625
0.858573
0.115573
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.041667
0
0.041667
0.041667
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
839409e02d06e81916f52fdb0dab1efe39b69585
2,190
py
Python
rotation_analysis/analysis/probe/gui/gui.py
Sepidak/spikeGUI
25ae60160308c0a34e7180f3e39a1c4dc6aad708
[ "MIT" ]
null
null
null
rotation_analysis/analysis/probe/gui/gui.py
Sepidak/spikeGUI
25ae60160308c0a34e7180f3e39a1c4dc6aad708
[ "MIT" ]
3
2021-08-09T21:51:41.000Z
2021-08-09T21:51:45.000Z
rotation_analysis/analysis/probe/gui/gui.py
Sepidak/spikeGUI
25ae60160308c0a34e7180f3e39a1c4dc6aad708
[ "MIT" ]
3
2021-10-16T14:07:59.000Z
2021-10-16T17:09:03.000Z
import os import sys if sys.platform.startswith('linux'): from OpenGL import GL from PyQt5.QtQml import QQmlApplicationEngine from PyQt5.QtWidgets import QApplication from analysis.probe.gui.backend_classes import PythonBackendClass1, Logger from analysis.probe.gui.image_providers import PyplotImagePro...
35.322581
135
0.719635
245
2,190
6.261224
0.489796
0.067797
0.033898
0.068449
0.194915
0.095176
0
0
0
0
0
0.007332
0.190411
2,190
61
136
35.901639
0.857868
0.244292
0
0
0
0
0.135732
0
0
0
0
0.016393
0
1
0
false
0
0.194444
0
0.194444
0.027778
0
0
0
null
0
0
0
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
83944542d560f5e410e723d98ca83aade353b2f1
3,701
py
Python
test/integration/test_forcemerge.py
jgough/opensearch-curator
e8d7eb4d969eac551db9f99bd021d0c05e28dc35
[ "Apache-2.0" ]
null
null
null
test/integration/test_forcemerge.py
jgough/opensearch-curator
e8d7eb4d969eac551db9f99bd021d0c05e28dc35
[ "Apache-2.0" ]
null
null
null
test/integration/test_forcemerge.py
jgough/opensearch-curator
e8d7eb4d969eac551db9f99bd021d0c05e28dc35
[ "Apache-2.0" ]
null
null
null
import opensearchpy import curator import os import json import string import random import tempfile from time import sleep import click from click import testing as clicktest from mock import patch, Mock from . import CuratorTestCase from . import testvars as testvars import logging logger = logging.getLogger(__name...
37.765306
94
0.604431
431
3,701
5.053364
0.299304
0.033058
0.044995
0.055096
0.652893
0.652893
0.652893
0.652893
0.652893
0.652893
0
0.018189
0.286949
3,701
98
95
37.765306
0.807124
0.127803
0
0.541176
0
0
0.108385
0.025155
0
0
0
0
0.070588
1
0.035294
false
0
0.164706
0
0.223529
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
8398ea34b25e65cea834c631c5374561393da5cc
35,415
py
Python
tools/messages/aura4_messages.py
AuraUAS/aura-core
4711521074db72ba9089213e14455d89dc5306c0
[ "MIT", "BSD-2-Clause-FreeBSD" ]
8
2016-08-03T19:35:03.000Z
2019-12-15T06:25:05.000Z
tools/messages/aura4_messages.py
AuraUAS/aura-core
4711521074db72ba9089213e14455d89dc5306c0
[ "MIT", "BSD-2-Clause-FreeBSD" ]
4
2018-09-27T15:48:56.000Z
2018-11-05T12:38:10.000Z
tools/messages/aura4_messages.py
AuraUAS/aura-core
4711521074db72ba9089213e14455d89dc5306c0
[ "MIT", "BSD-2-Clause-FreeBSD" ]
5
2017-06-28T19:15:36.000Z
2020-02-19T19:31:24.000Z
import struct # Message id constants command_ack_id = 10 config_airdata_id = 11 config_board_id = 12 config_ekf_id = 13 config_imu_id = 14 config_mixer_id = 15 config_mixer_matrix_id = 16 config_power_id = 17 config_pwm_id = 18 config_stability_damping_id = 19 command_inceptors_id = 20 command_zero_gyros_id = 21 comma...
30.742188
86
0.472766
4,052
35,415
3.950888
0.070089
0.120557
0.069711
0.088138
0.67918
0.531014
0.519395
0.477794
0.434443
0.425448
0
0.08817
0.41906
35,415
1,151
87
30.768897
0.689948
0
0
0.474385
0
0
0.008508
0.004667
0
0
0
0
0
0
null
null
0
0.001025
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
83a488662edcd23d97eb9c55b24ca7fbca5d6193
7,727
py
Python
gw_full_latest/CloudTTN.py
rendikanyut/LowCostLoRaGw
a4bce0cf123ffeb48a01e779a62d76b1bf1c4486
[ "Linux-OpenIB" ]
654
2016-03-01T08:43:24.000Z
2022-03-22T06:55:27.000Z
gw_full_latest/CloudTTN.py
rendikanyut/LowCostLoRaGw
a4bce0cf123ffeb48a01e779a62d76b1bf1c4486
[ "Linux-OpenIB" ]
315
2016-02-25T10:36:11.000Z
2022-03-31T20:59:21.000Z
gw_full_latest/CloudTTN.py
rendikanyut/LowCostLoRaGw
a4bce0cf123ffeb48a01e779a62d76b1bf1c4486
[ "Linux-OpenIB" ]
388
2016-02-16T14:40:36.000Z
2022-03-15T04:03:20.000Z
#------------------------------------------------------------------------------- # Part of this Python script is taken from the Pycom NanoGateway # https://github.com/pycom/pycom-libraries/tree/master/examples/lorawan-nano-gateway # # Adapted by Congduc.Pham@univ-pau.fr # # This file is part of the low-cost LoRa gatewa...
31.410569
162
0.640611
1,171
7,727
4.133219
0.347566
0.022727
0.016529
0.016736
0.171281
0.118595
0.073141
0.073141
0.06405
0.06405
0
0.070015
0.208878
7,727
245
163
31.538776
0.721741
0.42125
0
0.101351
0
0
0.103104
0.006118
0
0
0
0.004082
0
0
null
null
0
0.067568
null
null
0.013514
0
0
0
null
0
0
0
0
0
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
83a940e2ed8e27f8008df09f81164f38241b0cc0
303
bzl
Python
examples/index.bzl
SebastianPodgajny/rules_nodejs
7d1fbd9b6751225f502eccf2a91d1059371d461d
[ "Apache-2.0" ]
null
null
null
examples/index.bzl
SebastianPodgajny/rules_nodejs
7d1fbd9b6751225f502eccf2a91d1059371d461d
[ "Apache-2.0" ]
null
null
null
examples/index.bzl
SebastianPodgajny/rules_nodejs
7d1fbd9b6751225f502eccf2a91d1059371d461d
[ "Apache-2.0" ]
null
null
null
"Used to reference the nested workspaces for examples in /WORKSPACE" ALL_EXAMPLES = [ "angular", "app", "kotlin", "nestjs", "parcel", "protocol_buffers", "user_managed_deps", "vendored_node", "vendored_node_and_yarn", "web_testing", "webapp", "worker", ]
18.9375
68
0.617162
32
303
5.5625
0.90625
0.134831
0
0
0
0
0
0
0
0
0
0
0.244224
303
15
69
20.2
0.777293
0.217822
0
0
0
0
0.610561
0.072607
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
83a97810070d0ec137e7706e16cb2e0d4e501275
2,611
py
Python
testproject/testproject/views.py
Najiva/django-tables2-column-shifter
90695d5890c4ef6d7ba58a189a53d712aa8b9e14
[ "BSD-3-Clause" ]
19
2017-01-04T19:17:57.000Z
2021-08-05T20:06:32.000Z
testproject/testproject/views.py
Najiva/django-tables2-column-shifter
90695d5890c4ef6d7ba58a189a53d712aa8b9e14
[ "BSD-3-Clause" ]
16
2017-02-20T20:24:01.000Z
2021-07-23T12:50:35.000Z
testproject/testproject/views.py
Najiva/django-tables2-column-shifter
90695d5890c4ef6d7ba58a189a53d712aa8b9e14
[ "BSD-3-Clause" ]
8
2017-01-26T07:15:54.000Z
2022-03-22T18:03:24.000Z
from django.views.generic import TemplateView from django_tables2.config import RequestConfig from django_tables2_column_shifter.tables import ( ColumnShiftTableBootstrap2, ColumnShiftTableBootstrap3, ColumnShiftTableBootstrap4, ColumnShiftTableBootstrap5, ) from .models import Author, Book from .tabl...
32.234568
86
0.73152
294
2,611
6.221088
0.251701
0.071077
0.074358
0.073811
0.392564
0.392564
0.318753
0.318753
0.291963
0.231821
0
0.024299
0.180391
2,611
80
87
32.6375
0.830374
0.016469
0
0.160714
0
0
0.155556
0.072515
0
0
0
0
0
1
0.017857
false
0.017857
0.089286
0
0.535714
0
0
0
0
null
0
0
0
0
0
0
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
83babd001889716c3b9b2382b50058698f6c9529
4,701
py
Python
resources.py
kordimsan/FreeWorker-Api
f4566d2d500328725c88d5fc5df7a4763cb4c185
[ "MIT" ]
null
null
null
resources.py
kordimsan/FreeWorker-Api
f4566d2d500328725c88d5fc5df7a4763cb4c185
[ "MIT" ]
null
null
null
resources.py
kordimsan/FreeWorker-Api
f4566d2d500328725c88d5fc5df7a4763cb4c185
[ "MIT" ]
null
null
null
#from flask_restful import Resource, reqparse from flask_restplus import Resource, reqparse,fields from models import UserModel, RevokedTokenModel from flask_jwt_extended import (create_access_token, create_refresh_token, jwt_required, jwt_refresh_token_required, get_jwt_identity, get_raw_jwt) from run import api pars...
34.313869
147
0.605829
502
4,701
5.48008
0.229084
0.05598
0.030534
0.043621
0.559069
0.551436
0.512904
0.473646
0.411123
0.295529
0
0.003235
0.27675
4,701
137
148
34.313869
0.805882
0.00936
0
0.45614
0
0
0.161477
0
0
0
0
0
0
1
0.087719
false
0.052632
0.035088
0.035088
0.342105
0
0
0
0
null
0
0
0
0
0
0
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
83bdd2c382d1213ade5ce2c23b12fd693e9a4c32
700
py
Python
example.py
six-two/py_derive_cmd
ae821f16a057a809166b287ab9f203a8cf4b34b3
[ "MIT" ]
null
null
null
example.py
six-two/py_derive_cmd
ae821f16a057a809166b287ab9f203a8cf4b34b3
[ "MIT" ]
null
null
null
example.py
six-two/py_derive_cmd
ae821f16a057a809166b287ab9f203a8cf4b34b3
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # pylint: disable=unused-wildcard-import from py_derive_cmd import * import cmd class MyCmd(cmd.Cmd): pass s = Settings(MyCmd, print_warnings=False) @make_command(s, 'Test for the decorator', aliases=['d']) def test_decorator(shell: MyCmd, req_arg: str, opt_arg: str = None): print('Dec...
25
96
0.708571
105
700
4.580952
0.485714
0.08316
0.049896
0
0
0
0
0
0
0
0
0.001681
0.15
700
28
97
25
0.806723
0.085714
0
0
0
0
0.176839
0
0
0
0
0
0
1
0.157895
false
0.052632
0.105263
0.052632
0.368421
0.315789
0
0
0
null
0
0
0
0
0
0
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
83be1a3a3ee334b7ce8506d005b0c751dcb0f57c
2,474
py
Python
tf_quant_finance/datetime/constants.py
slowy07/tf-quant-finance
0976f720fb58a2d7bfd863640c12a2425cd2f94f
[ "Apache-2.0" ]
3,138
2019-07-24T21:43:17.000Z
2022-03-30T12:11:09.000Z
tf_quant_finance/datetime/constants.py
Aarif1430/tf-quant-finance
9372eb1ddf2b48cb1a3d4283bc67a10647ddc7a6
[ "Apache-2.0" ]
63
2019-09-07T19:16:03.000Z
2022-03-29T19:29:40.000Z
tf_quant_finance/datetime/constants.py
Aarif1430/tf-quant-finance
9372eb1ddf2b48cb1a3d4283bc67a10647ddc7a6
[ "Apache-2.0" ]
423
2019-07-26T21:28:05.000Z
2022-03-26T13:07:44.000Z
# Lint as: python3 # Copyright 2019 Google LLC # # 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 or agr...
26.891304
80
0.696847
379
2,474
4.530343
0.485488
0.020967
0.024461
0.023296
0.236459
0.236459
0.220734
0.210833
0.210833
0.184042
0
0.040617
0.213824
2,474
91
81
27.186813
0.842159
0.660469
0
0
0
0
0
0
0
0
0
0.010989
0
1
0
false
0
0.026316
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
83c1d004633b6b337c6d2bc2c9a3fefc61d57d42
789
py
Python
setup.py
nakagami/pure-pyawabi
5ffafcaa381727af7f84013cf036a4e8f7dd51da
[ "MIT" ]
1
2021-12-13T11:29:04.000Z
2021-12-13T11:29:04.000Z
setup.py
nakagami/pure-pyawabi
5ffafcaa381727af7f84013cf036a4e8f7dd51da
[ "MIT" ]
null
null
null
setup.py
nakagami/pure-pyawabi
5ffafcaa381727af7f84013cf036a4e8f7dd51da
[ "MIT" ]
null
null
null
from setuptools import setup setup( name="pure-pyawabi", version="0.2.4", description='A morphological analyzer awabi clone', long_description=open('README.md', encoding='utf-8').read(), long_description_content_type="text/markdown", url='https://github.com/nakagami/pure-pyawabi/', classifi...
30.346154
64
0.628644
84
789
5.833333
0.761905
0.044898
0.102041
0
0
0
0
0
0
0
0
0.011254
0.21166
789
25
65
31.56
0.776527
0
0
0
0
0
0.476553
0
0
0
0
0
0
1
0
true
0
0.041667
0
0.041667
0
0
0
0
null
0
0
0
0
0
0
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
83c369bbe9d3c23a66d5fe993029ea43352f5559
676
py
Python
exopy_qm/tasks/tasks/GetIOValuesTask.py
rassouly/exopy_qm
82eb7e4b4fc7364df3462bb7faa7a0880d699afc
[ "BSD-3-Clause" ]
null
null
null
exopy_qm/tasks/tasks/GetIOValuesTask.py
rassouly/exopy_qm
82eb7e4b4fc7364df3462bb7faa7a0880d699afc
[ "BSD-3-Clause" ]
null
null
null
exopy_qm/tasks/tasks/GetIOValuesTask.py
rassouly/exopy_qm
82eb7e4b4fc7364df3462bb7faa7a0880d699afc
[ "BSD-3-Clause" ]
null
null
null
from exopy.tasks.api import (InstrumentTask) from atom.api import Unicode, Bool, set_default import sys from exopy_qm.utils.dynamic_importer import * class GetIOValuesTask(InstrumentTask): """ Gets the IO values """ get_io_1 = Bool(True).tag(pref=True) get_io_2 = Bool(True).tag(pref=True) datab...
26
58
0.653846
95
676
4.336842
0.452632
0.097087
0.029126
0.072816
0.092233
0
0
0
0
0
0
0.018797
0.213018
676
25
59
27.04
0.755639
0.026627
0
0
0
0
0.018576
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
83c3ff2e3e7205ac40f986b841cd8fa73336b765
1,158
py
Python
src/mem/ruby/network/garnet/fixed-pipeline/GarnetRouter_PNET_Container_d.py
pnkfb9/gem5_priority
fbf766277df78a470758cf7d798d12fb1e7c51c4
[ "BSD-3-Clause" ]
null
null
null
src/mem/ruby/network/garnet/fixed-pipeline/GarnetRouter_PNET_Container_d.py
pnkfb9/gem5_priority
fbf766277df78a470758cf7d798d12fb1e7c51c4
[ "BSD-3-Clause" ]
null
null
null
src/mem/ruby/network/garnet/fixed-pipeline/GarnetRouter_PNET_Container_d.py
pnkfb9/gem5_priority
fbf766277df78a470758cf7d798d12fb1e7c51c4
[ "BSD-3-Clause" ]
null
null
null
# Authors: Davide Zoni from m5.params import * from m5.proxy import * from BasicRouter import BasicRouter class GarnetRouter_PNET_Container_d(BasicRouter): type = 'GarnetRouter_PNET_Container_d' cxx_class = 'Router_PNET_Container_d' cxx_header = "mem/ruby/network/garnet/fixed-pipeline/Router_PNET_Containe...
52.636364
120
0.740069
147
1,158
5.619048
0.455782
0.048426
0.067797
0.11138
0.136804
0.089588
0.089588
0
0
0
0
0.004278
0.192573
1,158
21
121
55.142857
0.879144
0.080311
0
0
0
0
0.353107
0.110169
0
0
0
0
0
1
0
false
0
0.1875
0
0.8125
0
0
0
0
null
0
0
0
0
0
0
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
83c6045e3e675c58b5fec8fdf9881ebf94e9feda
334
py
Python
condition/models.py
SamusChief/myth-caster-api
76a43f48b70c6a4b509c90757d7906689799cc25
[ "MIT" ]
null
null
null
condition/models.py
SamusChief/myth-caster-api
76a43f48b70c6a4b509c90757d7906689799cc25
[ "MIT" ]
null
null
null
condition/models.py
SamusChief/myth-caster-api
76a43f48b70c6a4b509c90757d7906689799cc25
[ "MIT" ]
1
2021-08-14T18:46:52.000Z
2021-08-14T18:46:52.000Z
""" Models for Conditions app """ from django.db import models from common.models import OwnedModel class Condition(OwnedModel): """ Condition model """ name = models.CharField(unique=True, max_length=255, db_index=True) description = models.TextField() def __str__(self): return f'Condition:...
23.857143
71
0.700599
41
334
5.560976
0.682927
0
0
0
0
0
0
0
0
0
0
0.010989
0.182635
334
13
72
25.692308
0.824176
0.125749
0
0
0
0
0.079137
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
83cfac902258a852b3126b17d68f53a3484fe5c0
1,757
py
Python
code_examples/Python/app_debugger/test_client/test_debugger.py
VPoser/docs-and-training
55d4aa4c5b964f3c810d58008db4c5b75260322b
[ "Zlib" ]
null
null
null
code_examples/Python/app_debugger/test_client/test_debugger.py
VPoser/docs-and-training
55d4aa4c5b964f3c810d58008db4c5b75260322b
[ "Zlib" ]
4
2019-05-29T06:16:56.000Z
2021-03-31T19:03:36.000Z
code_examples/Python/app_debugger/test_client/test_debugger.py
VPoser/docs-and-training
55d4aa4c5b964f3c810d58008db4c5b75260322b
[ "Zlib" ]
3
2019-04-02T08:48:31.000Z
2020-09-23T08:13:35.000Z
#!/usr/bin/env python """Simple test client to call the debugger SOAP service""" import os import sys import base64 import getpass from suds.client import Client from suds.cache import NoCache from suds import WebFault, MethodNotFound from clfpy import AuthClient auth_endpoint = 'https://api.hetcomp.org/authManager...
27.030769
135
0.682413
218
1,757
5.385321
0.477064
0.037479
0.037479
0.030664
0
0
0
0
0
0
0
0.008493
0.195788
1,757
64
136
27.453125
0.822364
0.075697
0
0.113636
0
0
0.237446
0
0
0
0
0
0
1
0.045455
false
0.068182
0.181818
0
0.25
0.113636
0
0
0
null
0
0
0
0
0
0
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
83d10767f4acd2d7c3295abb41942f7d2223b741
6,295
py
Python
data_manager/acs/gui_ACS_sched_blocks_script_0.py
IftachSadeh/ctaOperatorGUI
f6365a86440dd2404da0bc139cd9345eb3dcb566
[ "MIT" ]
3
2018-08-28T22:44:23.000Z
2018-10-24T09:16:34.000Z
data_manager/acs/gui_ACS_sched_blocks_script_0.py
IftachSadeh/ctaOperatorGUI
f6365a86440dd2404da0bc139cd9345eb3dcb566
[ "MIT" ]
28
2020-04-02T14:48:29.000Z
2021-05-27T08:10:36.000Z
data_manager/acs/gui_ACS_sched_blocks_script_0.py
IftachSadeh/ctaOperatorGUI
f6365a86440dd2404da0bc139cd9345eb3dcb566
[ "MIT" ]
null
null
null
# import tcs # import daqctrl, inspect # ------------------------------------------------------------------ # install the script by: # cd $INTROOT/config/scripts # ln -s $guiInstalDir/ctaOperatorGUI/ctaGuiBack/ctaGuiBack/acs/guiACS_schedBlocks_script0.py # ----------------------------------------------------------...
28.2287
94
0.550278
564
6,295
5.978723
0.225177
0.039146
0.024911
0.039442
0.518387
0.481613
0.37841
0.376038
0.207592
0.207592
0
0.013777
0.169817
6,295
222
95
28.355856
0.631458
0.420969
0
0.35
0
0
0.266313
0
0
0
0
0
0
0
null
null
0.05
0.01
null
null
0.03
0
0
0
null
0
0
0
0
0
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
83d13060a3394fdf762b857adb260865c20a7f38
143
py
Python
AtC_Beg_Con_081-090/ABC089/B.py
yosho-18/AtCoder
50f6d5c92a01792552c31ac912ce1cd557b06fb0
[ "MIT" ]
null
null
null
AtC_Beg_Con_081-090/ABC089/B.py
yosho-18/AtCoder
50f6d5c92a01792552c31ac912ce1cd557b06fb0
[ "MIT" ]
null
null
null
AtC_Beg_Con_081-090/ABC089/B.py
yosho-18/AtCoder
50f6d5c92a01792552c31ac912ce1cd557b06fb0
[ "MIT" ]
null
null
null
n = int(input()) a = input().split() a = [str(m) for m in a] for i in a: if i == "Y": print("Four") exit() print("Three")
14.3
23
0.461538
25
143
2.64
0.64
0.090909
0
0
0
0
0
0
0
0
0
0
0.314685
143
10
24
14.3
0.673469
0
0
0
0
0
0.069444
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
83d7033bcfe2791f10a0c9ef5053fa59b2220a75
370
py
Python
phlcensus/acs/percapitaincome.py
PhiladelphiaController/phlcensus
8e15d7c993e397bec4cb06a2144e134ec96c48a1
[ "MIT" ]
null
null
null
phlcensus/acs/percapitaincome.py
PhiladelphiaController/phlcensus
8e15d7c993e397bec4cb06a2144e134ec96c48a1
[ "MIT" ]
null
null
null
phlcensus/acs/percapitaincome.py
PhiladelphiaController/phlcensus
8e15d7c993e397bec4cb06a2144e134ec96c48a1
[ "MIT" ]
null
null
null
from .core import ACSDataset import collections __all__ = ["PerCapitaIncome"] class PerCapitaIncome(ACSDataset): """ PER CAPITA INCOME IN THE PAST 12 MONTHS (IN 2018 INFLATION-ADJUSTED DOLLARS) """ AGGREGATION = None UNIVERSE = "total population" TABLE_NAME = "B19301" RAW_FIELDS = coll...
23.125
81
0.705405
40
370
6.325
0.8
0.071146
0.118577
0
0
0
0
0
0
0
0
0.047138
0.197297
370
15
82
24.666667
0.804714
0.205405
0
0
0
0
0.206522
0
0
0
0
0
0
1
0
false
0
0.25
0
0.875
0
0
0
0
null
0
0
0
0
0
0
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
83d8ec7a846eebb200f4cc5baae5280d08288d60
1,463
py
Python
viterbi_tagging.py
cryingmiso/Natural-Language-Processing
471c3e69c65cab90fb7c432d2b632801c87f7c8e
[ "MIT" ]
null
null
null
viterbi_tagging.py
cryingmiso/Natural-Language-Processing
471c3e69c65cab90fb7c432d2b632801c87f7c8e
[ "MIT" ]
null
null
null
viterbi_tagging.py
cryingmiso/Natural-Language-Processing
471c3e69c65cab90fb7c432d2b632801c87f7c8e
[ "MIT" ]
1
2018-04-22T11:41:10.000Z
2018-04-22T11:41:10.000Z
# -*- coding:utf-8 -*- states = ("B","M","E","S") test_input = "BBMESBMEBEBESSMEBBME" observations = [obs for obs in test_input] #시작확률 start_prob = {"B":0.4,"M":0.2,"E":0.2,"S":0.2} #전이확률 transit_prob = {"B": {"B": 0.1, "M": 0.4, "E": 0.4, "S": 0.1}, "M": {"B": 0.1, "M": 0.4, "E": 0.4, "S": 0.1}, ...
29.857143
64
0.455913
268
1,463
2.380597
0.186567
0.047022
0.023511
0.025078
0.23511
0.221003
0.211599
0.142633
0.112853
0.112853
0
0.075816
0.287765
1,463
49
65
29.857143
0.536468
0.038961
0
0
0
0
0.054286
0
0
0
0
0
0
0
null
null
0
0
null
null
0.085714
0
0
0
null
0
0
0
0
0
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
83dcc185970f786453677691d5a450058ad2e7d1
511
py
Python
book/migrations/0006_alter_book_cover_img.py
KhudadadKhawari/the-library
a6acd2e8ce9ca350339d99775f1e7906d343c7d4
[ "MIT" ]
null
null
null
book/migrations/0006_alter_book_cover_img.py
KhudadadKhawari/the-library
a6acd2e8ce9ca350339d99775f1e7906d343c7d4
[ "MIT" ]
null
null
null
book/migrations/0006_alter_book_cover_img.py
KhudadadKhawari/the-library
a6acd2e8ce9ca350339d99775f1e7906d343c7d4
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2021-12-15 09:04 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('book', '0005_alter_book_rented_count'), ] operations = [ migrations.AlterField( model_name='book', ...
24.333333
109
0.639922
58
511
5.5
0.741379
0.068966
0.119122
0
0
0
0
0
0
0
0
0.046875
0.248532
511
20
110
25.55
0.783854
0.084149
0
0
1
0
0.148069
0.111588
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
83df200991f24e112dfb55e0124bf7a8c642cf9c
7,985
py
Python
blender/.blender/scripts/uvcalc_follow_active_coords.py
visnz/sketchfab_download
976f667d5c2c2864b2bad65aceac0dab5ce51b74
[ "Apache-2.0" ]
41
2021-02-18T05:56:26.000Z
2021-12-06T07:58:15.000Z
blender/.blender/scripts/uvcalc_follow_active_coords.py
visnz/sketchfab_download
976f667d5c2c2864b2bad65aceac0dab5ce51b74
[ "Apache-2.0" ]
19
2021-02-18T05:59:03.000Z
2022-01-13T01:00:52.000Z
blender/.blender/scripts/uvcalc_follow_active_coords.py
visnz/sketchfab_download
976f667d5c2c2864b2bad65aceac0dab5ce51b74
[ "Apache-2.0" ]
18
2021-02-22T13:32:56.000Z
2022-01-22T12:38:29.000Z
#!BPY """ Name: 'Follow Active (quads)' Blender: 242 Group: 'UVCalculation' Tooltip: 'Follow from active quads.' """ __author__ = "Campbell Barton" __url__ = ("blender", "blenderartists.org") __version__ = "1.0 2006/02/07" __bpydoc__ = """\ This script sets the UV mapping and image of selected faces from adjacent unse...
31.313725
195
0.707201
1,271
7,985
4.215578
0.247836
0.032848
0.039194
0.057484
0.270997
0.238895
0.186264
0.14483
0.14483
0.102277
0
0.019954
0.177833
7,985
254
196
31.437008
0.796192
0.240326
0
0.123188
0
0
0.067706
0
0
0
0
0
0
0
null
null
0.007246
0.021739
null
null
0.007246
0
0
0
null
0
0
0
0
0
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
83e3b262a987de45abbd2e106414db47c397b8e3
7,738
py
Python
CIM14/ENTSOE/Dynamics/IEC61970/Dynamics/DynamicsMetaBlock.py
MaximeBaudette/PyCIM
d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14
[ "MIT" ]
58
2015-04-22T10:41:03.000Z
2022-03-29T16:04:34.000Z
CIM14/ENTSOE/Dynamics/IEC61970/Dynamics/DynamicsMetaBlock.py
MaximeBaudette/PyCIM
d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14
[ "MIT" ]
12
2015-08-26T03:57:23.000Z
2020-12-11T20:14:42.000Z
CIM14/ENTSOE/Dynamics/IEC61970/Dynamics/DynamicsMetaBlock.py
MaximeBaudette/PyCIM
d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14
[ "MIT" ]
35
2015-01-10T12:21:03.000Z
2020-09-09T08:18:16.000Z
# Copyright (C) 2010-2011 Richard Lincoln # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish...
33.938596
222
0.674334
745
7,738
6.900671
0.233557
0.079362
0.021786
0.017701
0.315697
0.30072
0.274849
0.269986
0.216689
0.068858
0
0.00259
0.251615
7,738
227
223
34.088106
0.885167
0.178599
0
0.343511
0
0
0.045747
0
0
0
0
0
0
1
0.221374
false
0
0.007634
0
0.389313
0
0
0
0
null
0
0
0
0
0
0
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
83ee7b4543ab79bc0395dcd6db36fd4ba26a265c
378
py
Python
setup.py
mattpatey/text2qrcode
f0cbb006241ba20c76b16d67815836fd44890315
[ "Xnet", "X11" ]
1
2020-11-13T20:59:08.000Z
2020-11-13T20:59:08.000Z
setup.py
mattpatey/text2qrcode
f0cbb006241ba20c76b16d67815836fd44890315
[ "Xnet", "X11" ]
null
null
null
setup.py
mattpatey/text2qrcode
f0cbb006241ba20c76b16d67815836fd44890315
[ "Xnet", "X11" ]
null
null
null
from setuptools import ( find_packages, setup, ) setup( name="text2qrcode", version="1.0-a1", description="Render a QR code image from input text", author="Matt Patey", packages=find_packages(), install_requires=["qrcode", "pillow"], entry_points={ "console_scripts": [ ...
19.894737
57
0.595238
40
378
5.5
0.825
0.109091
0
0
0
0
0
0
0
0
0
0.021818
0.272487
378
18
58
21
0.778182
0
0
0
0
0
0.312169
0.068783
0
0
0
0
0
1
0
true
0
0.058824
0
0.058824
0
0
0
0
null
0
0
0
0
0
0
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
83f188e156ec6c7d9f2733735708e0459183598e
930
py
Python
taurex/data/profiles/pressure/arraypressure.py
ucl-exoplanets/TauREx3_public
cf8da465448df44c3c4dcc2cd0002ef34edd3920
[ "BSD-3-Clause" ]
10
2019-12-18T09:19:16.000Z
2021-06-21T11:02:06.000Z
taurex/data/profiles/pressure/arraypressure.py
ucl-exoplanets/TauREx3_public
cf8da465448df44c3c4dcc2cd0002ef34edd3920
[ "BSD-3-Clause" ]
10
2020-03-24T18:02:15.000Z
2021-08-23T20:32:09.000Z
taurex/data/profiles/pressure/arraypressure.py
ucl-exoplanets/TauREx3_public
cf8da465448df44c3c4dcc2cd0002ef34edd3920
[ "BSD-3-Clause" ]
8
2020-03-26T14:16:42.000Z
2021-12-18T22:11:25.000Z
from .pressureprofile import PressureProfile import numpy as np class ArrayPressureProfile(PressureProfile): def __init__(self, array, reverse=False): super().__init__(self.__class__.__name__, array.shape[-1]) if reverse: self.pressure_profile = array[::-1] else: ...
24.473684
66
0.62043
102
930
5.411765
0.441176
0.190217
0.172101
0.086957
0
0
0
0
0
0
0
0.014837
0.275269
930
38
67
24.473684
0.804154
0.056989
0
0
0
0
0.016413
0
0
0
0
0
0
1
0.217391
false
0
0.086957
0.086957
0.478261
0
0
0
0
null
0
0
0
0
0
0
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
83f1b322463e935e9c59457e936e5b4e88b767fd
2,857
py
Python
bin/check_samplesheet.py
ggabernet/vcreport
fe5d315364c19d7286c5f7419cc5ff4599ed373d
[ "MIT" ]
1
2021-08-23T20:15:15.000Z
2021-08-23T20:15:15.000Z
bin/check_samplesheet.py
ggabernet/vcreport
fe5d315364c19d7286c5f7419cc5ff4599ed373d
[ "MIT" ]
null
null
null
bin/check_samplesheet.py
ggabernet/vcreport
fe5d315364c19d7286c5f7419cc5ff4599ed373d
[ "MIT" ]
1
2021-09-09T09:40:11.000Z
2021-09-09T09:40:11.000Z
#!/usr/bin/env python # This script is based on the example at: https://raw.githubusercontent.com/nf-core/test-datasets/viralrecon/samplesheet/samplesheet_test_illumina_amplicon.csv import os import sys import errno import argparse def parse_args(args=None): Description = "Reformat nf-core/vcreport samplesheet ...
31.395604
159
0.60273
341
2,857
4.920821
0.360704
0.066746
0.023242
0.048272
0.22646
0.174017
0.174017
0.174017
0.120381
0.120381
0
0.003863
0.275114
2,857
90
160
31.744444
0.806374
0.221211
0
0.148148
0
0
0.187987
0
0
0
0
0.022222
0
1
0.092593
false
0
0.074074
0
0.185185
0.092593
0
0
0
null
0
0
0
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
83f2f7aa75a2c9e552bb8125bde1278a1b2c932e
1,643
bzl
Python
cmake/build_defs.bzl
benjaminp/upb
901744a97e5170bfdd5b408a26b6603b1fbab9ad
[ "BSD-3-Clause" ]
null
null
null
cmake/build_defs.bzl
benjaminp/upb
901744a97e5170bfdd5b408a26b6603b1fbab9ad
[ "BSD-3-Clause" ]
null
null
null
cmake/build_defs.bzl
benjaminp/upb
901744a97e5170bfdd5b408a26b6603b1fbab9ad
[ "BSD-3-Clause" ]
null
null
null
def generated_file_staleness_test(name, outs, generated_pattern): """Tests that checked-in file(s) match the contents of generated file(s). The resulting test will verify that all output files exist and have the correct contents. If the test fails, it can be invoked with --fix to bring the checked-in...
36.511111
93
0.634814
226
1,643
4.486726
0.482301
0.078895
0.059172
0.033531
0
0
0
0
0
0
0
0.000831
0.267194
1,643
44
94
37.340909
0.841362
0.478393
0
0
1
0
0.155087
0.031017
0
0
0
0
0
1
0.047619
false
0
0
0
0.047619
0
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
83f32ec218d69fd1e8829338d9a53be2a269009b
4,894
py
Python
tests/transform_finding_test.py
aws-samples/aws-security-hub-analytic-pipeline
3e4242c24297725f656ff8a560ff180604443223
[ "MIT-0" ]
7
2021-06-16T00:55:44.000Z
2022-02-13T23:00:27.000Z
tests/transform_finding_test.py
QPC-database/aws-security-hub-analytic-pipeline
aff8cd7f5954c285b93fe8f67f8bef2482a1f686
[ "MIT-0" ]
null
null
null
tests/transform_finding_test.py
QPC-database/aws-security-hub-analytic-pipeline
aff8cd7f5954c285b93fe8f67f8bef2482a1f686
[ "MIT-0" ]
2
2021-07-11T02:41:38.000Z
2022-03-29T20:34:23.000Z
from assets.lambdas.transform_findings.index import TransformFindings import boto3 from moto import mock_s3 def __make_bucket(bucket_name: str): bucket = boto3.resource('s3').Bucket(bucket_name) bucket.create() return bucket @mock_s3 def test_fix_dictionary(): bucket = __make_bucket('tester') tr...
56.252874
238
0.647323
533
4,894
5.894934
0.348968
0.084659
0.043285
0.0662
0.452896
0.448759
0.436665
0.31254
0.31254
0.241884
0
0.081769
0.205353
4,894
87
239
56.252874
0.726151
0
0
0
0
0.135802
0.602247
0.269459
0
0
0
0
0.148148
1
0.024691
false
0.012346
0.037037
0
0.074074
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
83fa1f4c15e8b0c13b7079f93983ba9e472a57f2
3,286
bzl
Python
haskell/private/packages.bzl
andyscott/rules_haskell
1c7341f885f62cecad705f6a9e8b610b73f11527
[ "Apache-2.0" ]
null
null
null
haskell/private/packages.bzl
andyscott/rules_haskell
1c7341f885f62cecad705f6a9e8b610b73f11527
[ "Apache-2.0" ]
null
null
null
haskell/private/packages.bzl
andyscott/rules_haskell
1c7341f885f62cecad705f6a9e8b610b73f11527
[ "Apache-2.0" ]
null
null
null
"""Package list handling""" load(":private/set.bzl", "set") def pkg_info_to_ghc_args(pkg_info): """ Takes the package info collected by `ghc_info()` and returns the actual list of command line arguments that should be passed to GHC. """ args = [ # In compile.bzl, we pass this just before a...
36.921348
121
0.680158
478
3,286
4.493724
0.307531
0.03352
0.018622
0.023277
0.119181
0.119181
0.087523
0.037244
0
0
0
0.002426
0.247413
3,286
88
122
37.340909
0.866154
0.471698
0
0
0
0
0.052311
0
0
0
0
0.011364
0
1
0.055556
false
0
0
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
83fd35f6f554a1bd8fc3e12924ca6da425b05086
486
py
Python
tests/programs/lists/member_isin.py
astraldawn/pylps
e9964a24bb38657b180d441223b4cdb9e1dadc8a
[ "MIT" ]
1
2018-05-19T18:28:12.000Z
2018-05-19T18:28:12.000Z
tests/programs/lists/member_isin.py
astraldawn/pylps
e9964a24bb38657b180d441223b4cdb9e1dadc8a
[ "MIT" ]
12
2018-04-26T00:58:11.000Z
2018-05-13T22:03:39.000Z
tests/programs/lists/member_isin.py
astraldawn/pylps
e9964a24bb38657b180d441223b4cdb9e1dadc8a
[ "MIT" ]
null
null
null
from pylps.core import * initialise(max_time=5) create_actions('say(_, _)', 'say_single(_)') create_events('member(_, _)') create_facts('inp(_, _)') create_variables('X', 'Y', 'F', 'Item', 'List', 'Tail') inp([], [[]]) inp('z', ['a', 'b', 'c', 'd', 'e']) inp('a', ['b', 'c', 'a']) inp(['b', 'c'], ['d', ['a', 'c']]) i...
20.25
55
0.522634
73
486
3.246575
0.547945
0.042194
0.037975
0.050633
0.067511
0.067511
0
0
0
0
0
0.00237
0.131687
486
23
56
21.130435
0.559242
0
0
0
0
0
0.164609
0
0
0
0
0
0
1
0
true
0
0.058824
0
0.058824
0
0
0
0
null
0
0
0
0
0
0
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
83ff592ddca67877e6b752e54e39cc96af464cdd
1,565
py
Python
clevr_video/params.py
jiaqi-xi/slot_attention
8420414eb261501e5b056e4d409c338d909397ef
[ "Apache-2.0" ]
null
null
null
clevr_video/params.py
jiaqi-xi/slot_attention
8420414eb261501e5b056e4d409c338d909397ef
[ "Apache-2.0" ]
null
null
null
clevr_video/params.py
jiaqi-xi/slot_attention
8420414eb261501e5b056e4d409c338d909397ef
[ "Apache-2.0" ]
1
2021-11-11T19:44:14.000Z
2021-11-11T19:44:14.000Z
from typing import Optional from typing import Tuple import attr @attr.s(auto_attribs=True) class SlotAttentionParams: lr: float = 0.0004 batch_size: int = 64 val_batch_size: int = 64 resolution: Tuple[int, int] = (128, 128) num_slots: int = 7 # 5 change to 7 according to official code num_i...
34.021739
77
0.686901
247
1,565
4.198381
0.510121
0.046287
0.030858
0.027001
0
0
0
0
0
0
0
0.03457
0.242173
1,565
45
78
34.777778
0.839798
0.315655
0
0
0
0
0.050943
0.050943
0
0
0
0.022222
0
1
0
false
0
0.090909
0
0.969697
0
0
0
0
null
0
0
0
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
86024a0f256f012bd58b4d8e9b5de4b21cc1702d
1,024
py
Python
stat_ip_in_hash_woker_table.py
ligang945/pyMisc
3107c80f7f53ffc797b289ec73d1ef4db80f0b63
[ "MIT" ]
null
null
null
stat_ip_in_hash_woker_table.py
ligang945/pyMisc
3107c80f7f53ffc797b289ec73d1ef4db80f0b63
[ "MIT" ]
null
null
null
stat_ip_in_hash_woker_table.py
ligang945/pyMisc
3107c80f7f53ffc797b289ec73d1ef4db80f0b63
[ "MIT" ]
null
null
null
def sortedDict(adict): keys = adict.keys() keys.sort() return map(adict.get, keys) ipint2str = lambda x: '.'.join([str(x/(256**i)%256) for i in range(3,-1,-1)]) ipstr2int = lambda x:sum([256**j*int(i) for j,i in enumerate(x.split('.')[::-1])]) src_ip = dict() dst_ip = dict() i =0 with open('hash_key_valu...
20.078431
82
0.512695
153
1,024
3.352941
0.326797
0.048733
0.062378
0.066277
0.175439
0.175439
0.175439
0.175439
0.175439
0.175439
0
0.055241
0.310547
1,024
50
83
20.48
0.671388
0.160156
0
0.074074
0
0
0.034198
0
0
0
0
0
0
0
null
null
0
0
null
null
0.185185
0
0
0
null
0
0
0
0
0
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
86035a85164418f81cd1bcd44a084b4bd7b49d04
328
py
Python
app/LOGS/logger_.py
innovationb1ue/XMU_HealthReport
6ee0c7830a0e30fc9730401585a303873f382bac
[ "MIT" ]
2
2021-09-03T18:13:46.000Z
2022-01-13T08:48:36.000Z
app/LOGS/logger_.py
buuuuuuug/XMU_HealthReport
cb545959eceddf676b34237c38b1ba6f797764f5
[ "MIT" ]
null
null
null
app/LOGS/logger_.py
buuuuuuug/XMU_HealthReport
cb545959eceddf676b34237c38b1ba6f797764f5
[ "MIT" ]
1
2021-07-14T09:48:19.000Z
2021-07-14T09:48:19.000Z
import logging class NewLogger: def __init__(self, log_abs_path:str): self.logger = logging.getLogger() handler = logging.FileHandler(log_abs_path) handler.setLevel(logging.ERROR) self.logger.addHandler(handler) def log(self, msg:str): self.logger.log(logging.ERROR, m...
18.222222
51
0.664634
40
328
5.25
0.475
0.142857
0.095238
0
0
0
0
0
0
0
0
0
0.231707
328
17
52
19.294118
0.833333
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
860663bf7fc7f279ff0aaf05a3df989c0b80600b
2,431
py
Python
Python/zzz_training_challenge/Python_Challenge/solutions/ch07_recursion_advanced/solutions/ex07_water_jugs.py
Kreijeck/learning
eaffee08e61f2a34e01eb8f9f04519aac633f48c
[ "MIT" ]
null
null
null
Python/zzz_training_challenge/Python_Challenge/solutions/ch07_recursion_advanced/solutions/ex07_water_jugs.py
Kreijeck/learning
eaffee08e61f2a34e01eb8f9f04519aac633f48c
[ "MIT" ]
null
null
null
Python/zzz_training_challenge/Python_Challenge/solutions/ch07_recursion_advanced/solutions/ex07_water_jugs.py
Kreijeck/learning
eaffee08e61f2a34e01eb8f9f04519aac633f48c
[ "MIT" ]
null
null
null
# Beispielprogramm für das Buch "Python Challenge" # # Copyright 2020 by Michael Inden def solve_water_jugs(size1, size2, desired_liters): return __solve_water_jugs_rec(size1, size2, desired_liters, 0, 0, {}) def __solve_water_jugs_rec(size1, size2, desired_liters, ...
37.4
80
0.559441
270
2,431
4.596296
0.203704
0.124093
0.124093
0.166801
0.559226
0.495568
0.495568
0.452055
0.382756
0.31668
0
0.055736
0.365282
2,431
64
81
37.984375
0.748542
0.062937
0
0.121951
0
0
0.016733
0
0
0
0
0
0
1
0.097561
false
0
0
0.04878
0.219512
0.097561
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8606c99e338a87761250aeed31095b32a52bc802
10,041
py
Python
Acquire/Identity/_useraccount.py
openghg/acquire
8af8701b092f7304c02fea1ee6360e53502dfd64
[ "Apache-2.0" ]
1
2021-10-18T17:11:47.000Z
2021-10-18T17:11:47.000Z
Acquire/Identity/_useraccount.py
openghg/acquire
8af8701b092f7304c02fea1ee6360e53502dfd64
[ "Apache-2.0" ]
null
null
null
Acquire/Identity/_useraccount.py
openghg/acquire
8af8701b092f7304c02fea1ee6360e53502dfd64
[ "Apache-2.0" ]
null
null
null
__all__ = ["UserAccount"] _user_root = "identity/users" def _encode_username(username): """This function returns an encoded (sanitised) version of the username. This will ensure that the username is valid (must be between 3 and 50 characters). The sanitised username is the encoded version, meanin...
37.74812
110
0.66587
1,245
10,041
5.154217
0.171888
0.023999
0.023999
0.02618
0.277388
0.193237
0.178276
0.11828
0.11828
0.0988
0
0.001901
0.266408
10,041
265
111
37.890566
0.869264
0.268101
0
0.20438
0
0
0.050958
0
0
0
0
0
0.007299
1
0.124088
false
0.116788
0.153285
0.007299
0.430657
0
0
0
0
null
0
0
0
0
0
0
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
860766f5b7e396034ed70275ab698c4665993ebb
584
py
Python
tests/test_translator.py
Attsun1031/schematics
90dee53fd1d5c29f2c947bec6f5ffe5f74305ab1
[ "BSD-3-Clause" ]
1,430
2015-01-01T19:22:19.000Z
2022-03-29T11:34:35.000Z
tests/test_translator.py
Attsun1031/schematics
90dee53fd1d5c29f2c947bec6f5ffe5f74305ab1
[ "BSD-3-Clause" ]
360
2015-01-02T05:27:34.000Z
2022-03-18T14:08:27.000Z
tests/test_translator.py
Attsun1031/schematics
90dee53fd1d5c29f2c947bec6f5ffe5f74305ab1
[ "BSD-3-Clause" ]
222
2015-01-07T20:07:02.000Z
2022-03-22T16:12:47.000Z
# -*- coding: utf-8 -*- import pytest def test_translator(): def translator(string): translations = {'String value is too long.': 'Tamanho de texto muito grande.'} return translations.get(string, string) from schematics.translator import register_translator register_translator(translator...
30.736842
86
0.72089
67
584
6.208955
0.567164
0.100962
0.067308
0.091346
0.120192
0
0
0
0
0
0
0.004211
0.186644
584
18
87
32.444444
0.871579
0.035959
0
0
0
0
0.156863
0
0
0
0
0
0.083333
1
0.166667
false
0
0.333333
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
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
860804e29db65321937c10951cae50769822d370
641
py
Python
1014 Trie Tree/test.py
SLAPaper/hihoCoder
3f64d678c5dd46db36345736eb56880fb2d2c5fe
[ "MIT" ]
null
null
null
1014 Trie Tree/test.py
SLAPaper/hihoCoder
3f64d678c5dd46db36345736eb56880fb2d2c5fe
[ "MIT" ]
null
null
null
1014 Trie Tree/test.py
SLAPaper/hihoCoder
3f64d678c5dd46db36345736eb56880fb2d2c5fe
[ "MIT" ]
null
null
null
# generate 900k word and 900k query to test the runtime from main import TrieTree import time import random vocal = list(range(26)) trie = TrieTree() words = [[random.choice(vocal) for _ in range(random.randrange(1, 11))] for _ in range(100000)] queries = [[random.choice(vocal) for _ in range(random.randrange(1, 11...
22.103448
97
0.692668
100
641
4.37
0.35
0.045767
0.091533
0.091533
0.279176
0.279176
0.279176
0.279176
0.279176
0.279176
0
0.048598
0.165367
641
28
98
22.892857
0.768224
0.082683
0
0
1
0
0.078498
0
0
0
0
0
0
1
0
false
0
0.176471
0
0.176471
0.176471
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
f7a809bbbe91eb7260be62d0dad3baf769a4cf97
5,013
py
Python
tests/test_host_resolver.py
mssaleh/aioatomapi
2b9f00fce993153c52595e09ecc80562574af62c
[ "MIT" ]
null
null
null
tests/test_host_resolver.py
mssaleh/aioatomapi
2b9f00fce993153c52595e09ecc80562574af62c
[ "MIT" ]
27
2021-10-13T17:17:38.000Z
2022-03-31T17:24:08.000Z
tests/test_host_resolver.py
mssaleh/aioatomapi
2b9f00fce993153c52595e09ecc80562574af62c
[ "MIT" ]
null
null
null
import asyncio import socket import pytest from mock import AsyncMock, MagicMock, patch import aioatomapi.host_resolver as hr from aioatomapi.core import APIConnectionError @pytest.fixture def async_zeroconf(): with patch("zeroconf.asyncio.AsyncZeroconf") as klass: yield klass.return_value @pytest.fix...
32.764706
85
0.710353
641
5,013
5.213729
0.165367
0.078995
0.076601
0.045482
0.759725
0.739378
0.672651
0.672651
0.669659
0.582885
0
0.040362
0.18452
5,013
152
86
32.980263
0.777153
0
0
0.479339
0
0.008264
0.160184
0.118292
0
0
0
0
0.132231
1
0.016529
false
0
0.049587
0.008264
0.07438
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