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
f237e63cfb73c6a85466aa5f71bcd695c094046a
4,302
py
Python
Topsis-Kunal-101903371/101903371-Kunal.py
KunalYadav02/Topsis-Kunal-101903371
df1bc13dd4bc798abaffd95f51c13d781b1fc5aa
[ "MIT" ]
null
null
null
Topsis-Kunal-101903371/101903371-Kunal.py
KunalYadav02/Topsis-Kunal-101903371
df1bc13dd4bc798abaffd95f51c13d781b1fc5aa
[ "MIT" ]
null
null
null
Topsis-Kunal-101903371/101903371-Kunal.py
KunalYadav02/Topsis-Kunal-101903371
df1bc13dd4bc798abaffd95f51c13d781b1fc5aa
[ "MIT" ]
null
null
null
import sys import numpy as np import pandas as pd #py 101903371.py 101903371-data.csv 1,1,1,2,2 +,-,+,-,+ 101903371-result.csv def topsis(filename,weights,impacts,output_filename): #Check if input file is csv if filename.split(".")[-1]!="csv": sys.exit("Error: Please enter a valid input csv f...
31.40146
130
0.546722
585
4,302
3.900855
0.247863
0.026293
0.021034
0.028922
0.310254
0.229623
0.094654
0.068361
0.068361
0.068361
0
0.020651
0.33589
4,302
136
131
31.632353
0.778089
0.240586
0
0.140845
0
0.014085
0.13802
0
0
0
0
0
0
0
null
null
0
0.042254
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
f2435a723037c285a22cfcff4c4fc7a38308135e
647
py
Python
angalabiri/causes/migrations/0004_auto_20210328_2057.py
dark-codr/ebiangala
0af3de29b2afa71df3e138cd16ecddc69fbd597d
[ "MIT" ]
1
2021-03-25T14:06:23.000Z
2021-03-25T14:06:23.000Z
angalabiri/causes/migrations/0004_auto_20210328_2057.py
dark-codr/ebiangala
0af3de29b2afa71df3e138cd16ecddc69fbd597d
[ "MIT" ]
5
2021-09-08T03:08:46.000Z
2022-03-12T00:56:35.000Z
angalabiri/causes/migrations/0004_auto_20210328_2057.py
me-edavids/ebiangala
0af3de29b2afa71df3e138cd16ecddc69fbd597d
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-28 19:57 import angalabiri.causes.models from django.db import migrations import django_resized.forms class Migration(migrations.Migration): dependencies = [ ('causes', '0003_auto_20210324_0236'), ] operations = [ migrations.AlterField( ...
30.809524
262
0.681607
79
647
5.43038
0.721519
0.074592
0.102564
0
0
0
0
0
0
0
0
0.078695
0.194745
647
20
263
32.35
0.744722
0.069552
0
0
1
0
0.121667
0.038333
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f243db26c49bb3202639cde46d04f566709b3852
1,845
py
Python
chap5/find_words.py
marble-git/python-laoqi
74c4bb5459113e54ce64443e5da5a9c6a3052d6a
[ "MIT" ]
null
null
null
chap5/find_words.py
marble-git/python-laoqi
74c4bb5459113e54ce64443e5da5a9c6a3052d6a
[ "MIT" ]
null
null
null
chap5/find_words.py
marble-git/python-laoqi
74c4bb5459113e54ce64443e5da5a9c6a3052d6a
[ "MIT" ]
null
null
null
#coding:utf-8 ''' filename:find_words.py chap:5 subject:2 conditions:text solution:words contain a,e,i,o,u ''' text = ''' Python was created in the early 1990s by Guido van Rossum at Stichting Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands as a successor of a language ca...
26.357143
76
0.747967
292
1,845
4.657534
0.554795
0.058824
0.022059
0.020588
0
0
0
0
0
0
0
0.012418
0.170732
1,845
69
77
26.73913
0.876471
0.078591
0
0
0
0
0.801085
0
0
0
0
0
0
1
0.029412
false
0
0.029412
0
0.117647
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f24d197bb4fba7e3d3500eb9b66d41299323072b
1,658
py
Python
examples/Brian_Bypass_Node.py
ricardodeazambuja/BrianConnectUDP
d4a6705c885f45bf5905a658a623cda458e19ba7
[ "CC0-1.0" ]
null
null
null
examples/Brian_Bypass_Node.py
ricardodeazambuja/BrianConnectUDP
d4a6705c885f45bf5905a658a623cda458e19ba7
[ "CC0-1.0" ]
null
null
null
examples/Brian_Bypass_Node.py
ricardodeazambuja/BrianConnectUDP
d4a6705c885f45bf5905a658a623cda458e19ba7
[ "CC0-1.0" ]
null
null
null
''' Example of a node that doesn't use Brian at all! Instead of doing any simulation using Brian, this node only receives and sends back spike trains according to the formatting used by the BrianConnectUDP. ''' import numpy import select import time from brian_multiprocess_udp import BrianConnectUDP my_inputcloc...
38.55814
127
0.633293
212
1,658
4.768868
0.551887
0.059347
0.041543
0.017804
0.029674
0
0
0
0
0
0
0.047257
0.285283
1,658
42
128
39.47619
0.805907
0.345597
0
0
0
0
0.033207
0
0
0
0
0
0
1
0.0625
false
0.0625
0.25
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
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
f252a6a91c3af06673c7a59f9da932b72426641a
2,645
py
Python
MagicTerminal/__init__.py
Marseel-E/magic-terminal
2f7b4810beb35dbe607d40d36c0188bdd5332648
[ "MIT" ]
null
null
null
MagicTerminal/__init__.py
Marseel-E/magic-terminal
2f7b4810beb35dbe607d40d36c0188bdd5332648
[ "MIT" ]
null
null
null
MagicTerminal/__init__.py
Marseel-E/magic-terminal
2f7b4810beb35dbe607d40d36c0188bdd5332648
[ "MIT" ]
null
null
null
__all__ = ['Magic', '_Magic', 'Color', 'Style', 'Highlight'] import os from typing import TypedDict, Optional class Style(TypedDict): default: str = '0' bright: str = '1' underlined: str = '4' blinking: str = '5' fixed_color: str = '7' class Color(TypedDict): black: str = '30' red: str = '31...
26.717172
224
0.613611
358
2,645
4.469274
0.290503
0.039375
0.03375
0.045
0.403125
0.373125
0.37
0.37
0.37
0.37
0
0.021847
0.238563
2,645
98
225
26.989796
0.772592
0
0
0.037736
0
0
0.050868
0
0
0
0
0
0
0
null
null
0.018868
0.037736
null
null
0.075472
0
0
0
null
0
0
0
0
0
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
f255ab78d988aad8611dee685df0005613f754ca
1,337
py
Python
z3py/examples/bintree.py
rainoftime/rainoftime.github.io
d6316f153db0ed96309d81a5f32af9887c6f1a9a
[ "MIT" ]
1
2021-08-01T07:28:03.000Z
2021-08-01T07:28:03.000Z
z3py/examples/bintree.py
rainoftime/rainoftime.github.io
d6316f153db0ed96309d81a5f32af9887c6f1a9a
[ "MIT" ]
null
null
null
z3py/examples/bintree.py
rainoftime/rainoftime.github.io
d6316f153db0ed96309d81a5f32af9887c6f1a9a
[ "MIT" ]
null
null
null
from z3 import * # Create a solver. s = Solver() # Create the binary tree datatype. BinaryTree = Datatype('BinaryTree') BinaryTree.declare('leaf', ('value', IntSort())) BinaryTree.declare('node', ('value', IntSort()), ('left', BinaryTree), ('right', BinaryTree)) BinaryTree = BinaryTree.create() # Shorthands. leaf = ...
22.661017
93
0.664921
176
1,337
5.028409
0.244318
0.054237
0.122034
0.081356
0.336723
0.280226
0.280226
0.280226
0.280226
0.20339
0
0.015748
0.145101
1,337
58
94
23.051724
0.75853
0.569185
0
0
0
0
0.084778
0
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f263e1325802180bb64c1cb4218eb11f59c20743
815
py
Python
github_trending/handlers.py
manjotpahwa/github-trending-api
8e38072c1a440c5390a98c21c4c41fabbc116836
[ "MIT" ]
null
null
null
github_trending/handlers.py
manjotpahwa/github-trending-api
8e38072c1a440c5390a98c21c4c41fabbc116836
[ "MIT" ]
null
null
null
github_trending/handlers.py
manjotpahwa/github-trending-api
8e38072c1a440c5390a98c21c4c41fabbc116836
[ "MIT" ]
null
null
null
import aiohttp import asyncio import json from lxml import etree import tornado.escape import tornado.ioloop import tornado.locks import tornado.web import os.path import uuid import github_trending from tornado.options import define, options, parse_command_line class MainHandler(tornado.web.RequestHandler): def...
19.404762
63
0.695706
96
815
5.75
0.479167
0.094203
0.057971
0
0
0
0
0
0
0
0
0.006163
0.203681
815
41
64
19.878049
0.844376
0
0
0
0
0
0.041718
0
0
0
0
0
0
1
0.066667
false
0
0.4
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f265c81a45f04ee1d4167ecf25066845271ec44f
2,142
py
Python
run_server.py
gjyaiya/mysqlmonitor
fd07aec8f75c14d8e8c5208758e786ae4c180993
[ "MIT" ]
1
2016-06-28T02:13:12.000Z
2016-06-28T02:13:12.000Z
run_server.py
gjyaiya/mysqlmonitor
fd07aec8f75c14d8e8c5208758e786ae4c180993
[ "MIT" ]
null
null
null
run_server.py
gjyaiya/mysqlmonitor
fd07aec8f75c14d8e8c5208758e786ae4c180993
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding:utf-8 import json import sys from server.monitor import start_monitor, set_mysql_config, list_charts, set_charts, stop_monitor from server.my_util import patch_json, get_time from server.web_socket import start_ws, clients fp_log = open(sys.path[0] + "/result.txt", 'w') # recv r1 = '{...
25.2
97
0.603641
304
2,142
4.009868
0.299342
0.049221
0.032814
0.034454
0.09516
0.09516
0.059065
0
0
0
0
0.017139
0.210084
2,142
84
98
25.5
0.70331
0.020075
0
0.1
0
0.016667
0.224344
0.128401
0
0
0
0
0
0
null
null
0.016667
0.083333
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f26bd5f31c814020d8856e9a36e3635d1e0600c5
3,300
py
Python
examples/launch_lammps_force_gan.py
chenggroup/aiida-lammps
f91e3c8bc2d8d522b3476f31edbc7e08fbec01de
[ "MIT" ]
null
null
null
examples/launch_lammps_force_gan.py
chenggroup/aiida-lammps
f91e3c8bc2d8d522b3476f31edbc7e08fbec01de
[ "MIT" ]
null
null
null
examples/launch_lammps_force_gan.py
chenggroup/aiida-lammps
f91e3c8bc2d8d522b3476f31edbc7e08fbec01de
[ "MIT" ]
null
null
null
from aiida import load_dbenv load_dbenv() from aiida.plugins import CalculationFactory from aiida.orm import Code, Dict, StructureData from aiida.engine import submit, run_get_node from aiida.common.extendeddicts import AttributeDict from aiida_lammps.data.potential import EmpiricalPotential import numpy as np codena...
37.5
135
0.625758
522
3,300
3.894636
0.306513
0.02361
0.017708
0.047221
0.272504
0.234629
0.22725
0.22725
0.22725
0.212494
0
0.294877
0.225152
3,300
87
136
37.931034
0.500196
0.114242
0
0
0
0.163265
0.34059
0.008427
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.040816
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
f27133941a7eb0f3e1fd0f683706e4c86588700d
453
py
Python
body/models/body_area.py
dylanjboyd/bodytastic
ee2299ba523c8c6b627028d70ab32b6da97cb2ea
[ "MIT" ]
null
null
null
body/models/body_area.py
dylanjboyd/bodytastic
ee2299ba523c8c6b627028d70ab32b6da97cb2ea
[ "MIT" ]
81
2022-03-04T23:46:02.000Z
2022-03-19T13:06:46.000Z
body/models/body_area.py
dylanjboyd/bodytastic
ee2299ba523c8c6b627028d70ab32b6da97cb2ea
[ "MIT" ]
null
null
null
from django.db import models class BodyArea(models.Model): """Model for an area of the body to be described in a user report.""" name = models.CharField(max_length=50) measurement_unit = models.CharField(max_length=30, blank=True) order_priority = models.PositiveSmallIntegerField(default=0) clas...
26.647059
73
0.688742
59
453
5.118644
0.728814
0.099338
0.119205
0.15894
0
0
0
0
0
0
0
0.014006
0.211921
453
16
74
28.3125
0.831933
0.139073
0
0
0
0
0.067708
0
0
0
0
0
0
1
0.1
false
0
0.1
0.1
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f2752140dc7b0cc3d05dbc75dd2299715d316fd4
5,873
py
Python
scripts/submit_workflow_source_files/submit_workflow_source_files.py
broadinstitute/firecloud-tools
701d97e39cd27c6891d45578515a8caec49214b8
[ "BSD-3-Clause" ]
7
2017-05-12T20:16:50.000Z
2021-06-21T12:44:34.000Z
scripts/submit_workflow_source_files/submit_workflow_source_files.py
broadinstitute/firecloud-tools
701d97e39cd27c6891d45578515a8caec49214b8
[ "BSD-3-Clause" ]
11
2017-06-28T17:33:51.000Z
2018-05-18T19:55:00.000Z
scripts/submit_workflow_source_files/submit_workflow_source_files.py
broadinstitute/firecloud-tools
701d97e39cd27c6891d45578515a8caec49214b8
[ "BSD-3-Clause" ]
6
2017-11-27T16:51:18.000Z
2019-06-17T16:27:57.000Z
from common import * from pprint import pprint def escapedText(fileName): with open(fileName, 'r') as f: fileContent = f.read() escapedText = json.dumps(fileContent) return escapedText def main(): setup() # The main argument parser parser = DefaultArgsParser(description="Create...
48.139344
164
0.665588
688
5,873
5.494186
0.218023
0.028571
0.053968
0.044444
0.305291
0.228836
0.073016
0.073016
0.05873
0.05873
0
0.003468
0.214541
5,873
121
165
48.53719
0.815955
0.049038
0
0.089888
0
0
0.225251
0.003766
0
0
0
0.008264
0
0
null
null
0
0.022472
null
null
0.089888
0
0
0
null
0
0
0
0
0
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
f277f5bba81bb944ef7f6c7fd290c2bdd44495dd
6,467
py
Python
lm_test/v2v_test.py
wolfdan666/face_recognition
e05808468c5943b764e3abfc739be0b38c02ec02
[ "MIT" ]
null
null
null
lm_test/v2v_test.py
wolfdan666/face_recognition
e05808468c5943b764e3abfc739be0b38c02ec02
[ "MIT" ]
null
null
null
lm_test/v2v_test.py
wolfdan666/face_recognition
e05808468c5943b764e3abfc739be0b38c02ec02
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- import cv2 import face_recognition video = cv2.VideoCapture("short_biden.mp4") fps = video.get(cv2.CAP_PROP_FPS) frameCount = video.get(cv2.CAP_PROP_FRAME_COUNT) size = (int(video.get(cv2.CAP_PROP_FRAME_WIDTH)), int(video.get(cv2.CAP_PROP_FRAME_HEIGHT))) biden_image = face_recognition.load_ima...
38.724551
130
0.642029
911
6,467
4.386389
0.294182
0.056306
0.028529
0.017518
0.269019
0.252002
0.182933
0.161411
0.161411
0.128378
0
0.049471
0.240452
6,467
166
131
38.957831
0.764047
0.363693
0
0.098765
0
0.012346
0.060095
0.007697
0
0
0
0.012048
0
1
0.012346
false
0
0.024691
0
0.049383
0.049383
0
0
0
null
0
0
0
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
f27a556126101e89766b2cdf415749ce103c8ec7
5,831
py
Python
django_majinuni/settings.py
Majinuni/Bear
08265a994b603960b9627b14692c8e3c9803ae28
[ "MIT" ]
null
null
null
django_majinuni/settings.py
Majinuni/Bear
08265a994b603960b9627b14692c8e3c9803ae28
[ "MIT" ]
5
2021-04-08T18:31:29.000Z
2022-02-10T08:56:52.000Z
django_majinuni/settings.py
Majinuni/Bear
08265a994b603960b9627b14692c8e3c9803ae28
[ "MIT" ]
2
2018-06-12T17:21:53.000Z
2018-07-06T13:23:00.000Z
""" Django settings for django_majinuni project. Generated by 'django-admin startproject' using Django 2.0.6. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import ...
29.449495
101
0.687532
668
5,831
5.85479
0.326347
0.066479
0.045001
0.051138
0.271542
0.259013
0.189977
0.189977
0.120174
0.089491
0
0.008899
0.171326
5,831
197
102
29.598985
0.800497
0.299263
0
0.160714
1
0
0.504818
0.37954
0
0
0
0
0
1
0
false
0.044643
0.017857
0
0.017857
0.017857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f27bf75d32b98615eb631d9c37f6689fb2215b45
1,709
py
Python
lib/peach/peach/optm/__init__.py
serddmitry/goog_challenge
3d81460e815d8adfea1e43c59906adbd402ee3c2
[ "Apache-1.1" ]
1
2016-08-09T21:34:05.000Z
2016-08-09T21:34:05.000Z
lib/peach/peach/optm/__init__.py
serddmitry/goog_challenge
3d81460e815d8adfea1e43c59906adbd402ee3c2
[ "Apache-1.1" ]
null
null
null
lib/peach/peach/optm/__init__.py
serddmitry/goog_challenge
3d81460e815d8adfea1e43c59906adbd402ee3c2
[ "Apache-1.1" ]
null
null
null
################################################################################ # Peach - Computational Intelligence for Python # Jose Alexandre Nalon # # This file: optm/__init__.py # Makes the optm directory a package and initializes it. ###############################################################################...
37.152174
80
0.61849
175
1,709
5.948571
0.56
0.054755
0.034582
0
0
0
0
0
0
0
0
0.000724
0.19134
1,709
45
81
37.977778
0.752533
0.250439
0
0
0
0
0.79922
0
0
0
0
0
0
1
0
false
0
0.214286
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f280569883c54902c22024bc9619937c418bc25c
400
py
Python
apps/instruments/migrations/0007_auto_20180528_0149.py
edilsonlonC/Data_Music
8bb814e750cd8f407653ed6e255957cb92f0f19b
[ "MIT" ]
null
null
null
apps/instruments/migrations/0007_auto_20180528_0149.py
edilsonlonC/Data_Music
8bb814e750cd8f407653ed6e255957cb92f0f19b
[ "MIT" ]
null
null
null
apps/instruments/migrations/0007_auto_20180528_0149.py
edilsonlonC/Data_Music
8bb814e750cd8f407653ed6e255957cb92f0f19b
[ "MIT" ]
null
null
null
# Generated by Django 2.0.4 on 2018-05-28 06:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('instruments', '0006_instruments_production'), ] operations = [ migrations.AlterField( model_name='instruments', name...
21.052632
55
0.6125
40
400
6.05
0.775
0
0
0
0
0
0
0
0
0
0
0.069204
0.2775
400
18
56
22.222222
0.768166
0.1125
0
0
1
0
0.161473
0.076487
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
f2866de72e71e02edf6a8acea23ddd2959096f5e
444
py
Python
PythonAPI/docs/snipets/carla.World.load_map_layer.py
zakur0/carla
8854804f4d7748e14d937ec763a2912823a7e5f5
[ "MIT" ]
7,883
2017-11-10T16:49:23.000Z
2022-03-31T18:48:47.000Z
PythonAPI/docs/snipets/carla.World.load_map_layer.py
zakur0/carla
8854804f4d7748e14d937ec763a2912823a7e5f5
[ "MIT" ]
4,558
2017-11-10T17:45:30.000Z
2022-03-31T23:30:02.000Z
PythonAPI/docs/snipets/carla.World.load_map_layer.py
zakur0/carla
8854804f4d7748e14d937ec763a2912823a7e5f5
[ "MIT" ]
2,547
2017-11-13T03:22:44.000Z
2022-03-31T10:39:30.000Z
# This recipe toggles on several layers in our "_Opt" maps # Load town one with only minimum layout (roads, sidewalks, traffic lights and traffic signs) world = client.load_world('Town01_Opt', carla.MapLayer.None) # Toggle all buildings on world.load_map_layer(carla.MapLayer.Buildings) # Toggle all foliage on world....
31.714286
93
0.801802
67
444
5.179104
0.567164
0.149856
0.095101
0.121037
0.276657
0.276657
0.276657
0
0
0
0
0.005115
0.119369
444
13
94
34.153846
0.882353
0.504505
0
0
0
0
0.046729
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
f287de739dc93b700e43659b07e571e4440d75b7
2,503
py
Python
skgaip/tspdb/tspdb/tests/testdata/GenerateTS.py
danielsuo/toy_flood
471d3c4091d86d4a00fbf910937d4e60fdaf79a1
[ "MIT" ]
43
2019-12-10T00:05:51.000Z
2022-03-31T21:21:20.000Z
skgaip/tspdb/tspdb/tests/testdata/GenerateTS.py
danielsuo/toy_flood
471d3c4091d86d4a00fbf910937d4e60fdaf79a1
[ "MIT" ]
5
2021-05-09T01:12:31.000Z
2022-03-29T17:34:15.000Z
skgaip/tspdb/tspdb/tests/testdata/GenerateTS.py
danielsuo/toy_flood
471d3c4091d86d4a00fbf910937d4e60fdaf79a1
[ "MIT" ]
14
2020-01-13T21:20:07.000Z
2022-03-31T02:11:26.000Z
from time import clock import sys sys.path.append('../../../') print (sys.path) from tspdb.src.data import generateHarmonics as gH from tspdb.src.data import generateTrend as gT import tspdb.src.data.generateARMA as gA import numpy as np from tspdb.src.hdf_util import write_data import matplotlib.pyplot as pl...
30.156627
119
0.669596
322
2,503
5.177019
0.354037
0.019196
0.021596
0.039592
0.069586
0
0
0
0
0
0
0.03428
0.184179
2,503
82
120
30.52439
0.782076
0.206153
0
0.037736
1
0
0.062633
0
0
0
0
0
0
1
0.056604
false
0
0.150943
0
0.264151
0.056604
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
f28db4d936035a6f9dfe48bba1e054f8e6983ee3
654
py
Python
installer/genesis_test.py
natcap/opal
7b960d51344483bae30d14ccfa6004bd550f3737
[ "BSD-3-Clause" ]
1
2020-04-15T23:23:27.000Z
2020-04-15T23:23:27.000Z
installer/genesis_test.py
natcap/opal
7b960d51344483bae30d14ccfa6004bd550f3737
[ "BSD-3-Clause" ]
null
null
null
installer/genesis_test.py
natcap/opal
7b960d51344483bae30d14ccfa6004bd550f3737
[ "BSD-3-Clause" ]
null
null
null
import unittest import genesis class GenesisTest(unittest.TestCase): def test_start_menu(self): start_menu_options = [ { "name": "{name}", "target": "launch_adept.exe", "icon": "{icon}", }, { "name": "{name}...
26.16
71
0.542813
60
654
5.583333
0.5
0.161194
0.125373
0
0
0
0
0
0
0
0
0
0.348624
654
24
72
27.25
0.786385
0
0
0
0
0
0.203364
0.074924
0
0
0
0
0
0
null
null
0
0.1
null
null
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f28dd092a373096752b6394972f9a35348f8430f
6,801
py
Python
examples/classifier/envProc.py
OUPL/MWU
d1aaa2cebc5974831c2b39efc3b6ca4b6f3d53a0
[ "MIT" ]
null
null
null
examples/classifier/envProc.py
OUPL/MWU
d1aaa2cebc5974831c2b39efc3b6ca4b6f3d53a0
[ "MIT" ]
null
null
null
examples/classifier/envProc.py
OUPL/MWU
d1aaa2cebc5974831c2b39efc3b6ca4b6f3d53a0
[ "MIT" ]
null
null
null
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" * * * envProc.py * * * * Filename: envProc.py ...
37.368132
75
0.487575
634
6,801
5.116719
0.317035
0.015105
0.014797
0.010173
0.082614
0.037608
0
0
0
0
0
0.013054
0.36921
6,801
181
76
37.574586
0.743124
0.067637
0
0.172662
0
0
0.437361
0.006819
0
0
0
0
0.007194
0
null
null
0
0.05036
null
null
0.064748
0
0
0
null
0
0
0
0
0
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
f297e567837af6c637b15d54db11fab1ab5d87dd
382
py
Python
riscvcocotb/basic_tests.py
cmarqu/riscv-cocotb
dada447dfde43524ecf255b804fc78f426674f77
[ "MIT" ]
4
2019-10-28T16:15:47.000Z
2020-10-09T09:07:58.000Z
riscvcocotb/basic_tests.py
cmarqu/riscv-cocotb
dada447dfde43524ecf255b804fc78f426674f77
[ "MIT" ]
null
null
null
riscvcocotb/basic_tests.py
cmarqu/riscv-cocotb
dada447dfde43524ecf255b804fc78f426674f77
[ "MIT" ]
1
2019-07-23T17:58:19.000Z
2019-07-23T17:58:19.000Z
import cocotb from cocotb.regression import TestFactory from riscvmodel.program.tests import RV32ITests @cocotb.coroutine def run_test(dut, testbench, program): tb = testbench(dut) yield tb.basic(program) class BasicTestFactory(TestFactory): def __init__(self, testbench): super().__init__(run_t...
23.875
47
0.748691
45
382
6.111111
0.555556
0.050909
0
0
0
0
0
0
0
0
0
0.012461
0.159686
382
16
48
23.875
0.844237
0
0
0
0
0
0.018277
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
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
f29916c27fa5f6e9e055ee414b06722f76c3bc93
587
py
Python
autolatex/word2tex/config_sample.py
Benature/AutoLaTeX
2abb747d8e66e42d5b6e75ce0270a5909072986b
[ "MIT" ]
1
2020-09-15T13:12:35.000Z
2020-09-15T13:12:35.000Z
autolatex/word2tex/config_sample.py
Benature/AutoLaTeX
2abb747d8e66e42d5b6e75ce0270a5909072986b
[ "MIT" ]
null
null
null
autolatex/word2tex/config_sample.py
Benature/AutoLaTeX
2abb747d8e66e42d5b6e75ce0270a5909072986b
[ "MIT" ]
1
2021-12-05T01:34:53.000Z
2021-12-05T01:34:53.000Z
# ===================== 路径配置 ============================ folder_path = "folder/path/" tex_raw_path = folder_path + "raw.tex" tex_out_path = folder_path + "out.tex" # ================== 实验报告表头信息 ============================ stid = "173530xx" major = "物理学" grade = "17级" name = "木一" # ================== tex 导言区设置 =...
24.458333
78
0.531516
59
587
5.050847
0.661017
0.134228
0.14094
0.181208
0
0
0
0
0
0
0
0.01711
0.103918
587
23
79
25.521739
0.54943
0.444634
0
0
0
0
0.521875
0.33125
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f29962e8d4380776d4ef1f0f8de1633fa09457c3
387
py
Python
image_to_2d_array.py
serhatataman/generate-bitbirds
e571deaec06c8edb5eb783ca50662fd08dacce6b
[ "MIT" ]
null
null
null
image_to_2d_array.py
serhatataman/generate-bitbirds
e571deaec06c8edb5eb783ca50662fd08dacce6b
[ "MIT" ]
null
null
null
image_to_2d_array.py
serhatataman/generate-bitbirds
e571deaec06c8edb5eb783ca50662fd08dacce6b
[ "MIT" ]
null
null
null
import PIL from skimage.io import imread import numpy as np # https://stackoverflow.com/questions/27026866/convert-an-image-to-2d-array-in-python im = imread("snowboarder.jpg") indices = np.dstack(np.indices(im.shape[:2])) data = np.concatenate((im, indices), axis=-1) new_data = data[:, :, :] print(new_data) # np.sa...
22.764706
85
0.710594
61
387
4.459016
0.721311
0.077206
0
0
0
0
0
0
0
0
0
0.043103
0.100775
387
16
86
24.1875
0.738506
0.392765
0
0
0
0
0.065502
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f2be36aa5a8ca46d5f578ac30820e8e66c6d8a4f
532
py
Python
toio_API/scenarios/examples/run_spin.py
Yoshi-0921/toio_API
5642a8c9813d7acde440f6c6160b7c69f4396682
[ "MIT" ]
10
2021-04-22T06:06:43.000Z
2022-01-31T14:10:54.000Z
toio_API/scenarios/examples/run_spin.py
Yoshi-0921/toio_API
5642a8c9813d7acde440f6c6160b7c69f4396682
[ "MIT" ]
null
null
null
toio_API/scenarios/examples/run_spin.py
Yoshi-0921/toio_API
5642a8c9813d7acde440f6c6160b7c69f4396682
[ "MIT" ]
1
2021-06-23T02:18:17.000Z
2021-06-23T02:18:17.000Z
# -*- coding: utf-8 -*- import asyncio from toio_API.scenarios.abstract_scenario import AbstractSenario from toio_API.utils.toio import Toio class RunSpin(AbstractSenario): async def _main(self, **kwargs): await asyncio.gather(*[self.__run_spin(toio) for toio in self.toios]) async def __run_spin(se...
29.555556
77
0.712406
75
532
4.866667
0.466667
0.087671
0.060274
0.115068
0.350685
0.350685
0.350685
0.350685
0.350685
0.350685
0
0.034325
0.178571
532
17
78
31.294118
0.800915
0.039474
0
0.181818
0
0
0
0
0
0
0
0
0
1
0
true
0
0.272727
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
1
0
0
0
0
0
0
1
f2c4c3d36cf6229a1f9eed7adcf7a55cde331455
434
py
Python
backend/lm_backend/security.py
omnivector-solutions/license-manager
9eb1e4569d692aef83a2388096e7413bc010be61
[ "MIT" ]
2
2020-11-15T22:54:39.000Z
2022-02-15T07:58:55.000Z
backend/lm_backend/security.py
omnivector-solutions/license-manager
9eb1e4569d692aef83a2388096e7413bc010be61
[ "MIT" ]
2
2022-02-18T19:36:45.000Z
2022-03-16T23:07:44.000Z
backend/lm_backend/security.py
omnivector-solutions/license-manager
9eb1e4569d692aef83a2388096e7413bc010be61
[ "MIT" ]
null
null
null
""" Instantiates armada-security resources for auth on api endpoints using project settings. Also provides a factory function for TokenSecurity to reduce boilerplate. """ import logging from armasec import Armasec from lm_backend.config import settings guard = Armasec( settings.ARMASEC_DOMAIN, audience=sett...
25.529412
88
0.799539
55
434
6.218182
0.672727
0.131579
0
0
0
0
0
0
0
0
0
0
0.138249
434
16
89
27.125
0.914439
0.373272
0
0
0
0
0.026515
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
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
4b3b591482171a282d43d63167949c5596e53682
2,085
py
Python
apps/hie/migrations/0001_initial.py
thebureaugroup/sharemyhealth
de93793d7065d50af53f260e3347b8ed30d8c864
[ "Apache-2.0" ]
null
null
null
apps/hie/migrations/0001_initial.py
thebureaugroup/sharemyhealth
de93793d7065d50af53f260e3347b8ed30d8c864
[ "Apache-2.0" ]
4
2021-06-05T00:09:17.000Z
2021-12-13T20:52:41.000Z
apps/hie/migrations/0001_initial.py
thebureaugroup/sharemyhealth
de93793d7065d50af53f260e3347b8ed30d8c864
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.2 on 2019-05-16 14:27 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
52.125
147
0.632614
227
2,085
5.643172
0.405286
0.091335
0.149883
0.131148
0.386417
0.221702
0.131148
0.131148
0
0
0
0.019765
0.223501
2,085
39
148
53.461538
0.771464
0.021583
0
0
1
0
0.148184
0.010795
0
0
0
0
0
1
0
false
0.03125
0.09375
0
0.21875
0
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
4b41a80d9b79e63ce709a41ba70284370f6e428e
535
py
Python
game/drawing/background_loads.py
samer25/Game-Tank
fa5b63f6b224e56205ab75b8aefcf557405e1ffe
[ "MIT" ]
null
null
null
game/drawing/background_loads.py
samer25/Game-Tank
fa5b63f6b224e56205ab75b8aefcf557405e1ffe
[ "MIT" ]
1
2020-04-13T21:04:46.000Z
2020-04-13T22:17:12.000Z
game/drawing/background_loads.py
samer25/Game-Tank
fa5b63f6b224e56205ab75b8aefcf557405e1ffe
[ "MIT" ]
null
null
null
import pygame from main_dir.drawing.Views import BackgroundResources class BackgroundLoads: def __init__(self): """getting Image from background resources It is a list of images""" self.image = BackgroundResources.background_images def load_and_move(self): """loading image""" ...
31.470588
84
0.704673
64
535
5.671875
0.5625
0.132231
0.110193
0
0
0
0
0
0
0
0
0.016509
0.207477
535
16
85
33.4375
0.839623
0.142056
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
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
1
0
0
0
0
0
0
0
1
4b454bc5cda67ace21e0434e6a88be4e2d7aa1bd
5,233
py
Python
rentals/models.py
dpakach/RentalService
2fe2c899b7f149ed3f0fc475100beaa0bc76619e
[ "MIT" ]
null
null
null
rentals/models.py
dpakach/RentalService
2fe2c899b7f149ed3f0fc475100beaa0bc76619e
[ "MIT" ]
1
2018-11-06T03:17:14.000Z
2018-11-06T03:17:14.000Z
rentals/models.py
dpakach/RentalService
2fe2c899b7f149ed3f0fc475100beaa0bc76619e
[ "MIT" ]
1
2020-02-04T10:44:11.000Z
2020-02-04T10:44:11.000Z
from django.conf import settings from django.core.urlresolvers import reverse from django.db import models from django.db.models import Q from django.utils import timezone from django.core.validators import MaxValueValidator, MinValueValidator from django.shortcuts import get_object_or_404 from itertools import chain ...
29.398876
88
0.640359
611
5,233
5.360065
0.279869
0.042748
0.032061
0.025954
0.161221
0.146565
0.131908
0.102595
0.102595
0.102595
0
0.01144
0.265049
5,233
177
89
29.564972
0.840094
0.147716
0
0.271845
0
0
0.015699
0
0
0
0
0
0
1
0.145631
false
0
0.087379
0.019417
0.640777
0.009709
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4b46e5283bf488453b9d5cc46615a09973971b81
3,604
py
Python
FeatureSelectionPy_DataScience/demo236_house_preprocessed.py
mahnooranjum/Programming_DataScience
f7a4215d4615b3f8460c3a1944a585628cf6930d
[ "MIT" ]
null
null
null
FeatureSelectionPy_DataScience/demo236_house_preprocessed.py
mahnooranjum/Programming_DataScience
f7a4215d4615b3f8460c3a1944a585628cf6930d
[ "MIT" ]
null
null
null
FeatureSelectionPy_DataScience/demo236_house_preprocessed.py
mahnooranjum/Programming_DataScience
f7a4215d4615b3f8460c3a1944a585628cf6930d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Demo236_House_Preprocessed.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1D-6jwkEPkq3S7AiHnSH2SYp6FJPGArlF """ import numpy as np import matplotlib.pyplot as plt import pandas as pd import seaborn as sns from itertool...
23.402597
125
0.658435
545
3,604
4.236697
0.313761
0.038112
0.015591
0.017324
0.192724
0.104807
0.078822
0.078822
0.043309
0
0
0.013807
0.196171
3,604
153
126
23.555556
0.783224
0.100999
0
0.14433
1
0
0.058346
0.026209
0
0
0
0
0
1
0.030928
false
0
0.134021
0
0.185567
0.010309
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
4b51d6fe276da067ac94d514913be64ded8715bb
2,700
py
Python
ntnui/tests/browser/test_form_signing.py
kapteinstein/tdt4290
7bc2d2dbdbcc3fd35a05f1d2893d83255803f73b
[ "MIT" ]
null
null
null
ntnui/tests/browser/test_form_signing.py
kapteinstein/tdt4290
7bc2d2dbdbcc3fd35a05f1d2893d83255803f73b
[ "MIT" ]
null
null
null
ntnui/tests/browser/test_form_signing.py
kapteinstein/tdt4290
7bc2d2dbdbcc3fd35a05f1d2893d83255803f73b
[ "MIT" ]
null
null
null
from django.conf import settings from ntnui.tests.browser.lib.browser_test_case import ChromeTestCase, FirefoxTestCase from selenium.webdriver.common.action_chains import ActionChains from lib.helpers import * def signing_form_received(browser, server_url, assertEquals, assertTrue): login_user(browser, server_url)...
33.333333
96
0.752593
348
2,700
5.537356
0.232759
0.084069
0.099637
0.0685
0.699533
0.619616
0.619616
0.619616
0.619616
0.568241
0
0.001295
0.141852
2,700
80
97
33.75
0.830384
0
0
0.518519
0
0
0.105185
0.023704
0
0
0
0
0.222222
1
0.185185
false
0.111111
0.074074
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4b5613a3bd17e30bb448ce6145d5617eff44f7fb
1,065
py
Python
leetcode/python/interleavingString.py
yaoxuanw007/forfun
db50bd40852d49bd68bae03ceb43cb4a901c6d37
[ "MIT" ]
null
null
null
leetcode/python/interleavingString.py
yaoxuanw007/forfun
db50bd40852d49bd68bae03ceb43cb4a901c6d37
[ "MIT" ]
null
null
null
leetcode/python/interleavingString.py
yaoxuanw007/forfun
db50bd40852d49bd68bae03ceb43cb4a901c6d37
[ "MIT" ]
null
null
null
# https://oj.leetcode.com/problems/interleaving-string/ # DP Time O(n*m); Space O(n*m) class Solution: # @return a boolean def isInterleave(self, s1, s2, s3): n, m = len(s1), len(s2) if n + m != len(s3): return False # don't use [[False] * (m+1)] * (n+1) table = [[False] * (m+1) for i in xra...
28.783784
106
0.556808
199
1,065
2.9799
0.316583
0.023609
0.060708
0.060708
0.317032
0.190556
0.15683
0.070826
0.070826
0
0
0.057901
0.221596
1,065
36
107
29.583333
0.657419
0.231925
0
0.2
0
0
0.07911
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
0
0
0
null
0
0
0
0
0
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
4b57e8c12a90875b5a29af65366b0116079583c1
18,245
py
Python
PySeis/processing/processing.py
pandeykiran80/ref
0a6ce704cf15729667b13c675f2e037705b67e66
[ "MIT" ]
46
2015-01-30T18:17:13.000Z
2022-03-28T12:02:55.000Z
PySeis/processing/processing.py
pandeykiran80/ref
0a6ce704cf15729667b13c675f2e037705b67e66
[ "MIT" ]
5
2016-08-22T17:07:50.000Z
2018-08-31T13:28:47.000Z
PySeis/processing/processing.py
pandeykiran80/ref
0a6ce704cf15729667b13c675f2e037705b67e66
[ "MIT" ]
15
2015-11-11T15:01:30.000Z
2021-06-07T01:27:59.000Z
import numpy as np import toolbox import pylab from scipy.signal import butter, lfilter, convolve2d from scipy.interpolate import RectBivariateSpline as RBS from scipy.interpolate import interp2d from scipy.interpolate import interp1d from scipy.interpolate import griddata import matplotlib.patches as patches import n...
32.873874
121
0.51795
2,193
18,245
4.262198
0.192886
0.025035
0.014443
0.02022
0.236653
0.193966
0.151599
0.09265
0.081523
0.062266
0
0.015285
0.340203
18,245
555
122
32.873874
0.761173
0.050644
0
0.20603
0
0
0.054405
0
0
0
0
0
0
0
null
null
0.017588
0.032663
null
null
0.022613
0
0
0
null
0
0
0
0
0
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
4b5e342432098af942d30dad0ea5f969908ea38d
2,005
py
Python
example/test_feature_as_str.py
waiteperspectives/Morelia
e6e6180d688c6bdf538f6b43a97755c76329646a
[ "MIT" ]
17
2015-11-18T02:49:47.000Z
2019-12-22T08:46:26.000Z
example/test_feature_as_str.py
waiteperspectives/Morelia
e6e6180d688c6bdf538f6b43a97755c76329646a
[ "MIT" ]
230
2015-04-28T16:48:20.000Z
2022-03-25T13:01:07.000Z
example/test_feature_as_str.py
waiteperspectives/Morelia
e6e6180d688c6bdf538f6b43a97755c76329646a
[ "MIT" ]
8
2015-04-16T07:45:35.000Z
2019-06-20T17:09:49.000Z
""" Feature: Addition In order to avoid silly mistakes As a math idiot I want to be told the sum of two numbers Scenario: Add two numbers Given I have powered calculator on When I enter "50" into the calculator And I enter "70" into the calculator And I press add Then the result should ...
29.485294
87
0.669825
284
2,005
4.602113
0.306338
0.041316
0.117062
0.107116
0.335119
0.335119
0.27238
0.27238
0.27238
0.24254
0
0.017391
0.254364
2,005
67
88
29.925373
0.856856
0.602494
0
0
0
0
0.15237
0
0
0
0
0
0.047619
1
0.285714
false
0
0.142857
0
0.47619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4b6346600021206d6799ea19be3a1e012ba57a93
623
py
Python
Class_1/test_connect.py
travism16/Python-Course
d8c522fc31c7830c3ceabf7a35022a9e33e1d706
[ "Apache-2.0" ]
null
null
null
Class_1/test_connect.py
travism16/Python-Course
d8c522fc31c7830c3ceabf7a35022a9e33e1d706
[ "Apache-2.0" ]
null
null
null
Class_1/test_connect.py
travism16/Python-Course
d8c522fc31c7830c3ceabf7a35022a9e33e1d706
[ "Apache-2.0" ]
null
null
null
import os from netmiko import ConnectHandler from getpass import getpass cisco3 = { "host": "cisco3.lasthop.io", "username": "pyclass", "password": getpass(), "device_type": "cisco_ios", #"session_log": "cisco3_session.txt" } cisco4 = { "host": "cisco4.lasthop.io", "username": "pyclass", ...
21.482759
44
0.659711
73
623
5.452055
0.479452
0.075377
0.085427
0.120603
0.336683
0.336683
0.336683
0.336683
0.336683
0.336683
0
0.019569
0.179775
623
28
45
22.25
0.759296
0.113965
0
0.285714
0
0
0.261818
0
0
0
0
0
0
1
0
false
0.142857
0.142857
0
0.142857
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4b6e858f2097b0dc52844a3da8ec2515b09d3ed7
3,965
py
Python
Practica3/app.py
adrianmorente/PracticasDAI
0f0a032a9cade87298c2b7bcbad4ca4d6b867b1d
[ "MIT" ]
null
null
null
Practica3/app.py
adrianmorente/PracticasDAI
0f0a032a9cade87298c2b7bcbad4ca4d6b867b1d
[ "MIT" ]
null
null
null
Practica3/app.py
adrianmorente/PracticasDAI
0f0a032a9cade87298c2b7bcbad4ca4d6b867b1d
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- from flask import Flask, redirect, url_for, request, render_template, session import shelve from mandelbrot import * app = Flask(__name__) app.secret_key = 'random key for me by myself' # counting the last visited pages @app.before_request def store_visted_urls(): sessio...
33.319328
85
0.65372
529
3,965
4.782609
0.274102
0.049802
0.05336
0.040316
0.232411
0.104348
0.085375
0.085375
0.085375
0.055336
0
0.013396
0.190416
3,965
118
86
33.601695
0.774766
0.131652
0
0.183908
0
0
0.2021
0.006124
0
0
0
0
0
1
0.114943
false
0.068966
0.034483
0.034483
0.264368
0
0
0
0
null
0
0
0
0
0
0
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
4b78a47836c5d0236d6ce329bdd6316ec97ecbb2
5,600
py
Python
export_csv.py
gineer01/pygnclib
567051f1261525b618e10e5993612e14d4ddaf60
[ "Apache-2.0" ]
6
2015-09-09T19:15:38.000Z
2021-05-14T08:07:35.000Z
export_csv.py
gineer01/pygnclib
567051f1261525b618e10e5993612e14d4ddaf60
[ "Apache-2.0" ]
null
null
null
export_csv.py
gineer01/pygnclib
567051f1261525b618e10e5993612e14d4ddaf60
[ "Apache-2.0" ]
1
2016-02-07T09:18:02.000Z
2016-02-07T09:18:02.000Z
#!/usr/bin/env python #********************************************************************** # Gnu Cash to CSV (export_csv.py) # # Copyright 2012 Thorsten Behrens <thb@documentfoundation.org> # # Based on gnuc2ooo.py, Copyright (c) 2008 Knut Gerwens # gnuc2ooo@alice-dsl.net # # This library is free software...
35
150
0.577679
703
5,600
4.510669
0.312945
0.028698
0.022075
0.034689
0.256701
0.150741
0.06181
0.024598
0
0
0
0.013855
0.278214
5,600
159
151
35.220126
0.770658
0.200179
0
0.236842
0
0
0.104045
0.022472
0
0
0
0
0
0
null
null
0.008772
0.017544
null
null
0.035088
0
0
0
null
0
0
0
0
0
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
4b7f5847d8fc353d1c99626801549cd9c4b7567c
2,943
py
Python
remixt/wrappers/utils.py
DouglasAbrams/remixt
2ab9b034e6b4ff86cdfbc6272f9ce6b9a9311439
[ "MIT" ]
5
2018-05-17T16:45:25.000Z
2021-06-10T13:58:54.000Z
remixt/wrappers/utils.py
DouglasAbrams/remixt
2ab9b034e6b4ff86cdfbc6272f9ce6b9a9311439
[ "MIT" ]
10
2018-05-17T16:42:59.000Z
2022-03-12T00:48:34.000Z
remixt/wrappers/utils.py
DouglasAbrams/remixt
2ab9b034e6b4ff86cdfbc6272f9ce6b9a9311439
[ "MIT" ]
2
2019-04-11T00:17:29.000Z
2020-02-05T21:36:04.000Z
import os import shutil import subprocess import hashlib def hash_kwargs(kwargs): kwargs = tuple(sorted(list(kwargs.items()))) kwargs_hash = hashlib.sha224(repr(kwargs)).hexdigest() return kwargs_hash class Sentinal(object): def __init__(self, sentinal_filename): self.sentinal_filename = sen...
26.044248
88
0.657492
356
2,943
5.179775
0.238764
0.052061
0.05423
0.036876
0.264642
0.213666
0.213666
0.213666
0.190889
0.190889
0
0.003117
0.236833
2,943
112
89
26.276786
0.817898
0
0
0.258824
0
0
0.032313
0.014966
0
0
0
0
0
1
0.223529
false
0.023529
0.047059
0.035294
0.411765
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
0
1
0
0
0
0
0
0
0
1
4b8067616797a6f2f4a9f261879102dee85251e2
5,625
py
Python
TShock-general-devel/scripts/deploy_release.py
BloodARG/tModLoaderTShock
aedd481667fc7b23e9a397b6a97d97e6c68a93ad
[ "MIT" ]
1
2021-07-29T19:32:04.000Z
2021-07-29T19:32:04.000Z
TShock-general-devel/scripts/deploy_release.py
BloodARG/tModLoaderTShock
aedd481667fc7b23e9a397b6a97d97e6c68a93ad
[ "MIT" ]
null
null
null
TShock-general-devel/scripts/deploy_release.py
BloodARG/tModLoaderTShock
aedd481667fc7b23e9a397b6a97d97e6c68a93ad
[ "MIT" ]
null
null
null
''' TShock, a server mod for Terraria Copyright (C) 2011-2016 Nyx Studios (fka. The TShock Team) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) a...
45.731707
215
0.742044
815
5,625
4.957055
0.30184
0.024505
0.037129
0.037129
0.285644
0.255446
0.226238
0.194307
0.185149
0.144554
0
0.010881
0.134044
5,625
123
216
45.731707
0.818518
0.348444
0
0.142857
0
0.014286
0.278495
0.057127
0
0
0
0
0
1
0.071429
false
0.057143
0.1
0
0.214286
0.042857
0
0
0
null
0
0
0
0
0
0
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
4b87b5ef688a28c77ba02aac81cb7b620920f10b
529
py
Python
utilities/converters.py
MikeJollie2707/MichaelBot
7cecb23ed6d5e7969b7af0b6063a29f91e17c03d
[ "MIT" ]
null
null
null
utilities/converters.py
MikeJollie2707/MichaelBot
7cecb23ed6d5e7969b7af0b6063a29f91e17c03d
[ "MIT" ]
null
null
null
utilities/converters.py
MikeJollie2707/MichaelBot
7cecb23ed6d5e7969b7af0b6063a29f91e17c03d
[ "MIT" ]
null
null
null
import discord from discord.ext import commands import datetime import pytimeparse import utilities.db as DB class IntervalConverter(commands.Converter): async def convert(self, ctx, arg : str) -> datetime.timedelta: return datetime.timedelta(seconds = pytimeparse.parse(arg)) class ItemConverter(command...
31.117647
67
0.712665
68
529
5.514706
0.529412
0.090667
0.117333
0.133333
0.24
0.24
0.24
0.24
0.24
0
0
0
0.194707
529
17
68
31.117647
0.880282
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.384615
0
0.692308
0
0
0
0
null
0
0
0
0
0
0
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
4b91a85544ac940355cf843d70027a540d52d7a4
194
py
Python
segment-data-archive/src/number_worm.py
geminate/python-learn-sample
4324afd5b2bb712ed30f45baf83de63072922085
[ "MIT" ]
null
null
null
segment-data-archive/src/number_worm.py
geminate/python-learn-sample
4324afd5b2bb712ed30f45baf83de63072922085
[ "MIT" ]
null
null
null
segment-data-archive/src/number_worm.py
geminate/python-learn-sample
4324afd5b2bb712ed30f45baf83de63072922085
[ "MIT" ]
1
2021-04-30T02:58:22.000Z
2021-04-30T02:58:22.000Z
from utils import initMysql, getByAid # 起始 和 终止 AID startAid = 1190000016801859 endAid = 1190000016900000 connect = initMysql() for aid in range(startAid, endAid): getByAid(aid, connect)
17.636364
37
0.757732
24
194
6.125
0.708333
0
0
0
0
0
0
0
0
0
0
0.198758
0.170103
194
10
38
19.4
0.714286
0.056701
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4ba7aa9d3f5352c9b414cca03d248a9951385e06
1,955
py
Python
socialsite/subreddits/views.py
muhammad-mamdouh/Django_Projects
1f31e12aefb36b33474256db40a2c551882f445e
[ "MIT" ]
null
null
null
socialsite/subreddits/views.py
muhammad-mamdouh/Django_Projects
1f31e12aefb36b33474256db40a2c551882f445e
[ "MIT" ]
40
2020-06-05T22:10:58.000Z
2022-03-11T23:56:09.000Z
socialsite/subreddits/views.py
muhammad-mamdouh/Django_Projects
1f31e12aefb36b33474256db40a2c551882f445e
[ "MIT" ]
1
2021-03-31T10:30:03.000Z
2021-03-31T10:30:03.000Z
from django.contrib.auth.mixins import LoginRequiredMixin from django.views.generic import CreateView, ListView, RedirectView, DetailView from django.urls import reverse from django.shortcuts import get_object_or_404 from django.contrib import messages from django.db import IntegrityError from .models import Subreddit,...
32.583333
88
0.682353
212
1,955
6.235849
0.353774
0.066566
0.04236
0.051437
0.389561
0.310136
0.217852
0.217852
0.217852
0.217852
0
0.003871
0.207161
1,955
59
89
33.135593
0.849032
0
0
0.365854
0
0
0.089514
0
0
0
0
0
0
1
0.097561
false
0
0.170732
0.04878
0.585366
0
0
0
0
null
0
0
0
0
0
0
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
4bb0ad67fd9898779faa98f7097468bb70b69aae
674
py
Python
app/user/migrations/0002_auto_20191019_1503.py
Diaga/Twix-Server
7c407afb3ca7669d48b76973e3a02d7245d31598
[ "MIT" ]
null
null
null
app/user/migrations/0002_auto_20191019_1503.py
Diaga/Twix-Server
7c407afb3ca7669d48b76973e3a02d7245d31598
[ "MIT" ]
null
null
null
app/user/migrations/0002_auto_20191019_1503.py
Diaga/Twix-Server
7c407afb3ca7669d48b76973e3a02d7245d31598
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2019-10-10 19:01 from uuid import uuid4 from django.db import migrations def apply_migration(apps, migration): """Apply App Token data migration""" Group = apps.get_model('auth', 'Group') Group.objects.create( name='App Token' ) def revert_migration(apps, mig...
21.0625
64
0.649852
81
674
5.320988
0.493827
0.074246
0.102088
0.097448
0.273782
0.273782
0.273782
0.273782
0.273782
0.273782
0
0.038241
0.224036
674
32
65
21.0625
0.785851
0.161721
0
0.210526
1
0
0.093694
0
0
0
0
0
0
1
0.105263
false
0
0.105263
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4bb34034addb379a7f99506376cae55dffe7b8d2
2,807
py
Python
tests/test_products.py
thiere18/invoice-generator-api
2b1b099414227edaefcd072013e16c5c847a1ecb
[ "MIT" ]
1
2021-12-30T18:33:40.000Z
2021-12-30T18:33:40.000Z
tests/test_products.py
thiere18/invoice-generator-api
2b1b099414227edaefcd072013e16c5c847a1ecb
[ "MIT" ]
1
2021-11-21T13:06:46.000Z
2022-02-04T14:50:49.000Z
tests/test_products.py
thiere18/invoice-generator-api
2b1b099414227edaefcd072013e16c5c847a1ecb
[ "MIT" ]
null
null
null
from app import schemas import pytest def test_get_all_products(authorized_client,test_products): res=authorized_client.get("/products/") assert len(res.json()) ==len(test_products) assert res.status_code ==200 def test_unathorized_get_all_products(client,test_products): res=client.get("/products/") ...
43.184615
141
0.750267
390
2,807
5.102564
0.171795
0.114573
0.075377
0.095477
0.637186
0.533166
0.451256
0.388442
0.261307
0.203015
0
0.033212
0.120413
2,807
64
142
43.859375
0.772783
0
0
0.148148
0
0
0.190951
0.055219
0
0
0
0
0.314815
1
0.203704
false
0
0.037037
0
0.240741
0.018519
0
0
0
null
0
0
0
0
0
0
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
4bb397717e8c26d6a7f6233a4159676bb741a1fb
763
py
Python
sploits/passman/no_password_login.py
C4T-BuT-S4D/innoctf-teazer-01-03-2020
05b5b0cf8b4a7df9f03b616996372c7d68ccd2c3
[ "WTFPL" ]
null
null
null
sploits/passman/no_password_login.py
C4T-BuT-S4D/innoctf-teazer-01-03-2020
05b5b0cf8b4a7df9f03b616996372c7d68ccd2c3
[ "WTFPL" ]
null
null
null
sploits/passman/no_password_login.py
C4T-BuT-S4D/innoctf-teazer-01-03-2020
05b5b0cf8b4a7df9f03b616996372c7d68ccd2c3
[ "WTFPL" ]
null
null
null
#!/usr/bin/env python3 import re import sys import requests ip = sys.argv[1] r = requests.get(f'http://{ip}:9171/users/') users = re.findall('href="/users/([^/]*)/"', r.text) for user in users: print(f'Trying {user}') sess = requests.Session() # login as user with any password (password check missing)...
29.346154
90
0.639581
118
763
4.127119
0.508475
0.041068
0.057495
0.090349
0.160164
0.117043
0
0
0
0
0
0.034321
0.159895
763
25
91
30.52
0.725429
0.259502
0
0
0
0
0.363636
0.039216
0
0
0
0
0
1
0
false
0.230769
0.230769
0
0.230769
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4bb72b62cd79efeb4e525e99f95a458438df0e2e
2,791
py
Python
{{cookiecutter.project_name}}/{{cookiecutter.project_name}}/settings.py
phalt/cookicutter-django-api
01c7ffea8805a05e704819d21f20fe48cec436c0
[ "BSD-3-Clause" ]
16
2015-04-04T20:50:00.000Z
2017-08-18T19:18:02.000Z
{{cookiecutter.project_name}}/{{cookiecutter.project_name}}/settings.py
phalt/cookicutter-django-api
01c7ffea8805a05e704819d21f20fe48cec436c0
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.project_name}}/{{cookiecutter.project_name}}/settings.py
phalt/cookicutter-django-api
01c7ffea8805a05e704819d21f20fe48cec436c0
[ "BSD-3-Clause" ]
4
2015-04-24T03:51:50.000Z
2020-02-10T13:47:02.000Z
# -*- coding: utf-8 -*- import os import dj_database_url BASE_DIR = os.path.dirname(os.path.dirname(__file__)) SECRET_KEY = os.environ.get( 'SECRET_KEY', 'YOUR_SECRET_KEY' ) DEBUG = bool(os.environ.get('DEBUG', True)) TEMPLATE_DEBUG = DEBUG CUSTOM_APPS = ( 'resources', 'rest_framework', ) INSTALLE...
25.605505
72
0.670727
280
2,791
6.446429
0.417857
0.086427
0.058172
0.085873
0.061496
0.052078
0.028809
0
0
0
0
0.00708
0.190254
2,791
108
73
25.842593
0.791593
0.012899
0
0.023529
0
0
0.505451
0.405887
0
0
0
0
0
1
0
false
0
0.023529
0
0.023529
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4bbf112b0963a5a2f6ddc4523a13b6a768dda469
1,055
py
Python
candidate_test.py
JarnoRFB/GENNN
65cffbfc9ece602c38874f40ece4e42582044ae5
[ "MIT" ]
5
2017-02-15T16:03:53.000Z
2018-12-08T14:18:39.000Z
candidate_test.py
JarnoRFB/GENNN
65cffbfc9ece602c38874f40ece4e42582044ae5
[ "MIT" ]
10
2017-02-19T16:54:42.000Z
2017-02-24T14:58:04.000Z
candidate_test.py
JarnoRFB/GENNN
65cffbfc9ece602c38874f40ece4e42582044ae5
[ "MIT" ]
null
null
null
from candidate_nn import CandidateNN import os # clear logging dir os.system('rm -R /tmp/gennn/') c = CandidateNN(1,"a", runtime_spec={'id': 1, 'datadir': 'MNIST_data', 'logdir': 'log/', 'validate_each_n_steps': 10, 'm...
30.142857
53
0.499526
112
1,055
4.446429
0.464286
0.040161
0.136546
0.13253
0.606426
0.606426
0.606426
0.606426
0.606426
0.606426
0
0.038348
0.357346
1,055
34
54
31.029412
0.696165
0.016114
0
0.551724
0
0
0.270531
0.086957
0
0
0
0
0
1
0
false
0
0.068966
0
0.068966
0.172414
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
4bc49d8c54cd7c3ddb6dd1d96499a1a534672a84
2,504
py
Python
bouncer/models.py
waqashamid/supplyai-assignment
96615f260480a6545e16afd467856b5cd1730780
[ "MIT" ]
null
null
null
bouncer/models.py
waqashamid/supplyai-assignment
96615f260480a6545e16afd467856b5cd1730780
[ "MIT" ]
9
2019-12-26T16:57:25.000Z
2021-09-08T00:34:34.000Z
bouncer/models.py
waqashamid/supplyai-assignment
96615f260480a6545e16afd467856b5cd1730780
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import (AbstractBaseUser, BaseUserManager, PermissionsMixin) class Base(models.Model): created = models.DateTimeField(auto_now_add=True, null=True) modified = models.DateTimeField(auto_now=True) class Meta: abstract = True class Product...
33.386667
95
0.702476
310
2,504
5.448387
0.322581
0.078153
0.0746
0.081705
0.37833
0.189461
0.153937
0.107756
0.055654
0.055654
0
0.008428
0.194489
2,504
75
96
33.386667
0.828954
0
0
0.127273
0
0
0.040719
0
0
0
0
0
0
1
0.145455
false
0.109091
0.036364
0.090909
0.745455
0
0
0
0
null
0
0
0
0
0
0
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
298efc404ed600c7ffd49eed510ea22eb80de632
7,830
py
Python
examples/custombackend.py
lukasheinrich/dagger
353c15cd97ff5150eff128f34cf1666c78826524
[ "MIT" ]
31
2018-07-12T10:33:39.000Z
2021-12-01T22:49:42.000Z
examples/custombackend.py
lukasheinrich/dagger
353c15cd97ff5150eff128f34cf1666c78826524
[ "MIT" ]
10
2021-02-15T20:13:43.000Z
2022-02-03T00:48:34.000Z
examples/custombackend.py
lukasheinrich/dagger
353c15cd97ff5150eff128f34cf1666c78826524
[ "MIT" ]
3
2019-05-31T18:04:15.000Z
2021-08-23T12:00:18.000Z
import adage.backends from adage import adagetask, adageop, Rule, adageobject import logging import json import uuid log = logging.getLogger(__name__) BACKENDDATA = None WORKFLOWDATA = None class StateInterface(object): def __init__(self,statefile,initdata = None): self.statefile = statefile if i...
31.829268
125
0.630396
854
7,830
5.70726
0.222482
0.028724
0.013541
0.013952
0.148954
0.118178
0.079196
0.064423
0.064423
0.064423
0
0.000505
0.24189
7,830
246
126
31.829268
0.820586
0.006769
0
0.107143
0
0
0.13143
0
0
0
0
0
0
0
null
null
0.005102
0.035714
null
null
0.005102
0
0
0
null
0
0
0
0
0
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
29a279dd84206bcaa64411a39ab603ac540d2989
11,727
py
Python
puppyplaydategui.py
radhikamattoo/pythonpuppyplaydate
2e8cc25ea716e0af2ce9b09697608e79061a0515
[ "MIT" ]
1
2018-05-14T21:49:56.000Z
2018-05-14T21:49:56.000Z
puppyplaydategui.py
radhikamattoo/pythonpuppyplaydate
2e8cc25ea716e0af2ce9b09697608e79061a0515
[ "MIT" ]
null
null
null
puppyplaydategui.py
radhikamattoo/pythonpuppyplaydate
2e8cc25ea716e0af2ce9b09697608e79061a0515
[ "MIT" ]
null
null
null
# GUI builder for puppyplaydate import sys import threading from Tkinter import * from random import * import json from puppyplaydate import * class PuppyPlaydateGui(Frame): def __init__(self, firstpeer, hops=2, maxpeers=5, serverport=3000, master=None): Frame.__init__( self, master ) self.grid()...
39.220736
138
0.571331
1,273
11,727
5.239592
0.180676
0.062969
0.016792
0.029385
0.312144
0.218891
0.188306
0.164918
0.136282
0.124138
0
0.015772
0.275518
11,727
298
139
39.352349
0.769303
0.078963
0
0.171429
0
0
0.029903
0
0
0
0
0
0
0
null
null
0
0.028571
null
null
0.009524
0
0
0
null
0
0
0
0
0
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
29a64b84cdd7a9dbf7913433e1b3e3dc7049fd9f
728
py
Python
src/connect.py
benbrandt22/MagTagMLB
1ec347743bc7df9339fb8e3de0f86ea037b7694f
[ "MIT" ]
null
null
null
src/connect.py
benbrandt22/MagTagMLB
1ec347743bc7df9339fb8e3de0f86ea037b7694f
[ "MIT" ]
null
null
null
src/connect.py
benbrandt22/MagTagMLB
1ec347743bc7df9339fb8e3de0f86ea037b7694f
[ "MIT" ]
null
null
null
import ipaddress import ssl import wifi import socketpool import adafruit_requests # Get wifi details and more from a secrets.py file try: from secrets import secrets except ImportError: print("WiFi secrets are kept in secrets.py, please add them there!") raise print("My MAC addr:", [hex(i) for i in wifi....
26.962963
72
0.745879
107
728
5.009346
0.523364
0.067164
0.037313
0.052239
0
0
0
0
0
0
0
0.001587
0.134615
728
26
73
28
0.849206
0.065934
0
0
0
0
0.205015
0
0
0
0
0
0
1
0.05
false
0.05
0.35
0
0.45
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
29a968934d187b534e6fafae476ffe99071bbff0
363
py
Python
tms/urls.py
sjkoli/zoom
f147f29166ee841f7080df5134c2f323dd5c3af4
[ "MIT" ]
null
null
null
tms/urls.py
sjkoli/zoom
f147f29166ee841f7080df5134c2f323dd5c3af4
[ "MIT" ]
null
null
null
tms/urls.py
sjkoli/zoom
f147f29166ee841f7080df5134c2f323dd5c3af4
[ "MIT" ]
null
null
null
from django.urls import path from django.urls.resolvers import URLPattern from . import views urlpatterns = [ path('', views.index, name='index'), path('products/', views.get_all_products, name='all_products'), path('releases/<int:pk>', views.get_releases, name="releases"), path('testresults/', views.g...
33
68
0.707989
45
363
5.6
0.4
0.095238
0.111111
0
0
0
0
0
0
0
0
0
0.134986
363
11
69
33
0.802548
0
0
0
0
0
0.203297
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
29b37ff654762c022731c990790122571ac20a8d
3,668
py
Python
src/proc_hook/buildall/Win32/Release/py/python27.py
ITh4cker/auto_tools
8e0e00cdf8bf60ee3f26fa5ae8f18c376298d0aa
[ "Apache-2.0" ]
null
null
null
src/proc_hook/buildall/Win32/Release/py/python27.py
ITh4cker/auto_tools
8e0e00cdf8bf60ee3f26fa5ae8f18c376298d0aa
[ "Apache-2.0" ]
null
null
null
src/proc_hook/buildall/Win32/Release/py/python27.py
ITh4cker/auto_tools
8e0e00cdf8bf60ee3f26fa5ae8f18c376298d0aa
[ "Apache-2.0" ]
1
2021-06-16T07:32:17.000Z
2021-06-16T07:32:17.000Z
#!/usr/bin/env python # inspired from https://raw.github.com/schmir/bbfreeze/master/bbfreeze/py.py import sys import os sys.path.append(os.path.dirname(getattr(sys,'executable',sys.argv[0])) or '.') try: import zipextimporter zipextimporter.install() except: pass def parse_options(args, spec): needarg...
36.68
111
0.597056
500
3,668
4.222
0.358
0.039792
0.034107
0.012316
0.072004
0.019896
0
0
0
0
0
0.009147
0.254907
3,668
99
112
37.050505
0.763264
0.0259
0
0.142857
0
0
0.285354
0.013442
0
0
0
0
0
0
null
null
0.032967
0.131868
null
null
0.032967
0
0
0
null
0
0
0
0
0
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
29b6a58f73c63f30a7a616e8abaff958bbe8d70f
5,622
py
Python
note_processing/notes_to_sent.py
PNilayam/CS598_DLH
058809856d1ac4d78857679b0880fd7a810ed8e8
[ "MIT" ]
null
null
null
note_processing/notes_to_sent.py
PNilayam/CS598_DLH
058809856d1ac4d78857679b0880fd7a810ed8e8
[ "MIT" ]
null
null
null
note_processing/notes_to_sent.py
PNilayam/CS598_DLH
058809856d1ac4d78857679b0880fd7a810ed8e8
[ "MIT" ]
null
null
null
# aflanders: # Processes note files generated durring pre-processing and converts them # into sentences which can be used for embeddings and downstream training # This code will split the notes into natural sentence boundaries separated by \n # which can then be fed into sentence embedding models such as BIO-ClinicalBe...
34.072727
111
0.680007
773
5,622
4.807245
0.318241
0.034446
0.005382
0.006997
0.072659
0.035522
0.010226
0
0
0
0
0.006171
0.192992
5,622
165
112
34.072727
0.812872
0.274635
0
0.042105
1
0
0.129667
0.025635
0
0
0
0
0
1
0.073684
false
0
0.126316
0
0.231579
0.073684
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
29be260e3dfb9d856857022e940523d1c04a7213
856
py
Python
angular_scaffold/management/commands/startview.py
juanfe/django-angular-scaffold
6425880d2198df22966e05509a01f09ec8f43e1a
[ "MIT" ]
4
2015-02-03T06:48:43.000Z
2015-05-27T15:31:56.000Z
angular_scaffold/management/commands/startview.py
juanfe/django-angular-scaffold
6425880d2198df22966e05509a01f09ec8f43e1a
[ "MIT" ]
13
2015-01-08T14:12:38.000Z
2021-06-10T17:44:37.000Z
angular_scaffold/management/commands/startview.py
juanfe/django-angular-scaffold
6425880d2198df22966e05509a01f09ec8f43e1a
[ "MIT" ]
1
2018-02-25T17:50:55.000Z
2018-02-25T17:50:55.000Z
from django.core.management.base import BaseCommand from django.conf import settings from angular_scaffold.management.commands.helpers._generate_view import generate_view class Command(BaseCommand): args = '<view_name view_name ...>' help = 'Creates a new view, adds the styles, and imports it' def handl...
35.666667
85
0.642523
101
856
5.277228
0.475248
0.135084
0.045028
0.093809
0.300188
0.300188
0.300188
0.300188
0.300188
0.300188
0
0
0.264019
856
23
86
37.217391
0.846032
0
0
0.315789
1
0
0.191589
0
0
0
0
0
0
1
0.052632
false
0
0.210526
0
0.421053
0
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
29c8d32c33a1b8a1f78f33fafe3127c6520114ad
902
py
Python
setup.py
cilcoberlin/djangoool
c2d7bcbcaecbe4a6e1f57fb4aa83cafc722dd80d
[ "BSD-3-Clause" ]
3
2015-05-18T13:49:50.000Z
2015-05-18T14:46:23.000Z
setup.py
cilcoberlin/djangoool
c2d7bcbcaecbe4a6e1f57fb4aa83cafc722dd80d
[ "BSD-3-Clause" ]
null
null
null
setup.py
cilcoberlin/djangoool
c2d7bcbcaecbe4a6e1f57fb4aa83cafc722dd80d
[ "BSD-3-Clause" ]
null
null
null
try: from setuptools import setup except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup setup( name='djangoool', version=__import__('djangoool').__version__, description='A Django interface to the pycountry module.', author='Justin Locsei', author_email='justin...
23.736842
72
0.727273
97
902
6.608247
0.659794
0.043682
0.062403
0.078003
0
0
0
0
0
0
0
0.001274
0.129712
902
37
73
24.378378
0.815287
0
0
0.2
0
0
0.504994
0.059933
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
29d6243adeb0807fddddecd7c05e4f582661b88c
1,925
py
Python
utils/datagen.py
zalanborsos/coresets
47896a68c79666496cf1ef1d2683bd76875fe013
[ "BSD-3-Clause" ]
28
2019-10-11T07:30:57.000Z
2022-03-24T06:03:20.000Z
utils/datagen.py
zalanborsos/coresets
47896a68c79666496cf1ef1d2683bd76875fe013
[ "BSD-3-Clause" ]
2
2020-08-18T17:45:38.000Z
2021-10-15T13:20:29.000Z
utils/datagen.py
zalanborsos/coresets
47896a68c79666496cf1ef1d2683bd76875fe013
[ "BSD-3-Clause" ]
8
2019-11-21T10:13:31.000Z
2021-12-08T04:41:29.000Z
import numpy as np def crp(n, alpha, d=2, sigma_sq=20, sigma_0_sq=5000): """ Generates samples from a DPMM with Gaussian likelihood and fixed cluster covariance using the Chinese restaurant process. The mean prior is also Gaussian with mean 0 and variance sigma_0_sq. Parameters ---------- ...
27.5
93
0.590649
250
1,925
4.432
0.336
0.045126
0.028881
0.093863
0.095668
0.070397
0.070397
0.070397
0
0
0
0.023755
0.322078
1,925
69
94
27.898551
0.825287
0.326234
0
0.057143
1
0
0
0
0
0
0
0
0
1
0.028571
false
0
0.028571
0
0.085714
0
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
29e0eda439c6ab2711dfadf63aeaf14c704f9c19
364
py
Python
projecteuler/1_multiple_of_5_3.py
ahmedelq/PythonicAlgorithms
ce10dbb6e1fd0ea5c922a932b0f920236aa411bf
[ "MIT" ]
null
null
null
projecteuler/1_multiple_of_5_3.py
ahmedelq/PythonicAlgorithms
ce10dbb6e1fd0ea5c922a932b0f920236aa411bf
[ "MIT" ]
null
null
null
projecteuler/1_multiple_of_5_3.py
ahmedelq/PythonicAlgorithms
ce10dbb6e1fd0ea5c922a932b0f920236aa411bf
[ "MIT" ]
null
null
null
# If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. # Find the sum of all the multiples of 3 or 5 below 1000. # https://projecteuler.net/problem=1 # 1, 5, 10, 15, 20, ... # 3, 6, 9, 12, 15, 18, 21, ... limit = 1000 print( sum( set(range(...
36.4
131
0.648352
75
364
3.146667
0.546667
0.050847
0.101695
0.118644
0.127119
0
0
0
0
0
0
0.151203
0.200549
364
10
132
36.4
0.659794
0.744505
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
29e63bd7aaad362f89a1ffa9a593bd7b36f54de8
612
py
Python
nomi/migrations/0043_post_perms.py
TheDjangoBoys/Gymkhana-Nominations
6ce13fb3a21fe91630e0c8fdaf597e61c87f2d06
[ "MIT" ]
null
null
null
nomi/migrations/0043_post_perms.py
TheDjangoBoys/Gymkhana-Nominations
6ce13fb3a21fe91630e0c8fdaf597e61c87f2d06
[ "MIT" ]
null
null
null
nomi/migrations/0043_post_perms.py
TheDjangoBoys/Gymkhana-Nominations
6ce13fb3a21fe91630e0c8fdaf597e61c87f2d06
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-06-06 08:56 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('nomi', '0042_auto_20170606_0842'), ] operations = [ migrations.AddField( ...
29.142857
219
0.632353
73
612
5.164384
0.684932
0.05305
0.068966
0.090186
0.222812
0
0
0
0
0
0
0.076433
0.230392
612
20
220
30.6
0.723992
0.111111
0
0
1
0
0.280961
0.042514
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
29e6415769139f71e427496c10c1f14ffd98b78b
1,290
py
Python
syncer/src/ergo.py
bravo-kernel/ergowatch
858c62369a7afdd393c722abe8d22788a456ca50
[ "MIT" ]
7
2021-12-07T19:19:15.000Z
2022-02-19T20:40:33.000Z
syncer/src/ergo.py
bravo-kernel/ergowatch
858c62369a7afdd393c722abe8d22788a456ca50
[ "MIT" ]
19
2021-08-18T02:45:56.000Z
2022-03-30T02:00:49.000Z
syncer/src/ergo.py
bravo-kernel/ergowatch
858c62369a7afdd393c722abe8d22788a456ca50
[ "MIT" ]
2
2022-01-05T20:07:10.000Z
2022-02-19T20:40:55.000Z
def circ_supply(height: int, nano: bool = False) -> int: """ Circulating supply at given height, in ERG (or nanoERG). """ # Emission settings initial_rate = 75 fixed_rate_blocks = 525600 - 1 epoch_length = 64800 step = 3 # At current height completed_epochs = max(0, h...
32.25
80
0.654264
163
1,290
4.883436
0.368098
0.075377
0.100503
0.037688
0.10804
0.10804
0.10804
0.10804
0.10804
0
0
0.095535
0.253488
1,290
39
81
33.076923
0.731049
0.268992
0
0
0
0
0
0
0
0
0
0.025641
0
1
0.047619
false
0
0
0
0.095238
0
0
0
0
null
0
0
0
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
29eb417b021135bc0be242b39ec5a3dbeddd9624
20,326
py
Python
dnsplice_v1.py
nerdiosity/DNSplice
7d77ce941d3b1af26a1460bf89445ced269f50f5
[ "MIT" ]
33
2018-06-08T22:12:11.000Z
2021-03-01T07:40:23.000Z
dnsplice_v1.py
nerdiosity/DNSplice
7d77ce941d3b1af26a1460bf89445ced269f50f5
[ "MIT" ]
1
2019-01-30T03:21:12.000Z
2019-01-30T03:59:07.000Z
dnsplice_v1.py
nerdiosity/DNSplice
7d77ce941d3b1af26a1460bf89445ced269f50f5
[ "MIT" ]
1
2018-06-08T22:12:16.000Z
2018-06-08T22:12:16.000Z
####################################################################################### # DNSplice was created by Shelly Giesbrecht (nerdiosity) to assist incident responders # to quickly and easily parse client query events from ugly DNS logs for # Microsoft Windows 2003/2008R2 (DNS debug log) to Windows 2012R2/2016 ...
55.233696
203
0.536357
2,321
20,326
4.587247
0.162861
0.025923
0.018409
0.022354
0.592373
0.541279
0.517517
0.466986
0.43477
0.391096
0
0.02094
0.248155
20,326
368
204
55.233696
0.675762
0.309259
0
0.502203
0
0.013216
0.25035
0.120435
0
0
0
0
0
0
null
null
0
0.035242
null
null
0.220264
0
0
0
null
0
0
0
0
0
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
29f60eda825391cf66349104155a6533b88ff8b7
365
py
Python
questions/migrations/0004_auto_20191211_0912.py
Jay-68/moringa_flow
9cf72e8279a4b5397be8b1b2c57d7b5ff629b23b
[ "MIT" ]
null
null
null
questions/migrations/0004_auto_20191211_0912.py
Jay-68/moringa_flow
9cf72e8279a4b5397be8b1b2c57d7b5ff629b23b
[ "MIT" ]
6
2019-12-11T08:54:34.000Z
2021-09-08T01:29:12.000Z
questions/migrations/0004_auto_20191211_0912.py
Jay-68/moringa_flow
9cf72e8279a4b5397be8b1b2c57d7b5ff629b23b
[ "MIT" ]
1
2019-12-13T11:24:50.000Z
2019-12-13T11:24:50.000Z
# Generated by Django 2.1 on 2019-12-11 06:12 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('questions', '0003_auto_20191211_0910'), ] operations = [ migrations.RenameField( model_name='question', old_name='question', ...
19.210526
49
0.589041
38
365
5.5
0.763158
0.114833
0
0
0
0
0
0
0
0
0
0.117647
0.30137
365
18
50
20.277778
0.701961
0.117808
0
0
1
0
0.1625
0.071875
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
29fa83e639cbf2bf1ee9141431a84f3fd4de4bf0
319
py
Python
api/beers/migrations/0035_delete_matchfiltercollab.py
haavardnk/Vinmonopolet-x-Untappd
950db7201593d7b94daf091884949aed4377d4ca
[ "MIT" ]
null
null
null
api/beers/migrations/0035_delete_matchfiltercollab.py
haavardnk/Vinmonopolet-x-Untappd
950db7201593d7b94daf091884949aed4377d4ca
[ "MIT" ]
null
null
null
api/beers/migrations/0035_delete_matchfiltercollab.py
haavardnk/Vinmonopolet-x-Untappd
950db7201593d7b94daf091884949aed4377d4ca
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2021-01-09 17:51 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('beers', '0034_matchfiltercollab'), ] operations = [ migrations.DeleteModel( name='MatchFilterCollab', ), ]
18.764706
48
0.583072
30
319
6.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0.086758
0.31348
319
16
49
19.9375
0.757991
0.141066
0
0
1
0
0.171875
0.085938
0
0
0
0
0
1
0
false
0
0.1
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
29ff57d24a461c0ba19b1b39553d74e013d9de14
286
py
Python
vol2/53.py
EdisonAlgorithms/ProjectEuler
95025ede2c92dbd3ed2dccc0f8a97e9a3db95ef0
[ "MIT" ]
null
null
null
vol2/53.py
EdisonAlgorithms/ProjectEuler
95025ede2c92dbd3ed2dccc0f8a97e9a3db95ef0
[ "MIT" ]
null
null
null
vol2/53.py
EdisonAlgorithms/ProjectEuler
95025ede2c92dbd3ed2dccc0f8a97e9a3db95ef0
[ "MIT" ]
null
null
null
def factorial(x) : ret = 1 for i in range(2, x + 1) : ret *= i return ret if __name__ == '__main__' : s = [factorial(x) for x in range(101)] ret = 0 for i in range(2, 101) : for j in range(0, i + 1) : c = s[i] / s[j] / s[i - j] if c > 1000000 : ret += 1 print ret
17.875
39
0.524476
57
286
2.491228
0.368421
0.197183
0.084507
0.15493
0.169014
0
0
0
0
0
0
0.106599
0.311189
286
15
40
19.066667
0.614213
0
0
0
0
0
0.027972
0
0
0
0
0
0
0
null
null
0
0
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4b08f624fa729bffe350cfcd04527da1d815eee0
329
py
Python
Python/demo/unnamed/item.py
manhong2112/CodeColle
9233376608ee57005d563bab5b05541dc1262d90
[ "WTFPL" ]
null
null
null
Python/demo/unnamed/item.py
manhong2112/CodeColle
9233376608ee57005d563bab5b05541dc1262d90
[ "WTFPL" ]
null
null
null
Python/demo/unnamed/item.py
manhong2112/CodeColle
9233376608ee57005d563bab5b05541dc1262d90
[ "WTFPL" ]
null
null
null
class Equip(): def __init__(self, name, attribute, action): self.name = name self.attribute = attribute self.action = action class Item(): def __init__(self, name, attribute, buff): self.name = name self.attribute = attribute self.buff = buff class Attribute(dic...
23.5
48
0.617021
38
329
5.131579
0.315789
0.164103
0.112821
0.153846
0.635897
0.389744
0.389744
0
0
0
0
0
0.282675
329
13
49
25.307692
0.826271
0
0
0.363636
0
0
0
0
0
0
0
0
0
1
0.181818
false
0.090909
0
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
1
0
0
0
0
0
1
4b0c33d41bf820856d61abd83c90717b25d6e40f
1,641
py
Python
app10.py
mohammad-pourmirzay/Python-Resume
8834b3c592ba7fd3aa485735a13d6e1f778102fa
[ "MIT" ]
null
null
null
app10.py
mohammad-pourmirzay/Python-Resume
8834b3c592ba7fd3aa485735a13d6e1f778102fa
[ "MIT" ]
null
null
null
app10.py
mohammad-pourmirzay/Python-Resume
8834b3c592ba7fd3aa485735a13d6e1f778102fa
[ "MIT" ]
null
null
null
import termcolor print(termcolor.colored("Hello, welcome to the question game", color = "green")) print(termcolor.colored("Please specify the difficulty level of the questions", color ="green")) difficulty_questions = int(input("Easy = 1, Medium = 2, Hard = 3 : ")) score = 0 class Question: def __init__(s...
37.295455
104
0.629494
231
1,641
4.255411
0.238095
0.081384
0.085453
0.027467
0.107833
0.063072
0.063072
0.063072
0.042726
0
0
0.044374
0.230957
1,641
44
105
37.295455
0.734548
0
0
0.055556
0
0
0.25641
0
0
0
0
0
0
1
0.055556
false
0.055556
0.027778
0
0.111111
0.277778
0
0
0
null
0
0
0
0
0
0
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
4b1d30dd710f6688cc09de67822597e8c8e4563b
2,117
py
Python
livefeedback_hub/helper/misc.py
fritterhoff/livefeedback-hub
c737baf9d7564ca54cdfe89671b60ac224f481af
[ "BSD-3-Clause" ]
3
2021-06-30T14:30:30.000Z
2021-09-12T08:32:00.000Z
livefeedback_hub/helper/misc.py
fritterhoff/livefeedback-hub
c737baf9d7564ca54cdfe89671b60ac224f481af
[ "BSD-3-Clause" ]
66
2021-09-11T12:45:45.000Z
2022-03-31T20:45:58.000Z
livefeedback_hub/helper/misc.py
fritterhoff/livefeedback-hub
c737baf9d7564ca54cdfe89671b60ac224f481af
[ "BSD-3-Clause" ]
null
null
null
import os import functools import hashlib from typing import Awaitable, Callable, Optional from otter.grade import utils from python_on_whales import docker from python_on_whales.exceptions import NoSuchImage from tornado.web import HTTPError, RequestHandler, authenticated from livefeedback_hub.db import AutograderZi...
29.402778
111
0.700047
278
2,117
5.226619
0.413669
0.037853
0.044047
0.024776
0.024776
0
0
0
0
0
0
0.007005
0.190836
2,117
71
112
29.816901
0.841214
0.145489
0
0.045455
0
0
0.075482
0.026107
0
0
0
0
0
1
0.181818
false
0
0.227273
0
0.568182
0
0
0
0
null
0
0
0
0
0
0
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
4b1d7c189a7eb2206864c6fef7226012ab4012a8
14,101
py
Python
sunnysouth/marketplace/migrations/0001_initial.py
EdwinBaeza05/django-genricsl-app
a8759d609957e80883cca79f0694d494364775a4
[ "MIT" ]
null
null
null
sunnysouth/marketplace/migrations/0001_initial.py
EdwinBaeza05/django-genricsl-app
a8759d609957e80883cca79f0694d494364775a4
[ "MIT" ]
null
null
null
sunnysouth/marketplace/migrations/0001_initial.py
EdwinBaeza05/django-genricsl-app
a8759d609957e80883cca79f0694d494364775a4
[ "MIT" ]
null
null
null
# Generated by Django 3.1 on 2021-07-30 07:00 from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators import django.core.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import sunnysouth.lib.models clas...
67.147619
329
0.615914
1,503
14,101
5.622089
0.160346
0.05858
0.026982
0.048284
0.669349
0.633965
0.572308
0.553373
0.537278
0.517396
0
0.013946
0.242323
14,101
209
330
67.4689
0.776956
0.003049
0
0.559406
1
0
0.244451
0.011525
0
0
0
0
0
1
0
false
0.004951
0.039604
0
0.059406
0
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
4b2287e6c660ff7782c96ec4e85a4ac535bd453d
17,730
py
Python
python/plugins/db_manager/db_plugins/info_model.py
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
python/plugins/db_manager/db_plugins/info_model.py
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
python/plugins/db_manager/db_plugins/info_model.py
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
# -*- coding: utf-8 -*- """ /*************************************************************************** Name : DB Manager Description : Database manager plugin for QGIS Date : May 23, 2011 copyright : (C) 2011 by Giuseppe Sucameli email : brush.tyler@...
38.627451
156
0.582628
1,739
17,730
5.867165
0.154112
0.056454
0.218759
0.053514
0.599334
0.557385
0.525728
0.495443
0.449182
0.449182
0
0.004137
0.291032
17,730
458
157
38.71179
0.807558
0.115567
0
0.568182
0
0.006494
0.146621
0.011765
0
0
0
0
0
1
0.090909
false
0.042208
0.00974
0.003247
0.211039
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4b29d3f5b95e541e0ed6c31e12722c9c8cdb2c1d
685
py
Python
average-height-cal.py
cmlohr/small-python-projects
1de340e898f5cd7e712bc5562f16b73bb1f42bd0
[ "MIT" ]
null
null
null
average-height-cal.py
cmlohr/small-python-projects
1de340e898f5cd7e712bc5562f16b73bb1f42bd0
[ "MIT" ]
null
null
null
average-height-cal.py
cmlohr/small-python-projects
1de340e898f5cd7e712bc5562f16b73bb1f42bd0
[ "MIT" ]
1
2020-12-03T23:59:42.000Z
2020-12-03T23:59:42.000Z
print("#######################################") print("## AVERAGE STUDENT HEIGHT CALCULATOR ##") print("#######################################") #test heights: 123 149 175 183 166 179 125 student_heights = input(" Input a list of student heights:\n>> ").split() for n in range(0, len(student_heights)): student_hei...
29.782609
75
0.636496
90
685
4.722222
0.422222
0.329412
0.105882
0.112941
0
0
0
0
0
0
0
0.042301
0.137226
685
23
76
29.782609
0.676819
0.128467
0
0.117647
0
0
0.318182
0.131313
0
0
0
0
0
1
0.058824
false
0
0
0
0.117647
0.235294
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
d99d7c268356231148ce911f3d76bed854c12441
810
py
Python
lotto/views.py
honux77/polls-web-demo
38ffc4763bf872276bf0daaa65c848cb843e45c8
[ "Apache-2.0" ]
null
null
null
lotto/views.py
honux77/polls-web-demo
38ffc4763bf872276bf0daaa65c848cb843e45c8
[ "Apache-2.0" ]
null
null
null
lotto/views.py
honux77/polls-web-demo
38ffc4763bf872276bf0daaa65c848cb843e45c8
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render, redirect from django.http import HttpResponse # Create your views here. from .models import GuessNumbers from .forms import PostForm def index(request): lottos = GuessNumbers.objects.all() return render(request, "lotto/default.html", {"lottos": lottos}) def post(request):...
30
68
0.655556
95
810
5.578947
0.442105
0.067925
0.107547
0.135849
0
0
0
0
0
0
0
0
0.222222
810
26
69
31.153846
0.84127
0.040741
0
0
0
0
0.103359
0
0
0
0
0
0
1
0.15
false
0
0.2
0
0.55
0
0
0
0
null
0
0
0
0
0
0
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
d9a1e0ee45098b4580b475ccf4fdb5be1f9b2cdf
7,207
py
Python
tools/generate_constants.py
dargueta/unicorn-lua
7fe76599a67cb3241873dde7979c4866d2a40605
[ "BSD-3-Clause" ]
14
2018-10-27T10:28:50.000Z
2021-12-20T16:42:24.000Z
tools/generate_constants.py
udbg/unicorn-lua
f0cfed9f473bfb8d6125c461d0e09eba8c5b9c25
[ "BSD-3-Clause" ]
13
2018-12-19T15:46:25.000Z
2022-03-18T22:01:43.000Z
tools/generate_constants.py
udbg/unicorn-lua
f0cfed9f473bfb8d6125c461d0e09eba8c5b9c25
[ "BSD-3-Clause" ]
1
2021-10-18T02:32:00.000Z
2021-10-18T02:32:00.000Z
"""Generate constants files from the Unicorn headers. This is heavily borrowed from the script in the Unicorn source repo, except modified to work with an installed library rather than from the source code. The headers must be present, but that's all that's required. """ import ast import collections import datetime ...
34.985437
88
0.572638
883
7,207
4.540204
0.300113
0.03991
0.016214
0.014966
0.112746
0.053879
0.03542
0.03542
0.01796
0
0
0.003317
0.33079
7,207
205
89
35.156098
0.827908
0.229083
0
0.144928
1
0
0.192855
0.02479
0
0
0
0
0
1
0.028986
false
0
0.050725
0
0.123188
0
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
d9a1e7fb55a14e3533c2b723be77f0b3fbe238f3
334
py
Python
src/tests/test_trivial.py
ndejong/arpwitch
40cf4ae283b2c29a3901da4e95e984cad7e3c441
[ "BSD-2-Clause" ]
1
2018-04-19T09:27:23.000Z
2018-04-19T09:27:23.000Z
src/tests/test_trivial.py
ndejong/arpwitch
40cf4ae283b2c29a3901da4e95e984cad7e3c441
[ "BSD-2-Clause" ]
null
null
null
src/tests/test_trivial.py
ndejong/arpwitch
40cf4ae283b2c29a3901da4e95e984cad7e3c441
[ "BSD-2-Clause" ]
null
null
null
from arpwitch import arp_witch def test_name_exist(): aw = arp_witch assert aw.NAME is not None def test_version_exist(): aw = arp_witch assert aw.VERSION is not None def test_version_call(): version = arp_witch.ArpWitch().do_version() assert type(version) is dict assert "version" in v...
18.555556
47
0.706587
51
334
4.411765
0.411765
0.142222
0.088889
0.133333
0.408889
0.408889
0
0
0
0
0
0
0.212575
334
17
48
19.647059
0.855513
0
0
0.181818
0
0
0.020958
0
0
0
0
0
0.363636
1
0.272727
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d9a1ff2631f08d5aa1d2cfebf7b6f4743e3ffdc4
9,175
py
Python
upy/contrib/customadmin/admin.py
20tab/upy
9b15c01afb46cf0082076fb0567f23f97d4099cb
[ "BSD-3-Clause" ]
2
2021-05-04T07:52:39.000Z
2021-07-11T22:19:32.000Z
upy/contrib/customadmin/admin.py
20tab/upy
9b15c01afb46cf0082076fb0567f23f97d4099cb
[ "BSD-3-Clause" ]
1
2017-11-03T10:17:23.000Z
2017-11-03T10:17:23.000Z
upy/contrib/customadmin/admin.py
20tab/upy
9b15c01afb46cf0082076fb0567f23f97d4099cb
[ "BSD-3-Clause" ]
null
null
null
""" Admin's option for all model defined in customadmin app. """ from django.contrib import admin from django import forms from upy.contrib.customadmin.models import CustomAdmin, CustomApp, CustomLink, _, \ list_apps, list_models, CustomModel, all_apps from upy.contrib.sortable.admin import PositionAdmin from upy.u...
39.891304
119
0.581689
913
9,175
5.571742
0.204819
0.02988
0.04482
0.015726
0.483586
0.409868
0.312955
0.263023
0.231571
0.221152
0
0.001727
0.305613
9,175
229
120
40.065502
0.796735
0.046104
0
0.271605
0
0
0.220224
0.042781
0
0
0
0
0
0
null
null
0
0.04321
null
null
0.006173
0
0
0
null
0
0
0
0
0
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
d9a4405e7c50801c4263fef023ff03fda962453c
822
py
Python
tests/urls.py
sergioisidoro/django-robots
70da7606974b915d57e038f8bdf31c0b21be7e45
[ "BSD-3-Clause" ]
252
2015-12-17T09:58:14.000Z
2022-03-31T15:54:33.000Z
tests/urls.py
sergioisidoro/django-robots
70da7606974b915d57e038f8bdf31c0b21be7e45
[ "BSD-3-Clause" ]
86
2015-12-20T22:58:37.000Z
2022-03-28T09:54:28.000Z
tests/urls.py
sergioisidoro/django-robots
70da7606974b915d57e038f8bdf31c0b21be7e45
[ "BSD-3-Clause" ]
64
2015-12-24T14:24:42.000Z
2022-03-24T18:22:39.000Z
import django.contrib.sitemaps.views import django.views.i18n import django.views.static from django.conf import settings from django.contrib import admin from django.contrib.sitemaps.views import sitemap as sitemap_view from django.urls import include from django.urls import re_path as url from django.views.decorators...
30.444444
69
0.663017
107
822
5.009346
0.373832
0.11194
0.078358
0.097015
0.119403
0
0
0
0
0
0
0.005997
0.188564
822
26
70
31.615385
0.797601
0.017032
0
0.16
0
0
0.15796
0
0
0
0
0
0
1
0
false
0
0.36
0
0.36
0
0
0
0
null
0
0
0
0
0
0
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
d9a44448c7199aba399461ea9a4d25850dc05c11
9,849
py
Python
src/pywallet/managekeystore.py
homdx/PyWallet
693c49822ad82f75ea124eedbf9a14f44ce033c0
[ "MIT" ]
1
2018-09-01T04:03:02.000Z
2018-09-01T04:03:02.000Z
src/pywallet/managekeystore.py
homdx/PyWallet
693c49822ad82f75ea124eedbf9a14f44ce033c0
[ "MIT" ]
5
2021-03-19T15:54:59.000Z
2022-03-12T00:53:58.000Z
src/pywallet/managekeystore.py
homdx/PyWallet
693c49822ad82f75ea124eedbf9a14f44ce033c0
[ "MIT" ]
null
null
null
from kivy.app import App from kivy.clock import Clock, mainthread from kivy.properties import ObjectProperty, StringProperty from kivy.uix.boxlayout import BoxLayout from kivy.uix.screenmanager import Screen from pywallet.utils import Dialog, load_kv_from_py, run_in_thread load_kv_from_py(__file__) class ManageKeys...
33.161616
76
0.634684
1,095
9,849
5.517808
0.23379
0.03244
0.018537
0.023833
0.338133
0.326879
0.298411
0.286164
0.242469
0.217478
0
0.006633
0.280536
9,849
296
77
33.273649
0.846034
0.164281
0
0.44086
0
0
0.074356
0
0
0
0
0.003378
0
1
0.129032
false
0.172043
0.053763
0.005376
0.327957
0
0
0
0
null
0
0
0
0
0
0
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
d9a9a2301b97bd3a596991526b97e3ccf707af58
12,708
py
Python
rllib/utils/tests/test_check_env.py
mgelbart/ray
4cec2286572e368a4bd64aae467751a384eff62d
[ "Apache-2.0" ]
22
2018-05-08T05:52:34.000Z
2020-04-01T10:09:55.000Z
rllib/utils/tests/test_check_env.py
mgelbart/ray
4cec2286572e368a4bd64aae467751a384eff62d
[ "Apache-2.0" ]
51
2018-05-17T05:55:28.000Z
2020-03-18T06:49:49.000Z
rllib/utils/tests/test_check_env.py
mgelbart/ray
4cec2286572e368a4bd64aae467751a384eff62d
[ "Apache-2.0" ]
10
2018-04-27T10:50:59.000Z
2020-02-24T02:41:43.000Z
import logging import gym import numpy as np import pytest import unittest from unittest.mock import Mock, MagicMock from ray.rllib.env.base_env import convert_to_base_env from ray.rllib.env.multi_agent_env import make_multi_agent, MultiAgentEnvWrapper from ray.rllib.examples.env.random_env import RandomEnv from ray....
36.517241
88
0.605367
1,627
12,708
4.507068
0.096497
0.038456
0.078549
0.120551
0.754943
0.716214
0.659757
0.653075
0.594163
0.563071
0
0.011775
0.291627
12,708
347
89
36.622478
0.802822
0.021246
0
0.624585
0
0
0.15405
0.011423
0
0
0
0
0
1
0.066445
false
0.006645
0.033223
0
0.112957
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
d9acc189d01dee1e229cd2e689db09aecdd58246
104,006
py
Python
dense_correspondence/evaluation/evaluation.py
Rubikplayer/pytorch-dense-correspondence
c5fc049892f126f3cd605d9d2bb5d031a4ad086d
[ "BSD-3-Clause" ]
1
2019-09-07T13:14:45.000Z
2019-09-07T13:14:45.000Z
dense_correspondence/evaluation/evaluation.py
BerkeleyAutomation/pytorch-dense-correspondence
db48f8bf367bdab0d0375c87945e2485b581e9a0
[ "BSD-3-Clause" ]
null
null
null
dense_correspondence/evaluation/evaluation.py
BerkeleyAutomation/pytorch-dense-correspondence
db48f8bf367bdab0d0375c87945e2485b581e9a0
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python import os import dense_correspondence_manipulation.utils.utils as utils import logging utils.add_dense_correspondence_to_python_path() import matplotlib.pyplot as plt import cv2 import numpy as np import pandas as pd import random import scipy.stats as ss import torch from torch.autograd import Var...
39.803291
160
0.606446
13,168
104,006
4.440006
0.062424
0.022013
0.005986
0.011699
0.620087
0.559145
0.497657
0.445011
0.406253
0.371395
0
0.012926
0.314905
104,006
2,613
161
39.803291
0.807604
0.049911
0
0.390756
0
0
0.064928
0.017091
0
0
0
0.000383
0.004202
0
null
null
0.001401
0.014706
null
null
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d9ad5687679924b201c5c0da0ae99a98384722c6
2,444
py
Python
python/language/lang.py
kenkeiras/codigoparallevar
3bd6ab39cfdfb07e8d0d63a2af4bf3d9c55e3957
[ "WTFPL" ]
2
2020-02-16T15:02:22.000Z
2021-05-26T21:52:08.000Z
python/language/lang.py
kenkeiras/codigoparallevar
3bd6ab39cfdfb07e8d0d63a2af4bf3d9c55e3957
[ "WTFPL" ]
null
null
null
python/language/lang.py
kenkeiras/codigoparallevar
3bd6ab39cfdfb07e8d0d63a2af4bf3d9c55e3957
[ "WTFPL" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 import re import os import sys # Define un color para mostrar los resultados color = True if color: colorfile = "\x1b[0;92m" # Verde colorend = "\x1b[0m" # Fin del color else: colorfile = colorend = "" # Diccionarios a comprobar dictionaries = ["american-englis...
27.155556
78
0.532733
308
2,444
4.149351
0.415584
0.035211
0.015649
0.028169
0
0
0
0
0
0
0
0.014778
0.335516
2,444
89
79
27.460674
0.772167
0.050327
0
0.033898
0
0
0.072745
0
0
0
0
0
0
0
null
null
0
0.050847
null
null
0.084746
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d9afdbce327299bd6e62da08d3cde8d9e0f47ff0
11,794
py
Python
mvpa2/tests/test_state.py
arnaudsj/PyMVPA
3e58b03d843089b1f631774d362a390487411ac6
[ "MIT" ]
1
2015-11-05T13:58:09.000Z
2015-11-05T13:58:09.000Z
mvpa2/tests/test_state.py
arnaudsj/PyMVPA
3e58b03d843089b1f631774d362a390487411ac6
[ "MIT" ]
null
null
null
mvpa2/tests/test_state.py
arnaudsj/PyMVPA
3e58b03d843089b1f631774d362a390487411ac6
[ "MIT" ]
null
null
null
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ## # # See COPYING file distributed along with the PyMVPA package for the # copyright and license terms. # ### ### ### ### ###...
35.20597
94
0.624555
1,338
11,794
5.355007
0.241405
0.030147
0.023029
0.01605
0.254292
0.223587
0.196371
0.154222
0.112491
0.085415
0
0.02578
0.263269
11,794
334
95
35.311377
0.798826
0.132016
0
0.208955
0
0
0.124008
0
0
0
0
0.002994
0.268657
0
null
null
0.024876
0.054726
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
d9b9bececf5e14492f43c93942d664cffc3f2576
386
py
Python
BOOK/MAIN/05-file-handling/chapter-5/11-count-$.py
kabirsrivastava3/python-practice
f56a4a0764031d3723b0ba4cd1418a1a83b1e4f5
[ "MIT" ]
null
null
null
BOOK/MAIN/05-file-handling/chapter-5/11-count-$.py
kabirsrivastava3/python-practice
f56a4a0764031d3723b0ba4cd1418a1a83b1e4f5
[ "MIT" ]
null
null
null
BOOK/MAIN/05-file-handling/chapter-5/11-count-$.py
kabirsrivastava3/python-practice
f56a4a0764031d3723b0ba4cd1418a1a83b1e4f5
[ "MIT" ]
null
null
null
#A program that counts the number of characters up to the first $ in a text file. file = open("poem.txt","r") data = file.readlines() for index in range(len(data)): for secondIndex in range(len(data[index])): if data[index][secondIndex] == "$": break print( "Total number of chara...
27.571429
81
0.634715
56
386
4.375
0.553571
0.065306
0.146939
0.163265
0.244898
0.244898
0.244898
0
0
0
0
0
0.233161
386
13
82
29.692308
0.827703
0.207254
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
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
d9c8d9a5843db85b098d723ae1bcf3ad686d86a9
770
py
Python
app/utils/JsonUtil.py
sangjeedondrub/git-webhook
e272d4cc7c3961ef8d0e33a317fa282047e56fe4
[ "MIT" ]
2
2018-07-30T05:51:00.000Z
2019-06-19T11:15:11.000Z
app/utils/JsonUtil.py
ncuhome/git-webhook
c33bbf99502fea46c6ceed1ec45a48069c533f1a
[ "MIT" ]
null
null
null
app/utils/JsonUtil.py
ncuhome/git-webhook
c33bbf99502fea46c6ceed1ec45a48069c533f1a
[ "MIT" ]
2
2016-11-21T02:38:25.000Z
2019-06-19T11:15:24.000Z
# -*- coding: utf-8 -*- ''' Created on 2016年2月19日 一些json的处理方法 @author: hzwangzhiwei ''' from datetime import date from datetime import datetime import json class CJsonEncoder(json.JSONEncoder): def default(self, obj): if isinstance(obj, datetime): return obj.strftime('%Y-%m-%d %H:%M:%S') ...
19.25
54
0.609091
93
770
4.978495
0.516129
0.090713
0.077754
0.077754
0.086393
0.086393
0
0
0
0
0
0.017668
0.264935
770
39
55
19.74359
0.800353
0.153247
0
0
0
0
0.040717
0
0
0
0
0
0
1
0.15
false
0
0.15
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d9cae2eb1bbb041038ecbe0d95b83a5b5e190306
3,144
py
Python
survival/loadData.py
morningmorningwind/complexity
2c45ce96d0c883d4610c72969575f74e1c9d31a5
[ "MIT" ]
null
null
null
survival/loadData.py
morningmorningwind/complexity
2c45ce96d0c883d4610c72969575f74e1c9d31a5
[ "MIT" ]
null
null
null
survival/loadData.py
morningmorningwind/complexity
2c45ce96d0c883d4610c72969575f74e1c9d31a5
[ "MIT" ]
null
null
null
# encoding: utf-8 import os import csv from pylab import * from numpy import * def loadData(name): # DATADIR='sav/' DATADIR='/home/zhenfeng/Research/GroupEvolution/src/code201611-MZ/sav/' if name == 'allGroups': G={} fpath=DATADIR+'gids-all.csv' csvfile=open(fpath, 'rb') dat...
25.152
76
0.485369
367
3,144
4.158038
0.182561
0.035387
0.05308
0.088467
0.653342
0.653342
0.653342
0.653342
0.653342
0.602228
0
0.013001
0.388359
3,144
124
77
25.354839
0.780551
0.010496
0
0.65812
0
0
0.102028
0.019633
0
0
0
0
0
1
0.008547
false
0
0.034188
0
0.119658
0.008547
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
d9cf8fa4d4cc258cb971947914b33c0c4b0145a5
3,033
py
Python
tests/test_views.py
hygt/nexus-python-sdk
3a625bdd218e164fbc6ad8d936357cd6ede19a98
[ "Apache-2.0" ]
null
null
null
tests/test_views.py
hygt/nexus-python-sdk
3a625bdd218e164fbc6ad8d936357cd6ede19a98
[ "Apache-2.0" ]
null
null
null
tests/test_views.py
hygt/nexus-python-sdk
3a625bdd218e164fbc6ad8d936357cd6ede19a98
[ "Apache-2.0" ]
null
null
null
import nexussdk as nexus prod = "https://bbp.epfl.ch/nexus/v1/" staging = 'https://bbp-nexus.epfl.ch/staging/v1' token = open('token.txt', 'r').read().strip() nexus.config.set_token(token) nexus.config.set_environment(staging) # DEV with Github token # token = open('token-gh.txt', 'r').read().strip() # nexus.config...
25.275
103
0.653808
405
3,033
4.740741
0.254321
0.072917
0.088542
0.109375
0.480208
0.410417
0.340625
0.265625
0.265625
0.21875
0
0.003946
0.164524
3,033
119
104
25.487395
0.753749
0.811738
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d9d19b196f6fbf1f11edb502d77d7e0f80b1cd26
1,323
py
Python
pygithub3/core/json/__init__.py
Kagami/python-github3
d2ba1fd46dc780be19eb67f8453c80b126338a20
[ "0BSD" ]
null
null
null
pygithub3/core/json/__init__.py
Kagami/python-github3
d2ba1fd46dc780be19eb67f8453c80b126338a20
[ "0BSD" ]
null
null
null
pygithub3/core/json/__init__.py
Kagami/python-github3
d2ba1fd46dc780be19eb67f8453c80b126338a20
[ "0BSD" ]
null
null
null
# -*- coding: utf-8 -*- """ Emulate json module with encode/decoders to support github datetime format """ from datetime import datetime try: import simplejson as json except ImportError: import json import six GITHUB_DATE_FORMAT = '%Y-%m-%dT%H:%M:%SZ' class GHJSONEncoder(json.JSONEncoder): def default...
25.941176
74
0.649282
185
1,323
4.545946
0.524324
0.035672
0.057075
0.03805
0
0
0
0
0
0
0
0.009027
0.24641
1,323
50
75
26.46
0.834504
0.273621
0
0.172414
0
0
0.024262
0
0
0
0
0
0
1
0.137931
false
0
0.172414
0.034483
0.517241
0
0
0
0
null
0
0
0
0
0
0
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
d9d7cad914287fb844b0882592d8ed8af918fa47
2,172
py
Python
setup.py
dhomeier/regions
5055128abda57c3b463f51ede0a6ac0ef5a0c698
[ "BSD-3-Clause" ]
46
2015-05-26T20:59:24.000Z
2022-03-31T04:57:50.000Z
setup.py
dhomeier/regions
5055128abda57c3b463f51ede0a6ac0ef5a0c698
[ "BSD-3-Clause" ]
338
2015-05-15T20:33:35.000Z
2022-03-31T21:43:43.000Z
setup.py
dhomeier/regions
5055128abda57c3b463f51ede0a6ac0ef5a0c698
[ "BSD-3-Clause" ]
49
2016-03-21T22:12:31.000Z
2022-03-29T21:50:25.000Z
#!/usr/bin/env python # Licensed under a 3-clause BSD style license - see LICENSE.rst # NOTE: The configuration for the package, including the name, version, and # other information are set in the setup.cfg file. import sys # First provide helpful messages if contributors try and run legacy commands # for tests or d...
26.168675
76
0.725138
340
2,172
4.544118
0.423529
0.015534
0.027184
0.018123
0.220065
0.220065
0.220065
0.220065
0.143689
0.143689
0
0.001707
0.191068
2,172
82
77
26.487805
0.877632
0.193831
0
0.204082
0
0.020408
0.73908
0.024713
0
0
0
0
0
1
0
false
0
0.122449
0
0.122449
0.040816
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d9ddf36e39a36d0db5b326a7f247b5f5a162d264
1,053
py
Python
materializationengine/schemas.py
seung-lab/MaterializationEngine
b0dbda304db3f90c3e619edace6328dcf1b33f94
[ "MIT" ]
null
null
null
materializationengine/schemas.py
seung-lab/MaterializationEngine
b0dbda304db3f90c3e619edace6328dcf1b33f94
[ "MIT" ]
14
2021-05-28T00:05:37.000Z
2022-03-22T18:37:27.000Z
materializationengine/schemas.py
seung-lab/MaterializationEngine
b0dbda304db3f90c3e619edace6328dcf1b33f94
[ "MIT" ]
null
null
null
from materializationengine.models import AnalysisTable, AnalysisVersion from flask_marshmallow import Marshmallow from marshmallow import fields, ValidationError, Schema from marshmallow_sqlalchemy import SQLAlchemyAutoSchema ma = Marshmallow() class AnalysisVersionSchema(SQLAlchemyAutoSchema): class Meta: ...
28.459459
71
0.711301
107
1,053
6.897196
0.504673
0.108401
0.078591
0.092141
0
0
0
0
0
0
0
0
0.19943
1,053
36
72
29.25
0.875445
0
0
0.148148
0
0
0.035138
0
0
0
0
0
0
1
0.037037
false
0
0.148148
0
0.703704
0
0
0
0
null
0
0
0
0
0
0
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
d9e54c3a4cb408659638b00fe7519fbacd89e4e7
574
py
Python
Section 7 - Text Classification/Text Classification Part 2 - Pickling and Unpickling dataset.py
kungfumas/bahasa-alami
24ad2cb0c537ece11a0f7af376ef778a3c2839ca
[ "MIT" ]
169
2018-04-18T16:01:59.000Z
2022-03-27T13:10:21.000Z
Section 7 - Text Classification/Text Classification Part 2 - Pickling and Unpickling dataset.py
kungfumas/bahasa-alami
24ad2cb0c537ece11a0f7af376ef778a3c2839ca
[ "MIT" ]
3
2018-08-27T18:16:33.000Z
2019-10-16T02:28:46.000Z
Section 7 - Text Classification/Text Classification Part 2 - Pickling and Unpickling dataset.py
kungfumas/bahasa-alami
24ad2cb0c537ece11a0f7af376ef778a3c2839ca
[ "MIT" ]
221
2018-04-26T07:32:53.000Z
2022-03-27T13:10:51.000Z
# Text Classifiation using NLP # Importing the libraries import numpy as np import re import pickle import nltk from nltk.corpus import stopwords from sklearn.datasets import load_files nltk.download('stopwords') # Importing the dataset reviews = load_files('txt_sentoken/') X,y = reviews.data,reviews.target # Pic...
19.793103
39
0.719512
94
574
4.319149
0.414894
0.051724
0.054187
0.054187
0.103448
0.103448
0
0
0
0
0
0
0.149826
574
29
40
19.793103
0.831967
0.198606
0
0
0
0
0.136264
0
0
0
0
0
0
1
0
false
0
0.352941
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d9e76b21e7ef245630b487baff5361b6c3c17158
22,986
py
Python
common/presenter/server/video_analysis/src/video_analysis_message_pb2.py
swxEmily/ascenddk
f9973f535cafb69052a460df2545e5389fe566b0
[ "BSD-3-Clause" ]
null
null
null
common/presenter/server/video_analysis/src/video_analysis_message_pb2.py
swxEmily/ascenddk
f9973f535cafb69052a460df2545e5389fe566b0
[ "BSD-3-Clause" ]
2
2019-01-02T07:31:23.000Z
2019-03-05T13:11:36.000Z
common/presenter/server/video_analysis/src/video_analysis_message_pb2.py
swxEmily/ascenddk
f9973f535cafb69052a460df2545e5389fe566b0
[ "BSD-3-Clause" ]
null
null
null
# ======================================================================= # # Copyright (C) 2018, Hisilicon Technologies Co., Ltd. All Rights Reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1 Redistrib...
39.494845
2,011
0.744366
2,850
22,986
5.755439
0.122105
0.045358
0.068402
0.08535
0.662806
0.617997
0.608425
0.538804
0.49936
0.491313
0
0.035097
0.1286
22,986
581
2,012
39.562823
0.783824
0.108588
0
0.652
0
0.006
0.213189
0.173662
0
0
0
0
0
1
0
false
0
0.014
0
0.014
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d9f38f1930cc189d7997d00bcb36d9e8e89a508f
3,874
py
Python
cupy/sorting/search.py
yutiansut/cupy
d460ed81d1deb01db7a55c0f57804856299f491d
[ "MIT" ]
1
2020-11-24T03:44:35.000Z
2020-11-24T03:44:35.000Z
cupy/sorting/search.py
martindurant/cupy
0ce4ba4fe2993547e11c37ec73cb7639c10b3881
[ "BSD-3-Clause" ]
null
null
null
cupy/sorting/search.py
martindurant/cupy
0ce4ba4fe2993547e11c37ec73cb7639c10b3881
[ "BSD-3-Clause" ]
1
2020-11-24T03:44:35.000Z
2020-11-24T03:44:35.000Z
from cupy import core def argmax(a, axis=None, dtype=None, out=None, keepdims=False): """Returns the indices of the maximum along an axis. Args: a (cupy.ndarray): Array to take argmax. axis (int): Along which axis to find the maximum. ``a`` is flattened by default. dtype: ...
27.671429
79
0.607383
534
3,874
4.395131
0.273408
0.060929
0.03579
0.044738
0.516404
0.45164
0.406476
0.351086
0.26928
0.26928
0
0.00518
0.252452
3,874
139
80
27.870504
0.805249
0.651523
0
0.08
0
0
0.154968
0
0
0
0
0.021583
0.08
1
0.2
false
0
0.04
0
0.48
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d9f63651fb8cc690ee3f4b2d97a675aa4e6c9a8f
198,643
py
Python
pycalcal/pycalcal.py
Freyja-Folkvangr/lunisolar
c130efe847d2fc9876c1b5458536c565e9d3ea7e
[ "MIT" ]
32
2015-01-16T13:40:41.000Z
2021-01-24T13:02:07.000Z
pycalcal/pycalcal.py
Freyja-Folkvangr/lunisolar
c130efe847d2fc9876c1b5458536c565e9d3ea7e
[ "MIT" ]
3
2017-01-16T06:11:43.000Z
2021-01-22T15:07:51.000Z
pycalcal/pycalcal.py
Freyja-Folkvangr/lunisolar
c130efe847d2fc9876c1b5458536c565e9d3ea7e
[ "MIT" ]
14
2015-12-22T02:40:49.000Z
2021-08-24T12:19:27.000Z
"""Python implementation of Dershowitz and Reingold's 'Calendrica Calculations'. Python implementation of calendrical algorithms as described in Common Lisp in calendrical-3.0.cl (and errata as made available by the authors.) The companion book is Dershowitz and Reingold 'Calendrica Calculations', 3rd Ed., 2008, Cambr...
38.141897
86
0.63153
30,077
198,643
4.012302
0.097117
0.009596
0.057276
0.066706
0.576029
0.497075
0.413157
0.318989
0.243367
0.199448
0
0.092009
0.245224
198,643
5,207
87
38.149222
0.712881
0.144359
0
0.222299
0
0
0.000437
0
0
0
0
0
0
0
null
null
0.001381
0.005523
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
d9fd2cca1332d49b20d72b59cde337b8d0690cb6
503
py
Python
readFile.py
jntwali/tp4
418dd1449aaddf3db17029de8f0b88963d61c849
[ "MIT" ]
null
null
null
readFile.py
jntwali/tp4
418dd1449aaddf3db17029de8f0b88963d61c849
[ "MIT" ]
null
null
null
readFile.py
jntwali/tp4
418dd1449aaddf3db17029de8f0b88963d61c849
[ "MIT" ]
null
null
null
#lire un fishier csv import csv import json import io with open("C:/Users/Janvier/Documents/Lesson python/tp4/Annotation-export.csv","r+",newline='') as csvfile: newFile = csv.reader(csvfile, delimiter=',') for index in newFile: print(json.dump(index,fp = io)) #for line in newFile: #print(line)...
21.869565
107
0.666004
73
503
4.589041
0.534247
0.143284
0.089552
0.137313
0
0
0
0
0
0
0
0.009732
0.182903
503
23
108
21.869565
0.805353
0.413519
0
0
0
0
0.242958
0.228873
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d9fe05bb8a1e1242bba229326139afcbc4fe8f97
289
py
Python
BPt/default/params/imputer_params.py
sahahn/BPt
1a2967f4ca3fa070b7417a4f59a218ae171daadd
[ "MIT" ]
6
2020-11-06T15:45:28.000Z
2022-03-08T19:15:35.000Z
BPt/default/params/imputer_params.py
sahahn/BPt
1a2967f4ca3fa070b7417a4f59a218ae171daadd
[ "MIT" ]
14
2020-10-20T13:55:23.000Z
2022-01-25T17:36:07.000Z
BPt/default/params/imputer_params.py
sahahn/BPt
1a2967f4ca3fa070b7417a4f59a218ae171daadd
[ "MIT" ]
2
2020-10-23T19:48:53.000Z
2020-11-06T15:46:04.000Z
P = {} # Imputers P['mean imp'] = {'strategy': 'mean'} P['median imp'] = {'strategy': 'median'} P['most freq imp'] = {'strategy': 'most_frequent'} P['constant imp'] = {'strategy': 'constant'} P['iterative imp'] = {'initial_strategy': 'mean', 'skip_complete': True}
26.272727
50
0.567474
33
289
4.878788
0.454545
0.273292
0
0
0
0
0
0
0
0
0
0
0.197232
289
10
51
28.9
0.693966
0.027682
0
0
0
0
0.546763
0
0
0
0
0
0
1
0
false
0
0
0
0
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
8a01ebb02ff8690030fff4261f46e5da822ccac9
3,557
py
Python
release/stages.py
brendancol/bokeh
b7b5e4d9dbaca4f10a3fd9eeb164b22de8f5dffe
[ "BSD-3-Clause" ]
null
null
null
release/stages.py
brendancol/bokeh
b7b5e4d9dbaca4f10a3fd9eeb164b22de8f5dffe
[ "BSD-3-Clause" ]
null
null
null
release/stages.py
brendancol/bokeh
b7b5e4d9dbaca4f10a3fd9eeb164b22de8f5dffe
[ "BSD-3-Clause" ]
null
null
null
# ----------------------------------------------------------------------------- # Copyright (c) 2012 - 2021, Anaconda, Inc., and Bokeh Contributors. # All rights reserved. # # The full license is in the file LICENSE.txt, distributed with this software. # -----------------------------------------------------------------...
24.701389
98
0.730672
395
3,557
6.007595
0.24557
0.06574
0.018963
0.025284
0.460598
0.303835
0.147071
0
0
0
0
0.002732
0.176834
3,557
143
99
24.874126
0.807719
0.100928
0
0.748032
0
0
0.015052
0
0
0
0
0
0
1
0
false
0
0.070866
0
0.070866
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
8a064495dc68418afa89217d2f9d4aa6380eaed9
793
py
Python
scripts/quest/q23212e.py
cuongdt1994/v204.1
9b0e2d05bcb6d6c1cf2341a93267aa1b8c4bf7a5
[ "MIT" ]
9
2021-04-26T11:59:29.000Z
2021-12-20T13:15:27.000Z
scripts/quest/q23212e.py
varenty-x/v203.4
359d6575ef8256bb2d6df87bf4156c4608243232
[ "MIT" ]
null
null
null
scripts/quest/q23212e.py
varenty-x/v203.4
359d6575ef8256bb2d6df87bf4156c4608243232
[ "MIT" ]
6
2021-07-14T06:32:05.000Z
2022-02-06T02:32:56.000Z
#23212 | Contract with Mastema isDS = chr.getJob() == 3100 sm.setSpeakerID(2450017) if not sm.canHold(1142342): sm.sendSayOkay("Please make space in your equip inventory.") sm.dispose() if sm.sendAskYesNo("Everything is ready. Let us begin the contract ritual. Focus on your mind."): sm.jobAdvance(isDS a...
34.478261
108
0.718789
113
793
5.044248
0.699115
0.047368
0.073684
0
0
0
0
0
0
0
0
0.100917
0.175284
793
22
109
36.045455
0.770642
0.107188
0
0.294118
0
0.058824
0.356941
0
0
0
0
0.045455
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8a0bfaa6ee20c1e4766a2c3b83cbcf42a1217f98
12,434
py
Python
python/pentominos021.py
absayuti/pentominos
88bbe1a62380a6e4b8d922b56edcd84c004e2307
[ "MIT" ]
null
null
null
python/pentominos021.py
absayuti/pentominos
88bbe1a62380a6e4b8d922b56edcd84c004e2307
[ "MIT" ]
null
null
null
python/pentominos021.py
absayuti/pentominos
88bbe1a62380a6e4b8d922b56edcd84c004e2307
[ "MIT" ]
null
null
null
#!/usr/bin/python # Using Python 3 (also run in Python 2) """ ------------------------------------------------------------------------------- Pentominos A.B.Sayuti H.M.Saman A puzzle-solving program. Originally Pentominos for commodore computers by Jim Butterfield, Compute! May 1984 0.21 16.9.2015 ...
27.267544
83
0.455284
2,037
12,434
2.765832
0.183112
0.039404
0.026092
0.018459
0.236422
0.193291
0.138623
0.088214
0.054136
0.033369
0
0.13112
0.229612
12,434
455
84
27.327473
0.455997
0.30312
0
0.192913
0
0
0.08254
0
0
0
0
0
0
1
0.051181
false
0
0.007874
0
0.106299
0.110236
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
8a0cd71ade2540e0a5aa0212eb68e1013cbfabe4
970
py
Python
Solutions/Problem_Statement_39_Solution.py
bhaktee01ugale/Hacktoberfest_Moz_Cummins
d8f5cb503c0df48ebae7fd927b812e145f121279
[ "MIT" ]
11
2021-10-01T09:02:23.000Z
2022-02-18T17:21:38.000Z
Solutions/Problem_Statement_39_Solution.py
bhaktee01ugale/Hacktoberfest_Moz_Cummins
d8f5cb503c0df48ebae7fd927b812e145f121279
[ "MIT" ]
100
2021-09-28T11:45:37.000Z
2021-11-02T05:47:41.000Z
Solutions/Problem_Statement_39_Solution.py
bhaktee01ugale/Hacktoberfest_Moz_Cummins
d8f5cb503c0df48ebae7fd927b812e145f121279
[ "MIT" ]
68
2021-09-26T11:47:23.000Z
2022-02-18T17:09:13.000Z
#prob:lem statement: Make the below pattern. Here, n =4 #4 4 4 4 4 4 4 #4 3 3 3 3 3 4 #4 3 2 2 2 3 4 #4 3 2 1 2 3 4 #4 3 2 2 2 3 4 #4 3 3 3 3 3 4 #4 4 4 4 4 4 4 n=int(input("enter any number: ")) #n is the number for the outermost lines and val is the value to be printed in row i column j #for first left quadrant for i...
22.55814
93
0.494845
201
970
2.38806
0.223881
0.079167
0.08125
0.091667
0.641667
0.6375
0.53125
0.53125
0.504167
0.479167
0
0.113861
0.375258
970
42
94
23.095238
0.678218
0.341237
0
0.896552
0
0
0.028754
0
0
0
0
0
0
1
0
false
0
0
0
0
0.206897
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
8a0d1f35b394a87b0e37f08c8a8f76ae3602466e
3,033
py
Python
tests/test_search_parser.py
raydouglass/media_management_scripts
4a56f157cb0aa2b99bfdfa4fafaf37a9f523d861
[ "Apache-2.0" ]
22
2019-06-30T01:30:54.000Z
2022-02-28T02:41:58.000Z
tests/test_search_parser.py
raydouglass/media_management_scripts
4a56f157cb0aa2b99bfdfa4fafaf37a9f523d861
[ "Apache-2.0" ]
null
null
null
tests/test_search_parser.py
raydouglass/media_management_scripts
4a56f157cb0aa2b99bfdfa4fafaf37a9f523d861
[ "Apache-2.0" ]
2
2019-06-30T18:01:02.000Z
2021-05-05T22:32:15.000Z
import unittest from pyparsing import ParseException from media_management_scripts.support.search_parser import parse_and_execute, parse class ParseTestCase(): def parse(self, query, expected, context={}): self.assertEqual(parse_and_execute(query, context), expected) class SimpleTest(unittest.TestCase,...
31.926316
83
0.5394
433
3,033
3.718245
0.133949
0.279503
0.111801
0.068323
0.53913
0.396894
0.332919
0.301863
0.221739
0.165217
0
0.041591
0.270689
3,033
94
84
32.265957
0.686257
0
0
0.090909
0
0
0.163205
0
0
0
0
0
0.064935
1
0.181818
false
0
0.038961
0
0.246753
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
8a16ebcf37f61ac1f20a185bfaee8ea6955e8c71
1,359
py
Python
mmocr/datasets/pipelines/formatBundle_wl.py
zzx0226/mmocr
50354895244339a392b4f1af5a35963883923cca
[ "Apache-2.0" ]
null
null
null
mmocr/datasets/pipelines/formatBundle_wl.py
zzx0226/mmocr
50354895244339a392b4f1af5a35963883923cca
[ "Apache-2.0" ]
null
null
null
mmocr/datasets/pipelines/formatBundle_wl.py
zzx0226/mmocr
50354895244339a392b4f1af5a35963883923cca
[ "Apache-2.0" ]
null
null
null
''' Description: Version: 1.0 Autor: Zhangzixu Date: 2021-12-26 21:23:20 LastEditors: Zhangzixu LastEditTime: 2022-01-04 14:05:07 ''' import numpy as np import torch from mmdet.datasets.builder import PIPELINES from mmcv.parallel import DataContainer as DC @PIPELINES.register_module() class FormatBundle_wl(): de...
28.914894
81
0.622517
166
1,359
4.987952
0.481928
0.038647
0.065217
0.07971
0.055556
0.055556
0
0
0
0
0
0.029762
0.258278
1,359
46
82
29.543478
0.791667
0.346578
0
0
0
0
0.082324
0
0
0
0
0
0
1
0.130435
false
0.043478
0.173913
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
8a17f406779e9cedc902c1dc05579798e02db9cc
7,740
py
Python
src/stratis_cli/_parser/_pool.py
bgurney-rh/stratis-cli
7bada40cd4005d429fb4baeda6fdb035b22c28b9
[ "Apache-2.0" ]
null
null
null
src/stratis_cli/_parser/_pool.py
bgurney-rh/stratis-cli
7bada40cd4005d429fb4baeda6fdb035b22c28b9
[ "Apache-2.0" ]
null
null
null
src/stratis_cli/_parser/_pool.py
bgurney-rh/stratis-cli
7bada40cd4005d429fb4baeda6fdb035b22c28b9
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
32.116183
89
0.362274
569
7,740
4.87522
0.286467
0.040375
0.064888
0.061644
0.311103
0.2938
0.238284
0.238284
0.202596
0.170872
0
0.00255
0.544057
7,740
240
90
32.25
0.783508
0.077649
0
0.527027
0
0
0.219272
0
0
0
0
0
0
1
0
false
0
0.013514
0
0.013514
0.013514
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
8a19ac950e17bd2e47bec145d390c6a4ddc5b3b2
2,997
py
Python
tests/unit/test_request_maker.py
rajarshig/scanapi
9e29bf7fa7d8d1996be3c9deeb2675e12aff9418
[ "MIT" ]
null
null
null
tests/unit/test_request_maker.py
rajarshig/scanapi
9e29bf7fa7d8d1996be3c9deeb2675e12aff9418
[ "MIT" ]
null
null
null
tests/unit/test_request_maker.py
rajarshig/scanapi
9e29bf7fa7d8d1996be3c9deeb2675e12aff9418
[ "MIT" ]
null
null
null
import pytest from scanapi.errors import HTTPMethodNotAllowedError from tests.unit.factories import APITreeFactory, RequestsMakerFactory class TestRequestsMaker: @pytest.fixture def mock_response(self, mocker): return mocker.patch("scanapi.requests_maker.requests.request") class TestMakeAll: ...
38.423077
88
0.589923
294
2,997
5.72449
0.377551
0.066548
0.046346
0.033868
0.322044
0.322044
0.280452
0.245989
0.16221
0.16221
0
0.00402
0.336003
2,997
77
89
38.922078
0.841709
0.004671
0
0.333333
0
0
0.115811
0.013092
0
0
0
0.012987
0.066667
1
0.166667
false
0.05
0.05
0.066667
0.383333
0
0
0
0
null
0
0
0
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
8a1b0772d985c482465b7a2677df8521f3ab1a70
2,343
py
Python
scripts/ddd17_export_map.py
duguyue100/ddd20-itsc20
667bb5e702a06cfff30b20de669697f3271baf04
[ "MIT" ]
null
null
null
scripts/ddd17_export_map.py
duguyue100/ddd20-itsc20
667bb5e702a06cfff30b20de669697f3271baf04
[ "MIT" ]
null
null
null
scripts/ddd17_export_map.py
duguyue100/ddd20-itsc20
667bb5e702a06cfff30b20de669697f3271baf04
[ "MIT" ]
null
null
null
"""Export maps for each recording. Author: Yuhuang Hu Email : yuhuang.hu@ini.uzh.ch """ from __future__ import print_function, absolute_import import os import pickle import numpy as np from gmplot import gmplot import spiker class StrToBytes: def __init__(self, fileobj): self.fileobj = fileobj de...
27.892857
73
0.690141
313
2,343
4.98722
0.354633
0.019218
0.032031
0.026906
0.169122
0.115311
0.115311
0.115311
0.065343
0
0
0.011998
0.181818
2,343
83
74
28.228916
0.802295
0.033291
0
0.037736
0
0
0.071363
0
0
0
0
0
0
0
null
null
0
0.113208
null
null
0.037736
0
0
0
null
0
0
0
0
0
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