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
bcbed49572f4ead2c595bb91e73dc4446722c490
7,126
py
Python
5th_100/problem424.py
takekoputa/project-euler
6f434be429bd26f5d0f84f5ab0f5fa2bd677c790
[ "MIT" ]
null
null
null
5th_100/problem424.py
takekoputa/project-euler
6f434be429bd26f5d0f84f5ab0f5fa2bd677c790
[ "MIT" ]
null
null
null
5th_100/problem424.py
takekoputa/project-euler
6f434be429bd26f5d0f84f5ab0f5fa2bd677c790
[ "MIT" ]
1
2021-11-02T12:08:46.000Z
2021-11-02T12:08:46.000Z
# Question: https://projecteuler.net/problem=424 import subprocess def generate_input(board, n, v, h, model_filename): line = [] abc = "ABCDEFGHIJ" abc_map = {} line.append("set digits := {{0..9}};") line.append("set abc := {{ \"{}\" }};".format("\",\"".join(list(abc)))) line.append("var X...
32.83871
108
0.46604
888
7,126
3.634009
0.144144
0.117756
0.051131
0.085218
0.491478
0.449024
0.422064
0.389216
0.308336
0.308336
0
0.014
0.348442
7,126
216
109
32.990741
0.681025
0.04645
0
0.418605
1
0
0.148651
0.032149
0.017442
0
0
0
0
1
0.02907
false
0
0.005814
0.005814
0.052326
0.005814
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
bcbfcb296001d8f766e29181e637ed20a34bda25
10,850
py
Python
Python/02_Parameter_optimisation.py
martinfleis/morphological-tessellation-ceus
a69ab70e3f8ecbd75d49508f5cf5803976110b4a
[ "CC-BY-4.0" ]
4
2020-06-21T20:59:53.000Z
2021-11-25T10:09:46.000Z
Python/02_Parameter_optimisation.py
martinfleis/morphological-tessellation-ceus
a69ab70e3f8ecbd75d49508f5cf5803976110b4a
[ "CC-BY-4.0" ]
null
null
null
Python/02_Parameter_optimisation.py
martinfleis/morphological-tessellation-ceus
a69ab70e3f8ecbd75d49508f5cf5803976110b4a
[ "CC-BY-4.0" ]
1
2020-08-23T18:27:52.000Z
2020-08-23T18:27:52.000Z
#!/usr/bin/env python # coding: utf-8 # # Parameters optimisation analysis # # Computational notebook 02 for **Morphological tessellation as a way of partitioning space: Improving consistency in urban morphology at the plot scale**. # # # Fleischmann, M., Feliciotti, A., Romice, O. and Porta, S. (2020) _‘Morphologi...
31
344
0.671613
1,562
10,850
4.571063
0.274648
0.013445
0.005042
0.011765
0.29986
0.266527
0.220168
0.181373
0.155462
0.143978
0
0.029213
0.182857
10,850
349
345
31.088825
0.776111
0.23659
0
0.135593
0
0
0.08114
0
0
0
0
0
0
0
null
null
0
0.073446
null
null
0.00565
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bcc1325b6bd67a0e29cae96cbc308868c490c90d
500
py
Python
orders/mixins.py
stanmain/stasians_help
155b17c3323e71e38739402186e0d9501ab9d831
[ "MIT" ]
null
null
null
orders/mixins.py
stanmain/stasians_help
155b17c3323e71e38739402186e0d9501ab9d831
[ "MIT" ]
null
null
null
orders/mixins.py
stanmain/stasians_help
155b17c3323e71e38739402186e0d9501ab9d831
[ "MIT" ]
null
null
null
# Copyright © 2018 Stanislav Hnatiuk. All rights reserved. """The mixins module from the orders app.""" from django.views.generic.base import ContextMixin from .models import Order class OrderListMixin(ContextMixin): """Mixin of orders list.""" def get_context_data(self, **kwargs): context = super...
27.777778
76
0.686
61
500
5.57377
0.672131
0.058824
0.082353
0
0
0
0
0
0
0
0
0.009877
0.19
500
17
77
29.411765
0.82716
0.236
0
0
0
0
0.048518
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bcc2ea037d1930a8ba6768c62ad2cb6b0a200d5c
936
py
Python
app/config.py
isakal/little-website
b2d65d5e177f3f49aba37d78571f071bb0d405a7
[ "MIT" ]
3
2019-05-15T19:02:35.000Z
2020-06-29T14:06:39.000Z
app/config.py
isakal/little-website
b2d65d5e177f3f49aba37d78571f071bb0d405a7
[ "MIT" ]
2
2019-04-29T13:57:23.000Z
2020-02-12T06:38:03.000Z
app/config.py
isakal/little-website
b2d65d5e177f3f49aba37d78571f071bb0d405a7
[ "MIT" ]
1
2020-04-07T09:10:38.000Z
2020-04-07T09:10:38.000Z
import os class BaseConfig(object): """base config""" MAIL_USERNAME = os.environ['TIWWTER_MAIL'] MAIL_PASSWORD = os.environ['TIWWTER_PASSWORD'] SQLALCHEMY_TRACK_MODIFICATIONS = False MAIL_PORT = 587 MAIL_USE_TLS = True MAIL_SERVER = 'smtp.gmail.com' DEBUG_TB_ENABLED = False DEBUG_TB_PROFILER_ENABLED = True ...
25.297297
68
0.776709
119
936
5.764706
0.394958
0.078717
0.139942
0.08309
0.177843
0.09621
0
0
0
0
0
0.003614
0.113248
936
36
69
26
0.822892
0.058761
0
0.166667
0
0
0.19186
0.066279
0
0
0
0
0
1
0
false
0.041667
0.041667
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
bcc4c81ce72cebb901848c572f2b3973e19df2e0
492
py
Python
pepdb/core/migrations/0144_feedbackmessage_email.py
dchaplinsky/pep.org.ua
8633a65fb657d7f04dbdb12eb8ae705fa6be67e3
[ "MIT" ]
7
2015-12-21T03:52:46.000Z
2020-07-24T19:17:23.000Z
pepdb/core/migrations/0144_feedbackmessage_email.py
dchaplinsky/pep.org.ua
8633a65fb657d7f04dbdb12eb8ae705fa6be67e3
[ "MIT" ]
12
2016-03-05T18:11:05.000Z
2021-06-17T20:20:03.000Z
pepdb/core/migrations/0144_feedbackmessage_email.py
dchaplinsky/pep.org.ua
8633a65fb657d7f04dbdb12eb8ae705fa6be67e3
[ "MIT" ]
4
2016-07-17T20:19:38.000Z
2021-03-23T12:47:20.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.10 on 2018-04-04 21:37 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0143_auto_20180403_1255'), ] operations = [ migrations.AddField( ...
23.428571
87
0.630081
56
492
5.339286
0.821429
0
0
0
0
0
0
0
0
0
0
0.1
0.247967
492
20
88
24.6
0.708108
0.140244
0
0
1
0
0.12619
0.054762
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bcca611bca882cd3949f83751ac24612f5df7c1c
874
py
Python
eval_prior.py
dapengchen123/caption_evaluation
d735c28ec2a360771a5cafba99878f8ad6163f01
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
eval_prior.py
dapengchen123/caption_evaluation
d735c28ec2a360771a5cafba99878f8ad6163f01
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
eval_prior.py
dapengchen123/caption_evaluation
d735c28ec2a360771a5cafba99878f8ad6163f01
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
from pycocotools.coco import COCO from pycocoevalcap.eval import COCOEvalCap import matplotlib.pyplot as plt import skimage.io as io import pylab pylab.rcParams['figure.figsize'] = (10.0, 8.0) import json from json import encoder encoder.FLOAT_REPR = lambda o: format(o, '.3f') dataDir = '/home/dpchen/workspace/langua...
26.484848
97
0.768879
117
874
5.666667
0.547009
0.030166
0.057315
0.081448
0.093514
0
0
0
0
0
0
0.01261
0.092677
874
32
98
27.3125
0.823455
0
0
0
0
0
0.279817
0.213303
0
0
0
0
0
1
0
false
0
0.318182
0
0.318182
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
bccd706f5260865906d809842b6f3c8b5eccab89
975
py
Python
jaccard_index/jaccard.py
aniruddhadave/jaccard_index
e9c3ba31cfe06be8459529e1224adf2a36fece0f
[ "MIT" ]
4
2018-09-25T08:48:38.000Z
2021-07-08T08:16:48.000Z
jaccard_index/jaccard.py
aniruddhadave/jaccard_index
e9c3ba31cfe06be8459529e1224adf2a36fece0f
[ "MIT" ]
null
null
null
jaccard_index/jaccard.py
aniruddhadave/jaccard_index
e9c3ba31cfe06be8459529e1224adf2a36fece0f
[ "MIT" ]
1
2018-10-30T05:15:21.000Z
2018-10-30T05:15:21.000Z
# -*- coding: utf-8 -*- """ Jaccard Index Implementation @author: AniruddhaMaheshDave """ def jaccard_index(str1, str2, n_gram = 2): """ Computes the Jaccard Index between two strings `str1` and `str2`. #TODO : Write details about Jaccard Index """ if str1 == str2: return 1 len1, len2 = len(str1), len(str2...
25
71
0.678974
161
975
3.956522
0.347826
0.078493
0.028257
0.065934
0.138148
0.078493
0
0
0
0
0
0.034913
0.177436
975
39
72
25
0.759352
0.193846
0
0
0
0
0.065104
0
0
0
0
0.025641
0
1
0.05
false
0
0
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
bcd26eb08775984a612dd34b7e25ff995d029c62
2,730
py
Python
src/awkward/_v2/operations/io/ak_from_parquet.py
BioGeek/awkward-1.0
0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2
[ "BSD-3-Clause" ]
null
null
null
src/awkward/_v2/operations/io/ak_from_parquet.py
BioGeek/awkward-1.0
0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2
[ "BSD-3-Clause" ]
null
null
null
src/awkward/_v2/operations/io/ak_from_parquet.py
BioGeek/awkward-1.0
0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2
[ "BSD-3-Clause" ]
null
null
null
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE from __future__ import absolute_import import awkward as ak np = ak.nplike.NumpyMetadata.instance() def from_parquet( # this will be going through Awkward-Dask source, columns=None, row_groups=None, use_threads...
43.333333
87
0.643223
372
2,730
4.655914
0.438172
0.025982
0.013857
0.018476
0.02194
0
0
0
0
0
0
0.007455
0.263004
2,730
62
88
44.032258
0.85338
0.827839
0
0
0
0
0.007059
0
0
0
0
0
0
1
0.058824
false
0
0.117647
0
0.176471
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bcd5f817096a94075d19c4485e0f409841890974
4,676
gyp
Python
src/modules/audio_coding/codecs/iLBC/main/source/ilbc.gyp
roisagiv/webrtc-ndk
b22a896d995a5601dade8a26ad20f6eb166bae80
[ "BSD-3-Clause" ]
1
2017-02-08T09:47:04.000Z
2017-02-08T09:47:04.000Z
modules/audio_coding/codecs/iLBC/main/source/ilbc.gyp
stoiczek/WebRTC
6d8190b8c89b3bee9c5ee9eabbd9d67169449f8c
[ "BSD-3-Clause" ]
null
null
null
modules/audio_coding/codecs/iLBC/main/source/ilbc.gyp
stoiczek/WebRTC
6d8190b8c89b3bee9c5ee9eabbd9d67169449f8c
[ "BSD-3-Clause" ]
5
2015-10-30T17:35:19.000Z
2021-06-04T01:39:27.000Z
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. # # Use of this source code is governed by a BSD-style license # that can be found in the LICENSE file in the root of the source # tree. An additional intellectual property rights grant can be found # in the file PATENTS. All contributing project au...
26.269663
91
0.526305
581
4,676
3.903614
0.277108
0.009259
0.029101
0.035273
0.080247
0.024691
0.024691
0.024691
0
0
0
0.005982
0.320787
4,676
177
92
26.418079
0.708123
0.105218
0
0.06135
0
0
0.542446
0.140288
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
bcd95c36f5dc8c53f01112007fa2fcc979e17fbb
499
py
Python
apps/core_apps/games/management/commands/download_featured_games.py
google-code-export/django-hotclub
d783a5bbcc06816289565f3eae6d99461188ca4a
[ "MIT" ]
1
2019-04-15T13:50:26.000Z
2019-04-15T13:50:26.000Z
apps/core_apps/games/management/commands/download_featured_games.py
pombreda/django-hotclub
d783a5bbcc06816289565f3eae6d99461188ca4a
[ "MIT" ]
null
null
null
apps/core_apps/games/management/commands/download_featured_games.py
pombreda/django-hotclub
d783a5bbcc06816289565f3eae6d99461188ca4a
[ "MIT" ]
null
null
null
from django.core.management.base import NoArgsCommand from arcade.models import Game from arcade.scripts.process_queue import ProcessDownloadQueue class Command(NoArgsCommand): def handle_noargs(self, **options): featured_games_to_download = Game.objects.filter(featured=True, downloaded=False) for ...
45.363636
89
0.749499
58
499
6.310345
0.672414
0.106557
0.081967
0.125683
0
0
0
0
0
0
0
0
0.176353
499
11
90
45.363636
0.890511
0
0
0
0
0
0.098
0
0
0
0
0
0
0
null
null
0
0.3
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bcdb0888d7c1f7d8300788d92fd1f7315d88facd
8,139
py
Python
pingtrack.py
v22arvind/Plot-Pings-in-Python
394b51d21c51652d2568419296cf6a4981b6d24e
[ "MIT" ]
null
null
null
pingtrack.py
v22arvind/Plot-Pings-in-Python
394b51d21c51652d2568419296cf6a4981b6d24e
[ "MIT" ]
null
null
null
pingtrack.py
v22arvind/Plot-Pings-in-Python
394b51d21c51652d2568419296cf6a4981b6d24e
[ "MIT" ]
null
null
null
import datetime import os import re import sys import time from optparse import OptionParser import numpy as np # software version __version__ = "1.1.0" ping_flag = "n" if sys.platform != "win32": ping_flag = "c" # ping def pinger(host, n): """Executes the PCs ping command""" proc = os.popen(f"ping -{...
30.369403
112
0.524512
1,070
8,139
3.88785
0.271963
0.021875
0.02524
0.010096
0.166106
0.111058
0.061058
0.04375
0.04375
0.04375
0.000369
0.030864
0.323258
8,139
267
113
30.483146
0.723675
0.125323
0
0.128342
0
0.016043
0.217266
0.039137
0
0
0
0
0
0
null
null
0
0.048128
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bcdceef28274f1258a013419f1fac7e9a06f980a
443
py
Python
setup.py
Leschonander/Jump-Bike-D.C-Python-API-Wrapper
e2ec49516e04e412638c94844c15a4a2db652e0a
[ "MIT" ]
null
null
null
setup.py
Leschonander/Jump-Bike-D.C-Python-API-Wrapper
e2ec49516e04e412638c94844c15a4a2db652e0a
[ "MIT" ]
null
null
null
setup.py
Leschonander/Jump-Bike-D.C-Python-API-Wrapper
e2ec49516e04e412638c94844c15a4a2db652e0a
[ "MIT" ]
null
null
null
from setuptools import setup setup(name = "Jump Bike DC API Wrapper", url = 'https://github.com/Leschonander/Jump-Bike-D.C-Python-API-Wrapper', author = "Lars E. Schonander", author_email = 'leschonander@gmail.com', packages=['src'], install_requires=['requests'], version = '0.1', license =...
34.076923
77
0.6614
59
443
4.915254
0.711864
0.082759
0.062069
0.068966
0
0
0
0
0
0
0
0.00551
0.180587
443
13
78
34.076923
0.793388
0
0
0
0
0.083333
0.445946
0.04955
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
bcdd90bb791e2c2b0709851a4b9eb939c28a3b23
4,790
py
Python
reorg_kobold/kobold_scripts/auto_generate_header.py
malus-security/kobold
2ae23b75ec503ef3702ad297ddbb7824ac4da53c
[ "BSD-3-Clause" ]
3
2020-06-26T19:44:46.000Z
2021-03-25T07:00:04.000Z
reorg_kobold/kobold_scripts/auto_generate_header.py
malus-security/kobold
2ae23b75ec503ef3702ad297ddbb7824ac4da53c
[ "BSD-3-Clause" ]
null
null
null
reorg_kobold/kobold_scripts/auto_generate_header.py
malus-security/kobold
2ae23b75ec503ef3702ad297ddbb7824ac4da53c
[ "BSD-3-Clause" ]
1
2020-09-14T23:46:31.000Z
2020-09-14T23:46:31.000Z
import pickle import re def parseMessyTypes(messyType,alreadyDeclaredTypeList, prot_types, inter_types): cleanTypes = [] #remove pointer notation messyType = messyType.replace(' *','') #we might need to treat these as protocols instead of just declaring them... #in that case, it would be necessary to store ...
33.034483
133
0.720459
567
4,790
6.03351
0.338624
0.015785
0.018416
0.016662
0.133587
0.085063
0.038585
0
0
0
0
0.002769
0.170772
4,790
144
134
33.263889
0.85851
0.284134
0
0.15625
0
0
0.104938
0.017931
0
0
0
0.006944
0
0
null
null
0
0.020833
null
null
0.052083
0
0
0
null
0
0
0
0
0
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
bcde8749697387e18b342d33997b599fd6c61c27
1,778
py
Python
examples/static.py
jmdejong/ratul
41143d0c69c71b52170217e4952c44fac940da98
[ "MIT" ]
5
2019-09-13T21:45:18.000Z
2021-08-15T06:12:03.000Z
examples/static.py
jmdejong/ratul
41143d0c69c71b52170217e4952c44fac940da98
[ "MIT" ]
7
2019-09-19T11:58:00.000Z
2021-01-23T13:01:54.000Z
examples/static.py
jmdejong/ratul
41143d0c69c71b52170217e4952c44fac940da98
[ "MIT" ]
null
null
null
#!/usr/bin/env -S python3 #from ratuil.bufferedscreen import Screen #from ratuil.ansiscreen import Screen from ratuil.cursedscreen import Screen from ratuil.layout import Layout from ratuil.inputs import get_key import time layoutstring = """\ <?xml version="1.0"?> <hbox> <vbox width="20" align="right"> <bar id="h...
22.794872
138
0.64117
232
1,778
4.853448
0.491379
0.044405
0.042629
0.058615
0
0
0
0
0
0
0
0.019863
0.178853
1,778
77
139
23.090909
0.75137
0.056243
0
0.15942
0
0.028986
0.755821
0.041194
0.014493
0
0
0
0
1
0.014493
false
0
0.057971
0
0.072464
0.014493
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bce150576faa1ad66c21bb0d62a2fb87481f6df6
751
py
Python
Mengascini-Spina/Sistemi-Digitali-M/Datasets/Utilities/Maps/Noiseprint/NoiseprintExtractor.py
mattpoggi/SistemiDigitaliM20-21
202e520a571a2bb961851763f37e9293c3af400d
[ "MIT" ]
9
2021-02-07T22:53:34.000Z
2022-03-14T21:47:30.000Z
Mengascini-Spina/Sistemi-Digitali-M/Datasets/Utilities/Maps/Noiseprint/NoiseprintExtractor.py
mattpoggi/SistemiDigitaliM20-21
202e520a571a2bb961851763f37e9293c3af400d
[ "MIT" ]
null
null
null
Mengascini-Spina/Sistemi-Digitali-M/Datasets/Utilities/Maps/Noiseprint/NoiseprintExtractor.py
mattpoggi/SistemiDigitaliM20-21
202e520a571a2bb961851763f37e9293c3af400d
[ "MIT" ]
18
2021-02-07T18:30:47.000Z
2022-01-22T16:57:40.000Z
from Datasets.Utilities.Maps.MapExtractor import MapExtractor from Datasets.Utilities.Maps.Noiseprint.noiseprint import NoiseprintEngineV2 import numpy as np from PIL import Image from Datasets.Utilities.Maps.Noiseprint.utility import jpeg_qtableinv class NoiseprintExtractor(MapExtractor): def extract(self, ima...
30.04
102
0.684421
85
751
6.023529
0.482353
0.070313
0.123047
0.146484
0.136719
0
0
0
0
0
0
0.025729
0.223702
751
25
103
30.04
0.852487
0.113182
0
0.142857
0
0
0.007874
0
0
0
0
0
0
1
0.071429
false
0
0.357143
0
0.571429
0.285714
0
0
0
null
0
0
0
0
0
0
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
bce1ee6f144a88356b93502f3401948d23cf9340
267
py
Python
Estudo_Livro_De_Nilo Ney/Ex 2.3-2.4-2.5-2.6.py
FabioARodrigues/Python
20ffe6120fb5a2cbee5b8fd6d16b52193a261c3c
[ "MIT" ]
1
2021-02-28T01:12:14.000Z
2021-02-28T01:12:14.000Z
Estudo_Livro_De_Nilo Ney/Ex 2.3-2.4-2.5-2.6.py
FabioARodrigues/Python
20ffe6120fb5a2cbee5b8fd6d16b52193a261c3c
[ "MIT" ]
null
null
null
Estudo_Livro_De_Nilo Ney/Ex 2.3-2.4-2.5-2.6.py
FabioARodrigues/Python
20ffe6120fb5a2cbee5b8fd6d16b52193a261c3c
[ "MIT" ]
null
null
null
# Exercício 2.3 nome = input("olá! Informe seu nome:") print(nome) # Exercício 2.4 a = 3 b = 5 print(2*a + 3*b) # Exercício 2.5 a = 3 b = 7 c = 4 print(a+b+c) # Exercício 2.6 salário = 750 aumento = 0.15 sal_real = (salário+(salário*aumento)) print(sal_real)
10.269231
38
0.629213
52
267
3.192308
0.442308
0.240964
0.054217
0
0
0
0
0
0
0
0
0.099526
0.209738
267
25
39
10.68
0.687204
0.205993
0
0.153846
0
0
0.106796
0
0
0
0
0
0
1
0
false
0
0
0
0
0.307692
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
bce4180a2a18ba04dcfbba6bb506665ece5d547a
576
py
Python
simple_stack.py
vishnun/python-programs
8e27f88a2a7174a0ca10596a328c4031bedd602c
[ "MIT" ]
null
null
null
simple_stack.py
vishnun/python-programs
8e27f88a2a7174a0ca10596a328c4031bedd602c
[ "MIT" ]
null
null
null
simple_stack.py
vishnun/python-programs
8e27f88a2a7174a0ca10596a328c4031bedd602c
[ "MIT" ]
null
null
null
stack = [] def push(item): stack.append(item) def peek(): return stack[len(stack) - 1] def pop(): return stack.pop() def print_stack(): print "\n\n" for item in list(reversed(stack)): print "| {} |".format(item) print "```````" def menu(): while True: print "1. Push\n2. Pop\n3. Print\n4. Exit" c...
14.769231
44
0.597222
84
576
4.059524
0.464286
0.070381
0.076246
0
0
0
0
0
0
0
0
0.02027
0.229167
576
38
45
15.157895
0.747748
0
0
0
0
0
0.194444
0
0
0
0
0
0
0
null
null
0
0
null
null
0.296296
0
0
0
null
0
0
0
0
0
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
bce4e459db48242bc558e7ee50aac18a8994f5c5
538
py
Python
internal/keepalive.py
guacaplushy/discord-py-template
71feaa4f5adb39940312e7013d5bc0e6b2e6ae4c
[ "MIT" ]
3
2020-11-13T17:36:15.000Z
2022-01-19T03:08:31.000Z
internal/keepalive.py
guacaplushy/discord-py-template
71feaa4f5adb39940312e7013d5bc0e6b2e6ae4c
[ "MIT" ]
null
null
null
internal/keepalive.py
guacaplushy/discord-py-template
71feaa4f5adb39940312e7013d5bc0e6b2e6ae4c
[ "MIT" ]
4
2021-01-22T10:52:30.000Z
2022-03-28T18:35:54.000Z
from flask import Flask from threading import Thread from gevent.pywsgi import WSGIServer import os app = Flask(__name__) @app.route('/', methods=['GET']) def home(): return "I'm alive" def run(): """ Serves the purpose of keeping the repl instance alive trough a webhook. Setting the webhook pinger part ...
22.416667
125
0.684015
78
538
4.602564
0.653846
0.05571
0
0
0
0
0
0
0
0
0
0.009281
0.198885
538
23
126
23.391304
0.823666
0.224907
0
0
0
0
0.062344
0
0
0
0
0
0
1
0.2
false
0
0.266667
0.066667
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bce5fdf60a5117769c2ecc6de56906070297c2de
1,196
py
Python
DesignDatabase/createDesignContract.py
a-b-h-i-97/BlockchainForAM
a204cab4e07e68301f10874b34d0f6c6eb5c3fab
[ "BSD-3-Clause" ]
null
null
null
DesignDatabase/createDesignContract.py
a-b-h-i-97/BlockchainForAM
a204cab4e07e68301f10874b34d0f6c6eb5c3fab
[ "BSD-3-Clause" ]
null
null
null
DesignDatabase/createDesignContract.py
a-b-h-i-97/BlockchainForAM
a204cab4e07e68301f10874b34d0f6c6eb5c3fab
[ "BSD-3-Clause" ]
null
null
null
from solc import compile_source from web3 import Web3 import getpass import os def create_contract(): provider = Web3.IPCProvider(os.path.join(os.path.dirname(__file__), '../DesignNode/geth.ipc')) w3 = Web3(provider) with open('../contracts/Designdb.sol', 'r') as source_file: contract_source = sou...
27.813953
98
0.711538
145
1,196
5.703448
0.475862
0.03023
0.031439
0.033857
0
0
0
0
0
0
0
0.015936
0.160535
1,196
42
99
28.47619
0.807769
0
0
0
0
0
0.178691
0.03943
0
0
0
0
0
1
0.038462
false
0.115385
0.153846
0
0.230769
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
bce8c9d24f3bcc35a86b894bc4ef6dceca6019dd
674
py
Python
exam.py
taejun0184/kakaoPy
d068e6d87df914b5d61c23d855ae198d0e5bbba0
[ "MIT" ]
8
2020-09-19T13:02:44.000Z
2021-09-25T11:26:57.000Z
exam.py
taejun0184/kakaoPy
d068e6d87df914b5d61c23d855ae198d0e5bbba0
[ "MIT" ]
1
2020-09-19T14:47:43.000Z
2020-09-19T14:47:43.000Z
exam.py
taejun0184/kakaoPy
d068e6d87df914b5d61c23d855ae198d0e5bbba0
[ "MIT" ]
12
2020-09-20T08:08:23.000Z
2021-08-25T01:55:53.000Z
import client from packet import Packet import bson import time import json class MyClass(client.Client): """ async def onPacket(self, packet): name = packet.PacketName body = packet.toJsonBody() # print(name) print(body) # print("\n") """ async def onMessage(se...
20.424242
37
0.538576
76
674
4.776316
0.526316
0.121212
0.107438
0
0
0
0
0
0
0
0
0
0.336795
674
32
38
21.0625
0.812081
0.284866
0
0
0
0
0.053305
0
0
0
0
0
0
1
0
false
0
0.3125
0
0.375
0.0625
0
0
0
null
0
0
0
0
0
0
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
bcec8ac3c783954c1dd58d9256a7010fdf111383
1,683
py
Python
LSDYNAPostProcess/kReader.py
AaronGe88inTHU/pyMaterialTestsProcess
c03fdd59645f2e82740b2f5f938789ced55ef93f
[ "MIT" ]
null
null
null
LSDYNAPostProcess/kReader.py
AaronGe88inTHU/pyMaterialTestsProcess
c03fdd59645f2e82740b2f5f938789ced55ef93f
[ "MIT" ]
null
null
null
LSDYNAPostProcess/kReader.py
AaronGe88inTHU/pyMaterialTestsProcess
c03fdd59645f2e82740b2f5f938789ced55ef93f
[ "MIT" ]
null
null
null
# coding: utf-8 # In[1]: from collections import defaultdict from eloutReader import eloutReader # In[55]: def setLoader(fileName): elementSet = defaultdict(list) with open(fileName, 'r+') as f: for line in f: if line.startswith('*SET_SOLID'): while 1: ...
29.017241
80
0.355912
125
1,683
4.76
0.496
0.045378
0.053782
0
0
0
0
0
0
0
0
0.025503
0.557338
1,683
57
81
29.526316
0.773154
0.051099
0
0.225806
0
0
0.027112
0
0
0
0
0
0
1
0.032258
false
0
0.064516
0
0.129032
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bcee02804ea790e2caf0ded65711e95df039d9fb
1,126
py
Python
weather/views.py
fjavierm/weather-app
2d07e72150f6d25d1c4fee916ebea51d7d55ba73
[ "MIT" ]
null
null
null
weather/views.py
fjavierm/weather-app
2d07e72150f6d25d1c4fee916ebea51d7d55ba73
[ "MIT" ]
null
null
null
weather/views.py
fjavierm/weather-app
2d07e72150f6d25d1c4fee916ebea51d7d55ba73
[ "MIT" ]
null
null
null
import json import urllib.request from django.shortcuts import render API_KEY = '' # TODO Add the API key # Create your views here. def home(request): if request.method == 'POST': city = request.POST['city'] source = urllib.request.urlopen( 'http://api.weatherapi.com/v1/current.json...
34.121212
93
0.547957
116
1,126
5.258621
0.517241
0.162295
0.147541
0
0
0
0
0
0
0
0
0.001215
0.269094
1,126
32
94
35.1875
0.739976
0.039076
0
0
0
0
0.253012
0
0
0
0
0.03125
0
1
0.037037
false
0
0.111111
0
0.185185
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
1
0
0
0
0
0
0
0
0
0
0
1
bcf8eba2615b518fdbfeb358768168fd20b50bff
1,565
py
Python
flask_monitoringdashboard/core/plot/__init__.py
jlane9/Flask-MonitoringDashboard
b989bcf8f870ccd9141210eb4b2b8f716873c4fe
[ "MIT" ]
null
null
null
flask_monitoringdashboard/core/plot/__init__.py
jlane9/Flask-MonitoringDashboard
b989bcf8f870ccd9141210eb4b2b8f716873c4fe
[ "MIT" ]
null
null
null
flask_monitoringdashboard/core/plot/__init__.py
jlane9/Flask-MonitoringDashboard
b989bcf8f870ccd9141210eb4b2b8f716873c4fe
[ "MIT" ]
null
null
null
""" Contains all code for generating plots This files ensures consistency for all plots """ import plotly import plotly.graph_objs as go from flask_monitoringdashboard.core.plot.util import add_default_value from flask_monitoringdashboard.core.plot.plots import heatmap, boxplot, barplot, scatter, get_average_bu...
34.777778
113
0.70607
206
1,565
5.218447
0.368932
0.083721
0.125581
0.156279
0.304186
0.111628
0.07814
0
0
0
0
0.0125
0.182109
1,565
44
114
35.568182
0.827344
0.297764
0
0
0
0
0.09332
0
0
0
0
0
0
1
0.15
false
0
0.2
0
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bcf986635f2bd73539d6d78245f84239a7b28914
5,051
py
Python
django_simple_coupons/models.py
brunovila/django-simple-coupons
72cfd208ce69dd66c47aa201e2888317c243dfbf
[ "MIT" ]
null
null
null
django_simple_coupons/models.py
brunovila/django-simple-coupons
72cfd208ce69dd66c47aa201e2888317c243dfbf
[ "MIT" ]
null
null
null
django_simple_coupons/models.py
brunovila/django-simple-coupons
72cfd208ce69dd66c47aa201e2888317c243dfbf
[ "MIT" ]
null
null
null
from django.db import models from django.utils import timezone from django_simple_coupons.helpers import (get_random_code, get_coupon_code_length, get_user_model) # Create your models here. # ======================== class Ruleset(...
34.360544
118
0.663433
621
5,051
5.164251
0.170692
0.10633
0.030558
0.045837
0.25382
0.227003
0.13034
0.063611
0.063611
0.063611
0
0.005607
0.223124
5,051
146
119
34.59589
0.811417
0.009701
0
0.221154
0
0.019231
0.147429
0.004401
0
0
0
0
0
1
0.115385
false
0
0.028846
0.048077
0.634615
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
4c0a454bc22dc55bf36e66d6fabd3480a840c082
3,361
py
Python
gallery/tests.py
NzauM/Galleria
22bc7f44736e4e6102c191ee8ccc3a9684e1e8d1
[ "MIT" ]
null
null
null
gallery/tests.py
NzauM/Galleria
22bc7f44736e4e6102c191ee8ccc3a9684e1e8d1
[ "MIT" ]
4
2020-02-12T03:09:41.000Z
2021-09-08T01:31:26.000Z
gallery/tests.py
NzauM/Galleria
22bc7f44736e4e6102c191ee8ccc3a9684e1e8d1
[ "MIT" ]
null
null
null
from django.test import TestCase from .models import Author,Category,Location,Picture # Create your tests here. class AuthorTest(TestCase): def setUp(self): self.TestAuthor = Author(first_name = 'Test', last_name = 'Author',email = 'tester@gmail.com' ,phone_number = '0711111446') def test_instance(se...
28.974138
163
0.618268
377
3,361
5.371353
0.222812
0.044938
0.075556
0.094815
0.485432
0.359012
0.341235
0.180741
0.042469
0.042469
0
0.006525
0.270455
3,361
115
164
29.226087
0.819331
0.006843
0
0.296875
0
0
0.036957
0
0
0
0
0
0.203125
0
null
null
0
0.03125
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
4c0afee586e8b586674a21bc6b5a8cf22bc3b3de
1,553
py
Python
4th_100/problem301.py
takekoputa/project-euler
6f434be429bd26f5d0f84f5ab0f5fa2bd677c790
[ "MIT" ]
null
null
null
4th_100/problem301.py
takekoputa/project-euler
6f434be429bd26f5d0f84f5ab0f5fa2bd677c790
[ "MIT" ]
null
null
null
4th_100/problem301.py
takekoputa/project-euler
6f434be429bd26f5d0f84f5ab0f5fa2bd677c790
[ "MIT" ]
1
2021-11-02T12:08:46.000Z
2021-11-02T12:08:46.000Z
# Question: https://projecteuler.net/problem=301 import numpy as np # According to this https://en.wikipedia.org/wiki/Nim, the next player loses when the XOR of 3 heaps is 0. # When XOR(n, 2n, 3n) == 0? It occurs when n has consecutive 1's. # Why? # bit b1 b2 b3 # carry of n+2n x y z # ...
31.693878
146
0.45718
301
1,553
2.358804
0.302326
0.033803
0.059155
0.078873
0.239437
0.239437
0.197183
0.197183
0.176056
0.176056
0
0.140562
0.358661
1,553
48
147
32.354167
0.572289
0.811333
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4c14147ccc0ed33260caeb9b99b25d890d69deb5
717
py
Python
company/migrations/0085_auto_20190708_1634.py
uktrade/directory-api
45a9024a7ecc2842895201cbb51420ba9e57a168
[ "MIT" ]
2
2017-06-02T09:09:08.000Z
2021-01-18T10:26:53.000Z
company/migrations/0085_auto_20190708_1634.py
konradko/directory-api
e9cd05b1deaf575e94352c46ddbd1857d8119fda
[ "MIT" ]
629
2016-10-10T09:35:52.000Z
2022-03-25T15:04:04.000Z
company/migrations/0085_auto_20190708_1634.py
konradko/directory-api
e9cd05b1deaf575e94352c46ddbd1857d8119fda
[ "MIT" ]
5
2017-06-22T10:02:22.000Z
2022-03-14T17:55:21.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.22 on 2019-07-08 16:34 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('company', '0084_auto_20190508_0849'), ] operations = [ migrations.AlterFie...
34.142857
308
0.659693
80
717
5.7375
0.7125
0.122004
0
0
0
0
0
0
0
0
0
0.062827
0.200837
717
20
309
35.85
0.73822
0.096234
0
0
1
0
0.364341
0.035659
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4c15a35cd28eb6da63ec122da7c7179a911fd267
870
py
Python
apiwrapper/endpoints/draft_payment.py
PJUllrich/Universal-Bunq-API-Python-Wrapper
9e1e0d1477d502c07fb9f31095e55b945b47b062
[ "MIT" ]
32
2017-04-08T21:02:16.000Z
2021-04-02T10:23:24.000Z
apiwrapper/endpoints/draft_payment.py
PJUllrich/Universal-Bunq-API-Python-Wrapper
9e1e0d1477d502c07fb9f31095e55b945b47b062
[ "MIT" ]
139
2017-04-05T21:06:07.000Z
2021-06-08T19:34:34.000Z
apiwrapper/endpoints/draft_payment.py
PJUllrich/Universal-Bunq-API-Python-Wrapper
9e1e0d1477d502c07fb9f31095e55b945b47b062
[ "MIT" ]
7
2017-04-13T15:22:10.000Z
2018-03-21T06:03:44.000Z
from apiwrapper.endpoints.endpoint import Endpoint from apiwrapper.endpoints.monetary_account import MonetaryAccount class DraftPayment(Endpoint): __endpoint_draft_payment = "draft-payment" @classmethod def _get_base_endpoint(cls, user_id, account_id): endpoint = MonetaryAccount._get_base_endpoi...
31.071429
70
0.713793
108
870
5.287037
0.268519
0.063047
0.113835
0.131349
0.423818
0.269702
0.269702
0.154116
0.154116
0.154116
0
0
0.208046
870
27
71
32.222222
0.828737
0
0
0.210526
0
0
0.025287
0
0
0
0
0
0
1
0.157895
false
0
0.105263
0
0.526316
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
4c161823a82ce971b8e84d362e2f2933842e273e
343
py
Python
login.py
Mademoisellefou/WebScraping_with_Python
ac0a49fc9ab742181a4b06b203eacba2ffec9308
[ "MIT" ]
null
null
null
login.py
Mademoisellefou/WebScraping_with_Python
ac0a49fc9ab742181a4b06b203eacba2ffec9308
[ "MIT" ]
null
null
null
login.py
Mademoisellefou/WebScraping_with_Python
ac0a49fc9ab742181a4b06b203eacba2ffec9308
[ "MIT" ]
null
null
null
#Loguearnos from selenium import webdriver import os # User=str(input('>Username ')) # Password=str(input('>Password ')) nro=int(input('>nro ')) driver_path="/usr/bin/chromedriver" os.environ['PATH']+=os.pathsep + driver_path driver=webdriver.Chrome() driver.get('http://{}:{}@natas{}.natas.labs.overthewire.org'.form...
26.384615
87
0.723032
46
343
5.347826
0.608696
0.065041
0
0
0
0
0
0
0
0
0
0
0.069971
343
12
88
28.583333
0.77116
0.029155
0
0
0
0
0.294833
0.06383
0
0
0
0
0
1
0
false
0.222222
0.222222
0
0.222222
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
4c17c1fd29205e9086e10cda75feb955585fe7f4
808
py
Python
src/cerberus_ac/plugins.py
Genida/django-cerberus-ac
fca3b08b5c7c6407b15a27a99dedf4cdf0488e91
[ "0BSD" ]
6
2017-12-11T23:17:04.000Z
2019-07-19T04:17:28.000Z
src/cerberus_ac/plugins.py
Genida/django-cerberus-ac
fca3b08b5c7c6407b15a27a99dedf4cdf0488e91
[ "0BSD" ]
16
2017-09-18T20:17:50.000Z
2018-06-18T14:06:23.000Z
src/cerberus_ac/plugins.py
pawamoy/django-cerberus-ac
fca3b08b5c7c6407b15a27a99dedf4cdf0488e91
[ "0BSD" ]
2
2017-10-10T19:34:54.000Z
2019-06-06T06:54:21.000Z
# -*- coding: utf-8 -*- """cerberus_ac plugins module.""" try: from archan import Provider, Argument, DesignStructureMatrix class Privileges(Provider): """Cerberus AC provider for Archan.""" identifier = 'cerberus_ac.Privileges' name = 'Privileges' description = 'Provide matr...
26.933333
77
0.584158
77
808
6.077922
0.558442
0.08547
0.076923
0.094017
0.235043
0.235043
0.235043
0.235043
0.235043
0.235043
0
0.001815
0.318069
808
29
78
27.862069
0.84755
0.280941
0
0
0
0
0.190196
0.043137
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4c193b032bc090aacbc112511df18a8b640b5349
7,028
py
Python
src/oci/ai_vision/models/table.py
LaudateCorpus1/oci-python-sdk
b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/ai_vision/models/table.py
LaudateCorpus1/oci-python-sdk
b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/ai_vision/models/table.py
LaudateCorpus1/oci-python-sdk
b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# coding: utf-8 # Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
27.778656
245
0.609135
851
7,028
4.813161
0.155112
0.052734
0.093994
0.05127
0.516357
0.387451
0.27832
0.234131
0.141846
0.105713
0
0.004506
0.30535
7,028
252
246
27.888889
0.834494
0.479226
0
0.0875
0
0
0.105752
0
0
0
0
0
0
1
0.225
false
0
0.025
0.025
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
1
0
0
0
0
0
0
0
1
4c1a78c6a663588eb4265730b8a2718e885701b9
581
py
Python
content/miscellaneous/lst/timing/stimulus-preparation-bad.py
Kumortas/osdoc_eyelogic
5688c1b85135aaa0fcfb37c4889b9c3dd82d7821
[ "CC-BY-3.0" ]
1
2021-06-17T15:42:09.000Z
2021-06-17T15:42:09.000Z
content/miscellaneous/lst/timing/stimulus-preparation-bad.py
Kumortas/osdoc_eyelogic
5688c1b85135aaa0fcfb37c4889b9c3dd82d7821
[ "CC-BY-3.0" ]
null
null
null
content/miscellaneous/lst/timing/stimulus-preparation-bad.py
Kumortas/osdoc_eyelogic
5688c1b85135aaa0fcfb37c4889b9c3dd82d7821
[ "CC-BY-3.0" ]
null
null
null
# Warning: This is an example of how you should *not* # implement stimulus presentation in time-critical # experiments. from openexp.canvas import canvas # Prepare canvas 1 and show it canvas1 = canvas(exp) canvas1.text('This is the first canvas') t1 = canvas1.show() # Sleep for 95 ms to get a 100 ms delay self.sleep(9...
32.277778
53
0.741824
97
581
4.443299
0.587629
0.055684
0.041763
0.060325
0
0
0
0
0
0
0
0.045549
0.168675
581
17
54
34.176471
0.846791
0.537005
0
0
0
0
0.25
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
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
1
0
0
0
0
0
0
0
0
1
4c20ecb80146376cb8d0b57417ad8a8cdf75e35e
32,010
py
Python
AmbSQL.py
aayanksinghai/AmbSQL
d31c2841e8d4ec26c86a5fa4741b926c44c3c84b
[ "MIT" ]
null
null
null
AmbSQL.py
aayanksinghai/AmbSQL
d31c2841e8d4ec26c86a5fa4741b926c44c3c84b
[ "MIT" ]
null
null
null
AmbSQL.py
aayanksinghai/AmbSQL
d31c2841e8d4ec26c86a5fa4741b926c44c3c84b
[ "MIT" ]
null
null
null
#!usr/bin/env python3 import sys import getpass import string import sqlite3 import os import datetime if(os.name=='nt'): os.system("title "+"AmbSQL") try: os.system("IF NOT EXIST C:\AmbSQL MKDIR C:\AmbSQL") # Create Folder AmbSQL for storage of Database file except: pass path = 'C:\\Amb...
50.330189
194
0.34886
2,614
32,010
4.254399
0.127774
0.063843
0.04532
0.039655
0.575038
0.538621
0.501304
0.475856
0.437281
0.412103
0
0.020411
0.540831
32,010
635
195
50.409449
0.736223
0.074008
0
0.655678
0
0.005495
0.217603
0.017975
0
0
0
0
0
1
0.001832
false
0.020147
0.010989
0
0.012821
0.249084
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
4c2227b924ad47f9194d6993fc9a6fdfabd57c29
8,741
py
Python
estimation/test/test_boostrap_errors.py
eribean/GIRTH
daf22773aa9cd1c819bf732e1061ebf5cc4dc40e
[ "MIT" ]
null
null
null
estimation/test/test_boostrap_errors.py
eribean/GIRTH
daf22773aa9cd1c819bf732e1061ebf5cc4dc40e
[ "MIT" ]
null
null
null
estimation/test/test_boostrap_errors.py
eribean/GIRTH
daf22773aa9cd1c819bf732e1061ebf5cc4dc40e
[ "MIT" ]
null
null
null
import unittest import warnings import numpy as np from girth.synthetic import create_synthetic_irt_dichotomous, create_synthetic_irt_polytomous from girth import (rasch_jml, onepl_jml, twopl_jml, grm_jml, pcm_jml, rasch_mml, onepl_mml, twopl_mml, twopl_mml_eap, grm_mml_eap, pcm_mml, grm_mml, rasch_conditi...
48.561111
93
0.570301
850
8,741
5.623529
0.142353
0.048326
0.066946
0.07887
0.734728
0.730335
0.658368
0.595188
0.595188
0.577406
0
0.032415
0.343553
8,741
179
94
48.832402
0.800627
0.046791
0
0.534351
0
0
0.062244
0
0
0
0
0
0.076336
1
0.061069
false
0
0.045802
0
0.114504
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4c22b26bd17aaa3a3ed09a5c9106c04746e34243
588
py
Python
models/prroi_pooling/prroi_pool.py
MaybeS/MOT
bae66c46c0cd74b29a0e66c5af58422ad050977b
[ "MIT" ]
4
2018-06-03T17:51:05.000Z
2019-05-21T11:16:40.000Z
models/prroi_pooling/prroi_pool.py
MaybeS/MOT
bae66c46c0cd74b29a0e66c5af58422ad050977b
[ "MIT" ]
25
2018-03-12T02:29:06.000Z
2019-03-28T08:06:35.000Z
models/prroi_pooling/prroi_pool.py
MaybeS/MOT
bae66c46c0cd74b29a0e66c5af58422ad050977b
[ "MIT" ]
null
null
null
import torch import torch.nn as nn from .functional import prroi_pool2d __all__ = ['PrRoIPool2D'] class PrRoIPool2D(nn.Module): def __init__(self, pooled_height: int, pooled_width: int, spatial_scale: float): super().__init__() self.pooled_height = int(pooled_height) self.pooled_width =...
29.4
86
0.690476
73
588
5.205479
0.383562
0.131579
0.126316
0.105263
0.392105
0.152632
0
0
0
0
0
0.008677
0.215986
588
19
87
30.947368
0.815618
0
0
0
0
0
0.018707
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0.076923
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4c26911b6a28c303b03a6523d9c05c888efdd5d3
6,019
py
Python
common/code/snippets/gdb/log_changes.py
nevesnunes/env
7a5e3816334337e04a87e1a2e4dc322215901744
[ "MIT" ]
4
2020-04-07T14:45:02.000Z
2021-12-28T22:43:16.000Z
common/code/snippets/gdb/log_changes.py
nevesnunes/env
7a5e3816334337e04a87e1a2e4dc322215901744
[ "MIT" ]
null
null
null
common/code/snippets/gdb/log_changes.py
nevesnunes/env
7a5e3816334337e04a87e1a2e4dc322215901744
[ "MIT" ]
2
2020-04-08T03:12:06.000Z
2021-03-04T20:33:03.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import gdb import operator cs_instances = [] # This module helps generate a complete log of the call stack of a breakpoint. # It can also record the value of some variables. # Get a table horizontal line def get_hline(length): s = '' for x in range(0, length): ...
25.722222
79
0.546935
783
6,019
4.085568
0.243934
0.037512
0.022507
0.035011
0.163176
0.069084
0.042201
0.018756
0
0
0
0.017493
0.306695
6,019
233
80
25.832618
0.745507
0.092042
0
0.113924
1
0
0.037323
0
0
0
0
0.004292
0
1
0.088608
false
0
0.012658
0
0.132911
0.322785
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
4c289ff0f370f43b45ec0ab8b5e0717a6391151f
1,445
py
Python
src/pasio/splitters/round_reducer.py
autosome-ru/pasio
84c4228d0349c634d07b43945598e4ce1f7fad2f
[ "MIT" ]
null
null
null
src/pasio/splitters/round_reducer.py
autosome-ru/pasio
84c4228d0349c634d07b43945598e4ce1f7fad2f
[ "MIT" ]
1
2019-01-26T20:39:47.000Z
2019-01-26T20:39:47.000Z
src/pasio/splitters/round_reducer.py
autosome-ru/pasio
84c4228d0349c634d07b43945598e4ce1f7fad2f
[ "MIT" ]
2
2018-11-05T18:40:23.000Z
2021-06-09T03:07:42.000Z
from future.builtins import range import numpy as np from ..logging import logger, logging_filter class RoundReducer: def __init__(self, base_reducer, num_rounds=None): self.base_reducer = base_reducer self.num_rounds = num_rounds def reduce_candidate_list(self, counts, split_candidates): ...
45.15625
119
0.685813
180
1,445
5.172222
0.311111
0.225564
0.154672
0.067669
0.295381
0.075188
0
0
0
0
0
0.002725
0.238062
1,445
31
120
46.612903
0.84287
0
0
0.148148
0
0
0.124567
0
0
0
0
0
0.037037
1
0.074074
false
0
0.111111
0
0.296296
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4c2d59a1acfa463d48dc94a5b3a86b083c5023d7
1,376
py
Python
lib/network_utils.py
alt-locator/alt-py
d1d620b5115c7209f7633d837ec60ffa88f4d8df
[ "MIT" ]
null
null
null
lib/network_utils.py
alt-locator/alt-py
d1d620b5115c7209f7633d837ec60ffa88f4d8df
[ "MIT" ]
1
2018-01-06T07:59:35.000Z
2018-01-06T07:59:35.000Z
lib/network_utils.py
alt-locator/alt-py
d1d620b5115c7209f7633d837ec60ffa88f4d8df
[ "MIT" ]
1
2017-02-09T04:01:07.000Z
2017-02-09T04:01:07.000Z
"""Network utils for alternative location tool.""" import json import netifaces import requests import socket class NetworkUtils(object): """Network utils for alternative location tool.""" def GetWanIP(self): """Gets the external ip address or the WAN IP address. Returns: The ip address as a strin...
28.081633
94
0.674419
165
1,376
5.521212
0.490909
0.065862
0.032931
0.05708
0.237102
0.186608
0
0
0
0
0
0.007561
0.231105
1,376
49
95
28.081633
0.853497
0.328488
0
0.214286
0
0
0.077011
0
0
0
0
0
0
1
0.071429
false
0.071429
0.142857
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
0
0
0
0
1
0
0
0
0
0
1
4c304762c07c45cd265dc5a122467f20b07417b6
311
py
Python
integration_tests/from_contract_events.py
sejalsahni/terra.py
0fd84969441c58427a21448520697c3ab3ec2d0c
[ "MIT" ]
24
2021-05-30T05:48:33.000Z
2021-10-07T04:47:15.000Z
integration_tests/from_contract_events.py
sejalsahni/terra.py
0fd84969441c58427a21448520697c3ab3ec2d0c
[ "MIT" ]
18
2021-05-30T09:05:26.000Z
2021-10-17T07:12:12.000Z
integration_tests/from_contract_events.py
sejalsahni/terra.py
0fd84969441c58427a21448520697c3ab3ec2d0c
[ "MIT" ]
10
2021-02-11T00:56:04.000Z
2021-05-27T08:37:49.000Z
from terra_sdk.client.lcd import LCDClient from terra_sdk.util.contract import get_contract_events tequila = LCDClient(url="https://lcd.terra.dev", chain_id="columbus-5") tx_info = tequila.tx.tx_info( "D1E80F27435215FF097141C804EDE51C87718355CA8A6A397CC2346144F19D04" ) print(get_contract_events(tx_info))
34.555556
71
0.826367
40
311
6.175
0.575
0.072874
0.097166
0
0
0
0
0
0
0
0
0.163194
0.073955
311
8
72
38.875
0.694444
0
0
0
0
0
0.305466
0.205788
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4c3353fe4046d6b2bfabac580b46f88c8d7f2941
2,945
py
Python
tensorflow/contrib/data/python/kernel_tests/test_utils.py
yanzhiwei1990/tensorflow
28ede9ed7caee0ce2731d95cc0eb9aff7f360105
[ "Apache-2.0" ]
1
2018-11-18T01:52:29.000Z
2018-11-18T01:52:29.000Z
tensorflow/contrib/data/python/kernel_tests/test_utils.py
yanzhiwei1990/tensorflow
28ede9ed7caee0ce2731d95cc0eb9aff7f360105
[ "Apache-2.0" ]
1
2018-09-17T19:30:27.000Z
2018-09-17T19:30:27.000Z
tensorflow/contrib/data/python/kernel_tests/test_utils.py
yanzhiwei1990/tensorflow
28ede9ed7caee0ce2731d95cc0eb9aff7f360105
[ "Apache-2.0" ]
6
2018-12-20T01:35:20.000Z
2020-07-10T17:29:57.000Z
# Copyright 2018 The TensorFlow Authors. 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 applica...
39.797297
109
0.641426
363
2,945
5.068871
0.46281
0.032609
0.023913
0.041304
0.103261
0.103261
0.073913
0
0
0
0
0.017383
0.257725
2,945
73
110
40.342466
0.824337
0.344992
0
0.136364
0
0
0.032649
0
0
0
0
0.013699
0.136364
1
0.045455
false
0
0.159091
0
0.227273
0.022727
0
0
0
null
0
0
0
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
4c33d0343d82e2d93a68ae4d8bfffaaf6f56aeba
1,615
py
Python
app/templates/src/app.py
osminogin/generator-aiohttp-uvloop
90be16ee15334103686c1c2d47914f63ae9a881c
[ "MIT" ]
null
null
null
app/templates/src/app.py
osminogin/generator-aiohttp-uvloop
90be16ee15334103686c1c2d47914f63ae9a881c
[ "MIT" ]
null
null
null
app/templates/src/app.py
osminogin/generator-aiohttp-uvloop
90be16ee15334103686c1c2d47914f63ae9a881c
[ "MIT" ]
1
2019-10-01T07:27:13.000Z
2019-10-01T07:27:13.000Z
from datetime import datetime <% if (use_postgres) { %>import aiopg<% } %> <% if (use_redis) { %>import aioredis<% } %> from aiohttp import web from .settings import * # noqa from .utils import get_middlewares, get_version from .healthcheck.views import PingCheckView, HealthCheckView def build_app(argv=None) -> we...
26.47541
82
0.650774
190
1,615
5.294737
0.405263
0.029821
0.038767
0.033797
0
0
0
0
0
0
0
0.003922
0.210526
1,615
60
83
26.916667
0.785098
0.035913
0
0.186047
0
0
0.058939
0.013752
0
0
0
0
0
0
null
null
0.023256
0.162791
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
4c3501c8f5f8b7f504f4e3c7a430dde4714e5e05
5,678
py
Python
PlotlyandPython/Lessons/(01) Intro to Python/Notebooks/Python Scripts/(14) Functions (1) - Creating Functions.py
peternewman22/Python_Courses
07a798b6f264fc6069eb1205c9d429f00fb54bc5
[ "MIT" ]
null
null
null
PlotlyandPython/Lessons/(01) Intro to Python/Notebooks/Python Scripts/(14) Functions (1) - Creating Functions.py
peternewman22/Python_Courses
07a798b6f264fc6069eb1205c9d429f00fb54bc5
[ "MIT" ]
null
null
null
PlotlyandPython/Lessons/(01) Intro to Python/Notebooks/Python Scripts/(14) Functions (1) - Creating Functions.py
peternewman22/Python_Courses
07a798b6f264fc6069eb1205c9d429f00fb54bc5
[ "MIT" ]
null
null
null
# coding: utf-8 # # Functions (1) - Creating Functions # In this lesson we're going to learn about functions in Python. Functions are an important tool when programming and their use can be very complex. It's not the aim of this course to teach you how to implement functional programming, instead, this lesson will g...
40.557143
519
0.738464
936
5,678
4.479701
0.306624
0.045075
0.016218
0.010017
0.080849
0.0601
0.0601
0.0601
0.0601
0.0601
0
0.013781
0.182106
5,678
139
520
40.848921
0.889104
0.848714
0
0.26087
0
0
0.103053
0
0
0
0
0
0
1
0.173913
false
0
0
0
0.26087
0.26087
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4c3920d01dff7f3f9de078639c4daeb9d815309a
807
py
Python
mentoring/migrations/0018_auto_20161214_2145.py
TomWerner/AlumniMentoring
d4bac09fc768232f0795a0672eb041a2225118ae
[ "MIT" ]
2
2016-10-19T17:04:53.000Z
2017-07-23T21:49:34.000Z
mentoring/migrations/0018_auto_20161214_2145.py
TomWerner/AlumniMentoring
d4bac09fc768232f0795a0672eb041a2225118ae
[ "MIT" ]
null
null
null
mentoring/migrations/0018_auto_20161214_2145.py
TomWerner/AlumniMentoring
d4bac09fc768232f0795a0672eb041a2225118ae
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-12-15 03:45 from __future__ import unicode_literals from django.db import migrations, models import datetime class Migration(migrations.Migration): dependencies = [ ('mentoring', '0017_auto_20161214_2056'), ] operations = [ migra...
27.827586
104
0.627014
82
807
6
0.573171
0.073171
0.093496
0.109756
0.447154
0.447154
0.447154
0.447154
0.447154
0.447154
0
0.055184
0.258984
807
28
105
28.821429
0.767559
0.080545
0
0.47619
1
0
0.092016
0.031123
0
0
0
0
0
1
0
false
0
0.142857
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4c3afcb2bbbd1960d485752d9dbae6f908c08bd2
694
py
Python
scrapel/contrib/middleware/spider/urllength.py
NJoyX/nameko-scrapel
7ad43e6b9b14ffe39e50d6c2c9539a9ef5cff2af
[ "Apache-2.0" ]
1
2017-12-03T12:47:19.000Z
2017-12-03T12:47:19.000Z
scrapel/contrib/middleware/spider/urllength.py
NJoyX/nameko-scrapel
7ad43e6b9b14ffe39e50d6c2c9539a9ef5cff2af
[ "Apache-2.0" ]
null
null
null
scrapel/contrib/middleware/spider/urllength.py
NJoyX/nameko-scrapel
7ad43e6b9b14ffe39e50d6c2c9539a9ef5cff2af
[ "Apache-2.0" ]
null
null
null
from __future__ import unicode_literals, print_function, absolute_import from scrapel import Request from scrapel.decorators import spider_output_middleware __author__ = 'Fill Q and Scrapy developers' __all__ = ['UrlLengthMiddleware'] PRIORITY = 800 class UrlLengthMiddleware(object): URLLENGTH_LIMIT = 2083 ...
28.916667
88
0.714697
80
694
5.85
0.6125
0.076923
0.094017
0
0
0
0
0
0
0
0
0.012939
0.220461
694
23
89
30.173913
0.852126
0
0
0
0
0
0.067723
0
0
0
0
0
0
1
0.125
false
0
0.1875
0
0.625
0.0625
0
0
0
null
0
0
0
0
0
0
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
4c3c9f9ec274688bab68ff5bf5da5e3d56466c1c
17,403
py
Python
vivarium/data/chromosomes/flagella_chromosome.py
hongzhonglu/vivarium
20f80f3ae317657c27a317b5093ea45d30355c05
[ "MIT" ]
1
2022-03-22T02:18:40.000Z
2022-03-22T02:18:40.000Z
vivarium/data/chromosomes/flagella_chromosome.py
hongzhonglu/vivarium
20f80f3ae317657c27a317b5093ea45d30355c05
[ "MIT" ]
null
null
null
vivarium/data/chromosomes/flagella_chromosome.py
hongzhonglu/vivarium
20f80f3ae317657c27a317b5093ea45d30355c05
[ "MIT" ]
null
null
null
import os from vivarium.utils.fasta import read_sequence from vivarium.utils.polymerize import generate_template from vivarium.data.knowledge_base import KnowledgeBase from vivarium.states.chromosome import Chromosome ECOLI_GENOME_FILE_NAME = 'Escherichia_coli_str_k_12_substr_mg1655.ASM584v2.dna.chromosome.Chromosom...
37.425806
246
0.373729
1,332
17,403
4.809309
0.206456
0.015298
0.035123
0.058539
0.165314
0.071964
0.05089
0.037153
0.022479
0.022479
0
0.069334
0.472907
17,403
464
247
37.506466
0.62902
0.042406
0
0.285372
1
0
0.193465
0.005886
0
0
0
0
0
1
0.004796
false
0
0.01199
0
0.026379
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
4c3fbc5bcb808c79eddbf1c225b56a67c7c29604
3,936
py
Python
sentinel/setup.py
filipecosta90/redisai-examples
d836dbaf776849c5d38319b48b168693d7317bcf
[ "MIT" ]
51
2019-03-16T07:56:18.000Z
2022-03-31T12:25:04.000Z
sentinel/setup.py
filipecosta90/redisai-examples
d836dbaf776849c5d38319b48b168693d7317bcf
[ "MIT" ]
16
2019-03-17T20:25:28.000Z
2022-03-11T23:43:47.000Z
sentinel/setup.py
filipecosta90/redisai-examples
d836dbaf776849c5d38319b48b168693d7317bcf
[ "MIT" ]
18
2019-03-16T07:56:25.000Z
2021-12-11T18:41:47.000Z
import re from fabric import Connection from fabric import SerialGroup as Group import fabric import argparse def setup_master(master: str, passphrase: str, user: str) -> None: connect_kwargs = {'passphrase': passphrase} node = Connection(master, user=user, connect_kwargs=connect_kwargs) home = get_home_...
37.846154
96
0.664634
533
3,936
4.819887
0.253283
0.0471
0.029973
0.032698
0.551966
0.509148
0.467108
0.430518
0.354223
0.354223
0
0.007624
0.200203
3,936
103
97
38.213592
0.80845
0.074949
0
0.32
0
0.026667
0.329473
0.137028
0
0
0
0
0
1
0.066667
false
0.106667
0.066667
0
0.146667
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4c47a003c8979c63311039ee3db19f591cc4cc54
1,505
py
Python
datasets/target_generation.py
TannedCung/SCHP
3da4da61dc55b31d5bd4b6a714e391513d013f05
[ "MIT" ]
1
2021-07-01T11:22:25.000Z
2021-07-01T11:22:25.000Z
datasets/target_generation.py
TannedCung/SCHP
3da4da61dc55b31d5bd4b6a714e391513d013f05
[ "MIT" ]
null
null
null
datasets/target_generation.py
TannedCung/SCHP
3da4da61dc55b31d5bd4b6a714e391513d013f05
[ "MIT" ]
null
null
null
import torch from torch.nn import functional as F def generate_edge_tensor(label, edge_width=3): label = label.type(torch.cuda.FloatTensor) if len(label.shape) == 2: label = label.unsqueeze(0) n, h, w = label.shape edge = torch.zeros(label.shape, dtype=torch.float).cuda() # list[False] = 1...
35
84
0.481728
214
1,505
3.32243
0.247664
0.028129
0.059072
0.016878
0.120956
0
0
0
0
0
0
0.068768
0.304319
1,505
42
85
35.833333
0.610315
0.077076
0
0
1
0
0
0
0
0
0
0
0
1
0.033333
false
0
0.066667
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4c4837f03f069f3906874985b2095da7a8ac0a3f
48,125
py
Python
src/sage/groups/matrix_gps/finitely_generated.py
rwst/sage
a9d274b9338e6ee24bf35ea8d25875507e51e455
[ "BSL-1.0" ]
1
2016-11-04T16:31:48.000Z
2016-11-04T16:31:48.000Z
src/sage/groups/matrix_gps/finitely_generated.py
rwst/sage
a9d274b9338e6ee24bf35ea8d25875507e51e455
[ "BSL-1.0" ]
null
null
null
src/sage/groups/matrix_gps/finitely_generated.py
rwst/sage
a9d274b9338e6ee24bf35ea8d25875507e51e455
[ "BSL-1.0" ]
null
null
null
""" Finitely Generated Matrix Groups This class is designed for computing with matrix groups defined by a finite set of generating matrices. EXAMPLES:: sage: F = GF(3) sage: gens = [matrix(F,2, [1,0, -1,1]), matrix(F,2, [1,1,0,1])] sage: G = MatrixGroup(gens) sage: G.conjugacy_classes_representatives...
36.820964
128
0.528561
6,518
48,125
3.84888
0.10494
0.013951
0.019771
0.003906
0.34783
0.288875
0.250967
0.222067
0.200343
0.169052
0
0.048091
0.327252
48,125
1,306
129
36.849158
0.726773
0.552166
0
0.258575
1
0
0.085903
0.014327
0.002639
0
0
0
0.002639
1
0.042216
false
0.005277
0.084433
0
0.182058
0.005277
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
4c49270a5213afa824073597d8db5ab15fff695e
3,430
py
Python
src/cipher/longrequest/interfaces.py
zopefoundation/cipher.longrequest
0f27159d55fb2b9216fb29ddff4878892d783f18
[ "ZPL-2.1" ]
null
null
null
src/cipher/longrequest/interfaces.py
zopefoundation/cipher.longrequest
0f27159d55fb2b9216fb29ddff4878892d783f18
[ "ZPL-2.1" ]
1
2020-12-17T07:13:10.000Z
2020-12-17T07:13:10.000Z
src/cipher/longrequest/interfaces.py
zopefoundation/cipher.longrequest
0f27159d55fb2b9216fb29ddff4878892d783f18
[ "ZPL-2.1" ]
1
2015-04-03T04:33:09.000Z
2015-04-03T04:33:09.000Z
############################################################################## # # Copyright (c) Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFTWARE...
27.222222
79
0.665306
366
3,430
6.144809
0.338798
0.063584
0.064028
0.032014
0.357492
0.2241
0.2241
0.2241
0.192085
0.192085
0
0.004068
0.211662
3,430
125
80
27.44
0.827663
0.237609
0
0.523077
0
0
0.045868
0
0
0
0
0
0
1
0.046154
false
0.092308
0.030769
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
1
0
0
0
0
0
1
4c4e2d3ed3fc2d5e4f96a3a47f462c899ba83b32
7,006
py
Python
run_filfinder.FilFinder2D.py
indebetouw/lmc-alma-analysis
09b6680c78888bab3e847ca6a2f8c5a4a2aa0c42
[ "BSD-3-Clause" ]
null
null
null
run_filfinder.FilFinder2D.py
indebetouw/lmc-alma-analysis
09b6680c78888bab3e847ca6a2f8c5a4a2aa0c42
[ "BSD-3-Clause" ]
null
null
null
run_filfinder.FilFinder2D.py
indebetouw/lmc-alma-analysis
09b6680c78888bab3e847ca6a2f8c5a4a2aa0c42
[ "BSD-3-Clause" ]
1
2021-04-07T16:50:49.000Z
2021-04-07T16:50:49.000Z
from astropy.io import fits from astropy import units as u import sys, os, pickle # this version switches to filfinder2D (from filfind_class::fil_finder_2D) gitpaths=['/Users/remy/lustre/naasc/users/rindebet/github/lmc-alma-analysis/'] for gitpath in gitpaths: if not gitpath in sys.path: sys.path.insert(0...
37.666667
176
0.664288
1,056
7,006
4.305871
0.339962
0.008797
0.016934
0.023752
0.286123
0.272487
0.244777
0.237299
0.184297
0.168023
0
0.049808
0.183271
7,006
185
177
37.87027
0.744844
0.267628
0
0.222222
0
0.009259
0.118017
0.041699
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4c55d80cc1fed08e058fc67c4388f9704174809a
803
py
Python
kicad_scripts/freecadconvert.py
mfkiwl/osrf_hw-cyusb3014fpga
506418f7d2e22ac0168fc1faa4b1c4ee08c72a48
[ "Apache-2.0" ]
7
2017-05-17T09:12:20.000Z
2021-08-08T19:03:00.000Z
kicad_scripts/freecadconvert.py
mfkiwl/osrf_hw-cyusb3014fpga
506418f7d2e22ac0168fc1faa4b1c4ee08c72a48
[ "Apache-2.0" ]
23
2015-07-26T03:54:40.000Z
2021-07-22T17:31:19.000Z
kicad_scripts/freecadconvert.py
mfkiwl/osrf_hw-cyusb3014fpga
506418f7d2e22ac0168fc1faa4b1c4ee08c72a48
[ "Apache-2.0" ]
10
2016-07-26T10:19:20.000Z
2021-06-17T08:09:18.000Z
# Set the directory variable before running import FreeCAD import ImportGui import FreeCADGui import os #directory = "/home/mikael/kicad_ws/osrf_hw/kicad_3dmodels/BGA" directory = os.getcwd() print directory if not os.path.isdir(directory): print "ERROR directory " + directory + " doesn't exist" exit(1) for r...
32.12
93
0.688667
105
803
5.180952
0.561905
0.088235
0.077206
0
0
0
0
0
0
0
0
0.006098
0.183064
803
24
94
33.458333
0.823171
0.128269
0
0.111111
0
0
0.081897
0
0
0
0
0
0
0
null
null
0
0.277778
null
null
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
1
0
0
0
0
0
0
0
0
1
4c5a9802e2b7de4b3e3cc6bd480e2b6ef11e6723
5,463
py
Python
paper_plots/user_study/combine_worker_preds.py
macaodha/rel_3d_pose
4f2bc3629fc87ae1f5a905d7c1e01dfecfd7b217
[ "MIT" ]
71
2018-08-04T22:49:13.000Z
2022-03-28T00:53:18.000Z
paper_plots/user_study/combine_worker_preds.py
macaodha/rel_3d_pose
4f2bc3629fc87ae1f5a905d7c1e01dfecfd7b217
[ "MIT" ]
7
2019-01-18T23:07:44.000Z
2020-05-13T09:41:28.000Z
paper_plots/user_study/combine_worker_preds.py
macaodha/rel_3d_pose
4f2bc3629fc87ae1f5a905d7c1e01dfecfd7b217
[ "MIT" ]
7
2018-09-10T19:12:03.000Z
2021-05-25T17:56:54.000Z
""" Loads MTurk results and runs crowdsourcing code from here to combine them. Change PATH_TO_CROWDSOURCING_CODE to it points to: https://github.com/gvanhorn38/crowdsourcing Treats each keypoint as independent, and creates a string: "im_id_kp0,kp1" NOTE: a minor modification has been made to crowdsourcing.py in load...
37.9375
149
0.689182
778
5,463
4.595116
0.260925
0.035804
0.049231
0.035804
0.230769
0.121119
0.084476
0.02014
0.02014
0
0
0.007309
0.198609
5,463
143
150
38.202797
0.809274
0.114589
0
0.02381
0
0.011905
0.16462
0
0
0
0
0
0
0
null
null
0
0.107143
null
null
0.178571
0
0
0
null
0
0
0
0
0
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
4c5d2fd964fa00cf154f3859e41324ea2801201c
17,233
py
Python
contrib/IECoreAlembic/test/IECoreAlembic/AlembicInputTest.py
gcodebackups/cortex-vfx
72fa6c6eb3327fce4faf01361c8fcc2e1e892672
[ "BSD-3-Clause" ]
5
2016-07-26T06:09:28.000Z
2022-03-07T03:58:51.000Z
contrib/IECoreAlembic/test/IECoreAlembic/AlembicInputTest.py
turbosun/cortex
4bdc01a692652cd562f3bfa85f3dae99d07c0b15
[ "BSD-3-Clause" ]
null
null
null
contrib/IECoreAlembic/test/IECoreAlembic/AlembicInputTest.py
turbosun/cortex
4bdc01a692652cd562f3bfa85f3dae99d07c0b15
[ "BSD-3-Clause" ]
3
2015-03-25T18:45:24.000Z
2020-02-15T15:37:18.000Z
########################################################################## # # Copyright (c) 2012, John Haddon. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of sou...
37.95815
144
0.670864
2,044
17,233
5.59589
0.164873
0.083931
0.061374
0.066095
0.560063
0.453926
0.402605
0.364487
0.336772
0.317451
0
0.032643
0.182267
17,233
453
145
38.041943
0.779024
0.11066
0
0.29078
0
0
0.078885
0.028806
0
0
0
0
0.27305
0
null
null
0
0.017731
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
4c5f7cdcd7ac30fef0241344c6bca3015b0c4d69
679
py
Python
backend/notifications/models.py
BostonUniversitySeniorDesign/21-02-blinkah
41c422c6c4fd30fdb063626988f2ce283d3d898b
[ "MIT-0" ]
1
2021-05-14T15:16:44.000Z
2021-05-14T15:16:44.000Z
backend/notifications/models.py
BostonUniversitySeniorDesign/21-02-blinkah
41c422c6c4fd30fdb063626988f2ce283d3d898b
[ "MIT-0" ]
null
null
null
backend/notifications/models.py
BostonUniversitySeniorDesign/21-02-blinkah
41c422c6c4fd30fdb063626988f2ce283d3d898b
[ "MIT-0" ]
2
2021-05-12T19:34:02.000Z
2021-05-19T21:37:34.000Z
from django.db import models def audioUploads(instance, filename): return '/'.join( ['audio', str(instance.id), filename]) #return filename class Notification(models.Model): recipient_unit_id = models.IntegerField() message_text = models.CharField(max_length=255) license_plate = models.CharField(max_...
39.941176
91
0.761414
87
679
5.770115
0.563218
0.053785
0.047809
0.095618
0.171315
0.171315
0.171315
0.171315
0
0
0
0.023569
0.125184
679
17
92
39.941176
0.821549
0.022091
0
0
0
0
0.009036
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0.076923
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
4c6499b9cfeca100e42308003a93c4665addbe7f
1,182
py
Python
ebadge_msg/heh_level_ext.py
eBADGE/message-bus
705aafc7b0c7c74f8812e489338c5e9e2d9492aa
[ "BSD-3-Clause" ]
1
2016-12-12T03:37:32.000Z
2016-12-12T03:37:32.000Z
ebadge_msg/heh_level_ext.py
eBADGE/message-bus
705aafc7b0c7c74f8812e489338c5e9e2d9492aa
[ "BSD-3-Clause" ]
null
null
null
ebadge_msg/heh_level_ext.py
eBADGE/message-bus
705aafc7b0c7c74f8812e489338c5e9e2d9492aa
[ "BSD-3-Clause" ]
null
null
null
import json import logging logger = logging.getLogger(__name__) from common import * class ExtSiXlabSetDeviceCapabilities(EbadgeMsg): def __init__( self, phydevice, device, relay, classes, type_, device_name, signals): super(ExtSiXlabSetDeviceCapabilities, self).__init__() self.phyd...
26.266667
82
0.664129
120
1,182
6.158333
0.3
0.043302
0.043302
0.054127
0.194858
0.194858
0.108254
0.108254
0.108254
0
0
0
0.238579
1,182
44
83
26.863636
0.821111
0
0
0.242424
0
0
0.096447
0.048223
0
0
0
0
0
1
0.181818
false
0
0.090909
0.121212
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
4c6a32f307ec2d3ae4c68e97b67d021582448c1e
431
py
Python
decorators.py
Squirrel-Network/nebula_dashboard
a7fff0978d6d2de43c40887355f25539c640a025
[ "Apache-2.0" ]
null
null
null
decorators.py
Squirrel-Network/nebula_dashboard
a7fff0978d6d2de43c40887355f25539c640a025
[ "Apache-2.0" ]
null
null
null
decorators.py
Squirrel-Network/nebula_dashboard
a7fff0978d6d2de43c40887355f25539c640a025
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright SquirrelNetwork from functools import wraps from flask import redirect, url_for, session, flash def login_required(f): @wraps(f) def wrap(*args, **kwargs): if 'tgid' in session: return f(*args, **kwargs) else: ...
23.944444
52
0.584687
53
431
4.698113
0.660377
0.088353
0.11245
0
0
0
0
0
0
0
0
0.0033
0.296984
431
18
53
23.944444
0.818482
0.157773
0
0
0
0
0.093023
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.636364
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
4c6a6995154088130a95f21173d3c312b40d2528
1,603
py
Python
algo/graph_traversal.py
gsathya/dsalgo
61c89ec597ced3e69bfbb438fd856c8fc5f20aba
[ "MIT" ]
2
2017-02-25T04:05:29.000Z
2018-05-10T16:54:31.000Z
algo/graph_traversal.py
gsathya/dsalgo
61c89ec597ced3e69bfbb438fd856c8fc5f20aba
[ "MIT" ]
null
null
null
algo/graph_traversal.py
gsathya/dsalgo
61c89ec597ced3e69bfbb438fd856c8fc5f20aba
[ "MIT" ]
null
null
null
graph = { 'a' : ['b', 'c'], 'b' : ['d', 'a'], 'c' : ['a', 'd'], 'd' : ['a'], 'e' : [] } from Queue import Queue def bfs(start, graph, vertices): if start == None: return -1 q = Queue() visited = {} for vertex in vertices: visited[vertex] = False q.put(start) ...
18.639535
52
0.499064
204
1,603
3.882353
0.205882
0.063131
0.035354
0.040404
0.544192
0.544192
0.460859
0.44697
0.143939
0.093434
0
0.003784
0.340611
1,603
85
53
18.858824
0.745506
0
0
0.442623
0
0
0.036205
0
0
0
0
0
0
0
null
null
0
0.016393
null
null
0.098361
0
0
0
null
0
0
0
0
0
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
4c6cb064a1144f12db64dfedeef8841907ddde2b
587
py
Python
casepro/msgs/migrations/0056_message_metadata.py
praekelt/casepro
5086b244f1fd33bc3af9323a96e2f2015e50080b
[ "BSD-3-Clause" ]
null
null
null
casepro/msgs/migrations/0056_message_metadata.py
praekelt/casepro
5086b244f1fd33bc3af9323a96e2f2015e50080b
[ "BSD-3-Clause" ]
165
2015-11-13T13:50:11.000Z
2018-10-24T07:00:38.000Z
casepro/msgs/migrations/0056_message_metadata.py
praekeltfoundation/casepro
5086b244f1fd33bc3af9323a96e2f2015e50080b
[ "BSD-3-Clause" ]
1
2017-12-09T17:58:21.000Z
2017-12-09T17:58:21.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-06-08 14:51 from __future__ import unicode_literals import django.contrib.postgres.fields.hstore from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('msgs', '0055_auto_20170117_1418'), ] operation...
26.681818
151
0.660988
68
587
5.558824
0.75
0.068783
0.111111
0.142857
0.174603
0
0
0
0
0
0
0.071895
0.218058
587
21
152
27.952381
0.751634
0.115843
0
0
1
0
0.147287
0.044574
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4c6f2387d1c3a2a0925758404779654cc635327e
861
py
Python
lego/apps/users/migrations/0005_auto_20170928_2126.py
andrinelo/lego
9b53c8fe538d9107b980a70e2a21fb487cc3b290
[ "MIT" ]
null
null
null
lego/apps/users/migrations/0005_auto_20170928_2126.py
andrinelo/lego
9b53c8fe538d9107b980a70e2a21fb487cc3b290
[ "MIT" ]
null
null
null
lego/apps/users/migrations/0005_auto_20170928_2126.py
andrinelo/lego
9b53c8fe538d9107b980a70e2a21fb487cc3b290
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-09-28 21:26 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0004_abakusgroup_logo'), ] operations = [ migrations.RemoveField( ...
26.090909
95
0.549361
79
861
5.822785
0.670886
0.058696
0.130435
0.156522
0.182609
0.182609
0
0
0
0
0
0.039182
0.318235
861
32
96
26.90625
0.744463
0.078978
0
0.36
1
0
0.163291
0.026582
0
0
0
0
0
1
0
false
0
0.08
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
4c7039140610e127b32b8d7cfef8bd9bc381c7f0
670
py
Python
magicked_admin/server/chat/discord/discord.py
WilliamBrown42/kf-magicked-admin
d81d243636c16a7bf857e7dd7e40feb3562f6e4c
[ "MIT" ]
2
2019-04-22T02:37:22.000Z
2021-07-22T00:46:58.000Z
magicked_admin/server/chat/discord/discord.py
WilliamBrown42/kf-magicked-admin
d81d243636c16a7bf857e7dd7e40feb3562f6e4c
[ "MIT" ]
null
null
null
magicked_admin/server/chat/discord/discord.py
WilliamBrown42/kf-magicked-admin
d81d243636c16a7bf857e7dd7e40feb3562f6e4c
[ "MIT" ]
null
null
null
""" Restructuring dicord approach, webhook class will be seperate and actual discord class will be contained here. Will add functions for dealing with Controlled difficulty, normal chat, alerts and whatever else I can think of. """ #from discordWebhooks import Webhook # Might figure out how to deal with url? class dis...
24.814815
73
0.7
95
670
4.873684
0.578947
0.090713
0.047516
0.073434
0
0
0
0
0
0
0
0
0.247761
670
26
74
25.769231
0.918651
0.110448
0
0.181818
0
0
0.415978
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d5c48ed1b49eda67aaff43b79819a2e01281381f
925
py
Python
Python/zzz_training_challenge/Python_Challenge/solutions/ch05_datastructures/util/ListUtils.py
Kreijeck/learning
eaffee08e61f2a34e01eb8f9f04519aac633f48c
[ "MIT" ]
null
null
null
Python/zzz_training_challenge/Python_Challenge/solutions/ch05_datastructures/util/ListUtils.py
Kreijeck/learning
eaffee08e61f2a34e01eb8f9f04519aac633f48c
[ "MIT" ]
null
null
null
Python/zzz_training_challenge/Python_Challenge/solutions/ch05_datastructures/util/ListUtils.py
Kreijeck/learning
eaffee08e61f2a34e01eb8f9f04519aac633f48c
[ "MIT" ]
null
null
null
# Beispielprogramm für das Buch "Python Challenge" # # Copyright 2020 by Michael Inden def swap(values, first, second): value1 = values[first] value2 = values[second] values[first] = value2 values[second] = value1 def swap(values, first, second): tmp = values[first] values[first] = values[s...
18.137255
62
0.617297
125
925
4.44
0.344
0.118919
0.081081
0.064865
0.4
0.093694
0.093694
0
0
0
0
0.019259
0.27027
925
50
63
18.5
0.802963
0.132973
0
0.285714
0
0
0.010038
0
0
0
0
0
0
1
0.214286
false
0.035714
0
0
0.392857
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
d5c6e7fd090e27fc28cfd4e9c048d3eca76a53b4
6,488
py
Python
images/pannotator/p_procariota/1rnapredictor.py
ezequieljsosa/sndg-bio
5f709b5b572564ec1dfa40d090eca9a34295743e
[ "MIT" ]
null
null
null
images/pannotator/p_procariota/1rnapredictor.py
ezequieljsosa/sndg-bio
5f709b5b572564ec1dfa40d090eca9a34295743e
[ "MIT" ]
null
null
null
images/pannotator/p_procariota/1rnapredictor.py
ezequieljsosa/sndg-bio
5f709b5b572564ec1dfa40d090eca9a34295743e
[ "MIT" ]
1
2020-09-01T15:57:54.000Z
2020-09-01T15:57:54.000Z
#!/usr/bin/python import sys import os import getopt import time #import mysql.connector from random import randint from Bio import SeqIO from Bio.Seq import Seq from Bio.SeqRecord import SeqRecord from commands import getoutput def help(): print "Prediccion de rRNAs y tRNAs en una secuencia de nucleotidos.\n\ ...
35.26087
202
0.654439
995
6,488
4.174874
0.251256
0.062831
0.071497
0.047183
0.226047
0.202937
0.186808
0.167549
0.151661
0.139143
0
0.010699
0.164457
6,488
183
203
35.453552
0.75558
0.28545
0
0.092784
0
0.061856
0.240656
0.032787
0
0
0
0
0
0
null
null
0.010309
0.092784
null
null
0.103093
0
0
0
null
0
0
0
0
0
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
d5ca4faf1c3cb1a120dfdeff6c72cb48d2b7ed4d
8,986
py
Python
install/services/WMSCollector.py
bbockelm/glideinWMS
a2b39e3d4ff6c4527efad54b1eefe728a4ec9d18
[ "BSD-3-Clause" ]
null
null
null
install/services/WMSCollector.py
bbockelm/glideinWMS
a2b39e3d4ff6c4527efad54b1eefe728a4ec9d18
[ "BSD-3-Clause" ]
3
2015-12-02T19:37:45.000Z
2016-01-20T03:21:48.000Z
install/services/WMSCollector.py
bbockelm/glideinWMS
a2b39e3d4ff6c4527efad54b1eefe728a4ec9d18
[ "BSD-3-Clause" ]
1
2015-12-01T23:02:41.000Z
2015-12-01T23:02:41.000Z
#!/usr/bin/env python import traceback import sys,os,os.path,string,time import stat import re import optparse import common import VOFrontend import Factory import UserCollector import Certificates from Condor import Condor from Configuration import ConfigurationError #------------------------- #os.environ["PYTHON...
32.915751
136
0.636101
1,028
8,986
5.359922
0.231518
0.023956
0.020327
0.016697
0.234301
0.17931
0.158258
0.158258
0.158258
0.14265
0
0.005841
0.180726
8,986
272
137
33.036765
0.742597
0.169263
0
0.181347
0
0
0.258218
0.01141
0
0
0
0
0
0
null
null
0
0.067358
null
null
0.031088
0
0
0
null
0
0
0
0
0
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
d5d3a314fa4460d6195ac59f288dfb6752ef1108
7,092
py
Python
synbioweaver/aspects/writeSBMLModelAspect.py
PhilippBoeing/synbioweaver
23efdf79a325885a43e82ba13e6ccefb8eb3d733
[ "MIT" ]
null
null
null
synbioweaver/aspects/writeSBMLModelAspect.py
PhilippBoeing/synbioweaver
23efdf79a325885a43e82ba13e6ccefb8eb3d733
[ "MIT" ]
null
null
null
synbioweaver/aspects/writeSBMLModelAspect.py
PhilippBoeing/synbioweaver
23efdf79a325885a43e82ba13e6ccefb8eb3d733
[ "MIT" ]
null
null
null
from synbioweaver.core import * from synbioweaver.aspects.modelDefinitions import * import numpy, os, copy from libsbml import * # most of this code is hacked from teh developers tutorial # http://sbml.org/Software/libSBML/docs/python-api/libsbml-python-creating-model.html def check(value, message): """If 'value' ...
44.603774
98
0.607304
788
7,092
5.425127
0.305838
0.011228
0.009357
0.00655
0.117427
0.072982
0.057076
0.024327
0.024327
0.024327
0
0.006947
0.289622
7,092
158
99
44.886076
0.841604
0.074591
0
0.053571
0
0
0.209957
0.003767
0
0
0
0
0
0
null
null
0
0.035714
null
null
0.026786
0
0
0
null
0
0
0
0
0
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
d5d5add385f777b554b5ffbacaaef2d8f4cf1d6a
1,004
py
Python
DataAnalysis/day1_2/sec02.py
yunjung-lee/class_python_numpy
589817c8bbca85d70596e4097c0ece093b5353c3
[ "MIT" ]
null
null
null
DataAnalysis/day1_2/sec02.py
yunjung-lee/class_python_numpy
589817c8bbca85d70596e4097c0ece093b5353c3
[ "MIT" ]
null
null
null
DataAnalysis/day1_2/sec02.py
yunjung-lee/class_python_numpy
589817c8bbca85d70596e4097c0ece093b5353c3
[ "MIT" ]
null
null
null
print(abs(-2)) #절대값 print(all([2,5,-7,'a'])) #모두가 참이냐? 0이 거짓이기 때문에 0이 없으면(0이 아닌 모든수) 참 print(any([1,2,0])) #하나라도 참이면 참 print(any([0,""])) # ""도 거짓 name = ['dildong', 'sunsin', "sejong"] for n in name : print(n) for n in ['dildong', 'sunsin', "sejong"]: print(n) #enumerate : index가 포함...
21.361702
71
0.547809
168
1,004
3.27381
0.470238
0.094545
0.138182
0.130909
0.178182
0.130909
0.130909
0
0
0
0
0.033037
0.216135
1,004
46
72
21.826087
0.66582
0.325697
0
0.08
0
0
0.181402
0
0
0
0
0
0
1
0
false
0
0
0
0
0.72
0
0
0
null
0
0
0
0
0
0
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
d5d93c95a3a083b7532543b6d52c4bb4183150c4
449
py
Python
backend/django/core/migrations/0023_trainingset_celery_task_id.py
RTIInternational/SMART
c95eaa088df33bac95aababdc560c10422eed6e3
[ "MIT" ]
185
2018-10-01T16:38:35.000Z
2022-03-16T14:39:04.000Z
backend/django/core/migrations/0023_trainingset_celery_task_id.py
RTIInternational/SMART
c95eaa088df33bac95aababdc560c10422eed6e3
[ "MIT" ]
93
2018-12-07T15:33:44.000Z
2022-03-09T15:19:08.000Z
backend/django/core/migrations/0023_trainingset_celery_task_id.py
RTIInternational/SMART
c95eaa088df33bac95aababdc560c10422eed6e3
[ "MIT" ]
30
2019-03-04T05:44:44.000Z
2022-03-19T17:07:14.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-10-27 19:13 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("core", "0022_data_df_idx"), ] operations = [ migrations.AddField( ...
21.380952
48
0.614699
51
449
5.196078
0.843137
0
0
0
0
0
0
0
0
0
0
0.06383
0.267261
449
20
49
22.45
0.741641
0.151448
0
0
1
0
0.119048
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d5da1c4724f9f4065beee1bbd1783e9e576c877b
359
py
Python
setup.py
octoandzl/test_package
d959b5388ac57dc49d1ceca63caca8e1d369f08c
[ "MIT" ]
null
null
null
setup.py
octoandzl/test_package
d959b5388ac57dc49d1ceca63caca8e1d369f08c
[ "MIT" ]
null
null
null
setup.py
octoandzl/test_package
d959b5388ac57dc49d1ceca63caca8e1d369f08c
[ "MIT" ]
null
null
null
#!/usr/bin/env python from distutils.core import setup setup(name='arithmetictest', version='0.0.1', description='Test project to get acquainted with TravisCI', author='Andzl', author_email='andzlhub@gmail.com', url='https://github.com/octoandzl/test_package', packages=['arithmeti...
25.642857
65
0.671309
42
359
5.690476
0.833333
0
0
0
0
0
0
0
0
0
0
0.010239
0.183844
359
13
66
27.615385
0.805461
0.05571
0
0
0
0
0.470414
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
d5df7c910cf5caea9762096ed69df169af3940e3
958
py
Python
test/helpers/test_driver.py
dboris/ocaml-webtest
2d60590906272b1183a09802564ece3f01b8f66c
[ "MIT" ]
null
null
null
test/helpers/test_driver.py
dboris/ocaml-webtest
2d60590906272b1183a09802564ece3f01b8f66c
[ "MIT" ]
null
null
null
test/helpers/test_driver.py
dboris/ocaml-webtest
2d60590906272b1183a09802564ece3f01b8f66c
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Selenium test runner. """ import os import sys from selenium import webdriver from selenium.webdriver.firefox.options import Options from selenium.webdriver.support.ui import WebDriverWait def main(): """ Main program. """ options = Options() options.add_argument('-hea...
21.288889
76
0.664927
110
958
5.654545
0.481818
0.083601
0.122187
0.120579
0.265273
0.202572
0.202572
0.202572
0.202572
0.202572
0
0.006502
0.197286
958
44
77
21.772727
0.802341
0.020877
0
0.083333
0
0
0.162685
0.025028
0
0
0
0
0
0
null
null
0.041667
0.208333
null
null
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
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d5dfd2cd65d64911bf08f86e61ffb84b958df136
477
py
Python
test/articles_test.py
kuya-ui/News-API
bfc2cd8688c3c24cdc6f82e276b3849b50b0f005
[ "MIT" ]
null
null
null
test/articles_test.py
kuya-ui/News-API
bfc2cd8688c3c24cdc6f82e276b3849b50b0f005
[ "MIT" ]
null
null
null
test/articles_test.py
kuya-ui/News-API
bfc2cd8688c3c24cdc6f82e276b3849b50b0f005
[ "MIT" ]
null
null
null
import sys sys.path.append("../") import unittest from app.models import Articles class ArticlesTest(unittest.TestCase): ''' Test Class to test the behavior of the articles class ''' def setUp(self): ''' Set up method that will run before every Test ''' self.new_article...
21.681818
63
0.651992
58
477
5.172414
0.603448
0.086667
0.1
0.153333
0
0
0
0
0
0
0
0
0.24109
477
22
64
21.681818
0.828729
0.207547
0
0
0
0
0.032353
0
0
0
0
0
0.090909
1
0.181818
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d5e4e33b44a51b31ab622ab0b6f96fa0d1ae601a
1,719
py
Python
readthedocs/projects/migrations/0010_migrate_domain_data.py
techtonik/readthedocs.org
7e06ea02a82b2f9e992b3be2b6e2294eec50f227
[ "MIT" ]
null
null
null
readthedocs/projects/migrations/0010_migrate_domain_data.py
techtonik/readthedocs.org
7e06ea02a82b2f9e992b3be2b6e2294eec50f227
[ "MIT" ]
null
null
null
readthedocs/projects/migrations/0010_migrate_domain_data.py
techtonik/readthedocs.org
7e06ea02a82b2f9e992b3be2b6e2294eec50f227
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import readthedocs.core.validators from urlparse import urlparse def migrate_url(apps, schema_editor): Domain = apps.get_model("projects", "Domain") Domain.objects.filter(count=0).delete() for domain...
32.433962
151
0.627691
191
1,719
5.52356
0.455497
0.068246
0.068246
0.036019
0.092891
0.092891
0.092891
0.092891
0.092891
0.092891
0
0.008675
0.262362
1,719
52
152
33.057692
0.823344
0.012216
0
0
0
0
0.103774
0.012382
0
0
0
0
0
0
null
null
0
0.097561
null
null
0.097561
0
0
0
null
0
0
0
0
0
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
d5ec44717c3c95b88e095d232ea377fc58800c0b
10,048
py
Python
aux 8/AuxiliaryFunctions.py
ppizarror/CC3501-2018-2
399da13589db46a0898c486469b03929845c631f
[ "MIT" ]
1
2018-09-12T01:16:03.000Z
2018-09-12T01:16:03.000Z
aux 8/AuxiliaryFunctions.py
CC3501/CC3501-2018-2
399da13589db46a0898c486469b03929845c631f
[ "MIT" ]
null
null
null
aux 8/AuxiliaryFunctions.py
CC3501/CC3501-2018-2
399da13589db46a0898c486469b03929845c631f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Daniel Calderon S. file: AuxiliaryFunctions.py --------------------------- V1.0 - 08/05/2012 Funciones varias para simplificar el proceso de dibujo """ from OpenGL.GL import * from OpenGL.GLU import * from OpenGL.GLUT import * ##############################################################...
23.205543
116
0.500398
1,098
10,048
4.516393
0.162113
0.008469
0.009679
0.014116
0.659407
0.614438
0.603751
0.55858
0.516435
0.435572
0
0.049022
0.317874
10,048
433
117
23.205543
0.674497
0.035529
0
0.736364
0
0
0.012121
0
0
0
0
0
0
1
0.066667
false
0
0.015152
0
0.09697
0.015152
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d5f26c56265f24f0a9c9bdca93f3404f250ea077
336
py
Python
src/search_engine/relja_retrival/external/fastann/src/interfaces/python/setup.py
kaloyan13/vise2
833a8510c7cbac3cbb8ac4569fd51448906e62f3
[ "BSD-2-Clause" ]
17
2015-04-26T03:28:09.000Z
2020-05-22T11:04:48.000Z
src/search_engine/relja_retrival/external/fastann/src/interfaces/python/setup.py
kaloyan13/vise2
833a8510c7cbac3cbb8ac4569fd51448906e62f3
[ "BSD-2-Clause" ]
null
null
null
src/search_engine/relja_retrival/external/fastann/src/interfaces/python/setup.py
kaloyan13/vise2
833a8510c7cbac3cbb8ac4569fd51448906e62f3
[ "BSD-2-Clause" ]
5
2019-09-02T14:54:16.000Z
2021-01-13T17:36:01.000Z
#!/usr/bin/env python from distutils.core import setup setup(name = 'fastann', version = '0.2', description = 'Fast approximate nearest neighbour routines', author = 'James Philbin', author_email = 'philbinj@gmail.com', url = 'http://github.com/philbinj/fastann', py_modules = ['fas...
25.846154
66
0.630952
38
336
5.526316
0.842105
0
0
0
0
0
0
0
0
0
0
0.007722
0.229167
336
12
67
28
0.803089
0.059524
0
0
0
0
0.396825
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
d5f502c94275646913d4a54596dcf66e15ee63d6
6,350
py
Python
demo/helpers.py
codeif/flask-demo
7e6b7c3c08835bb5700f14d71e0486ac4dd6a9dc
[ "MIT" ]
null
null
null
demo/helpers.py
codeif/flask-demo
7e6b7c3c08835bb5700f14d71e0486ac4dd6a9dc
[ "MIT" ]
null
null
null
demo/helpers.py
codeif/flask-demo
7e6b7c3c08835bb5700f14d71e0486ac4dd6a9dc
[ "MIT" ]
null
null
null
""" demo.helpers ~~~~~~~~~~~~ flask-demo helpers module :copyright: (c) 2016 by codeif. :license: MIT, see LICENSE for more details. """ import decimal import importlib import json import re import uuid from datetime import date, datetime, time import requests from flask import Blueprint, Flask,...
29.262673
80
0.614173
814
6,350
4.59828
0.244472
0.027785
0.024312
0.009618
0.092706
0.06412
0.039006
0.020839
0.020839
0.020839
0
0.007243
0.28252
6,350
216
81
29.398148
0.814311
0.13748
0
0.082192
0
0
0.024164
0
0
0
0
0
0
1
0.123288
false
0.013699
0.10274
0.027397
0.506849
0.027397
0
0
0
null
0
0
0
0
0
0
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
d5f55d30b349440138b0d170a479f13842d85b87
476
py
Python
documentation/examples/USBCameraExample.py
PeloriTech/Osiris
6a7f7a47de6b3225a42289c6bc8da698182479f4
[ "MIT" ]
null
null
null
documentation/examples/USBCameraExample.py
PeloriTech/Osiris
6a7f7a47de6b3225a42289c6bc8da698182479f4
[ "MIT" ]
16
2019-12-29T22:28:29.000Z
2022-02-27T08:12:31.000Z
documentation/examples/USBCameraExample.py
PeloriTech/Osiris
6a7f7a47de6b3225a42289c6bc8da698182479f4
[ "MIT" ]
null
null
null
from osiris.SimplePipeline import SimplePipeline from osiris.Processor import YoloV3Processor from osiris.VideoSource import USBVideoSource from osiris.VideoOutput import CV2ImshowOutput from osiris.DataSink import ConsoleDataSink usbCamera1 = USBVideoSource() yolov3processor = YoloV3Processor() console_output = Conso...
34
81
0.857143
45
476
9.022222
0.444444
0.123153
0.137931
0
0
0
0
0
0
0
0
0.022989
0.086134
476
13
82
36.615385
0.910345
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d5f599060c49ab53adb8ecb9df82fcd75435ac44
705
py
Python
apps/backends.py
HayesAJ83/LeafMapAppTest
5da65d5c1958f47934453124a72ec800c0ce6a93
[ "MIT" ]
22
2021-08-10T05:11:47.000Z
2022-02-27T14:35:30.000Z
apps/backends.py
HayesAJ83/LeafMapAppTest
5da65d5c1958f47934453124a72ec800c0ce6a93
[ "MIT" ]
null
null
null
apps/backends.py
HayesAJ83/LeafMapAppTest
5da65d5c1958f47934453124a72ec800c0ce6a93
[ "MIT" ]
8
2021-10-04T13:10:32.000Z
2021-11-17T12:32:57.000Z
import streamlit as st def app(): st.title("Create an interactive map") backend = st.selectbox( "Select a plotting backend", ["ipyleaflet", "folium", "heremap", "keperl.gl"], index=1, ) if backend == "ipyleaflet": with st.echo(): import leafmap.leafmap as...
23.5
57
0.558865
80
705
4.9125
0.4
0.076336
0.127226
0.16285
0.234097
0
0
0
0
0
0
0.002092
0.321986
705
29
58
24.310345
0.820084
0
0
0.217391
0
0
0.161702
0
0
0
0
0
0
1
0.043478
false
0
0.217391
0
0.26087
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d5fd5e6657cda34c27c08c6efddbaa8b26a14d32
467
py
Python
DownloadHTML.py
iitjee/SteppinsPy
3ec48e8f403532acd1e81444e8b668c8b7788dd3
[ "Apache-2.0" ]
null
null
null
DownloadHTML.py
iitjee/SteppinsPy
3ec48e8f403532acd1e81444e8b668c8b7788dd3
[ "Apache-2.0" ]
null
null
null
DownloadHTML.py
iitjee/SteppinsPy
3ec48e8f403532acd1e81444e8b668c8b7788dd3
[ "Apache-2.0" ]
null
null
null
/* https://docs.python.org/2/library/webbrowser.html */ import requests url = "http://www.engineering.careers360.com/colleges/list-of-engineering-colleges-in-India?page=" r = requests.get(url) #you get as response object; see type(r) htmlContent = str(r.content, "utf-8") #r.convert is in bytes; should c...
17.961538
105
0.710921
70
467
4.742857
0.742857
0
0
0
0
0
0
0
0
0
0
0.012531
0.14561
467
25
106
18.68
0.819549
0.291221
0
0
0
0.1
0.357798
0.06422
0
0
0
0
0
0
null
null
0
0.1
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
d5fe959499d6e8fdbe023ba89a4038fbfd5662c5
412
py
Python
django_project/Hydroxychloroquine/migrations/0010_report_user_type.py
pranayk2610/Hydroxychloroquine
7e1fef91b0deff7890d6bf21e05d3e820d7353ff
[ "CC0-1.0" ]
null
null
null
django_project/Hydroxychloroquine/migrations/0010_report_user_type.py
pranayk2610/Hydroxychloroquine
7e1fef91b0deff7890d6bf21e05d3e820d7353ff
[ "CC0-1.0" ]
null
null
null
django_project/Hydroxychloroquine/migrations/0010_report_user_type.py
pranayk2610/Hydroxychloroquine
7e1fef91b0deff7890d6bf21e05d3e820d7353ff
[ "CC0-1.0" ]
1
2022-01-11T20:50:06.000Z
2022-01-11T20:50:06.000Z
# Generated by Django 3.1.2 on 2020-12-01 23:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Hydroxychloroquine', '0009_auto_20201201_1805'), ] operations = [ migrations.AddField( model_name='report', name='us...
21.684211
64
0.61165
45
412
5.466667
0.844444
0
0
0
0
0
0
0
0
0
0
0.106667
0.271845
412
18
65
22.888889
0.713333
0.109223
0
0
1
0
0.161644
0.063014
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
91018df30e3230a1a61d7ec56afa0bba2f1f41dc
3,220
py
Python
experimental/single_model_uncertainty/models/models.py
dvdzhang/uncertainty-baselines
8ce0d7494e5cae0719c1b750da4b61564e536636
[ "Apache-2.0" ]
null
null
null
experimental/single_model_uncertainty/models/models.py
dvdzhang/uncertainty-baselines
8ce0d7494e5cae0719c1b750da4b61564e536636
[ "Apache-2.0" ]
null
null
null
experimental/single_model_uncertainty/models/models.py
dvdzhang/uncertainty-baselines
8ce0d7494e5cae0719c1b750da4b61564e536636
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2022 The Uncertainty Baselines Authors. # # 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 ap...
36.179775
105
0.742857
427
3,220
5.484778
0.381733
0.049957
0.042272
0.064048
0.25491
0.178053
0.178053
0.178053
0.156277
0.105892
0
0.012715
0.169565
3,220
88
106
36.590909
0.863126
0.495031
0
0.044444
0
0
0.131798
0
0
0
0
0.011364
0
1
0.044444
false
0
0.244444
0.022222
0.466667
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
91029a4c38dafa9d6e61dae20c4fb44170bf74db
542
py
Python
section-18-poo/3-__del__.py
mugan86/bootcamp-basic-to-expert-from-scratch
028aab243386e5a75d84aea319c480ec54913c53
[ "MIT" ]
31
2022-01-19T18:33:40.000Z
2022-03-29T16:24:44.000Z
section-18-poo/3-__del__.py
mugan86/bootcamp-basic-to-expert-from-scratch
028aab243386e5a75d84aea319c480ec54913c53
[ "MIT" ]
1
2022-02-09T17:47:17.000Z
2022-02-09T17:47:17.000Z
section-18-poo/3-__del__.py
mugan86/bootcamp-basic-to-expert-from-scratch
028aab243386e5a75d84aea319c480ec54913c53
[ "MIT" ]
4
2022-01-20T15:41:09.000Z
2022-03-29T16:25:08.000Z
# Añadimos el template / clase generica class SportInfo: """Mostrar información de un deporte""" def __init__(self, name): print("Estamos creando un objeto") self.name = name def __del__(self): print("Estamos destruyendo un objeto: {}" .format(self.__class__.__name__)...
22.583333
49
0.666052
68
542
4.955882
0.5
0.047478
0.083086
0
0
0
0
0
0
0
0
0
0.214022
542
23
50
23.565217
0.79108
0.230627
0
0
0
0
0.181373
0
0
0
0
0
0
1
0.125
false
0
0
0
0.1875
0.4375
0
0
0
null
0
0
0
0
0
0
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
910a369d203da526c50c35188783c58454035cc0
1,490
py
Python
.venv/lib/python3.8/site-packages/findatapy/util/cachemanager.py
eo1989/VectorBTanalysis
bea3deaf2ee3fc114b308146f2af3e4f35f70197
[ "MIT" ]
null
null
null
.venv/lib/python3.8/site-packages/findatapy/util/cachemanager.py
eo1989/VectorBTanalysis
bea3deaf2ee3fc114b308146f2af3e4f35f70197
[ "MIT" ]
null
null
null
.venv/lib/python3.8/site-packages/findatapy/util/cachemanager.py
eo1989/VectorBTanalysis
bea3deaf2ee3fc114b308146f2af3e4f35f70197
[ "MIT" ]
null
null
null
__author__ = 'saeedamen' # Saeed Amen # # Copyright 2016 Cuemacro # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the # License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
30.408163
122
0.671812
184
1,490
5.233696
0.548913
0.062305
0.109034
0.033229
0.053998
0
0
0
0
0
0
0.009928
0.256376
1,490
49
123
30.408163
0.859206
0.440268
0
0.166667
0
0
0.011704
0
0
0
0
0
0
1
0.208333
false
0.041667
0.041667
0.041667
0.541667
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
910e8d32cfc5e9d8121e4c395b34528d5001ad49
6,363
py
Python
userbot/modules/gabut.py
tungauicipiyey/Kampang-Bot
0ef7638c60e975049feed52fd5856a18c8a49488
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
userbot/modules/gabut.py
tungauicipiyey/Kampang-Bot
0ef7638c60e975049feed52fd5856a18c8a49488
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
userbot/modules/gabut.py
tungauicipiyey/Kampang-Bot
0ef7638c60e975049feed52fd5856a18c8a49488
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2021-03-14T21:18:30.000Z
2021-03-14T21:18:30.000Z
from datetime import datetime import time from time import sleep from platform import uname from userbot import ALIVE_NAME, CMD_HELP, StartTime from userbot.events import register # ================= CONSTANT ================= DEFAULTUSER = str(ALIVE_NAME) if ALIVE_NAME else uname().node # ============================...
31.815
291
0.581172
891
6,363
4.28844
0.272727
0.146558
0.205182
0.142371
0.570531
0.485737
0.345721
0.182151
0.118817
0.104423
0
0.014831
0.205249
6,363
199
292
31.974874
0.709314
0.023731
0
0.285714
0
0
0.311747
0.016108
0
0
0
0
0
1
0
false
0
0.035714
0
0.041667
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
9110ad75455693bb6ae06ba3624db107d6418ce5
1,829
py
Python
nifstd/development/sparc/mis.py
tmsincomb/pyontutils
dad24e7178d8d8cd3bd60d53b9039952fa7a5a1e
[ "MIT" ]
11
2017-05-12T08:50:03.000Z
2022-01-22T20:23:25.000Z
nifstd/development/sparc/mis.py
tmsincomb/pyontutils
dad24e7178d8d8cd3bd60d53b9039952fa7a5a1e
[ "MIT" ]
81
2016-02-25T07:39:15.000Z
2022-02-17T20:20:27.000Z
nifstd/development/sparc/mis.py
tmsincomb/pyontutils
dad24e7178d8d8cd3bd60d53b9039952fa7a5a1e
[ "MIT" ]
257
2017-07-18T19:32:22.000Z
2022-02-03T17:26:18.000Z
from sparcur.utils import want_prefixes import rdflib import requests mis = rdflib.Graph().parse(data=requests.get('https://cassava.ucsd.edu/sparc/exports/curation-export.ttl').content, format='turtle') graph = mis def reformat(ot): return [ot.label if hasattr(ot, 'label') and ot.label else '', ot.curie] objects ...
35.173077
132
0.558229
245
1,829
4.126531
0.436735
0.041543
0.017804
0.031652
0.059347
0.059347
0.059347
0.059347
0
0
0
0.001543
0.291416
1,829
51
133
35.862745
0.778549
0.047567
0
0
0
0
0.136364
0
0
0
0
0.019608
0
1
0.02381
false
0
0.071429
0.02381
0.119048
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9116772346cfbb64dac1d55f68462f27a8b3a05b
891
py
Python
scripts/search_protocol.py
krm35/LaBot
76ec324dd464180e75d5c4496fa59b059ffba841
[ "MIT" ]
1
2020-04-28T19:52:38.000Z
2020-04-28T19:52:38.000Z
scripts/search_protocol.py
krm35/LaBot
76ec324dd464180e75d5c4496fa59b059ffba841
[ "MIT" ]
null
null
null
scripts/search_protocol.py
krm35/LaBot
76ec324dd464180e75d5c4496fa59b059ffba841
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import argparse import sys from pathlib import Path from pprint import pprint # include path to labot sys.path.append(Path(__file__).absolute().parents[1].as_posix()) from labot import protocol def search(types, s): def aux(obj): if isinstance(obj, str): return s in o...
24.75
80
0.650954
128
891
4.398438
0.4375
0.069272
0.060391
0.046181
0.062167
0
0
0
0
0
0
0.002933
0.234568
891
35
81
25.457143
0.822581
0.04826
0
0.086957
0
0
0.057988
0
0
0
0
0
0
1
0.086957
false
0
0.26087
0
0.565217
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
0
0
0
0
0
0
1
0
0
1
91179d677fe6d8d1f6554ecc42aecef9235f6eae
729
py
Python
nonrelated_inlines/tests/testapp/admin.py
diegodirob/django-nonrelated-inlines
3fef685cc84ea3148323260fd88697c909b545b4
[ "MIT" ]
17
2020-10-07T07:33:27.000Z
2022-02-17T04:50:30.000Z
nonrelated_inlines/tests/testapp/admin.py
diegodirob/django-nonrelated-inlines
3fef685cc84ea3148323260fd88697c909b545b4
[ "MIT" ]
1
2020-12-11T15:40:19.000Z
2021-04-03T12:45:12.000Z
nonrelated_inlines/tests/testapp/admin.py
diegodirob/django-nonrelated-inlines
3fef685cc84ea3148323260fd88697c909b545b4
[ "MIT" ]
8
2020-09-11T07:58:17.000Z
2022-02-04T15:11:54.000Z
from django.contrib import admin from nonrelated_inlines.admin import NonrelatedStackedInline from .models import Customer, Invoice class CustomerInvoiceStackedInline(NonrelatedStackedInline): model = Invoice fields = [ 'id', 'amount' ] def get_form_queryset(self, obj): retu...
22.090909
60
0.705075
74
729
6.851351
0.513514
0.047337
0.074951
0.102564
0
0
0
0
0
0
0
0
0.194787
729
32
61
22.78125
0.863714
0
0
0
0
0
0.041152
0
0
0
0
0
0
1
0.090909
false
0
0.136364
0.045455
0.636364
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
9123bb592fe05ce1bd102b336bf367b66de0cced
298
py
Python
exercises/functions.py
inon19-meet/y2s18-python_review
056f15c931f6bfed4b799b0866b969cb57a6956b
[ "MIT" ]
null
null
null
exercises/functions.py
inon19-meet/y2s18-python_review
056f15c931f6bfed4b799b0866b969cb57a6956b
[ "MIT" ]
null
null
null
exercises/functions.py
inon19-meet/y2s18-python_review
056f15c931f6bfed4b799b0866b969cb57a6956b
[ "MIT" ]
null
null
null
# Write your solution for 1.4 here! def is_prime(x): if x > 1: for i in range(2,x): if (x % i) == 0: print(x,"is not a prime number") print(i,"times",x//i,"is",x) else: print(x,"is not a prime number") is_prime(5)
27.090909
48
0.45302
49
298
2.714286
0.489796
0.105263
0.06015
0.165414
0.345865
0.345865
0.345865
0
0
0
0
0.033708
0.402685
298
10
49
29.8
0.713483
0.110738
0
0.222222
0
0
0.186312
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.111111
0.333333
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
9124de2fb58bf66eeaa164c2ffbad76759010d12
1,455
py
Python
answers/views.py
moshthepitt/answers
9febf465a18c41e7a48130e987a8fd64ceae3358
[ "MIT" ]
6
2015-07-28T09:36:39.000Z
2020-08-11T17:15:18.000Z
answers/views.py
Swifilaboroka/answers
9febf465a18c41e7a48130e987a8fd64ceae3358
[ "MIT" ]
8
2015-12-17T22:56:16.000Z
2022-01-13T00:43:16.000Z
answers/views.py
Swifilaboroka/answers
9febf465a18c41e7a48130e987a8fd64ceae3358
[ "MIT" ]
3
2017-07-15T12:13:03.000Z
2022-02-02T10:04:10.000Z
from django.views.generic.edit import CreateView from django.views.generic.edit import UpdateView from django.core.urlresolvers import reverse_lazy, reverse from django.utils.translation import ugettext as _ from django.utils.html import format_html from datatableview.views import DatatableView from core.mixins import...
29.1
71
0.692784
158
1,455
6.208861
0.405063
0.085627
0.058104
0.079511
0.271152
0.271152
0.205912
0.205912
0.118247
0
0
0
0.204124
1,455
49
72
29.693878
0.84715
0.019931
0
0.194444
0
0
0.199291
0.079433
0
0
0
0
0
1
0.027778
false
0
0.25
0.027778
0.694444
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
912a057fe1a33e5eab293bdf74934d2f52e778e7
724
py
Python
ctci-python/chapter-01-arrays-and-strings/urlify.py
beninato8/ctci-python
0431f6dff9412f35c7039403df566cf668b5be1b
[ "MIT" ]
null
null
null
ctci-python/chapter-01-arrays-and-strings/urlify.py
beninato8/ctci-python
0431f6dff9412f35c7039403df566cf668b5be1b
[ "MIT" ]
null
null
null
ctci-python/chapter-01-arrays-and-strings/urlify.py
beninato8/ctci-python
0431f6dff9412f35c7039403df566cf668b5be1b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 ''' Write a method to replace all spaces in a string with '%20'. You may assume that the string has sufficient space at the end to hold additional characters, and that you are given the "true" length of the string. ''' import re def urlify(string): # O(n) return string.replace(' ', '%20') ...
24.133333
93
0.527624
109
724
3.486239
0.504587
0.042105
0.063158
0.073684
0
0
0
0
0
0
0
0.034274
0.314917
724
30
94
24.133333
0.731855
0.34116
0
0
0
0
0.027837
0
0
0
0
0
0
1
0.157895
false
0
0.052632
0.105263
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
912c3590307444352cc994f2446e4c1f4a51f2c4
600
py
Python
pedrec/ui/models/pedrec_ui_config.py
noboevbo/PedRec
891d19bd6a2c7a7d71c2e41d37e7b4c4bfc7762e
[ "MIT" ]
1
2022-03-09T01:24:10.000Z
2022-03-09T01:24:10.000Z
pedrec/ui/models/pedrec_ui_config.py
noboevbo/PedRec
891d19bd6a2c7a7d71c2e41d37e7b4c4bfc7762e
[ "MIT" ]
null
null
null
pedrec/ui/models/pedrec_ui_config.py
noboevbo/PedRec
891d19bd6a2c7a7d71c2e41d37e7b4c4bfc7762e
[ "MIT" ]
null
null
null
import os import pickle from dataclasses import dataclass @dataclass class PedRecUIConfig(): show_pose_2d: bool = True show_object_bb: bool = True show_human_bb: bool = True show_head_orientation_2d: bool = True show_body_orientation_2d: bool = True show_sees_car_flag: bool = True show_act...
25
46
0.641667
85
600
4.247059
0.458824
0.155125
0.199446
0.116343
0.138504
0
0
0
0
0
0
0.006818
0.266667
600
23
47
26.086957
0.813636
0
0
0
0
0
0.006667
0
0
0
0
0
0
1
0.105263
false
0
0.157895
0
0.684211
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
912dac185418fa5abd201ddc1d8e918d5f2c1fa8
3,646
py
Python
var/spack/repos/builtin/packages/psi4/package.py
LiamBindle/spack
e90d5ad6cfff2ba3de7b537d6511adccd9d5fcf1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2,360
2017-11-06T08:47:01.000Z
2022-03-31T14:45:33.000Z
var/spack/repos/builtin/packages/psi4/package.py
LiamBindle/spack
e90d5ad6cfff2ba3de7b537d6511adccd9d5fcf1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
13,838
2017-11-04T07:49:45.000Z
2022-03-31T23:38:39.000Z
var/spack/repos/builtin/packages/psi4/package.py
LiamBindle/spack
e90d5ad6cfff2ba3de7b537d6511adccd9d5fcf1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
1,793
2017-11-04T07:45:50.000Z
2022-03-30T14:31:53.000Z
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os from spack import * class Psi4(CMakePackage): """Psi4 is an open-source suite of ab initio quantum chemis...
37.204082
95
0.612726
442
3,646
4.979638
0.457014
0.040891
0.031804
0.029078
0.132667
0.070877
0.030895
0.030895
0
0
0
0.031056
0.249314
3,646
97
96
37.587629
0.773109
0.27153
0
0.075472
0
0.018868
0.266023
0.1
0
0
0
0.010309
0
1
0.037736
false
0
0.037736
0
0.150943
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
9138d8e9dddb2ac4a8fa23ba3db7d475884b9fcc
4,511
py
Python
datasets/nhse_stats/topics/msa.py
nhsengland/publish-o-matic
dc8f16cb83a2360989afa44d887e63b5cde6af29
[ "MIT" ]
null
null
null
datasets/nhse_stats/topics/msa.py
nhsengland/publish-o-matic
dc8f16cb83a2360989afa44d887e63b5cde6af29
[ "MIT" ]
11
2015-03-02T16:30:20.000Z
2016-11-29T12:16:15.000Z
datasets/nhse_stats/topics/msa.py
nhsengland/publish-o-matic
dc8f16cb83a2360989afa44d887e63b5cde6af29
[ "MIT" ]
2
2020-12-25T20:38:31.000Z
2021-04-11T07:35:01.000Z
""" Scrapes the data at http://www.england.nhs.uk/statistics/statistical-work-areas/mixed-sex-accommodation/msa-data/ """ import calendar import datetime import re from lxml.html import fromstring, tostring import requests import slugify from publish.lib.helpers import to_markdown, anchor_to_resource TITLE_ROOT =...
30.073333
121
0.624474
581
4,511
4.748709
0.304647
0.009061
0.030446
0.018485
0.106923
0.106923
0.083726
0.083726
0.083726
0.083726
0
0.005577
0.244735
4,511
149
122
30.275168
0.804227
0.058524
0
0.070707
0
0.020202
0.156848
0
0
0
0
0
0
0
null
null
0
0.070707
null
null
0.030303
0
0
0
null
0
0
0
0
0
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
913aa0ebbc4723f1991988ce4f89efc1632f66b9
757
py
Python
crowdsource/tests/unit/test_enums.py
timkpaine/crowdsource
fa6acd9572812876421229ce3543db0606ceb445
[ "Apache-2.0" ]
null
null
null
crowdsource/tests/unit/test_enums.py
timkpaine/crowdsource
fa6acd9572812876421229ce3543db0606ceb445
[ "Apache-2.0" ]
46
2017-09-30T04:01:00.000Z
2021-12-12T20:26:10.000Z
crowdsource/tests/unit/test_enums.py
timkpaine/crowdsource
fa6acd9572812876421229ce3543db0606ceb445
[ "Apache-2.0" ]
1
2019-11-12T00:53:31.000Z
2019-11-12T00:53:31.000Z
from crowdsource.enums import ( DatasetType, DatasetFormat, CompetitionType, CompetitionMetric, ) class TestEnums: def test_all(self): assert DatasetType.NONE.value == "none" assert DatasetType.PROVIDED.value == "provided" assert DatasetType.REMOTE.value == "remote" ...
34.409091
59
0.677675
69
757
7.42029
0.376812
0.099609
0.050781
0.074219
0
0
0
0
0
0
0
0
0.220608
757
21
60
36.047619
0.867797
0
0
0
0
0
0.085865
0
0
0
0
0
0.578947
1
0.052632
false
0
0.052632
0
0.157895
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
914934939d9713d874dfb32e0718635ac92b9db5
505
py
Python
validation/date.py
pauloubuntu/ocr-processing-service
3a8e755e6ec62336499280e4a48ffbd0d41df3cf
[ "MIT" ]
22
2015-06-10T22:40:11.000Z
2018-08-12T04:26:57.000Z
validation/date.py
pauloubuntu/ocr-processing-service
3a8e755e6ec62336499280e4a48ffbd0d41df3cf
[ "MIT" ]
6
2015-07-31T17:52:49.000Z
2017-03-06T11:36:00.000Z
validation/date.py
nfscan/ocr-processing-service
3a8e755e6ec62336499280e4a48ffbd0d41df3cf
[ "MIT" ]
20
2015-06-10T12:47:10.000Z
2020-03-24T20:23:14.000Z
__author__ = 'paulo.rodenas' from datetime import datetime class Date(object): BRAZILIAN_FORMAT = '%d/%m/%Y' @staticmethod def parse(date_str, date_format=BRAZILIAN_FORMAT): try: return datetime.strptime(date_str, date_format) except ValueError: return None ...
22.954545
59
0.643564
55
505
5.672727
0.454545
0.128205
0.070513
0.108974
0.5
0.5
0.269231
0
0
0
0
0
0.279208
505
22
60
22.954545
0.857143
0
0
0.5
0
0
0.041502
0
0
0
0
0
0
1
0.125
false
0
0.0625
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
914ab488b8ffcd1065463e3551de21ff173236c8
2,834
py
Python
plugin.video.fanfilm/resources/lib/resolvers/vk.py
mrknow/filmkodi
0162cde9ae25ddbf4a69330948714833ff2f78c9
[ "Apache-2.0" ]
105
2015-11-28T00:03:11.000Z
2021-05-05T20:47:42.000Z
plugin.video.fanfilm/resources/lib/resolvers/vk.py
rrosajp/filmkodi
0162cde9ae25ddbf4a69330948714833ff2f78c9
[ "Apache-2.0" ]
918
2015-11-28T14:12:40.000Z
2022-03-23T20:24:49.000Z
plugin.video.fanfilm/resources/lib/resolvers/vk.py
rrosajp/filmkodi
0162cde9ae25ddbf4a69330948714833ff2f78c9
[ "Apache-2.0" ]
111
2015-12-01T14:06:10.000Z
2020-08-01T10:44:39.000Z
# -*- coding: utf-8 -*- ''' FanFilm Add-on Copyright (C) 2015 lambda This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any ...
32.204545
139
0.582569
377
2,834
4.33687
0.363395
0.027523
0.039755
0.036697
0.376758
0.360856
0.326606
0.209174
0.167584
0.167584
0
0.016941
0.250176
2,834
87
140
32.574713
0.752471
0.238532
0
0.46
0
0.04
0.193241
0
0
0
0
0
0
1
0.06
false
0.1
0.04
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
914b4d9a95ab307a41d1a3c0dba453475edc3956
1,786
py
Python
tensorflow/python/eager/graph_only_ops_test.py
PaulWang1905/tensorflow
ebf12d22b4801fb8dab5034cc94562bf7cc33fa0
[ "Apache-2.0" ]
848
2019-12-03T00:16:17.000Z
2022-03-31T22:53:17.000Z
tensorflow/python/eager/graph_only_ops_test.py
PaulWang1905/tensorflow
ebf12d22b4801fb8dab5034cc94562bf7cc33fa0
[ "Apache-2.0" ]
656
2019-12-03T00:48:46.000Z
2022-03-31T18:41:54.000Z
tensorflow/python/eager/graph_only_ops_test.py
PaulWang1905/tensorflow
ebf12d22b4801fb8dab5034cc94562bf7cc33fa0
[ "Apache-2.0" ]
506
2019-12-03T00:46:26.000Z
2022-03-30T10:34:56.000Z
# Copyright 2017 The TensorFlow Authors. 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 applica...
35.019608
80
0.718365
258
1,786
4.767442
0.484496
0.04878
0.081301
0.026016
0.130081
0.042276
0
0
0
0
0
0.017717
0.146697
1,786
50
81
35.72
0.78937
0.384658
0
0.076923
0
0
0.007407
0
0
0
0
0
0.076923
1
0.076923
false
0
0.346154
0
0.461538
0.038462
0
0
0
null
0
0
0
0
0
0
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
91517cbe354551ac90bf56f87902bbf04b86b2c1
8,581
py
Python
tests/analyze/test_analyze_shared.py
webscopeio/license.sh
69986167013b3c628dbaa51cd54d2aa38d0cacdd
[ "MIT" ]
39
2019-08-09T12:52:05.000Z
2021-08-12T21:25:49.000Z
tests/analyze/test_analyze_shared.py
webscopeio/license.sh
69986167013b3c628dbaa51cd54d2aa38d0cacdd
[ "MIT" ]
97
2019-10-31T18:34:59.000Z
2021-08-20T19:35:01.000Z
tests/analyze/test_analyze_shared.py
webscopeio/license.sh
69986167013b3c628dbaa51cd54d2aa38d0cacdd
[ "MIT" ]
6
2019-12-17T16:02:54.000Z
2020-09-26T18:48:12.000Z
import unittest from unittest import mock from unittest.mock import mock_open from anytree import AnyNode from license_sh.analyze.analyze_shared import ( add_analyze_to_dep_tree, run_askalono, get_node_analyze_dict, transform_html ) ASKALONO_RESULT = [ { "path": "../license-sh/node_module...
36.514894
130
0.583965
993
8,581
4.816717
0.125881
0.05645
0.02718
0.035543
0.791553
0.744721
0.688062
0.644993
0.62743
0.588752
0
0.025316
0.263489
8,581
234
131
36.67094
0.731487
0
0
0.43662
0
0.018779
0.294022
0.11036
0
0
0
0
0.084507
1
0.056338
false
0.00939
0.023474
0
0.093897
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e66c424ef5ae0edbcb74ae1429535951a0503ed4
439
py
Python
tests/integration/test_models/test_full_battery_models/test_lithium_ion/test_spm_half_cell.py
manjunathnilugal/PyBaMM
65d5cba534b4f163670e753714964aaa75d6a2d2
[ "BSD-3-Clause" ]
330
2019-04-17T11:36:57.000Z
2022-03-28T16:49:55.000Z
tests/integration/test_models/test_full_battery_models/test_lithium_ion/test_spm_half_cell.py
manjunathnilugal/PyBaMM
65d5cba534b4f163670e753714964aaa75d6a2d2
[ "BSD-3-Clause" ]
1,530
2019-03-26T18:13:03.000Z
2022-03-31T16:12:53.000Z
tests/integration/test_models/test_full_battery_models/test_lithium_ion/test_spm_half_cell.py
manjunathnilugal/PyBaMM
65d5cba534b4f163670e753714964aaa75d6a2d2
[ "BSD-3-Clause" ]
178
2019-03-27T13:48:04.000Z
2022-03-31T09:30:11.000Z
# # Tests for the half-cell lithium-ion SPM model # import pybamm import unittest from tests import BaseIntegrationTestLithiumIonHalfCell class TestSPMHalfCell(BaseIntegrationTestLithiumIonHalfCell, unittest.TestCase): def setUp(self): self.model = pybamm.lithium_ion.SPM if __name__ == "__main__": p...
20.904762
80
0.719818
52
439
5.903846
0.634615
0.065147
0.084691
0
0
0
0
0
0
0
0
0
0.198178
439
20
81
21.95
0.872159
0.102506
0
0
0
0
0.097436
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.5
0.083333
0
0
0
null
0
0
0
0
0
0
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
e67205f1a2c9f5ea5cb49eba2b846c7b26a02c91
2,426
py
Python
lib/solutions/CHK/checkout_solution.py
DPNT-Sourcecode/CHK-itim01
4627f0a8c79da662fe1bfb5387622558e5d0d6ef
[ "Apache-2.0" ]
null
null
null
lib/solutions/CHK/checkout_solution.py
DPNT-Sourcecode/CHK-itim01
4627f0a8c79da662fe1bfb5387622558e5d0d6ef
[ "Apache-2.0" ]
null
null
null
lib/solutions/CHK/checkout_solution.py
DPNT-Sourcecode/CHK-itim01
4627f0a8c79da662fe1bfb5387622558e5d0d6ef
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 from solutions.CHK.includes import * from solutions.CHK import offers as offs CURRENT_OFFERS = [ # "3A for 130" offs.MultiPriceOffer({'A': 3}, 130, PRICES), # "5A for 200" offs.MultiPriceOffer({'A': 5}, 200, PRICES), # "2B for 45" offs.MultiPriceOffer({'B': 2}, 45, PRICES)...
26.659341
79
0.600165
326
2,426
4.453988
0.368098
0.209366
0.079201
0.034435
0.006887
0
0
0
0
0
0
0.055285
0.239489
2,426
90
80
26.955556
0.731707
0.263809
0
0
0
0
0.016157
0
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.210526
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e674f150233d7d57d4074a32491f635c27f740b5
291
py
Python
tests/test_0520.py
delirious-lettuce/LeetCode
4fbf2627f86cbaf1054c3df59bb9ffe72096d405
[ "MIT" ]
3
2018-02-14T23:50:07.000Z
2022-01-20T11:34:42.000Z
tests/test_0520.py
delirious-lettuce/LeetCode
4fbf2627f86cbaf1054c3df59bb9ffe72096d405
[ "MIT" ]
null
null
null
tests/test_0520.py
delirious-lettuce/LeetCode
4fbf2627f86cbaf1054c3df59bb9ffe72096d405
[ "MIT" ]
null
null
null
import pytest from problems.problem_0520 import Solution @pytest.mark.parametrize('test_input, expected', ( ('USA', True), ('leetcode', True), ('Google', True), )) def test_detect_capital_use(test_input, expected): assert Solution.detectCapitalUse(test_input) == expected
22.384615
60
0.721649
34
291
5.970588
0.647059
0.133005
0.251232
0
0
0
0
0
0
0
0
0.016064
0.14433
291
12
61
24.25
0.799197
0
0
0
0
0
0.127148
0
0
0
0
0
0.111111
1
0.111111
false
0
0.222222
0
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
e6762289811713a0315d8423a1946b04dbd72bbf
1,654
py
Python
src/user/forms.py
nold2/python-web-dev-22-3
4f9b89ce7308e1ade6dc6a72bb201f6fbb5311ce
[ "BSD-2-Clause" ]
23
2020-02-21T08:09:01.000Z
2022-02-04T06:36:06.000Z
src/user/forms.py
nold2/python-web-dev-22-3
4f9b89ce7308e1ade6dc6a72bb201f6fbb5311ce
[ "BSD-2-Clause" ]
null
null
null
src/user/forms.py
nold2/python-web-dev-22-3
4f9b89ce7308e1ade6dc6a72bb201f6fbb5311ce
[ "BSD-2-Clause" ]
4
2020-05-31T11:06:24.000Z
2021-07-31T04:06:00.000Z
"""Forms for user app https://django-registration.readthedocs.io/en/3.0.1/custom-user.html#the-two-step-activation-workflow "The username and email fields must be distinct." https://github.com/ubernostrum/django-registration/blob/58be01f5858a95d30f99eb618d15363323c5d168/src/django_registration/forms.py#L23 https://gi...
30.072727
133
0.654172
174
1,654
6.045977
0.522989
0.068441
0.048479
0.041825
0
0
0
0
0
0
0
0.045418
0.254534
1,654
54
134
30.62963
0.807786
0.379081
0
0.181818
0
0
0.05015
0
0
0
0
0
0
1
0.030303
false
0.060606
0.090909
0
0.242424
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
e6789d0e7cd106ee372c98c0b018ca73a92834df
450
py
Python
setup.t9-exec-server.py
AlumCC/T9
93174858b61c3575b5c8026f1daa32758b897aa0
[ "MIT" ]
3
2019-08-21T13:16:45.000Z
2019-11-07T23:49:42.000Z
setup.t9-exec-server.py
AlumCC/T9
93174858b61c3575b5c8026f1daa32758b897aa0
[ "MIT" ]
6
2019-09-17T05:24:28.000Z
2019-12-14T03:21:23.000Z
setup.t9-exec-server.py
AlumCC/T9
93174858b61c3575b5c8026f1daa32758b897aa0
[ "MIT" ]
1
2020-02-08T02:13:30.000Z
2020-02-08T02:13:30.000Z
from setuptools import setup setup( name='t9-exec-server', version='0.1.0', author='Alex Shafer', author_email='ashafer@pm.me', url='https://github.com/ashafer01/t9', license='MIT', description='T9 Exec Server', long_description='This package runs on the docker exec container', pack...
21.428571
70
0.602222
53
450
5
0.754717
0.067925
0.135849
0
0
0
0
0
0
0
0
0.029674
0.251111
450
20
71
22.5
0.756677
0
0
0.105263
0
0
0.384444
0
0
0
0
0
0
1
0
true
0
0.052632
0
0.052632
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