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
21418a1620b85c8b126f4c0005971414afc84bc6
3,718
py
Python
cogs/welcomer.py
Abhiraj441/Superior
1c597cc367f1fadbabf124c83e4684e35bc36a4e
[ "MIT" ]
null
null
null
cogs/welcomer.py
Abhiraj441/Superior
1c597cc367f1fadbabf124c83e4684e35bc36a4e
[ "MIT" ]
null
null
null
cogs/welcomer.py
Abhiraj441/Superior
1c597cc367f1fadbabf124c83e4684e35bc36a4e
[ "MIT" ]
null
null
null
from discord.ext import commands import discord import random import datetime import sqlite3 class Welcomer(commands.Cog): def __init__(self, client): self.client = client @commands.Cog.listener() async def on_member_join(self, member): db = sqlite3.connect("main.sqlite") cursor =...
38.329897
98
0.563206
424
3,718
4.849057
0.233491
0.054475
0.035019
0.038911
0.519455
0.457198
0.440661
0.396887
0.358463
0.304475
0
0.00716
0.32383
3,718
96
99
38.729167
0.81066
0
0
0.321839
0
0
0.210059
0.017483
0
0
0
0
0
1
0.022989
false
0
0.057471
0
0.103448
0
0
0
0
null
0
0
0
0
0
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
1
0
2142e2114d52df5ead364aee160bbcf0ccdc04e6
4,995
py
Python
pirates/minigame/BlendActor.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
3
2021-02-25T06:38:13.000Z
2022-03-22T07:00:15.000Z
pirates/minigame/BlendActor.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
null
null
null
pirates/minigame/BlendActor.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
1
2021-02-25T06:38:17.000Z
2021-02-25T06:38:17.000Z
# uncompyle6 version 3.2.0 # Python bytecode 2.4 (62061) # Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] # Embedded file name: pirates.minigame.BlendActor from direct.interval.MetaInterval import Sequence from direct.interval.MetaInterval import Parallel from dir...
41.625
153
0.673273
431
4,995
7.761021
0.301624
0.055904
0.021525
0.026308
0.266966
0.178774
0.1142
0.1142
0.079522
0.079522
0
0.018543
0.244244
4,995
120
154
41.625
0.86755
0.040641
0
0.287129
0
0
0.01274
0
0
0
0
0
0
0
null
null
0
0.108911
null
null
0.049505
0
0
0
null
0
0
0
0
0
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
2143fa672c59acab513578369d0301062ae5ff0e
10,872
py
Python
overplot_lags.py
abigailStev/lag_spectra
58742d9a3d82fa117ef397819b59b837265b8ed0
[ "MIT" ]
2
2020-02-11T16:37:03.000Z
2020-03-06T10:49:32.000Z
overplot_lags.py
abigailStev/lag_spectra
58742d9a3d82fa117ef397819b59b837265b8ed0
[ "MIT" ]
null
null
null
overplot_lags.py
abigailStev/lag_spectra
58742d9a3d82fa117ef397819b59b837265b8ed0
[ "MIT" ]
2
2015-11-19T13:05:17.000Z
2020-03-06T10:51:25.000Z
#!/usr/bin/env """ Plots multiple lag-energy spectra (from different observations, simulations, etc.) on the same plot. Change lag_dir and sim_dir to suit your machine and setup. Example call: python overplot_lag-energy.py cygx1 """ import argparse import subprocess import numpy as np from astropy.io import fits from...
36.979592
128
0.558131
1,434
10,872
4.042538
0.264993
0.01449
0.015525
0.0138
0.377437
0.314473
0.286528
0.245127
0.186993
0.147318
0
0.053891
0.266096
10,872
293
129
37.105802
0.672641
0.281733
0
0.130769
0
0
0.112595
0.037691
0
0
0
0
0
0
null
null
0
0.1
null
null
0.015385
0
0
0
null
0
0
0
0
0
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
214429602fec8e745dc0430d164010181f0164da
1,986
py
Python
models/srresnet.py
4tif4nwer/image-super-resolution
12dd2f0bd601f5733e529d84ccfac204f0ac7bc5
[ "Apache-2.0" ]
9
2021-09-08T08:42:37.000Z
2022-03-13T21:22:29.000Z
models/srresnet.py
4tif4nwer/image-super-resolution
12dd2f0bd601f5733e529d84ccfac204f0ac7bc5
[ "Apache-2.0" ]
null
null
null
models/srresnet.py
4tif4nwer/image-super-resolution
12dd2f0bd601f5733e529d84ccfac204f0ac7bc5
[ "Apache-2.0" ]
5
2021-08-20T13:45:37.000Z
2022-01-29T09:45:26.000Z
import tensorflow as tf from tensorflow.keras.models import Model from tensorflow.keras.layers import Input, Conv2D, BatchNormalization, Add, Lambda from tensorflow.python.keras.layers import PReLU from utils.normalization import normalize_01, denormalize_m11 upsamples_per_scale = { 2: 1, 4: 2, 8: 3 } ...
28.371429
117
0.685297
295
1,986
4.413559
0.315254
0.076805
0.038402
0.065284
0.317972
0.271121
0.166667
0.166667
0.166667
0.136713
0
0.031902
0.179255
1,986
69
118
28.782609
0.766871
0
0
0.083333
0
0.020833
0.102719
0.014099
0
0
0
0
0
1
0.083333
false
0
0.104167
0.020833
0.270833
0
0
0
0
null
0
0
0
0
0
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
1
0
2145b861123252d96c2d3306d78c3b97976c5156
85
py
Python
crusoe_observe/OS-parser-component/osrest/method/__init__.py
CSIRT-MU/CRUSOE
73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b
[ "MIT" ]
3
2021-11-09T09:55:17.000Z
2022-02-19T02:58:27.000Z
crusoe_observe/OS-parser-component/osrest/method/__init__.py
CSIRT-MU/CRUSOE
73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b
[ "MIT" ]
null
null
null
crusoe_observe/OS-parser-component/osrest/method/__init__.py
CSIRT-MU/CRUSOE
73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b
[ "MIT" ]
null
null
null
from .domain import Domain from .tcpml import Tcpml from .useragent import UserAgent
21.25
32
0.823529
12
85
5.833333
0.416667
0
0
0
0
0
0
0
0
0
0
0
0.141176
85
3
33
28.333333
0.958904
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
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
1
0
1
0
1
0
0
5
2146376ebb271565f1cb15c5a7d8faeed0721eb4
14,914
py
Python
alembic/versions/8d599d025605_remove.py
rxrw/file-reader
43e7047b5b4db25dff7d391241583ba6b7849061
[ "MIT" ]
2
2020-12-02T23:17:52.000Z
2020-12-04T18:20:27.000Z
alembic/versions/8d599d025605_remove.py
rxrw/file-reader
43e7047b5b4db25dff7d391241583ba6b7849061
[ "MIT" ]
1
2021-02-03T03:11:57.000Z
2021-02-03T03:11:57.000Z
alembic/versions/8d599d025605_remove.py
rxrw/file-reader
43e7047b5b4db25dff7d391241583ba6b7849061
[ "MIT" ]
null
null
null
"""remove Revision ID: 8d599d025605 Revises: 8effd1c19c35 Create Date: 2020-11-30 15:53:56.451886 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql # revision identifiers, used by Alembic. revision = '8d599d025605' down_revision = '8effd1c19c35' branch_labels = None depends_on...
53.264286
76
0.701556
2,031
14,914
5.018218
0.085672
0.116954
0.238422
0.249215
0.871272
0.808968
0.784831
0.760695
0.623136
0.472429
0
0.038356
0.117205
14,914
279
77
53.455197
0.735759
0.019378
0
0.358779
0
0
0.14841
0
0
0
0
0
0
1
0.007634
false
0.003817
0.01145
0
0.019084
0
0
0
0
null
0
1
1
1
1
1
1
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
6
2146a8fbf3a884aceec2b25ecae1e6d554c69d22
1,569
py
Python
day02/App/views.py
wenpanzhaopython/MyGit
ca49a1ecc46ee858d32be0121ace11169910b0f1
[ "Apache-2.0" ]
null
null
null
day02/App/views.py
wenpanzhaopython/MyGit
ca49a1ecc46ee858d32be0121ace11169910b0f1
[ "Apache-2.0" ]
null
null
null
day02/App/views.py
wenpanzhaopython/MyGit
ca49a1ecc46ee858d32be0121ace11169910b0f1
[ "Apache-2.0" ]
null
null
null
from django.http import HttpResponse from django.shortcuts import render from App.models import Categary, Item, Students def test(request): return render(request, "test.html") def cate_view(request): # cates = Categary.objects.filter(name="饮料") cates = Item.objects.all() return render(request, "t...
21.493151
65
0.687062
215
1,569
4.860465
0.237209
0.091866
0.145455
0.091866
0.304306
0.179904
0.179904
0.179904
0.101435
0.101435
0
0.000768
0.170172
1,569
73
66
21.493151
0.801843
0.026769
0
0.105263
0
0
0.088467
0
0
0
0
0
0
1
0.236842
false
0
0.078947
0.052632
0.578947
0.026316
0
0
0
null
0
0
0
0
0
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
1
0
0
2
21478a5a0f87a81a930087f6511cec8be95258ab
21,338
py
Python
config/settings/base.py
BanatIT/oxigen
40d50d06de0ea4f3a73507ce96c9aa62b74c3608
[ "MIT" ]
1
2022-02-27T19:32:07.000Z
2022-02-27T19:32:07.000Z
config/settings/base.py
BanatIT/oxigen
40d50d06de0ea4f3a73507ce96c9aa62b74c3608
[ "MIT" ]
2
2020-11-29T12:31:06.000Z
2022-02-28T17:46:40.000Z
config/settings/base.py
BanatIT/oxigen
40d50d06de0ea4f3a73507ce96c9aa62b74c3608
[ "MIT" ]
1
2020-11-26T20:07:07.000Z
2020-11-26T20:07:07.000Z
""" Base settings to build other settings files upon. """ from pathlib import Path import environ ROOT_DIR = Path(__file__).resolve(strict=True).parent.parent.parent # oxigen_api/ APPS_DIR = ROOT_DIR / "oxigen_api" env = environ.Env() READ_DOT_ENV_FILE = env.bool("DJANGO_READ_DOT_ENV_FILE", default=False) if READ_D...
38.585895
122
0.608867
2,227
21,338
5.713965
0.281096
0.03112
0.076071
0.086444
0.284872
0.276385
0.260039
0.247387
0.198585
0.128251
0
0.003539
0.165761
21,338
552
123
38.655797
0.711308
0.490908
0
0.029197
0
0
0.476442
0.261011
0
0
0
0.001812
0
1
0
false
0.036496
0.007299
0
0.007299
0
0
0
0
null
0
0
0
0
0
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
1
0
21499887ec6c101484d715302b11c0a7a70a27c6
44,526
py
Python
sql/migrations/0001_initial.py
bopopescu/ArcherySql
bfa15d5f8e6ca510e25ae43d32ef5e97a4d3db74
[ "Apache-2.0" ]
null
null
null
sql/migrations/0001_initial.py
bopopescu/ArcherySql
bfa15d5f8e6ca510e25ae43d32ef5e97a4d3db74
[ "Apache-2.0" ]
2
2020-06-06T00:13:26.000Z
2021-06-10T22:10:19.000Z
sql/migrations/0001_initial.py
bopopescu/ArcherySql
bfa15d5f8e6ca510e25ae43d32ef5e97a4d3db74
[ "Apache-2.0" ]
2
2020-07-20T01:13:17.000Z
2020-09-28T08:15:22.000Z
# Generated by Django 2.0.13 on 2019-08-05 21:50 from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True ...
66.357675
1,323
0.598572
4,722
44,526
5.359805
0.124735
0.09388
0.037813
0.085938
0.673989
0.601525
0.550437
0.508554
0.383856
0.310285
0
0.010989
0.2479
44,526
670
1,324
66.456716
0.744774
0.001033
0
0.396682
1
0
0.249944
0.041391
0
0
0
0
0
1
0
false
0.013575
0.00905
0
0.015083
0.001508
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2149d6420c3893223a5218dbf2a34414ddcf1d07
10,212
py
Python
opengwas/io_hdf5.py
chengsoonong/opengwas
2128ba2fd49c62e88130e3b073e804c423bd700f
[ "BSD-2-Clause" ]
5
2015-04-13T01:59:43.000Z
2018-07-04T06:22:27.000Z
opengwas/io_hdf5.py
chengsoonong/opengwas
2128ba2fd49c62e88130e3b073e804c423bd700f
[ "BSD-2-Clause" ]
null
null
null
opengwas/io_hdf5.py
chengsoonong/opengwas
2128ba2fd49c62e88130e3b073e804c423bd700f
[ "BSD-2-Clause" ]
1
2016-11-23T00:45:23.000Z
2016-11-23T00:45:23.000Z
"""Interface with HDF5 file containing PLINK data. The convention used in the container Each probe is a row in the genotype array. Each individual is a column in the genotype array. import tables raw_data = tables.openFile('test.h5', 'r') raw_data.root.probes[1:10]['ID'] raw_data.root.individuals[3:6] raw_data.root.g...
36.733813
98
0.63396
1,285
10,212
4.91751
0.204669
0.028486
0.036398
0.031018
0.208577
0.17392
0.148916
0.106504
0.029435
0.029435
0
0.017463
0.254211
10,212
277
99
36.866426
0.812237
0.284371
0
0.108108
0
0
0.090909
0
0
0
0
0.00722
0
1
0.141892
false
0
0.033784
0
0.263514
0.141892
0
0
0
null
0
0
0
0
0
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
1
0
214a07d8cc0215d98c308b5d7c5428fd93ac98c9
355
py
Python
cvat_reader/video_reader/dummy_reader.py
eyedl/cvat_reader
9f4837d82b3bb7946f6fb03b3c8fb0991a6d929f
[ "BSD-3-Clause" ]
null
null
null
cvat_reader/video_reader/dummy_reader.py
eyedl/cvat_reader
9f4837d82b3bb7946f6fb03b3c8fb0991a6d929f
[ "BSD-3-Clause" ]
5
2021-12-03T12:56:38.000Z
2022-01-18T20:35:01.000Z
cvat_reader/video_reader/dummy_reader.py
eyedl/cvat_reader
9f4837d82b3bb7946f6fb03b3c8fb0991a6d929f
[ "BSD-3-Clause" ]
2
2022-02-09T08:53:35.000Z
2022-03-16T10:21:14.000Z
from typing import Tuple, Any from .base import VideoReader class DummyVideoReader(VideoReader): def __init__(self): self.frame_id = 0 def read_frame(self) -> Tuple[int, Any]: frame_id = self.frame_id self.frame_id += 1 return frame_id, None def seek(self, frame_id: int)...
20.882353
44
0.647887
50
355
4.34
0.42
0.258065
0.253456
0.147465
0.133641
0
0
0
0
0
0
0.007663
0.264789
355
16
45
22.1875
0.823755
0
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0
0.636364
0
0
0
0
null
1
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
1
0
0
0
0
0
0
0
3
214ac35945cc9f1e0cb8c7e8a00c985e721c4342
837
py
Python
lv_examples/src/lv_ex_widgets/lv_ex_gauge/lv_ex_gauge_2_png.py
Yinyifeng18/lv_sim_qt
4609c359fe7019e4d3b3a743b4b64fa03bb7a437
[ "MIT" ]
77
2022-01-12T01:25:12.000Z
2022-03-29T11:52:38.000Z
lv_examples/src/lv_ex_widgets/lv_ex_gauge/lv_ex_gauge_2_png.py
Yinyifeng18/lv_sim_qt
4609c359fe7019e4d3b3a743b4b64fa03bb7a437
[ "MIT" ]
1
2022-01-13T03:21:42.000Z
2022-01-13T06:58:46.000Z
lv_examples/src/lv_ex_widgets/lv_ex_gauge/lv_ex_gauge_2_png.py
Yinyifeng18/lv_sim_qt
4609c359fe7019e4d3b3a743b4b64fa03bb7a437
[ "MIT" ]
9
2022-01-12T13:28:45.000Z
2022-02-17T11:44:35.000Z
from lv_colors import lv_colors from imagetools import get_png_info, open_png # Register PNG image decoder decoder = lv.img.decoder_create() decoder.info_cb = get_png_info decoder.open_cb = open_png # Create an image with open('img_hand.png','rb') as f: png_data = f.read() img_hand_dsc = lv.img_dsc_t({ 'data_...
24.617647
94
0.769415
151
837
3.993377
0.397351
0.104478
0.069652
0
0
0
0
0
0
0
0
0.03877
0.106332
837
33
95
25.363636
0.76738
0.105137
0
0
0
0
0.036388
0
0
0
0
0
0
1
0
false
0
0.095238
0
0.095238
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
214cd801428e590c762681af80688789b13c9823
23,108
py
Python
VoiExtractionManager.py
shinaji/texture_analysis
1beb4c887d20eb011f0e8b5c98c223fa33d22a9c
[ "MIT" ]
24
2017-11-22T01:26:53.000Z
2022-01-04T04:14:30.000Z
VoiExtractionManager.py
shinaji/texture_analysis
1beb4c887d20eb011f0e8b5c98c223fa33d22a9c
[ "MIT" ]
null
null
null
VoiExtractionManager.py
shinaji/texture_analysis
1beb4c887d20eb011f0e8b5c98c223fa33d22a9c
[ "MIT" ]
11
2018-01-07T00:10:19.000Z
2021-05-06T01:04:43.000Z
#-*- coding:utf-8 -*- """ VoiExtractionManager Copyright (c) 2016 Tetsuya Shinaji This software is released under the MIT License. http://opensource.org/licenses/mit-license.phps Date: 2016/02/10 """ import pydicom as dicom try: from pydicom.contrib import pydicom_serie...
43.273408
99
0.548858
2,707
23,108
4.449575
0.142963
0.020922
0.026982
0.024408
0.364051
0.258697
0.196098
0.165297
0.126609
0.084599
0
0.020485
0.342998
23,108
533
100
43.354597
0.772889
0.065129
0
0.148058
0
0
0.092915
0.011421
0
0
0.002904
0
0
1
0.024272
false
0
0.041262
0
0.07767
0.033981
0
0
0
null
0
0
0
0
0
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
1
0
214e52ac6288035be9504b22746e2464fc085760
416
py
Python
config.py
EliCrystal2001/nds-string-editor
a166f2f69ac99b82968f47fffbd696e608ecd414
[ "MIT" ]
null
null
null
config.py
EliCrystal2001/nds-string-editor
a166f2f69ac99b82968f47fffbd696e608ecd414
[ "MIT" ]
null
null
null
config.py
EliCrystal2001/nds-string-editor
a166f2f69ac99b82968f47fffbd696e608ecd414
[ "MIT" ]
null
null
null
#!/bin/python3 # Required: ROM_NAME = "DSCDP_CRUJN6_00" IGNORE_MD5 = False # Custom Rules Begin Here # This example one just excludes control characters (except 0x0A) # Required: this method must exist, and return true / false on if a byte array # is to be considred valid characters def check_valid(obytes): for b...
18.909091
78
0.711538
66
416
4.409091
0.742424
0.068729
0
0
0
0
0
0
0
0
0
0.042813
0.213942
416
21
79
19.809524
0.847095
0.540865
0
0
0
0
0.082418
0
0
0
0.065934
0
0
1
0.125
false
0
0
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
214e58f9acc686b9612aa19291f9f026256d168a
3,660
py
Python
application/model/mailhandler.py
haiyoumeiyou/cherrybrigde
f00a0592240b60cc42b895ad194b0273485956d0
[ "BSD-3-Clause" ]
null
null
null
application/model/mailhandler.py
haiyoumeiyou/cherrybrigde
f00a0592240b60cc42b895ad194b0273485956d0
[ "BSD-3-Clause" ]
null
null
null
application/model/mailhandler.py
haiyoumeiyou/cherrybrigde
f00a0592240b60cc42b895ad194b0273485956d0
[ "BSD-3-Clause" ]
null
null
null
import email, smtplib, ssl from email import encoders from email.mime.base import MIMEBase from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from typing import Dict, List class MailHandler(object): def __init__(self, mail_host:str, mail_port:int, sender_email:str=None, sender_pa...
40.21978
98
0.624044
445
3,660
4.946067
0.240449
0.034984
0.038164
0.036347
0.477056
0.413903
0.413903
0.39891
0.39891
0.39891
0
0.002986
0.268033
3,660
91
99
40.21978
0.818589
0.009836
0
0.329114
0
0
0.107922
0.0069
0
0
0
0
0
1
0.101266
false
0.037975
0.075949
0
0.329114
0.012658
0
0
0
null
0
0
0
0
0
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
1
0
214f14a5207071c70160fd6f3b0be764212c9e14
422
py
Python
koi/config/vae_mnist_config.py
BouncyButton/koi
309c4c6485d61ad097fc9392c765cd186b7cb483
[ "MIT" ]
null
null
null
koi/config/vae_mnist_config.py
BouncyButton/koi
309c4c6485d61ad097fc9392c765cd186b7cb483
[ "MIT" ]
null
null
null
koi/config/vae_mnist_config.py
BouncyButton/koi
309c4c6485d61ad097fc9392c765cd186b7cb483
[ "MIT" ]
null
null
null
from koi.config.vae_config import VAEConfig class MNISTVAEConfig(VAEConfig): def __init__(self, **kwargs): super().__init__(**kwargs) self.x_dim = 784 self.latent_size = 2 self.encoder_layer_sizes = [784, 300, 100] # todo remove first self.decoder_layer_sizes = [100, 300, ...
30.142857
71
0.630332
54
422
4.611111
0.685185
0.056225
0
0
0
0
0
0
0
0
0
0.076923
0.260664
422
14
72
30.142857
0.721154
0.040284
0
0
0
0
0.027228
0
0
0
0
0.071429
0
1
0.090909
false
0
0.090909
0
0.272727
0
0
0
0
null
0
0
0
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
214f1cdd4cb9bcfb4a7c08c88edef89e68f62e01
2,464
py
Python
disco/layers.py
Hekstra-Lab/disco
771f2ddb7214f231afae685d1a04161495795f70
[ "MIT" ]
null
null
null
disco/layers.py
Hekstra-Lab/disco
771f2ddb7214f231afae685d1a04161495795f70
[ "MIT" ]
null
null
null
disco/layers.py
Hekstra-Lab/disco
771f2ddb7214f231afae685d1a04161495795f70
[ "MIT" ]
null
null
null
import numpy as np import reciprocalspaceship as rs import tensorflow as tf from tensorflow import keras as tfk from IPython import embed class SelfAttentionBlock(tfk.layers.Layer): def __init__(self, attention_dims, num_heads, ff_dims=None): super().__init__() attention_dims = attention_dims ...
31.189873
103
0.618506
307
2,464
4.742671
0.263844
0.107143
0.058379
0.043269
0.29739
0.254808
0.17033
0.127747
0.127747
0.050824
0
0.008994
0.278003
2,464
78
104
31.589744
0.809444
0.017451
0
0.210526
0
0
0.015025
0
0
0
0
0
0
1
0.087719
false
0
0.087719
0
0.245614
0
0
0
0
null
0
0
0
0
0
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
1
0
21502ce2af890eea0b19adfd58d4172a57935762
2,157
py
Python
keras/models/topcoder_crnn_finetune.py
Abhay242/language-identification-
4b05f6cba588bc4862a3034911407f5f503db0d0
[ "MIT" ]
3
2019-08-20T08:02:21.000Z
2020-10-17T17:45:13.000Z
keras/models/topcoder_crnn_finetune.py
Abhay242/language-identification-
4b05f6cba588bc4862a3034911407f5f503db0d0
[ "MIT" ]
13
2020-01-28T22:32:17.000Z
2022-02-10T00:01:56.000Z
keras/models/topcoder_crnn_finetune.py
Abhay242/language-identification-
4b05f6cba588bc4862a3034911407f5f503db0d0
[ "MIT" ]
null
null
null
from keras.layers.core import Dense, Permute, Reshape from keras.layers.convolutional import Convolution2D from keras.layers.normalization import BatchNormalization from keras.layers.pooling import MaxPooling2D from keras.layers.wrappers import Bidirectional from keras.layers.recurrent import LSTM from keras.models imp...
37.189655
114
0.701901
305
2,157
4.845902
0.288525
0.102842
0.060893
0.067659
0.435724
0.426252
0.415426
0.389039
0.37889
0.37889
0
0.047437
0.149745
2,157
57
115
37.842105
0.758451
0.09643
0
0.277778
0
0
0.055098
0.032441
0
0
0
0
0
1
0.027778
false
0
0.222222
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
215098d699d54adea5d7cb74f7c705781808e543
372
py
Python
examples/vandermonde.py
certik/sympy-oldcore
eb5bd061c309d88cdfb502bfd5df511b30368458
[ "BSD-3-Clause" ]
1
2016-05-08T17:54:57.000Z
2016-05-08T17:54:57.000Z
examples/vandermonde.py
certik/sympy-oldcore
eb5bd061c309d88cdfb502bfd5df511b30368458
[ "BSD-3-Clause" ]
null
null
null
examples/vandermonde.py
certik/sympy-oldcore
eb5bd061c309d88cdfb502bfd5df511b30368458
[ "BSD-3-Clause" ]
null
null
null
import sys sys.path.append("..") from sympy import sqrt, symbols, eye w, x, y, z = symbols("wxyz") L = [x,y,z] V = eye(len(L)) for i in range(len(L)): for j in range(len(L)): V[i,j] = L[i]**j det = 1 for i in range(len(L)): det *= L[i]-L[i-1] print "matrix" print V print "det:" print V.det().expand() ...
16.909091
36
0.594086
75
372
2.946667
0.386667
0.072398
0.135747
0.149321
0.135747
0.135747
0
0
0
0
0
0.006734
0.201613
372
21
37
17.714286
0.737374
0
0
0.105263
0
0
0.080645
0
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.368421
0
0
0
null
0
0
0
0
0
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
215270aa6d52000e2c885ac3642c2a4eaa77fe73
7,679
py
Python
scripts/buildkite/tasks/__main__.py
malanchak/AuTuMN
0cbd006d1f15da414d02eed44e48bb5c06f0802e
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
scripts/buildkite/tasks/__main__.py
malanchak/AuTuMN
0cbd006d1f15da414d02eed44e48bb5c06f0802e
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
scripts/buildkite/tasks/__main__.py
malanchak/AuTuMN
0cbd006d1f15da414d02eed44e48bb5c06f0802e
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
import os import sys import logging import subprocess as sp import click from . import buildkite logger = logging.getLogger(__name__) BURN_IN_DEFAULT = 50 # Iterations @click.group() def cli(): """ CLI tool for running Buildkite jobs """ @click.command() def calibrate(): """Run a calibration jo...
32.816239
102
0.594869
984
7,679
4.453252
0.178862
0.052487
0.041077
0.013692
0.465769
0.411
0.370835
0.317435
0.317435
0.293702
0
0.003652
0.286756
7,679
233
103
32.957082
0.796421
0.079437
0
0.426966
0
0.011236
0.265344
0.020982
0
0
0
0
0
1
0.039326
false
0
0.033708
0.005618
0.089888
0.005618
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
2153553196359339fb29feea81a827dad6d4e3e8
3,385
py
Python
profile_xf23id2bs/startup/10-machine.py
NSLS-II-CSX/xf23id2_profiles
7bfd3aa5c617e4b145b40933608eafe551f215a4
[ "BSD-3-Clause" ]
null
null
null
profile_xf23id2bs/startup/10-machine.py
NSLS-II-CSX/xf23id2_profiles
7bfd3aa5c617e4b145b40933608eafe551f215a4
[ "BSD-3-Clause" ]
2
2017-02-22T18:27:25.000Z
2018-06-18T21:40:58.000Z
profile_xf23id2bs/startup/10-machine.py
NSLS-II-CSX/xf23id2_profiles
7bfd3aa5c617e4b145b40933608eafe551f215a4
[ "BSD-3-Clause" ]
3
2017-02-22T18:19:59.000Z
2018-08-31T16:20:17.000Z
from ophyd import EpicsMotor, PVPositioner, PVPositionerPC, EpicsSignal, EpicsSignalRO, Device from ophyd import Component as Cpt, FormattedComponent as FmCpt # Undulator class GapMotor1(PVPositionerPC): readback = Cpt(EpicsSignalRO, 'Pos-I') setpoint = Cpt(EpicsSignal, 'Pos-SP') stop_signal = FmCpt(Epics...
36.397849
94
0.58257
437
3,385
4.430206
0.23341
0.03719
0.033058
0.045455
0.554752
0.530992
0.530992
0.530992
0.46281
0.413223
0
0.041352
0.257016
3,385
92
95
36.793478
0.728429
0.338257
0
0.340426
0
0
0.183461
0.066878
0
0
0
0
0
1
0
false
0
0.042553
0
0.87234
0
0
0
0
null
0
0
0
0
0
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
21538763f9c252fe1d0c8fe8b65b09f0a22a7791
7,407
py
Python
config/settings.py
uktrade/dnb-service
c8f22af82af70f33b8d6bf92e3ca6992fce1f220
[ "MIT" ]
4
2019-12-03T14:59:50.000Z
2020-04-28T12:42:24.000Z
config/settings.py
uktrade/dnb-service
c8f22af82af70f33b8d6bf92e3ca6992fce1f220
[ "MIT" ]
17
2019-04-11T13:12:57.000Z
2022-01-13T10:08:07.000Z
config/settings.py
uktrade/dnb-service
c8f22af82af70f33b8d6bf92e3ca6992fce1f220
[ "MIT" ]
3
2021-05-11T16:13:57.000Z
2022-03-08T15:57:19.000Z
import os import dj_database_url import environ import sentry_sdk from celery.schedules import crontab from sentry_sdk.integrations.celery import CeleryIntegration from sentry_sdk.integrations.django import DjangoIntegration # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.d...
27.63806
93
0.73444
831
7,407
6.233454
0.310469
0.040154
0.026255
0.019305
0.150965
0.126062
0.066988
0.015444
0.015444
0
0
0.00489
0.144053
7,407
267
94
27.741573
0.812145
0.09518
0
0.038462
0
0
0.463152
0.352756
0
0
0
0
0
1
0
false
0.032967
0.038462
0
0.038462
0
0
0
0
null
0
0
0
0
0
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
1
0
2153d6042cba3c4149e3f44eef228662efa9145e
4,688
py
Python
test/test_ffs.py
ebezzam/pyFFS
29eac7a3305dcefe40b4cdc03f730fc9bd868eab
[ "BSD-3-Clause" ]
9
2019-06-14T05:22:15.000Z
2021-12-13T22:11:20.000Z
test/test_ffs.py
ebezzam/pyFFS
29eac7a3305dcefe40b4cdc03f730fc9bd868eab
[ "BSD-3-Clause" ]
7
2020-10-22T11:25:25.000Z
2020-11-07T10:54:26.000Z
test/test_ffs.py
ebezzam/pyFFS
29eac7a3305dcefe40b4cdc03f730fc9bd868eab
[ "BSD-3-Clause" ]
1
2020-10-09T10:05:45.000Z
2020-10-09T10:05:45.000Z
# ############################################################################# # test_ffs.py # =========== # Author : # Sepand KASHANI [kashani.sepand@gmail.com] # Eric BEZZAM [ebezzam@gmail.com] # ############################################################################# import math from pyffs import ( ffs, ...
33.726619
96
0.544795
705
4,688
3.300709
0.121986
0.04899
0.034379
0.01719
0.75419
0.714224
0.699184
0.675118
0.651483
0.651483
0
0.014888
0.312287
4,688
138
97
33.971014
0.706886
0.148464
0
0.358025
0
0
0
0
0
0
0
0
0.098765
1
0.049383
false
0
0.049383
0
0.111111
0
0
0
0
null
0
0
0
0
1
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
2
2153e9953162fe6fb3af358f1ecb6a76766a9983
237
py
Python
dnnsvg/__init__.py
yuishihara/dnnsvg
3bbc6ef6f8630498c7b791bb07efff6e1cd11a50
[ "MIT" ]
3
2019-10-30T01:05:13.000Z
2021-01-25T20:54:19.000Z
dnnsvg/__init__.py
yuishihara/dnnsvg
3bbc6ef6f8630498c7b791bb07efff6e1cd11a50
[ "MIT" ]
null
null
null
dnnsvg/__init__.py
yuishihara/dnnsvg
3bbc6ef6f8630498c7b791bb07efff6e1cd11a50
[ "MIT" ]
1
2019-10-30T01:09:51.000Z
2019-10-30T01:09:51.000Z
from dnnsvg import layers from dnnsvg.svg_builder import SVGBuilder from dnnsvg.svgeables.variables.tensor_2d import Tensor2D from dnnsvg.svgeables.variables.tensor_3d import Tensor3D from dnnsvg.svgeables.captions.caption import Caption
47.4
57
0.877637
33
237
6.212121
0.484848
0.243902
0.278049
0.273171
0.331707
0
0
0
0
0
0
0.018349
0.080169
237
5
58
47.4
0.922018
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
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
1
0
1
0
0
0
0
6
2154b26da699e433e31a94748940bfef5493cd1a
13,362
py
Python
instaread/instapaper/instapaper.py
anhdat/instaread
c554c58ae32119d3d80c8db1a163a1712c3f4f90
[ "MIT" ]
null
null
null
instaread/instapaper/instapaper.py
anhdat/instaread
c554c58ae32119d3d80c8db1a163a1712c3f4f90
[ "MIT" ]
null
null
null
instaread/instapaper/instapaper.py
anhdat/instaread
c554c58ae32119d3d80c8db1a163a1712c3f4f90
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # --------------------------------------------------------------------------------------------- # Copyright (c) 2013-2016, Ryan Galloway (ryan@rsgalloway.com) # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that ...
32.275362
95
0.570648
1,447
13,362
5.022806
0.228749
0.022014
0.028894
0.034673
0.385663
0.316868
0.299395
0.293753
0.287975
0.263209
0
0.013488
0.295315
13,362
413
96
32.353511
0.75839
0.181185
0
0.445993
0
0
0.104914
0.006836
0
0
0
0
0
1
0.097561
false
0.034843
0.041812
0.013937
0.247387
0.006969
0
0
0
null
0
0
0
0
0
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
1
0
2154ec2471f6fa3ff03b5c747051552bb06f618f
449
py
Python
accounts/admin.py
simpledatatools/django-starter-api
6c11b9a236230e47b8358ef9fbaae550002bb1a8
[ "MIT" ]
1
2022-02-25T18:39:44.000Z
2022-02-25T18:39:44.000Z
accounts/admin.py
prateekmohanty63/microfinance
39839c0d378be4ccc40a9dde5dc38a10773a38a1
[ "MIT" ]
null
null
null
accounts/admin.py
prateekmohanty63/microfinance
39839c0d378be4ccc40a9dde5dc38a10773a38a1
[ "MIT" ]
1
2022-02-24T13:17:20.000Z
2022-02-24T13:17:20.000Z
from django.contrib import admin from .models import CustomUser from django.contrib.auth.admin import UserAdmin class CustomUserAdmin(UserAdmin): model = CustomUser fieldsets = ( *UserAdmin.fieldsets, ) list_display = ('email', 'first_name', 'last_name', 'is_staff', 'is_active',) search_...
24.944444
81
0.706013
51
449
6.019608
0.529412
0.065147
0.110749
0.110749
0
0
0
0
0
0
0
0
0.169265
449
17
82
26.411765
0.823056
0
0
0
0
0
0.162584
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
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
2156ad8ef70c868eff5a4e0ce1a0b2d9c87bd37f
5,586
py
Python
scraping/bigkinds_db_schedule.py
jaywoong/project_stock
158b7ce209908b6dbe0f411a4d35b7690245a3ee
[ "Apache-2.0" ]
2
2021-09-13T13:39:19.000Z
2021-09-17T01:35:59.000Z
scraping/bigkinds_db_schedule.py
jaywoong/project_stock
158b7ce209908b6dbe0f411a4d35b7690245a3ee
[ "Apache-2.0" ]
null
null
null
scraping/bigkinds_db_schedule.py
jaywoong/project_stock
158b7ce209908b6dbe0f411a4d35b7690245a3ee
[ "Apache-2.0" ]
1
2021-08-31T02:48:28.000Z
2021-08-31T02:48:28.000Z
import sqlite3 import schedule from selenium import webdriver from selenium.webdriver.chrome.options import Options #import chromedriver_autoinstaller from bs4 import BeautifulSoup import pandas as pd import time class Bigkinds: def __init__(self): self.options = Options() # headless는 화면이나 페이지 이동을 ...
41.686567
129
0.557286
685
5,586
4.443796
0.40292
0.065703
0.050591
0.062089
0.207622
0.19251
0.166229
0.133377
0.081472
0.067674
0
0.017259
0.284282
5,586
133
130
42
0.744122
0.083602
0
0.156863
0
0.029412
0.197761
0.071092
0
0
0
0
0
1
0.058824
false
0.009804
0.068627
0
0.137255
0.04902
0
0
0
null
0
0
0
0
0
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
1
0
2157539dbdb8df956fc7c21309e4abc0c35771d6
3,157
py
Python
src/main.py
f0lg0/geneticAlgorithm-1
f9c0ee67a450db7915e81bc5cb492d7c49a1ae05
[ "MIT" ]
17
2020-02-03T20:46:46.000Z
2020-06-28T05:51:39.000Z
src/main.py
f0lg0/geneticAlgorithm-PY
f9c0ee67a450db7915e81bc5cb492d7c49a1ae05
[ "MIT" ]
5
2020-02-04T20:28:57.000Z
2020-05-02T08:17:19.000Z
src/main.py
f0lg0/geneticAlgorithm-1
f9c0ee67a450db7915e81bc5cb492d7c49a1ae05
[ "MIT" ]
4
2020-02-04T20:09:57.000Z
2020-06-28T05:51:40.000Z
import random import time from displayBanner import displayBanner, choice TARGET = "genetic algorithm" INDIVIDUAL_SIZE = len(TARGET) POPULATION_SIZE = 100 MUTATION_RATE = 0.1 TOURNAMENT_SELECTION_SIZE = 40 KEYS = 'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ' class Individual: def __init__(self): self._d...
26.090909
99
0.681026
357
3,157
5.859944
0.238095
0.076482
0.01912
0.015296
0.09369
0.06501
0.043977
0.043977
0.043977
0
0
0.010363
0.144124
3,157
121
100
26.090909
0.763879
0.014254
0
0.066667
0
0
0.099968
0.054002
0
0
0
0
0
1
0.144444
false
0
0.033333
0.022222
0.277778
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
215757ab7cfa429f1c411f24ad14cf50ab7992a4
1,517
py
Python
setup.py
Cyb3r-Jak3/ExifReader
483df30b73ee6be81be5afb27e6cffc7fe12a27c
[ "BSD-3-Clause" ]
1
2020-07-12T20:45:29.000Z
2020-07-12T20:45:29.000Z
setup.py
Cyb3r-Jak3/ExifReader
483df30b73ee6be81be5afb27e6cffc7fe12a27c
[ "BSD-3-Clause" ]
null
null
null
setup.py
Cyb3r-Jak3/ExifReader
483df30b73ee6be81be5afb27e6cffc7fe12a27c
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from setuptools import setup, find_packages from exifreader import __version__, __doc__ readme_file = open("README.md", "rt").read() setup( name="ExifReader", version=__version__, author="Cyb3r Jak3", author_email="jake@jwhite.network", license="BSD", python_requires="...
33.711111
81
0.626895
161
1,517
5.732919
0.571429
0.058505
0.065005
0.119177
0.143012
0.143012
0
0
0
0
0
0.022575
0.211602
1,517
44
82
34.477273
0.749164
0.013843
0
0.05
0
0
0.504685
0
0
0
0
0
0
1
0
false
0
0.05
0
0.05
0
0
0
0
null
0
0
0
0
0
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
1
0
21576cb938009e2cf19a938a7d1507717937f740
696
py
Python
BreadTools/gui/window.py
TurtleP/BreadTools
d849768f3a3455a0ddb40f4212003022afdcea49
[ "MIT" ]
null
null
null
BreadTools/gui/window.py
TurtleP/BreadTools
d849768f3a3455a0ddb40f4212003022afdcea49
[ "MIT" ]
null
null
null
BreadTools/gui/window.py
TurtleP/BreadTools
d849768f3a3455a0ddb40f4212003022afdcea49
[ "MIT" ]
null
null
null
from PyQt5.QtGui import QColor, QIcon from PyQt5.QtWidgets import QMainWindow from ..storage import Storage from .panel import SideBar from .colors import get_color class Window(QMainWindow): def __init__(self): super().__init__() Storage.load() self.setFixedSize(600, 478) se...
20.470588
74
0.66092
76
696
5.907895
0.539474
0.040089
0
0
0
0
0
0
0
0
0
0.014953
0.231322
696
33
75
21.090909
0.824299
0
0
0
0
0
0.033046
0
0
0
0
0
0
1
0.1
false
0
0.25
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
0
0
0
0
1
0
2158eb73536fe9b11e0d8fd0dd4f2a37c52f7ad1
458
py
Python
services/divnik/src/api/migrations/0005_auto_20200503_0933.py
pomo-mondreganto/innoctf-final-10-05-2020
8d31bb43b543c6948b1e09d9816728a10125c4be
[ "WTFPL" ]
1
2021-01-04T23:52:34.000Z
2021-01-04T23:52:34.000Z
services/divnik/src/api/migrations/0005_auto_20200503_0933.py
pomo-mondreganto/innoctf-final-10-05-2020
8d31bb43b543c6948b1e09d9816728a10125c4be
[ "WTFPL" ]
null
null
null
services/divnik/src/api/migrations/0005_auto_20200503_0933.py
pomo-mondreganto/innoctf-final-10-05-2020
8d31bb43b543c6948b1e09d9816728a10125c4be
[ "WTFPL" ]
2
2020-10-22T12:27:25.000Z
2020-10-22T12:27:28.000Z
# Generated by Django 3.0.3 on 2020-05-03 09:33 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('api', '0004_auto_20200502_1946'), ] operations = [ migrations.AlterModelOptions( name='course', options={'ordering': ('-id',)...
21.809524
47
0.543668
42
458
5.857143
0.738095
0.219512
0.252033
0
0
0
0
0
0
0
0
0.098101
0.310044
458
20
48
22.9
0.68038
0.098253
0
0.4
1
0
0.141119
0.055961
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
1
1
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
3
215a383798053684214a8aef3bf4c5b4656e227c
9,458
py
Python
Book_1/Alien invasion/main.py
Master-sniffer/Learning
fb192ba3972f9238ebee98a8a539087772ad83b2
[ "MIT" ]
1
2020-07-15T22:44:43.000Z
2020-07-15T22:44:43.000Z
Book_1/Alien invasion/main.py
Master-sniffer/Learning
fb192ba3972f9238ebee98a8a539087772ad83b2
[ "MIT" ]
3
2021-06-04T23:51:09.000Z
2021-06-10T20:07:33.000Z
Book_1/Alien invasion/main.py
Master-sniffer/Learning-PYTHON-
526f31fb189e6422693c32d38618831b22706f87
[ "MIT" ]
null
null
null
#import this # delete the first hashtag to see the truth import pygame, sys, json from time import sleep #my folders from settings import Settings from ship import Ship from bullet import Bullet from game_stats import GameStats from alien import Alien from button import Button from scoreboard import Scoreboard #from ch...
40.767241
155
0.645908
1,209
9,458
4.879239
0.276261
0.023055
0.023733
0.025428
0.223428
0.173928
0.143584
0.126801
0.104085
0.092897
0
0.004741
0.264009
9,458
231
156
40.943723
0.842695
0.241489
0
0.237288
0
0
0.006906
0
0
0
0
0
0
1
0.101695
false
0
0.050847
0
0.158192
0.00565
0
0
0
null
0
0
0
0
0
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
1
0
215b795f7d3f42889803e45d66f7f3ec772868ce
21,319
py
Python
src/optimModels/comm_optim/ea_setup.py
sousamd/optimModels
b11d26eb72f19da0b97abbd4fb6513de06a348ef
[ "Apache-2.0" ]
null
null
null
src/optimModels/comm_optim/ea_setup.py
sousamd/optimModels
b11d26eb72f19da0b97abbd4fb6513de06a348ef
[ "Apache-2.0" ]
null
null
null
src/optimModels/comm_optim/ea_setup.py
sousamd/optimModels
b11d26eb72f19da0b97abbd4fb6513de06a348ef
[ "Apache-2.0" ]
null
null
null
from copy import deepcopy from random import randint, uniform, choice class EAConfig: """ This class sets up the parameters for EA """ def __init__(self, mut = 0.30, cross = 0.30, cand_size = 10, max_cand_value = 8, # for real and ...
34.441034
111
0.630517
2,897
21,319
4.496721
0.110114
0.01566
0.017963
0.012896
0.382283
0.330467
0.283181
0.256007
0.238735
0.215399
0
0.012949
0.286411
21,319
618
112
34.496764
0.843358
0.348609
0
0.302594
0
0
0.028844
0
0
0
0
0
0
1
0.089337
false
0.002882
0.005764
0.002882
0.204611
0.002882
0
0
0
null
0
0
0
0
0
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
1
0
215c1b73c79d715648cf7f009f7c23a8bfe11e9d
3,374
bzl
Python
repositories.bzl
prehistoric-penguin/prometheus-cpp
2eba2847b13b1144ff7331cc7e1a7343ceb27a0f
[ "MIT" ]
1
2020-03-20T08:51:18.000Z
2020-03-20T08:51:18.000Z
repositories.bzl
prehistoric-penguin/prometheus-cpp
2eba2847b13b1144ff7331cc7e1a7343ceb27a0f
[ "MIT" ]
null
null
null
repositories.bzl
prehistoric-penguin/prometheus-cpp
2eba2847b13b1144ff7331cc7e1a7343ceb27a0f
[ "MIT" ]
null
null
null
_PROMETHEUS_CLIENT_MODEL_BUILD_FILE = """ licenses(["notice"]) # BSD license load("@com_google_protobuf//:protobuf.bzl", "cc_proto_library") cc_proto_library( name = "prometheus_client_model", srcs = ["metrics.proto"], default_runtime = "@com_google_protobuf//:protobuf", protoc = "@com_google_protobu...
25.179104
84
0.593361
326
3,374
5.825153
0.291411
0.07109
0.077409
0.037915
0.153239
0.031596
0
0
0
0
0
0.063081
0.267042
3,374
133
85
25.368421
0.704812
0
0
0.363636
0
0.024793
0.614404
0.172496
0
0
0
0
0
1
0.049587
false
0
0
0
0.049587
0
0
0
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
215f062e64a317cf63a45c48fe295e5daa72421e
9,867
py
Python
isaacgymenvs/tasks/amp/utils_amp/gym_util.py
ZaneZh/IsaacGymEnvs
adc20a5fbd70d77a716fefe86eb947f83d3efbd2
[ "BSD-3-Clause" ]
1
2022-03-26T12:55:04.000Z
2022-03-26T12:55:04.000Z
isaacgymenvs/tasks/amp/utils_amp/gym_util.py
ZaneZh/IsaacGymEnvs
adc20a5fbd70d77a716fefe86eb947f83d3efbd2
[ "BSD-3-Clause" ]
null
null
null
isaacgymenvs/tasks/amp/utils_amp/gym_util.py
ZaneZh/IsaacGymEnvs
adc20a5fbd70d77a716fefe86eb947f83d3efbd2
[ "BSD-3-Clause" ]
2
2022-03-19T13:45:54.000Z
2022-03-23T07:23:19.000Z
# Copyright (c) 2018-2022, NVIDIA Corporation # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this # list of condit...
40.604938
87
0.663424
1,287
9,867
4.837607
0.241647
0.037263
0.022486
0.01831
0.343881
0.285737
0.25008
0.222454
0.18487
0.146001
0
0.011199
0.239789
9,867
242
88
40.772727
0.818824
0.207054
0
0.253165
0
0
0.064019
0
0
0
0
0
0.012658
1
0.063291
false
0
0.037975
0
0.164557
0
0
0
0
null
0
0
0
0
0
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
1
0
2161ceb1a3ec23817185ca046a16ca44a96eb732
1,159
py
Python
ncbi-track.py
Ma-Fi-94/ncbi-track
d0ddee20c13fc75108b9343d92fb2981624bf09d
[ "Apache-2.0" ]
null
null
null
ncbi-track.py
Ma-Fi-94/ncbi-track
d0ddee20c13fc75108b9343d92fb2981624bf09d
[ "Apache-2.0" ]
5
2022-01-08T00:27:55.000Z
2022-01-25T15:03:39.000Z
ncbi-track.py
Ma-Fi-94/ncbi-track
d0ddee20c13fc75108b9343d92fb2981624bf09d
[ "Apache-2.0" ]
1
2019-02-20T19:02:24.000Z
2019-02-20T19:02:24.000Z
# User params EMAIL = 'A.N.Other@example.com' DEFAULT_YEAR_MIN = 1970 DEFAULT_YEAR_MAX = 2021 # Basic setup from Bio import Entrez from tqdm import tqdm from typing import Tuple from typing import List Entrez.email = EMAIL def _number_by_year(query: str, year: int) -> int: '''Internal helper functions. Return...
32.194444
130
0.69025
172
1,159
4.517442
0.453488
0.056628
0.046332
0.043758
0
0
0
0
0
0
0
0.019459
0.201898
1,159
35
131
33.114286
0.820541
0.247627
0
0
0
0
0.0625
0.024764
0
0
0
0
0
1
0.095238
false
0
0.190476
0
0.380952
0
0
0
0
null
0
0
0
0
0
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
1
0
2165e5e0ff6a24cc499198511ada7d2a185cc95e
146
py
Python
vizbert/data/__init__.py
daemon/vizbert
e40b7d1529f8857050313f8d87ff03b1b7226c9e
[ "MIT" ]
null
null
null
vizbert/data/__init__.py
daemon/vizbert
e40b7d1529f8857050313f8d87ff03b1b7226c9e
[ "MIT" ]
null
null
null
vizbert/data/__init__.py
daemon/vizbert
e40b7d1529f8857050313f8d87ff03b1b7226c9e
[ "MIT" ]
null
null
null
from .classification import * from .conll import * from .metric import * from .transform import * from .workspace import * from .pattern import *
20.857143
29
0.753425
18
146
6.111111
0.444444
0.454545
0
0
0
0
0
0
0
0
0
0
0.164384
146
6
30
24.333333
0.901639
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
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
1
0
1
0
0
0
0
5
2167dbfa987400283e4b93301c42383dc353687a
1,127
py
Python
project/people/views.py
dhmncivichacks/timewebsite
b0e6355ea9249143a217b213df14738eaf067f97
[ "0BSD" ]
5
2016-02-09T20:54:12.000Z
2016-10-03T15:21:35.000Z
project/people/views.py
dhmncivichacks/timewebsite
b0e6355ea9249143a217b213df14738eaf067f97
[ "0BSD" ]
33
2016-02-09T21:18:52.000Z
2017-02-06T21:49:04.000Z
project/people/views.py
dhmncivichacks/timewebsite
b0e6355ea9249143a217b213df14738eaf067f97
[ "0BSD" ]
1
2016-02-09T20:54:19.000Z
2016-02-09T20:54:19.000Z
# imports from flask import request from flask import render_template from flask import Blueprint from flask import redirect from flask import url_for from flask.ext.login import current_user from project import db from project.models import Person from .forms import PersonForm # config people_blueprint = Blueprin...
25.613636
61
0.650399
136
1,127
5.227941
0.411765
0.075949
0.105485
0
0
0
0
0
0
0
0
0
0.255546
1,127
43
62
26.209302
0.847437
0.018634
0
0
0
0
0.061706
0
0
0
0
0
0
1
0.030303
false
0
0.272727
0
0.363636
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21686e2c5a6fb53bb4999288166075c2a704a954
7,152
py
Python
food_reference_listing/database/models.py
bfssi-forest-dussault/food_reference_listing
85372a81a9201dda02797ab0c11b1bd710f9b70d
[ "MIT" ]
null
null
null
food_reference_listing/database/models.py
bfssi-forest-dussault/food_reference_listing
85372a81a9201dda02797ab0c11b1bd710f9b70d
[ "MIT" ]
null
null
null
food_reference_listing/database/models.py
bfssi-forest-dussault/food_reference_listing
85372a81a9201dda02797ab0c11b1bd710f9b70d
[ "MIT" ]
null
null
null
from django.db import models from simple_history.models import HistoricalRecords class Language(models.Model): language_id = models.CharField(max_length=2, blank=True, null=True, unique=True) description_en = models.CharField(max_length=16, blank=True, null=True, unique=True) description_fr = models.CharF...
44.981132
117
0.719938
909
7,152
5.49615
0.123212
0.078463
0.100881
0.134508
0.768415
0.754404
0.718975
0.623098
0.590072
0.522018
0
0.011152
0.172539
7,152
158
118
45.265823
0.833052
0.069072
0
0.395161
0
0
0.059134
0.016594
0
0
0
0
0
1
0.048387
false
0
0.016129
0.008065
0.83871
0
0
0
0
null
0
0
0
0
1
1
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
3
216944bc1ade0040eed2f392a6b52e0c45059445
3,445
py
Python
advent/days/day18/test_day.py
RuedigerLudwig/advent2021
ce069d485bb34b4752ec4e89f195f7cc8cf084cc
[ "Unlicense" ]
null
null
null
advent/days/day18/test_day.py
RuedigerLudwig/advent2021
ce069d485bb34b4752ec4e89f195f7cc8cf084cc
[ "Unlicense" ]
null
null
null
advent/days/day18/test_day.py
RuedigerLudwig/advent2021
ce069d485bb34b4752ec4e89f195f7cc8cf084cc
[ "Unlicense" ]
null
null
null
from advent.common import utils from .day import part1, part2 from .number import SnailInt, SnailNumber, SnailPair def test_parse1(): input = "[1,2]" expected = SnailPair(SnailInt(1), SnailInt(2)) result = SnailNumber.from_str(input) assert result == expected def test_parse1a(): input = "[10,12...
29.444444
100
0.63135
492
3,445
4.288618
0.134146
0.149289
0.179147
0.163507
0.722275
0.650711
0.6109
0.589573
0.552133
0.415166
0
0.074695
0.16836
3,445
116
101
29.698276
0.66178
0
0
0.445783
0
0.036145
0.153556
0.11611
0
0
0
0
0.192771
1
0.192771
false
0
0.036145
0
0.228916
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
216a2f5727bd9e3ded4fd549e1965f8a1c6304e1
6,415
py
Python
salt/_states/metalk8s.py
SaintLoong/metalk8s
06fa3a731f35ab0f9ad8d3443fd8f8c4e7037432
[ "Apache-2.0" ]
255
2018-08-03T17:32:53.000Z
2022-03-25T21:51:00.000Z
salt/_states/metalk8s.py
SaintLoong/metalk8s
06fa3a731f35ab0f9ad8d3443fd8f8c4e7037432
[ "Apache-2.0" ]
3,259
2018-08-03T00:25:56.000Z
2022-03-31T15:23:11.000Z
salt/_states/metalk8s.py
SaintLoong/metalk8s
06fa3a731f35ab0f9ad8d3443fd8f8c4e7037432
[ "Apache-2.0" ]
43
2018-08-08T01:47:22.000Z
2022-03-12T17:49:41.000Z
"""Custom states for MetalK8s.""" import logging import time import traceback import re from salt.exceptions import CommandExecutionError from salt.ext import six __virtualname__ = "metalk8s" log = logging.getLogger(__name__) def __virtual__(): return __virtualname__ def _error(ret, err_msg): ret["resul...
30.259434
85
0.5788
745
6,415
4.787919
0.271141
0.033642
0.023549
0.019064
0.200168
0.160639
0.120549
0.083544
0.083544
0.083544
0
0.007449
0.309431
6,415
211
86
30.402844
0.797743
0.182385
0
0.248276
0
0
0.168874
0.011687
0
0
0
0
0
1
0.034483
false
0.006897
0.041379
0.006897
0.165517
0
0
0
0
null
0
0
0
0
0
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
1
0
216b39fe89c4a27a4e4a39eb85d69f2512812ada
2,419
py
Python
programs/models/LinearRegression.py
hayato-n/AsakuraBook
60c794961cb5d23ba257e33d350ae719ee72dd21
[ "MIT" ]
null
null
null
programs/models/LinearRegression.py
hayato-n/AsakuraBook
60c794961cb5d23ba257e33d350ae719ee72dd21
[ "MIT" ]
null
null
null
programs/models/LinearRegression.py
hayato-n/AsakuraBook
60c794961cb5d23ba257e33d350ae719ee72dd21
[ "MIT" ]
null
null
null
import numpy as np # from scipy import stats, optimize def PolyBaseFunction(x, dims): return np.array([x**d for d in range(dims+1)]).T class LinearRegression: def __init__(self, y, Phi): self.y = np.array(y).reshape((-1, 1)) self.Phi = np.array(Phi) self.N, self.D = self.Phi.shape ...
32.689189
76
0.583299
353
2,419
3.784703
0.169972
0.089072
0.035928
0.053892
0.272455
0.142964
0.092814
0.092814
0.092814
0.049401
0
0.011144
0.295163
2,419
73
77
33.136986
0.772434
0.013642
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.018182
0.090909
0.345455
0
0
0
0
null
0
0
0
0
0
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
1
0
216bc585900177bb2561f98523e8970a569462b1
1,745
py
Python
meerkat_analysis/test/test_univariate.py
fjelltopp/meerkat_analysis
ad68b02636ee5543e4aa78ac7f46126d040d67ed
[ "MIT" ]
null
null
null
meerkat_analysis/test/test_univariate.py
fjelltopp/meerkat_analysis
ad68b02636ee5543e4aa78ac7f46126d040d67ed
[ "MIT" ]
null
null
null
meerkat_analysis/test/test_univariate.py
fjelltopp/meerkat_analysis
ad68b02636ee5543e4aa78ac7f46126d040d67ed
[ "MIT" ]
null
null
null
import unittest import pandas as pd from statsmodels.stats import proportion from meerkat_analysis import univariate, util class UnivariateTest(unittest.TestCase): """ Testing univariate""" def test_breakdown_by_cateogry(self): data = pd.read_csv("meerkat_analysis/test/test_data/univariate.csv") ...
42.560976
100
0.689398
208
1,745
5.605769
0.283654
0.128645
0.06518
0.078902
0.648371
0.596913
0.445969
0.368782
0.2247
0.2247
0
0.017668
0.189112
1,745
40
101
43.625
0.80636
0.010315
0
0.148148
0
0
0.155233
0.106977
0
0
0
0
0.37037
1
0.074074
false
0
0.148148
0
0.259259
0
0
0
0
null
0
0
0
0
0
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
1
0
dcbeed138887023ae7c0c9b4965a14a732578a69
214
py
Python
_src/Section2/smoothing.py
paullewallencom/opencv-978-1-7893-4536-0
4a6686f44d8ed82280c94df04813cec5cbd30447
[ "Apache-2.0" ]
8
2019-06-11T16:27:36.000Z
2021-11-11T14:42:19.000Z
_src/Section2/smoothing.py
paullewallencom/opencv-978-1-7893-4536-0
4a6686f44d8ed82280c94df04813cec5cbd30447
[ "Apache-2.0" ]
null
null
null
_src/Section2/smoothing.py
paullewallencom/opencv-978-1-7893-4536-0
4a6686f44d8ed82280c94df04813cec5cbd30447
[ "Apache-2.0" ]
4
2019-04-28T14:13:59.000Z
2021-04-22T22:21:11.000Z
import cv2 image = cv2.imread("noisy.png") cv2.imshow("Original", image) smooth = cv2.GaussianBlur(image, (11,11), 1) #cv2.GaussianBlur(input, kernel size, sigma) cv2.imshow("De-noised", smooth) cv2.waitKey(0)
21.4
89
0.714953
32
214
4.78125
0.625
0.117647
0
0
0
0
0
0
0
0
0
0.068063
0.107477
214
10
90
21.4
0.732984
0.200935
0
0
0
0
0.152047
0
0
0
0
0
0
1
0
false
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
0
0
0
0
0
0
1
0
dcbf8a28a968f1aa52484037af2beaa2516eb51e
250
py
Python
production/tests/conftest.py
sainide/Customer-Churn-Prediction
f7fd5bf1d21f2b7dad50fb1a6c51d77ef449e879
[ "BSD-3-Clause" ]
null
null
null
production/tests/conftest.py
sainide/Customer-Churn-Prediction
f7fd5bf1d21f2b7dad50fb1a6c51d77ef449e879
[ "BSD-3-Clause" ]
null
null
null
production/tests/conftest.py
sainide/Customer-Churn-Prediction
f7fd5bf1d21f2b7dad50fb1a6c51d77ef449e879
[ "BSD-3-Clause" ]
null
null
null
import pytest from classification_model.config.core import config from classification_model.processing.data_manager import load_dataset @pytest.fixture() def sample_input_data(): return load_dataset(file_name=config.app_config.test_data_file)
25
69
0.848
35
250
5.742857
0.6
0.179104
0.228856
0
0
0
0
0
0
0
0
0
0.088
250
9
70
27.777778
0.881579
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
true
0
0.5
0.166667
0.833333
0
0
0
0
null
0
1
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
1
0
1
1
1
0
0
6
dcc0d328db6ea81b64e1fd1fd7af946fd70cf4d5
15,165
py
Python
src/solutions/common/integrations/cirklo/cirklo.py
goubertbrent/oca-backend
b9f59cc02568aecb55d4b54aec05245790ea25fd
[ "Apache-2.0" ]
null
null
null
src/solutions/common/integrations/cirklo/cirklo.py
goubertbrent/oca-backend
b9f59cc02568aecb55d4b54aec05245790ea25fd
[ "Apache-2.0" ]
null
null
null
src/solutions/common/integrations/cirklo/cirklo.py
goubertbrent/oca-backend
b9f59cc02568aecb55d4b54aec05245790ea25fd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2020 Green Valley Belgium NV # # 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 appl...
43.82948
118
0.696406
1,880
15,165
5.370213
0.170213
0.020206
0.023772
0.013471
0.293483
0.255448
0.229101
0.187599
0.172147
0.158875
0
0.004152
0.205935
15,165
345
119
43.956522
0.834247
0.092911
0
0.204947
0
0
0.085289
0.018953
0
0
0
0
0
1
0.056537
false
0
0.09894
0.003534
0.229682
0
0
0
0
null
0
0
0
0
0
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
1
0
dcc2626101676e7724b219889678791a751b8ea3
361
py
Python
198. House Robber.py
patrick-luo/Leet-Code
989ec20c1069ce93e1d0e9ae4a4dfc59b1b1622a
[ "MIT" ]
null
null
null
198. House Robber.py
patrick-luo/Leet-Code
989ec20c1069ce93e1d0e9ae4a4dfc59b1b1622a
[ "MIT" ]
null
null
null
198. House Robber.py
patrick-luo/Leet-Code
989ec20c1069ce93e1d0e9ae4a4dfc59b1b1622a
[ "MIT" ]
null
null
null
class Solution(object): def rob(self, nums): """ :type nums: List[int] :rtype: int """ prevMax = 0 # the max not robbing the previous house currMax = 0 # the max for n in nums: temp = currMax currMax = max(currMax, prevMax+n) ...
25.785714
60
0.498615
41
361
4.390244
0.609756
0.044444
0.077778
0
0
0
0
0
0
0
0
0.009479
0.415512
361
13
61
27.769231
0.843602
0.224377
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
dcc368841481c483c9cecbe85cd5e6472b5ab80c
1,907
py
Python
hillSketch/code/data/bulk.py
ViskaWei/hill-sketch
cc3ebf19ec83e67e4178004107f3b1dcc9a5379b
[ "MIT" ]
3
2020-12-02T04:00:48.000Z
2020-12-04T06:42:06.000Z
hillSketch/code/data/bulk.py
ViskaWei/hill-sketch
cc3ebf19ec83e67e4178004107f3b1dcc9a5379b
[ "MIT" ]
null
null
null
hillSketch/code/data/bulk.py
ViskaWei/hill-sketch
cc3ebf19ec83e67e4178004107f3b1dcc9a5379b
[ "MIT" ]
null
null
null
# from sklearn.decomposition import PCA import numpy as np import pandas as pd import matplotlib.pyplot as plt from sklearn.decomposition import PCA def prepro_data(data, isCenter=True, dimPCA=6,isPlot=True,method='minmax'): if isCenter: dataPREPRO = data - data.mean().mean() else: dataPREPRO...
32.322034
75
0.588883
250
1,907
4.42
0.332
0.027149
0.029864
0.048869
0.059729
0
0
0
0
0
0
0.006689
0.216046
1,907
58
76
32.87931
0.732441
0.173571
0
0.146341
0
0
0.095563
0
0
0
0
0
0
1
0.121951
false
0
0.097561
0
0.341463
0.073171
0
0
0
null
0
0
0
0
0
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
1
0
dcc424db20a8d7965b1e60f57bf13d6c0c24b2c1
308
py
Python
GrAm/forms.py
claudianjeri/Instagram
93b16495c0ec62eb4ab0327d18e3155b82f1b4bd
[ "MIT" ]
3
2018-06-14T12:07:49.000Z
2020-06-16T02:44:14.000Z
GrAm/forms.py
claudianjeri/Instagram
93b16495c0ec62eb4ab0327d18e3155b82f1b4bd
[ "MIT" ]
null
null
null
GrAm/forms.py
claudianjeri/Instagram
93b16495c0ec62eb4ab0327d18e3155b82f1b4bd
[ "MIT" ]
null
null
null
from .models import Image, Profile, Comment from django import forms class EditProfileForm(forms.ModelForm): class Meta: model = Profile exclude = ['user'] class UploadForm(forms.ModelForm): class Meta: model = Image exclude = ['user','likes','upload_date','profile']
28
58
0.662338
34
308
5.970588
0.558824
0.137931
0.187192
0.226601
0.275862
0
0
0
0
0
0
0
0.227273
308
11
58
28
0.852941
0
0
0.2
0
0
0.100324
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
0
1
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
1
0
0
3
dcc530d338845900a1da1ea13b2ce974b70aa2fe
7,535
py
Python
example/mnist/train_mnist_keras.py
leonskim/webdnn
f97c798c9a659fe953f9dc8c8537b8917e4be7a2
[ "MIT" ]
1
2021-04-09T15:55:35.000Z
2021-04-09T15:55:35.000Z
example/mnist/train_mnist_keras.py
leonskim/webdnn
f97c798c9a659fe953f9dc8c8537b8917e4be7a2
[ "MIT" ]
null
null
null
example/mnist/train_mnist_keras.py
leonskim/webdnn
f97c798c9a659fe953f9dc8c8537b8917e4be7a2
[ "MIT" ]
null
null
null
""" This example is based on keras's mnist_mlp.py and mnist_cnn.py Trains a simple deep NN on the MNIST dataset. """ import argparse import json import os import keras from webdnn.backend import generate_descriptor, backend_names from webdnn.frontend.keras import KerasConverter batch_size = 128 num_classes = 10 ep...
36.756098
136
0.667153
1,042
7,535
4.602687
0.196737
0.035029
0.022936
0.025021
0.429316
0.375104
0.329858
0.32965
0.242702
0.180567
0
0.032306
0.198938
7,535
204
137
36.936275
0.76226
0.042601
0
0.277027
0
0
0.098056
0.014306
0
0
0
0
0
1
0.033784
false
0
0.087838
0
0.148649
0.047297
0
0
0
null
0
0
0
0
0
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
1
0
dcc64800430131d283de4b85bb796a7a3b2b1f39
1,793
py
Python
vega/metrics/tensorflow/classifier_metric.py
zjzh/vega
aa6e7b8c69024262fc483ee06113b4d1bd5156d8
[ "Apache-2.0" ]
null
null
null
vega/metrics/tensorflow/classifier_metric.py
zjzh/vega
aa6e7b8c69024262fc483ee06113b4d1bd5156d8
[ "Apache-2.0" ]
null
null
null
vega/metrics/tensorflow/classifier_metric.py
zjzh/vega
aa6e7b8c69024262fc483ee06113b4d1bd5156d8
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE...
36.591837
80
0.668154
249
1,793
4.646586
0.493976
0.051858
0.015557
0.027658
0
0
0
0
0
0
0
0.016691
0.231456
1,793
48
81
37.354167
0.822932
0.42164
0
0
0
0
0.02991
0
0
0
0
0
0
1
0.086957
false
0
0.130435
0
0.347826
0
0
0
0
null
0
0
0
0
0
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
1
0
dcc6929ebc43874a263f2fdc7e4382a4c2c8e1f4
11,290
py
Python
python/pmercury/protocols/tls_certificate.py
raj-apoorv/mercury
9b372e9ba8e7e0bcb87787038e7d058f8f769b44
[ "BSD-2-Clause" ]
299
2019-09-11T18:48:17.000Z
2022-03-28T11:12:03.000Z
python/pmercury/protocols/tls_certificate.py
raj-apoorv/mercury
9b372e9ba8e7e0bcb87787038e7d058f8f769b44
[ "BSD-2-Clause" ]
21
2019-09-30T17:59:33.000Z
2022-03-24T19:15:41.000Z
python/pmercury/protocols/tls_certificate.py
raj-apoorv/mercury
9b372e9ba8e7e0bcb87787038e7d058f8f769b44
[ "BSD-2-Clause" ]
58
2019-09-30T17:59:45.000Z
2022-03-27T13:40:47.000Z
""" Copyright (c) 2019 Cisco Systems, Inc. All rights reserved. License at https://github.com/cisco/mercury/blob/master/LICENSE """ import os import sys import base64 # TLS helper classes sys.path.append(os.path.dirname(os.path.abspath(__file__))) sys.path.append(os.path.dirname(os.path.abspath(__file__))+'/../') f...
28.87468
107
0.533924
1,336
11,290
4.213323
0.143713
0.094155
0.061823
0.079943
0.454077
0.39332
0.360455
0.282999
0.259371
0.253331
0
0.029728
0.356422
11,290
390
108
28.948718
0.744977
0.030558
0
0.417808
0
0
0.036437
0
0
0
0.003296
0
0
1
0.054795
false
0.003425
0.023973
0.003425
0.239726
0.003425
0
0
0
null
0
0
0
0
0
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
1
0
dcc6c7dc55590c974bdea386d0db32e6d88e9c06
3,182
py
Python
plugins/aea-cli-benchmark/aea_cli_benchmark/case_agent_construction_time/case.py
valory-xyz/agents-aea
8f38efa96041b0156ed1ae328178e395dbabf2fc
[ "Apache-2.0" ]
null
null
null
plugins/aea-cli-benchmark/aea_cli_benchmark/case_agent_construction_time/case.py
valory-xyz/agents-aea
8f38efa96041b0156ed1ae328178e395dbabf2fc
[ "Apache-2.0" ]
null
null
null
plugins/aea-cli-benchmark/aea_cli_benchmark/case_agent_construction_time/case.py
valory-xyz/agents-aea
8f38efa96041b0156ed1ae328178e395dbabf2fc
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # # Copyright 2022 Valory AG # Copyright 2018-2021 Fetch.AI Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance...
32.469388
80
0.560339
366
3,182
4.70765
0.412568
0.037145
0.019153
0.022635
0.18108
0.145676
0.113175
0.086477
0.061521
0.061521
0
0.009362
0.295097
3,182
97
81
32.804124
0.758805
0.28127
0
0.223881
0
0
0.106336
0.013292
0
0
0
0
0
1
0.014925
false
0
0.164179
0
0.19403
0
0
0
0
null
0
0
0
0
0
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
1
0
dcc7a77f4169521fe89b86a05dfe67f63795adcd
4,077
py
Python
whizzlibrary/plotting.py
rodrigolece/whizz-library
beb3b6a31000239843bdfae8f4edd2a700749ce7
[ "MIT" ]
null
null
null
whizzlibrary/plotting.py
rodrigolece/whizz-library
beb3b6a31000239843bdfae8f4edd2a700749ce7
[ "MIT" ]
null
null
null
whizzlibrary/plotting.py
rodrigolece/whizz-library
beb3b6a31000239843bdfae8f4edd2a700749ce7
[ "MIT" ]
null
null
null
import numpy as np import scipy.stats as st # for pearsonr, has to be imported explicitly import matplotlib.pyplot as plt from mpl_toolkits.axes_grid1.inset_locator import inset_axes # to use the inset in subplot from mpl_toolkits.axes_grid1 import make_axes_locatable # to scale the colorbar from .quarters ...
31.361538
113
0.648516
637
4,077
3.992151
0.276295
0.059772
0.046009
0.035391
0.32324
0.259929
0.223358
0.130948
0.117184
0.117184
0
0.025571
0.19426
4,077
129
114
31.604651
0.748554
0.095904
0
0.177778
0
0
0.043277
0
0
0
0
0
0
1
0.044444
false
0
0.066667
0
0.122222
0
0
0
0
null
0
0
0
0
0
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
1
0
dcc7cc7a40b45ab40e2a51260b50373958a8da92
187
py
Python
data_collection/gazette/spiders/sc_tangara.py
Jefersonalves/diario-oficial
9a4bdfe2e31414c993d88831a67160c49a5ee657
[ "MIT" ]
3
2021-08-18T17:50:31.000Z
2021-11-12T23:36:33.000Z
data_collection/gazette/spiders/sc_tangara.py
Jefersonalves/diario-oficial
9a4bdfe2e31414c993d88831a67160c49a5ee657
[ "MIT" ]
4
2021-02-10T02:36:48.000Z
2022-03-02T14:55:34.000Z
data_collection/gazette/spiders/sc_tangara.py
Jefersonalves/diario-oficial
9a4bdfe2e31414c993d88831a67160c49a5ee657
[ "MIT" ]
null
null
null
from gazette.spiders.base import FecamGazetteSpider class ScTangaraSpider(FecamGazetteSpider): name = "sc_tangara" FECAM_QUERY = "cod_entidade:268" TERRITORY_ID = "4217907"
23.375
51
0.764706
20
187
6.95
0.95
0
0
0
0
0
0
0
0
0
0
0.063291
0.15508
187
7
52
26.714286
0.816456
0
0
0
0
0
0.176471
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
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
1
0
0
3
dcc94d1efbebd6519f53641f480b76cc940d4d0c
774
py
Python
posts/urls.py
mmanchev23/network
248a23089640096fe866abc4557e82383768b5bc
[ "MIT" ]
null
null
null
posts/urls.py
mmanchev23/network
248a23089640096fe866abc4557e82383768b5bc
[ "MIT" ]
null
null
null
posts/urls.py
mmanchev23/network
248a23089640096fe866abc4557e82383768b5bc
[ "MIT" ]
null
null
null
from django.urls import path from django.conf.urls import url from . import views urlpatterns = [ path("", views.index, name="index"), path("login", views.login_view, name="login"), path("logout", views.logout_view, name="logout"), path("register", views.register, name="register"), path("profile/<...
43
74
0.674419
102
774
5.068627
0.294118
0.085106
0.092843
0.085106
0
0
0
0
0
0
0
0
0.121447
774
18
75
43
0.760294
0
0
0
0
0
0.323871
0.166452
0
0
0
0
0
1
0
false
0
0.1875
0
0.1875
0
0
0
0
null
0
0
0
0
0
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
1
0
dcc9ddc5d8f9f9a656c88d8718ebff1b675da47f
2,476
py
Python
nnaps/tests/test_mesa.py
vosjo/nnaps
bc4aac715b511c5df897ef24fb953ad7265927ea
[ "MIT" ]
4
2020-09-24T12:55:58.000Z
2021-05-19T14:46:10.000Z
nnaps/tests/test_mesa.py
vosjo/nnaps
bc4aac715b511c5df897ef24fb953ad7265927ea
[ "MIT" ]
4
2021-06-02T09:28:35.000Z
2021-06-04T08:32:24.000Z
nnaps/tests/test_mesa.py
vosjo/nnaps
bc4aac715b511c5df897ef24fb953ad7265927ea
[ "MIT" ]
3
2020-10-05T13:18:27.000Z
2021-06-02T09:29:11.000Z
import os import pytest import pandas as pd from nnaps.mesa import compress_mesa, fileio from pathlib import Path base_path = Path(__file__).parent class Test2H5: def test_read_mesa_output(self): filename = base_path / 'test_data/M1.013_M0.331_P32.85_Z0.00155/LOGS/history1.data' _, data = co...
38.092308
120
0.599354
313
2,476
4.498403
0.348243
0.042614
0.059659
0.079545
0.183239
0.125
0.125
0.125
0.09375
0.09375
0
0.091474
0.284733
2,476
64
121
38.6875
0.703557
0
0
0
0
0
0.240291
0.101942
0
0
0
0
0.357143
1
0.047619
false
0
0.119048
0
0.190476
0
0
0
0
null
0
0
0
0
0
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
1
0
dcca02e10815f058cde445c4c498cd6121ab7987
10,588
py
Python
riot_transmute/v5/match_to_game.py
mrtolkien/riotwatcher_dto
777455c45159f177d3a7ba3956043ff26f625c30
[ "MIT" ]
8
2020-10-01T18:01:15.000Z
2022-02-22T22:51:30.000Z
riot_transmute/v5/match_to_game.py
mrtolkien/riotwatcher_dto
777455c45159f177d3a7ba3956043ff26f625c30
[ "MIT" ]
2
2021-12-15T23:02:02.000Z
2022-01-25T06:07:53.000Z
riot_transmute/v5/match_to_game.py
mrtolkien/riotwatcher_dto
777455c45159f177d3a7ba3956043ff26f625c30
[ "MIT" ]
4
2020-07-30T23:24:06.000Z
2022-02-21T19:26:01.000Z
import lol_dto.classes.game as dto from lol_dto.classes.sources.riot_lol_api import RiotGameSource, RiotPlayerSource from riot_transmute.common.iso_date_from_ms import get_iso_date_from_ms_timestamp role_trigrams = { "TOP": "TOP", "JUNGLE": "JGL", "MIDDLE": "MID", "BOTTOM": "BOT", "UTILITY": "SUP"...
40.723077
177
0.621364
1,029
10,588
6.216715
0.297376
0.112553
0.026575
0.008129
0.134125
0.085509
0.081601
0.059715
0.059715
0.03658
0
0.007482
0.26785
10,588
259
178
40.880309
0.817724
0.113336
0
0.118812
0
0
0.198073
0.03833
0
0
0
0
0
1
0.004951
false
0
0.019802
0
0.039604
0
0
0
0
null
0
0
0
0
0
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
1
0
dccbb1ed1d93a36b9b6ce4c8495a089a6511c9fc
1,946
py
Python
chart/tests/helm_template_generator.py
jrderuiter/airflow
3122b351a515d455b2c69412b9cc72af888abc2b
[ "Apache-2.0" ]
1
2020-02-29T18:15:04.000Z
2020-02-29T18:15:04.000Z
chart/tests/helm_template_generator.py
jrderuiter/airflow
3122b351a515d455b2c69412b9cc72af888abc2b
[ "Apache-2.0" ]
null
null
null
chart/tests/helm_template_generator.py
jrderuiter/airflow
3122b351a515d455b2c69412b9cc72af888abc2b
[ "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 not u...
37.423077
97
0.723022
270
1,946
5.1
0.474074
0.043573
0.018882
0.023239
0.033406
0
0
0
0
0
0
0.011553
0.199383
1,946
51
98
38.156863
0.872272
0.489209
0
0
0
0
0.045455
0
0
0
0
0
0
1
0.090909
false
0
0.227273
0
0.409091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
dccd47a41be8ee6cd564590ef78258b59157e457
999
py
Python
src/states/minnesota/main.py
mail-my-ballot/elections-officials
f52862b62121a6e30f8f1c865bfe62705d3a0748
[ "Apache-2.0" ]
3
2020-04-26T02:05:33.000Z
2020-07-06T22:11:04.000Z
src/states/minnesota/main.py
mail-my-ballot/elections-officials
f52862b62121a6e30f8f1c865bfe62705d3a0748
[ "Apache-2.0" ]
25
2020-05-22T18:51:01.000Z
2020-06-28T00:47:19.000Z
src/states/minnesota/main.py
vote-by-mail/elections-officials
ac3cfb896db11f553f9c22ea2303fa54e6bb1a39
[ "Apache-2.0" ]
5
2020-05-21T01:28:57.000Z
2020-07-01T23:02:31.000Z
import re from bs4 import BeautifulSoup from common import cache_request BASE_URL = 'https://www.sos.state.mn.us/elections-voting/find-county-election-office/' re_lines = re.compile(r'(?<=Absentee voting contact)\s*(.*?)\s*' + r'Phone:\s*([0-9\-]+)(?:\s*ext\s*\d+)?\s*Fax:\s*([0-9\-]+)\s*Email:\s...
24.975
101
0.60961
140
999
4.2
0.514286
0.061224
0.054422
0.064626
0
0
0
0
0
0
0
0.01601
0.187187
999
39
102
25.615385
0.708128
0
0
0
0
0.068966
0.267267
0.073073
0
0
0
0
0
1
0.068966
false
0
0.103448
0
0.241379
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
dccda10f7d1ebffea799e8be451190ac7dc23768
3,788
py
Python
tests/test_conv.py
eLeVeNnN/xshinnosuke
69da91e0ea5042437edfc31c0e6ff9ef394c6cc9
[ "MIT" ]
290
2020-07-06T02:13:12.000Z
2021-01-04T14:23:39.000Z
tests/test_conv.py
E1eveNn/xshinnosuke
69da91e0ea5042437edfc31c0e6ff9ef394c6cc9
[ "MIT" ]
1
2020-12-03T11:11:48.000Z
2020-12-03T11:11:48.000Z
tests/test_conv.py
E1eveNn/xshinnosuke
69da91e0ea5042437edfc31c0e6ff9ef394c6cc9
[ "MIT" ]
49
2020-07-16T00:27:47.000Z
2020-11-26T03:03:14.000Z
import xs.nn import xs.nn.functional import xs.optim from xs.layers import Conv2D, ReLU, BatchNormalization import numpy as np import torch.nn import torch.nn.functional import torch.optim import os import matplotlib.pyplot as plt os.environ["KMP_DUPLICATE_LIB_OK"] = "TRUE" def xs_network(weight1, bias1, bn_weight1, ...
35.735849
81
0.682682
582
3,788
4.304124
0.201031
0.039122
0.033533
0.038323
0.315369
0.251098
0.19002
0.149301
0.086228
0.086228
0
0.059969
0.145987
3,788
105
82
36.07619
0.714374
0.031151
0
0.022472
0
0
0.020477
0
0
0
0
0
0
1
0.022472
false
0
0.11236
0
0.157303
0.044944
0
0
0
null
0
0
0
0
0
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
1
0
dccf13a2d3c43a0138e2d1dfdb3119a402dd9a6f
7,897
py
Python
eazy.py
tddesjardins/image-stacking
a9477987b7d267d6604deafaf0080794193264eb
[ "Unlicense" ]
null
null
null
eazy.py
tddesjardins/image-stacking
a9477987b7d267d6604deafaf0080794193264eb
[ "Unlicense" ]
2
2018-06-10T04:44:16.000Z
2018-06-14T18:11:46.000Z
eazy.py
tddesjardins/image-stacking
a9477987b7d267d6604deafaf0080794193264eb
[ "Unlicense" ]
null
null
null
import pandas as pd from astropy.table import Table import pdb,os import matplotlib.pyplot as plt import threedhst.eazyPy as eazy import numpy as np from astropy.stats.funcs import biweight_location as bl from astropy.stats.funcs import biweight_midvariance as bs flux={'cB':'fB1','kB':'fB1','V':'fV1','R':'fR1','I':'fI...
36.224771
136
0.595416
1,146
7,897
4.034031
0.260908
0.022064
0.024227
0.02812
0.306078
0.27082
0.212632
0.144711
0.144711
0.131733
0
0.048415
0.181335
7,897
217
137
36.391705
0.666667
0.004812
0
0.179012
0
0
0.143694
0
0
0
0
0
0
0
null
null
0
0.049383
null
null
0.006173
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
dcd28b594bfbebe11f19c266f448d60744584605
290
py
Python
tests/web/views/application/test_security.py
bitcaster-io/bitcaster
9f1bad96e00e3bc78a22451731e231d30662b166
[ "BSD-3-Clause" ]
4
2018-03-01T10:22:30.000Z
2020-04-04T16:31:11.000Z
tests/web/views/application/test_security.py
bitcaster-io/bitcaster
9f1bad96e00e3bc78a22451731e231d30662b166
[ "BSD-3-Clause" ]
60
2018-05-20T04:42:32.000Z
2022-02-10T17:03:37.000Z
tests/web/views/application/test_security.py
bitcaster-io/bitcaster
9f1bad96e00e3bc78a22451731e231d30662b166
[ "BSD-3-Clause" ]
1
2018-08-04T05:06:45.000Z
2018-08-04T05:06:45.000Z
import pytest from bitcaster.security import APP_ROLES @pytest.mark.django_db def test_application_admin(django_app, application1, user1): application1.add_member(user1, APP_ROLES.ADMIN) url = application1.urls.edit res = django_app.get(url, user=user1.email) assert res
24.166667
60
0.775862
41
290
5.292683
0.634146
0.073733
0
0
0
0
0
0
0
0
0
0.024096
0.141379
290
11
61
26.363636
0.84739
0
0
0
0
0
0
0
0
0
0
0
0.125
1
0.125
false
0
0.25
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
dcd2a7a049ecfd7fc7c9464d81aae3b346e5d160
3,421
py
Python
Square Run/Prototype/genetic/population.py
Soare-Robert-Daniel/Project-Sarus
38f8b5c579eda0cf941f05e35bd5063d31d06ce4
[ "MIT" ]
null
null
null
Square Run/Prototype/genetic/population.py
Soare-Robert-Daniel/Project-Sarus
38f8b5c579eda0cf941f05e35bd5063d31d06ce4
[ "MIT" ]
null
null
null
Square Run/Prototype/genetic/population.py
Soare-Robert-Daniel/Project-Sarus
38f8b5c579eda0cf941f05e35bd5063d31d06ce4
[ "MIT" ]
null
null
null
import random from individual import Individual import settings class Population: def __init__(self, size, mutation): self.pool = [] self.mutation = mutation self.size = size self.reset_pool() self.max_score = 0 self.count_max = 0 self.all_fit = False ...
34.555556
110
0.565039
403
3,421
4.627792
0.26799
0.072922
0.038606
0.020912
0.196247
0.117426
0.073995
0.046113
0.046113
0.046113
0
0.012726
0.287928
3,421
98
111
34.908163
0.752874
0.20228
0
0.138462
0
0
0.046057
0
0
0
0
0
0
1
0.138462
false
0
0.046154
0.030769
0.307692
0.107692
0
0
0
null
0
0
0
0
0
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
1
0
dcd52bc300b5c8c984d399df10df6360c5a1fbf3
1,151
py
Python
qf_lib/plotting/charts/heatmap/color_bar.py
webclinic017/qf-lib
96463876719bba8a76c8269cef76addf3a2d836d
[ "Apache-2.0" ]
198
2019-08-16T15:09:23.000Z
2022-03-30T12:44:00.000Z
qf_lib/plotting/charts/heatmap/color_bar.py
webclinic017/qf-lib
96463876719bba8a76c8269cef76addf3a2d836d
[ "Apache-2.0" ]
13
2021-01-07T10:15:19.000Z
2022-03-29T13:01:47.000Z
qf_lib/plotting/charts/heatmap/color_bar.py
webclinic017/qf-lib
96463876719bba8a76c8269cef76addf3a2d836d
[ "Apache-2.0" ]
29
2019-08-16T15:21:28.000Z
2022-02-23T09:53:49.000Z
# Copyright 2016-present CERN – European Organization for Nuclear Research # # 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...
41.107143
109
0.721981
157
1,151
5.152866
0.630573
0.074166
0.032138
0.039555
0
0
0
0
0
0
0
0.008667
0.198089
1,151
27
110
42.62963
0.866739
0.580365
0
0
0
0
0.025862
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
dcd554291817b398928bef57ec99ed6c4a636952
358
py
Python
terrascript/github/d.py
vutsalsinghal/python-terrascript
3b9fb5ad77453d330fb0cd03524154a342c5d5dc
[ "BSD-2-Clause" ]
null
null
null
terrascript/github/d.py
vutsalsinghal/python-terrascript
3b9fb5ad77453d330fb0cd03524154a342c5d5dc
[ "BSD-2-Clause" ]
null
null
null
terrascript/github/d.py
vutsalsinghal/python-terrascript
3b9fb5ad77453d330fb0cd03524154a342c5d5dc
[ "BSD-2-Clause" ]
null
null
null
# terrascript/github/d.py import terrascript class github_collaborators(terrascript.Data): pass class github_ip_ranges(terrascript.Data): pass class github_repositories(terrascript.Data): pass class github_repository(terrascript.Data): pass class github_team(terrascript.Data): pass class gi...
15.565217
45
0.768156
43
358
6.232558
0.348837
0.246269
0.425373
0.447761
0.559701
0
0
0
0
0
0
0
0.153631
358
22
46
16.272727
0.884488
0.064246
0
0.461538
0
0
0
0
0
0
0
0
0
1
0
true
0.461538
0.076923
0
0.538462
0
0
0
0
null
1
1
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
1
1
0
0
1
0
0
6
dcd55843a9662ccceae7d69532befbd320afdb43
1,273
py
Python
python/PyQt5/16_pixels_test.py
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
1
2016-11-23T08:18:08.000Z
2016-11-23T08:18:08.000Z
python/PyQt5/16_pixels_test.py
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
null
null
null
python/PyQt5/16_pixels_test.py
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
1
2016-11-23T08:17:34.000Z
2016-11-23T08:17:34.000Z
from PyQt5.QtWidgets import QApplication, QWidget, QVBoxLayout from PyQt5.QtGui import QPainter from PyQt5.QtCore import Qt class MyWidget(QWidget): def __init__(self): super(QWidget, self).__init__() self.title = 'PyQt5 pixels example' self.left = 100 self.top = 100 self...
23.574074
70
0.601728
150
1,273
4.953333
0.46
0.036339
0.037685
0.048452
0
0
0
0
0
0
0
0.026403
0.285939
1,273
53
71
24.018868
0.790979
0
0
0
0
0
0.022013
0
0
0
0
0
0
1
0.076923
false
0
0.128205
0
0.25641
0
0
0
0
null
0
0
0
0
0
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
1
0
dcd5ea4327eaa7ba736fe1d45c3f903efcd52cd3
5,401
py
Python
lib/evernote/edam/limits/constants.py
zapier/zapier-evernote-sdk-python-old
a95444969c2ae00ea573b4af35c9c851a40a4813
[ "Apache-2.0", "BSD-2-Clause" ]
9
2015-01-08T17:48:50.000Z
2017-08-11T00:24:38.000Z
lib/evernote/edam/limits/constants.py
zapier/zapier-evernote-sdk-python-old
a95444969c2ae00ea573b4af35c9c851a40a4813
[ "Apache-2.0", "BSD-2-Clause" ]
1
2015-07-25T09:41:50.000Z
2015-07-25T15:40:18.000Z
lib/evernote/edam/limits/constants.py
mindprince/pinboardToEvernote
4dd2b462f4100853c66ab433c0e94533863f2352
[ "Apache-2.0" ]
1
2021-09-08T09:31:43.000Z
2021-09-08T09:31:43.000Z
# # Autogenerated by Thrift Compiler (0.5.0-en-262021) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py:new_style # from thrift.Thrift import TType, TMessageType, TException, TApplicationException from ttypes import * EDAM_ATTRIBUTE_LEN_MIN = 1 EDAM_ATTRIBUTE_LEN_MAX = 4096...
39.423358
141
0.733383
922
5,401
3.852495
0.191974
0.037162
0.023649
0.021959
0.273649
0.11205
0.100507
0.096284
0.077703
0.072917
0
0.063966
0.076652
5,401
136
142
39.713235
0.648286
0.026847
0
0.015748
1
0.094488
0.282393
0.227325
0
0
0
0
0
1
0
false
0.023622
0.015748
0
0.015748
0
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
dcd6bdeb888785f2ab42d4a43ffa59943e64ac31
3,423
py
Python
scripts/outliers.py
gmackall/deep-quant
1c0081795c8be9b7513697b367e9a1381f7f742a
[ "MIT" ]
122
2017-10-04T04:34:24.000Z
2022-03-10T23:59:22.000Z
scripts/outliers.py
emrekesici/deep-quant
19ae66d25924c4bc4b09879d82794013140d2a8b
[ "MIT" ]
20
2018-02-07T16:34:10.000Z
2020-07-21T08:45:59.000Z
scripts/outliers.py
Henrywcj/MLII
bf639e82f64b11b4af973570bccdfe5e2ed25533
[ "MIT" ]
51
2017-11-16T15:42:13.000Z
2022-03-19T00:46:57.000Z
#!/bin/sh ''''exec python3 -u -- "$0" ${1+"$@"} # ''' # Copyright 2016 Euclidean Technologies Management LLC All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http...
29.765217
102
0.585159
449
3,423
4.316258
0.4098
0.03096
0.006192
0.016512
0.087719
0.028896
0.028896
0
0
0
0
0.01323
0.249197
3,423
114
103
30.026316
0.740856
0.26468
0
0.092308
0
0
0.096061
0.025723
0
0
0
0
0
1
0.015385
false
0
0.215385
0
0.230769
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
dcd956d859b1b4126c88e2fcc1d30c3967daf4d3
317
py
Python
tester.py
jonah-sullivan/language-server-presentation
343c42382eb0a9caad2881ea9141b3f5eca9450a
[ "CC0-1.0" ]
1
2022-03-03T12:04:23.000Z
2022-03-03T12:04:23.000Z
tester.py
jonah-sullivan/language-server-presentation
343c42382eb0a9caad2881ea9141b3f5eca9450a
[ "CC0-1.0" ]
null
null
null
tester.py
jonah-sullivan/language-server-presentation
343c42382eb0a9caad2881ea9141b3f5eca9450a
[ "CC0-1.0" ]
null
null
null
from twoInts import add_two_ints import typing firstInt = 5 secondInt = 2 additionOutput = add_two_ints(firstInt, secondInt) print(f"firstInt: {firstInt}, secondInt: {secondInt}") print(f"additionOutput: {additionOutput}") print("addTwoInts.__doc__", add_two_ints.__doc__) add_two_ints(1, 2) add_two_ints(1, "a")
21.133333
54
0.776025
45
317
5.066667
0.4
0.131579
0.219298
0.114035
0
0
0
0
0
0
0
0.017544
0.100946
317
14
55
22.642857
0.782456
0
0
0
0
0
0.299685
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.3
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
dcda06fca71ac791b2cd5f224de59dc2d3b33b14
1,966
py
Python
glumpy/ext/freetype/ft_enums/ft_render_modes.py
antoineMoPa/glumpy
901df7eb37cd728c2fe7e54920392b700b46c0ac
[ "BSD-3-Clause" ]
1,074
2015-01-02T07:52:35.000Z
2022-03-28T08:58:55.000Z
glumpy/ext/freetype/ft_enums/ft_render_modes.py
antoineMoPa/glumpy
901df7eb37cd728c2fe7e54920392b700b46c0ac
[ "BSD-3-Clause" ]
273
2015-01-02T19:49:30.000Z
2021-12-15T11:02:53.000Z
glumpy/ext/freetype/ft_enums/ft_render_modes.py
antoineMoPa/glumpy
901df7eb37cd728c2fe7e54920392b700b46c0ac
[ "BSD-3-Clause" ]
235
2015-07-20T09:42:42.000Z
2021-12-06T18:12:26.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # # FreeType high-level python API - Copyright 2011-2012 Nicolas P. Rougier # Distributed under the terms of the new BSD license. # # ----------------------------------------------------------...
33.896552
79
0.682096
290
1,966
4.437931
0.431034
0.087024
0.111888
0.04662
0.25641
0.231546
0.158508
0.113442
0.057498
0.057498
0
0.015763
0.193286
1,966
57
80
34.491228
0.795712
0.854018
0
0
0
0
0.3391
0.072664
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
dcdaeb321a2d41ba91fe6e7a27a8591de912bd95
1,349
py
Python
bpmn/views/event_view.py
marcelobbfonseca/SFDjango-BPMN
50565763414f52d9e84004494cf550c6fe2358fa
[ "MIT" ]
1
2021-09-22T02:04:07.000Z
2021-09-22T02:04:07.000Z
bpmn/views/event_view.py
VSSantana/SFDjango-BPMN
e5a3fb8da9282fd88f72a85a4b34d89d38391e36
[ "MIT" ]
5
2021-09-22T13:54:06.000Z
2021-09-22T14:05:56.000Z
bpmn/views/event_view.py
marcelobbfonseca/SFDjango-BPMN
50565763414f52d9e84004494cf550c6fe2358fa
[ "MIT" ]
1
2021-09-18T01:22:25.000Z
2021-09-18T01:22:25.000Z
from django.views.generic.base import TemplateView from django.views.generic.edit import UpdateView, DeleteView, FormView from django.urls import reverse_lazy from django.http import HttpResponseRedirect from ..models import Event from ..forms import EventForm class EventView(TemplateView): template_name = "bpmn...
25.942308
70
0.697554
161
1,349
5.63354
0.354037
0.066152
0.070562
0.092613
0.145535
0.145535
0.112459
0.112459
0.112459
0.112459
0
0
0.203855
1,349
51
71
26.45098
0.844507
0
0
0.151515
0
0
0.113417
0.065975
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.818182
0
0
0
0
null
0
0
0
0
0
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
dcdb7d35dacad0a6039ec92643d3ff7d8da2b159
3,912
py
Python
foss_library/import_data/frappe_api.py
nikochiko/foss-library
8d2eccf3658b8ada0176f3dc24b9d87e465815de
[ "MIT" ]
1
2021-09-16T09:35:36.000Z
2021-09-16T09:35:36.000Z
foss_library/import_data/frappe_api.py
nikochiko/foss-library
8d2eccf3658b8ada0176f3dc24b9d87e465815de
[ "MIT" ]
1
2021-09-10T13:49:11.000Z
2021-09-10T13:49:11.000Z
foss_library/import_data/frappe_api.py
nikochiko/foss-library
8d2eccf3658b8ada0176f3dc24b9d87e465815de
[ "MIT" ]
null
null
null
import asyncio import os from math import ceil from pprint import pprint from typing import Any, AsyncIterator, Optional import aiohttp from foss_library.books.models import Book FRAPPE_API_URL = os.getenv( "FRAPPE_API_URL", "https://frappe.io/api/method/frappe-library" ) async def get_n_books_from_api( c...
30.325581
89
0.645961
512
3,912
4.724609
0.318359
0.026457
0.0463
0.028524
0.119057
0.042993
0
0
0
0
0
0.003425
0.253579
3,912
128
90
30.5625
0.825
0.085378
0
0.022472
0
0
0.135347
0
0
0
0
0
0
1
0.011236
false
0
0.078652
0
0.11236
0.044944
0
0
0
null
0
0
0
0
0
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
1
0
dcdba7dd7903e0df919b227a20e23652c6d7a728
1,712
py
Python
dcp_diag/component_agents/azul_agent.py
HumanCellAtlas/dcp-diag
85c324ed86785d8b224fca2f3cbc1097f8606dde
[ "MIT" ]
2
2018-10-03T17:56:54.000Z
2018-10-08T18:10:38.000Z
dcp_diag/component_agents/azul_agent.py
HumanCellAtlas/dcp-diag
85c324ed86785d8b224fca2f3cbc1097f8606dde
[ "MIT" ]
15
2018-11-20T11:06:32.000Z
2019-09-17T20:06:20.000Z
dcp_diag/component_agents/azul_agent.py
HumanCellAtlas/dcp-diag
85c324ed86785d8b224fca2f3cbc1097f8606dde
[ "MIT" ]
null
null
null
import requests import json class AzulAgent: def __init__(self, deployment): self.deployment = deployment if self.deployment == 'prod': self.azul_service_url = 'https://service.explore.data.humancellatlas.org' else: self.azul_service_url = f'https://service.{deploym...
30.035088
99
0.536799
169
1,712
5.195266
0.35503
0.125285
0.079727
0.061503
0.100228
0
0
0
0
0
0
0.005545
0.367991
1,712
56
100
30.571429
0.805915
0
0
0.044444
0
0
0.164136
0.028037
0
0
0
0
0
1
0.044444
false
0
0.044444
0
0.133333
0
0
0
0
null
0
0
0
0
0
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
1
0
dcdc4a0b43fc30222496ff000d7b32f612ff3e55
3,764
py
Python
BabyForm1.py
UofU-BMI-BirthRecord/BirthRecord-Application
1ebb6674f59623ea3ce424b5feef5071fa63df05
[ "Apache-2.0" ]
null
null
null
BabyForm1.py
UofU-BMI-BirthRecord/BirthRecord-Application
1ebb6674f59623ea3ce424b5feef5071fa63df05
[ "Apache-2.0" ]
null
null
null
BabyForm1.py
UofU-BMI-BirthRecord/BirthRecord-Application
1ebb6674f59623ea3ce424b5feef5071fa63df05
[ "Apache-2.0" ]
null
null
null
#from flask_wtf import Form from flask_wtf import FlaskForm from wtforms import IntegerField, SubmitField, TextAreaField, SelectField, StringField, TextField, DecimalField, HiddenField, BooleanField from wtforms import validators, ValidationError import GetPatientInfo from WeightUtil import * class BabyForm(FlaskForm...
38.408163
138
0.613177
393
3,764
5.699746
0.254453
0.054018
0.040179
0.067857
0.316964
0.161161
0.161161
0.079018
0
0
0
0.008677
0.265143
3,764
97
139
38.804124
0.801157
0.240967
0
0.105263
0
0
0.14963
0.009259
0
0
0
0
0
1
0.017544
false
0
0.087719
0
0.22807
0.017544
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
dcdcb483050848f2993e3f0c9dadc3d0d1bb4473
388
py
Python
aoc2020/day01.py
austinsalonen/advent_of_code
c085a813511ace023620739f367948c58e7ca5e7
[ "MIT" ]
null
null
null
aoc2020/day01.py
austinsalonen/advent_of_code
c085a813511ace023620739f367948c58e7ca5e7
[ "MIT" ]
null
null
null
aoc2020/day01.py
austinsalonen/advent_of_code
c085a813511ace023620739f367948c58e7ca5e7
[ "MIT" ]
null
null
null
from collections import Counter inputs = [] with open('day01.input') as f: inputs = [int(x) for x in f.readlines()] def most_common(xs): return Counter(xs).most_common(1)[0][0] def part1(ns): return most_common([n * (2020-n) for n in ns]) def part2(ns): return most_common([a*b*c for a in ns for b in ns for c i...
19.4
81
0.675258
76
388
3.394737
0.434211
0.155039
0.093023
0.139535
0
0
0
0
0
0
0
0.052632
0.167526
388
19
82
20.421053
0.74613
0
0
0
0
0
0.028424
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.25
0.583333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
dcdde9a31ea174b05d5ac70e403cbbcd1fb9ab3b
2,989
py
Python
tools/linphone-sample.py
garronej/linphone
f61a337f5363b991d6e866a6aa7d303658c04073
[ "BSD-2-Clause" ]
null
null
null
tools/linphone-sample.py
garronej/linphone
f61a337f5363b991d6e866a6aa7d303658c04073
[ "BSD-2-Clause" ]
null
null
null
tools/linphone-sample.py
garronej/linphone
f61a337f5363b991d6e866a6aa7d303658c04073
[ "BSD-2-Clause" ]
1
2021-03-17T10:04:06.000Z
2021-03-17T10:04:06.000Z
#!/usr/bin/env python import logging import signal import time import linphone class SecurityCamera: def __init__(self, username='', password='', whitelist=[], camera='', snd_capture='', snd_playback=''): self.quit = False self.whitelist = whitelist callbacks = linphone.Factory.get().creat...
41.513889
181
0.668786
374
2,989
5.088235
0.326203
0.07567
0.029427
0.025223
0.055702
0
0
0
0
0
0
0.006496
0.227501
2,989
71
182
42.098592
0.81767
0.024757
0
0
0
0
0.071429
0.03331
0
0
0.003434
0
0
1
0.103448
false
0.086207
0.068966
0
0.189655
0
0
0
0
null
0
0
0
0
0
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
dcde5efdccefb089a037137083b3846183985189
2,984
py
Python
assets/utils/piaf/af_structure_browser.py
47lining/quickstart-osisoft-pisystem2aws-connector
f6bdcb84b3cb271d3498d057474be6833f67b5be
[ "Apache-2.0" ]
null
null
null
assets/utils/piaf/af_structure_browser.py
47lining/quickstart-osisoft-pisystem2aws-connector
f6bdcb84b3cb271d3498d057474be6833f67b5be
[ "Apache-2.0" ]
null
null
null
assets/utils/piaf/af_structure_browser.py
47lining/quickstart-osisoft-pisystem2aws-connector
f6bdcb84b3cb271d3498d057474be6833f67b5be
[ "Apache-2.0" ]
null
null
null
import re class AfStructureBrowser(object): def __init__(self, assets_query, assets_field="name", attributes_query=".*", attributes_field="name"): self.assets_query = assets_query.replace("\\", "\\\\") if assets_field == 'path' else assets_query self.assets_field = assets_field self.attrib...
39.263158
111
0.586126
319
2,984
5.203762
0.178683
0.036145
0.033735
0.025301
0.422892
0.3
0.183133
0.183133
0.140964
0.140964
0
0.001471
0.316354
2,984
75
112
39.786667
0.812255
0
0
0.285714
0
0
0.040214
0
0
0
0
0
0
1
0.111111
false
0
0.015873
0
0.31746
0
0
0
0
null
0
0
0
0
0
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
1
0
dcdede0c23afb24fce856491c71696e393155ec4
3,492
py
Python
scripts/noaa_spider.py
guilload/thrashtide
b7cfc2e092c032251a862a46102420c169f92a68
[ "MIT" ]
null
null
null
scripts/noaa_spider.py
guilload/thrashtide
b7cfc2e092c032251a862a46102420c169f92a68
[ "MIT" ]
null
null
null
scripts/noaa_spider.py
guilload/thrashtide
b7cfc2e092c032251a862a46102420c169f92a68
[ "MIT" ]
null
null
null
import json import scrapy HARCON_HEADER = ("index", "name", "amplitude", "phase", "speed") class Station(scrapy.Item): constituents = scrapy.Field() latitude = scrapy.Field() longitude = scrapy.Field() MLLW = scrapy.Field() MTL = scrapy.Field() noaa_id = scrapy.Field() noaa_name = scra...
34.574257
119
0.609966
410
3,492
5.080488
0.25122
0.037446
0.024964
0.020163
0.147864
0.054729
0
0
0
0
0
0.005975
0.233104
3,492
100
120
34.92
0.771845
0
0
0.1
0
0
0.140607
0.045246
0
0
0
0
0
1
0.085714
false
0
0.028571
0
0.314286
0
0
0
0
null
0
0
0
0
0
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
1
0
dcdf88e243084249bdc7e74dd8256b969863ffa7
3,079
py
Python
torchvision_3d/models/vgg.py
rubythalib33/3D-Torchvision
7dab0a3d1d83e6046320f879af2bff28b31310ab
[ "MIT" ]
4
2022-03-09T02:53:12.000Z
2022-03-10T14:35:06.000Z
torchvision_3d/models/vgg.py
rubythalib33/3D-Torchvision
7dab0a3d1d83e6046320f879af2bff28b31310ab
[ "MIT" ]
null
null
null
torchvision_3d/models/vgg.py
rubythalib33/3D-Torchvision
7dab0a3d1d83e6046320f879af2bff28b31310ab
[ "MIT" ]
1
2022-03-10T14:35:08.000Z
2022-03-10T14:35:08.000Z
from turtle import forward import torch.nn as nn import torch class VGG3D(nn.Module): def __init__(self, type, pretrained=False): super(VGG3D, self).__init__() assert type in ['vgg11', 'vgg13', 'vgg16', 'vgg19', 'vgg11_bn', 'vgg13_bn', 'vgg16_bn', 'vgg19_bn'], 'type only support for vgg11, vgg13, v...
45.955224
199
0.626177
367
3,079
5.089918
0.201635
0.083512
0.089936
0.102784
0.494647
0.475375
0.166488
0.098501
0.051392
0.051392
0
0.047345
0.265995
3,079
67
200
45.955224
0.779204
0
0
0.05
0
0
0.067532
0
0
0
0
0
0.016667
1
0.05
false
0
0.183333
0
0.283333
0.016667
0
0
0
null
0
0
0
0
0
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
1
0
dce0c50e458be59e923eedd9c95b66857cc10f8f
1,820
py
Python
mihifepe/feature.py
cloudbopper/feature-importance-analysis
7f03e4413d1e42e9265d790cb64c41f34dbea5ab
[ "MIT" ]
1
2019-11-01T12:31:45.000Z
2019-11-01T12:31:45.000Z
mihifepe/feature.py
cloudbopper/feature-importance-analysis
7f03e4413d1e42e9265d790cb64c41f34dbea5ab
[ "MIT" ]
10
2018-11-14T17:44:39.000Z
2020-01-02T03:25:14.000Z
mihifepe/feature.py
cloudbopper/mihifepe
7f03e4413d1e42e9265d790cb64c41f34dbea5ab
[ "MIT" ]
3
2018-11-14T04:17:17.000Z
2020-01-04T20:32:00.000Z
"""Feature class""" import anytree import cityhash import numpy as np from mihifepe import constants # pylint: disable = too-many-instance-attributes class Feature(anytree.Node): """Class representing feature/feature group""" def __init__(self, name, **kwargs): super().__init__(name) self.par...
32.5
95
0.656044
221
1,820
5.239819
0.361991
0.060449
0.07772
0.043178
0
0
0
0
0
0
0
0.002839
0.225824
1,820
55
96
33.090909
0.819021
0.206593
0
0.085714
0
0
0.008584
0
0
0
0
0
0.028571
1
0.228571
false
0
0.114286
0
0.514286
0
0
0
0
null
0
0
0
0
0
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
dce1be765fc810f1f2efc2a19e81f0226d3354d5
25,193
py
Python
codenerix/models.py
codenerix/django-codenerix
1fc2edb451c5cf2359e243d860940876af0cf575
[ "Apache-2.0" ]
15
2018-03-21T10:47:57.000Z
2022-02-01T08:17:56.000Z
codenerix/models.py
codenerix/django-codenerix
1fc2edb451c5cf2359e243d860940876af0cf575
[ "Apache-2.0" ]
4
2018-04-11T10:19:08.000Z
2020-02-29T18:54:36.000Z
codenerix/models.py
codenerix/django-codenerix
1fc2edb451c5cf2359e243d860940876af0cf575
[ "Apache-2.0" ]
5
2018-03-12T16:57:02.000Z
2021-04-15T16:51:08.000Z
# -*- coding: utf-8 -*- # # django-codenerix # # Copyright 2017 Centrologic Computational Logistic Center S.L. # # Project URL : http://www.codenerix.com # # 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 ...
42.48398
181
0.543167
2,718
25,193
4.783297
0.149007
0.019383
0.019614
0.006923
0.36528
0.328667
0.294439
0.25375
0.223137
0.195293
0
0.002515
0.352915
25,193
592
182
42.555743
0.794994
0.139563
0
0.342169
0
0
0.055752
0.004289
0
0
0
0.001689
0
1
0.084337
false
0.004819
0.040964
0.033735
0.262651
0
0
0
0
null
0
0
0
0
0
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
1
0
dce29bb40a99d94f488b8f470037b28cd28ee97f
858
py
Python
migrations/versions/a75e5cbedaad_.py
deanarchy/FLChat
49cd437d7ca30102b519f6d4b96ac0b9602c689e
[ "MIT" ]
null
null
null
migrations/versions/a75e5cbedaad_.py
deanarchy/FLChat
49cd437d7ca30102b519f6d4b96ac0b9602c689e
[ "MIT" ]
null
null
null
migrations/versions/a75e5cbedaad_.py
deanarchy/FLChat
49cd437d7ca30102b519f6d4b96ac0b9602c689e
[ "MIT" ]
null
null
null
"""empty message Revision ID: a75e5cbedaad Revises: 520f9f05e787 Create Date: 2021-05-21 10:36:28.752323 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'a75e5cbedaad' down_revision = '520f9f05e787' branch_labels = None depends_on = None def upgrade(): # ...
25.235294
72
0.685315
100
858
5.79
0.51
0.046632
0.072539
0.079447
0.238342
0.238342
0.151986
0.151986
0
0
0
0.061538
0.166667
858
33
73
26
0.748252
0.343823
0
0
0
0
0.21673
0
0
0
0
0
0
1
0.133333
false
0
0.133333
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
dce5a04225c3fa6408504250122a874c9962cf88
1,741
py
Python
01_Modelos_Supervisionados/1.1_Modelos_Lineares/1.1.7_Regressao_do_Angulo_minimo.py
BrunoBertti/Scikit_Learning
4b9e10ff7909f3728ac1e8bba19f5fd779340bc4
[ "MIT" ]
null
null
null
01_Modelos_Supervisionados/1.1_Modelos_Lineares/1.1.7_Regressao_do_Angulo_minimo.py
BrunoBertti/Scikit_Learning
4b9e10ff7909f3728ac1e8bba19f5fd779340bc4
[ "MIT" ]
null
null
null
01_Modelos_Supervisionados/1.1_Modelos_Lineares/1.1.7_Regressao_do_Angulo_minimo.py
BrunoBertti/Scikit_Learning
4b9e10ff7909f3728ac1e8bba19f5fd779340bc4
[ "MIT" ]
null
null
null
########## 1.1.7 Regressão do Ângulo Mínimo (LARs) ########## # Regressão do Ângulo Mínimo (LARS, em inglês) é um algoritmo de regressão para dados de alto-dimencionamento. desenvolvido por Bradley Efron, Trevor Hastie, Iain Johnstone e Robert Tibshirani. RAM é semelhante à regressão progressiva passo-a-passo. Em ...
87.05
467
0.763929
258
1,741
5.143411
0.627907
0.016579
0.025622
0.034665
0.040693
0
0
0
0
0
0
0.004996
0.19529
1,741
20
468
87.05
0.942184
0.933946
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
dce5dec856ec133da037182f8f14b17c7fb3f435
2,542
py
Python
DailyProgrammer/DP20120704B.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
2
2020-12-23T18:59:22.000Z
2021-04-14T13:16:09.000Z
DailyProgrammer/DP20120704B.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
null
null
null
DailyProgrammer/DP20120704B.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
null
null
null
""" An X-ray illuminator is the bright plate that doctors put filters over in order to view x-ray images. In our problem, we are going to place various sizes of red and blue tinted cellophane randomly on top of a finite x-ray illuminator. If a given part of the illuminator is covered by only red filters, then the lig...
31.775
120
0.697089
460
2,542
3.834783
0.41087
0.017007
0.013605
0.020408
0.080499
0.007937
0.007937
0
0
0
0
0.046394
0.219906
2,542
79
121
32.177215
0.843167
0.767506
0
0
0
0
0.048027
0
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.111111
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
dce730e56dda1e585a4258679358f534f02fcfd2
2,410
py
Python
gym_modular/rewards/robot/end_effector_acceleration_reward.py
TimSchneider42/mbpo
736ba90bbdaddb2a40a6233bc0b78da72235100a
[ "MIT" ]
null
null
null
gym_modular/rewards/robot/end_effector_acceleration_reward.py
TimSchneider42/mbpo
736ba90bbdaddb2a40a6233bc0b78da72235100a
[ "MIT" ]
null
null
null
gym_modular/rewards/robot/end_effector_acceleration_reward.py
TimSchneider42/mbpo
736ba90bbdaddb2a40a6233bc0b78da72235100a
[ "MIT" ]
null
null
null
from typing import Optional import numpy as np from ... import BaseTask from assembly_gym.environment.generic import RobotComponent from .. import Reward class EndEffectorAccelerationReward(Reward[BaseTask]): """ A reward for punishing high (linear and angular) end-effector accelerations. """ def _...
50.208333
120
0.678008
265
2,410
5.803774
0.339623
0.054616
0.074122
0.060468
0.215865
0.149545
0.06762
0.06762
0.06762
0.06762
0
0.006667
0.253112
2,410
47
121
51.276596
0.847778
0.257261
0
0
0
0
0.023963
0.018118
0
0
0
0
0
1
0.142857
false
0
0.178571
0.035714
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
dce79509cbf2a7826a942f2c2ddbb3230955066c
6,525
py
Python
nodedge/graphics_cut_line.py
Nodedge/nodedge
5658269a1841f33b3c42d6f79b8b50411e105787
[ "MIT" ]
7
2020-03-25T19:54:56.000Z
2021-06-09T04:43:58.000Z
nodedge/graphics_cut_line.py
Nodedge/nodedge
5658269a1841f33b3c42d6f79b8b50411e105787
[ "MIT" ]
9
2020-01-17T10:47:54.000Z
2021-05-30T12:40:28.000Z
nodedge/graphics_cut_line.py
nodedge/nodedge
5658269a1841f33b3c42d6f79b8b50411e105787
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Graphics cut line module containing :class:`~nodedge.graphics_cut_line.GraphicsCutLine` class. """ import logging from enum import IntEnum from typing import List, Optional from PySide2.QtCore import QEvent, QPointF, QRectF, Qt from PySide2.QtGui import QMouseEvent, QPainter, QPainterPath, Q...
34.52381
89
0.585747
617
6,525
6.095624
0.345219
0.018612
0.027918
0.030577
0.082957
0.068599
0.038819
0.013826
0
0
0
0.006498
0.316015
6,525
188
90
34.707447
0.836209
0.217778
0
0.072072
0
0
0.050826
0.01219
0
0
0
0.005319
0
1
0.063063
false
0
0.063063
0
0.207207
0
0
0
0
null
0
0
0
0
0
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
1
0
dce93d2afbe14b6bf4539942ed92f66674f8d14d
192
py
Python
countLines.py
binnev/what-can-be-computed
58d01ef09096bda2d0a1876575b992d47fcd0470
[ "CC-BY-4.0" ]
null
null
null
countLines.py
binnev/what-can-be-computed
58d01ef09096bda2d0a1876575b992d47fcd0470
[ "CC-BY-4.0" ]
null
null
null
countLines.py
binnev/what-can-be-computed
58d01ef09096bda2d0a1876575b992d47fcd0470
[ "CC-BY-4.0" ]
null
null
null
import utils from utils import rf def countLines(inString): # split on newlines lines = inString.split("\n") # return the number of lines, as a string return str(len(lines))
19.2
45
0.682292
28
192
4.678571
0.75
0.198473
0
0
0
0
0
0
0
0
0
0
0.229167
192
9
46
21.333333
0.885135
0.296875
0
0
0
0
0.015152
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
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
1
0
1
0
0
4
dce9f067442dd132cec403175dc8d3c5614a3f40
1,359
py
Python
app/modules/profiles/model.py
DsCodeStudio98m0f/DTia-Nugrahab
218ef140727849206fe76f42f43a5a231cfda9d9
[ "Apache-2.0" ]
16
2020-03-26T13:21:15.000Z
2021-07-25T18:49:05.000Z
app/modules/profiles/model.py
DsCodeStudio98m0f/DTia-Nugrahab
218ef140727849206fe76f42f43a5a231cfda9d9
[ "Apache-2.0" ]
13
2020-03-24T18:19:48.000Z
2022-03-12T00:18:59.000Z
app/modules/profiles/model.py
DsCodeStudio98m0f/DTia-Nugrahab
218ef140727849206fe76f42f43a5a231cfda9d9
[ "Apache-2.0" ]
14
2020-03-31T01:02:38.000Z
2021-09-17T01:10:36.000Z
from app import db from app.common.mixin import * class Profiles(TableMixin, db.Model): """Model Class""" __tablename__ = 'profiles' uid = db.Column(db.Integer, unique=True, index=True, nullable=False) career = db.Column(db.String(50), nullable=True) education = db.Column(db.String(255), nullable=...
33.975
73
0.674761
188
1,359
4.819149
0.276596
0.16777
0.209713
0.247241
0.524283
0.524283
0.524283
0.155629
0.155629
0
0
0.028344
0.169242
1,359
39
74
34.846154
0.774136
0.022811
0
0
0
0
0.016067
0
0
0
0
0
0
1
0.04
false
0
0.08
0
1
0
0
0
0
null
0
1
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
2
dcea809f24c7a2aad0a5248fa551dcc279ce1cac
367
py
Python
data processing/data/merge_data.py
RayL0707/Finance_KG
c4614bfb12a7ce20e05b42ab81ab6038ab5143f4
[ "MIT" ]
null
null
null
data processing/data/merge_data.py
RayL0707/Finance_KG
c4614bfb12a7ce20e05b42ab81ab6038ab5143f4
[ "MIT" ]
null
null
null
data processing/data/merge_data.py
RayL0707/Finance_KG
c4614bfb12a7ce20e05b42ab81ab6038ab5143f4
[ "MIT" ]
null
null
null
def merge(): s = set() for i in range(10): filename = 'table'+str(i)+".txt" file_object = open('table'+str(i)+".txt",'r').read() table = file_object.split() for c in table: s.add(c) print(len(s)) file_object = open("merge_table3.txt",'w') file_text = "" for i in s: file_text += i + " " file_object....
20.388889
54
0.615804
62
367
3.5
0.451613
0.230415
0.0553
0.110599
0
0
0
0
0
0
0
0.009967
0.179837
367
18
55
20.388889
0.710963
0
0
0
0
0
0.100817
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.0625
0.0625
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
dcea88cb35a02f7e9b11a8fbb9f570211bddc11f
922
py
Python
grid_point.py
drexelai/protein-nets
06d705ac6be36ef5383b715b0a4b910538efee1d
[ "MIT" ]
3
2021-03-31T01:32:31.000Z
2022-03-24T07:51:59.000Z
grid_point.py
drexelai/protein-nets
06d705ac6be36ef5383b715b0a4b910538efee1d
[ "MIT" ]
3
2021-04-14T23:24:05.000Z
2021-04-15T03:06:02.000Z
grid_point.py
drexelai/protein-nets
06d705ac6be36ef5383b715b0a4b910538efee1d
[ "MIT" ]
null
null
null
# Distance is measured in Angstroms # Class represents a single grid point in a 3D window class grid_point: def __init__(gp, occupancy = 0, atom = None, coords = None, aa = None, diangle = None, distance_to_nearest_atom = None, nearest_atom = None,threshold = 3, atoms_within_threshold = None, dm = None): # Logical...
32.928571
198
0.749458
142
922
4.704225
0.34507
0.115269
0.101796
0.125749
0
0
0
0
0
0
0
0.004043
0.195228
922
28
199
32.928571
0.896226
0.427332
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
dceb66b083eaedc5043fa09fbfd61c6eb3cc9dd0
426
py
Python
swgpu/urls.py
JCristobal/SWGPU
50039ae7ef6163e1bb3cccb0b6e4e4f5a62b620b
[ "Apache-2.0" ]
null
null
null
swgpu/urls.py
JCristobal/SWGPU
50039ae7ef6163e1bb3cccb0b6e4e4f5a62b620b
[ "Apache-2.0" ]
null
null
null
swgpu/urls.py
JCristobal/SWGPU
50039ae7ef6163e1bb3cccb0b6e4e4f5a62b620b
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^index$', views.index, name='index'), url(r'^peticion_ackley/$', views.peticion_ackley, name='peticion_ackley'), # para hacer peticion mediante el algoritmo Ackley url(r'^peticion_rastrigin/$', views...
38.727273
139
0.741784
57
426
5.438596
0.333333
0.051613
0.090323
0.122581
0.380645
0.380645
0
0
0
0
0
0
0.112676
426
10
140
42.6
0.820106
0.234742
0
0
0
0
0.281734
0.065015
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
dcecd6b18e1e75df9c0e0d80b2d7ec546970b7a2
2,898
py
Python
py_algo/sorting/competition/monk_monitor.py
Sk0uF/Algorithms
236cc5b056ce2637d5d947c5fc1e3367cde886bf
[ "MIT" ]
1
2021-07-05T15:39:04.000Z
2021-07-05T15:39:04.000Z
py_algo/sorting/competition/monk_monitor.py
Sk0uF/Algorithms
236cc5b056ce2637d5d947c5fc1e3367cde886bf
[ "MIT" ]
null
null
null
py_algo/sorting/competition/monk_monitor.py
Sk0uF/Algorithms
236cc5b056ce2637d5d947c5fc1e3367cde886bf
[ "MIT" ]
1
2021-09-02T21:31:34.000Z
2021-09-02T21:31:34.000Z
""" Codemonk link: https://www.hackerearth.com/problem/algorithm/monk-being-monitor-709e0fd3/ Monk being the monitor of the class needs to have all the information about the class students. He is very busy with many tasks related to the same, so he asked his friend Mishki for her help in one task. She will be give...
39.69863
121
0.677364
458
2,898
4.251092
0.373362
0.021572
0.015408
0.017463
0.079096
0.028762
0.028762
0.028762
0
0
0
0.016023
0.267771
2,898
72
122
40.25
0.901508
0.486197
0
0.259259
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.074074
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
dced4a3b2f06f94d7a92f57915a6444ff5071ff9
1,983
py
Python
homedisplay/info_birthdays/models.py
ojarva/home-info-display
873d022308732baff94d0dc2381cf9dc7dce23b7
[ "BSD-3-Clause" ]
1
2016-11-28T04:35:06.000Z
2016-11-28T04:35:06.000Z
homedisplay/info_birthdays/models.py
ojarva/home-info-display
873d022308732baff94d0dc2381cf9dc7dce23b7
[ "BSD-3-Clause" ]
160
2015-01-01T20:59:29.000Z
2016-04-25T13:36:52.000Z
homedisplay/info_birthdays/models.py
ojarva/home-info-display
873d022308732baff94d0dc2381cf9dc7dce23b7
[ "BSD-3-Clause" ]
1
2015-02-25T21:24:01.000Z
2015-02-25T21:24:01.000Z
# -*- coding: utf-8 -*- from django.core import serializers from django.db import models from django.db.models.signals import post_save, post_delete from django.dispatch import receiver from homedisplay.utils import publish_ws import datetime import json def get_birthdays(selected_date): if selected_date == "all...
33.05
107
0.690368
246
1,983
5.373984
0.426829
0.049924
0.018154
0.036309
0.090772
0
0
0
0
0
0
0.009369
0.192637
1,983
59
108
33.610169
0.816365
0.01059
0
0.046512
0
0
0.129592
0.021939
0
0
0
0
0
1
0.139535
false
0
0.162791
0.023256
0.511628
0
0
0
0
null
0
0
0
0
0
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
1
0
dcedcc270063f96de05822968d44edd696574450
10,531
py
Python
src/python/peak_functions.py
alexjgriffith/alpha-score
a262a79523c796078506f88db5ee6c6a60c0b8d0
[ "BSD-3-Clause" ]
null
null
null
src/python/peak_functions.py
alexjgriffith/alpha-score
a262a79523c796078506f88db5ee6c6a60c0b8d0
[ "BSD-3-Clause" ]
null
null
null
src/python/peak_functions.py
alexjgriffith/alpha-score
a262a79523c796078506f88db5ee6c6a60c0b8d0
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python2.7 # # This file is part of peakAnalysis, http://github.com/alexjgriffith/peaks/, # and is Copyright (C) University of Ottawa, 2014. It is Licensed under # the three-clause BSD License; see doc/LICENSE.txt. # Contact: griffitaj@gmail.com # # Created : AU1862014 # File : peak_functions # Autho...
28.462162
82
0.567183
1,410
10,531
4.182979
0.213475
0.018311
0.009156
0.008477
0.186504
0.15056
0.12411
0.116141
0.096473
0.060359
0
0.0147
0.302345
10,531
369
83
28.539295
0.788077
0.070459
0
0.243028
0
0.003984
0.017904
0
0
0
0
0
0
0
null
null
0
0.023904
null
null
0.007968
0
0
0
null
0
0
0
0
0
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
dcedd2fe6ce8860d2ebfc3feb64b8b8afde89134
1,183
py
Python
TransformerNet/Transformer.py
TeaKatz/Models_Corpus
6d9e91eb97829e73d88ecfc4754492f6324ef383
[ "MIT" ]
null
null
null
TransformerNet/Transformer.py
TeaKatz/Models_Corpus
6d9e91eb97829e73d88ecfc4754492f6324ef383
[ "MIT" ]
null
null
null
TransformerNet/Transformer.py
TeaKatz/Models_Corpus
6d9e91eb97829e73d88ecfc4754492f6324ef383
[ "MIT" ]
null
null
null
import tensorflow as tf from TransformerNet.layers import Encoder, Decoder class Transformer(tf.keras.Model): def __init__(self, num_layers, d_model, num_heads, d_ff, input_vocab_size, target_vocab_size, pe_input, pe_target, drop_rate=0.1): super().__init__() self.encoder = Encoder(num_laye...
62.263158
135
0.741336
175
1,183
4.565714
0.297143
0.067584
0.075094
0.05632
0.252816
0.20025
0.132666
0.132666
0.100125
0.100125
0
0.002035
0.169062
1,183
18
136
65.722222
0.810783
0.171598
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.153846
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
dceef88b32d68ed31878b2933c9b649dc7cdaf18
126
py
Python
building_test.py
yuanyan3060/ArknightsAutoHelper
99b7e2d8e8d97d4c718e974208aad0e2930ed7e0
[ "MIT" ]
1
2021-10-06T12:46:42.000Z
2021-10-06T12:46:42.000Z
building_test.py
yuanyan3060/ArknightsAutoHelper
99b7e2d8e8d97d4c718e974208aad0e2930ed7e0
[ "MIT" ]
null
null
null
building_test.py
yuanyan3060/ArknightsAutoHelper
99b7e2d8e8d97d4c718e974208aad0e2930ed7e0
[ "MIT" ]
null
null
null
from Arknights.shell_next import _create_helper helper, context = _create_helper(use_status_line=False) helper.get_building()
31.5
55
0.857143
18
126
5.555556
0.777778
0.24
0
0
0
0
0
0
0
0
0
0
0.071429
126
4
56
31.5
0.854701
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
1
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
1
0
1
0
0
0
0
5
dcefb0e811551fbe363d4633f912329224e0d5b0
65
py
Python
skopje/__init__.py
hotdogPi/Skopje
3a6a72589539349afcbc8921f8de1f16d866f5e0
[ "MIT" ]
1
2021-07-10T18:46:01.000Z
2021-07-10T18:46:01.000Z
skopje/__init__.py
hotdogPi/Skopje
3a6a72589539349afcbc8921f8de1f16d866f5e0
[ "MIT" ]
null
null
null
skopje/__init__.py
hotdogPi/Skopje
3a6a72589539349afcbc8921f8de1f16d866f5e0
[ "MIT" ]
1
2022-01-13T18:24:56.000Z
2022-01-13T18:24:56.000Z
# What to do upon calling "import skopje" from .skop import skop
21.666667
41
0.753846
11
65
4.454545
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.184615
65
2
42
32.5
0.924528
0.6
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
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
1
0
1
0
0
0
0
4
dcefdb99fe2524931fcc166cd7b76a8ef691d120
216
py
Python
djconnectwise/management/commands/delete_callback.py
kti-cameron/django-connectwise
e3438d6f303163cd482ce31a98aca5abf15ec932
[ "MIT" ]
null
null
null
djconnectwise/management/commands/delete_callback.py
kti-cameron/django-connectwise
e3438d6f303163cd482ce31a98aca5abf15ec932
[ "MIT" ]
null
null
null
djconnectwise/management/commands/delete_callback.py
kti-cameron/django-connectwise
e3438d6f303163cd482ce31a98aca5abf15ec932
[ "MIT" ]
null
null
null
from django.utils.translation import ugettext_lazy as _ from . import _callback class Command(_callback.Command): help = str(_('Deletes the callback from the target connectwise system.')) ACTION = 'delete'
27
77
0.75463
27
216
5.851852
0.740741
0
0
0
0
0
0
0
0
0
0
0
0.162037
216
7
78
30.857143
0.872928
0
0
0
0
0
0.287037
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
1
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
1
0
0
0
0
3
dcf1077dc281e4de424e7b5cbf25db2a3e03b45d
470
py
Python
leetcode/python/hard/p023_mergeKLists.py
kefirzhang/algorithms
549e68731d4c05002e35f0499d4f7744f5c63979
[ "Apache-2.0" ]
null
null
null
leetcode/python/hard/p023_mergeKLists.py
kefirzhang/algorithms
549e68731d4c05002e35f0499d4f7744f5c63979
[ "Apache-2.0" ]
null
null
null
leetcode/python/hard/p023_mergeKLists.py
kefirzhang/algorithms
549e68731d4c05002e35f0499d4f7744f5c63979
[ "Apache-2.0" ]
null
null
null
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def mergeKLists(self, lists): head = pre = ListNode(None) nodeVals = [] for l in lists: while l: nodeVals.append(l.val) ...
22.380952
38
0.514894
56
470
4.25
0.482143
0.042017
0
0
0
0
0
0
0
0
0
0
0.395745
470
20
39
23.5
0.838028
0.07234
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0