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
ce3fbd3b6f85454f7a874562f0cf09d6bc25d30f
4,120
py
Python
dagather/tasktemplate.py
bentheiii/dagather
ff0370994ca62c3341e2fe4912f7c4dd80eb3d86
[ "MIT" ]
2
2020-11-28T10:42:56.000Z
2022-01-09T09:59:47.000Z
dagather/tasktemplate.py
bentheiii/dagather
ff0370994ca62c3341e2fe4912f7c4dd80eb3d86
[ "MIT" ]
1
2020-11-29T17:05:10.000Z
2020-11-29T17:05:10.000Z
dagather/tasktemplate.py
bentheiii/dagather
ff0370994ca62c3341e2fe4912f7c4dd80eb3d86
[ "MIT" ]
null
null
null
from __future__ import annotations from dataclasses import dataclass from enum import Enum, auto from functools import update_wrapper, partial from typing import Callable, TypeVar, Generic, Coroutine, Set, Any, Union, Type, Mapping class CancelPolicy(Enum): """ Which templates to cancel if an exception is ra...
30.518519
104
0.675
474
4,120
5.738397
0.327004
0.052941
0.035294
0.026471
0
0
0
0
0
0
0
0.00032
0.242233
4,120
134
105
30.746269
0.870916
0.169903
0
0.059701
0
0
0.046645
0.00897
0
0
0
0
0
1
0.089552
false
0
0.074627
0.029851
0.552239
0
0
0
0
null
0
0
0
0
0
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
ce416128bd06bed8dccbd78c92d8de13b594c9fd
2,187
py
Python
setup-win.py
yeleman/ramed-desktop
d5628388bf580ae9daea854242a580b8412d8f15
[ "MIT" ]
null
null
null
setup-win.py
yeleman/ramed-desktop
d5628388bf580ae9daea854242a580b8412d8f15
[ "MIT" ]
2
2016-07-12T14:56:10.000Z
2016-07-12T15:17:10.000Z
setup-win.py
yeleman/ramed-desktop
d5628388bf580ae9daea854242a580b8412d8f15
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # vim: ai ts=4 sts=4 et sw=4 nu # Created by: python.exe -m py2exe main.py -W setup_win.py import py2exe from distutils.core import setup from ramed.static import Constants RT_MANIFEST = 24 # A manifest which specifies the executionlevel # and windows common-controls li...
27.683544
78
0.613626
229
2,187
5.799127
0.563319
0.006024
0.031627
0.036145
0.045181
0.045181
0
0
0
0
0
0.030303
0.245542
2,187
78
79
28.038462
0.774545
0.199817
0
0.131148
0
0.016393
0.614499
0.202532
0
0
0
0
0
1
0
false
0
0.04918
0
0.04918
0
0
0
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
ce43873cd07b2f902349c8d6e2582c84c49a8f28
341
py
Python
apps/company/migrations/0021_remove_building_created_by.py
samuVillegas/proyecto-fmc
595a201ed3a136b5db7daadd1be1ecaaae58aea6
[ "MIT" ]
null
null
null
apps/company/migrations/0021_remove_building_created_by.py
samuVillegas/proyecto-fmc
595a201ed3a136b5db7daadd1be1ecaaae58aea6
[ "MIT" ]
null
null
null
apps/company/migrations/0021_remove_building_created_by.py
samuVillegas/proyecto-fmc
595a201ed3a136b5db7daadd1be1ecaaae58aea6
[ "MIT" ]
null
null
null
# Generated by Django 4.0.1 on 2022-04-26 16:43 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('company', '0020_alter_building_created_by'), ] operations = [ migrations.RemoveField( model_name='building', name='created_b...
18.944444
54
0.607038
37
341
5.432432
0.756757
0.089552
0
0
0
0
0
0
0
0
0
0.077869
0.284457
341
17
55
20.058824
0.745902
0.131965
0
0
1
0
0.187075
0.102041
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cbeb29eda1112327614f6daa44034761da5d469d
2,221
py
Python
scripts/git/utils.py
schoppmp/iree
d573c3dbb4eef8044764ae6d80ca79e37e8de522
[ "Apache-2.0" ]
2
2021-10-03T15:58:09.000Z
2021-11-17T10:34:35.000Z
scripts/git/utils.py
schoppmp/iree
d573c3dbb4eef8044764ae6d80ca79e37e8de522
[ "Apache-2.0" ]
null
null
null
scripts/git/utils.py
schoppmp/iree
d573c3dbb4eef8044764ae6d80ca79e37e8de522
[ "Apache-2.0" ]
null
null
null
# Lint as: python3 # Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
30.847222
80
0.676722
310
2,221
4.806452
0.522581
0.040268
0.01745
0.021477
0.021477
0
0
0
0
0
0
0.013683
0.210266
2,221
71
81
31.28169
0.835804
0.544349
0
0
0
0
0.118077
0
0
0
0
0.014085
0
1
0.096774
false
0
0.096774
0
0.387097
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
cbec737e7aeff76919d1f923822fd022377ba2ac
1,228
py
Python
q2_dada2/testspecs.py
antonhibl/q2-dada2
4952df2bde5c9bb8f039285d755538905ee5b304
[ "BSD-3-Clause" ]
null
null
null
q2_dada2/testspecs.py
antonhibl/q2-dada2
4952df2bde5c9bb8f039285d755538905ee5b304
[ "BSD-3-Clause" ]
null
null
null
q2_dada2/testspecs.py
antonhibl/q2-dada2
4952df2bde5c9bb8f039285d755538905ee5b304
[ "BSD-3-Clause" ]
null
null
null
def bar_spec(data): return { "config": { "view": {"continuousWidth": 400, "continuousHeight": 300}, "mark": {"opacity": 0.75} }, "layer": [ { "mark": {"type": "bar", "color": "red"}, "encoding": { "x": {...
31.487179
74
0.337948
86
1,228
4.813953
0.651163
0.038647
0.05314
0.077295
0.342995
0.342995
0.342995
0.342995
0.342995
0.342995
0
0.029268
0.499186
1,228
38
75
32.315789
0.643902
0
0
0.216216
0
0.027027
0.333333
0
0
0
0
0
0
1
0.027027
false
0.054054
0
0.027027
0.054054
0
0
0
0
null
0
0
0
0
0
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
cbf1e247c5eda9697ab5482bf817e18d099df303
466
py
Python
users/migrations/0007_profile_works_at.py
miclemabasie/jobizar
1dde7aab4ba02de75517a5cf91d54b43ac41e3cb
[ "MIT" ]
null
null
null
users/migrations/0007_profile_works_at.py
miclemabasie/jobizar
1dde7aab4ba02de75517a5cf91d54b43ac41e3cb
[ "MIT" ]
null
null
null
users/migrations/0007_profile_works_at.py
miclemabasie/jobizar
1dde7aab4ba02de75517a5cf91d54b43ac41e3cb
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2021-04-27 04:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0006_auto_20210427_0433'), ] operations = [ migrations.AddField( model_name='profile', name='works_at', ...
24.526316
131
0.626609
56
466
5.089286
0.857143
0
0
0
0
0
0
0
0
0
0
0.098266
0.257511
466
18
132
25.888889
0.725434
0.096567
0
0
1
0
0.205251
0.054893
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
cbf881259c772fd31515b1a8dbe1c765053daa0c
1,023
py
Python
diapason/tests/test_formats.py
Soundphy/diapason
f693e9958a636d8a08ec14b01b4441dcb64206ff
[ "BSD-3-Clause" ]
1
2021-05-27T09:58:33.000Z
2021-05-27T09:58:33.000Z
diapason/tests/test_formats.py
listato/diapason
f693e9958a636d8a08ec14b01b4441dcb64206ff
[ "BSD-3-Clause" ]
null
null
null
diapason/tests/test_formats.py
listato/diapason
f693e9958a636d8a08ec14b01b4441dcb64206ff
[ "BSD-3-Clause" ]
2
2017-06-15T05:29:32.000Z
2021-05-27T10:00:40.000Z
""" Test file formats. """ import wave import numpy import pytest from pytest import approx from scipy.io import wavfile from scipy.fftpack import fft from diapason import generate_wav @pytest.mark.parametrize(('frequency', 'duration', 'rate'), [ (440., 2., 44100), (220., 1., 48000), (880., 3., 16000), ...
26.230769
68
0.669599
122
1,023
5.57377
0.401639
0.064706
0.123529
0.123529
0.161765
0.114706
0
0
0
0
0
0.036496
0.196481
1,023
38
69
26.921053
0.790754
0.080156
0
0.08
1
0
0.022901
0
0
0
0
0
0.24
1
0.04
false
0
0.28
0
0.32
0
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
cbfd66b32692b9feebf80af9492cfc773be57c71
5,166
py
Python
Compiler/VMEncoder.py
JurajX/Nand2Tetris
56c4b68c6bd0f713223fb1a944b6e0e633f14a4f
[ "Unlicense" ]
null
null
null
Compiler/VMEncoder.py
JurajX/Nand2Tetris
56c4b68c6bd0f713223fb1a944b6e0e633f14a4f
[ "Unlicense" ]
null
null
null
Compiler/VMEncoder.py
JurajX/Nand2Tetris
56c4b68c6bd0f713223fb1a944b6e0e633f14a4f
[ "Unlicense" ]
null
null
null
# ========================= VMWriter CLASS class VMEncoder(object): """ VM encoder for the CompilationEngine of the Jack compiler. """ def encodePush(self, segment, index): """ Creates VM push command based on the input. args: segment: (str) segment to operate on ...
33.329032
96
0.500774
545
5,166
4.746789
0.198165
0.044453
0.052184
0.065327
0.518748
0.451875
0.403943
0.403943
0.233862
0.233862
0
0.00062
0.375532
5,166
154
97
33.545455
0.801302
0.293264
0
0.220779
0
0
0.2
0
0
0
0
0
0
1
0.116883
false
0
0
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
02027723e06593e23fe64585c608c4e7b8475955
3,357
py
Python
daemon.py
TurtleResearch/zabbix-rss
1dadff2fd55dbc11a31149b6bb41f0cf212b3cf9
[ "Apache-2.0" ]
5
2016-07-18T20:42:48.000Z
2019-07-17T02:24:14.000Z
daemon.py
TurtleResearch/zabbix-rss
1dadff2fd55dbc11a31149b6bb41f0cf212b3cf9
[ "Apache-2.0" ]
null
null
null
daemon.py
TurtleResearch/zabbix-rss
1dadff2fd55dbc11a31149b6bb41f0cf212b3cf9
[ "Apache-2.0" ]
2
2017-06-08T07:01:45.000Z
2019-07-05T21:40:20.000Z
import web from datetime import datetime from zabbix_api import ZabbixAPI import argparse import sys parser = argparse.ArgumentParser() parser.add_argument('-l', '--url', help="Zabbix web URL", required=True) parser.add_argument('-s', '--host', help="Host for this server. ex: 0.0.0.0:8080", required=False, ...
42.493671
121
0.565684
393
3,357
4.778626
0.40458
0.028754
0.054313
0.033546
0.054846
0
0
0
0
0
0
0.014015
0.277331
3,357
78
122
43.038462
0.760099
0.012213
0
0.028986
0
0.014493
0.235785
0.007417
0
0
0
0
0
0
null
null
0.028986
0.072464
null
null
0.028986
0
0
0
null
0
0
0
0
0
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
0205b92c25b4d891c24d7973827918c2202f0823
5,327
py
Python
sublimall/commands/upload_command.py
cybernetics/Sublimall
ddc004b6a436dc9b8e297a6565ec06c6fd795fbb
[ "MIT" ]
1
2019-04-22T08:49:30.000Z
2019-04-22T08:49:30.000Z
sublimall/commands/upload_command.py
cybernetics/Sublimall
ddc004b6a436dc9b8e297a6565ec06c6fd795fbb
[ "MIT" ]
null
null
null
sublimall/commands/upload_command.py
cybernetics/Sublimall
ddc004b6a436dc9b8e297a6565ec06c6fd795fbb
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- import os import sublime from urllib.parse import urljoin from sublime_plugin import ApplicationCommand from .command import CommandWithStatus from ..logger import logger from ..archiver import Archiver from .. import requests from .. import SETTINGS_USER_FILE class UploadCommand(Application...
32.481707
90
0.566735
596
5,327
4.884228
0.281879
0.024047
0.032978
0.052216
0.237375
0.184816
0.14325
0.108897
0.064583
0.064583
0
0.004988
0.322508
5,327
163
91
32.680982
0.801607
0.04618
0
0.161017
0
0
0.166565
0.01862
0
0
0
0
0
1
0.059322
false
0.084746
0.076271
0
0.169492
0
0
0
0
null
0
0
0
0
0
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
020ab79d6e42112f680ecdfb62a5d7b59c4feac3
1,671
py
Python
PyGamesScripts/Snake Game/Enhanced/main.py
tanujadasari/Awesome_Python_Scripts
7c5f7cfd40475cd02cbc0db966044a7d530861e6
[ "MIT" ]
1
2021-12-07T17:37:56.000Z
2021-12-07T17:37:56.000Z
PyGamesScripts/Snake Game/Enhanced/main.py
tanujadasari/Awesome_Python_Scripts
7c5f7cfd40475cd02cbc0db966044a7d530861e6
[ "MIT" ]
null
null
null
PyGamesScripts/Snake Game/Enhanced/main.py
tanujadasari/Awesome_Python_Scripts
7c5f7cfd40475cd02cbc0db966044a7d530861e6
[ "MIT" ]
2
2021-10-03T16:22:08.000Z
2021-10-03T17:35:14.000Z
# import class and library from turtle import Screen from snake import Snake from food import Food from scoreboard import Scoreboard import time # setupping screen screen = Screen() screen.setup(width=600, height=600) screen.bgcolor("black") screen.title("Snake Game") screen.tracer(0) # creating snake player from s...
26.52381
178
0.692998
232
1,671
4.853448
0.344828
0.195382
0.150977
0.17762
0.278863
0.159858
0.104796
0.104796
0.104796
0.071936
0
0.025279
0.195093
1,671
62
179
26.951613
0.811896
0.175344
0
0.102564
0
0
0.038799
0
0
0
0
0
0
1
0
false
0.025641
0.128205
0
0.128205
0.051282
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
020ef76018b515d3a4be2f805dd11c816de46eda
2,988
py
Python
tests/test_jigs.py
dustindall/footings
269a51a8c56d83ff4bb71cc92afcfc4a46001ac9
[ "BSD-3-Clause" ]
8
2020-06-16T09:51:55.000Z
2022-03-10T17:10:25.000Z
tests/test_jigs.py
dustindall/footings
269a51a8c56d83ff4bb71cc92afcfc4a46001ac9
[ "BSD-3-Clause" ]
57
2020-06-21T17:07:34.000Z
2021-06-12T11:56:35.000Z
tests/test_jigs.py
dustindall/footings
269a51a8c56d83ff4bb71cc92afcfc4a46001ac9
[ "BSD-3-Clause" ]
1
2020-06-16T09:49:16.000Z
2020-06-16T09:49:16.000Z
from inspect import getfullargspec, signature from footings.jigs import ( Error, ForeachJig, MappedModel, WrappedModel, create_foreach_jig, ) from footings.model import def_parameter, def_return, model, step @model(steps=["_add_a_b"]) class Model1: k1 = def_parameter() k2 = def_parameter(...
28.188679
83
0.590361
374
2,988
4.52139
0.147059
0.046127
0.082791
0.053223
0.580721
0.570077
0.47191
0.405677
0.405677
0.38084
0
0.041576
0.227242
2,988
105
84
28.457143
0.690775
0.007697
0
0.453488
0
0
0.047941
0
0
0
0
0
0.151163
1
0.069767
false
0.05814
0.034884
0
0.244186
0
0
0
0
null
0
0
0
0
0
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
02100e1dc5be32cf08770466992b8badff1d3a06
379
py
Python
setup.py
ScarletMetal/marine-python
2c5c5f4e6966dfbc96f6fc9710e560a4d5aab152
[ "Apache-2.0" ]
null
null
null
setup.py
ScarletMetal/marine-python
2c5c5f4e6966dfbc96f6fc9710e560a4d5aab152
[ "Apache-2.0" ]
null
null
null
setup.py
ScarletMetal/marine-python
2c5c5f4e6966dfbc96f6fc9710e560a4d5aab152
[ "Apache-2.0" ]
null
null
null
from setuptools import setup setup( name="marine", version="3.1.1", description="Python client for Marine", url="https://github.com/tomlegkov/marine-python", author="Tom Legkov", author_email="tom.legkov@outlook.com", packages=["marine"], include_package_data=True, package_data={ ...
23.6875
53
0.622691
46
379
5.043478
0.673913
0.077586
0
0
0
0
0
0
0
0
0
0.009772
0.189974
379
15
54
25.266667
0.745928
0
0
0
0
0
0.382586
0.058047
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
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
0215cd7066153aa85e68b943b3ecd7570ea9d32b
1,888
py
Python
utildialog/confirmdialog.py
dragondjf/QMarkdowner
fc79c85ca2949fa9ce3b317606ad7bbcd1299960
[ "MIT" ]
115
2015-01-02T12:23:59.000Z
2021-12-22T08:18:04.000Z
utildialog/confirmdialog.py
dragondjf/QMarkdowner
fc79c85ca2949fa9ce3b317606ad7bbcd1299960
[ "MIT" ]
1
2017-01-12T09:10:46.000Z
2017-01-12T09:10:46.000Z
utildialog/confirmdialog.py
dragondjf/QMarkdowner
fc79c85ca2949fa9ce3b317606ad7bbcd1299960
[ "MIT" ]
69
2015-03-12T07:40:21.000Z
2020-04-04T15:15:55.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- import os from qframer.qt import QtGui from qframer.qt import QtCore from basedialog import BaseDialog class ConfirmDialog(BaseDialog): def __init__(self, text, styleoptions, parent=None): super(ConfirmDialog, self).__init__(styleoptions, parent) ...
32
103
0.632945
201
1,888
5.781095
0.457711
0.072289
0.022375
0.032702
0.08778
0.08778
0.08778
0.08778
0.08778
0.08778
0
0.012491
0.236758
1,888
58
104
32.551724
0.793893
0.034958
0
0
0
0
0.082137
0
0
0
0
0
0
0
null
null
0
0.119048
null
null
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
021abf7cacbddbbd029fc10eefa2e1b9981d6a9f
319
py
Python
setup.py
ccharly/pyg
1f4fe2a53681ef4459cd9740917bd020e5fba9a2
[ "MIT" ]
null
null
null
setup.py
ccharly/pyg
1f4fe2a53681ef4459cd9740917bd020e5fba9a2
[ "MIT" ]
null
null
null
setup.py
ccharly/pyg
1f4fe2a53681ef4459cd9740917bd020e5fba9a2
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='pyg', version='0.1', description='HTML markup in Python', url='http://github.com/ccharly/pyg', author='Charly Chevalier', author_email='charlyy.chevalier@gmail.com', license='MIT', packages=['pyg'], scripts=['bin/pyg'], zip_safe=False)
22.785714
47
0.642633
40
319
5.075
0.825
0
0
0
0
0
0
0
0
0
0
0.007722
0.188088
319
13
48
24.538462
0.776062
0
0
0
0
0
0.351097
0.08464
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
02222f3f98e99cdcd08902cab1e4f3d84e38a06b
396
py
Python
python/add_digits.py
SakiFu/leetcode
ee4c332e2fc470a477e9ffd9f47da064dadee2d3
[ "MIT" ]
null
null
null
python/add_digits.py
SakiFu/leetcode
ee4c332e2fc470a477e9ffd9f47da064dadee2d3
[ "MIT" ]
null
null
null
python/add_digits.py
SakiFu/leetcode
ee4c332e2fc470a477e9ffd9f47da064dadee2d3
[ "MIT" ]
null
null
null
"""Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is like: 3 + 8 = 11, 1 + 1 = 2. Since 2 has only one digit, return it. """ class Solution(object): def addDigits(self, num): while num >= 10: num =...
24.75
103
0.621212
66
396
3.727273
0.712121
0.056911
0.081301
0.121951
0
0
0
0
0
0
0
0.040816
0.257576
396
15
104
26.4
0.795918
0.540404
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
02234131e5a2cf77f41954dbfd4babf7ac57dc4a
5,267
py
Python
sdk/python/pulumi_gcp/compute/snapshot.py
stack72/pulumi-gcp
e63e4ed3129fe8e64e4869f4839ba2b20f57cb57
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/compute/snapshot.py
stack72/pulumi-gcp
e63e4ed3129fe8e64e4869f4839ba2b20f57cb57
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/compute/snapshot.py
stack72/pulumi-gcp
e63e4ed3129fe8e64e4869f4839ba2b20f57cb57
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import json import warnings import pulumi import pulumi.runtime from .. import utilities, tables class Snapshot(pulumi.CustomResource)...
42.821138
375
0.682931
655
5,267
5.193893
0.348092
0.056437
0.039683
0.027043
0.155203
0.106996
0.094062
0.068783
0.048795
0.048795
0
0.005669
0.229732
5,267
122
376
43.172131
0.832881
0.357129
0
0
1
0
0.169939
0.026405
0
0
0
0
0
1
0.047619
false
0
0.079365
0.031746
0.428571
0.031746
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
0239d4f26a4b7759d9a9ddfc0a75a9536cbfcd4a
2,942
py
Python
ipy_alerts_test.py
zulily/ipy_alerts
db649b781ff3c49a32510fdf7dad6eb7445f04d9
[ "Apache-2.0" ]
1
2015-04-21T15:33:17.000Z
2015-04-21T15:33:17.000Z
ipy_alerts_test.py
zulily/ipy_alerts
db649b781ff3c49a32510fdf7dad6eb7445f04d9
[ "Apache-2.0" ]
null
null
null
ipy_alerts_test.py
zulily/ipy_alerts
db649b781ff3c49a32510fdf7dad6eb7445f04d9
[ "Apache-2.0" ]
null
null
null
""" Copyright (C) 2014 zulily, 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, software d...
34.209302
76
0.672332
383
2,942
4.903394
0.35248
0.110224
0.059638
0.045261
0.444089
0.427583
0.377529
0.357295
0.313632
0.313632
0
0.003587
0.242012
2,942
85
77
34.611765
0.838565
0.282461
0
0.452381
0
0
0.163373
0.063614
0
0
0
0
0.047619
1
0.142857
false
0.452381
0.071429
0
0.238095
0
0
0
0
null
0
0
0
0
0
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
023ad8669700f53885ae9541a8c0823c9707f4a3
2,320
py
Python
UNET_UNIT/losses.py
BradleyBrown19/UNET-UNIT
cdd0d0ab763feb255059263a52e7e513f80b11da
[ "Apache-2.0" ]
4
2020-01-28T04:49:52.000Z
2020-12-27T03:26:12.000Z
UNET_UNIT/losses.py
BradleyBrown19/UNET-UNIT
cdd0d0ab763feb255059263a52e7e513f80b11da
[ "Apache-2.0" ]
3
2020-02-21T11:13:14.000Z
2022-02-26T08:28:09.000Z
UNET_UNIT/losses.py
BradleyBrown19/UNET-UNIT
cdd0d0ab763feb255059263a52e7e513f80b11da
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: Losses.ipynb (unless otherwise specified). __all__ = ['kl_divergence', 'disc_loss', 'gen_loss'] # Cell #export from fastai import * from fastai.vision import * from fastai.callbacks import * from fastai.utils.mem import * from fastai.vision.gan import * from PIL import Imag...
31.351351
167
0.696983
395
2,320
3.779747
0.23038
0.0643
0.069658
0.03215
0.395177
0.294709
0.25653
0.236437
0.157401
0.105157
0
0.011702
0.189655
2,320
74
168
31.351351
0.782447
0.080603
0
0.133333
1
0
0.014124
0
0
0
0
0
0
1
0.133333
false
0
0.288889
0.022222
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0241060a7277f46799367e082a2d9c748d748871
302
py
Python
t01primeshcflcm_factors1.py
CherryNoddles/y1math
877b87ee60e7569b4fed4abdcb53a03df3d02ac3
[ "MIT" ]
null
null
null
t01primeshcflcm_factors1.py
CherryNoddles/y1math
877b87ee60e7569b4fed4abdcb53a03df3d02ac3
[ "MIT" ]
null
null
null
t01primeshcflcm_factors1.py
CherryNoddles/y1math
877b87ee60e7569b4fed4abdcb53a03df3d02ac3
[ "MIT" ]
null
null
null
# What are the factors of 18? # factor: an integer which when multiplied with another integer, results in the product 18. # Hence when 18 is divided by this number, the dividend is an integer and there are no remainders. num = 18 for i in range(1, num+1): if num % i == 0: print(i, end=' ')
30.2
98
0.688742
54
302
3.851852
0.685185
0.086538
0
0
0
0
0
0
0
0
0
0.04721
0.228477
302
9
99
33.555556
0.845494
0.711921
0
0
0
0
0.012048
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
02416ab592a2008d5d38577f3f7ae75c37d828b9
476
py
Python
app/migrations/0002_fermentationprofile_notes.py
fossabot/fermentrack
3070bc14791b1482ec661607005ebda961ca3a8f
[ "MIT" ]
114
2017-03-19T22:51:45.000Z
2022-01-18T06:00:23.000Z
app/migrations/0002_fermentationprofile_notes.py
fossabot/fermentrack
3070bc14791b1482ec661607005ebda961ca3a8f
[ "MIT" ]
392
2017-03-12T17:09:16.000Z
2022-03-31T22:08:45.000Z
app/migrations/0002_fermentationprofile_notes.py
fossabot/fermentrack
3070bc14791b1482ec661607005ebda961ca3a8f
[ "MIT" ]
67
2017-03-19T18:11:54.000Z
2022-01-31T12:12:17.000Z
# Generated by Django 3.0.6 on 2020-11-05 16:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0001_squashed_0009_auto_20180709_0256'), ] operations = [ migrations.AddField( model_name='fermentationprofile', ...
25.052632
120
0.638655
52
476
5.711538
0.846154
0
0
0
0
0
0
0
0
0
0
0.097765
0.247899
476
18
121
26.444444
0.731844
0.094538
0
0
1
0
0.258741
0.086247
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
0243358f71b73b002c473f5dd9bb17fc8302c8b6
5,758
py
Python
crawler-service/crawlers/spiders/smechannels.py
vikasp-ds/newsreco
16132f9d945c2d1b8f6374bd363c7f7a8c7ab439
[ "MIT" ]
1
2019-01-04T14:04:23.000Z
2019-01-04T14:04:23.000Z
crawler-service/crawlers/spiders/smechannels.py
vikasp-ds/newsreco
16132f9d945c2d1b8f6374bd363c7f7a8c7ab439
[ "MIT" ]
null
null
null
crawler-service/crawlers/spiders/smechannels.py
vikasp-ds/newsreco
16132f9d945c2d1b8f6374bd363c7f7a8c7ab439
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os from hashlib import md5 from io import BytesIO from lxml import etree from datetime import datetime from scrapy.spiders import Rule from scrapy.linkextractors import LinkExtractor from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor # This is our Base class...
35.325153
144
0.635811
674
5,758
5.372404
0.363501
0.100525
0.124275
0.144988
0.298536
0.127589
0.09224
0.024303
0.024303
0.024303
0
0.002097
0.171761
5,758
163
145
35.325153
0.757182
0.071553
0
0.044444
0
0
0.42208
0.047951
0
0
0
0.006135
0
0
null
null
0
0.074074
null
null
0.007407
0
0
0
null
0
0
0
0
0
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
024418110df47815d7b8e33bf52a3560e87fb220
805
py
Python
Contests/Chef_LTIME78B/CMPRESS.py
PK-100/Competitive_Programming
d0863feaaa99462b2999e85dcf115f7a6c08bb8d
[ "MIT" ]
70
2018-06-25T21:20:15.000Z
2022-03-24T03:55:17.000Z
Contests/Chef_LTIME78B/CMPRESS.py
An3sha/Competitive_Programming
ee7eadf51939a360d0b004d787ebabda583e92f0
[ "MIT" ]
4
2018-09-04T13:12:20.000Z
2021-06-20T08:29:12.000Z
Contests/Chef_LTIME78B/CMPRESS.py
An3sha/Competitive_Programming
ee7eadf51939a360d0b004d787ebabda583e92f0
[ "MIT" ]
24
2018-12-26T05:15:32.000Z
2022-01-23T23:04:54.000Z
def main(): for _ in range(int(input())): n = int(input()) arr = list(map(int, input().strip().split())) if n == 1: print(arr[0]) else: n += 1 arr.append(1001) left, right = 0, 1 res = '' while left <= right and ...
32.2
73
0.356522
85
805
3.364706
0.329412
0.22028
0.06993
0
0
0
0
0
0
0
0
0.029412
0.493168
805
24
74
33.541667
0.671569
0.021118
0
0.130435
0
0
0.007624
0
0
0
0
0
0
1
0.043478
false
0
0
0
0.043478
0.086957
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
024b26965571c7d905c7391b8247b63049173a21
1,859
py
Python
segmentfault/apps/notice/models.py
Yookyiss/segmentfault
8fb7890c8b650ac34541a8fb14c3cd9bef98d120
[ "MIT" ]
null
null
null
segmentfault/apps/notice/models.py
Yookyiss/segmentfault
8fb7890c8b650ac34541a8fb14c3cd9bef98d120
[ "MIT" ]
12
2020-02-12T01:14:42.000Z
2022-03-11T23:54:43.000Z
segmentfault/apps/notice/models.py
Yookyiss/segmentfault
8fb7890c8b650ac34541a8fb14c3cd9bef98d120
[ "MIT" ]
null
null
null
import uuid from django.db import models from django.contrib.contenttypes.models import ContentType from django.contrib.contenttypes.fields import GenericForeignKey from segmentfault.apps.users.models import User # Create your models here. class Notice(models.Model): from my_utils.CONSTANT import NOTICE_TYPE ...
33.196429
117
0.717052
227
1,859
5.674009
0.427313
0.068323
0.032609
0.048913
0.10559
0.10559
0.055901
0
0
0
0
0.001323
0.186659
1,859
55
118
33.8
0.850529
0.091447
0
0.060606
0
0
0.05228
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
02538af1f2f6b39c8ba252c40b61fad0533b1f58
1,159
py
Python
One/script.py
tbjoern/adventofcode
3fb8b4e18f03825c448d8935ab39b8bf08202d90
[ "MIT" ]
null
null
null
One/script.py
tbjoern/adventofcode
3fb8b4e18f03825c448d8935ab39b8bf08202d90
[ "MIT" ]
null
null
null
One/script.py
tbjoern/adventofcode
3fb8b4e18f03825c448d8935ab39b8bf08202d90
[ "MIT" ]
null
null
null
file = open("input.txt", "r") input = file.next() sequence = input.split(", ") class walker: def __init__(self): self.east = 0 self.south = 0 self.facing = 0 self.tiles = {} def turnL(self): if self.facing == 0: self.facing = 3 else: self.facing -= 1 def turnR(self): i...
17.298507
43
0.562554
179
1,159
3.620112
0.26257
0.154321
0.067901
0.069444
0.108025
0
0
0
0
0
0
0.022975
0.286454
1,159
67
44
17.298507
0.76058
0
0
0.240741
0
0
0.011883
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
1
02591e0e385031c890d778d715926b3111d0c9dd
1,221
py
Python
oso_social/social/views.py
osohq/oso-django-social-exercise
6a1b0a047552fcda185a9de22f1bcdc6b67a9eb8
[ "Apache-2.0" ]
null
null
null
oso_social/social/views.py
osohq/oso-django-social-exercise
6a1b0a047552fcda185a9de22f1bcdc6b67a9eb8
[ "Apache-2.0" ]
null
null
null
oso_social/social/views.py
osohq/oso-django-social-exercise
6a1b0a047552fcda185a9de22f1bcdc6b67a9eb8
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponseNotAllowed, HttpResponseRedirect from django.urls import reverse from django.contrib.auth.decorators import login_required from django.core.exceptions import PermissionDenied from django.contrib.auth.models import Group from .models import Post f...
28.395349
82
0.706798
156
1,221
5.461538
0.455128
0.070423
0.039906
0.049296
0
0
0
0
0
0
0
0.002022
0.190008
1,221
42
83
29.071429
0.859454
0.108108
0
0.071429
0
0
0.074654
0
0
0
0
0
0
1
0.107143
false
0.035714
0.285714
0
0.535714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
025e89f5cb8db44e2d0381eb4dadfe6b9882fee7
9,360
py
Python
dbt_artifacts_parser/parser.py
yu-iskw/dbt-artifacts-parser
6676507ef90cc6a4d3975cddcd4bebe15639a9dc
[ "Apache-2.0" ]
2
2022-03-01T13:59:10.000Z
2022-03-04T14:46:24.000Z
dbt_artifacts_parser/parser.py
yu-iskw/dbt-artifacts-parser
6676507ef90cc6a4d3975cddcd4bebe15639a9dc
[ "Apache-2.0" ]
null
null
null
dbt_artifacts_parser/parser.py
yu-iskw/dbt-artifacts-parser
6676507ef90cc6a4d3975cddcd4bebe15639a9dc
[ "Apache-2.0" ]
null
null
null
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may n...
40
85
0.765598
1,229
9,360
5.546786
0.103336
0.11486
0.204195
0.110606
0.689159
0.640311
0.639431
0.553616
0.553616
0.506528
0
0.019839
0.149145
9,360
233
86
40.171674
0.836138
0.172222
0
0.439024
0
0
0.053106
0
0
0
0
0
0
1
0.138211
false
0
0.130081
0
0.479675
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
02614d77e6690ce91739aba2454a52c543f352fe
2,448
py
Python
catalyst/callbacks/tests/test_wrapper_callback.py
elephantmipt/catalyst
6c706e4859ed7c58e5e6a5b7634176bffd0e2465
[ "Apache-2.0" ]
2
2019-04-19T21:34:31.000Z
2019-05-02T22:50:25.000Z
catalyst/callbacks/tests/test_wrapper_callback.py
elephantmipt/catalyst
6c706e4859ed7c58e5e6a5b7634176bffd0e2465
[ "Apache-2.0" ]
null
null
null
catalyst/callbacks/tests/test_wrapper_callback.py
elephantmipt/catalyst
6c706e4859ed7c58e5e6a5b7634176bffd0e2465
[ "Apache-2.0" ]
null
null
null
# flake8: noqa import random import unittest from unittest.mock import Mock from catalyst.core.callback import Callback, CallbackOrder, CallbackWrapper class Dummy(Exception): pass def _raise(runner: "IRunner"): raise Dummy() class RaiserCallback(Callback): def __init__(self, order, method_to_raise: ...
27.505618
75
0.575572
217
2,448
6.198157
0.299539
0.041636
0.019331
0.028253
0.667658
0.667658
0.667658
0.667658
0.667658
0.667658
0
0.0031
0.341095
2,448
88
76
27.818182
0.83075
0.004902
0
0.685714
0
0
0.108874
0
0
0
0
0
0.014286
1
0.057143
false
0.014286
0.057143
0
0.157143
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
02620e522617331deae5c50e31b2ca88741b4179
1,473
py
Python
CMR/python/demos/scripts/color.py
nasa/cmr-python-client
6ec3eb057f6147f48675f7de580b6ceb8daca108
[ "Apache-2.0" ]
null
null
null
CMR/python/demos/scripts/color.py
nasa/cmr-python-client
6ec3eb057f6147f48675f7de580b6ceb8daca108
[ "Apache-2.0" ]
null
null
null
CMR/python/demos/scripts/color.py
nasa/cmr-python-client
6ec3eb057f6147f48675f7de580b6ceb8daca108
[ "Apache-2.0" ]
null
null
null
""" This code has nothing to do with any ticket, it's just cool and everyone should know how to send terminal colors to make their output more readable. One usage is to display output from destructive calls in red, new data in green, info in blue. Enjoy """ # There are many colors, but these allow you to do red/gree...
25.842105
85
0.645621
226
1,473
4.163717
0.39823
0.095643
0.063762
0.080765
0.110521
0.110521
0
0
0
0
0
0.043002
0.19484
1,473
56
86
26.303571
0.750422
0.309572
0
0
0
0
0.448058
0.060524
0
0
0
0
0
1
0.147059
false
0
0.029412
0
0.647059
0.088235
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0262470c55027b2eeb3764ad32097a2dca8e574c
478
py
Python
unifier/apps/core/migrations/0010_auto_20210225_0227.py
sosolidkk/manga-unifier
4cca148affbb197b9284d46ef04c66d42d96c03a
[ "MIT" ]
6
2021-03-25T14:55:36.000Z
2021-05-25T15:12:41.000Z
unifier/apps/core/migrations/0010_auto_20210225_0227.py
sosolidkk/manga-unifier
4cca148affbb197b9284d46ef04c66d42d96c03a
[ "MIT" ]
6
2021-02-19T12:32:26.000Z
2021-03-25T16:54:40.000Z
unifier/apps/core/migrations/0010_auto_20210225_0227.py
sosolidkk/manga-unifier
4cca148affbb197b9284d46ef04c66d42d96c03a
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-02-25 02:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0009_auto_20210223_0124'), ] operations = [ migrations.AddField( model_name='mangachapter', name='images', ...
21.727273
72
0.583682
48
478
5.708333
0.770833
0.072993
0
0
0
0
0
0
0
0
0
0.092537
0.299163
478
21
73
22.761905
0.725373
0.094142
0
0.133333
1
0
0.12993
0.053364
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0262744bd2fcf5441f403e468261c4c6680a3812
2,918
py
Python
examples/redis/redis-example.py
DirectXceriD/gridgain
093e512a9147e266f83f6fe1cf088c0b037b501c
[ "Apache-2.0", "CC0-1.0" ]
1
2019-03-11T08:52:37.000Z
2019-03-11T08:52:37.000Z
examples/redis/redis-example.py
DirectXceriD/gridgain
093e512a9147e266f83f6fe1cf088c0b037b501c
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
examples/redis/redis-example.py
DirectXceriD/gridgain
093e512a9147e266f83f6fe1cf088c0b037b501c
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
''' * GridGain Community Edition Licensing * Copyright 2019 GridGain Systems, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause * Restriction; you may not use this file except in compliance with the License. You may obtain a * ...
36.024691
115
0.715216
451
2,918
4.616408
0.399113
0.06244
0.036023
0.025937
0.146013
0.116234
0.092219
0.092219
0.092219
0.066282
0
0.017126
0.179575
2,918
80
116
36.475
0.852548
0.674435
0
0.428571
0
0
0.41652
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.571429
0
0
0
null
0
0
0
0
0
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
0263e12b5a13e6c119c9eab50a9a040255cd1629
1,766
py
Python
varats/varats/data/reports/taint_report.py
ajrox090/VaRA-Tool-Suite
1550d36a4049e0615afb0bacfb96b1d506a29c98
[ "BSD-2-Clause" ]
null
null
null
varats/varats/data/reports/taint_report.py
ajrox090/VaRA-Tool-Suite
1550d36a4049e0615afb0bacfb96b1d506a29c98
[ "BSD-2-Clause" ]
null
null
null
varats/varats/data/reports/taint_report.py
ajrox090/VaRA-Tool-Suite
1550d36a4049e0615afb0bacfb96b1d506a29c98
[ "BSD-2-Clause" ]
null
null
null
"""Module for all reports generated for taint flow analyses.".""" from varats.report.report import BaseReport, FileStatusExtension, ReportFilename class TaintPropagationReport(BaseReport): """Print the result of filechecking a llvm ir file generated by VaRA or Phasar in a readable manner.""" SHORTHAND =...
33.961538
80
0.652888
207
1,766
5.415459
0.396135
0.026762
0.019625
0.023194
0.05174
0.05174
0
0
0
0
0
0
0.280294
1,766
51
81
34.627451
0.881983
0.423556
0
0
1
0
0.03352
0.024581
0
0
0
0
0
1
0.166667
false
0
0.041667
0.083333
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0264c49e29bdff62d9cf1a0bffba26c36150d3c6
316
py
Python
tests/metrics/test_mmd.py
janfb/sbibm
89a242f533da2519e3a01299aa4f3e8e386309ec
[ "MIT" ]
46
2021-01-13T13:23:25.000Z
2022-03-19T22:17:27.000Z
tests/metrics/test_mmd.py
janfb/sbibm
89a242f533da2519e3a01299aa4f3e8e386309ec
[ "MIT" ]
34
2021-01-20T09:18:30.000Z
2022-03-15T17:34:19.000Z
tests/metrics/test_mmd.py
janfb/sbibm
89a242f533da2519e3a01299aa4f3e8e386309ec
[ "MIT" ]
15
2021-01-14T17:24:55.000Z
2022-03-09T23:24:09.000Z
import torch from sbibm.metrics import mmd from .utils import sample_blobs_same def test_mmd(): X, Y = sample_blobs_same(n=1000) mmd_1 = mmd(X=X, Y=Y, implementation="tp_sutherland") mmd_2 = mmd(X=X, Y=Y, implementation="tp_djolonga") assert torch.allclose(mmd_1, mmd_2, rtol=1e-04, atol=1e-04)
22.571429
63
0.708861
56
316
3.803571
0.5
0.056338
0.140845
0.056338
0.215962
0.215962
0.215962
0
0
0
0
0.05303
0.164557
316
13
64
24.307692
0.753788
0
0
0
0
0
0.075949
0
0
0
0
0
0.125
1
0.125
false
0
0.375
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
02682cda38485147ea247df30f0e3289b20be52b
1,062
py
Python
node_modules/dropbox/generator/stone/test/backend_test_util.py
Hasunemiku2015/JojoTheOtokonoko
8ea14531cb480f9b2d4164224e5513293cdc409b
[ "MIT" ]
1
2020-08-28T21:40:16.000Z
2020-08-28T21:40:16.000Z
node_modules/dropbox/generator/stone/test/backend_test_util.py
Hasunemiku2015/JojoTheOtokonoko
8ea14531cb480f9b2d4164224e5513293cdc409b
[ "MIT" ]
null
null
null
node_modules/dropbox/generator/stone/test/backend_test_util.py
Hasunemiku2015/JojoTheOtokonoko
8ea14531cb480f9b2d4164224e5513293cdc409b
[ "MIT" ]
null
null
null
MYPY = False if MYPY: import typing # noqa: F401 # pylint: disable=import-error,unused-import,useless-suppression try: # Works for Py 3.3+ from unittest.mock import Mock except ImportError: # See https://github.com/python/mypy/issues/1153#issuecomment-253842414 from mock import Mock # type: ignor...
29.5
96
0.710923
141
1,062
5.12766
0.468085
0.116183
0.135546
0.193638
0.167358
0.130014
0.130014
0.130014
0.130014
0
0
0.022406
0.201507
1,062
35
97
30.342857
0.830189
0.33145
0
0
0
0
0
0
0
0
0
0
0
1
0.15
false
0
0.25
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0269f9e94e1db6d3b8f64659789f84d28e7d92b9
937
py
Python
ran-django-template/apps/myapp/migrations/0004_auto_20181008_1538.py
nature1995/Face-Recognition-System
cab48c6ce853edaa3e5d15d630525c568d613c65
[ "MIT" ]
48
2019-01-17T09:37:08.000Z
2022-03-20T10:19:57.000Z
ran-django-template/apps/myapp/migrations/0004_auto_20181008_1538.py
tspannhw/Face-Recognition-System
9c3e795f04e9c8a95003d453f8417a5b7650bab0
[ "MIT" ]
1
2020-06-01T23:27:48.000Z
2020-06-02T13:46:53.000Z
ran-django-template/apps/myapp/migrations/0004_auto_20181008_1538.py
tspannhw/Face-Recognition-System
9c3e795f04e9c8a95003d453f8417a5b7650bab0
[ "MIT" ]
13
2019-01-28T17:00:25.000Z
2021-06-16T05:02:50.000Z
# Generated by Django 2.1.2 on 2018-10-08 19:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myapp', '0003_auto_20181008_1447'), ] operations = [ migrations.CreateModel( name='Mode', fields=[ (...
28.393939
114
0.54429
92
937
5.402174
0.51087
0.090543
0.108652
0.144869
0.531187
0.478873
0.478873
0.478873
0.478873
0.478873
0
0.05836
0.323372
937
32
115
29.28125
0.725552
0.048026
0
0.5
1
0
0.068539
0.025843
0
0
0
0
0
1
0
false
0
0.038462
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
026aa237ac1c3d9a5d53fc99c49f2e4c43a729d7
363
py
Python
Evernote_Django/evernote/migrations/0010_rename_tag_note_tags.py
cppshizoidS/Python
dfde647ba4a6fb828ef9a564924416bebd875929
[ "MIT" ]
5
2022-03-12T02:44:41.000Z
2022-03-24T10:33:28.000Z
Evernote_Django/evernote/migrations/0010_rename_tag_note_tags.py
cppshizoidS/Python
dfde647ba4a6fb828ef9a564924416bebd875929
[ "MIT" ]
1
2022-03-16T09:19:21.000Z
2022-03-16T09:19:21.000Z
Evernote_Django/evernote/migrations/0010_rename_tag_note_tags.py
cppshizoidS/Python
dfde647ba4a6fb828ef9a564924416bebd875929
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2022-06-14 17:34 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('evernote', '0009_note_tag_delete_notehastag'), ] operations = [ migrations.RenameField( model_name='note', old_name='tag', ...
19.105263
56
0.586777
39
363
5.282051
0.794872
0
0
0
0
0
0
0
0
0
0
0.071146
0.30303
363
18
57
20.166667
0.743083
0.118457
0
0
1
0
0.157233
0.097484
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
027ef77f6071228215ff322eba32fe0f9a76cd13
11,543
py
Python
ekm.py
joe-antognini/triplesec
b1823e7659e1642e60e2d8ef1f8b8c620b3dfabe
[ "BSD-2-Clause" ]
null
null
null
ekm.py
joe-antognini/triplesec
b1823e7659e1642e60e2d8ef1f8b8c620b3dfabe
[ "BSD-2-Clause" ]
null
null
null
ekm.py
joe-antognini/triplesec
b1823e7659e1642e60e2d8ef1f8b8c620b3dfabe
[ "BSD-2-Clause" ]
null
null
null
#! /usr/bin/env python ''' ekm Numerically integrate only the octupole term of the equations of motion of a hierarchical triple. This procedure averages over not only the individual orbits, but also the individual KL cycles as well. ''' # Ignore DeprecationWarnings if called from command line if __name__ == '__main...
31.624658
89
0.62618
1,744
11,543
4.058486
0.18406
0.026702
0.038429
0.036027
0.252472
0.174202
0.097344
0.088302
0.051568
0.038005
0
0.026764
0.226371
11,543
364
90
31.711538
0.765845
0.047648
0
0.133891
0
0
0.08716
0
0
0
0
0
0
0
null
null
0
0.046025
null
null
0.020921
0
0
0
null
0
0
0
0
0
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
0281510c4b7fdd15e2961dce26177ceae996918f
2,690
py
Python
base1k.py
xiaq/baseqzw
7b8d06c47446cdb1a1874274b5fc28b60dfb8cd6
[ "MIT" ]
12
2017-01-25T03:14:27.000Z
2021-04-19T16:38:16.000Z
base1k.py
xiaq/baseqzw
7b8d06c47446cdb1a1874274b5fc28b60dfb8cd6
[ "MIT" ]
null
null
null
base1k.py
xiaq/baseqzw
7b8d06c47446cdb1a1874274b5fc28b60dfb8cd6
[ "MIT" ]
2
2017-01-25T10:31:41.000Z
2018-04-18T05:45:35.000Z
import sys chars = '天地玄黃宇宙洪荒日月盈昃辰宿列張寒來暑往秋收冬藏閏餘成歲律呂調陽雲騰致雨露結為霜金生麗水玉出崑岡劍號巨闕珠稱夜光果珍李柰菜重芥薑海鹹河淡鱗潛羽翔龍師火帝鳥官人皇始制文字乃服衣裳推位讓國有虞陶唐弔民伐罪周發殷湯坐朝問道垂拱平章愛育黎首臣伏戎羌遐邇壹體率賓歸王鳴鳳在樹白駒食場化被草木賴及萬方蓋此身髮四大五常恭惟鞠養豈敢毀傷女慕貞絜男效才良知過必改得能莫忘罔談彼短靡恃己長信使可覆器欲難量墨悲絲染詩讃羔羊景行維賢剋念作聖德建名立形端表正空谷傳聲虛堂習聽禍因惡積福緣善慶尺璧非寶寸陰是競資父事君曰嚴與敬孝當竭力忠則盡命臨深履薄夙興溫凊似蘭斯馨如松之盛川流不息淵澄取映容止若思言辭安定篤初誠美慎終宜令榮業...
30.568182
1,034
0.70223
218
2,690
8.582569
0.399083
0.034206
0.017638
0.014965
0.036344
0.036344
0.036344
0.036344
0.036344
0
0
0.013725
0.214498
2,690
87
1,035
30.91954
0.871746
0
0
0.190476
0
0
0.471375
0.391078
0
0
0.003346
0
0
1
0.126984
false
0
0.031746
0.015873
0.238095
0.047619
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
0281cda6f55f1c04329d7ba5e1c284aa5d2890a5
3,449
py
Python
new/tidebilling/products/migrations/0001_initial.py
ashraful88/tide-billing
cd11d273889c39bbb4768060fc61e9dfef1972f9
[ "MIT" ]
1
2020-07-27T17:47:26.000Z
2020-07-27T17:47:26.000Z
new/tidebilling/products/migrations/0001_initial.py
ashraful88/tide-billing
cd11d273889c39bbb4768060fc61e9dfef1972f9
[ "MIT" ]
4
2021-06-04T22:32:50.000Z
2022-03-12T00:17:15.000Z
new/tidebilling/products/migrations/0001_initial.py
ashraful88/tide-billing
cd11d273889c39bbb4768060fc61e9dfef1972f9
[ "MIT" ]
1
2020-03-16T22:10:06.000Z
2020-03-16T22:10:06.000Z
# Generated by Django 3.0.3 on 2020-02-28 10:14 from django.db import migrations, models import django.db.models.deletion import products.models import uuid class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Cat...
43.658228
115
0.558423
327
3,449
5.755352
0.287462
0.038257
0.044633
0.082891
0.556323
0.541445
0.524442
0.524442
0.480871
0.430925
0
0.01858
0.297767
3,449
78
116
44.217949
0.758464
0.013047
0
0.56338
1
0
0.104644
0
0
0
0
0
0
1
0
false
0
0.056338
0
0.112676
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0286eeefa8c8e4bb63ae3953386d5c7eaa6996df
17,311
py
Python
scripts/pypkg.py
univ-of-utah-marriott-library-apple/management_tools
6c584577c33c134f248e3f248737ef4e9b12e3b8
[ "MIT" ]
82
2015-02-10T14:07:29.000Z
2022-01-12T11:33:38.000Z
scripts/pypkg.py
meshyamsundar/management_tools
6c584577c33c134f248e3f248737ef4e9b12e3b8
[ "MIT" ]
5
2015-01-19T15:59:58.000Z
2015-04-03T00:17:36.000Z
scripts/pypkg.py
meshyamsundar/management_tools
6c584577c33c134f248e3f248737ef4e9b12e3b8
[ "MIT" ]
7
2015-05-11T03:54:15.000Z
2020-07-10T16:41:10.000Z
#!/usr/bin/env python import argparse import os import subprocess import sys options = {} options['long_name'] = "Python Package Creator" options['name'] = "pypkg.py" options['version'] = '1.5.1' from management_tools import loggers def main(path, identifier, name, version, python, destination, signature, cl...
38.813901
101
0.560511
1,931
17,311
4.979285
0.211289
0.022881
0.021217
0.026001
0.233697
0.179823
0.141134
0.121373
0.106812
0.087468
0
0.002083
0.334469
17,311
445
102
38.901124
0.83248
0.037548
0
0.247956
0
0.002725
0.355441
0.002846
0
0
0
0
0
0
null
null
0
0.016349
null
null
0.013624
0
0
0
null
0
0
0
0
0
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
028838c17591089f0914571afd436dfbe2a3ec94
6,561
py
Python
quex/constants.py
Liby99/quex
45f3d21d5df3307376e175cca2d8473e26cb5622
[ "MIT" ]
null
null
null
quex/constants.py
Liby99/quex
45f3d21d5df3307376e175cca2d8473e26cb5622
[ "MIT" ]
1
2022-01-31T18:08:44.000Z
2022-01-31T18:08:44.000Z
quex/constants.py
raccoonmonk/quex
20ffe451df9fd49bdc216ce45b8263fa228670e5
[ "MIT" ]
null
null
null
# Project Quex (http://quex.sourceforge.net); License: MIT; # (C) 2005-2020 Frank-Rene Schaefer; #_______________________________________________________________________________ from quex.engine.misc.quex_enum import QuexEnum from enum import auto INTEGER_MAX = 0x7fffffff DEFINE_SECTION_COMMAND_SET = set(["\\macro"...
30.235023
80
0.674897
682
6,561
6.131965
0.379765
0.022956
0.031086
0.015304
0.097561
0.069345
0.045911
0.026303
0.026303
0.026303
0
0.003552
0.227557
6,561
216
81
30.375
0.821626
0.093126
0
0.10582
0
0
0.009606
0
0
0
0.001685
0
0.005291
1
0.010582
false
0.010582
0.010582
0
0.915344
0
0
0
0
null
0
0
0
0
0
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
028b3181691616057174c1e12d0edbaf9852fa98
2,466
py
Python
app/models/rais.py
DataViva/dataviva-api
5d2756b1003695038be32f58b43b11f5ed3e358e
[ "MIT" ]
14
2017-05-14T00:05:16.000Z
2020-05-27T22:36:41.000Z
app/models/rais.py
DataViva/dataviva-api
5d2756b1003695038be32f58b43b11f5ed3e358e
[ "MIT" ]
44
2016-12-21T17:18:05.000Z
2019-03-15T02:43:41.000Z
app/models/rais.py
DataViva/dataviva-api
5d2756b1003695038be32f58b43b11f5ed3e358e
[ "MIT" ]
7
2017-01-03T17:49:30.000Z
2019-09-20T00:47:25.000Z
from sqlalchemy import Column, Integer, String, Numeric, func, distinct, Boolean from app import db class Rais(db.Model): __tablename__ = 'rais' region = Column(String(1), primary_key=True) mesoregion = Column(String(4), primary_key=True) microregion = Column(String(5), primary_key=True) state = C...
33.324324
85
0.587997
256
2,466
5.488281
0.25
0.135231
0.189324
0.099644
0.288256
0.288256
0
0
0
0
0
0.013173
0.291971
2,466
73
86
33.780822
0.791523
0
0
0.073529
0
0
0.132198
0.021087
0
0
0
0
0
1
0.044118
false
0
0.029412
0.044118
0.470588
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
65f48da0811ad6b58f09967e6a22d81bf1e0b74d
932
py
Python
src/Tools/FigureOfMerit/FigureOfMerit/BlockCiphers/Triathlon/__init__.py
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
34
2015-02-04T18:03:14.000Z
2020-11-10T06:45:28.000Z
src/Tools/FigureOfMerit/FigureOfMerit/BlockCiphers/Scenario1/__init__.py
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
5
2015-06-30T21:17:00.000Z
2016-06-14T22:31:51.000Z
src/Tools/FigureOfMerit/FigureOfMerit/BlockCiphers/Scenario1/__init__.py
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
15
2015-10-29T14:21:58.000Z
2022-01-19T07:33:14.000Z
# # University of Luxembourg # Laboratory of Algorithmics, Cryptology and Security (LACS) # # FigureOfMerit (FOM) # # Copyright (C) 2015 University of Luxembourg # # Written in 2015 by Daniel Dinu <dumitru-daniel.dinu@uni.lu> # # This file is part of FigureOfMerit. # # This program is free software; you can redistribut...
32.137931
70
0.756438
142
932
4.93662
0.605634
0.042796
0.055635
0.081312
0.116976
0.079886
0
0
0
0
0
0.011673
0.172747
932
28
71
33.285714
0.897536
0.914163
0
0
0
0
0.203704
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
65f6ee256da3387c00219f5b029e1825e2e92294
1,941
py
Python
account/views/forgotpassword.py
jordancarlson08/MyStuff
4f4f6fdd298ce00e4a1f8a4621aaf94c0ccdb773
[ "Apache-2.0" ]
null
null
null
account/views/forgotpassword.py
jordancarlson08/MyStuff
4f4f6fdd298ce00e4a1f8a4621aaf94c0ccdb773
[ "Apache-2.0" ]
null
null
null
account/views/forgotpassword.py
jordancarlson08/MyStuff
4f4f6fdd298ce00e4a1f8a4621aaf94c0ccdb773
[ "Apache-2.0" ]
null
null
null
from django import forms from django.conf import settings from django.http import HttpResponse, HttpResponseRedirect, Http404 from account.models import * from . import templater from uuid import * from datetime import * from django.core.mail import EmailMultiAlternatives, EmailMessage, send_mail def process_request(r...
28.544118
147
0.731066
247
1,941
5.668016
0.477733
0.028571
0.02
0.031429
0.054286
0.054286
0
0
0
0
0
0.007286
0.151468
1,941
67
148
28.970149
0.842744
0.05152
0
0
0
0.022727
0.210066
0.030635
0
0
0
0
0
1
0.045455
false
0.159091
0.181818
0
0.340909
0
0
0
0
null
0
0
0
0
0
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
65fcbdf9855fcb6d97e8dd8b59c544cd0c1bf86d
511
py
Python
appendix/introduction.to.programming.with.turtle/5-5-1.fill.curve.py
royqh1979/programming_with_python
7e1e8f88381151b803b6ae6ebda9809d9cc6664a
[ "MIT" ]
5
2019-03-06T12:28:47.000Z
2022-01-06T14:06:02.000Z
appendix/introduction.to.programming.with.turtle/5-5-1.fill.curve.py
royqh1979/programming_with_python
7e1e8f88381151b803b6ae6ebda9809d9cc6664a
[ "MIT" ]
6
2021-02-02T22:40:49.000Z
2022-03-12T00:27:54.000Z
appendix/introduction.to.programming.with.turtle/5-5-1.fill.curve.py
royqh1979/programming_with_python
7e1e8f88381151b803b6ae6ebda9809d9cc6664a
[ "MIT" ]
4
2019-03-06T14:29:25.000Z
2020-06-02T15:16:40.000Z
from easygraphics.turtle import * def Fill(size, level): if level == 0: fd(size) return Fill(size / 3, level - 1) lt(90) Fill(size / 3, level - 1) for i in range(3): rt(90) Fill(size / 3, level - 1) for i in range(3): lt(90) Fill(size / 3, level ...
15.96875
33
0.510763
78
511
3.294872
0.474359
0.18677
0.175097
0.272374
0.447471
0.389105
0.389105
0.225681
0.225681
0.225681
0
0.114114
0.348337
511
32
34
15.96875
0.657658
0
0
0.458333
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.041667
0
0.166667
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
5a0e737a75637a5ace6f29ce1d06fdbad7382964
432
py
Python
tests/test_hash.py
dkreuer/emrichen
ef2b2ad5cd828a9dfed6d7924cee207e13598b0f
[ "MIT" ]
62
2019-01-17T18:47:45.000Z
2022-03-23T10:00:09.000Z
tests/test_hash.py
dkreuer/emrichen
ef2b2ad5cd828a9dfed6d7924cee207e13598b0f
[ "MIT" ]
24
2019-01-18T10:05:36.000Z
2022-02-20T17:46:36.000Z
tests/test_hash.py
dkreuer/emrichen
ef2b2ad5cd828a9dfed6d7924cee207e13598b0f
[ "MIT" ]
10
2019-02-12T23:58:29.000Z
2022-02-18T09:42:35.000Z
import pytest from emrichen import Template HASHES = { 'MD5': '8b1a9953c4611296a827abf8c47804d7', 'SHA1': 'f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0', 'SHA256': '185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969', } @pytest.mark.parametrize('h', sorted(HASHES.items()), ids=sorted(HASHES)) ...
27
81
0.731481
38
432
8.289474
0.736842
0.07619
0
0
0
0
0
0
0
0
0
0.253968
0.125
432
15
82
28.8
0.579365
0
0
0
0
0
0.381944
0.314815
0
0
0
0
0.090909
1
0.090909
false
0
0.181818
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5a19c25813546040c595f41cea7f33de9c33f94c
1,525
py
Python
help_desk/reports/db_count_industry_document.py
shrikant9867/mycfohelpdesk
b285b156aec53ecff5873f4630638687ff5a0e92
[ "MIT" ]
null
null
null
help_desk/reports/db_count_industry_document.py
shrikant9867/mycfohelpdesk
b285b156aec53ecff5873f4630638687ff5a0e92
[ "MIT" ]
null
null
null
help_desk/reports/db_count_industry_document.py
shrikant9867/mycfohelpdesk
b285b156aec53ecff5873f4630638687ff5a0e92
[ "MIT" ]
null
null
null
import frappe def get_db_count_for_industry_document(start, end): fields = [ "industry", "document_type", "count(name) as count" ] try: results = frappe.get_all("Request", fields=fields, filters=None, group_by="industry, document_type") return prepare_data(results) except Exception, e: return None de...
25
102
0.68
208
1,525
4.865385
0.278846
0.118577
0.067194
0.032609
0.187747
0.187747
0.134387
0.134387
0.134387
0.134387
0
0.007819
0.161311
1,525
61
103
25
0.783425
0
0
0.163265
0
0
0.087811
0
0
0
0
0
0
0
null
null
0
0.020408
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
5a1a470949e7e17bf6bbc3a82549464597c62b4c
2,734
py
Python
aocutils/aoc.py
jvanelteren/aoc_test
ad1830128eb3213fc80b6d104020f682ff69e3ad
[ "Apache-2.0" ]
null
null
null
aocutils/aoc.py
jvanelteren/aoc_test
ad1830128eb3213fc80b6d104020f682ff69e3ad
[ "Apache-2.0" ]
null
null
null
aocutils/aoc.py
jvanelteren/aoc_test
ad1830128eb3213fc80b6d104020f682ff69e3ad
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: 05_norvig.ipynb (unless otherwise specified). __all__ = ['data', 'do', 'quantify', 'first', 'rest', 'multimap', 'atom', 'atoms', 'list_atoms', 'dotproduct', 'mapt', 'cat', 'flatten'] # Internal Cell from collections import defaultdict from itertools import chai...
29.085106
118
0.626189
406
2,734
4.189655
0.369458
0.037037
0.024691
0.017637
0.02234
0
0
0
0
0
0
0.014995
0.219459
2,734
94
119
29.085106
0.782099
0.238844
0
0
1
0.047619
0.266667
0
0
0
0
0
0.015873
1
0.174603
false
0
0.126984
0.047619
0.460317
0
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
5a2134336391f55ab5dabae35acef3d0c71d5781
2,930
py
Python
examples/custom_api_response_messages/main.py
dhermes/endpoints-proto-datastore
99bed0b39762a86606dd22de57b5eaf1cfa8f40f
[ "Apache-2.0" ]
91
2015-01-03T01:19:55.000Z
2020-06-10T05:59:57.000Z
examples/custom_api_response_messages/main.py
dhermes/endpoints-proto-datastore
99bed0b39762a86606dd22de57b5eaf1cfa8f40f
[ "Apache-2.0" ]
52
2015-01-06T18:17:22.000Z
2019-06-18T22:23:36.000Z
examples/custom_api_response_messages/main.py
dhermes/endpoints-proto-datastore
99bed0b39762a86606dd22de57b5eaf1cfa8f40f
[ "Apache-2.0" ]
44
2015-01-07T01:57:56.000Z
2022-03-12T03:38:35.000Z
# If you have not yet seen the source in basic/main.py, please take a look. # In this sample we override the ProtoRPC message schema of MyModel in both the # request and response of MyModelInsert and in the response of MyModelList. # This is used to randomly set the value of attr2 based on attr1. import random impor...
41.267606
79
0.722526
426
2,930
4.913146
0.338028
0.020067
0.031534
0.037267
0.199236
0.177735
0.177735
0.177735
0.141424
0.067845
0
0.008936
0.197952
2,930
70
80
41.857143
0.881702
0.600341
0
0
0
0
0.100701
0
0
0
0
0
0
1
0.076923
false
0
0.192308
0.038462
0.538462
0
0
0
0
null
0
0
0
0
0
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
5a2fe8a6488c339f0d0ac523d155a7d3f293eb8c
497
py
Python
setup.py
antoniogois/entmax
7ff3fa6b09ee53e04514173aacae9de90c95ca75
[ "MIT" ]
298
2019-06-27T10:25:27.000Z
2022-03-17T19:01:19.000Z
setup.py
antoniogois/entmax
7ff3fa6b09ee53e04514173aacae9de90c95ca75
[ "MIT" ]
20
2019-08-06T19:07:13.000Z
2022-03-30T09:37:25.000Z
setup.py
antoniogois/entmax
7ff3fa6b09ee53e04514173aacae9de90c95ca75
[ "MIT" ]
29
2019-08-05T20:48:07.000Z
2022-03-30T09:07:54.000Z
from distutils.core import setup from entmax import __version__ setup(name='entmax', version=__version__, url="https://github.com/deep-spin/entmax", author="Ben Peters, Goncalo M Correia, Vlad Niculae", author_email="vlad@vene.ro", description=("The entmax mapping and its loss, a family o...
33.133333
73
0.641851
61
497
5.04918
0.803279
0
0
0
0
0
0
0
0
0
0
0.010363
0.22334
497
14
74
35.5
0.787565
0
0
0
0
0
0.394366
0
0
0
0
0
0
1
0
true
0
0.153846
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
5a3528ab31b2c196f9d3c55725aba583a80182a8
756
py
Python
PythonExercicios/ex040.py
GabrielProdi/Python_CursoEmVideo
8bfff1b9a73d09c8f42dc3778f895525f1bc946d
[ "MIT" ]
null
null
null
PythonExercicios/ex040.py
GabrielProdi/Python_CursoEmVideo
8bfff1b9a73d09c8f42dc3778f895525f1bc946d
[ "MIT" ]
null
null
null
PythonExercicios/ex040.py
GabrielProdi/Python_CursoEmVideo
8bfff1b9a73d09c8f42dc3778f895525f1bc946d
[ "MIT" ]
null
null
null
''' Crie um programa que leia duas notas de um aluno e calcule sua média, mostrando uma mensagem no final, de acordo com a média atingida: - Média abaixo de 5.0: REPROVADO - Média entre 5.0 e 6.9: RECUPERAÇÃO - Média 7.0 ou superior: APROVADO ''' titulo = str( 'MÉDIA FINAL' ) centralizar = str( ' ' * int( ((60 - len(t...
28
134
0.621693
107
756
4.392523
0.570093
0.012766
0
0
0
0
0
0
0
0
0
0.045378
0.212963
756
27
135
28
0.744538
0.314815
0
0.125
0
0
0.238748
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
5a371383810e257cfe6bf254871bdef8ea7fc087
700
py
Python
pysecm/ric/equity/equity_ric.py
bostonrwalker/pysecm
76fa1d537c6f222214d7582d723ea9b9b67c87b9
[ "MIT" ]
null
null
null
pysecm/ric/equity/equity_ric.py
bostonrwalker/pysecm
76fa1d537c6f222214d7582d723ea9b9b67c87b9
[ "MIT" ]
null
null
null
pysecm/ric/equity/equity_ric.py
bostonrwalker/pysecm
76fa1d537c6f222214d7582d723ea9b9b67c87b9
[ "MIT" ]
null
null
null
import re from pysecm.ric import RIC class EquityRIC(RIC): # Regexes _re_ric_ticker = r'[A-Z]{1,5}' _re_ric_cmn_suffix = r'[a-z]' _re_ric_pfd_suffix = r'_pf?[a-z]' _re_ric_exch_code = r'\.[A-Z]{1,3}' _re_ric_delivery_month = r'[FGHJKMNQUVXZ][0-9]{2}' _re_ric_delisted_month = rf'\^{_re_ri...
29.166667
100
0.664286
117
700
3.401709
0.367521
0.175879
0.022613
0.020101
0
0
0
0
0
0
0
0.012302
0.187143
700
23
101
30.434783
0.68717
0.01
0
0
0
0
0.277858
0.22576
0
0
0
0
0
1
0.125
false
0
0.125
0.0625
0.8125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5a3860ab753d78fce38eedd276a6d9ed71d53e34
2,632
py
Python
f_highboost.py
shsandro/high-boost-filter
dbed2c1ee6ac102fdf74480d37b71058850fb7d5
[ "Apache-2.0" ]
1
2021-03-23T03:49:39.000Z
2021-03-23T03:49:39.000Z
f_highboost.py
shsandro/high-boost-filter
dbed2c1ee6ac102fdf74480d37b71058850fb7d5
[ "Apache-2.0" ]
null
null
null
f_highboost.py
shsandro/high-boost-filter
dbed2c1ee6ac102fdf74480d37b71058850fb7d5
[ "Apache-2.0" ]
null
null
null
import scipy.fftpack as fp from scipy import signal import numpy as np import numpy.fft import cv2 import matplotlib.pylab as pylab # carrega a imagem img = cv2.imread(input("Digite o caminho para a imagem de entrada: "))[:, :, 0] # lê o valor de D D = int(input("Digite o valor de D para o kernel: ")) # obtém o fil...
32.9
98
0.639818
387
2,632
4.281654
0.284238
0.059747
0.054919
0.063368
0.418829
0.418829
0.354858
0.354858
0.316234
0.255884
0
0.031088
0.120061
2,632
79
99
33.316456
0.68437
0.117401
0
0.170213
0
0
0.166831
0
0
0
0
0.012658
0.021277
1
0
false
0
0.12766
0
0.12766
0.021277
0
0
0
null
0
0
0
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
5a3c07324d2de72dc26769a0b41bc06b5467bba0
5,388
py
Python
Samples/HistoryList2.py
narudesign-sekig/Lightwave-Scripts
e9b1851cb4a15c4d35c17a0620e34676994d59e4
[ "MIT" ]
1
2018-12-10T14:05:18.000Z
2018-12-10T14:05:18.000Z
Samples/HistoryList2.py
narudesign-sekig/Lightwave-Scripts
e9b1851cb4a15c4d35c17a0620e34676994d59e4
[ "MIT" ]
null
null
null
Samples/HistoryList2.py
narudesign-sekig/Lightwave-Scripts
e9b1851cb4a15c4d35c17a0620e34676994d59e4
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- Mode: Python -*- # -*- coding: ascii -*- """ store and recall history list - remove button - remove history """ import lwsdk from lwsdk.pris import recall, store __lwver__ = "11" RESOURCE = '\04(k:"%s" c:LWPy)' list_title = ["String", "contains string (FG)", "others (BG)"] class his...
28.967742
106
0.598738
596
5,388
5.317114
0.231544
0.072894
0.026507
0.029978
0.155885
0.086463
0.034711
0
0
0
0
0.013151
0.294358
5,388
185
107
29.124324
0.820358
0.039718
0
0.188525
0
0
0.046918
0.004123
0
0
0
0
0
0
null
null
0
0.016393
null
null
0.057377
0
0
0
null
0
0
0
0
0
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
5a3decef520ad280c90ca1f14995b2c1247e7dff
732
py
Python
moai/nn/sampling/spatial/downsample/conv.py
tzole1155/moai
d1afb3aaf8ddcd7a1c98b84d6365afb846ae3180
[ "Apache-2.0" ]
10
2021-04-02T11:21:33.000Z
2022-01-18T18:32:32.000Z
moai/nn/sampling/spatial/downsample/conv.py
tzole1155/moai
d1afb3aaf8ddcd7a1c98b84d6365afb846ae3180
[ "Apache-2.0" ]
1
2022-03-22T20:10:55.000Z
2022-03-24T13:11:02.000Z
moai/nn/sampling/spatial/downsample/conv.py
tzole1155/moai
d1afb3aaf8ddcd7a1c98b84d6365afb846ae3180
[ "Apache-2.0" ]
3
2021-05-16T20:47:40.000Z
2021-12-01T21:15:36.000Z
import moai.nn.convolution as mic import torch __all__ = [ "StridedConv2d", ] class StridedConv2d(torch.nn.Module): #TODO: Add optional activation as well? def __init__(self, features: int, kernel_size: int=3, conv_type: str="conv2d", stride: int=2, padding: int=1 ...
24.4
78
0.569672
84
732
4.702381
0.547619
0.075949
0
0
0
0
0
0
0
0
0
0.020408
0.330601
732
30
79
24.4
0.785714
0.051913
0
0
0
0
0.027378
0
0
0
0
0.033333
0
1
0.076923
false
0
0.076923
0.038462
0.230769
0
0
0
0
null
0
0
0
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
5a3ff6f41bb42a22a3623a01ecd97d6cc481c061
2,357
py
Python
util/transitioncover.py
TCatshoek/lstar
042b0ae3a0627db7a412c828f3752a9c30928ec1
[ "MIT" ]
2
2019-10-15T11:28:12.000Z
2021-01-28T15:14:09.000Z
util/transitioncover.py
TCatshoek/lstar
042b0ae3a0627db7a412c828f3752a9c30928ec1
[ "MIT" ]
null
null
null
util/transitioncover.py
TCatshoek/lstar
042b0ae3a0627db7a412c828f3752a9c30928ec1
[ "MIT" ]
null
null
null
import tempfile from collections import deque from suls.mealymachine import MealyMachine, MealyState from pathlib import Path def get_state_cover_set(fsm): alphabet = fsm.get_alphabet() states = fsm.get_states() initial_state = fsm.initial_state paths = [] to_visit = deque([((), initial_state)]) ...
25.619565
70
0.583369
340
2,357
3.841176
0.305882
0.053599
0.030628
0.036753
0.160796
0.045942
0.045942
0.045942
0
0
0
0.020649
0.280866
2,357
92
71
25.619565
0.749853
0.044124
0
0.089552
0
0
0.049778
0
0
0
0
0.01087
0.014925
1
0.059701
false
0.014925
0.059701
0
0.149254
0.014925
0
0
0
null
0
0
0
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
5a40c527528ba424c7e78235bb0e4219fbb8afe4
929
py
Python
docx/text/hyperlink.py
INCONSULT-DE/python-docx
6927ade27694d80b2ee9ac87c703711f8b56540e
[ "MIT" ]
null
null
null
docx/text/hyperlink.py
INCONSULT-DE/python-docx
6927ade27694d80b2ee9ac87c703711f8b56540e
[ "MIT" ]
null
null
null
docx/text/hyperlink.py
INCONSULT-DE/python-docx
6927ade27694d80b2ee9ac87c703711f8b56540e
[ "MIT" ]
null
null
null
""" Hyperlink-related proxy types. """ from __future__ import ( absolute_import, division, print_function, unicode_literals ) from .run import Run from ..shared import Parented from ..runcntnr import RunItemContainer class Hyperlink(RunItemContainer): """ Proxy object wrapping ``<w:hyperlink>`` element....
23.225
66
0.62648
107
929
5.242991
0.523364
0.035651
0.064171
0
0
0
0
0
0
0
0
0
0.276642
929
40
67
23.225
0.834821
0.209903
0
0.086957
0
0
0
0
0
0
0
0
0
1
0.173913
false
0
0.217391
0.043478
0.608696
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5a47c818fc7f2816b910be6e9674c58390f8b2b1
4,081
py
Python
hackerrank/selfbalancingtree.py
jheckjr/practice
ce3d23669e0dbe323db56d16b81d9091d288bb4d
[ "MIT" ]
null
null
null
hackerrank/selfbalancingtree.py
jheckjr/practice
ce3d23669e0dbe323db56d16b81d9091d288bb4d
[ "MIT" ]
null
null
null
hackerrank/selfbalancingtree.py
jheckjr/practice
ce3d23669e0dbe323db56d16b81d9091d288bb4d
[ "MIT" ]
null
null
null
#!/usr/bin/python ''' Problem: Hacker Rank - Self balancing tree C++ ''' ### TODO ### /* Node is defined as : typedef struct node { int val; struct node* left; struct node* right; int ht; } node; */ void postorder (node * p, int indent=0) { if(p != NULL) { if(p->right) { postor...
22.546961
64
0.465817
483
4,081
3.89234
0.134576
0.028723
0.02766
0.014362
0.29734
0.234043
0.160638
0.160638
0.160638
0.109574
0
0.010844
0.367312
4,081
180
65
22.672222
0.717273
0.005146
0
0.243421
0
0
0.005503
0
0
0
0
0.005556
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
5a50da9752eea5744ba7182623590aec569fb4b4
772
py
Python
ocr_with_django/documents/views.py
abarto/ocr-with-django
70fa71d38a5dad47c9a6b381195c79979df554c7
[ "MIT" ]
44
2016-09-08T05:56:03.000Z
2022-03-25T19:39:06.000Z
ocr_with_django/documents/views.py
abarto/ocr-with-django
70fa71d38a5dad47c9a6b381195c79979df554c7
[ "MIT" ]
3
2018-06-15T11:48:19.000Z
2021-06-06T09:13:55.000Z
ocr_with_django/documents/views.py
abarto/ocr-with-django
70fa71d38a5dad47c9a6b381195c79979df554c7
[ "MIT" ]
19
2016-09-10T09:23:37.000Z
2022-03-18T07:32:24.000Z
from django.http.response import JsonResponse from django.views.generic.base import View, TemplateView from django.views.decorators.csrf import csrf_exempt from PIL import Image, ImageFilter from tesserocr import PyTessBaseAPI class OcrFormView(TemplateView): template_name = 'documents/ocr_form.html' ocr_form_vi...
32.166667
67
0.716321
94
772
5.734043
0.5
0.055659
0.055659
0
0
0
0
0
0
0
0
0.00641
0.19171
772
23
68
33.565217
0.857372
0
0
0
0
0
0.047927
0.029793
0
0
0
0
0
1
0.058824
false
0
0.294118
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5a60a761ea04d48c15b185b13c702cf91256738a
1,268
py
Python
pyroms_toolbox/pyroms_toolbox/low_pass_filter.py
bilgetutak/pyroms
3b0550f26f4ac181b7812e14a7167cd1ca0797f0
[ "BSD-3-Clause" ]
75
2016-04-05T07:15:57.000Z
2022-03-04T22:49:54.000Z
pyroms_toolbox/pyroms_toolbox/low_pass_filter.py
hadfieldnz/pyroms-mgh
cd0fe39075825f97a7caf64e2c4c5a19f23302fd
[ "BSD-3-Clause" ]
27
2017-02-26T04:27:49.000Z
2021-12-01T17:26:56.000Z
pycnal_toolbox/pycnal_toolbox/low_pass_filter.py
ESMG/PyCNAL_legacy
a4f6547bce872068a5bb5751231017bc3e4a4503
[ "BSD-3-Clause" ]
56
2016-05-11T06:19:14.000Z
2022-03-22T19:04:17.000Z
import numpy as np def low_pass_filter(data, window_size=3): """ A simple low pass filter using a square window moving average Parameters ---------- data : array_like input array. Can be multi-dimensional but time need to be the first dimension. window_size : array_like, optional ...
31.7
86
0.609621
196
1,268
3.841837
0.367347
0.079681
0.086321
0.074369
0.401062
0.350598
0.350598
0.350598
0.350598
0.350598
0
0.035181
0.260252
1,268
39
87
32.512821
0.767591
0.322555
0
0.352941
0
0
0.030038
0
0
0
0
0
0
1
0.058824
false
0.294118
0.058824
0
0.176471
0
0
0
0
null
0
0
0
0
0
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
5a6125d7912810d4f5e23cbf8ee88421b28a250b
3,519
py
Python
tools/preprocess_with_boxes.py
TonyChouZJU/py-faster-rcnn-batch
f4b1cc452b86861cdbba4558a28ef19606e14763
[ "MIT" ]
null
null
null
tools/preprocess_with_boxes.py
TonyChouZJU/py-faster-rcnn-batch
f4b1cc452b86861cdbba4558a28ef19606e14763
[ "MIT" ]
1
2017-03-02T06:19:53.000Z
2017-03-02T06:19:53.000Z
tools/preprocess_with_boxes.py
TonyChouZJU/py-faster-rcnn-batch
f4b1cc452b86861cdbba4558a28ef19606e14763
[ "MIT" ]
null
null
null
import numpy.random as npr import xml.etree.ElementTree as ET import os import os.path as osp import sys import argparse def parse_args(): """ parse input arguments """ parser = argparse.ArgumentParser(description='Pre-process the detection dataset') parser.add_argument('--dataset', dest='dataset'...
34.841584
109
0.572606
443
3,519
4.397291
0.311512
0.032341
0.043121
0.023101
0.097536
0.017454
0.017454
0
0
0
0
0.003268
0.304348
3,519
100
110
35.19
0.792484
0.052856
0
0.089744
0
0
0.118541
0
0
0
0
0
0.025641
0
null
null
0
0.076923
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5a638802115c301d270edb473639726753b84982
1,534
py
Python
theory/conecyl/fsdt/fsdt_shadmehri2012_bc3/print_sparse.py
mrosemeier/compmech
f18f6d0471c72b26a3b014d2df41df3463505eae
[ "BSD-3-Clause" ]
4
2019-02-05T06:12:12.000Z
2022-03-25T14:41:18.000Z
theory/conecyl/fsdt/fsdt_shadmehri2012_bc3/print_sparse.py
mrosemeier/compmech
f18f6d0471c72b26a3b014d2df41df3463505eae
[ "BSD-3-Clause" ]
null
null
null
theory/conecyl/fsdt/fsdt_shadmehri2012_bc3/print_sparse.py
mrosemeier/compmech
f18f6d0471c72b26a3b014d2df41df3463505eae
[ "BSD-3-Clause" ]
2
2019-06-05T07:19:35.000Z
2020-12-29T00:22:18.000Z
import os import glob import numpy as np import sympy from sympy import pi, sin, cos from compmech.conecyl.sympytools import mprint_as_sparse sympy.var('i1, k1, i2, j2, k2, l2', integer=True) sympy.var('i1a, i1b, i1c, i2a, i2b, i2c, j2a, j2b, j2c', integer=True) sympy.var('x, t, xa, xb, L, r, r1, r2, sina, cosa') sy...
34.863636
73
0.599739
215
1,534
4.232558
0.576744
0.079121
0.146154
0.082418
0.083516
0.083516
0.083516
0.083516
0.083516
0
0
0.054576
0.223598
1,534
43
74
35.674419
0.709488
0
0
0
0
0
0.241199
0.014993
0
0
0
0
0
0
null
null
0
0.157895
null
null
0.157895
0
0
0
null
0
0
0
0
0
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
5a64e80c392df53e3c61a167a2e7d0e11757cb60
503
py
Python
tests/loader/test_user.py
hakobe/hakoblog-python
61823d5cb538e40917423740d5fe06195ed5c858
[ "MIT" ]
13
2017-01-18T12:40:07.000Z
2019-08-24T05:34:06.000Z
tests/loader/test_user.py
hakobe/hakoblog-python
61823d5cb538e40917423740d5fe06195ed5c858
[ "MIT" ]
1
2017-01-20T10:10:37.000Z
2017-01-20T10:10:37.000Z
tests/loader/test_user.py
hakobe/hakoblog-python
61823d5cb538e40917423740d5fe06195ed5c858
[ "MIT" ]
null
null
null
import tests.hakoblog # noqa: F401 from hakoblog.db import DB from hakoblog.model.user import User from hakoblog.loader.user import UserLoader from tests.util import random_string, create_user def test_find_by_name(): db = DB() user = create_user() found_user = UserLoader.find_by_name(db, user.name) ...
23.952381
67
0.753479
77
503
4.688312
0.350649
0.124654
0.083102
0.099723
0.171745
0.171745
0.171745
0
0
0
0
0.011962
0.168986
503
20
68
25.15
0.851675
0.019881
0
0
0
0
0
0
0
0
0
0
0.230769
1
0.076923
false
0
0.384615
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5a661b4607f94d258865c85758bb8d0072a51c00
10,245
py
Python
Code/AbstractSummarizer.py
MiningMyBusiness/NeuroMancer
b197274c6e838ac798be562c1c12939270491ffb
[ "MIT" ]
2
2018-05-03T20:26:36.000Z
2018-05-03T20:29:11.000Z
Code/AbstractSummarizer.py
MiningMyBusiness/NeuroMancer
b197274c6e838ac798be562c1c12939270491ffb
[ "MIT" ]
null
null
null
Code/AbstractSummarizer.py
MiningMyBusiness/NeuroMancer
b197274c6e838ac798be562c1c12939270491ffb
[ "MIT" ]
null
null
null
# Title: Keyword Extractor for Neuroscience Abstracts # Description: Extracts keywords (using TextRank) from neuroscience abstracts from different # journals and catalogs them according to year # Author: Kiran Bhattacharyya # License: MIT License # Reviewing this seminal paper on the TextRank algor...
66.525974
153
0.632699
1,312
10,245
4.934451
0.264482
0.016064
0.018072
0.018536
0.155854
0.119401
0.07507
0.055916
0.044795
0.035836
0
0.009774
0.290971
10,245
153
154
66.960784
0.88147
0.425964
0
0.053097
0
0
0.063815
0.018004
0
0
0
0
0
0
null
null
0
0.061947
null
null
0.00885
0
0
0
null
0
0
0
0
0
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
5a6676965a6be357f0f5d8f23242bbcb5a57c2bc
956
py
Python
code/using_up_to_one_million_tiles_how_many_different_hollow_square_laminae_can_be_formed/sol_173.py
bhavinjawade/project-euler-solutions
56bf6a282730ed4b9b875fa081cf4509d9939d98
[ "Apache-2.0" ]
2
2020-07-16T08:16:32.000Z
2020-10-01T07:16:48.000Z
code/using_up_to_one_million_tiles_how_many_different_hollow_square_laminae_can_be_formed/sol_173.py
Psingh12354/project-euler-solutions
56bf6a282730ed4b9b875fa081cf4509d9939d98
[ "Apache-2.0" ]
null
null
null
code/using_up_to_one_million_tiles_how_many_different_hollow_square_laminae_can_be_formed/sol_173.py
Psingh12354/project-euler-solutions
56bf6a282730ed4b9b875fa081cf4509d9939d98
[ "Apache-2.0" ]
1
2021-05-07T18:06:08.000Z
2021-05-07T18:06:08.000Z
# -*- coding: utf-8 -*- ''' File name: code\using_up_to_one_million_tiles_how_many_different_hollow_square_laminae_can_be_formed\sol_173.py Author: Vaidic Joshi Date created: Oct 20, 2018 Python Version: 3.x ''' # Solution to Project Euler Problem #173 :: Using up to one million tiles how many differe...
32.965517
230
0.75523
149
956
4.744966
0.550336
0.091938
0.03819
0.050919
0.288543
0.254597
0.254597
0.254597
0.254597
0.19802
0
0.021519
0.17364
956
28
231
34.142857
0.873418
0.273013
0
null
0
null
0
0
null
0
0
0
null
0
null
null
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5a6f669750be527723f4a7d843d70c0581800ee2
3,708
py
Python
src/coniql/plugin.py
thomascobb/coniql
f9a05b6a76a242740d9aae18b0244f147260491e
[ "Apache-2.0" ]
3
2020-09-28T11:41:50.000Z
2021-11-01T20:35:38.000Z
src/coniql/plugin.py
thomascobb/coniql
f9a05b6a76a242740d9aae18b0244f147260491e
[ "Apache-2.0" ]
17
2020-03-09T16:14:34.000Z
2022-01-24T08:59:08.000Z
src/coniql/plugin.py
thomascobb/coniql
f9a05b6a76a242740d9aae18b0244f147260491e
[ "Apache-2.0" ]
1
2020-01-07T14:35:31.000Z
2020-01-07T14:35:31.000Z
import os from pathlib import Path from typing import AsyncIterator, Dict, List, Tuple, Union import numpy as np from coniql.device_config import ChannelConfig, DeviceConfig, DeviceInstance, walk from coniql.types import Channel PutValue = Union[bool, int, float, str, List[str], np.ndarray] class Plugin: trans...
38.226804
86
0.612729
433
3,708
5.12933
0.295612
0.048627
0.027015
0.014408
0.074741
0
0
0
0
0
0
0.000764
0.294229
3,708
96
87
38.625
0.847917
0.112999
0
0.102941
0
0
0.01321
0
0
0
0
0.010417
0
1
0.073529
false
0
0.088235
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5a732f8d68237f9432a8ee2cf393780c00c99b45
227
py
Python
Solutions_Python/elevator_maintainence.py
smaranjitghose/Foobar_Challenge
c60a619689d6b9e02d69b171fd59259b0dadb531
[ "MIT" ]
17
2020-05-01T10:06:20.000Z
2020-09-12T13:46:13.000Z
Solutions_Python/elevator_maintainence.py
phreakyphoenix/Foobar_Challenge
98dd26975b75d7c7c0b1bff829ab5b55ff318589
[ "MIT" ]
null
null
null
Solutions_Python/elevator_maintainence.py
phreakyphoenix/Foobar_Challenge
98dd26975b75d7c7c0b1bff829ab5b55ff318589
[ "MIT" ]
13
2020-05-01T09:18:03.000Z
2022-02-10T00:05:02.000Z
def solution(l): parsed = [e.split(".") for e in l] toSort = [map(int, e) for e in parsed] sortedINTs = sorted(toSort) sortedJoined = [('.'.join(str(ee) for ee in e)) for e in sortedINTs] return sortedJoined
37.833333
72
0.621145
35
227
4.028571
0.514286
0.085106
0.12766
0.099291
0
0
0
0
0
0
0
0
0.229075
227
6
73
37.833333
0.805714
0
0
0
0
0
0.008772
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5a7467510a54d51ab8442f2b81559106f6652a92
1,058
py
Python
modules/experiment/texfig.py
avogel88/compare-VAE-GAE
aa3419c41a58ca6c1a9c1031c0aed7e07c3d4f90
[ "MIT" ]
null
null
null
modules/experiment/texfig.py
avogel88/compare-VAE-GAE
aa3419c41a58ca6c1a9c1031c0aed7e07c3d4f90
[ "MIT" ]
null
null
null
modules/experiment/texfig.py
avogel88/compare-VAE-GAE
aa3419c41a58ca6c1a9c1031c0aed7e07c3d4f90
[ "MIT" ]
null
null
null
""" Utility to generate PGF vector files from Python's Matplotlib plots to use in LaTeX documents. Read more at https://github.com/knly/texfig """ import matplotlib as mpl from math import sqrt def pgf(): default_width = 5.78853 # in inches default_ratio = (sqrt(5.0) - 1.0) / 2.0 # golden mean mpl.use(...
32.060606
94
0.585066
128
1,058
4.796875
0.671875
0.058632
0.061889
0
0
0
0
0
0
0
0
0.020997
0.279773
1,058
32
95
33.0625
0.784777
0.329868
0
0
1
0
0.293103
0.110632
0
0
0
0
0
1
0.047619
false
0
0.095238
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5a747b2e5162f0392835f75d4e263c88625e8d86
3,404
py
Python
test/rlai/gpi/dynamic_programming/evaluation_test.py
MatthewGerber/rlai
f390433c3adc285e1e9cc113deed7009b2e6dd5a
[ "MIT" ]
9
2021-05-09T22:30:42.000Z
2021-12-27T19:42:56.000Z
test/rlai/gpi/dynamic_programming/evaluation_test.py
MatthewGerber/rlai
f390433c3adc285e1e9cc113deed7009b2e6dd5a
[ "MIT" ]
13
2020-11-18T03:30:39.000Z
2021-12-12T04:19:16.000Z
test/rlai/gpi/dynamic_programming/evaluation_test.py
MatthewGerber/rlai
f390433c3adc285e1e9cc113deed7009b2e6dd5a
[ "MIT" ]
1
2021-06-24T16:48:59.000Z
2021-06-24T16:48:59.000Z
import os import pickle import numpy as np import pytest from numpy.random import RandomState from rlai.agents.mdp import StochasticMdpAgent from rlai.environments.gridworld import Gridworld from rlai.gpi.dynamic_programming.evaluation import evaluate_v_pi, evaluate_q_pi, check_termination_criteria from rlai.policies...
28.605042
127
0.690071
464
3,404
4.726293
0.196121
0.019152
0.109439
0.032832
0.747834
0.706338
0.656635
0.640219
0.581851
0.528956
0
0.023091
0.211222
3,404
118
128
28.847458
0.793669
0.122797
0
0.443038
0
0
0.065458
0.06143
0
0
0
0
0.139241
1
0.037975
false
0
0.113924
0
0.151899
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
5a76b357ce38d0a668ecf1d6df7a34170c91546f
1,883
py
Python
atelier/invlib/__init__.py
khchine5/atelier
25a287595d35b14f7eaa8379636b7538e1c4314f
[ "BSD-2-Clause" ]
null
null
null
atelier/invlib/__init__.py
khchine5/atelier
25a287595d35b14f7eaa8379636b7538e1c4314f
[ "BSD-2-Clause" ]
null
null
null
atelier/invlib/__init__.py
khchine5/atelier
25a287595d35b14f7eaa8379636b7538e1c4314f
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: UTF-8 -*- # Copyright 2016-2018 Rumma & Ko Ltd # License: BSD, see LICENSE for more details. """ A library of `invoke <http://docs.pyinvoke.org/en/latest/index.html>`__ tasks. See :doc:`/invlib`. .. autosummary:: :toctree: tasks utils """ from __future__ import print_function from __future__ ...
26.521127
71
0.691981
249
1,883
4.951807
0.449799
0.062449
0.038929
0.030819
0
0
0
0
0
0
0
0.011549
0.218269
1,883
70
72
26.9
0.826087
0.227828
0
0
0
0
0.07941
0.01546
0
0
0
0
0
1
0.027027
false
0
0.351351
0
0.405405
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5a83618266c2edd985cefec946b15a523c3aed36
1,106
py
Python
build_docs/conf.py
jainvikas8/trusted-firmware-m
2322ae49d555fc1c0bf450885fb4a233feebf666
[ "BSD-3-Clause" ]
3
2020-02-14T09:53:02.000Z
2022-03-27T07:38:23.000Z
build_docs/conf.py
jainvikas8/trusted-firmware-m
2322ae49d555fc1c0bf450885fb4a233feebf666
[ "BSD-3-Clause" ]
53
2020-04-20T15:49:40.000Z
2022-03-31T16:13:16.000Z
build_docs/conf.py
jainvikas8/trusted-firmware-m
2322ae49d555fc1c0bf450885fb4a233feebf666
[ "BSD-3-Clause" ]
24
2020-04-16T11:30:44.000Z
2022-03-06T04:39:42.000Z
# ----------------------------------------------------------------------------- # Copyright (c) 2020, Arm Limited. All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # # ----------------------------------------------------------------------------- # # Configuration file override for the Sphinx documentation...
33.515152
79
0.648282
146
1,106
4.80137
0.60274
0.051355
0.042796
0.039943
0.059914
0
0
0
0
0
0
0.007345
0.138336
1,106
32
80
34.5625
0.728227
0.611212
0
0
0
0
0.048309
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5a838cfc805049a4a8e3c1d5118ddd412bded129
3,728
py
Python
homeassistant/auth/models.py
erogleva/core
994ae09f69afe772150a698953c0d7386a745de2
[ "Apache-2.0" ]
6
2017-08-02T19:26:39.000Z
2020-03-14T22:47:41.000Z
homeassistant/auth/models.py
erogleva/core
994ae09f69afe772150a698953c0d7386a745de2
[ "Apache-2.0" ]
56
2020-08-03T07:30:54.000Z
2022-03-31T06:02:04.000Z
homeassistant/auth/models.py
erogleva/core
994ae09f69afe772150a698953c0d7386a745de2
[ "Apache-2.0" ]
14
2018-08-19T16:28:26.000Z
2021-09-02T18:26:53.000Z
"""Auth models.""" from datetime import datetime, timedelta import secrets from typing import Dict, List, NamedTuple, Optional import uuid import attr from homeassistant.util import dt as dt_util from . import permissions as perm_mdl from .const import GROUP_ID_ADMIN TOKEN_TYPE_NORMAL = "normal" TOKEN_TYPE_SYSTEM =...
28.899225
86
0.671674
506
3,728
4.794466
0.231225
0.076669
0.055647
0.049052
0.321517
0.237428
0.185491
0.126134
0.098104
0.051113
0
0.00272
0.211105
3,728
128
87
29.125
0.822169
0.100322
0
0.216867
0
0
0.017544
0.006957
0
0
0
0
0
1
0.036145
false
0
0.096386
0
0.650602
0
0
0
0
null
0
0
0
0
0
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
5a876657aa9af6dd37db4cf55ff6991efa11dca9
6,690
py
Python
plugins/modules/oci_identity_provider_group_facts.py
hanielburton/oci-ansible-collection
dfdffde637f746d346ba35569be8c3a3407022f2
[ "Apache-2.0" ]
null
null
null
plugins/modules/oci_identity_provider_group_facts.py
hanielburton/oci-ansible-collection
dfdffde637f746d346ba35569be8c3a3407022f2
[ "Apache-2.0" ]
null
null
null
plugins/modules/oci_identity_provider_group_facts.py
hanielburton/oci-ansible-collection
dfdffde637f746d346ba35569be8c3a3407022f2
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # Copyright (c) 2017, 2021 Oracle and/or its affiliates. # This software is made available to you under the terms of the GPL 3.0 license or the Apache 2.0 license. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Apache License v2.0 # See LICENSE.TXT for d...
31.408451
123
0.647085
712
6,690
5.865169
0.292135
0.068966
0.034483
0.04023
0.396312
0.354167
0.322318
0.235872
0.158046
0.158046
0
0.029176
0.272496
6,690
212
124
31.556604
0.828847
0.061136
0
0.245714
0
0.005714
0.600415
0.150901
0
0
0
0
0
1
0.017143
false
0.005714
0.034286
0.005714
0.074286
0.005714
0
0
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
5a8b56e47261fb1ba1900bca222647f66d877c6d
138
py
Python
master/tutorials/30-days-of-code/30-conditional-statements/solution.py
bitnot/hackerrank-solutions
cb54af3e80f9aa188a7aadf357c5d9bcc0715249
[ "MIT" ]
null
null
null
master/tutorials/30-days-of-code/30-conditional-statements/solution.py
bitnot/hackerrank-solutions
cb54af3e80f9aa188a7aadf357c5d9bcc0715249
[ "MIT" ]
null
null
null
master/tutorials/30-days-of-code/30-conditional-statements/solution.py
bitnot/hackerrank-solutions
cb54af3e80f9aa188a7aadf357c5d9bcc0715249
[ "MIT" ]
null
null
null
#!/bin/python3 import sys N = int(input().strip()) if (6 <= N <= 20) or (N % 2 == 1): print ("Weird") else: print ("Not Weird")
13.8
34
0.514493
22
138
3.227273
0.818182
0
0
0
0
0
0
0
0
0
0
0.057692
0.246377
138
10
35
13.8
0.625
0.094203
0
0
0
0
0.112
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.333333
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
ce485e79f0622245c5a0ed6e7fd838ea27c174c3
5,928
py
Python
cmfieldguide/cmsdetector/page_tools.py
stevenbrent/cmfieldguide
a05d43c72900a1301c00819929b1957386eaf48a
[ "Unlicense" ]
1
2016-10-05T14:48:59.000Z
2016-10-05T14:48:59.000Z
cmfieldguide/cmsdetector/page_tools.py
stevenbrent/cmfieldguide
a05d43c72900a1301c00819929b1957386eaf48a
[ "Unlicense" ]
null
null
null
cmfieldguide/cmsdetector/page_tools.py
stevenbrent/cmfieldguide
a05d43c72900a1301c00819929b1957386eaf48a
[ "Unlicense" ]
null
null
null
import urllib2 import re class PageCache(dict): """ This is just a basic dictionary object. I am overriding it to add a new page if the dictionary doesn't already have a page for the URL. """ def __init__(self, *args): dict.__init__(self, args) def __getitem__(self, key): ...
26.58296
125
0.567814
696
5,928
4.716954
0.306034
0.027414
0.025586
0.02315
0.273835
0.163875
0.127932
0.075541
0.075541
0.075541
0
0.016594
0.339238
5,928
222
126
26.702703
0.821547
0.020074
0
0.361702
0
0
0.038697
0.011929
0
0
0
0
0
0
null
null
0
0.031915
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
ce5a975a8fb02f74f1baa5b6f6ea95efa99b1e0c
3,613
py
Python
biolink/api/entityset/endpoints/summary.py
iimpulse/biolink-api
0108155a7a63238b752e9c0e50f57af008916e24
[ "BSD-3-Clause" ]
55
2017-02-06T07:13:30.000Z
2022-03-08T16:39:53.000Z
biolink/api/entityset/endpoints/summary.py
iimpulse/biolink-api
0108155a7a63238b752e9c0e50f57af008916e24
[ "BSD-3-Clause" ]
280
2017-02-13T19:43:54.000Z
2022-03-30T21:23:23.000Z
biolink/api/entityset/endpoints/summary.py
iimpulse/biolink-api
0108155a7a63238b752e9c0e50f57af008916e24
[ "BSD-3-Clause" ]
22
2017-02-01T18:42:46.000Z
2021-08-13T17:09:55.000Z
import logging from flask_restplus import Resource from biolink.datamodel.serializers import compact_association_set, association_results from ontobio.golr.golr_associations import search_associations, GolrFields from biolink.api.restplus import api from biolink import USER_AGENT from biolink.error_handlers import Ro...
34.084906
194
0.626349
386
3,613
5.686529
0.360104
0.020501
0.031891
0.041002
0.382688
0.28246
0.199544
0.166743
0.166743
0.166743
0
0.020478
0.270136
3,613
105
195
34.409524
0.811907
0.293939
0
0.410714
0
0.035714
0.192997
0
0
0
0
0.019048
0
1
0.053571
false
0
0.125
0
0.267857
0.017857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ce6d6471aa36c466e9c60e4cbfff1d3bf2cab673
4,589
py
Python
python/product/controller.py
danielgomessilva/BarzingaNow
3e964974b1d25eff523b7f9a570e6abda890c7f0
[ "Apache-2.0" ]
null
null
null
python/product/controller.py
danielgomessilva/BarzingaNow
3e964974b1d25eff523b7f9a570e6abda890c7f0
[ "Apache-2.0" ]
null
null
null
python/product/controller.py
danielgomessilva/BarzingaNow
3e964974b1d25eff523b7f9a570e6abda890c7f0
[ "Apache-2.0" ]
null
null
null
import os import json import cloudstorage as gcs from flask import Blueprint, request, session from flask_principal import Permission, RoleNeed from google.appengine.api import app_identity from google.appengine.api.images import get_serving_url from google.appengine.ext import blobstore from product.model import Pr...
32.316901
140
0.68272
590
4,589
5.115254
0.232203
0.083499
0.047714
0.032472
0.405898
0.378728
0.331677
0.320742
0.305169
0.263088
0
0.012029
0.18479
4,589
141
141
32.546099
0.794707
0
0
0.326923
0
0
0.107431
0.022009
0
0
0
0
0
0
null
null
0
0.105769
null
null
0.067308
0
0
0
null
0
0
0
0
0
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
ce769dd2b588b49967e95c7511bae175dfc0462b
5,580
py
Python
headpose_estimation_pairs.py
MitchellX/deep-head-pose
b26ca3a437cf8fb201d35184ea14be681c0a8231
[ "Apache-2.0" ]
9
2021-05-10T11:42:58.000Z
2022-03-17T05:51:41.000Z
headpose_estimation_pairs.py
MitchellX/deep-head-pose
b26ca3a437cf8fb201d35184ea14be681c0a8231
[ "Apache-2.0" ]
null
null
null
headpose_estimation_pairs.py
MitchellX/deep-head-pose
b26ca3a437cf8fb201d35184ea14be681c0a8231
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 import dlib import sys, os, argparse import numpy as np import cv2 import torch from torch.autograd import Variable from torchvision import transforms import torch.backends.cudnn as cudnn import torchvision import torch.nn.functional as F from PIL import Image sys.path.append('code/') import datasets, h...
32.631579
171
0.608781
749
5,580
4.340454
0.29773
0.018456
0.023993
0.017225
0.153799
0.086435
0.027684
0.027684
0
0
0
0.024673
0.273656
5,580
171
172
32.631579
0.777449
0.095341
0
0.017544
0
0
0.083085
0.053071
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.061404
0
0
0
null
0
0
0
0
0
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
ce79ba84266394018dce60529664ab4f80b8c2c1
4,471
py
Python
patient/models.py
11pawan11/ehealth
4385881e43b441937a9b6f90d7d00122ae568c35
[ "MIT" ]
null
null
null
patient/models.py
11pawan11/ehealth
4385881e43b441937a9b6f90d7d00122ae568c35
[ "MIT" ]
null
null
null
patient/models.py
11pawan11/ehealth
4385881e43b441937a9b6f90d7d00122ae568c35
[ "MIT" ]
null
null
null
from django.db import models from django.core.validators import MinLengthValidator, RegexValidator from django.db.models import CASCADE from django.contrib.auth.models import User #from patient.models import PatientInfo from django.db.models.signals import post_save from django.db.models import signals from djan...
33.616541
153
0.673451
505
4,471
5.857426
0.293069
0.133874
0.042596
0.056795
0.209601
0.097363
0.077755
0.052738
0
0
0
0.010169
0.208231
4,471
132
154
33.871212
0.825424
0.035786
0
0.11215
0
0
0.073808
0.005751
0
0
0
0
0
1
0.084112
false
0.009346
0.074766
0.056075
0.654206
0
0
0
0
null
0
0
0
0
0
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
ce7c8b9310f8f99511c7c20531da4a346a4ab3bb
1,932
py
Python
platform/mcu/wm_w600/ucube.py
jinlongliu/AliOS-Things
ce051172a775f987183e7aca88bb6f3b809ea7b0
[ "Apache-2.0" ]
4
2019-03-12T11:04:48.000Z
2019-10-22T06:06:53.000Z
platform/mcu/wm_w600/ucube.py
IamBaoMouMou/AliOS-Things
195a9160b871b3d78de6f8cf6c2ab09a71977527
[ "Apache-2.0" ]
3
2018-12-17T13:06:46.000Z
2018-12-28T01:40:59.000Z
platform/mcu/wm_w600/ucube.py
IamBaoMouMou/AliOS-Things
195a9160b871b3d78de6f8cf6c2ab09a71977527
[ "Apache-2.0" ]
2
2018-01-23T07:54:08.000Z
2018-01-23T11:38:59.000Z
src = Split(''' aos/soc_impl.c hal/uart.c hal/flash.c main.c ''') deps = Split(''' kernel/rhino platform/arch/arm/armv7m platform/mcu/wm_w600/ kernel/vcall kernel/init ''') global_macro = Split(''' STDIO_UART=0 CONFIG_NO_TCPIP ...
23
53
0.621636
232
1,932
4.896552
0.435345
0.06338
0.048415
0.024648
0.09507
0
0
0
0
0
0
0.022346
0.258799
1,932
83
54
23.277108
0.77095
0
0
0.180556
0
0
0.693064
0.201863
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ce827a7a2ffce6919cfb096b92352e093b371855
2,210
py
Python
bus13_opt_action.py
kmoy14-stanford/smart-rl-mg
cd43cbc0afb2f5fb6a60b749c13009e5b2cd6ea7
[ "MIT" ]
6
2021-03-03T22:50:04.000Z
2021-04-02T03:09:09.000Z
bus13_opt_action.py
kevinrussellmoy/smart-rl-mg
cd43cbc0afb2f5fb6a60b749c13009e5b2cd6ea7
[ "MIT" ]
null
null
null
bus13_opt_action.py
kevinrussellmoy/smart-rl-mg
cd43cbc0afb2f5fb6a60b749c13009e5b2cd6ea7
[ "MIT" ]
1
2021-03-30T08:22:53.000Z
2021-03-30T08:22:53.000Z
# Kevin Moy, 8/6/2020 # Find optimal capacitor control on OpenDSS IEEE 13-bus given a load profile import win32com.client import pandas as pd import os import numpy as np from bus13_state_reward import * TOTAL_ACTIONS = 4 def action_to_cap_control(action, DSSCircuit): # Currently, only takes in IEEE 13 bus Open...
32.985075
89
0.652036
266
2,210
5.334586
0.342105
0.225511
0.135307
0.078929
0.37914
0.37914
0.331219
0.331219
0.322763
0.322763
0
0.026092
0.254299
2,210
66
90
33.484848
0.834951
0.225792
0
0.355556
0
0
0.071218
0
0
0
0
0
0
1
0.044444
false
0
0.111111
0
0.177778
0.111111
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
ce887924756912d21e857b6135cc0ad4d0b90478
11,995
py
Python
id/migrations/0001_initial.py
argob/id-mi-argentina-distro
ba013f8a06d4b68464a599a1bfaad917e801eeef
[ "MIT" ]
4
2019-12-12T21:40:08.000Z
2020-03-07T05:13:41.000Z
id/migrations/0001_initial.py
argob/id-mi-argentina-distro
ba013f8a06d4b68464a599a1bfaad917e801eeef
[ "MIT" ]
7
2020-11-05T00:31:43.000Z
2022-02-10T10:40:17.000Z
id/migrations/0001_initial.py
argob/id-mi-argentina-distro
ba013f8a06d4b68464a599a1bfaad917e801eeef
[ "MIT" ]
3
2019-12-09T19:53:34.000Z
2020-10-30T02:15:09.000Z
# Generated by Django 2.1.7 on 2019-11-28 18:50 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 class Migration(migrations.Migr...
60.276382
636
0.602084
1,243
11,995
5.646018
0.252615
0.105016
0.019949
0.031348
0.457965
0.436877
0.387717
0.334283
0.317754
0.297378
0
0.009771
0.249187
11,995
198
637
60.580808
0.769487
0.003752
0
0.455497
1
0
0.252009
0.004938
0
0
0
0
0
1
0
false
0.010471
0.036649
0
0.057592
0
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
ce89c5d790836320dde52bb55a5e034c40f178d3
529
py
Python
src/appxs/account/urls/role.py
spunkmars/django-spms
95ac193891f93da07c3a26feeaf846e6030f3466
[ "BSD-3-Clause" ]
23
2020-04-14T07:50:38.000Z
2022-01-27T09:07:19.000Z
src/appxs/account/urls/role.py
bjzhangyong/django-spms
95ac193891f93da07c3a26feeaf846e6030f3466
[ "BSD-3-Clause" ]
8
2021-03-19T09:01:16.000Z
2022-02-10T12:28:55.000Z
src/appxs/account/urls/role.py
bjzhangyong/django-spms
95ac193891f93da07c3a26feeaf846e6030f3466
[ "BSD-3-Clause" ]
6
2020-04-14T13:34:29.000Z
2022-01-25T04:05:16.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.conf.urls import url, include from appxs.account.views.role import list_role, edit_role, add_role, del_role from ..apps import app_name urlpatterns = [ url(r'^add/$', add_role, name='add'), url(r'^list/$', list_role, name...
31.117647
78
0.625709
82
529
3.817073
0.378049
0.063898
0.067093
0.076677
0
0
0
0
0
0
0
0.002252
0.160681
529
16
79
33.0625
0.702703
0.162571
0
0
0
0
0.174528
0.110849
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ce9afcbbbf8ce37501a3b585ab2e6bbd9b452b8a
20,484
py
Python
setup.py
rxcomm/mixminion
363a5f7d4e3205b396c8fcef63bda0d39a206596
[ "MIT" ]
2
2015-11-30T11:23:38.000Z
2016-02-11T19:05:48.000Z
setup.py
rxcomm/mixminion
363a5f7d4e3205b396c8fcef63bda0d39a206596
[ "MIT" ]
1
2015-10-24T13:20:54.000Z
2015-10-24T13:20:54.000Z
setup.py
rxcomm/mixminion
363a5f7d4e3205b396c8fcef63bda0d39a206596
[ "MIT" ]
2
2015-10-02T10:45:47.000Z
2020-06-08T12:45:19.000Z
#!/usr/bin/python # Copyright 2002-2011 Nick Mathewson. See LICENSE for licensing information. import sys # # Current Mixminion version # VERSION = '0.0.8alpha3' # System: 0==alpha, 50==beta, 98=pre, 99==release candidate, 100==release VERSION_INFO = (0,0,8,0,3) # Check the version. We need to make sure version_i...
36.448399
79
0.604423
2,674
20,484
4.541137
0.23261
0.017294
0.0168
0.010376
0.192868
0.127481
0.095117
0.057235
0.040929
0.037717
0
0.017506
0.244288
20,484
561
80
36.513369
0.766925
0.166764
0
0.203747
0
0.004684
0.375081
0.057682
0
0
0.000588
0
0
0
null
null
0.002342
0.074941
null
null
0.100703
0
0
0
null
0
0
0
0
0
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
ce9d52f8d0a3bbdf911c9f354853779d0295d7ee
1,315
py
Python
music/models.py
nevilparmar11/Music_Sharing_Site
1dec47e0cdbe88b96a99dbfba4e5205e04b746f5
[ "MIT" ]
3
2020-03-20T14:45:50.000Z
2021-06-17T13:30:21.000Z
music/models.py
nevilparmar11/Music_Sharing_Site
1dec47e0cdbe88b96a99dbfba4e5205e04b746f5
[ "MIT" ]
4
2021-03-19T02:23:50.000Z
2022-01-13T02:36:34.000Z
music/models.py
nevilparmar11/Music_Sharing_Site
1dec47e0cdbe88b96a99dbfba4e5205e04b746f5
[ "MIT" ]
null
null
null
from django.contrib.auth.models import Permission, User from django.db import models class Album(models.Model): user = models.ForeignKey(User, default=1,on_delete=models.CASCADE) artist = models.CharField(max_length=250) album_title = models.CharField(max_length=500) genre = models.CharField(max_lengt...
39.848485
104
0.74981
174
1,315
5.442529
0.344828
0.084477
0.073918
0.110876
0.473073
0.380148
0.32735
0.238648
0.238648
0.133052
0
0.012346
0.137643
1,315
32
105
41.09375
0.822751
0
0
0.16
0
0
0.070722
0.034981
0
0
0
0
0
1
0.08
false
0
0.08
0.08
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
cea0480cc90d81ea261b1a8a170bb14ba568725e
584
py
Python
tests/type/any_type/test_equality.py
llambeau/finitio.py
27c2799709993c6edb9d9038290792ed90a97346
[ "0BSD" ]
1
2016-02-06T17:16:22.000Z
2016-02-06T17:16:22.000Z
tests/type/any_type/test_equality.py
llambeau/finitio.py
27c2799709993c6edb9d9038290792ed90a97346
[ "0BSD" ]
null
null
null
tests/type/any_type/test_equality.py
llambeau/finitio.py
27c2799709993c6edb9d9038290792ed90a97346
[ "0BSD" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_equality ---------------------------------- Tests for the `AnyType` __eq__ method """ import unittest from finitio.types import AnyType class TestAnyTypeEq(unittest.TestCase): _type = AnyType() _type2 = AnyType() def test_it_should_apply_structu...
19.466667
73
0.672945
72
584
4.986111
0.638889
0.038997
0.050139
0.083565
0
0
0
0
0
0
0
0.010246
0.164384
584
29
74
20.137931
0.72541
0.222603
0
0
0
0
0.017978
0
0
0
0
0
0.166667
1
0.166667
false
0
0.25
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
cea3482c7279e0db94388291b212cafed194b9b4
762
py
Python
setup.py
IceExchange/ice-services-lib
67a304ed4be183ed4b521624fc48be67936d141e
[ "MIT" ]
null
null
null
setup.py
IceExchange/ice-services-lib
67a304ed4be183ed4b521624fc48be67936d141e
[ "MIT" ]
null
null
null
setup.py
IceExchange/ice-services-lib
67a304ed4be183ed4b521624fc48be67936d141e
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='toshiservices', version='0.0.1', author='Tristan King', author_email='tristan.king@gmail.com', packages=['toshi'], url='http://github.com/IceExchange/ice-services-lib', description='', long_description=open('README.md').read(), setup_require...
22.411765
57
0.549869
78
762
5.294872
0.730769
0.053269
0
0
0
0
0
0
0
0
0
0.034358
0.274278
762
33
58
23.090909
0.712477
0
0
0.0625
0
0
0.383202
0.059055
0
0
0
0
0
1
0
true
0
0.03125
0
0.03125
0
0
0
0
null
0
0
0
0
0
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
ceae7fb6309c90e5dd367a4d47cfedea5869d447
726
py
Python
tests/statistical/optimizers/detailed/cmaes/model/model.py
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
43
2018-07-26T07:20:42.000Z
2022-03-02T10:23:12.000Z
tests/statistical/optimizers/detailed/cmaes/model/model.py
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
212
2018-09-21T10:44:07.000Z
2022-03-22T14:33:05.000Z
tests/statistical/optimizers/detailed/cmaes/model/model.py
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
16
2018-07-25T15:00:36.000Z
2022-03-22T14:19:46.000Z
#!/usr/bin/env python import numpy as np # Helper def assertclose(expected, value, atol): assert np.isclose(expected, value, atol = atol), "Value {0} "\ "deviates from expected value {1}".format(value, expected) # Function to minimize def minmodel1(p): x = p["Parameters"][0] p["F(x)"] = -((x - 2.0) * (x...
22
64
0.555096
120
726
3.358333
0.308333
0.039702
0.059553
0.129032
0.317618
0.317618
0.317618
0.317618
0.317618
0.317618
0
0.076106
0.221763
726
32
65
22.6875
0.637168
0.216253
0
0.25
0
0
0.175313
0
0
0
0
0
0.125
1
0.3125
false
0
0.0625
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
1
0
0
0
0
0
0
0
1
ceb087f010dd30760ed3d85bf6f7aa8a3fa439a4
1,844
py
Python
createHaplotypeImportFile.py
admar505/python-tools
743c0e41e6700efa3817fdb09c451f8fffccd1b3
[ "Apache-2.0" ]
null
null
null
createHaplotypeImportFile.py
admar505/python-tools
743c0e41e6700efa3817fdb09c451f8fffccd1b3
[ "Apache-2.0" ]
null
null
null
createHaplotypeImportFile.py
admar505/python-tools
743c0e41e6700efa3817fdb09c451f8fffccd1b3
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import argparse import subprocess import re import csv import numpy #exporter:https://vapor.veritasgenetics.com/?q=admin/structure/views/view/yt_default_search_solr/edit #but really:https://vapor.veritasgenetics.com/?q=yt-get-all-variant-links-export&eid=5&return-url=yt-get-all-variant-links-expor...
28.8125
168
0.616052
262
1,844
4.29771
0.454198
0.023979
0.045293
0.049734
0.190053
0.087034
0.040853
0.040853
0
0
0
0.014464
0.175163
1,844
63
169
29.269841
0.725838
0.277657
0
0.105263
0
0
0.183751
0
0
0
0
0
0
0
null
null
0
0.131579
null
null
0.052632
0
0
0
null
0
0
0
0
0
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
ceb0e0a1d4792492d791d34177e367e338fd6cfe
482
py
Python
catkin_ws/src/joystick_drivers/wiimote/scripts/wiimote_test.py
RMI-NITT/PEPPER-SLAM_Navigation_Bot
4a00786cdac1ae25328daf2a896699f303f2afef
[ "MIT" ]
1
2021-11-22T21:30:45.000Z
2021-11-22T21:30:45.000Z
catkin_ws/src/joystick_drivers/wiimote/scripts/wiimote_test.py
svdeepak99/PEPPER-SLAM_Navigation_Bot
49bfcc08566789a82168800199c8a0835eab7b71
[ "MIT" ]
null
null
null
catkin_ws/src/joystick_drivers/wiimote/scripts/wiimote_test.py
svdeepak99/PEPPER-SLAM_Navigation_Bot
49bfcc08566789a82168800199c8a0835eab7b71
[ "MIT" ]
3
2021-04-08T17:13:22.000Z
2021-12-12T15:55:54.000Z
#!/usr/bin/env from __future__ import print_function from bluetooth import * print("Looking for compatible devices") nearby_devices = discover_devices(lookup_names = 1,duration = 10,flush_cache=True) for addr,name in nearby_devices: if name == 'Nintendo RVL-CNT-01' or name == 'Nintendo RVL-WBC-01': prin...
32.133333
82
0.686722
69
482
4.652174
0.550725
0.074766
0.140187
0.105919
0.267913
0.267913
0
0
0
0
0
0.022613
0.174274
482
14
83
34.428571
0.78392
0.026971
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
ceb25e3fbb9a1320cd20a1debf5dbae48d2c4179
1,875
py
Python
venv/Lib/site-packages/statsmodels/datasets/strikes/data.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
2
2020-11-30T14:04:26.000Z
2021-11-08T11:29:06.000Z
venv/Lib/site-packages/statsmodels/datasets/strikes/data.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
7
2020-12-04T04:10:42.000Z
2021-03-16T00:53:09.000Z
venv/Lib/site-packages/statsmodels/datasets/strikes/data.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
1
2021-11-16T19:06:53.000Z
2021-11-16T19:06:53.000Z
"""U.S. Strike Duration Data""" from statsmodels.datasets import utils as du __docformat__ = 'restructuredtext' COPYRIGHT = """This is public domain.""" TITLE = __doc__ SOURCE = """ This is a subset of the data used in Kennan (1985). It was originally published by the Bureau of Labor Statistics. :: ...
25.337838
80
0.677867
245
1,875
5.069388
0.469388
0.022544
0.02657
0.057971
0.328502
0.328502
0.299517
0.299517
0.299517
0.214171
0
0.012579
0.2368
1,875
73
81
25.684932
0.855346
0.255467
0
0.064516
0
0
0.644495
0
0
0
0
0
0
1
0.096774
false
0
0.032258
0.032258
0.225806
0
0
0
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
ceb39859c0e61e03f5bd454724891a011ecd099d
2,210
py
Python
tests/utils/test_coordinates_converter.py
estanislaoledesma/genper
5996b8bc199d8cecc74b7f6d03b67a4c356b4beb
[ "MIT" ]
2
2021-09-24T20:10:40.000Z
2021-12-23T21:03:16.000Z
tests/utils/test_coordinates_converter.py
estanislaoledesma/genper
5996b8bc199d8cecc74b7f6d03b67a4c356b4beb
[ "MIT" ]
4
2021-09-24T19:25:38.000Z
2021-12-22T00:49:07.000Z
tests/utils/test_coordinates_converter.py
estanislaoledesma/genper
5996b8bc199d8cecc74b7f6d03b67a4c356b4beb
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import unittest import numpy as np import torch from numpy import pi from utils.coordinates_converter import CoordinatesConverter class TestCoordinatesConverter(unittest.TestCase): def test_cart2pol_0_0(self): x = 0 y = 0 rho, phi = Coordinat...
24.831461
82
0.532127
314
2,210
3.627389
0.143312
0.067603
0.136962
0.057946
0.700615
0.698859
0.618086
0.618086
0.60755
0.60755
0
0.079132
0.353846
2,210
88
83
25.113636
0.718487
0.019005
0
0.450704
0
0
0
0
0
0
0
0
0.28169
1
0.15493
false
0
0.070423
0
0.239437
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cec1b45c9632e7c8655dafab2abbc7dd9e4f064a
1,171
py
Python
ItemBricks.py
KSpalinska/python-game
169a2efd556f38fe17e415aa2ec33738239b4f4a
[ "MIT" ]
null
null
null
ItemBricks.py
KSpalinska/python-game
169a2efd556f38fe17e415aa2ec33738239b4f4a
[ "MIT" ]
null
null
null
ItemBricks.py
KSpalinska/python-game
169a2efd556f38fe17e415aa2ec33738239b4f4a
[ "MIT" ]
null
null
null
from GameObject import * import pygame from Constants import IMAGE_BRICKS_PATH, ITEM_BRICKS_WIDTH, ITEM_BRICKS_HEIGHT class ItemBricks(GameObject): def __init__(self,gameObject): super(GameObject, self).__init__() pygame.sprite.Sprite.__init__(self) # call Sprite intializer self.width = ...
30.025641
124
0.652434
152
1,171
4.809211
0.361842
0.065663
0.04104
0.030096
0.032832
0
0
0
0
0
0
0.011403
0.251067
1,171
38
125
30.815789
0.822121
0.018787
0
0.137931
0
0
0
0
0
0
0
0
0
1
0.137931
false
0.068966
0.103448
0
0.344828
0
0
0
0
null
0
0
0
0
0
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
ceca838d96f6bc3448a9b09806fc845d7faec032
1,734
py
Python
ServerlessController/profiles/migrations/0001_initial.py
pacslab/ChainFaaS
f99dd3753de21a93c61cc411b88b7ab2c5da9efe
[ "Apache-2.0" ]
7
2020-08-27T23:32:43.000Z
2022-02-18T12:08:50.000Z
ServerlessController/profiles/migrations/0001_initial.py
pacslab/ChainFaaS
f99dd3753de21a93c61cc411b88b7ab2c5da9efe
[ "Apache-2.0" ]
6
2020-11-02T07:03:22.000Z
2021-06-10T19:58:48.000Z
ServerlessController/profiles/migrations/0001_initial.py
pacslab/ChainFaaS
f99dd3753de21a93c61cc411b88b7ab2c5da9efe
[ "Apache-2.0" ]
2
2020-04-16T00:47:21.000Z
2021-04-27T07:45:52.000Z
# Generated by Django 2.2.10 on 2020-05-28 16:19 import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion from django.utils.timezone import utc class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappab...
41.285714
121
0.616494
184
1,734
5.695652
0.418478
0.030534
0.040076
0.062977
0.493321
0.493321
0.493321
0.459924
0.377863
0.377863
0
0.025424
0.251442
1,734
42
122
41.285714
0.781972
0.026528
0
0.457143
1
0
0.058684
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.257143
0
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
ced38ce546c650efc803bf8cb81e4b8c205bb185
760
py
Python
setup.py
kellycreativetech/django-twilio
9caae7d2bbaa5ae66aa614bb87e007e24949f506
[ "Unlicense" ]
null
null
null
setup.py
kellycreativetech/django-twilio
9caae7d2bbaa5ae66aa614bb87e007e24949f506
[ "Unlicense" ]
null
null
null
setup.py
kellycreativetech/django-twilio
9caae7d2bbaa5ae66aa614bb87e007e24949f506
[ "Unlicense" ]
null
null
null
from os.path import abspath, dirname, join, normpath from setuptools import find_packages, setup from django_twilio import __version__ as version setup( # Basic package information: name = 'django-twilio', version = version, packages = find_packages(), # Packaging options: zip_safe = False, include_package_...
24.516129
85
0.734211
94
760
5.755319
0.702128
0.044362
0
0
0
0
0
0
0
0
0
0.006173
0.147368
760
30
86
25.333333
0.828704
0.113158
0
0
0
0
0.279522
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
ced79ff38c6821c58a709c262011e4defc39b63f
467
py
Python
JointInternRepo/marlgrid/marlgrid/envs/empty.py
do-not-be-hasty/seed_rl
1e94de42dd7f40c6981a5099fb1acdc395d6b147
[ "Apache-2.0" ]
99
2020-03-10T09:06:42.000Z
2022-03-25T19:42:35.000Z
marlgrid/envs/empty.py
parthkhopkar/marlgrid
f2139e1172ffac3d2dccdba4a7502c6b7ef3b106
[ "Apache-2.0" ]
4
2020-03-16T21:14:38.000Z
2021-07-05T08:10:03.000Z
marlgrid/envs/empty.py
parthkhopkar/marlgrid
f2139e1172ffac3d2dccdba4a7502c6b7ef3b106
[ "Apache-2.0" ]
20
2020-03-16T00:53:42.000Z
2022-03-08T10:57:25.000Z
from ..base import MultiGridEnv, MultiGrid from ..objects import * class EmptyMultiGrid(MultiGridEnv): mission = "get to the green square" metadata = {} def _gen_grid(self, width, height): self.grid = MultiGrid((width, height)) self.grid.wall_rect(0, 0, width, height) self.put_obj...
27.470588
74
0.657388
60
467
4.966667
0.6
0.110738
0.151007
0.127517
0
0
0
0
0
0
0
0.013699
0.218415
467
16
75
29.1875
0.80274
0
0
0
0
0
0.059957
0
0
0
0
0
0
1
0.090909
false
0
0.181818
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
cedd89ba6c91322bc4e1a022ea34d6c401cdd2ae
1,075
py
Python
xgboost_ray/data_sources/numpy.py
edoakes/xgboost_ray
1e16381f42c523caa854bd625ddb969553fee87d
[ "Apache-2.0" ]
1
2021-07-30T20:19:23.000Z
2021-07-30T20:19:23.000Z
xgboost_ray/data_sources/numpy.py
edoakes/xgboost_ray
1e16381f42c523caa854bd625ddb969553fee87d
[ "Apache-2.0" ]
null
null
null
xgboost_ray/data_sources/numpy.py
edoakes/xgboost_ray
1e16381f42c523caa854bd625ddb969553fee87d
[ "Apache-2.0" ]
null
null
null
from typing import Any, Optional, Sequence, List import numpy as np import pandas as pd import xgboost as xgb from xgboost_ray.data_sources.data_source import DataSource, RayFileType from xgboost_ray.data_sources.pandas import Pandas class Numpy(DataSource): """Read from numpy arrays.""" @staticmethod ...
32.575758
73
0.647442
129
1,075
5.271318
0.44186
0.088235
0.041176
0.052941
0.073529
0
0
0
0
0
0
0.001258
0.260465
1,075
32
74
33.59375
0.854088
0.052093
0
0.130435
0
0
0.003949
0
0
0
0
0
0
1
0.130435
false
0
0.26087
0.043478
0.521739
0
0
0
0
null
0
0
0
0
0
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
cedf80b5cf546ffbec8355d91cfbd404373a9404
766
py
Python
adv/yuya.py
slushiedee/dl
15718bc12a7e119daa8ab078cdcaa0c26739b2d9
[ "Apache-2.0" ]
45
2018-12-30T14:19:37.000Z
2021-01-28T08:16:41.000Z
adv/yuya.py
slushiedee/dl
15718bc12a7e119daa8ab078cdcaa0c26739b2d9
[ "Apache-2.0" ]
23
2019-01-07T22:32:00.000Z
2019-10-04T10:23:02.000Z
adv/yuya.py
slushiedee/dl
15718bc12a7e119daa8ab078cdcaa0c26739b2d9
[ "Apache-2.0" ]
36
2019-01-11T21:38:02.000Z
2021-01-28T08:16:53.000Z
from core.advbase import * from slot.a import * def module(): return Yuya class Yuya(Adv): a3 = ('primed_crit_chance', 0.05,5) conf = {} conf['slots.burn.a'] = Twinfold_Bonds()+Me_and_My_Bestie() conf['acl'] = """ `dragon, s=1 `s3, not self.s3_buff `s4 `s1 ...
22.529412
62
0.535248
107
766
3.635514
0.663551
0.015424
0.056555
0.061697
0.128535
0.128535
0.128535
0.128535
0
0
0
0.049091
0.281984
766
33
63
23.212121
0.658182
0
0
0
0
0
0.254569
0
0
0
0
0
0
1
0.111111
false
0.074074
0.111111
0.037037
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0c6c49c9f22b690836c8f75dfe367f75f8f52017
1,858
py
Python
code/updateERDandFindNewLocation.py
cphatak/SLADS-Net
025b1bc3fbfd8018dc50ad1b95c3459e8c8d5d1f
[ "BSD-3-Clause" ]
null
null
null
code/updateERDandFindNewLocation.py
cphatak/SLADS-Net
025b1bc3fbfd8018dc50ad1b95c3459e8c8d5d1f
[ "BSD-3-Clause" ]
1
2020-09-24T18:51:55.000Z
2020-09-24T18:51:55.000Z
code/updateERDandFindNewLocation.py
cphatak/SLADS-Net
025b1bc3fbfd8018dc50ad1b95c3459e8c8d5d1f
[ "BSD-3-Clause" ]
null
null
null
#! /usr/bin/env python3 import numpy as np from computeOrupdateERD import computeFullERD from computeOrupdateERD import updateERD from performMeasurements import findNewMeasurementIdxs def updateERDandFindNewLocationFirst(Mask,MeasuredValues,MeasuredIdxs,UnMeasuredIdxs,Theta,SizeImage,TrainingInfo,Resolution,ImageTy...
66.357143
260
0.865985
156
1,858
10.314103
0.262821
0.104413
0.113114
0.156619
0.722188
0.688005
0.683654
0.668117
0.668117
0.502175
0
0.000571
0.057051
1,858
28
261
66.357143
0.917808
0.011841
0
0.4
0
0
0.000545
0
0
0
0
0
0
1
0.133333
false
0
0.266667
0
0.4
0
0
0
1
null
0
0
0
0
0
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
0c6e487da8608c11aa7e2b93aa35d17f48cf0f33
1,495
py
Python
tests/unitary/test_exit_unitary.py
vexchange/multi-rewards
261e2eaa647f6e21ca0e0f5c703c8a4806e03231
[ "MIT" ]
16
2021-04-21T04:35:41.000Z
2022-03-21T15:54:21.000Z
tests/unitary/test_exit_unitary.py
vexchange/multi-rewards
261e2eaa647f6e21ca0e0f5c703c8a4806e03231
[ "MIT" ]
2
2021-02-02T02:48:11.000Z
2021-02-08T01:16:01.000Z
tests/unitary/test_exit_unitary.py
vexchange/multi-rewards
261e2eaa647f6e21ca0e0f5c703c8a4806e03231
[ "MIT" ]
15
2021-04-21T18:54:43.000Z
2022-03-31T21:40:06.000Z
#!/usr/bin/python3 import brownie # Confirm that a full withdraw occurs def test_exit_withdraws(multi, alice, bob, base_token, reward_token, chain): amount = base_token.balanceOf(bob) base_token.approve(multi, amount, {"from": bob}) multi.stake(amount, {"from": bob}) assert base_token.balanceOf(bob) =...
34.767442
93
0.711037
207
1,495
4.971014
0.231884
0.151604
0.132167
0.122449
0.630709
0.552964
0.512148
0.480078
0.480078
0.396501
0
0.009662
0.169231
1,495
42
94
35.595238
0.818841
0.100334
0
0.62069
0
0
0.02088
0
0
0
0
0
0.413793
1
0.103448
false
0
0.034483
0
0.137931
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1