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
4733643c14937397476a2a744de95538806033df
1,923
py
Python
ablog/theblog/views.py
mrinali488/Blog
c93e3f6db9b90f638005f1d3accc4d73fee5df0e
[ "MIT" ]
1
2020-12-30T10:56:10.000Z
2020-12-30T10:56:10.000Z
ablog/theblog/views.py
mrinali488/Blog
c93e3f6db9b90f638005f1d3accc4d73fee5df0e
[ "MIT" ]
2
2020-12-30T10:06:31.000Z
2020-12-30T10:07:13.000Z
ablog/theblog/views.py
mrinali488/Blog
c93e3f6db9b90f638005f1d3accc4d73fee5df0e
[ "MIT" ]
null
null
null
from django.shortcuts import render, get_object_or_404 from django.views.generic import ListView, DetailView, CreateView, UpdateView,DeleteView from .models import Post, Comment, Category from .forms import PostForm, CommentForm, EditForm from django.urls import reverse, reverse_lazy from django.http import HttpRespons...
25.64
88
0.699428
235
1,923
5.53617
0.33617
0.064566
0.027671
0.048424
0.029208
0
0
0
0
0
0
0.003899
0.199688
1,923
74
89
25.986486
0.841455
0
0
0.150943
0
0
0.081728
0
0
0
0
0
0
1
0.056604
false
0
0.113208
0
0.735849
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
473d9da3f50c99532297ea1ba9b986897ae537b4
609
py
Python
setup.py
aulenbac/pysppin
7b101ec3bdf4fa660c262364fbc5a4e4655b4a0e
[ "Unlicense" ]
1
2020-05-18T14:16:45.000Z
2020-05-18T14:16:45.000Z
setup.py
aulenbac/pysppin
7b101ec3bdf4fa660c262364fbc5a4e4655b4a0e
[ "Unlicense" ]
1
2020-06-17T21:18:33.000Z
2020-06-17T21:18:33.000Z
setup.py
aulenbac/pysppin
7b101ec3bdf4fa660c262364fbc5a4e4655b4a0e
[ "Unlicense" ]
1
2019-11-21T21:10:59.000Z
2019-11-21T21:10:59.000Z
from setuptools import setup setup( name='pysppin', version='0.0.1', description='Processing modules for gathering information about biological species from linked information sources', url='http://github.com/usgs-bcb/pysppin', author='R. Sky Bristol', author_email='sbristol@usgs.gov', lice...
23.423077
120
0.594417
60
609
5.966667
0.866667
0
0
0
0
0
0
0
0
0
0
0.009009
0.270936
609
25
121
24.36
0.797297
0
0
0
0
0
0.44335
0
0
0
0
0
0
1
0
true
0
0.041667
0
0.041667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
4741dc7b265efa946f9556ba8111be6e8c8c2bb7
1,082
py
Python
stackint.py
williamistGitHub/StackInt-Interpreter
c45dc1f9940fa0d36afeed2a229254f89e2ac363
[ "MIT" ]
null
null
null
stackint.py
williamistGitHub/StackInt-Interpreter
c45dc1f9940fa0d36afeed2a229254f89e2ac363
[ "MIT" ]
null
null
null
stackint.py
williamistGitHub/StackInt-Interpreter
c45dc1f9940fa0d36afeed2a229254f89e2ac363
[ "MIT" ]
null
null
null
import sys import math ifile = "" if len(sys.argv) >= 2: ifile = sys.argv[1] else: ifile = input("File to interpret? ") ifile = open(ifile, "r") script = ifile.read() ifile.close() stack = [] i=0 while i < len(script): char = script[i] charnum = 0 try: charnum = int(char) if charnum >= 0 and char...
19.672727
55
0.518484
144
1,082
3.895833
0.277778
0.171123
0.139037
0.16934
0.360071
0.317291
0.221034
0.221034
0.221034
0.221034
0
0.020699
0.285582
1,082
54
56
20.037037
0.705045
0
0
0.083333
0
0
0.028651
0
0
0
0
0
0
1
0
false
0.020833
0.041667
0
0.041667
0.020833
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
474ce7958b8b1d2812b447f7e38ec645fe553fec
613
py
Python
ravsock/scheduler.py
mouni97matelabs/raven-distribution-framework
d577e0f00fd5471613aea79af61e655f0831bb3d
[ "MIT" ]
null
null
null
ravsock/scheduler.py
mouni97matelabs/raven-distribution-framework
d577e0f00fd5471613aea79af61e655f0831bb3d
[ "MIT" ]
null
null
null
ravsock/scheduler.py
mouni97matelabs/raven-distribution-framework
d577e0f00fd5471613aea79af61e655f0831bb3d
[ "MIT" ]
null
null
null
""" 1. Scheduler 2. Distributor 1. One client, one graph - Sequential 2. One client, multiple graphs - 2 Graphs - Sequential and op switching based on complexity and priority 3. Multiple clients, one graph(Multiple ops or single op) - Parallel distribution 4. Multiple clients, multiple graphs - Parallel and op switch...
20.433333
104
0.699837
87
613
4.885057
0.551724
0.042353
0.065882
0.089412
0.197647
0.197647
0.197647
0.197647
0
0
0
0.044211
0.225122
613
29
105
21.137931
0.850526
0.787928
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
474e2c2cffde5d944de5e5ade7c4846793b166fe
936
py
Python
ProjectEuler/python/prob52.py
yuriyshapovalov/Prototypes
1fc4af4434440a8f59a4bcb486e79fd53d199a7d
[ "Apache-2.0" ]
null
null
null
ProjectEuler/python/prob52.py
yuriyshapovalov/Prototypes
1fc4af4434440a8f59a4bcb486e79fd53d199a7d
[ "Apache-2.0" ]
1
2015-03-25T22:35:52.000Z
2015-03-25T22:35:52.000Z
ProjectEuler/python/prob52.py
yuriyshapovalov/Prototypes
1fc4af4434440a8f59a4bcb486e79fd53d199a7d
[ "Apache-2.0" ]
null
null
null
# projecteuler.net/problem=52 def main(): answer = PermutatedMul() print("Answer: {}".format(answer)) def PermutatedMul(): i = 1 muls = [2,3,4,5,6] while True: found = True i += 1 si = list(str(i)) ops = list(map(lambda x: x * i, muls)) for...
20.347826
47
0.383547
98
936
3.581633
0.438776
0.059829
0.045584
0.062678
0.14245
0.14245
0
0
0
0
0
0.019523
0.507479
936
45
48
20.8
0.741866
0.063034
0
0.28125
0
0
0.021713
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.09375
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4758dfe5703e89e1e08c8fe2e1fff2fb955ef06e
10,387
py
Python
events/models.py
matus-stehlik/roots
9741660296040c7c98430bf7d7fdf979aec649bb
[ "MIT" ]
null
null
null
events/models.py
matus-stehlik/roots
9741660296040c7c98430bf7d7fdf979aec649bb
[ "MIT" ]
null
null
null
events/models.py
matus-stehlik/roots
9741660296040c7c98430bf7d7fdf979aec649bb
[ "MIT" ]
null
null
null
from django.db import models from django.core.validators import MaxValueValidator from django.core.exceptions import ValidationError from django.utils.timezone import now from django.utils.translation import ugettext_lazy as _ from base.util import with_timestamp, with_author # Event-related models @with_author @wit...
36.191638
80
0.599499
1,041
10,387
5.68684
0.225744
0.063176
0.033108
0.014358
0.345608
0.285642
0.216554
0.20473
0.159459
0.139527
0
0.001407
0.315587
10,387
286
81
36.318182
0.831341
0.168961
0
0.286486
0
0
0.163051
0.05435
0
0
0
0.003497
0
1
0.113514
false
0
0.032432
0.102703
0.437838
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
4762d6cd2698a4675586d2262e9d5c4035d38fd3
2,872
py
Python
wsu/tools/simx/simx/python/simx/act/msg/React.py
tinyos-io/tinyos-3.x-contrib
3aaf036722a2afc0c0aad588459a5c3e00bd3c01
[ "BSD-3-Clause", "MIT" ]
1
2020-02-28T20:35:09.000Z
2020-02-28T20:35:09.000Z
wsu/tools/simx/simx/python/simx/act/msg/React.py
tinyos-io/tinyos-3.x-contrib
3aaf036722a2afc0c0aad588459a5c3e00bd3c01
[ "BSD-3-Clause", "MIT" ]
null
null
null
wsu/tools/simx/simx/python/simx/act/msg/React.py
tinyos-io/tinyos-3.x-contrib
3aaf036722a2afc0c0aad588459a5c3e00bd3c01
[ "BSD-3-Clause", "MIT" ]
null
null
null
from ..mig.python import ReactBase from ..mig.python.ReactConst import ReactConst MAX_PAYLOAD = ReactConst.MAX_REACT_PAYLOAD class Msg(ReactBase.Msg): global __HLEN __HLEN = ReactBase.Msg().offset_payload_start_byte() def __init__(self, data=chr(0)*__HLEN, addr=None, gid=None, base_offse...
32.269663
78
0.595404
365
2,872
4.487671
0.279452
0.039072
0.021978
0.018315
0.020757
0
0
0
0
0
0
0.004525
0.307451
2,872
88
79
32.636364
0.819005
0.017758
0
0
0
0
0.056313
0
0
0
0
0
0.037037
0
null
null
0
0.037037
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
47648639c2449db46c809156ea1e1fccd8015f7b
668
py
Python
Code/blogs-code/ThirdLibraries/PyMySQL_operation/select_data.py
huangyonghome/blog
6f419ea6e466adac5f45aa8b9373c196d69fca31
[ "Apache-2.0" ]
38
2018-01-12T00:38:49.000Z
2021-06-27T06:27:10.000Z
Code/blogs-code/ThirdLibraries/PyMySQL_operation/select_data.py
huangyonghome/blog
6f419ea6e466adac5f45aa8b9373c196d69fca31
[ "Apache-2.0" ]
null
null
null
Code/blogs-code/ThirdLibraries/PyMySQL_operation/select_data.py
huangyonghome/blog
6f419ea6e466adac5f45aa8b9373c196d69fca31
[ "Apache-2.0" ]
24
2018-02-23T03:43:55.000Z
2021-09-16T03:48:13.000Z
#!/usr/bin/env python # -*- coding:utf-8 -*- # Author:Lyon import pymysql.cursors # Connect to the database connection = pymysql.connect(host='localhost', port=3306, user='root', password='myroot', db='my...
30.363636
47
0.486527
59
668
5.474576
0.779661
0.055728
0
0
0
0
0
0
0
0
0
0.017632
0.405689
668
22
48
30.363636
0.79597
0.115269
0
0
0
0
0.090136
0
0
0
0
0
0
1
0
false
0.055556
0.055556
0
0.055556
0.111111
0
0
0
null
0
0
0
0
0
0
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
476838153c0dac6f6cf18e501a75cce905774131
6,939
py
Python
dataset.py
ninnart-fuengfusin/convolutional-autoencoder-for-anomaly-detection
802dbe85b0fc07e5ab8ed71716ff8c5ad27b98de
[ "MIT" ]
2
2020-06-02T07:29:57.000Z
2021-01-03T12:32:11.000Z
dataset.py
ninnartfuengfusin/convolutional-anomaly-detection-autoencoder
802dbe85b0fc07e5ab8ed71716ff8c5ad27b98de
[ "MIT" ]
null
null
null
dataset.py
ninnartfuengfusin/convolutional-anomaly-detection-autoencoder
802dbe85b0fc07e5ab8ed71716ff8c5ad27b98de
[ "MIT" ]
null
null
null
import tensorflow as tf import numpy as np def load_cifar10(num_batch_train, num_batch_test, mode='RGB'): """Load CIFAR-10 dataset with Tensorflow built-in function. Generate and shuffle CIFAR-10 iterators via using tf.data.Data. :param num_batch_train: An integer. :param num_batch_test: An integer. ...
45.352941
118
0.667099
1,048
6,939
4.212786
0.181298
0.047339
0.026501
0.032616
0.559456
0.523443
0.474745
0.426048
0.387769
0.368743
0
0.014444
0.22179
6,939
152
119
45.651316
0.803148
0.368209
0
0.285714
1
0
0.032588
0.00999
0
0
0
0
0.065934
1
0.065934
false
0.032967
0.021978
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
476db876a8e74ff06fc64b89cd349160f1b5eb10
4,648
py
Python
zubhub_backend/zubhub/projects/admin.py
NdibeRaymond/zubhub
23907202af4f4f4f85a108ed15e811abb3d22407
[ "MIT" ]
1
2022-01-21T14:15:24.000Z
2022-01-21T14:15:24.000Z
zubhub_backend/zubhub/projects/admin.py
NdibeRaymond/zubhub
23907202af4f4f4f85a108ed15e811abb3d22407
[ "MIT" ]
null
null
null
zubhub_backend/zubhub/projects/admin.py
NdibeRaymond/zubhub
23907202af4f4f4f85a108ed15e811abb3d22407
[ "MIT" ]
null
null
null
from django.contrib import admin from treebeard.admin import TreeAdmin from treebeard.forms import movenodeform_factory from django.conf import settings from .models import (Project, Comment, Image, StaffPick, Category, Tag, PublishingRule) from .utils import project_changed, send_staff_pick_notifi...
31.405405
123
0.664587
540
4,648
5.507407
0.248148
0.039341
0.03766
0.036315
0.372562
0.318763
0.279085
0.222932
0.197714
0.123067
0
0.005562
0.226334
4,648
147
124
31.619048
0.821468
0.028184
0
0.254717
0
0
0.123336
0
0
0
0
0
0
1
0.103774
false
0
0.075472
0.056604
0.669811
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
477619c87a320cb885ac1891ac0686e1491c277e
5,535
py
Python
ganyu_artifact_optimizer.py
muakasan/genshin
f1d03127da4af2e73784bdb4185f753f7f5e1892
[ "MIT" ]
2
2021-11-02T22:53:25.000Z
2021-12-05T23:20:19.000Z
ganyu_artifact_optimizer.py
muakasan/genshin
f1d03127da4af2e73784bdb4185f753f7f5e1892
[ "MIT" ]
null
null
null
ganyu_artifact_optimizer.py
muakasan/genshin
f1d03127da4af2e73784bdb4185f753f7f5e1892
[ "MIT" ]
2
2021-07-10T07:51:59.000Z
2022-01-28T12:02:21.000Z
from utils import calc_dmg, calc_dmg_obj, avg_crit_dmg, calc_avg_crit_dmg_obj, AttrObj, DmgTag from artifacts import avg_artifact_substat, SubstatType from copy import deepcopy # list of damage applications, tags, # combo as a list of damage applications with tags celestial_shower_hits_per_enemy = 12 a1_pass...
45.743802
189
0.658356
838
5,535
4.070406
0.23747
0.028731
0.01759
0.04251
0.262093
0.195251
0.132512
0.113163
0.097332
0.097332
0
0.057068
0.24336
5,535
121
190
45.743802
0.757402
0.098645
0
0
0
0
0
0
0
0
0
0
0
1
0.015873
false
0.095238
0.047619
0
0.079365
0.095238
0
0
0
null
0
0
0
0
0
0
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
47771c5c4ddfb3224945f4a57b35843f4654801f
4,128
py
Python
archive/Keras_archive.py
chrisgschon/DengAI
f23b6a646917d5adfd62ffc4ab8e4912ff3e79e4
[ "MIT" ]
5
2018-08-06T16:03:52.000Z
2019-11-22T13:04:59.000Z
archive/Keras_archive.py
chrisgschon/DengAI
f23b6a646917d5adfd62ffc4ab8e4912ff3e79e4
[ "MIT" ]
null
null
null
archive/Keras_archive.py
chrisgschon/DengAI
f23b6a646917d5adfd62ffc4ab8e4912ff3e79e4
[ "MIT" ]
1
2019-10-09T02:34:38.000Z
2019-10-09T02:34:38.000Z
#from sklearn.preprocessing import MinMaxScaler #scaler = MinMaxScaler(feature_range=(0, 1)) #X_tr_sj = scaler.fit_transform(X_tr_sj) # split into train and test sets values = X_tr_sj_wide.values n_train = values.shape[0] - 50 train = values[:n_train, :] val = values[n_train:, :] # split into input and outputs train_X...
45.362637
179
0.73813
728
4,128
3.81456
0.142857
0.041412
0.027728
0.039611
0.592726
0.530789
0.422038
0.404033
0.328412
0.265754
0
0.018878
0.088905
4,128
91
180
45.362637
0.71949
0.093023
0
0
0
0
0.142742
0.014489
0
0
0
0
0
0
null
null
0
0.017544
null
null
0.017544
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4783a30c8a37accbfa18b4a2808c790e960fdfe2
2,263
py
Python
todo/views.py
incomparable/Django
ba2f38f694b1055215559c4ca4173c245918fabf
[ "Apache-2.0" ]
null
null
null
todo/views.py
incomparable/Django
ba2f38f694b1055215559c4ca4173c245918fabf
[ "Apache-2.0" ]
null
null
null
todo/views.py
incomparable/Django
ba2f38f694b1055215559c4ca4173c245918fabf
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render, redirect from django.http import HttpResponse # Create your views here. from .models import Todo1 def index(request): todo = Todo1.objects.all()[:50] context = { 'todos': todo } # return HttpResponse('hello world!') return render(request, 'index.html',...
24.333333
54
0.564737
254
2,263
5.031496
0.181102
0.094679
0.104069
0.086072
0.523474
0.413146
0.413146
0.334116
0.291862
0.195618
0
0.00691
0.296509
2,263
92
55
24.597826
0.795854
0.026072
0
0.506667
0
0
0.083144
0
0
0
0
0
0
0
null
null
0.04
0.04
null
null
0.053333
0
0
0
null
0
0
0
0
0
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
4787827d24ed243f96ba600d8c4760ce638acd26
7,632
py
Python
qnm/nearby.py
lmagana3/qnm
dec97f84d4cac83cc79e9748a3cf2cf731b03ba8
[ "MIT" ]
23
2019-03-11T13:51:01.000Z
2022-01-23T11:38:12.000Z
qnm/nearby.py
lmagana3/qnm
dec97f84d4cac83cc79e9748a3cf2cf731b03ba8
[ "MIT" ]
25
2019-02-15T16:03:34.000Z
2021-11-18T17:18:56.000Z
qnm/nearby.py
lmagana3/qnm
dec97f84d4cac83cc79e9748a3cf2cf731b03ba8
[ "MIT" ]
10
2019-02-17T20:15:47.000Z
2022-01-22T18:06:23.000Z
""" Find a nearby root of the coupled radial/angular Teukolsky equations. TODO Documentation. """ from __future__ import division, print_function, absolute_import import logging import numpy as np from scipy import optimize from .angular import sep_const_closest, C_and_sep_const_closest from . import radial # TOD...
33.92
101
0.558307
992
7,632
4.167339
0.263105
0.028302
0.016933
0.007257
0.104257
0.088534
0.047896
0.035317
0.035317
0.035317
0
0.012771
0.353643
7,632
224
102
34.071429
0.825258
0.451258
0
0.050633
0
0
0.017314
0
0
0
0
0.017857
0
1
0.088608
false
0
0.075949
0
0.227848
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
1
0
0
0
0
0
0
0
0
0
0
1
478b9ba239d9469fe043cd226756ba1dc4315716
410
py
Python
test.py
guangrei/pytanggalmerah
d2894a04026ae34bb9234ea7ca2e9f034e078c35
[ "MIT" ]
5
2019-01-06T13:21:04.000Z
2021-03-10T03:59:10.000Z
test.py
guangrei/pytanggalmerah
d2894a04026ae34bb9234ea7ca2e9f034e078c35
[ "MIT" ]
null
null
null
test.py
guangrei/pytanggalmerah
d2894a04026ae34bb9234ea7ca2e9f034e078c35
[ "MIT" ]
1
2019-01-06T15:05:52.000Z
2019-01-06T15:05:52.000Z
# -*- coding: utf-8 -*- from pytanggalmerah import TanggalMerah import unittest class TanggalMerahTest(unittest.TestCase): @classmethod def setUpClass(cls): cls.t = TanggalMerah() # end setUpClass() def test_check(self): self.assertFalse(self.t.check()) def test_check2(self): self.t.set_date("2019", "...
19.52381
42
0.702439
52
410
5.326923
0.596154
0.054152
0.072202
0
0
0
0
0
0
0
0
0.028409
0.141463
410
21
43
19.52381
0.758523
0.092683
0
0
0
0
0.043243
0
0
0
0
0
0.153846
1
0.230769
false
0
0.153846
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
47916994161d11003ea51a073d7e6963512388db
2,980
py
Python
vectorize_validation.py
zygmuntz/kaggle-happiness
ea5f181673d11c8acce115fc68301b5ea4f3a383
[ "MIT" ]
40
2015-01-24T03:08:37.000Z
2021-02-16T01:45:49.000Z
vectorize_validation.py
vasulakkaraju/kaggle-happiness
ea5f181673d11c8acce115fc68301b5ea4f3a383
[ "MIT" ]
null
null
null
vectorize_validation.py
vasulakkaraju/kaggle-happiness
ea5f181673d11c8acce115fc68301b5ea4f3a383
[ "MIT" ]
31
2015-01-06T13:06:39.000Z
2020-01-15T08:10:07.000Z
""" vectorize categorical variables optionally train an SVM and a random forest, get validation AUC importing from another script: from vectorize_validation import y_train, x_train, y_test, x_test """ import numpy as np import pandas as pd import sqlite3 from math import sqrt from sklearn.feature_extraction import D...
22.748092
103
0.710403
483
2,980
4.146998
0.302277
0.01997
0.022466
0.023964
0.124314
0.084873
0.068897
0.068897
0.034948
0.034948
0
0.039967
0.177181
2,980
130
104
22.923077
0.776917
0.139933
0
0.032258
0
0
0.067267
0.009854
0
0
0
0
0
0
null
null
0
0.129032
null
null
0.064516
0
0
0
null
0
0
0
0
0
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
4793baf93d9f2e4cc9f300ea8a674caeef8c7c26
2,500
py
Python
check_replace.py
azi-v/fScaner
9029c4d22aad325c39723b1725b01347c9874b5d
[ "Apache-2.0" ]
null
null
null
check_replace.py
azi-v/fScaner
9029c4d22aad325c39723b1725b01347c9874b5d
[ "Apache-2.0" ]
null
null
null
check_replace.py
azi-v/fScaner
9029c4d22aad325c39723b1725b01347c9874b5d
[ "Apache-2.0" ]
null
null
null
import os class Scaner(object): def __init__(self) -> None: super().__init__() self.current_work_dir = "" self.all_filepath = [] def get_current_work_dir(self): self.current_work_dir = os.path.dirname(__file__) def get_all_filepath(self, dir_path: str, ignore_path_set: se...
33.333333
80
0.5852
319
2,500
4.206897
0.250784
0.083458
0.09389
0.025335
0.09687
0.067064
0
0
0
0
0
0.003484
0.3112
2,500
74
81
33.783784
0.775842
0.016
0
0.035088
0
0
0.047521
0.015289
0
0
0
0.013514
0
1
0.122807
false
0.017544
0.017544
0
0.192982
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
1
0
0
0
0
0
0
0
0
0
0
1
479465b95cb9d268782a9bce4192024eaff54681
1,018
py
Python
tests/unit/models/test_vpg_model.py
atsgen/tf-vcenter-fabric-manager
bb2cf0a0f80464457e1b884847df77a11259077c
[ "Apache-2.0" ]
1
2022-03-13T06:31:49.000Z
2022-03-13T06:31:49.000Z
tests/unit/models/test_vpg_model.py
atsgen/tf-vcenter-fabric-manager
bb2cf0a0f80464457e1b884847df77a11259077c
[ "Apache-2.0" ]
null
null
null
tests/unit/models/test_vpg_model.py
atsgen/tf-vcenter-fabric-manager
bb2cf0a0f80464457e1b884847df77a11259077c
[ "Apache-2.0" ]
1
2020-08-25T12:44:56.000Z
2020-08-25T12:44:56.000Z
from cvfm import models import mock def test_to_vnc_vpg(): vpg_model = models.VirtualPortGroupModel( "vpg_uuid", "host_name", "dvs_name" ) fabric = mock.Mock() fabric.fq_name = ["a", "b"] vnc_vpg = vpg_model.to_vnc_vpg(fabric) assert vnc_vpg.name == "host_name_dvs_name" assert vn...
29.085714
75
0.698428
161
1,018
4.062112
0.223602
0.09633
0.073395
0.079511
0.33945
0.285933
0.285933
0.217125
0
0
0
0.022406
0.166994
1,018
34
76
29.941176
0.748821
0
0
0
0
0
0.11002
0.021611
0
0
0
0
0.416667
1
0.125
false
0
0.083333
0
0.208333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
479568092aa7ff28369aefab56298b95a00e94c0
635
py
Python
plant_disease_classification_models/__init__.py
abdullahselek/plant-disease-classification-models
3553a10014876858dc3b77db378ecf4ebd8de4f4
[ "MIT" ]
1
2021-01-10T09:42:27.000Z
2021-01-10T09:42:27.000Z
plant_disease_classification_models/__init__.py
abdullahselek/plant-disease-classification-models
3553a10014876858dc3b77db378ecf4ebd8de4f4
[ "MIT" ]
null
null
null
plant_disease_classification_models/__init__.py
abdullahselek/plant-disease-classification-models
3553a10014876858dc3b77db378ecf4ebd8de4f4
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ML models for plant disease classification.""" from __future__ import absolute_import __author__ = "Abdullah Selek" __email__ = "abdullahselek@gmail.com" __copyright__ = "Copyright (c) 2020 Abdullah Selek" __license__ = "MIT License" __version__ = "0.1.0" __url__ = "https://github.com/abdull...
30.238095
81
0.784252
78
635
5.782051
0.602564
0.10643
0.230599
0.070953
0.181818
0.181818
0.181818
0
0
0
0
0.01406
0.103937
635
20
82
31.75
0.778559
0.100787
0
0
0
0
0.484956
0.040708
0
0
0
0
0
1
0.083333
false
0
0.166667
0.083333
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
479602293686d7e09933d8b2331b98846b7d9378
663
py
Python
gevent_flask.py
YiNanXiangBei/mine_blog
0a539b3956cfd9118387f7de9746d86636d5f491
[ "Apache-2.0" ]
null
null
null
gevent_flask.py
YiNanXiangBei/mine_blog
0a539b3956cfd9118387f7de9746d86636d5f491
[ "Apache-2.0" ]
null
null
null
gevent_flask.py
YiNanXiangBei/mine_blog
0a539b3956cfd9118387f7de9746d86636d5f491
[ "Apache-2.0" ]
2
2018-07-26T05:40:23.000Z
2018-07-30T06:59:48.000Z
# -*- coding: utf8 -*- # @author: yinan # @time: 18-8-28 下午2:53 # @filename: gevent_tornado.py.py import gevent.pywsgi from gevent import monkey monkey.patch_all() from logging.config import dictConfig from flask_cors import CORS from application import app, configs from application.controllers.client_controller import...
28.826087
62
0.782805
88
663
5.670455
0.522727
0.09018
0.104208
0
0
0
0
0
0
0
0
0.021922
0.105581
663
23
63
28.826087
0.819562
0.134238
0
0
0
0
0.031579
0
0
0
0
0
0
1
0
false
0
0.4375
0
0.4375
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
479c005fac86f92211f10d01f47fcb1b4016d1f2
3,523
py
Python
personal_site/forum/models.py
gorel/personal-site
be84afd8f970dfade9ee03ea87cce1dcb8fb5042
[ "MIT" ]
null
null
null
personal_site/forum/models.py
gorel/personal-site
be84afd8f970dfade9ee03ea87cce1dcb8fb5042
[ "MIT" ]
null
null
null
personal_site/forum/models.py
gorel/personal-site
be84afd8f970dfade9ee03ea87cce1dcb8fb5042
[ "MIT" ]
null
null
null
import datetime import flask import markdown from personal_site import constants, db from personal_site.forum import utils class PostFollow(db.Model): __tablename__ = "post_follow" id = db.Column(db.Integer, primary_key=True) user_id = db.Column(db.Integer, db.ForeignKey("user.id")) post_id = db.Col...
34.203883
88
0.671871
487
3,523
4.669405
0.193018
0.070361
0.087951
0.074758
0.632366
0.632366
0.611258
0.611258
0.596746
0.580475
0
0.001445
0.214306
3,523
102
89
34.539216
0.820087
0.02214
0
0.551282
0
0
0.040093
0
0
0
0
0
0
1
0.115385
false
0
0.064103
0
0.589744
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
47a0e38b0f01a9b3cd33929238e2f208c17572b9
851
py
Python
graphalchemy/tests/abstract.py
chiffa/graphalchemy
147cdcedf62927376f94f54c56ccf9a0dbd4a46d
[ "Apache-2.0" ]
1
2015-11-02T20:03:41.000Z
2015-11-02T20:03:41.000Z
graphalchemy/tests/abstract.py
chiffa/graphalchemy
147cdcedf62927376f94f54c56ccf9a0dbd4a46d
[ "Apache-2.0" ]
null
null
null
graphalchemy/tests/abstract.py
chiffa/graphalchemy
147cdcedf62927376f94f54c56ccf9a0dbd4a46d
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python #-*- coding: utf-8 -*- # ============================================================================== # IMPORTS # ============================================================================== from unittest import TestCase # Services from graphalchemy.ogm...
30.392857
80
0.349001
47
851
6.297872
0.744681
0
0
0
0
0
0
0
0
0
0
0.00753
0.219741
851
28
81
30.392857
0.438253
0.628672
0
0
0
0
0.204778
0.088737
0
0
0
0
0
1
0
false
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
47a1510a39ec8cfc0b44b143b691e51f33f290a8
708
py
Python
unity_scripts/mycobot_trajectory_publisher.py
Sigafonl/mycobot_pro_builder
e6d4dd650b1ec22bfb297d7d2ee7dfb7b52f11d4
[ "MIT" ]
null
null
null
unity_scripts/mycobot_trajectory_publisher.py
Sigafonl/mycobot_pro_builder
e6d4dd650b1ec22bfb297d7d2ee7dfb7b52f11d4
[ "MIT" ]
null
null
null
unity_scripts/mycobot_trajectory_publisher.py
Sigafonl/mycobot_pro_builder
e6d4dd650b1ec22bfb297d7d2ee7dfb7b52f11d4
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Subscribes to SourceDestination topic. Uses MoveIt to compute a trajectory from the target to the destination. Trajectory is then published to PickAndPlaceTrajectory topic. """ import rospy import math from builderbot_mycobot.msg import MyCobotMoveitJoints, EulerJoints from moveit...
25.285714
75
0.745763
89
708
5.775281
0.662921
0.035019
0
0
0
0
0
0
0
0
0
0
0.163842
708
27
76
26.222222
0.868243
0.367232
0
0
0
0
0.105386
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
47b1c123bab031be52075c78db9b8652adb3df5e
1,178
py
Python
otcextensions/sdk/identity/v3/security_token.py
artem-lifshits/python-otcextensions
2021da124f393e0429dd5913a3bc635e6143ba1e
[ "Apache-2.0" ]
10
2018-03-03T17:59:59.000Z
2020-01-08T10:03:00.000Z
otcextensions/sdk/identity/v3/security_token.py
artem-lifshits/python-otcextensions
2021da124f393e0429dd5913a3bc635e6143ba1e
[ "Apache-2.0" ]
208
2020-02-10T08:27:46.000Z
2022-03-29T15:24:21.000Z
otcextensions/sdk/identity/v3/security_token.py
artem-lifshits/python-otcextensions
2021da124f393e0429dd5913a3bc635e6143ba1e
[ "Apache-2.0" ]
15
2020-04-01T20:45:54.000Z
2022-03-23T12:45:43.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
32.722222
75
0.728353
158
1,178
5.367089
0.613924
0.070755
0.03066
0.037736
0
0
0
0
0
0
0
0.007307
0.186757
1,178
35
76
33.657143
0.877871
0.549236
0
0
0
0
0.162109
0.066406
0
0
0
0
0
1
0
false
0
0.181818
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
47b4a09b85b57dad6f0f301a91ef59273a385872
379
py
Python
topobank/analysis/migrations/0004_auto_20191007_1135.py
ContactEngineering/TopoBank
12710c24cc158801db20f030c3e0638060e24a0e
[ "MIT", "BSD-3-Clause" ]
3
2021-12-03T19:11:07.000Z
2021-12-27T17:14:39.000Z
topobank/analysis/migrations/0004_auto_20191007_1135.py
ContactEngineering/TopoBank
12710c24cc158801db20f030c3e0638060e24a0e
[ "MIT", "BSD-3-Clause" ]
268
2021-03-19T13:57:00.000Z
2022-03-31T20:58:26.000Z
topobank/analysis/migrations/0004_auto_20191007_1135.py
ContactEngineering/TopoBank
12710c24cc158801db20f030c3e0638060e24a0e
[ "MIT", "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.1.11 on 2019-10-07 09:35 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('analysis', '0003_auto_20190909_1400'), ] operations = [ migrations.AlterUniqueTogether( name='version', unique_together={('...
21.055556
72
0.604222
38
379
5.921053
0.894737
0
0
0
0
0
0
0
0
0
0
0.114695
0.263852
379
17
73
22.294118
0.691756
0.121372
0
0
1
0
0.190332
0.069486
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
47c72d9342c6e62e9943cd8a6c866bd185e3ad8d
822
py
Python
evap/evaluation/migrations/0045_populate_course_types.py
felixrindt/EvaP
fe65fcc511cc942695ce1edbaab170894f0d37b1
[ "MIT" ]
29
2020-02-28T23:03:41.000Z
2022-02-19T09:29:36.000Z
evap/evaluation/migrations/0045_populate_course_types.py
felixrindt/EvaP
fe65fcc511cc942695ce1edbaab170894f0d37b1
[ "MIT" ]
737
2015-01-02T17:43:25.000Z
2018-12-10T20:45:10.000Z
evap/evaluation/migrations/0045_populate_course_types.py
felixrindt/EvaP
fe65fcc511cc942695ce1edbaab170894f0d37b1
[ "MIT" ]
83
2015-01-14T12:39:41.000Z
2018-10-29T16:36:43.000Z
# Generated by Django 1.9 on 2016-02-21 18:21 from django.db import migrations def populate_course_types(apps, _schema_editor): Course = apps.get_model('evaluation', 'Course') CourseType = apps.get_model('evaluation', 'CourseType') for course in Course.objects.all(): course.type = CourseType.obj...
25.6875
86
0.698297
103
822
5.339806
0.427184
0.090909
0.065455
0.12
0.356364
0.356364
0.356364
0.356364
0.221818
0.221818
0
0.026987
0.188564
822
31
87
26.516129
0.797601
0.052311
0
0.315789
1
0
0.113256
0.033462
0
0
0
0
0
1
0.105263
false
0
0.052632
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
47d82ab4b372e588bb0ad6860a7037fb505889a5
789
py
Python
tests/test_02_dxf_graphics/test_254_get_font_name.py
jkjt/ezdxf
2acc5611b81476ea16b98063b9f55446a9182b81
[ "MIT" ]
null
null
null
tests/test_02_dxf_graphics/test_254_get_font_name.py
jkjt/ezdxf
2acc5611b81476ea16b98063b9f55446a9182b81
[ "MIT" ]
null
null
null
tests/test_02_dxf_graphics/test_254_get_font_name.py
jkjt/ezdxf
2acc5611b81476ea16b98063b9f55446a9182b81
[ "MIT" ]
null
null
null
# Copyright (c) 2021, Manfred Moitzi # License: MIT License import pytest import ezdxf from ezdxf.entities import get_font_name, DXFEntity @pytest.fixture(scope="module") def msp(): doc = ezdxf.new() doc.styles.add("ARIAL", font="arial.ttf") return doc.modelspace() def test_get_font_name_for_entity_w...
23.909091
70
0.703422
114
789
4.517544
0.421053
0.095146
0.149515
0.081553
0.27767
0.27767
0.15534
0.15534
0
0
0
0.006006
0.155894
789
32
71
24.65625
0.767267
0.070976
0
0
0
0
0.144033
0
0
0
0
0
0.157895
1
0.210526
false
0
0.157895
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
47d87b1f58dce8ef0092810a572a084167336b17
3,476
py
Python
utils/config.py
stevehuanghe/SCA-CNN
3618620615255f6535ccc97e5d095aabf31ebfc5
[ "Apache-2.0" ]
34
2018-10-21T01:15:14.000Z
2022-02-21T07:55:47.000Z
utils/config.py
stevehuanghe/image_captioning
3618620615255f6535ccc97e5d095aabf31ebfc5
[ "Apache-2.0" ]
9
2018-12-11T12:11:26.000Z
2022-01-04T13:09:28.000Z
utils/config.py
stevehuanghe/SCA-CNN
3618620615255f6535ccc97e5d095aabf31ebfc5
[ "Apache-2.0" ]
11
2019-02-14T02:34:23.000Z
2020-12-23T03:33:55.000Z
import argparse import pprint parser = argparse.ArgumentParser(description='argument parser') # Misc parser.add_argument('--ckpt_dir', type=str, default='./checkpoints/', help='path for saving trained models') parser.add_argument('--ckpt_path', type=str, default='./checkpoints/scacnn-model-10....
47.616438
89
0.630898
437
3,476
4.89016
0.292906
0.105288
0.198877
0.042115
0.28919
0.178755
0.154422
0.117922
0.043051
0.043051
0
0.016804
0.229574
3,476
72
90
48.277778
0.78118
0.008918
0
0.035088
0
0
0.388485
0.03344
0
0
0
0
0
1
0.017544
false
0
0.035088
0
0.052632
0.052632
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
47deb8c060ea692b929e76dd6b9bff2936b0ab05
4,012
py
Python
morningstar.py
Sachin-Kahandal/web_scraping
1670fee7f8d14e5e2103e02fdd598c7ce207b3cb
[ "MIT" ]
null
null
null
morningstar.py
Sachin-Kahandal/web_scraping
1670fee7f8d14e5e2103e02fdd598c7ce207b3cb
[ "MIT" ]
null
null
null
morningstar.py
Sachin-Kahandal/web_scraping
1670fee7f8d14e5e2103e02fdd598c7ce207b3cb
[ "MIT" ]
null
null
null
import requests from bs4 import BeautifulSoup from pandas import read_html from selenium import webdriver import time # This code renders javascript generated html # This requires to allow access to python of chrome webdriver options = webdriver.ChromeOptions() options.add_argument('--ignore-certificate-errors') optio...
39.333333
124
0.60992
524
4,012
4.601145
0.305344
0.049772
0.05309
0.066363
0.599336
0.510991
0.510991
0.49606
0.452509
0.452509
0
0.019874
0.247507
4,012
101
125
39.722772
0.778735
0.204885
0
0.485294
1
0.058824
0.28436
0.055608
0
0
0
0
0
1
0.044118
false
0
0.073529
0
0.205882
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
47e0c91cd4af065f8367f61266196c25197b7a37
10,916
py
Python
backend/migrations/0001_initial.py
crosspower/naruko
4c524e2ef955610a711830bc86d730ffe4fc2bd8
[ "MIT" ]
17
2019-01-23T04:37:43.000Z
2019-10-15T01:42:31.000Z
backend/migrations/0001_initial.py
snickerjp/naruko
4c524e2ef955610a711830bc86d730ffe4fc2bd8
[ "MIT" ]
1
2019-01-23T08:04:44.000Z
2019-01-23T08:44:33.000Z
backend/migrations/0001_initial.py
snickerjp/naruko
4c524e2ef955610a711830bc86d730ffe4fc2bd8
[ "MIT" ]
6
2019-01-23T09:10:59.000Z
2020-12-02T04:15:41.000Z
# Generated by Django 2.1.2 on 2018-12-25 03:59 import backend.models.user from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0009_alter_user_last_name_max_length'), ('conten...
49.618182
257
0.581257
995
10,916
6.188945
0.171859
0.030692
0.046768
0.062358
0.636733
0.600195
0.512991
0.468171
0.431146
0.403378
0
0.010868
0.291957
10,916
219
258
49.844749
0.785871
0.004122
0
0.580189
1
0
0.215775
0.05831
0
0
0
0
0
1
0
false
0.004717
0.014151
0
0.033019
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
47e243669aa795fed11cf556dcba2269ed652a85
1,206
py
Python
tests/test_cli.py
phanama/aws-assume-role
83db39bb5a65639db85bb6fc6b8fb139911321bc
[ "MIT" ]
null
null
null
tests/test_cli.py
phanama/aws-assume-role
83db39bb5a65639db85bb6fc6b8fb139911321bc
[ "MIT" ]
4
2019-11-28T06:38:43.000Z
2019-12-09T13:10:15.000Z
tests/test_cli.py
phanama/aws-assume-role
83db39bb5a65639db85bb6fc6b8fb139911321bc
[ "MIT" ]
null
null
null
import unittest from click.testing import CliRunner from aws_assume_role.__main__ import main def cli_runner(*args): runner = CliRunner() return runner.invoke(main, *args) class TestCLI(unittest.TestCase): """ Test running the CLI """ def test_cli_without_args(self): result = cli_r...
27.409091
83
0.645937
156
1,206
4.826923
0.288462
0.12749
0.119522
0.159363
0.569721
0.50332
0.422311
0.422311
0.422311
0.305445
0
0.006623
0.248756
1,206
43
84
28.046512
0.824503
0.016584
0
0.321429
0
0
0.184615
0
0
0
0
0
0.428571
1
0.142857
false
0
0.107143
0
0.321429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
47e6dbf2c8ee3b091cd69ed38551f5c43f3c9616
623
py
Python
urls.py
mgax/djangodash
3abf33e52db4f1ca7cde8335bac61746417328df
[ "MIT" ]
1
2019-06-13T16:18:46.000Z
2019-06-13T16:18:46.000Z
urls.py
mgax/djangodash
3abf33e52db4f1ca7cde8335bac61746417328df
[ "MIT" ]
null
null
null
urls.py
mgax/djangodash
3abf33e52db4f1ca7cde8335bac61746417328df
[ "MIT" ]
null
null
null
from django.conf.urls.defaults import * from django.views.generic.simple import direct_to_template from django.contrib import admin from internets import urls as internets_urls from django.conf import settings admin.autodiscover() urlpatterns = patterns('', url(r'^$', 'django.views.generic.simple.direct_to_templat...
31.15
99
0.70947
81
623
5.358025
0.45679
0.092166
0.064516
0.110599
0
0
0
0
0
0
0
0
0.123596
623
19
100
32.789474
0.794872
0
0
0
0
0
0.226688
0.114148
0
0
0
0
0
1
0
false
0
0.3125
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
1
0
0
0
0
1
47f7f3cead061810a80c7dd85126c80be6c5c987
1,009
py
Python
profiles/models.py
juli212/kitchenin
aefd0e493442c36b2044753fb19e19ae789eae67
[ "MIT" ]
null
null
null
profiles/models.py
juli212/kitchenin
aefd0e493442c36b2044753fb19e19ae789eae67
[ "MIT" ]
null
null
null
profiles/models.py
juli212/kitchenin
aefd0e493442c36b2044753fb19e19ae789eae67
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save from django.dispatch import receiver from django.core.exceptions import ValidationError from datetime import date def AgeValidator(value): today = date.today() age = today.year - value.year - ((t...
28.828571
89
0.774034
142
1,009
5.401408
0.478873
0.065189
0.031291
0.057366
0.075619
0.075619
0
0
0
0
0
0.007839
0.114965
1,009
34
90
29.676471
0.851064
0
0
0.083333
0
0
0.04559
0
0
0
0
0
0
1
0.166667
false
0
0.25
0.041667
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
47fd1c707697ba0912cc91479ff7beca2d08583a
1,085
py
Python
code/ma2bea/util/args.py
hust-cec-2021/ma2bea
196f8de33cc4902bd9cb1fdd5400e41f9c275b55
[ "MIT" ]
null
null
null
code/ma2bea/util/args.py
hust-cec-2021/ma2bea
196f8de33cc4902bd9cb1fdd5400e41f9c275b55
[ "MIT" ]
1
2021-09-08T13:39:10.000Z
2021-09-09T03:43:06.000Z
code/ma2bea/util/args.py
hust-cec-2021/ma2bea
196f8de33cc4902bd9cb1fdd5400e41f9c275b55
[ "MIT" ]
null
null
null
import argparse import optimizer def get_args(): # create argument parser parser = argparse.ArgumentParser() # parameter for problem parser.add_argument('--seed', type=int, default=1) parser.add_argument('--algorithm', type=str, default='mto', choices=['mto']) parser.add_argument('--benchmark_...
30.138889
80
0.677419
139
1,085
5.165468
0.374101
0.137883
0.260446
0.050139
0
0
0
0
0
0
0
0.021277
0.176959
1,085
35
81
31
0.782755
0.108756
0
0
0
0
0.110532
0
0
0
0
0
0
1
0.047619
false
0
0.095238
0
0.190476
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
47ff91d07ec1b7ac5fafef67e0ef0ea8aa0be1f8
12,203
py
Python
node_modules/raven-js/docs/_sentryext/sentryext.py
kgomezstl/GHC-MATCH
42f0efbd4a81651d4f41fadeb8c5d64832e0e111
[ "MIT" ]
null
null
null
node_modules/raven-js/docs/_sentryext/sentryext.py
kgomezstl/GHC-MATCH
42f0efbd4a81651d4f41fadeb8c5d64832e0e111
[ "MIT" ]
null
null
null
node_modules/raven-js/docs/_sentryext/sentryext.py
kgomezstl/GHC-MATCH
42f0efbd4a81651d4f41fadeb8c5d64832e0e111
[ "MIT" ]
null
null
null
import re import os import sys import json import posixpath from urlparse import urljoin from docutils import nodes from docutils.io import StringOutput from docutils.nodes import document, section from sphinx import addnodes from sphinx.domains import Domain from sphinx.util.osutil import relative_uri from sphinx.bui...
35.473837
80
0.598214
1,356
12,203
5.182153
0.219027
0.010246
0.013662
0.016365
0.143589
0.076846
0.042123
0
0
0
0
0.00176
0.301729
12,203
343
81
35.577259
0.822908
0.020241
0
0.117216
0
0
0.057509
0.007758
0
0
0
0
0
0
null
null
0.003663
0.054945
null
null
0.003663
0
0
0
null
0
0
0
0
0
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
9a00332fdee9ef6427e66efcc4c9437562c30acc
983
py
Python
python-threatexchange/threatexchange/fetcher/apis/fb_threatexchange_signal.py
Samyakk123/ThreatExchange
447b5e9738aff5d1cc895f6208a0d3bc15a14ebc
[ "BSD-3-Clause" ]
1
2022-02-08T01:32:58.000Z
2022-02-08T01:32:58.000Z
python-threatexchange/threatexchange/fetcher/apis/fb_threatexchange_signal.py
Samyakk123/ThreatExchange
447b5e9738aff5d1cc895f6208a0d3bc15a14ebc
[ "BSD-3-Clause" ]
null
null
null
python-threatexchange/threatexchange/fetcher/apis/fb_threatexchange_signal.py
Samyakk123/ThreatExchange
447b5e9738aff5d1cc895f6208a0d3bc15a14ebc
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved """ Helper to allow you to hint at the ThreatExchange type string on SignalTypes """ import typing as t class HasFbThreatExchangeIndicatorType: """ A mixin to hint to fb_threatexchange_api how to handle this SignalType For example, ...
28.911765
84
0.692777
120
983
5.558333
0.625
0.136432
0.095952
0.056972
0
0
0
0
0
0
0
0
0.220753
983
33
85
29.787879
0.870757
0.53001
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9a015adcbac53aa98ffcba0036413d4d2844d99c
301
py
Python
test_image.py
ryanlieu/VQGAN-CLIP
90a33b214eba4323b6e3f02ff4ad615397445905
[ "MIT" ]
1
2022-02-22T18:10:28.000Z
2022-02-22T18:10:28.000Z
test_image.py
ryanlieu/VQGAN-CLIP
90a33b214eba4323b6e3f02ff4ad615397445905
[ "MIT" ]
null
null
null
test_image.py
ryanlieu/VQGAN-CLIP
90a33b214eba4323b6e3f02ff4ad615397445905
[ "MIT" ]
null
null
null
import urllib.request url = "https://cdn.discordapp.com/attachments/930209527306018888/937831833339580436/61df23528fe89.image.jpg" hdr = { 'User-Agent' : 'Mozilla/5.0 (Windows NT 6.1; Win64; x64)' } req = urllib.request.Request(url, headers=hdr) response = urllib.request.urlopen(req) response.read()
43
108
0.76412
40
301
5.75
0.775
0.169565
0
0
0
0
0
0
0
0
0
0.192029
0.083056
301
7
109
43
0.641304
0
0
0
0
0
0.496689
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9a0168c5fca91dd90eb3842c8c9a4ef9166b702e
630
py
Python
testing/pkg2/targetmod.py
mxr/pymonkey
f2e55590c7064019e928eddc41dad5d288722ce6
[ "MIT" ]
4
2018-04-02T18:10:02.000Z
2019-09-28T21:43:56.000Z
testing/pkg2/targetmod.py
mxr/pymonkey
f2e55590c7064019e928eddc41dad5d288722ce6
[ "MIT" ]
4
2016-05-05T02:08:59.000Z
2017-08-15T01:33:19.000Z
testing/pkg2/targetmod.py
mxr/pymonkey
f2e55590c7064019e928eddc41dad5d288722ce6
[ "MIT" ]
1
2018-04-09T15:14:33.000Z
2018-04-09T15:14:33.000Z
import sys import pytest import setuptools # Some weird import hook import six.moves # Assertion: can import modules with import hook hackery global_var = 1 def main(): assert setuptools and six.moves print(global_var) # Make sure we still get import errors for failing modules with pytest.raises...
21.724138
74
0.688889
85
630
4.870588
0.576471
0.048309
0.077295
0.130435
0.15942
0
0
0
0
0
0
0.00611
0.220635
630
28
75
22.5
0.837067
0.315873
0
0.125
0
0
0.089202
0
0
0
0
0
0.0625
1
0.0625
false
0
0.5
0
0.5625
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9a0dedb821f54493352051b9f823bf820101897c
4,859
py
Python
psono/restapi/views/security_report.py
dirigeant/psono-server
a18c5b3c4d8bbbe4ecf1615b210d99fb77752205
[ "Apache-2.0", "CC0-1.0" ]
48
2018-04-19T15:50:58.000Z
2022-01-23T15:58:11.000Z
psono/restapi/views/security_report.py
dirigeant/psono-server
a18c5b3c4d8bbbe4ecf1615b210d99fb77752205
[ "Apache-2.0", "CC0-1.0" ]
9
2018-09-13T14:56:18.000Z
2020-01-17T16:44:33.000Z
psono/restapi/views/security_report.py
dirigeant/psono-server
a18c5b3c4d8bbbe4ecf1615b210d99fb77752205
[ "Apache-2.0", "CC0-1.0" ]
11
2019-09-20T11:53:47.000Z
2021-07-18T22:41:31.000Z
from django.conf import settings from django.core.cache import cache from rest_framework import status from rest_framework.response import Response from rest_framework.generics import GenericAPIView from ..permissions import IsAuthenticated from ..authentication import TokenAuthentication from ..models import SecurityR...
42.622807
114
0.67483
527
4,859
5.950664
0.212524
0.09375
0.045599
0.062181
0.381696
0.304847
0.204401
0.204401
0.204401
0.143814
0
0.008212
0.248199
4,859
114
115
42.622807
0.85026
0.029224
0
0.061728
0
0
0.089849
0
0
0
0
0
0
1
0.049383
false
0.308642
0.123457
0.037037
0.283951
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
9a107e9d273003db8d2d304b601dc4d75dadc60d
9,985
py
Python
pyqtgraph/graphicsItems/PlotItem/plotConfigTemplate.py
robertsj/poropy
481a604339c9fa797817b2b0a55448329685c1d8
[ "MIT" ]
1
2018-02-11T11:24:14.000Z
2018-02-11T11:24:14.000Z
pyqtgraph/graphicsItems/PlotItem/plotConfigTemplate.py
robertsj/poropy
481a604339c9fa797817b2b0a55448329685c1d8
[ "MIT" ]
1
2018-06-12T16:15:31.000Z
2018-06-12T16:15:31.000Z
pyqtgraph/graphicsItems/PlotItem/plotConfigTemplate.py
robertsj/poropy
481a604339c9fa797817b2b0a55448329685c1d8
[ "MIT" ]
7
2015-03-27T16:58:07.000Z
2022-01-01T17:44:02.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'plotConfigTemplate.ui' # # Created: Sat Apr 21 14:42:02 2012 # by: PyQt4 UI code generator 4.8.5 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 exc...
65.690789
261
0.730596
1,060
9,985
6.824528
0.187736
0.098701
0.075477
0.087089
0.364943
0.160216
0.075892
0.075892
0.075892
0.075892
0
0.02892
0.155033
9,985
151
262
66.125828
0.828494
0.022233
0
0
1
0.021898
0.112979
0
0
0
0
0
0
1
0.014599
false
0.007299
0.007299
0
0.029197
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
9a13a61454dff9b0fa522ab7c953346804ea9cd5
9,398
py
Python
phylotyper/test/test_subtype.py
superphy/insilico-subtyping
1cf72ebd5a99cfdba56b4c8c16232ddf47b9994b
[ "Apache-2.0" ]
5
2017-08-28T16:51:15.000Z
2019-05-22T14:50:49.000Z
phylotyper/test/test_subtype.py
superphy/insilico-subtyping
1cf72ebd5a99cfdba56b4c8c16232ddf47b9994b
[ "Apache-2.0" ]
2
2018-03-11T23:43:05.000Z
2018-03-12T03:48:56.000Z
phylotyper/test/test_subtype.py
superphy/insilico-subtyping
1cf72ebd5a99cfdba56b4c8c16232ddf47b9994b
[ "Apache-2.0" ]
null
null
null
import csv import os import re import shutil import tempfile import unittest from phylotyper.config import PhylotyperOptions from phylotyper.run import subtype_pipeline from phylotyper.subtypes_index import SubtypeConfig class SubtypeTests(unittest.TestCase): def setUp(self): # Create temporary directory...
32.745645
114
0.610023
1,106
9,398
5.053345
0.149186
0.077653
0.090177
0.042584
0.662551
0.60798
0.603865
0.593308
0.593308
0.582215
0
0.015139
0.254948
9,398
287
115
32.745645
0.783062
0.04203
0
0.431818
0
0
0.105269
0.046563
0
0
0
0
0.056818
0
null
null
0.005682
0.051136
null
null
0.011364
0
0
0
null
0
0
0
0
0
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
9a213638c9a45c667b9cbdd268a17f770dd2cb11
2,157
py
Python
tasks/develop.py
wombat70/behave
c54493b0531795d946ac6754bfc643248cf3056a
[ "BSD-2-Clause" ]
13
2019-10-03T19:15:14.000Z
2019-10-16T02:01:57.000Z
tasks/develop.py
wombat70/behave
c54493b0531795d946ac6754bfc643248cf3056a
[ "BSD-2-Clause" ]
2
2020-03-21T22:37:54.000Z
2021-10-04T17:14:14.000Z
tasks/develop.py
fluendo/behave
eeffde083456dcf1a0ea9b6139b32091970118c0
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: UTF-8 -*- """ Development tasks """ from __future__ import absolute_import, print_function from invoke import Collection, task from invoke.util import cd from path import Path import requests # ----------------------------------------------------------------------------- # CONSTANTS: # -----------------...
37.842105
115
0.533148
205
2,157
5.473171
0.395122
0.213904
0.142603
0.046346
0
0
0
0
0
0
0
0.009719
0.1414
2,157
56
116
38.517857
0.596112
0.40612
0
0
0
0.038462
0.312298
0.084142
0
0
0
0
0.038462
1
0.038462
false
0
0.192308
0
0.230769
0.192308
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
9a21bffeee2108210598c075ca979093aabcc3a8
6,340
py
Python
tests/test_mean_average_precision.py
HongtaoYang/mean-average-precision
84a4b72f07e9143948319b75a2b50f1d371a0b11
[ "MIT" ]
null
null
null
tests/test_mean_average_precision.py
HongtaoYang/mean-average-precision
84a4b72f07e9143948319b75a2b50f1d371a0b11
[ "MIT" ]
null
null
null
tests/test_mean_average_precision.py
HongtaoYang/mean-average-precision
84a4b72f07e9143948319b75a2b50f1d371a0b11
[ "MIT" ]
null
null
null
import math import pytest import numpy as np from detection_mean_ap import ( BoxMeanAveragePrecision, PredictedBoundingBox, GroundTruthBoundingBox, ) from utils import string_to_boundingbox def test_mean_average_precision(): """ Two correct predictions for one ground truths. In this case even...
39.874214
102
0.660252
964
6,340
4.211618
0.137967
0.053448
0.071429
0.065025
0.730049
0.6867
0.666995
0.659852
0.645074
0.645074
0
0.083703
0.182177
6,340
158
103
40.126582
0.699325
0.137697
0
0.319588
0
0
0.031115
0.011809
0
0
0
0
0.092784
1
0.103093
false
0
0.051546
0
0.164948
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9a25706ae57e601b2c16925b47edbd5ccc185e14
15,181
py
Python
demographics/demographics.py
jkleve/Presidential-Prediction
5a9f7b0d5e954eb7c7f59a3a7f9081257c7f0268
[ "MIT" ]
null
null
null
demographics/demographics.py
jkleve/Presidential-Prediction
5a9f7b0d5e954eb7c7f59a3a7f9081257c7f0268
[ "MIT" ]
null
null
null
demographics/demographics.py
jkleve/Presidential-Prediction
5a9f7b0d5e954eb7c7f59a3a7f9081257c7f0268
[ "MIT" ]
null
null
null
import csv import numpy as np import sexmachine.detector as gender from sklearn import tree, neural_network import gender_detector import random import time import sys from demo_histograms import gen_histogram #NUM_FEATURES = 9 #NUM_FEATURES = 13 # with gender #NUM_FEATURES = 5 CANDIDATE_ID = 1 CANDIDATE_NAME = 2 CON...
27.402527
100
0.508728
1,918
15,181
3.91293
0.164234
0.058628
0.008794
0.013324
0.22958
0.2
0.152032
0.136709
0.118588
0.101932
0
0.047615
0.272314
15,181
553
101
27.45208
0.631755
0.181872
0
0.250737
0
0
0.051117
0
0
0
0
0.001808
0
0
null
null
0
0.026549
null
null
0.044248
0
0
0
null
0
0
0
0
0
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
9a29fa2bc7d9c6bc3b6a409e7ff7fe7c0cbced0d
277
py
Python
lib/models/client.py
TemporalSentinel/PyMUD
d55b6b0fe0942f46b4a973fd7c398683071be4e4
[ "MIT" ]
2
2020-01-16T14:55:04.000Z
2021-07-31T03:57:08.000Z
lib/models/client.py
TemporalSentinel/PyMUD
d55b6b0fe0942f46b4a973fd7c398683071be4e4
[ "MIT" ]
16
2020-01-14T11:59:22.000Z
2021-08-23T20:46:17.000Z
lib/models/client.py
TemporalSentinel/PyMUD
d55b6b0fe0942f46b4a973fd7c398683071be4e4
[ "MIT" ]
6
2020-01-14T11:40:51.000Z
2020-01-23T01:45:58.000Z
import uuid class Client(object): def __init__(self, socket): self.uuid = uuid.uuid4() self.socket = socket # TODO: I just want a client to represent a socket initially self.name = None self.player = None self.room = None
21.307692
68
0.599278
36
277
4.5
0.611111
0.123457
0
0
0
0
0
0
0
0
0
0.005319
0.3213
277
12
69
23.083333
0.856383
0.209386
0
0
0
0
0
0
0
0
0
0.083333
0
1
0.125
false
0
0.125
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
1
0
0
0
0
0
0
0
0
0
0
1
9a2e31699fd5c2ec8a19a090101165783fecf6eb
9,531
py
Python
recipes/Python/473881_splitandjoinpy/recipe-473881.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/473881_splitandjoinpy/recipe-473881.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/473881_splitandjoinpy/recipe-473881.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
import os # give access to os.path & os.remove import md5 # allows md5.md5(arg).digest() for file signature import time # gives access to time.sleep import random # gives access to random.randrange import thread # to start new threads import cPickle # ...
34.912088
109
0.570979
1,165
9,531
4.506438
0.225751
0.012571
0.016
0.019048
0.181143
0.088762
0.076571
0.063619
0.063619
0.063619
0
0.014838
0.335327
9,531
272
110
35.040441
0.813891
0.241842
0
0.213873
0
0
0.01977
0
0
0
0.000569
0
0.069364
0
null
null
0
0.046243
null
null
0.011561
0
0
0
null
0
0
0
0
0
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
9a31cf79eefa0c71c67d72afa3b1852ed49618e2
1,196
py
Python
algo_fun/Shanghai_news_scrape_for_my_mom.py
jialing3/corner_cases
54a316518fcf4b43ae96ed9935b4cf91ade1eed9
[ "Apache-2.0" ]
1
2015-05-29T08:40:48.000Z
2015-05-29T08:40:48.000Z
algo_fun/Shanghai_news_scrape_for_my_mom.py
jialing3/corner_cases
54a316518fcf4b43ae96ed9935b4cf91ade1eed9
[ "Apache-2.0" ]
null
null
null
algo_fun/Shanghai_news_scrape_for_my_mom.py
jialing3/corner_cases
54a316518fcf4b43ae96ed9935b4cf91ade1eed9
[ "Apache-2.0" ]
null
null
null
import urllib2 import bs4 from random import shuffle import os #from unicodedata import normalize url_base = 'http://www.weeklysh.com/eNews/Wap.aspx?ID=' ids = range(150340, 151531) shuffle(ids) i = ids.index(151414) ids = [ids[i]] + ids[:i] + ids[i+1:] os.chdir('/Users/jialing/Shanghai') for id in ids: page = u...
26.577778
80
0.580268
156
1,196
4.410256
0.487179
0.023256
0.030523
0.023256
0
0
0
0
0
0
0
0.036824
0.273411
1,196
44
81
27.181818
0.754891
0.085284
0
0.333333
0
0
0.081577
0.021082
0
0
0
0
0
0
null
null
0
0.102564
null
null
0.025641
0
0
0
null
0
0
0
0
0
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
9a359872d5a62aa9d252ce5a56b5845a7c170a92
2,340
py
Python
tests/preprocessor/errorGeneration/test_errorGeneration.py
eternalSeeker/pcc
c2b64c2b9e3f9374063854fff953c19efcdad514
[ "MIT" ]
1
2019-10-09T14:24:01.000Z
2019-10-09T14:24:01.000Z
tests/preprocessor/errorGeneration/test_errorGeneration.py
eternalSeeker/pcc
c2b64c2b9e3f9374063854fff953c19efcdad514
[ "MIT" ]
null
null
null
tests/preprocessor/errorGeneration/test_errorGeneration.py
eternalSeeker/pcc
c2b64c2b9e3f9374063854fff953c19efcdad514
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import subprocess from os.path import join, abspath, dirname # The parametrize function is generated, so it does not work to import import pytest import tests.generateOutputsDecorator from pcc.main import main parametrize = pytest.mark.parametrize generate_outputs = tests.generat...
33.913043
79
0.620085
278
2,340
4.989209
0.399281
0.045422
0.037491
0.024513
0.036049
0
0
0
0
0
0
0.001819
0.295299
2,340
68
80
34.411765
0.839297
0.105556
0
0
1
0
0.076809
0.016848
0
0
0
0
0.081633
1
0.040816
false
0
0.102041
0
0.163265
0.020408
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
9a55f7950ea1f5898d2469c03e6cdd24e493f16d
243
py
Python
A2OJ/(lt) 1300/borze.py
mayank-kumar-giri/Competitive-Coding
4cd26ede051bad15bf25cfd037317c313b607507
[ "MIT" ]
null
null
null
A2OJ/(lt) 1300/borze.py
mayank-kumar-giri/Competitive-Coding
4cd26ede051bad15bf25cfd037317c313b607507
[ "MIT" ]
null
null
null
A2OJ/(lt) 1300/borze.py
mayank-kumar-giri/Competitive-Coding
4cd26ede051bad15bf25cfd037317c313b607507
[ "MIT" ]
null
null
null
s = input() ans = [] i=0 while i<len(s): if s[i]=='.': ans.append('0') else: if s[i+1]=='.': ans.append('1') else: ans.append('2') i=i+1 i+=1 for j in ans: print(j,end='')
16.2
27
0.374486
39
243
2.333333
0.435897
0.296703
0.087912
0
0
0
0
0
0
0
0
0.047619
0.395062
243
15
28
16.2
0.571429
0
0
0.133333
0
0
0.020492
0
0
0
0
0
0
1
0
false
0
0
0
0
0.066667
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
9a56717fe13672b41354914403d6ded639011568
443
py
Python
app/category/serializers.py
tonyguesswho/favorite-things
cab2ff4a68ce468dbcbe2d6dd42991bcad9fc127
[ "MIT" ]
null
null
null
app/category/serializers.py
tonyguesswho/favorite-things
cab2ff4a68ce468dbcbe2d6dd42991bcad9fc127
[ "MIT" ]
5
2021-03-09T13:00:32.000Z
2022-02-26T15:45:12.000Z
app/category/serializers.py
tonyguesswho/favorite-things
cab2ff4a68ce468dbcbe2d6dd42991bcad9fc127
[ "MIT" ]
2
2020-01-16T08:39:49.000Z
2020-01-17T16:18:44.000Z
from rest_framework import serializers from core.models import Category from rest_framework.validators import UniqueValidator class CategorySerializer(serializers.ModelSerializer): """Serializer for category object""" name = serializers.CharField( validators=[UniqueValidator(queryset=Category.objects....
27.6875
69
0.711061
44
443
7.068182
0.613636
0.051447
0.109325
0
0
0
0
0
0
0
0
0
0.194131
443
15
70
29.533333
0.871148
0.06772
0
0
0
0
0.019656
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9a5b41d58a67b7f3ab58824e4d69674602aa2b27
400
py
Python
flowjs/admin.py
nelsonmonteiro/django-flowjs
7f2c88df12a9e8f19bb7a3fa21a628d07849d61e
[ "MIT" ]
16
2015-01-02T16:41:17.000Z
2022-03-09T00:15:56.000Z
flowjs/admin.py
nelsonmonteiro/django-flowjs
7f2c88df12a9e8f19bb7a3fa21a628d07849d61e
[ "MIT" ]
2
2015-10-03T18:00:20.000Z
2016-08-02T07:07:21.000Z
flowjs/admin.py
nelsonmonteiro/django-flowjs
7f2c88df12a9e8f19bb7a3fa21a628d07849d61e
[ "MIT" ]
18
2015-01-07T14:46:19.000Z
2018-07-22T22:56:05.000Z
from django.contrib import admin from models import FlowFile, FlowFileChunk class FlowFileChunkInline(admin.TabularInline): model = FlowFileChunk class FlowFileAdmin(admin.ModelAdmin): list_display = ['identifier', 'state', 'total_size', 'total_chunks', 'total_chunks_uploaded'] list_filter = ['state'] ...
28.571429
97
0.77
41
400
7.365854
0.634146
0.119205
0
0
0
0
0
0
0
0
0
0
0.1275
400
13
98
30.769231
0.86533
0
0
0
0
0
0.1575
0.0525
0
0
0
0
0
1
0
false
0
0.222222
0
0.888889
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
9a694ef3716e9fa3421a6d5a690a577707240e53
644
py
Python
camping_server1/app/__init__.py
HyunjinKIM-Chloe/Crawling_project
da7d24a33c5b5f8696075b7f9a7313dc7cd42949
[ "MIT" ]
2
2021-05-28T12:12:56.000Z
2021-05-30T12:15:06.000Z
camping_server1/app/__init__.py
HyunjinKIM-Chloe/Crawling_project
da7d24a33c5b5f8696075b7f9a7313dc7cd42949
[ "MIT" ]
35
2021-06-25T09:54:12.000Z
2021-10-18T00:09:37.000Z
camping_server1/app/__init__.py
HyunjinKIM-Chloe/Crawling_project
da7d24a33c5b5f8696075b7f9a7313dc7cd42949
[ "MIT" ]
4
2021-05-28T12:10:37.000Z
2021-05-31T11:37:17.000Z
from flask_restx import Api from flask import Blueprint from .main.controller.user import user from .main.controller.search import search from .main.controller.detail import detail from .main.controller.main import main blueprint = Blueprint('api', __name__, static_folder='static', template_folder='templates') api = ...
33.894737
91
0.734472
84
644
5.5
0.321429
0.069264
0.155844
0.134199
0
0
0
0
0
0
0
0.003623
0.142857
644
19
92
33.894737
0.833333
0
0
0
0
0
0.162791
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.1875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7bd63ec076d152ac8e2102bda6ac3d5a4806d700
963
py
Python
receive.py
skarlekar/python-slacker
b8fe85bd2f517aff24a86548c976b5c74b41c582
[ "MIT" ]
null
null
null
receive.py
skarlekar/python-slacker
b8fe85bd2f517aff24a86548c976b5c74b41c582
[ "MIT" ]
null
null
null
receive.py
skarlekar/python-slacker
b8fe85bd2f517aff24a86548c976b5c74b41c582
[ "MIT" ]
null
null
null
import os import json from flask import Flask, request, Response app = Flask(__name__) SLACK_WEBHOOK_SECRET = os.environ.get('SLACK_WEBHOOK_SECRET') @app.route('/listening', methods=['POST']) def inbound(): slack_event = json.loads(request.data) print "--------REQUEST--------------" print json.dumps(sl...
26.75
108
0.642783
114
963
4.938596
0.438596
0.085258
0.127886
0.063943
0.127886
0.127886
0.127886
0
0
0
0
0.003866
0.194185
963
35
109
27.514286
0.721649
0
0
0
0
0
0.1973
0.060228
0
0
0
0
0
0
null
null
0
0.115385
null
null
0.192308
0
0
0
null
0
0
0
0
0
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
7bdcccfe418176857d4dfb466b61d2bb678e5bc9
794
py
Python
poll/migrations/0002_auto_20190226_0226.py
v-adhithyan/india-elections
504772bd90bffaab32bad473523731021315afd1
[ "MIT" ]
7
2018-09-14T06:42:36.000Z
2019-06-14T03:46:14.000Z
poll/migrations/0002_auto_20190226_0226.py
v-adhithyan/india-elections
504772bd90bffaab32bad473523731021315afd1
[ "MIT" ]
40
2019-01-01T01:56:20.000Z
2022-03-11T23:40:57.000Z
poll/migrations/0002_auto_20190226_0226.py
v-adhithyan/india-elections
504772bd90bffaab32bad473523731021315afd1
[ "MIT" ]
null
null
null
# Generated by Django 2.1.4 on 2019-02-26 02:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('poll', '0001_initial'), ] operations = [ migrations.CreateModel( name='IFrameEnabledSites', fields=[ ...
29.407407
114
0.583123
80
794
5.675
0.65
0.017621
0.048458
0.061674
0.145374
0.145374
0.145374
0.145374
0
0
0
0.044248
0.288413
794
26
115
30.538462
0.759292
0.056675
0
0.1
1
0
0.089692
0
0
0
0
0
0
1
0
false
0
0.05
0
0.2
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
7bec5cd96568deb6ce3d612b7853b61381c74415
2,846
py
Python
tests/unit/owned_book_test.py
superdosh/betterreads
58374feb1336587c7709960bc1a6b9da71c58cab
[ "MIT" ]
null
null
null
tests/unit/owned_book_test.py
superdosh/betterreads
58374feb1336587c7709960bc1a6b9da71c58cab
[ "MIT" ]
null
null
null
tests/unit/owned_book_test.py
superdosh/betterreads
58374feb1336587c7709960bc1a6b9da71c58cab
[ "MIT" ]
null
null
null
from datetime import datetime import json from unittest import mock import pytest from betterreads.book import GoodreadsBook from betterreads.client import GoodreadsClient from betterreads.owned_book import GoodreadsOwnedBook from betterreads.review import GoodreadsReview class TestOwnedBook: @pytest.fixture ...
40.657143
88
0.7435
355
2,846
5.611268
0.214085
0.158133
0.169679
0.085341
0.650602
0.610944
0.572289
0.528112
0.455823
0.363454
0
0.020797
0.189037
2,846
69
89
41.246377
0.842288
0
0
0.296296
0
0
0.111736
0.056922
0
0
0
0
0.240741
1
0.222222
false
0
0.148148
0
0.425926
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
7bee3420d7727205349576af9fded4f62594c348
551
py
Python
Campaign/migrations/0012_auto_20190705_0945.py
amalinovskiy/Appraise
03446dacebd91c556b29420fe917e2b0547047bd
[ "BSD-3-Clause" ]
11
2021-02-08T08:40:23.000Z
2022-03-30T09:56:40.000Z
Campaign/migrations/0012_auto_20190705_0945.py
amalinovskiy/Appraise
03446dacebd91c556b29420fe917e2b0547047bd
[ "BSD-3-Clause" ]
29
2021-01-23T16:50:47.000Z
2022-03-25T13:46:01.000Z
Campaign/migrations/0012_auto_20190705_0945.py
amalinovskiy/Appraise
03446dacebd91c556b29420fe917e2b0547047bd
[ "BSD-3-Clause" ]
5
2021-05-22T14:34:47.000Z
2021-08-23T15:50:05.000Z
# Generated by Django 2.2.1 on 2019-07-05 16:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Campaign', '0011_auto_20190705_0942'), ] operations = [ migrations.AlterField( model_name='campaign', ...
29
196
0.642468
59
551
5.813559
0.677966
0.104956
0
0
0
0
0
0
0
0
0
0.074341
0.243194
551
18
197
30.611111
0.748201
0.08167
0
0
1
0
0.228395
0.13786
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7bf43a4d03ccd4af664db9c7edd723798b8ce125
463
py
Python
agent/src/api/virsh_api/dump_xml.py
rezabojnordi/Kangaroo
4640acdcceeb1c3f6fe9947662d2b2a936790f56
[ "MIT" ]
1
2022-02-03T16:34:39.000Z
2022-02-03T16:34:39.000Z
agent/src/api/virsh_api/dump_xml.py
rezabojnordi/Kangaroo
4640acdcceeb1c3f6fe9947662d2b2a936790f56
[ "MIT" ]
null
null
null
agent/src/api/virsh_api/dump_xml.py
rezabojnordi/Kangaroo
4640acdcceeb1c3f6fe9947662d2b2a936790f56
[ "MIT" ]
null
null
null
import libvirt import sys def dupxml(domainName): try: #conn = libvirt.openReadOnly(None) conn = libvirt.open("qemu+ssh://compute5/system") except libvirt.libvirtError: print('Failed to open connection to the hypervisor') sys.exit(1) try: dom0 = conn.lookupByName(do...
23.15
60
0.637149
54
463
5.462963
0.592593
0.074576
0.169492
0.20339
0.257627
0.257627
0
0
0
0
0
0.014663
0.263499
463
19
61
24.368421
0.85044
0.071274
0
0.428571
0
0
0.23185
0.06089
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.285714
0.142857
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
7bf7ecb01778706b1f4ce0e64023262d18f1f3e9
274
py
Python
lab/migrations/0017_merge_20220303_1909.py
betagouv/euphrosyne
a67857a8716b5060cd9a2c6fa5f3d45c3fff435a
[ "MIT" ]
1
2022-02-21T19:46:20.000Z
2022-02-21T19:46:20.000Z
lab/migrations/0017_merge_20220303_1909.py
betagouv/euphrosyne
a67857a8716b5060cd9a2c6fa5f3d45c3fff435a
[ "MIT" ]
37
2021-10-18T18:33:26.000Z
2022-03-31T12:38:38.000Z
lab/migrations/0017_merge_20220303_1909.py
betagouv/euphrosyne
a67857a8716b5060cd9a2c6fa5f3d45c3fff435a
[ "MIT" ]
2
2022-03-03T15:41:30.000Z
2022-03-07T14:20:26.000Z
# Generated by Django 4.0.1 on 2022-03-03 18:09 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('lab', '0015_alter_project_status'), ('lab', '0016_alter_objectgroup_options'), ] operations = [ ]
18.266667
50
0.649635
33
274
5.212121
0.818182
0
0
0
0
0
0
0
0
0
0
0.109005
0.229927
274
14
51
19.571429
0.706161
0.164234
0
0
1
0
0.268722
0.242291
0
0
0
0
0
1
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7bff05eff8f87fa867f40f460261e977797819fb
441
py
Python
api_tests/tests.py
DevOpsDemoTF/DevOpsDemo-template-TypeScript
81654815926d8e74659fc6064c4f6d5c639f5c28
[ "MIT" ]
1
2019-09-29T17:44:56.000Z
2019-09-29T17:44:56.000Z
api_tests/tests.py
DevOpsDemoTF/DevOpsDemo-template-TypeScript
81654815926d8e74659fc6064c4f6d5c639f5c28
[ "MIT" ]
null
null
null
api_tests/tests.py
DevOpsDemoTF/DevOpsDemo-template-TypeScript
81654815926d8e74659fc6064c4f6d5c639f5c28
[ "MIT" ]
null
null
null
import unittest import requests from requests.adapters import HTTPAdapter from urllib3.util.retry import Retry adapter = HTTPAdapter(max_retries=Retry(total=5, backoff_factor=1)) http = requests.Session() http.mount("https://", adapter) http.mount("http://", adapter) class ApiTests(unittest.TestCase): def test_...
25.941176
67
0.743764
57
441
5.684211
0.649123
0.055556
0
0
0
0
0
0
0
0
0
0.025974
0.126984
441
16
68
27.5625
0.815584
0
0
0
0
0
0.0839
0
0
0
0
0
0.083333
1
0.083333
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d00416db667f662c8a57583cde372f2bb74bb599
38,611
py
Python
postprocessing/src/Stats.py
cbick/gps2gtfs
1c928c2e8be85aed51e053b0ae823f01c939d5ba
[ "MIT" ]
10
2015-02-12T19:41:05.000Z
2021-01-19T15:10:40.000Z
postprocessing/src/Stats.py
ZZ-Zhou/gps2gtfs
1c928c2e8be85aed51e053b0ae823f01c939d5ba
[ "MIT" ]
1
2016-10-12T15:55:40.000Z
2016-10-12T16:01:57.000Z
postprocessing/src/Stats.py
ZZ-Zhou/gps2gtfs
1c928c2e8be85aed51e053b0ae823f01c939d5ba
[ "MIT" ]
11
2015-02-12T19:41:09.000Z
2021-02-11T18:47:03.000Z
# Copyright (c) 2010 Colin Bick, Robert Damphousse # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge...
30.09431
179
0.654632
5,630
38,611
4.357726
0.166963
0.010761
0.002446
0.003098
0.350289
0.313972
0.272234
0.238974
0.214437
0.197481
0
0.080555
0.22548
38,611
1,282
180
30.117785
0.739843
0.052602
0
0.32166
0
0.002594
0.199172
0.026412
0
0
0
0
0
0
null
null
0
0.007782
null
null
0.094682
0
0
0
null
0
0
0
0
0
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
d0047defca50ddfbe1c067491479b406fe0117c9
230
py
Python
tests/inputs/numpy-lib/76-numpy-hints-readme-example.py
helq/pytropos
497ed5902e6e4912249ca0a46b477f9bfa6ae80a
[ "MIT" ]
4
2019-10-06T18:01:24.000Z
2020-07-03T05:27:35.000Z
tests/inputs/numpy-lib/76-numpy-hints-readme-example.py
helq/pytropos
497ed5902e6e4912249ca0a46b477f9bfa6ae80a
[ "MIT" ]
5
2021-06-07T15:50:04.000Z
2021-06-07T15:50:06.000Z
tests/inputs/numpy-lib/76-numpy-hints-readme-example.py
helq/pytropos
497ed5902e6e4912249ca0a46b477f9bfa6ae80a
[ "MIT" ]
null
null
null
import numpy as np from somelib import data from pytropos.hints.numpy import NdArray A: NdArray[2, 3] = np.array(data) # Helping Pytropos knowing the shape x = np.array([1, 2, 0, 0]) y = A.dot(x) # This fails! # show_store()
20.909091
71
0.691304
41
230
3.853659
0.658537
0.088608
0
0
0
0
0
0
0
0
0
0.031915
0.182609
230
10
72
23
0.808511
0.256522
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d004b5d30e3059671bfc584f3f3aa9a80e9119e6
1,971
py
Python
user_service/tests/test_user_details.py
lewisemm/vistagrid-backend-k8
08a4753b12db00962a4be94276b76d32b8304272
[ "MIT" ]
null
null
null
user_service/tests/test_user_details.py
lewisemm/vistagrid-backend-k8
08a4753b12db00962a4be94276b76d32b8304272
[ "MIT" ]
1
2021-02-02T10:23:25.000Z
2021-02-02T10:23:25.000Z
user_service/tests/test_user_details.py
lewisemm/vistagrid-backend-k8
08a4753b12db00962a4be94276b76d32b8304272
[ "MIT" ]
null
null
null
import json import pytest from faker import Faker from user_service import models from user_service.tests.fixtures.common import ( client, existing_user ) fake = Faker() @pytest.fixture def existing_user(): credentials = { 'username': fake.user_name(), 'password': fake.password() }...
24.949367
79
0.682902
270
1,971
4.777778
0.233333
0.111628
0.081395
0.103101
0.555039
0.456589
0.418605
0.381395
0.381395
0.381395
0
0.023329
0.195332
1,971
78
80
25.269231
0.790038
0.037037
0
0.315789
0
0
0.143987
0.06962
0
0
0
0
0.157895
1
0.140351
false
0.105263
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
1
0
0
0
0
0
1
d00579470f2b8e28685214f18cb186ddd7a786ce
524
py
Python
tenable/ad/about.py
Rogdham/pyTenable
79f3f7360f8ef31b964f1db99d0c7b8a0bc25d7a
[ "MIT" ]
1
2022-03-01T17:17:19.000Z
2022-03-01T17:17:19.000Z
tenable/ad/about.py
Rogdham/pyTenable
79f3f7360f8ef31b964f1db99d0c7b8a0bc25d7a
[ "MIT" ]
25
2021-11-16T18:41:36.000Z
2022-03-25T05:43:31.000Z
tenable/ad/about.py
Rogdham/pyTenable
79f3f7360f8ef31b964f1db99d0c7b8a0bc25d7a
[ "MIT" ]
2
2022-03-02T12:24:40.000Z
2022-03-29T05:12:04.000Z
''' About ===== Methods described in this section relate to the the about API. These methods can be accessed at ``TenableAD.about``. .. rst-class:: hide-signature .. autoclass:: AboutAPI :members: ''' from tenable.base.endpoint import APIEndpoint class AboutAPI(APIEndpoint): _path = 'about' def version...
19.407407
65
0.633588
61
524
5.409836
0.737705
0
0
0
0
0
0
0
0
0
0
0
0.244275
524
26
66
20.153846
0.833333
0.564886
0
0
0
0
0.027624
0
0
0
0
0
0
1
0.2
false
0
0.2
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d00c0e34818391ef393d169c27244c9702e2f4d0
7,175
py
Python
projects/vdk-core/tests/vdk/internal/plugin/test_plugin.py
alod83/versatile-data-kit
9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8
[ "Apache-2.0" ]
100
2021-10-04T09:32:04.000Z
2022-03-30T11:23:53.000Z
projects/vdk-core/tests/vdk/internal/plugin/test_plugin.py
alod83/versatile-data-kit
9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8
[ "Apache-2.0" ]
208
2021-10-04T16:56:40.000Z
2022-03-31T10:41:44.000Z
projects/vdk-core/tests/vdk/internal/plugin/test_plugin.py
alod83/versatile-data-kit
9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8
[ "Apache-2.0" ]
14
2021-10-11T14:15:13.000Z
2022-03-11T13:39:17.000Z
# Copyright 2021 VMware, Inc. # SPDX-License-Identifier: Apache-2.0 from unittest.mock import patch import pytest from pluggy import PluginManager from vdk.api.plugin.hook_markers import hookimpl from vdk.api.plugin.hook_markers import hookspec from vdk.api.plugin.plugin_registry import PluginException from vdk.intern...
32.03125
108
0.6977
882
7,175
5.382086
0.198413
0.135665
0.072046
0.091005
0.614493
0.591321
0.546872
0.507478
0.450811
0.425111
0
0.003353
0.210314
7,175
223
109
32.174888
0.834451
0.037631
0
0.540881
0
0.006289
0.085876
0.007411
0
0
0
0
0.044025
1
0.201258
false
0.012579
0.044025
0.056604
0.433962
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
d0163b0757725bc2344816af04cff3ba6e623398
1,715
py
Python
Dictionories_and_Sets/02_Content_in_Dictionary_Python.py
ajeyln/python_scripts_udemy
387a027170207a12daf16c25a9592adb27e45870
[ "MIT" ]
null
null
null
Dictionories_and_Sets/02_Content_in_Dictionary_Python.py
ajeyln/python_scripts_udemy
387a027170207a12daf16c25a9592adb27e45870
[ "MIT" ]
null
null
null
Dictionories_and_Sets/02_Content_in_Dictionary_Python.py
ajeyln/python_scripts_udemy
387a027170207a12daf16c25a9592adb27e45870
[ "MIT" ]
null
null
null
fruits = { "orange" :"a sweet,orange citrus fruit", "apple" :"good for making cider", "lemon" :"a sour,yellow citrus fruit", "grape" :"a small, sweet fruit growing in bunches", "lime" :"a sour,yellow citrus fruit", } def simple_operation(): print("T...
31.759259
74
0.591254
211
1,715
4.725118
0.364929
0.066199
0.072217
0.084253
0.264794
0
0
0
0
0
0
0.008197
0.28863
1,715
54
75
31.759259
0.809016
0
0
0.235294
0
0
0.430653
0
0
0
0
0
0
1
0.039216
false
0
0
0
0.039216
0.45098
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
d01ad0a3fe17ce2860ef820de94e07f2d7c9aa8d
2,506
py
Python
report.py
shahazzat/appium-testing-report
10d88877e4846f770d7443d5026c36bbbae6f405
[ "MIT" ]
null
null
null
report.py
shahazzat/appium-testing-report
10d88877e4846f770d7443d5026c36bbbae6f405
[ "MIT" ]
null
null
null
report.py
shahazzat/appium-testing-report
10d88877e4846f770d7443d5026c36bbbae6f405
[ "MIT" ]
null
null
null
from jinja2 import Environment, FileSystemLoader import webbrowser import time ################################################## ## This is report module and responsible to generate report. ################################################## __author__ = "Shahazzat Hossain" __copyright__ = "Copyright 2021, Project" __...
35.8
105
0.603352
282
2,506
5.046099
0.397163
0.084329
0.089951
0.03584
0.070274
0.046381
0.046381
0
0
0
0
0.005144
0.224262
2,506
69
106
36.318841
0.726852
0.118915
0
0
1
0
0.193902
0.017151
0
0
0
0
0
1
0.083333
false
0.041667
0.0625
0
0.166667
0.041667
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
d01dacdd772d2ad5a574f76dd697095a351caf63
4,320
py
Python
massweb/mass_requests/response_analysis.py
acaceres2176/massweb
153d1e00ee293f467e88e7f5ce98617a5c13cfb7
[ "Apache-2.0" ]
null
null
null
massweb/mass_requests/response_analysis.py
acaceres2176/massweb
153d1e00ee293f467e88e7f5ce98617a5c13cfb7
[ "Apache-2.0" ]
null
null
null
massweb/mass_requests/response_analysis.py
acaceres2176/massweb
153d1e00ee293f467e88e7f5ce98617a5c13cfb7
[ "Apache-2.0" ]
null
null
null
""" """ import codecs import sys import logging import requests from requests import Response logging.basicConfig(format='%(asctime)s %(message)s', datefmt='%m/%d/%Y %I:%M:%S %p') logger = logging.getLogger('response_analysis.parse_worthy') logger.setLevel(logging.INFO) sys.stdin = codecs.getreader('utf-8')(sys.std...
39.633028
97
0.628704
535
4,320
4.943925
0.224299
0.079017
0.031758
0.043478
0.517958
0.489603
0.430624
0.377316
0.319093
0.25104
0
0.005208
0.288889
4,320
108
98
40
0.855794
0.034954
0
0.245902
0
0
0.202034
0.010523
0
0
0
0
0
0
null
null
0
0.081967
null
null
0.016393
0
0
0
null
0
0
0
0
0
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
d02eb60c2557c3ed29013590c02d8b320bf3db03
1,610
py
Python
NLP_PROJ/set5/fol2fol.py
zacandcheese/nsfw-gang
bba0f208780019ca211d9300e76d405ce3882fc0
[ "MIT" ]
null
null
null
NLP_PROJ/set5/fol2fol.py
zacandcheese/nsfw-gang
bba0f208780019ca211d9300e76d405ce3882fc0
[ "MIT" ]
null
null
null
NLP_PROJ/set5/fol2fol.py
zacandcheese/nsfw-gang
bba0f208780019ca211d9300e76d405ce3882fc0
[ "MIT" ]
null
null
null
old_fol = "exists x01.(_zach(x01) & exists x02.(_weapon(x02) & exists e03.(_sell(e03) & (Subj(e03) = x01) & (Acc(e03) = x02) & exists x04.(_megan(x04) & (Dat(e03) = x04)))))" import re class FOL: def __init__(self, old_fol): self.old_fol = old_fol self.new_fol = self.convert(old_fol) def conv...
32.2
174
0.563354
214
1,610
4.004673
0.247664
0.077013
0.035006
0.045508
0.347725
0.347725
0.304551
0.221704
0.221704
0.221704
0
0.07309
0.252174
1,610
49
175
32.857143
0.638704
0.010559
0
0
0
0.037037
0.201214
0
0
0
0
0
0
0
null
null
0
0.037037
null
null
0.037037
0
0
0
null
0
0
0
0
0
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
d03a2ce6c789bd2ccc8b819f484477fcd80cd2bb
460
py
Python
downloadCheckpoints.py
DavorJordacevic/DeepLearningFaceRecognitionSystem
b0664226d2352d7f844aa07a70566b10e9e5362c
[ "BSD-Source-Code" ]
1
2021-08-09T11:47:37.000Z
2021-08-09T11:47:37.000Z
downloadCheckpoints.py
DavorJordacevic/DeepLearningFaceRecognitionSystem
b0664226d2352d7f844aa07a70566b10e9e5362c
[ "BSD-Source-Code" ]
null
null
null
downloadCheckpoints.py
DavorJordacevic/DeepLearningFaceRecognitionSystem
b0664226d2352d7f844aa07a70566b10e9e5362c
[ "BSD-Source-Code" ]
null
null
null
from google_drive_downloader import GoogleDriveDownloader as gdd gdd.download_file_from_google_drive(file_id='1nveRm2vWu8y5tiRPYb4tNV4Lzc4beilF', dest_path='./arc_mbv2.zip', unzip=True) gdd.download_file_from_google_drive(file_id='1kiEp6fp3s9Kjy...
46
80
0.591304
42
460
6.047619
0.547619
0.11811
0.177165
0.149606
0.283465
0.283465
0.283465
0.283465
0
0
0
0.049669
0.343478
460
10
81
46
0.791391
0
0
0.285714
0
0
0.219089
0.18872
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
d03a7f5d86064c5a4705ef7be3611c85bcf302da
13,753
py
Python
utils/command_parser.py
sx-zhang/HOZ
7be117f078a34c6f97ea6c64f60d7df7b47bef49
[ "MIT" ]
11
2021-09-08T03:40:08.000Z
2022-01-14T08:36:13.000Z
utils/command_parser.py
JJJJasper/HOZ
7be117f078a34c6f97ea6c64f60d7df7b47bef49
[ "MIT" ]
null
null
null
utils/command_parser.py
JJJJasper/HOZ
7be117f078a34c6f97ea6c64f60d7df7b47bef49
[ "MIT" ]
2
2021-12-01T13:00:35.000Z
2021-12-08T01:56:31.000Z
import argparse def parse_arguments(): parser = argparse.ArgumentParser(description='Visual Navigation') parser.add_argument( '--lr', type=float, default=0.0001, metavar='LR', help='learning rate (default: 0.0001)', ) parser.add_argument( ...
22.883527
110
0.523377
1,426
13,753
4.93338
0.225105
0.11258
0.212651
0.059417
0.306468
0.176404
0.13774
0.08543
0.058849
0.034968
0
0.012238
0.358322
13,753
600
111
22.921667
0.784929
0.002036
0
0.385375
0
0
0.35754
0.03932
0
0
0
0
0
1
0.001976
false
0
0.001976
0
0.005929
0.001976
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
d044822a787d24b54dc4a4830b449917956883b1
668
py
Python
modules/F_update.py
jeffskwang/Landscape_Evolution_Model_RCM
0a9e981b7f4a459a2be7c6025c20d7503b77322d
[ "MIT" ]
2
2019-03-12T10:24:05.000Z
2019-10-05T13:40:28.000Z
modules/F_update.py
jeffskwang/Landscape_Evolution_Model_RCM
0a9e981b7f4a459a2be7c6025c20d7503b77322d
[ "MIT" ]
null
null
null
modules/F_update.py
jeffskwang/Landscape_Evolution_Model_RCM
0a9e981b7f4a459a2be7c6025c20d7503b77322d
[ "MIT" ]
null
null
null
import importlib import sys parameters = importlib.import_module(sys.argv[1]) globals().update(parameters.__dict__) def f_update(eta_old,eta_temp,eta_new,eta_average,incision,lateral_incision,diffusion,t): for x in xrange(x_lower,x_upper): for y in xrange(y_lower,y_upper): eta_average[x][y] ...
35.157895
105
0.688623
121
668
3.578512
0.280992
0.04157
0.027714
0.036952
0.337182
0.281755
0.281755
0.281755
0.281755
0.281755
0
0.024867
0.157186
668
18
106
37.111111
0.744227
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.1875
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d04add65dfcd2c3884ce743e76f18ebea552618e
2,466
py
Python
PlayChess/__init__.py
neverwannafly/PlayChess
4a957d10e60cd69d73bb9cf547e62f469927b450
[ "MIT" ]
12
2018-05-02T13:13:41.000Z
2022-03-13T15:37:29.000Z
PlayChess/__init__.py
neverwannafly/PlayChess
4a957d10e60cd69d73bb9cf547e62f469927b450
[ "MIT" ]
24
2018-05-03T13:06:56.000Z
2019-08-13T14:49:03.000Z
PlayChess/__init__.py
neverwannafly/PlayChess
4a957d10e60cd69d73bb9cf547e62f469927b450
[ "MIT" ]
17
2018-05-03T13:46:40.000Z
2021-06-26T13:57:05.000Z
""" Makes the web application modular! """ import os from flask import Flask from flask_socketio import SocketIO from celery import Celery from .config import configurations, Worker app = Flask(__name__) # Read from environment file and load local env variables if not os.environ.get('Production', False) and not ...
33.324324
89
0.777778
354
2,466
5.274011
0.338983
0.09052
0.05624
0.061061
0.196036
0.02571
0
0
0
0
0
0.000458
0.115166
2,466
74
90
33.324324
0.855179
0.175588
0
0
0
0
0.108189
0.010422
0
0
0
0
0
1
0
false
0.02381
0.428571
0
0.428571
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
0
0
0
1
0
0
0
0
1
d0510a11ef592c9a3a66728a14f02867c04391b0
1,437
py
Python
test_pyspin.py
crunchex/py-spin
3a17c85596d0f5a25c751878b4d42f5d52437f5b
[ "MIT" ]
196
2015-12-15T15:50:46.000Z
2022-03-12T20:19:16.000Z
test_pyspin.py
crunchex/py-spin
3a17c85596d0f5a25c751878b4d42f5d52437f5b
[ "MIT" ]
19
2015-12-13T13:52:41.000Z
2021-08-19T00:42:43.000Z
test_pyspin.py
crunchex/py-spin
3a17c85596d0f5a25c751878b4d42f5d52437f5b
[ "MIT" ]
17
2015-12-16T17:56:58.000Z
2021-03-31T08:02:23.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import time from pyspin import spin def test_spinner(): spinner = spin.Spinner(spin.Spin9) assert spinner.length == 4 assert spinner.frames == spin.Spin9 assert spinner.current() == u'←' assert spinner.next() == u'←' assert spinner.next() == u'...
23.95
79
0.634656
190
1,437
4.689474
0.363158
0.145903
0.114478
0.121212
0.368126
0.329966
0.327722
0.327722
0.327722
0.217733
0
0.012335
0.21016
1,437
59
80
24.355932
0.76652
0.029228
0
0.428571
0
0
0.153625
0
0
0
0
0
0.238095
1
0.214286
false
0
0.047619
0
0.261905
0.095238
0
0
0
null
0
0
0
0
0
0
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
d051f7462449c8601c86ca892fc7d5b98c81163a
561
py
Python
arquivos-py/CursoEmVideo_Python3_DESAFIOS/desafio64.py
oliveiralecca/cursoemvideo-python3
e0a3e27d73a49ce0e72ae4faa9ac0c6da9811d2e
[ "MIT" ]
2
2021-07-14T13:22:36.000Z
2021-07-18T01:28:21.000Z
arquivos-py/CursoEmVideo_Python3_DESAFIOS/desafio64.py
oliveiralecca/cursoemvideo-python3
e0a3e27d73a49ce0e72ae4faa9ac0c6da9811d2e
[ "MIT" ]
2
2021-07-18T01:09:26.000Z
2021-07-18T01:30:23.000Z
arquivos-py/CursoEmVideo_Python3_DESAFIOS/desafio64.py
oliveiralecca/cursoemvideo-python3
e0a3e27d73a49ce0e72ae4faa9ac0c6da9811d2e
[ "MIT" ]
null
null
null
print('-=-=-=-= DESAFIO 64 -=-=-=-=') print() n = tot = soma = 0 print('Para sair, digite "999".') while n != 999: n = int(input('Digite um número: ')) if n != 999: tot += 1 soma += n print('Foram digitados {} valores e a soma entre eles vale {}.'.format(tot, soma)) # RESOLUÇÃO do PROF: # n = i...
29.526316
84
0.559715
83
561
3.783133
0.361446
0.066879
0.085987
0.143312
0.742038
0.742038
0.585987
0.585987
0.585987
0.369427
0
0.053991
0.240642
561
18
85
31.166667
0.683099
0.452763
0
0
0
0
0.41806
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d05ec2baaafa4ed195f16ebe88411604a5b73026
5,439
py
Python
app/blueprints/general/views.py
D4D3VD4V3/srp
9ade70be336e57da9b12f7e9aca5ce059284d5ca
[ "Unlicense" ]
2
2017-10-11T09:24:59.000Z
2017-10-19T17:06:50.000Z
app/blueprints/general/views.py
D4D3VD4V3/srp
9ade70be336e57da9b12f7e9aca5ce059284d5ca
[ "Unlicense" ]
null
null
null
app/blueprints/general/views.py
D4D3VD4V3/srp
9ade70be336e57da9b12f7e9aca5ce059284d5ca
[ "Unlicense" ]
null
null
null
from itertools import chain from werkzeug.security import generate_password_hash from urllib.parse import unquote from flask import render_template, flash, url_for, redirect, request, jsonify from . import bp from app.forms import SignUpForm, LoginForm, ReviewForm from app.models import Login, Subjects, Professors, Rev...
37
107
0.636146
648
5,439
5.248457
0.271605
0.016466
0.035284
0.029403
0.204058
0.171126
0.145251
0.126433
0.126433
0.10938
0
0.002656
0.238647
5,439
146
108
37.253425
0.818643
0
0
0.176
1
0.008
0.157198
0
0
0
0
0
0
1
0.072
false
0.024
0.072
0.008
0.256
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
d05fcd30c917266f81682e4cf84128d1907c50b3
5,351
py
Python
pytorch/modules.py
PaParaZz1/vehicle-triplet-reid
588607b3a68cf3c41b9aa298e9dcb92e8d898507
[ "MIT" ]
3
2018-10-23T14:05:08.000Z
2021-08-05T07:50:27.000Z
pytorch/modules.py
PaParaZz1/vehicle-triplet-reid
588607b3a68cf3c41b9aa298e9dcb92e8d898507
[ "MIT" ]
null
null
null
pytorch/modules.py
PaParaZz1/vehicle-triplet-reid
588607b3a68cf3c41b9aa298e9dcb92e8d898507
[ "MIT" ]
null
null
null
import torch.nn as nn from torch.nn.init import xavier_normal, kaiming_normal, orthogonal def WeightInitialize(init_type, weight, activation = None): if init_type is None: return def XavierInit(weight, activation): xavier_normal(weight) def KaimingInit(weight, activation): assert not activation is None if h...
46.938596
209
0.751261
716
5,351
5.377095
0.129888
0.097143
0.093766
0.087273
0.601818
0.557143
0.517143
0.44987
0.409351
0.35039
0
0.009569
0.140721
5,351
113
210
47.353982
0.827751
0
0
0.197917
0
0
0.02344
0
0
0
0
0.00885
0.020833
0
null
null
0
0.020833
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d0670f16bdbee547de1f3cc21c4f615bcb79eb54
524
py
Python
users/urls.py
LoisaKitakaya/socialbook
4b7e992bef3674fb4d0974c27a72cc12b3f992e1
[ "MIT" ]
null
null
null
users/urls.py
LoisaKitakaya/socialbook
4b7e992bef3674fb4d0974c27a72cc12b3f992e1
[ "MIT" ]
null
null
null
users/urls.py
LoisaKitakaya/socialbook
4b7e992bef3674fb4d0974c27a72cc12b3f992e1
[ "MIT" ]
null
null
null
from django.urls import path from django.conf import settings from django.conf.urls.static import static from .views import * urlpatterns = [ path('register_user/', register_user, name='register_user'), path('login_user/', login_user, name='login_user'), path('login_new_user/', login_new_user, name='login_...
47.636364
133
0.763359
74
524
5.121622
0.27027
0.084433
0.094987
0.121372
0
0
0
0
0
0
0
0
0.10687
524
11
133
47.636364
0.809829
0
0
0
0
0
0.190476
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d06baffe6b7cca5b27523ad8ee6724c0c7e199ff
5,047
py
Python
sakilaapi/sakila/migrations/0001_initial.py
m8r1x/sakilaapi
de1921457157ba0b77b38c85f45f6ae8851867e5
[ "MIT" ]
null
null
null
sakilaapi/sakila/migrations/0001_initial.py
m8r1x/sakilaapi
de1921457157ba0b77b38c85f45f6ae8851867e5
[ "MIT" ]
null
null
null
sakilaapi/sakila/migrations/0001_initial.py
m8r1x/sakilaapi
de1921457157ba0b77b38c85f45f6ae8851867e5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.10 on 2018-02-16 13:11 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Cre...
41.368852
198
0.537349
466
5,047
5.611588
0.240343
0.039771
0.075717
0.100956
0.468834
0.395029
0.372849
0.341491
0.286424
0.286424
0
0.01538
0.317218
5,047
121
199
41.710744
0.743471
0.013671
0
0.415929
1
0
0.15799
0
0
0
0
0
0
1
0
false
0
0.026549
0
0.061947
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
d0751bf06623da70799ffca182daa59bbf2d0367
6,743
py
Python
AmortizationSystems/amortization.py
alexcamargos/Learning_Python_Programming
f1cce9f85a672468b6ed1eb98dea9f7c09443722
[ "MIT" ]
2
2021-06-04T23:39:14.000Z
2021-09-15T05:36:35.000Z
AmortizationSystems/amortization.py
alexcamargos/Learning_Python_Programming
f1cce9f85a672468b6ed1eb98dea9f7c09443722
[ "MIT" ]
null
null
null
AmortizationSystems/amortization.py
alexcamargos/Learning_Python_Programming
f1cce9f85a672468b6ed1eb98dea9f7c09443722
[ "MIT" ]
null
null
null
# #!/usr/bin/env python # encoding: utf-8 # # -------------------------------------------------------------------------------------------------------------------- # Name: amortization.py # Version: 0.0.1 # Summary: Para que a dívida seja totalmente paga, o tomador deve quitar o montante inicial adicionado aos jur...
39.664706
119
0.645262
848
6,743
4.988208
0.287736
0.051064
0.03026
0.016076
0.331206
0.309929
0.293617
0.28227
0.213712
0.213712
0
0.023092
0.242177
6,743
169
120
39.899408
0.804501
0.520243
0
0.410714
0
0.017857
0.117142
0.055651
0
0
0
0.017751
0
1
0.160714
false
0.017857
0
0
0.25
0.107143
0
0
0
null
0
0
0
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
d081962aac8f1706eec448647ac07662d323c9db
1,988
py
Python
scripts/elasticsearch/search-reindex.py
ZMaratovna/cloud-pipeline
542b8394f9fade8eb0ef5603568348c3f20a758d
[ "Apache-2.0" ]
126
2019-03-22T19:40:38.000Z
2022-02-16T13:01:44.000Z
scripts/elasticsearch/search-reindex.py
ZMaratovna/cloud-pipeline
542b8394f9fade8eb0ef5603568348c3f20a758d
[ "Apache-2.0" ]
1,189
2019-03-25T10:39:27.000Z
2022-03-31T12:50:33.000Z
scripts/elasticsearch/search-reindex.py
ZMaratovna/cloud-pipeline
542b8394f9fade8eb0ef5603568348c3f20a758d
[ "Apache-2.0" ]
62
2019-03-22T22:09:49.000Z
2022-03-08T12:05:56.000Z
# Copyright 2017-2020 EPAM Systems, Inc. (https://www.epam.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 License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
35.5
117
0.658451
260
1,988
4.930769
0.526923
0.046802
0.028081
0.046802
0.075663
0.075663
0.075663
0.053042
0
0
0
0.008393
0.220825
1,988
55
118
36.145455
0.819238
0.337022
0
0
0
0
0.186779
0.052267
0
0
0
0.018182
0
1
0.066667
false
0
0.1
0
0.166667
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d081ce7ccb0a54ce32d86a6765fc974b51863e4f
3,229
py
Python
pdb2pqr-1.9.0/contrib/ZSI-2.1-a1/test/wsdl2py/test_Clearspace.py
Acpharis/protein_prep
8cc2f0caedefd5a3fdaa764ed013c2660a4df1b8
[ "BSD-3-Clause" ]
null
null
null
pdb2pqr-1.9.0/contrib/ZSI-2.1-a1/test/wsdl2py/test_Clearspace.py
Acpharis/protein_prep
8cc2f0caedefd5a3fdaa764ed013c2660a4df1b8
[ "BSD-3-Clause" ]
null
null
null
pdb2pqr-1.9.0/contrib/ZSI-2.1-a1/test/wsdl2py/test_Clearspace.py
Acpharis/protein_prep
8cc2f0caedefd5a3fdaa764ed013c2660a4df1b8
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python ############################################################################ # Joshua R. Boverhof, LBNL # See LBNLCopyright for copyright notice! ########################################################################### import os, sys, unittest from ServiceTest import main, ServiceTestCase, Serv...
32.616162
144
0.65686
367
3,229
5.618529
0.346049
0.032008
0.040737
0.069835
0.312803
0.312803
0.312803
0.312803
0.312803
0.177013
0
0.027996
0.170331
3,229
98
145
32.94898
0.741695
0.194178
0
0.196078
0
0.078431
0.227369
0.01785
0
0
0
0
0
1
0.156863
false
0.019608
0.137255
0
0.509804
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
d0832b8134bf657d11ee847710f60f72d02c5aca
1,682
py
Python
patch_libs.py
naterh/openstack-guest-agents-unix
b6262b190d355f6469d95f462be0db53e3eb7ede
[ "Apache-2.0" ]
15
2015-01-06T21:58:24.000Z
2018-11-27T09:34:14.000Z
patch_libs.py
naterh/openstack-guest-agents-unix
b6262b190d355f6469d95f462be0db53e3eb7ede
[ "Apache-2.0" ]
9
2015-03-06T02:11:29.000Z
2021-03-13T07:13:45.000Z
patch_libs.py
naterh/openstack-guest-agents-unix
b6262b190d355f6469d95f462be0db53e3eb7ede
[ "Apache-2.0" ]
18
2015-03-05T21:28:09.000Z
2020-09-16T11:07:21.000Z
#!/usr/bin/env python # vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright (c) 2011 Openstack, 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 ...
29
79
0.633175
232
1,682
4.517241
0.564655
0.057252
0.024809
0.030534
0
0
0
0
0
0
0
0.013776
0.26635
1,682
57
80
29.508772
0.835494
0.484542
0
0
0
0
0.113874
0
0
0
0
0
0
0
null
null
0
0.173913
null
null
0.086957
0
0
0
null
0
0
0
0
0
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
d08542c66542207709d57430f1855a4ae897406b
694
py
Python
django/code/TheSphinx/views/attendee.py
aitalshashank2/The-Meeting-Sphinx
7825c8f94748298f0c81bb0f40eeac56177526f7
[ "Apache-2.0" ]
4
2021-05-16T18:02:30.000Z
2021-05-21T16:32:17.000Z
django/code/TheSphinx/views/attendee.py
aitalshashank2/The-Meeting-Sphinx
7825c8f94748298f0c81bb0f40eeac56177526f7
[ "Apache-2.0" ]
5
2021-05-07T16:31:27.000Z
2021-06-04T12:24:28.000Z
django/code/TheSphinx/views/attendee.py
aitalshashank2/The-Meeting-Sphinx
7825c8f94748298f0c81bb0f40eeac56177526f7
[ "Apache-2.0" ]
2
2021-05-24T06:56:53.000Z
2021-08-05T10:10:58.000Z
from rest_framework import viewsets from rest_framework.permissions import IsAuthenticated from TheSphinx.models import Attendee from TheSphinx.serializers import AttendeeGetSerializer, AttendeePostSerializer from TheSphinx.permissions import IsInSafeMethods class AttendeeViewSet(viewsets.ModelViewSet): def get...
28.916667
79
0.742075
64
694
7.953125
0.546875
0.076621
0.066798
0
0
0
0
0
0
0
0
0
0.201729
694
23
80
30.173913
0.918773
0
0
0
0
0
0.008646
0
0
0
0
0
0
1
0.117647
false
0
0.294118
0
0.705882
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
d08818ae64ab0d26dd5eb211c1f60ecb2d3b0d46
4,927
py
Python
typhon/test/objects/test_collections.py
justinnoah/typhon
2aa883aa37e4ae70a45474c6eb4a444181940ef1
[ "Apache-2.0" ]
63
2015-02-19T20:47:16.000Z
2021-12-27T23:29:54.000Z
typhon/test/objects/test_collections.py
justinnoah/typhon
2aa883aa37e4ae70a45474c6eb4a444181940ef1
[ "Apache-2.0" ]
197
2015-02-23T23:05:24.000Z
2021-04-05T16:15:04.000Z
typhon/test/objects/test_collections.py
justinnoah/typhon
2aa883aa37e4ae70a45474c6eb4a444181940ef1
[ "Apache-2.0" ]
9
2015-02-15T09:27:09.000Z
2018-02-14T17:27:40.000Z
# encoding: utf-8 # # Copyright (C) 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy # of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
33.067114
77
0.631013
591
4,927
5.253807
0.275804
0.077295
0.033494
0.052174
0.397424
0.286957
0.265378
0.164895
0.142351
0.128824
0
0.02026
0.218591
4,927
148
78
33.290541
0.785974
0.118734
0
0.352941
0
0
0.033287
0
0
0
0
0
0.235294
1
0.205882
false
0
0.058824
0
0.303922
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
d0969b62ac87ccae1a0a84c4919d5ad42afc2d69
19,425
py
Python
Artificial intelligence/buscas_ia.py
henriquesqs/Codes
59e5bb683f3de2ee1b13621569954be1e4f37396
[ "MIT" ]
null
null
null
Artificial intelligence/buscas_ia.py
henriquesqs/Codes
59e5bb683f3de2ee1b13621569954be1e4f37396
[ "MIT" ]
1
2021-09-21T03:26:14.000Z
2021-09-21T03:26:14.000Z
Artificial intelligence/buscas_ia.py
henriquesqs/Codes
59e5bb683f3de2ee1b13621569954be1e4f37396
[ "MIT" ]
1
2020-07-26T17:26:01.000Z
2020-07-26T17:26:01.000Z
# -*- coding: utf-8 -*- """Buscas-IA.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1dEaT02Rk_melMfW9RAT3VtOKKLK2ZaUI ### Trabalho de IA: Buscas #### Prof.º Alneu de Andrade Lopes ##### Por: - Caio A. D. Basso, NUSP 10801173 - Gabriel G. Lorence...
32.375
118
0.628829
2,540
19,425
4.754331
0.18937
0.01739
0.009937
0.012918
0.19692
0.160484
0.144501
0.116264
0.090759
0.090759
0
0.013307
0.268829
19,425
600
119
32.375
0.836936
0.2974
0
0.228659
1
0
0.033978
0.003451
0
0
0
0.006667
0
1
0.070122
false
0
0.027439
0.003049
0.179878
0.064024
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
d09f34d57decc9d81490807d8f0fa2901297c482
456
py
Python
Chapter03-lxmlXPathCSS/lxmlXML.py
rohinegi548/Hands-On-Web-Scraping-with-Python
1c3af12b08e04a563a18258e04c33884fcfa2003
[ "MIT" ]
null
null
null
Chapter03-lxmlXPathCSS/lxmlXML.py
rohinegi548/Hands-On-Web-Scraping-with-Python
1c3af12b08e04a563a18258e04c33884fcfa2003
[ "MIT" ]
null
null
null
Chapter03-lxmlXPathCSS/lxmlXML.py
rohinegi548/Hands-On-Web-Scraping-with-Python
1c3af12b08e04a563a18258e04c33884fcfa2003
[ "MIT" ]
1
2020-05-25T06:17:30.000Z
2020-05-25T06:17:30.000Z
import requests from lxml import etree url="https://www.w3schools.com/xml/simple.xml" response = requests.get(url).content tree = etree.XML(response) print(tree) print(type(tree)) #iter through all elements found in Tree for element in tree.iter(): print("%s - %s" % (element.tag, element.text) #iter thr...
30.4
51
0.697368
68
456
4.676471
0.470588
0.075472
0.09434
0.119497
0.421384
0.421384
0.421384
0.245283
0.245283
0
0
0.002604
0.157895
456
14
52
32.571429
0.825521
0
0
0
0
0
0.184874
0
0
0
0
0
0
0
null
null
0
0.181818
null
null
0.363636
0
0
0
null
0
0
0
0
0
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
d0ac384ecd3c99db1aa4a2116d0ff08b8d71d6cb
1,090
py
Python
docs/conf.py
zmwangx/pymccusb
e54f38d80f01d7875ac847825c4f8ae77fe3e485
[ "MIT" ]
1
2021-01-22T20:15:23.000Z
2021-01-22T20:15:23.000Z
docs/conf.py
zmwangx/pymccusb
e54f38d80f01d7875ac847825c4f8ae77fe3e485
[ "MIT" ]
null
null
null
docs/conf.py
zmwangx/pymccusb
e54f38d80f01d7875ac847825c4f8ae77fe3e485
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import inspect import os import sys import sphinx_rtd_theme # Skip loading libmccusb in the mccusb module os.environ['SPHINX_BUILD'] = '1' HERE = os.path.dirname(os.path.realpath(__file__)) PROJECT_ROOT = os.path.dirname(HERE) sys.path.insert(0, PROJECT_ROOT) project = 'pymccusb' copyright =...
22.244898
97
0.736697
152
1,090
5.046053
0.539474
0.046936
0.073012
0.046936
0.059974
0
0
0
0
0
0
0.009514
0.13211
1,090
48
98
22.708333
0.801269
0.082569
0
0
0
0
0.214859
0.022088
0
0
0
0.020833
0
1
0.0625
false
0
0.125
0.03125
0.21875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d0b4772dae8cae3792b65b597da7bcb1d979a0c5
561
py
Python
core_tools/job_mgnt/legacy/test.py
opietx/core_tools
d5bd2d4beed74791b80ff5bdabd67774403763ef
[ "BSD-2-Clause" ]
null
null
null
core_tools/job_mgnt/legacy/test.py
opietx/core_tools
d5bd2d4beed74791b80ff5bdabd67774403763ef
[ "BSD-2-Clause" ]
null
null
null
core_tools/job_mgnt/legacy/test.py
opietx/core_tools
d5bd2d4beed74791b80ff5bdabd67774403763ef
[ "BSD-2-Clause" ]
null
null
null
import threading import time class class1(): def __init__(self,var_obj): self.test = var_obj def change_var(self,number): self.test.blub += number print (self.test.blub) def printvar(self): print(self.test.blub) class testing(class1): """docstring for testing""" def __init__(self): self.blub = 2 d...
16.5
29
0.680927
87
561
4.172414
0.298851
0.088154
0.099174
0.093664
0
0
0
0
0
0
0
0.012766
0.16221
561
33
30
17
0.759574
0.297683
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.294118
false
0
0.117647
0.058824
0.588235
0.235294
0
0
0
null
0
0
0
0
0
0
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
d0c8ab3c789bdc2d635cda0458becb36b1c9b459
1,208
py
Python
machine-learning-ex1/ex1/gradientDescentMulti.py
altermarkive/machine-learning-course
2f0a2c2269dab2bd61d34d96a75ccdd8b87683c7
[ "MIT" ]
1
2018-05-11T20:58:03.000Z
2018-05-11T20:58:03.000Z
machine-learning-ex1/ex1/gradientDescentMulti.py
altermarkive/Machine-Learning-Course
2f0a2c2269dab2bd61d34d96a75ccdd8b87683c7
[ "MIT" ]
null
null
null
machine-learning-ex1/ex1/gradientDescentMulti.py
altermarkive/Machine-Learning-Course
2f0a2c2269dab2bd61d34d96a75ccdd8b87683c7
[ "MIT" ]
2
2016-11-04T13:40:31.000Z
2018-05-11T20:58:05.000Z
#!/usr/bin/env python3 import numpy as np from computeCostMulti import computeCostMulti def gradientDescentMulti(X, y, theta, alpha, num_iters): #GRADIENTDESCENTMULTI Performs gradient descent to learn theta # theta = GRADIENTDESCENTMULTI(x, y, theta, alpha, num_iters) updates theta by # taking num_...
34.514286
97
0.591887
148
1,208
4.77027
0.540541
0.067989
0.029745
0.076487
0.113314
0.113314
0.113314
0
0
0
0
0.00547
0.243377
1,208
34
98
35.529412
0.766958
0.541391
0
0
0
0
0
0
0
0
0
0.029412
0
1
0.111111
false
0
0.222222
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d0d7ffb98f2073e7855f324596c876a5b4fefcb7
795
py
Python
old/main.py
Einscrew/masterMind
a9949e335d070b1cef9d95e0ea857d54493a3d8b
[ "MIT" ]
null
null
null
old/main.py
Einscrew/masterMind
a9949e335d070b1cef9d95e0ea857d54493a3d8b
[ "MIT" ]
null
null
null
old/main.py
Einscrew/masterMind
a9949e335d070b1cef9d95e0ea857d54493a3d8b
[ "MIT" ]
2
2018-11-11T17:49:57.000Z
2019-12-31T16:52:40.000Z
import colorama #colorama.init() class c: colors=[[1,'blue','\033[44m'],[2,'green','\033[42m'],[3,'red','\033[41m'],[4,'yellow','\033[43m'],[5,'cyan','\033[48;5;202m'],[6,'purple','\033[48;5;199m'],[7,'gray','\033[48;5;8m'],[8,'white','\033[48;5;15m']] END='\033[0m' def test(): result="\t" for i in c.colors: re...
30.576923
211
0.558491
175
795
2.537143
0.342857
0.045045
0.033784
0.045045
0.189189
0.135135
0.09009
0.09009
0.09009
0.09009
0
0.134078
0.099371
795
25
212
31.8
0.486034
0.098113
0
0
0
0
0.226573
0
0
0
0
0
0
1
0.1
false
0
0.05
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d0e12dba3fc9ff4fc57b2dffb4ba37e5bb13f558
37,463
py
Python
src/code_generation/mips_visitor.py
matcom-compilers-2019/cool-compiler-hieu-luis-alejandro
2a15d025c373bad0d7b52e6dc26c514dc997dfb0
[ "MIT" ]
3
2019-06-23T06:39:18.000Z
2019-06-27T02:28:09.000Z
src/code_generation/mips_visitor.py
matcom-compilers-2019/cool-compiler-hieu-luis-alejandro
2a15d025c373bad0d7b52e6dc26c514dc997dfb0
[ "MIT" ]
null
null
null
src/code_generation/mips_visitor.py
matcom-compilers-2019/cool-compiler-hieu-luis-alejandro
2a15d025c373bad0d7b52e6dc26c514dc997dfb0
[ "MIT" ]
1
2019-07-12T19:07:46.000Z
2019-07-12T19:07:46.000Z
""" Registers $v0 and $v1 are used to return values from functions. Registers $t0 – $t9 are caller-saved registers that are used to hold temporary quantities that need not be preserved across calls Registers $s0 – $s7 (16–23) are callee-saved registers that hold long-lived values that should be preserved across calls....
34.181569
120
0.662841
6,001
37,463
3.95934
0.075987
0.183712
0.264815
0.080135
0.639394
0.538426
0.427357
0.369276
0.32096
0.286658
0
0.026138
0.14828
37,463
1,096
121
34.181569
0.718409
0.215493
0
0.313235
0
0
0.279405
0.052333
0
0
0
0
0
1
0.066176
false
0.001471
0.005882
0
0.075
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d0e22a1fe78091684d053ccf22cad22f969d5b45
7,342
py
Python
scripts/summary_plots_stats/plot_ses_sim_v_obs.py
nadiahpk/niche-neutral-riau-birds
83eeba57973d6912ad354592c84a03b5c24b3363
[ "Unlicense" ]
null
null
null
scripts/summary_plots_stats/plot_ses_sim_v_obs.py
nadiahpk/niche-neutral-riau-birds
83eeba57973d6912ad354592c84a03b5c24b3363
[ "Unlicense" ]
null
null
null
scripts/summary_plots_stats/plot_ses_sim_v_obs.py
nadiahpk/niche-neutral-riau-birds
83eeba57973d6912ad354592c84a03b5c24b3363
[ "Unlicense" ]
null
null
null
# plots histograms of the SES scores for the simulated data, and compares it to the SES observed import pandas as pd import matplotlib.pyplot as plt import numpy as np # parameters # --- # a list of plots to create plot_infos = [ { 'sim_subset': [('subset_name', 'survey_only')], '...
39.473118
109
0.589485
892
7,342
4.511211
0.163677
0.089463
0.107356
0.107853
0.702535
0.683151
0.681412
0.675199
0.660785
0.622266
0
0.015174
0.254971
7,342
185
110
39.686486
0.720475
0.094525
0
0.381679
0
0
0.48656
0.283298
0
0
0
0
0
1
0
false
0
0.022901
0
0.022901
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d0e3e938c69627531483cc29d85d5ba465fc330e
1,968
py
Python
src/village.py
medsd9/tatarbot
79bd69a3a9f75f6d2b139ddae9371fc67bb39c58
[ "MIT" ]
null
null
null
src/village.py
medsd9/tatarbot
79bd69a3a9f75f6d2b139ddae9371fc67bb39c58
[ "MIT" ]
null
null
null
src/village.py
medsd9/tatarbot
79bd69a3a9f75f6d2b139ddae9371fc67bb39c58
[ "MIT" ]
null
null
null
from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.common.by import By from .utils import log from .util_game import close_modal from .custom_driver import client, use_browser from enum import Enum class building(Enum): smithy = 13 headquarter = 15 rallypoint = 16 ma...
26.594595
79
0.621951
253
1,968
4.727273
0.41502
0.035117
0.035117
0.0301
0.095318
0.095318
0.056856
0.056856
0
0
0
0.013324
0.237297
1,968
73
80
26.958904
0.783478
0.03252
0
0.040816
0
0
0.127895
0.012632
0
0
0
0.013699
0
1
0.122449
false
0.020408
0.122449
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d0e4ac6f18d23c977e37b7a915e104cea1377c24
949
py
Python
test/test_imageReader.py
LK00100100/four-map-solver
6797f9779ebfd36d4464e41f52156c9697a681e1
[ "MIT" ]
null
null
null
test/test_imageReader.py
LK00100100/four-map-solver
6797f9779ebfd36d4464e41f52156c9697a681e1
[ "MIT" ]
3
2020-03-30T04:25:15.000Z
2021-09-08T01:15:23.000Z
test/test_imageReader.py
LK00100100/four-map-solver
6797f9779ebfd36d4464e41f52156c9697a681e1
[ "MIT" ]
null
null
null
from unittest import TestCase from Graph.Color import Color from Graph.ColorNode import ColorNode from GraphReader.TextReader import TextReader from GraphSolver.FourMapSolver import FourMapSolver class TestFourMapSolverReader(TestCase): def test_should_return_correct_solution(self): # Arrange fi...
32.724138
79
0.693361
108
949
5.925926
0.472222
0.042188
0.059375
0.084375
0
0
0
0
0
0
0
0
0.249737
949
28
80
33.892857
0.898876
0.139094
0
0
0
0
0.019778
0
0
0
0
0
0.125
1
0.0625
false
0
0.3125
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d0e996ab202728c196a3f229751b9a78700570ad
3,988
py
Python
coding-tests/seven_segment.py
fjanoos/python
d75d6159cbf3c91b1ca3507ee4bc45afc1ab85dc
[ "Unlicense" ]
1
2020-02-12T02:34:35.000Z
2020-02-12T02:34:35.000Z
coding-tests/seven_segment.py
fjanoos/python
d75d6159cbf3c91b1ca3507ee4bc45afc1ab85dc
[ "Unlicense" ]
null
null
null
coding-tests/seven_segment.py
fjanoos/python
d75d6159cbf3c91b1ca3507ee4bc45afc1ab85dc
[ "Unlicense" ]
null
null
null
# https://code.google.com/codejam/contest/3214486/dashboard # Input # # The first line of the input gives the number of test cases, T. Each test case is a line containing an integer N # which is the number of states Tom recorded and a list of the N states separated by spaces. Each state is encoded # into a 7-chara...
24.317073
117
0.625376
602
3,988
4.084718
0.357143
0.0122
0.016267
0.0244
0.057747
0.044734
0.044734
0.023587
0.023587
0.023587
0
0.093452
0.264794
3,988
163
118
24.466258
0.745225
0.409478
0
0.156627
0
0
0.045476
0
0
0
0
0
0
0
null
null
0
0.036145
null
null
0.048193
0
0
0
null
0
0
0
0
0
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
d0eab169b8349932e364d0e87b2ffad815e8e7d2
571
py
Python
ex052_num_primos.py
elisamariacampos/MundoPhyton
f5d0308bd8af059eb36f18acf81b8b729cb8e401
[ "MIT" ]
null
null
null
ex052_num_primos.py
elisamariacampos/MundoPhyton
f5d0308bd8af059eb36f18acf81b8b729cb8e401
[ "MIT" ]
null
null
null
ex052_num_primos.py
elisamariacampos/MundoPhyton
f5d0308bd8af059eb36f18acf81b8b729cb8e401
[ "MIT" ]
null
null
null
num = int(input('Digite um número para teste:')) tot = 0 for c in range(1, num + 1): if num % c == 0: print('\033[1;33m', end='') tot +=1 else: print('\033[1;34m', end='') print(f'{c}', end=' ') print(f'\nO número {c} foi divisível {tot} vezes.') if tot == 2: print('E por isso e...
24.826087
57
0.551664
93
571
3.387097
0.462366
0.085714
0.057143
0.08254
0.101587
0
0
0
0
0
0
0.04388
0.241681
571
22
58
25.954545
0.683603
0.295972
0
0.142857
0
0
0.361111
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
d0f0d110229b9faf4921012cbd30874053c37cf1
3,653
py
Python
mathsmonkey/l0/column_addition.py
ikucan/MathsMonkey
0c0a6089530335e51a64035ec0af2795148d87e2
[ "Apache-2.0" ]
null
null
null
mathsmonkey/l0/column_addition.py
ikucan/MathsMonkey
0c0a6089530335e51a64035ec0af2795148d87e2
[ "Apache-2.0" ]
null
null
null
mathsmonkey/l0/column_addition.py
ikucan/MathsMonkey
0c0a6089530335e51a64035ec0af2795148d87e2
[ "Apache-2.0" ]
null
null
null
from pylatex import Document, Section, Subsection, Tabular, MultiColumn, LongTabu, Command from pylatex import Math from pylatex.basic import SmallText from pylatex.position import FlushRight from pylatex.utils import italic, bold from random import randint out_dir = "generated/" pge_geom = {"tmargin" : "1cm", "bmarg...
37.659794
127
0.614016
580
3,653
3.612069
0.256897
0.050119
0.016706
0.019093
0.320764
0.287351
0.281146
0.263962
0.18759
0.18759
0
0.025036
0.234602
3,653
96
128
38.052083
0.724249
0.125376
0
0.064516
0
0
0.110692
0
0
0
0
0.010417
0.048387
1
0.032258
false
0
0.096774
0
0.145161
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d0faa8748faf5bbbc7a3a37ffa12a4618465b997
3,401
py
Python
kanboard_cli/shell.py
kanboard/kanboard_cli
60458d8f4a0a5d8c74222e71aea1fa626ff494ed
[ "MIT" ]
12
2017-01-12T06:38:53.000Z
2019-01-02T16:50:23.000Z
kanboard_cli/shell.py
kanboard/kanboard_cli
60458d8f4a0a5d8c74222e71aea1fa626ff494ed
[ "MIT" ]
null
null
null
kanboard_cli/shell.py
kanboard/kanboard_cli
60458d8f4a0a5d8c74222e71aea1fa626ff494ed
[ "MIT" ]
6
2017-07-30T07:24:52.000Z
2022-03-21T05:16:03.000Z
# The MIT License (MIT) # # Copyright (c) 2016 Frederic Guillot # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, ...
36.180851
82
0.697442
421
3,401
5.491686
0.394299
0.038062
0.046713
0.054498
0.122405
0.084775
0
0
0
0
0
0.002257
0.218465
3,401
93
83
36.569892
0.86757
0.316966
0
0.072727
0
0
0.12864
0
0
0
0
0
0
1
0.072727
false
0.054545
0.145455
0.018182
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
0
0
0
0
0
1
0
0
0
0
0
1
19031885b92cafbfb21a3e0650a1957869073d06
15,911
py
Python
pyntejos/muse/extract_interactive.py
ntejos/pyntejos
ecac98807c33c58e0ced690231991375b89739c9
[ "BSD-3-Clause" ]
null
null
null
pyntejos/muse/extract_interactive.py
ntejos/pyntejos
ecac98807c33c58e0ced690231991375b89739c9
[ "BSD-3-Clause" ]
null
null
null
pyntejos/muse/extract_interactive.py
ntejos/pyntejos
ecac98807c33c58e0ced690231991375b89739c9
[ "BSD-3-Clause" ]
null
null
null
# Extract spectra and 2d images of objects in a MUSE data cube. # Usage: extract.py [filename] [sexcat] [MmmYYYY] # SExtractor cataogue required and must contain x, y coordinates (Cols 6 & 7), flags (Col10) and 90% flux radius (Col15). import numpy as np class PointBrowser: """ Click on a point to select and ...
44.946328
123
0.532085
2,211
15,911
3.786522
0.17232
0.035475
0.029503
0.031773
0.636527
0.594959
0.549092
0.542403
0.521381
0.519231
0
0.075959
0.2876
15,911
353
124
45.073654
0.662638
0.056125
0
0.551839
0
0.006689
0.077787
0
0
0
0
0
0
0
null
null
0
0.020067
null
null
0.060201
0
0
0
null
0
0
0
0
0
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
190398b81a2d8ddb9f584027395ba42c11c9b4f0
2,454
py
Python
open_fmri/apps/dataset/serializers.py
rwblair/open_fmri
5e3052878b6d514553a074a6d9d44fe740daa034
[ "BSD-3-Clause" ]
5
2016-01-18T20:54:18.000Z
2021-02-10T10:43:59.000Z
open_fmri/apps/dataset/serializers.py
rwblair/open_fmri
5e3052878b6d514553a074a6d9d44fe740daa034
[ "BSD-3-Clause" ]
25
2015-12-02T17:37:45.000Z
2018-02-05T22:07:51.000Z
open_fmri/apps/dataset/serializers.py
rwblair/open_fmri
5e3052878b6d514553a074a6d9d44fe740daa034
[ "BSD-3-Clause" ]
6
2015-11-19T23:26:47.000Z
2021-02-10T10:44:01.000Z
from rest_framework import serializers from dataset.models import Dataset, Investigator, Link, PublicationDocument, \ PublicationPubMedLink, Revision, Task, Contact class ContactSerializer(serializers.ModelSerializer): class Meta: model = Contact fields = ['email', 'name', 'website'] class In...
36.626866
79
0.679707
220
2,454
7.436364
0.318182
0.127139
0.06846
0.05868
0.171149
0
0
0
0
0
0
0
0.218419
2,454
66
80
37.181818
0.852972
0
0
0.148148
0
0
0.144662
0.01956
0
0
0
0
0
1
0.018519
false
0
0.037037
0.018519
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1