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
fab86be6f16580e58ee8836bf4504a1098307651
539
py
Python
server/urls.py
Valchris/AngularJS-Django-Template
10c90087984dcd9e6d29380eb4380824e65bcecf
[ "MIT" ]
1
2015-07-29T04:28:26.000Z
2015-07-29T04:28:26.000Z
server/urls.py
Valchris/AngularJS-Django-Template
10c90087984dcd9e6d29380eb4380824e65bcecf
[ "MIT" ]
null
null
null
server/urls.py
Valchris/AngularJS-Django-Template
10c90087984dcd9e6d29380eb4380824e65bcecf
[ "MIT" ]
null
null
null
from django.conf.urls import include, url from django.contrib import admin from glue.views import * from glue.api import * urlpatterns = [ # Examples: # url(r'^$', 'server.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^api/user/data/', view=user_data), url(r'^api/user/si...
26.95
52
0.64564
79
539
4.341772
0.35443
0.093294
0.081633
0.12828
0
0
0
0
0
0
0
0
0.152134
539
19
53
28.368421
0.750547
0.172542
0
0
0
0
0.172336
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
fabc177219e2e95776351ee5bdc5b7834e86aaf5
17,943
py
Python
nebula/dao/strategy_dao.py
threathunterX/nebula_web
2e32e6e7b225e0bd87ee8c847c22862f12c51bb1
[ "Apache-2.0" ]
2
2019-05-01T09:42:32.000Z
2019-05-31T01:08:37.000Z
nebula/dao/strategy_dao.py
threathunterX/nebula_web
2e32e6e7b225e0bd87ee8c847c22862f12c51bb1
[ "Apache-2.0" ]
1
2021-06-01T23:30:04.000Z
2021-06-01T23:30:04.000Z
nebula/dao/strategy_dao.py
threathunterX/nebula_web
2e32e6e7b225e0bd87ee8c847c22862f12c51bb1
[ "Apache-2.0" ]
5
2019-05-14T09:30:12.000Z
2020-09-29T04:57:26.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import import json import logging from threathunter_common.util import millis_now from nebula_meta.model import Strategy from .base_dao import BaseDao, BaseDefaultDao from . import cache from ..models.default import StrategyDefaultModel as M...
32.68306
113
0.567687
1,951
17,943
4.988211
0.111225
0.040691
0.051788
0.043157
0.72688
0.66081
0.624127
0.590423
0.56268
0.533498
0
0.010444
0.327649
17,943
548
114
32.742701
0.796253
0.015716
0
0.572603
0
0
0.16284
0
0
0
0
0.001825
0
0
null
null
0
0.024658
null
null
0.005479
0
0
0
null
0
0
0
0
0
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
fabc961b87da1b6806ebcaaaca91e938753fd2bc
2,205
py
Python
src/21_zip.py
TheFlipbook/python_challenge
21bd42178088bcaafbe02c25a76bc4f2950509b2
[ "MIT" ]
null
null
null
src/21_zip.py
TheFlipbook/python_challenge
21bd42178088bcaafbe02c25a76bc4f2950509b2
[ "MIT" ]
null
null
null
src/21_zip.py
TheFlipbook/python_challenge
21bd42178088bcaafbe02c25a76bc4f2950509b2
[ "MIT" ]
null
null
null
# http://www.pythonchallenge.com/pc/bin/hex.html import bz2 import io import urllib.request import urllib.error import zipfile import zlib out_dir = "_out/idiot" prompt = "http://www.pythonchallenge.com/pc/hex/unreal.jpg" prompt_top = "http://www.pythonchallenge.com/pc/hex/" prompt_range = 1152983631 prompt_pass =...
24.5
67
0.631293
249
2,205
5.453815
0.421687
0.047865
0.064801
0.073638
0.130339
0.066274
0
0
0
0
0
0.011607
0.257596
2,205
89
68
24.775281
0.81796
0.096145
0
0.054545
0
0
0.085599
0
0
0
0
0
0
1
0.036364
false
0.127273
0.109091
0
0.181818
0.109091
0
0
0
null
0
0
0
0
0
0
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
fabd8c394c9b5ebf1b3c158c1fcc13c3e5dcf49b
2,596
py
Python
tests/test_auth/test_upload_passport.py
peterwade153/flybob
85fcd401bffed9adb06e7943f0c748be822fac75
[ "MIT" ]
1
2019-09-09T15:04:07.000Z
2019-09-09T15:04:07.000Z
tests/test_auth/test_upload_passport.py
peterwade153/flybob
85fcd401bffed9adb06e7943f0c748be822fac75
[ "MIT" ]
26
2019-03-27T16:59:26.000Z
2021-06-01T23:35:27.000Z
tests/test_auth/test_upload_passport.py
peterwade153/flybob
85fcd401bffed9adb06e7943f0c748be822fac75
[ "MIT" ]
null
null
null
import unittest from unittest.mock import patch, Mock from werkzeug.datastructures import FileStorage import io import json from app import app from app.models.base import db from app.models.user import User from app.auth.views import UserPassportphotoView from app.auth import views class AuthUploadPassportPhotoTes...
28.844444
71
0.558937
277
2,596
5.137184
0.31769
0.024596
0.031623
0.045678
0.479972
0.446943
0.446943
0.446943
0.321855
0.321855
0
0.024198
0.315485
2,596
89
72
29.168539
0.77659
0.006549
0
0.305556
0
0
0.166085
0
0
0
0
0
0.041667
1
0.055556
false
0.097222
0.138889
0
0.208333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
fac02a78f618b71b9828bd71e56497f77be5f2b6
1,571
py
Python
example_project/news_with_archive/migrations/0001_initial.py
richardbarran/django-minipub
f6df9b15cf49ba95c5aefed5355a7d3de0241c3f
[ "MIT" ]
7
2016-02-19T12:52:01.000Z
2021-07-07T05:10:41.000Z
example_project/news_with_archive/migrations/0001_initial.py
richardbarran/django-minipub
f6df9b15cf49ba95c5aefed5355a7d3de0241c3f
[ "MIT" ]
2
2018-05-14T09:28:25.000Z
2021-05-12T19:21:10.000Z
example_project/news_with_archive/migrations/0001_initial.py
richardbarran/django-minipub
f6df9b15cf49ba95c5aefed5355a7d3de0241c3f
[ "MIT" ]
1
2021-03-24T00:44:22.000Z
2021-03-24T00:44:22.000Z
# Generated by Django 2.0 on 2018-02-14 13:39 from django.db import migrations, models import django.utils.timezone import model_utils.fields class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Article', ...
44.885714
225
0.621897
163
1,571
5.871166
0.460123
0.08046
0.083595
0.081505
0.23093
0.200627
0.200627
0.200627
0.110763
0
0
0.015728
0.231063
1,571
34
226
46.205882
0.77649
0.027371
0
0
1
0
0.119921
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.259259
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fac137087e41cae16ef6b6cc8d7e95ccb0632729
6,159
py
Python
recipes/Python/578344_Simple_Finite_State_Machine_class_/recipe-578344.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/578344_Simple_Finite_State_Machine_class_/recipe-578344.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/578344_Simple_Finite_State_Machine_class_/recipe-578344.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
#! /usr/bin/env python """ Generic finite state machine class Initialise the class with a list of tuples - or by adding transitions Tony Flury - November 2012 Released under an MIT License - free to use so long as the author and other contributers are credited. """ class fsm(object): """ A simple to u...
41.06
178
0.585485
717
6,159
4.988842
0.285914
0.058149
0.015656
0.023483
0.112385
0.04473
0.026838
0
0
0
0
0.009197
0.276181
6,159
149
179
41.33557
0.793181
0.177139
0
0.121951
0
0
0.131148
0.008319
0
0
0
0
0
0
null
null
0
0
null
null
0.012195
0
0
0
null
0
0
0
0
0
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
fac3e7ee67811ede3b6d8461b25dcb5790afb786
475
py
Python
Searches/models.py
Sofia190/book_store_app
3c32f269604948bb4a495802d17794a68188e3a5
[ "MIT" ]
null
null
null
Searches/models.py
Sofia190/book_store_app
3c32f269604948bb4a495802d17794a68188e3a5
[ "MIT" ]
null
null
null
Searches/models.py
Sofia190/book_store_app
3c32f269604948bb4a495802d17794a68188e3a5
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. from django.conf import settings from django.db import models from django.utils import timezone # Create your models here. class SearchQuery(models.Model): user = models.ForeignKey(settings.AUTH_USER_MODEL, blank=True, null=True, on_delete=models.CASCAD...
12.837838
100
0.755789
66
475
5.333333
0.545455
0.113636
0.068182
0.102273
0.136364
0
0
0
0
0
0
0.0075
0.157895
475
36
101
13.194444
0.8725
0.103158
0
0.25
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
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
1
0
0
0
0
1
fac956be30414f4e9750c5fba11e0bd38288e8e4
585
py
Python
event/migrations/0003_event_org.py
Ortus-Team/Moim
57bdd94ffb0c3b5d7dc74396264074e2a9a7f84a
[ "MIT" ]
null
null
null
event/migrations/0003_event_org.py
Ortus-Team/Moim
57bdd94ffb0c3b5d7dc74396264074e2a9a7f84a
[ "MIT" ]
6
2020-06-05T17:44:24.000Z
2022-02-09T23:15:16.000Z
event/migrations/0003_event_org.py
Ortus-Team/Moim
57bdd94ffb0c3b5d7dc74396264074e2a9a7f84a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2018-01-10 08:34 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('org', '0001_initial'), ('event', '0002_auto_2018010...
25.434783
126
0.634188
70
585
5.128571
0.671429
0.066852
0.077994
0.122563
0
0
0
0
0
0
0
0.082222
0.230769
585
22
127
26.590909
0.715556
0.116239
0
0
1
0
0.118677
0.044747
0
0
0
0
0
1
0
false
0
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
facc8b55215e84d77bae17017885f0c7c6fa4a14
2,084
py
Python
src/main/python/counts_tools/exec/deviation_analysis.py
cday97/beam
7e1ab50eecaefafd04daab360f8b12bc7cab559b
[ "BSD-3-Clause-LBNL" ]
123
2017-04-06T20:17:19.000Z
2022-03-02T13:42:15.000Z
src/main/python/counts_tools/exec/deviation_analysis.py
cday97/beam
7e1ab50eecaefafd04daab360f8b12bc7cab559b
[ "BSD-3-Clause-LBNL" ]
2,676
2017-04-26T20:27:27.000Z
2022-03-31T16:39:53.000Z
src/main/python/counts_tools/exec/deviation_analysis.py
cday97/beam
7e1ab50eecaefafd04daab360f8b12bc7cab559b
[ "BSD-3-Clause-LBNL" ]
60
2017-04-06T20:14:32.000Z
2022-03-30T20:10:53.000Z
import ConfigParser from datetime import datetime import os import sys import numpy as np import pandas as pd import utils.counts import utils.counts_deviation __author__ = 'Andrew A Campbell' # This script finds the days with the greatest deviation from some reference value (such as hourly means or medians) if __n...
32.5625
116
0.669866
306
2,084
4.385621
0.398693
0.036513
0.038748
0.025335
0
0
0
0
0
0
0
0.003069
0.21833
2,084
63
117
33.079365
0.820749
0.161708
0
0
0
0
0.158382
0
0
0
0
0
0
0
null
null
0
0.186047
null
null
0.093023
0
0
0
null
0
0
0
0
0
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
fae463c351e42ad7cf6fcfb323f650cd6cc418ae
304
py
Python
tests/test_statebus.py
invisible-college/tightrope
f0c96dd6702e9d4b730cffac70829b56f76077b6
[ "MIT" ]
1
2021-08-22T05:09:05.000Z
2021-08-22T05:09:05.000Z
tests/test_statebus.py
invisible-college/tightrope
f0c96dd6702e9d4b730cffac70829b56f76077b6
[ "MIT" ]
3
2017-09-18T01:45:44.000Z
2017-10-17T23:26:22.000Z
tests/test_statebus.py
invisible-college/tightrope
f0c96dd6702e9d4b730cffac70829b56f76077b6
[ "MIT" ]
null
null
null
// Test calls to statebus server var bus = require('statebus/server')(); bus.ws_client("/*", "ws://aws.local-box.org:45678"); x = bus.fetch("/paul/code"); console.log(JSON.stringify(x)); if (!x.written) { console.log("No member .written found, setting it now"); x.written = "here it is"; } save(x);
25.333333
58
0.654605
48
304
4.125
0.708333
0.141414
0
0
0
0
0
0
0
0
0
0.018797
0.125
304
11
59
27.636364
0.725564
0
0
0
0
0
0.346535
0.092409
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
fae48fbff8a06a587206ef5fa49056a7f5046d73
1,205
py
Python
src/pyams_utils/interfaces/intids.py
Py-AMS/pyams-utils
65b166596a8b9f66fb092a69ce5d53ac6675685e
[ "ZPL-2.1" ]
null
null
null
src/pyams_utils/interfaces/intids.py
Py-AMS/pyams-utils
65b166596a8b9f66fb092a69ce5d53ac6675685e
[ "ZPL-2.1" ]
null
null
null
src/pyams_utils/interfaces/intids.py
Py-AMS/pyams-utils
65b166596a8b9f66fb092a69ce5d53ac6675685e
[ "ZPL-2.1" ]
null
null
null
# # Copyright (c) 2008-2015 Thierry Florac <tflorac AT ulthar.net> # 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 IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED # WARRAN...
26.777778
97
0.699585
152
1,205
5.493421
0.651316
0.028743
0.033533
0
0
0
0
0
0
0
0
0.010684
0.223237
1,205
44
98
27.386364
0.88141
0.53278
0
0.166667
0
0
0.234522
0
0
0
0
0
0
1
0
false
0
0.25
0
0.583333
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
fae717b2d4db53ea73a947ac37133ff735c46b9c
282
py
Python
reo/migrations/0083_merge_20201207_1317.py
akuam1/REopt_Lite_API
fb5a88ee52351b725fda5c15712b617f6e97ddca
[ "BSD-3-Clause" ]
41
2020-02-21T08:25:17.000Z
2022-01-14T23:06:42.000Z
reo/migrations/0083_merge_20201207_1317.py
akuam1/REopt_Lite_API
fb5a88ee52351b725fda5c15712b617f6e97ddca
[ "BSD-3-Clause" ]
167
2020-02-17T17:26:47.000Z
2022-01-20T20:36:54.000Z
reo/migrations/0083_merge_20201207_1317.py
akuam1/REopt_Lite_API
fb5a88ee52351b725fda5c15712b617f6e97ddca
[ "BSD-3-Clause" ]
31
2020-02-20T00:22:51.000Z
2021-12-10T05:48:08.000Z
# Generated by Django 2.2.13 on 2020-12-07 13:17 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('reo', '0075_auto_20201125_1947'), ('reo', '0082_chpmodel_chp_unavailability_hourly'), ] operations = [ ]
18.8
59
0.659574
34
282
5.264706
0.823529
0
0
0
0
0
0
0
0
0
0
0.164384
0.223404
282
14
60
20.142857
0.652968
0.163121
0
0
1
0
0.290598
0.264957
0
0
0
0
0
1
0
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
faeb54d9605b6182b7e92333f3846926f9dfc119
8,246
py
Python
ls/joyous/models/one_off_events.py
tjwalch/ls.joyous
0ee50d3af71c066bddb2310948b02f74b52ee253
[ "BSD-3-Clause" ]
72
2018-03-16T16:35:08.000Z
2022-03-23T08:09:33.000Z
polrev/ls/joyous/models/one_off_events.py
polrev-github/polrev-django
99108ace1a5307b14c3eccb424a9f9616e8c02ae
[ "MIT" ]
41
2018-03-25T20:36:52.000Z
2022-03-10T08:59:27.000Z
polrev/ls/joyous/models/one_off_events.py
polrev-github/polrev-django
99108ace1a5307b14c3eccb424a9f9616e8c02ae
[ "MIT" ]
28
2018-08-13T22:36:09.000Z
2022-03-17T12:24:15.000Z
# ------------------------------------------------------------------------------ # Joyous events models # ------------------------------------------------------------------------------ import datetime as dt from django.db import models from django.db.models.query import ModelIterable from django.utils import timezone f...
37.652968
80
0.557361
782
8,246
5.654731
0.213555
0.018091
0.025328
0.032564
0.664631
0.64066
0.639077
0.639077
0.587517
0.563998
0
0.002614
0.257822
8,246
218
81
37.825688
0.719935
0.173296
0
0.565517
0
0
0.057117
0.016017
0
0
0
0
0
1
0.144828
false
0
0.096552
0
0.503448
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
faeec08412c17e1886d0f4332b15cb71403f5016
1,337
py
Python
project/RealEstateMarketPlace/views/ListConversationsView.py
Mihaaai/RealEstateMarketplace
9b9fa1376436801303e1ed0207ef09845a7d827e
[ "Apache-2.0" ]
null
null
null
project/RealEstateMarketPlace/views/ListConversationsView.py
Mihaaai/RealEstateMarketplace
9b9fa1376436801303e1ed0207ef09845a7d827e
[ "Apache-2.0" ]
null
null
null
project/RealEstateMarketPlace/views/ListConversationsView.py
Mihaaai/RealEstateMarketplace
9b9fa1376436801303e1ed0207ef09845a7d827e
[ "Apache-2.0" ]
null
null
null
from django.views.generic import ListView from rest_framework import authentication, permissions from ..models import Message,Listing,User from django.db.models import Q class ListConversationsView(ListView): authentication_classes = (authentication.SessionAuthentication,) permission_classes = (permissions.I...
51.423077
174
0.735976
166
1,337
5.722892
0.36747
0.068421
0.054737
0.071579
0.214737
0.094737
0.094737
0.094737
0.094737
0
0
0
0.169035
1,337
26
175
51.423077
0.855086
0.103964
0
0
0
0
0.062657
0.026734
0
0
0
0
0
1
0.055556
false
0
0.222222
0
0.611111
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
faf66d5e9e6ff74d2a82b5b0fd5dc4b83c98d750
426
py
Python
respostas/migrations/0016_resposta_materia.py
Samio-Santos/Sistema_Questoes_Django
415c28b386ac7848fdd244ba51c20239b730f4ae
[ "MIT" ]
null
null
null
respostas/migrations/0016_resposta_materia.py
Samio-Santos/Sistema_Questoes_Django
415c28b386ac7848fdd244ba51c20239b730f4ae
[ "MIT" ]
null
null
null
respostas/migrations/0016_resposta_materia.py
Samio-Santos/Sistema_Questoes_Django
415c28b386ac7848fdd244ba51c20239b730f4ae
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-07-02 21:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('respostas', '0015_alter_resposta_banca'), ] operations = [ migrations.AddField( model_name='resposta', name='materia',...
22.421053
87
0.617371
47
426
5.489362
0.829787
0
0
0
0
0
0
0
0
0
0
0.064103
0.267606
426
18
88
23.666667
0.762821
0.100939
0
0
1
0
0.128609
0.065617
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
faf67b2c9d286ee2d83587f71a298be32213ce3a
523
py
Python
libs/menus/menus.py
MilianoJunior/appSalva
d1ad23d06c57aa4b6d380ad637847b6842b68ccd
[ "MIT" ]
null
null
null
libs/menus/menus.py
MilianoJunior/appSalva
d1ad23d06c57aa4b6d380ad637847b6842b68ccd
[ "MIT" ]
null
null
null
libs/menus/menus.py
MilianoJunior/appSalva
d1ad23d06c57aa4b6d380ad637847b6842b68ccd
[ "MIT" ]
null
null
null
from kivymd.uix.boxlayout import MDBoxLayout from kivymd.uix.toolbar import MDToolbar class Menus(): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) def __call__(self): box_central = MDBoxLayout(orientation='vertical') # criar componentes toolbar = MDToo...
26.15
57
0.66348
55
523
5.981818
0.563636
0.121581
0.079027
0.115502
0
0
0
0
0
0
0
0
0.23327
523
20
58
26.15
0.820449
0.216061
0
0
0
0
0.041872
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
faf6934e3cb37291d228f183808eb0c338d26479
1,342
py
Python
setup.py
t-ceccarini/deep-b-spline-approximation
9e48b593717486bbdac9bf0269a5645830d76082
[ "MIT" ]
null
null
null
setup.py
t-ceccarini/deep-b-spline-approximation
9e48b593717486bbdac9bf0269a5645830d76082
[ "MIT" ]
null
null
null
setup.py
t-ceccarini/deep-b-spline-approximation
9e48b593717486bbdac9bf0269a5645830d76082
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Jan 13 23:29:22 2022 @author: Tommaso """ from setuptools import setup VERSION = '0.2.8' DESCRIPTION = 'A python package for bspline curve approximation using deep learning' # Setting up setup( name='deep-b-spline-approximation', packages=['deep_b_spline_approximati...
35.315789
111
0.651267
155
1,342
5.574194
0.6
0.109954
0.144676
0.150463
0.118056
0.118056
0.118056
0.118056
0.118056
0.118056
0
0.029385
0.188525
1,342
37
112
36.27027
0.764004
0.064829
0
0
0
0.035714
0.608347
0.0626
0
0
0
0
0
1
0
false
0
0.035714
0
0.035714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
faf73cd0b10c574ff66ce3351fe78b6258b32478
1,697
py
Python
source/db_api/crud/crud_documents.py
JungeAlexander/kbase_db_api
f3ec5e8b9ae509f9e8d962183efef21be61ef425
[ "MIT" ]
1
2021-09-19T14:31:44.000Z
2021-09-19T14:31:44.000Z
source/db_api/crud/crud_documents.py
JungeAlexander/kbase_db_api
f3ec5e8b9ae509f9e8d962183efef21be61ef425
[ "MIT" ]
4
2020-10-13T08:41:49.000Z
2021-04-29T18:05:40.000Z
source/db_api/crud/crud_documents.py
JungeAlexander/kbase_db_api
f3ec5e8b9ae509f9e8d962183efef21be61ef425
[ "MIT" ]
null
null
null
from datetime import date from typing import Iterable from sqlalchemy.orm import Session from db_api import models, schemas def get_document(db: Session, document_id: str) -> models.Document: return db.query(models.Document).filter(models.Document.id == document_id).first() def get_documents_by_publication_da...
28.762712
101
0.70772
222
1,697
5.27027
0.252252
0.191453
0.055556
0.081197
0.464103
0.28547
0.241026
0.241026
0.104274
0.104274
0
0.005662
0.167354
1,697
58
102
29.258621
0.822364
0.03241
0
0.170732
0
0
0.005491
0
0
0
0
0.017241
0
1
0.170732
false
0
0.097561
0.097561
0.439024
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
4f03405a3316d902d0f6702b629b6f2aae600c70
633
py
Python
tests/functional_tests.py
Ecotrust/OPCDB
f639408c9cfdfa392a9233042f40e116c703fff1
[ "MIT" ]
null
null
null
tests/functional_tests.py
Ecotrust/OPCDB
f639408c9cfdfa392a9233042f40e116c703fff1
[ "MIT" ]
7
2021-03-19T02:36:29.000Z
2022-01-21T23:51:38.000Z
tests/functional_tests.py
Ecotrust/OPCDB
f639408c9cfdfa392a9233042f40e116c703fff1
[ "MIT" ]
null
null
null
from selenium import webdriver import unittest class FirefoxTest(unittest.TestCase): def setUp(self): self.browser = webdriver.Firefox() def tearDown(self): self.browser.quit() def test_page(self): #test method names must start with 'test' self.browser.get('http://localhost...
31.65
80
0.669826
79
633
5.253165
0.620253
0.106024
0.072289
0
0
0
0
0
0
0
0
0.008163
0.225908
633
19
81
33.315789
0.838776
0.341232
0
0
0
0
0.089806
0
0
0
0
0
0.083333
1
0.25
false
0
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4f0442ce4e58fffb400b80c3f2ed1670944947b9
336
py
Python
hortiradar/database/restart_workers.py
mctenthij/big-tu-top10
d551f944aa364728d97bb2b672276a97f8019749
[ "Apache-2.0", "BSD-2-Clause" ]
7
2019-04-21T15:25:29.000Z
2021-11-07T23:20:17.000Z
hortiradar/database/restart_workers.py
mctenthij/big-tu-top10
d551f944aa364728d97bb2b672276a97f8019749
[ "Apache-2.0", "BSD-2-Clause" ]
null
null
null
hortiradar/database/restart_workers.py
mctenthij/big-tu-top10
d551f944aa364728d97bb2b672276a97f8019749
[ "Apache-2.0", "BSD-2-Clause" ]
2
2019-04-21T15:25:30.000Z
2022-01-01T20:49:36.000Z
import os import re from subprocess import call from time import sleep supervisor_dir = "/etc/supervisor/conf.d/" _, _, files = next(os.walk(supervisor_dir)) for f in files: m = re.match("(hortiradar-worker\d)\.conf", f) if m: worker = m.group(1) call(["supervisorctl", "restart", worker]) ...
19.764706
50
0.642857
48
336
4.416667
0.604167
0.122642
0
0
0
0
0
0
0
0
0
0.011407
0.217262
336
16
51
21
0.794677
0
0
0
0
0
0.208333
0.14881
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
877ea49df20cc55a5d0735462644f88406735b14
291
py
Python
src/dots/token.py
Mokin711/dots-python
6bc0c98daa331302df9c9829a7579be6e1bd828c
[ "MIT" ]
1
2021-06-14T18:43:53.000Z
2021-06-14T18:43:53.000Z
src/dots/token.py
Mokin711/dots-python
6bc0c98daa331302df9c9829a7579be6e1bd828c
[ "MIT" ]
1
2021-11-15T21:33:27.000Z
2021-11-16T19:22:34.000Z
src/dots/token.py
Mokin711/dots-python
6bc0c98daa331302df9c9829a7579be6e1bd828c
[ "MIT" ]
1
2022-02-09T19:39:15.000Z
2022-02-09T19:39:15.000Z
import base64 import dots def get_auth_token(): if dots.client_id == None or dots.api_key == None: raise AssertionError('api_key and/or client_id not set') token = base64.b64encode(bytes(dots.client_id + ':' + dots.api_key, 'utf-8')).decode('utf-8') return token
24.25
97
0.670103
45
291
4.155556
0.555556
0.128342
0.128342
0
0
0
0
0
0
0
0
0.034335
0.199313
291
11
98
26.454545
0.76824
0
0
0
0
0
0.147766
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.571429
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
877eab8db5158dc55512e44d21ca46730b5e208f
946
py
Python
setup.py
ctsit/lineman
d90e876d70fbc3d6ca18425d2748d70eb00ab485
[ "Apache-2.0" ]
null
null
null
setup.py
ctsit/lineman
d90e876d70fbc3d6ca18425d2748d70eb00ab485
[ "Apache-2.0" ]
2
2017-05-23T18:45:01.000Z
2017-09-26T17:02:34.000Z
setup.py
ctsit/lineman
d90e876d70fbc3d6ca18425d2748d70eb00ab485
[ "Apache-2.0" ]
3
2017-04-28T13:35:34.000Z
2017-05-16T14:01:13.000Z
from setuptools import setup #bring in __version__ from sourcecode #per https://stackoverflow.com/a/17626524 #and https://stackoverflow.com/a/2073599 with open('lineman/version.py') as ver: exec(ver.read()) setup(name='lineman', version=__version__, description='Lineman fixes data problems that will ...
32.62069
97
0.598309
117
946
4.675214
0.649573
0.021938
0.038391
0.043876
0
0
0
0
0
0
0
0.050992
0.2537
946
28
98
33.785714
0.723796
0.121564
0
0
0
0.045455
0.425121
0.055556
0
0
0
0
0
1
0
true
0
0.045455
0
0.045455
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
8784142013ef93ac4ae61c954de934c0b7a1cd9b
2,247
py
Python
cloudmarker/test/test_azwebapphttp20event.py
TinLe/cloudmarker
29698420457a86d5d8a0bac156bc98bd656198e1
[ "MIT" ]
208
2019-04-10T05:15:11.000Z
2022-03-16T17:41:29.000Z
cloudmarker/test/test_azwebapphttp20event.py
TinLe/cloudmarker
29698420457a86d5d8a0bac156bc98bd656198e1
[ "MIT" ]
88
2018-12-17T18:24:13.000Z
2021-05-15T04:19:53.000Z
cloudmarker/test/test_azwebapphttp20event.py
TinLe/cloudmarker
29698420457a86d5d8a0bac156bc98bd656198e1
[ "MIT" ]
15
2019-01-03T04:18:33.000Z
2021-06-03T09:24:31.000Z
"""Tests for AzWebAppHttp20Event plugin.""" import copy import unittest from cloudmarker.events import azwebapphttp20event base_record = { 'ext': { 'record_type': 'web_app_config', 'cloud_type': 'azure', 'http20_enabled': True }, 'com': { 'cloud_type': 'azure' } }...
32.565217
59
0.640854
227
2,247
6.127753
0.189427
0.086269
0.105679
0.094896
0.732567
0.716751
0.641984
0.641984
0.57872
0.505392
0
0.028605
0.23765
2,247
68
60
33.044118
0.783421
0.033378
0
0.462963
0
0
0.109671
0
0
0
0
0
0.148148
1
0.111111
false
0
0.055556
0
0.185185
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
8791411f9352e21475daedce2828ad0066226068
419
py
Python
ranking/migrations/0056_auto_20201128_2316.py
horacexd/clist
9759dfea97b86514bec9825d2430abc36decacf0
[ "Apache-2.0" ]
166
2019-05-16T23:46:08.000Z
2022-03-31T05:20:23.000Z
ranking/migrations/0056_auto_20201128_2316.py
horacexd/clist
9759dfea97b86514bec9825d2430abc36decacf0
[ "Apache-2.0" ]
92
2020-01-18T22:51:53.000Z
2022-03-12T01:23:57.000Z
ranking/migrations/0056_auto_20201128_2316.py
VadVergasov/clist
4afcdfe88250d224043b28efa511749347cec71c
[ "Apache-2.0" ]
23
2020-02-09T17:38:43.000Z
2021-12-09T14:39:07.000Z
# Generated by Django 2.2.13 on 2020-11-28 23:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ranking', '0055_auto_20201009_0735'), ] operations = [ migrations.AddIndex( model_name='statistics', index=models.I...
23.277778
107
0.637232
49
419
5.22449
0.795918
0
0
0
0
0
0
0
0
0
0
0.115987
0.238663
419
17
108
24.647059
0.68652
0.109785
0
0
1
0
0.242588
0.142857
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8797dc3ef1031456c069cbbb89dbdaafc3b5a76e
137
py
Python
ty.py
IsSveshuD/lab_2_12
e7a276292fed67764526fff4dda582a86f2ddf45
[ "MIT" ]
null
null
null
ty.py
IsSveshuD/lab_2_12
e7a276292fed67764526fff4dda582a86f2ddf45
[ "MIT" ]
null
null
null
ty.py
IsSveshuD/lab_2_12
e7a276292fed67764526fff4dda582a86f2ddf45
[ "MIT" ]
null
null
null
import re def c(text, chars=" !?"): rx = re.compile(f'{chars}') text = rx.sub(r'-', text) print(text) a = 'dsf !?#' c(a)
11.416667
31
0.489051
22
137
3.045455
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.255474
137
11
32
12.454545
0.656863
0
0
0
0
0
0.131387
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8799edb410a9b593ae1ec6c87d90f8b46275cfe2
1,005
py
Python
website/articles.py
ceyeoh/fyp_doppler
4805378d57870560f8a8b450ec49b6c72a85962a
[ "MIT" ]
null
null
null
website/articles.py
ceyeoh/fyp_doppler
4805378d57870560f8a8b450ec49b6c72a85962a
[ "MIT" ]
null
null
null
website/articles.py
ceyeoh/fyp_doppler
4805378d57870560f8a8b450ec49b6c72a85962a
[ "MIT" ]
null
null
null
from flask import Blueprint, render_template from flask_login import login_required, current_user articles = Blueprint( "articles", __name__, ) @articles.route("/intro-fgr") @login_required def intro(): return render_template("article-intro-fgr.html", user=current_user) @articles.route("/causes-fgr") @...
22.840909
77
0.763184
126
1,005
5.880952
0.190476
0.132254
0.153846
0.153846
0.265857
0.236167
0.236167
0
0
0
0
0
0.102488
1,005
43
78
23.372093
0.821508
0
0
0.2
0
0
0.234826
0.149254
0
0
0
0
0
1
0.2
false
0
0.066667
0.2
0.466667
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
879ae2125f2be56cca379202ae8598161954d149
2,777
py
Python
rvaconnect/circles/migrations/0001_initial.py
rva-data/rvaconnect
dc7e387dd35971ff5514f2675532e29094843ae2
[ "BSD-3-Clause" ]
1
2015-01-27T05:24:13.000Z
2015-01-27T05:24:13.000Z
rvaconnect/circles/migrations/0001_initial.py
rva-data/rvaconnect
dc7e387dd35971ff5514f2675532e29094843ae2
[ "BSD-3-Clause" ]
null
null
null
rvaconnect/circles/migrations/0001_initial.py
rva-data/rvaconnect
dc7e387dd35971ff5514f2675532e29094843ae2
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Group' db.create_table(u'circles_group', ( (u'id', self.gf('django.db.models.fie...
55.54
138
0.605329
309
2,777
5.330097
0.236246
0.082574
0.136005
0.194293
0.700668
0.689739
0.645416
0.549484
0.327262
0.160291
0
0.011494
0.185452
2,777
50
139
55.54
0.716622
0.023407
0
0
0
0
0.451458
0.289406
0
0
0
0
0
1
0.051282
false
0
0.102564
0
0.230769
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
879cdfa799a43a3cd06f5d3f201e4e357ab443c1
550
py
Python
models/tree.py
pigaov10/tree_manager
c85aa03d59536ebe6b8fac0407fd285094df3a65
[ "Apache-2.0" ]
null
null
null
models/tree.py
pigaov10/tree_manager
c85aa03d59536ebe6b8fac0407fd285094df3a65
[ "Apache-2.0" ]
null
null
null
models/tree.py
pigaov10/tree_manager
c85aa03d59536ebe6b8fac0407fd285094df3a65
[ "Apache-2.0" ]
null
null
null
from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() def configure(app): db.init_app(app) app.db = db class Tree(db.Model): __tablename__ = 'tree' id = db.Column(db.Integer, primary_key=True) code = db.Column(db.String(50), nullable=False) description = db.Column(db.String(25...
30.555556
85
0.656364
74
550
4.716216
0.445946
0.114613
0.143266
0.146132
0.108883
0
0
0
0
0
0
0.011416
0.203636
550
18
86
30.555556
0.785388
0.141818
0
0
0
0
0.028634
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0.076923
0.769231
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
87a23d912466c34c97307a017f8d2956a06cdbc3
1,729
py
Python
examples/black_lives/create_progmem.py
fejiso/PxMatrix
fc53edf18af43ab3d0459890c0575243a3592445
[ "BSD-3-Clause" ]
599
2018-03-31T21:56:45.000Z
2022-03-26T03:31:30.000Z
examples/black_lives/create_progmem.py
fejiso/PxMatrix
fc53edf18af43ab3d0459890c0575243a3592445
[ "BSD-3-Clause" ]
291
2018-03-29T11:59:26.000Z
2022-03-24T19:44:32.000Z
examples/black_lives/create_progmem.py
fejiso/PxMatrix
fc53edf18af43ab3d0459890c0575243a3592445
[ "BSD-3-Clause" ]
144
2018-03-31T04:45:50.000Z
2022-03-29T15:00:22.000Z
#!/usr/bin/python import binascii import sys import glob, os import pdb file_no=0; file_names=[]; RGB565=1; out_string=""; def printrgb565(red, green, blue): x1 = (red & 0xF8) | (green >> 5); x2 = ((green & 0x1C) << 3) | (blue >> 3); #pdb.set_trace() this_string="0x" + str(binascii.hexlify(chr(x2))) + ","; this_...
27.444444
65
0.626952
256
1,729
4.046875
0.324219
0.112934
0.057915
0.072394
0.196911
0.196911
0.063707
0
0
0
0
0.048729
0.18103
1,729
62
66
27.887097
0.68291
0.061885
0
0.08
0
0
0.079728
0.012979
0
0
0.007417
0
0
0
null
null
0
0.08
null
null
0.12
0
0
0
null
0
0
0
0
0
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
87a487207e754b62b27676fbeca5d8fa0f49a8b7
7,340
py
Python
lisa_flexbe_states_flexbe_behaviors/src/lisa_flexbe_states_flexbe_behaviors/test_multiple_sm.py
lawrence-iviani/lisa-flexbe-states
5a228b7a9139394c9bd9ea386725226fef7844ac
[ "BSD-3-Clause" ]
null
null
null
lisa_flexbe_states_flexbe_behaviors/src/lisa_flexbe_states_flexbe_behaviors/test_multiple_sm.py
lawrence-iviani/lisa-flexbe-states
5a228b7a9139394c9bd9ea386725226fef7844ac
[ "BSD-3-Clause" ]
null
null
null
lisa_flexbe_states_flexbe_behaviors/src/lisa_flexbe_states_flexbe_behaviors/test_multiple_sm.py
lawrence-iviani/lisa-flexbe-states
5a228b7a9139394c9bd9ea386725226fef7844ac
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- ########################################################### # WARNING: Generated code! # # ************************** # # Manual changes may get lost if file is generated again. # # Only code inside the [MANUAL] ta...
49.261745
198
0.700409
831
7,340
5.901324
0.222623
0.078507
0.040783
0.045881
0.564437
0.505506
0.450653
0.410277
0.347675
0.330546
0
0.019778
0.152725
7,340
148
199
49.594595
0.768773
0.124659
0
0.173333
1
0
0.320974
0.050621
0
0
0
0
0
1
0.026667
false
0
0.08
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
87a653834398311d35699ada567936f2e6f4ca64
410
py
Python
data_preparation/jobScreening_cvpr17/extract_spectograms.py
segurac/richEmbeddings
3279714c4b70db09740152822951cd0359fda8c8
[ "Apache-2.0" ]
null
null
null
data_preparation/jobScreening_cvpr17/extract_spectograms.py
segurac/richEmbeddings
3279714c4b70db09740152822951cd0359fda8c8
[ "Apache-2.0" ]
null
null
null
data_preparation/jobScreening_cvpr17/extract_spectograms.py
segurac/richEmbeddings
3279714c4b70db09740152822951cd0359fda8c8
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys import pickle import numpy as np from scipy.io import wavfile import python_speech_features as fextract audio_filename = sys.argv[1] features_filename = sys.argv[2] rate, sig = wavfile.read(audio_filename) fbank_feat = fextract.logfbank(sig,samplerate=r...
15.769231
51
0.74878
61
410
4.901639
0.622951
0.086957
0.100334
0
0
0
0
0
0
0
0
0.011396
0.143902
410
25
52
16.4
0.840456
0.104878
0
0
0
0
0.005495
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
87a6ec55d7fc458c9d50fc876766d5e4b737fb6f
452
py
Python
urls.py
markbate/whiskerboard
fe157c1eff068c089f6948ac5cf21f5a6ff36600
[ "MIT" ]
20
2015-03-31T09:43:43.000Z
2021-06-12T23:41:28.000Z
urls.py
ametaireau/whiskerboard
b539337416069e0c794b4c3e4dfdd1afc64562cb
[ "MIT" ]
5
2015-01-19T23:07:52.000Z
2021-06-10T17:38:37.000Z
urls.py
ametaireau/whiskerboard
b539337416069e0c794b4c3e4dfdd1afc64562cb
[ "MIT" ]
6
2015-05-14T21:05:31.000Z
2018-04-07T22:40:39.000Z
from django.conf.urls.defaults import patterns, include, url from django.contrib import admin from board.feeds import EventFeed from board.views import IndexView, ServiceView admin.autodiscover() urlpatterns = patterns('', url(r'^$', IndexView.as_view(), name='index'), url(r'^services/(?P<slug>[-\w]+)$', Serv...
30.133333
79
0.692478
60
452
5.183333
0.516667
0.051447
0.064309
0
0
0
0
0
0
0
0
0
0.119469
452
14
80
32.285714
0.781407
0
0
0
0
0
0.128319
0.059735
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
87b2ac0cb62dd997f1308319e2198c8f122f2f8d
458
py
Python
tests/mock_module.py
nullpsifer/cryptosploit
e33cfca07397c05dffa734274c202acc7ff597b4
[ "MIT" ]
null
null
null
tests/mock_module.py
nullpsifer/cryptosploit
e33cfca07397c05dffa734274c202acc7ff597b4
[ "MIT" ]
null
null
null
tests/mock_module.py
nullpsifer/cryptosploit
e33cfca07397c05dffa734274c202acc7ff597b4
[ "MIT" ]
null
null
null
from modules.abstract_module import * class MockModule(AbstractModule): executed = False name = "mock_module" description = "Module for testing purposes." arguments = [ ModuleArgumentDescription("Arg1", "Argument 1", True), ModuleArgumentDescription("Arg2", "Argument 2",...
25.444444
67
0.635371
40
458
7.225
0.725
0
0
0
0
0
0
0
0
0
0
0.017751
0.262009
458
18
68
25.444444
0.837278
0
0
0
0
0
0.176471
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.583333
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
87b5a69588b76f251c9cd5a2072d8ea5e658ab2d
850
py
Python
service/server.py
IsraelAbebe/fake-news-classification
3c8c46d8e4222a5f70daea423b7a90480cb2044c
[ "MIT" ]
null
null
null
service/server.py
IsraelAbebe/fake-news-classification
3c8c46d8e4222a5f70daea423b7a90480cb2044c
[ "MIT" ]
null
null
null
service/server.py
IsraelAbebe/fake-news-classification
3c8c46d8e4222a5f70daea423b7a90480cb2044c
[ "MIT" ]
null
null
null
import grpc from concurrent import futures import time import sys sys.path.insert(0, 'service/') from service_spec import fake_news_pb2 from service_spec import fake_news_pb2_grpc import json import test class fake_news_classificationServicer(fake_news_pb2_grpc.fake_news_classificationServicer): def classify...
23.611111
109
0.787059
114
850
5.614035
0.464912
0.1125
0.085938
0.070313
0.1
0.1
0.1
0
0
0
0
0.035278
0.132941
850
35
110
24.285714
0.833107
0
0
0
0
0
0.070671
0
0
0
0
0
0
1
0.041667
false
0
0.333333
0
0.458333
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
0
0
0
0
1
0
0
0
0
1
87ca3a57df23d8770609b8c197e911f0d1988dd7
1,473
py
Python
exchanges/okex.py
soulmachine/crypto-market-data
1dbf1cfd28754a37dd054777feadc1554e1cccaf
[ "Apache-2.0" ]
null
null
null
exchanges/okex.py
soulmachine/crypto-market-data
1dbf1cfd28754a37dd054777feadc1554e1cccaf
[ "Apache-2.0" ]
null
null
null
exchanges/okex.py
soulmachine/crypto-market-data
1dbf1cfd28754a37dd054777feadc1554e1cccaf
[ "Apache-2.0" ]
null
null
null
from typing import Any, Dict, List from .utils import get_json def fetch_markets(market_type: str) -> List[Dict[str, Any]]: '''Fetch all trading markets from a crypto exchage.''' if market_type == 'future': return _fetch_future_markets() elif market_type == 'option': return _fetch_option_...
30.6875
78
0.680923
204
1,473
4.686275
0.284314
0.073222
0.080544
0.10251
0.394351
0.261506
0.261506
0.261506
0.131799
0.131799
0
0.003309
0.179226
1,473
47
79
31.340426
0.787428
0.032587
0
0.090909
0
0
0.198732
0
0
0
0
0
0
1
0.181818
false
0
0.060606
0
0.515152
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
87d835e669333bab23cb9ebd086673441ab97685
1,821
py
Python
src/issues/search_indexes.py
ofirr/OpenCommunity
7786ac2996530af8f545f4398c071793c73634c8
[ "BSD-3-Clause" ]
null
null
null
src/issues/search_indexes.py
ofirr/OpenCommunity
7786ac2996530af8f545f4398c071793c73634c8
[ "BSD-3-Clause" ]
null
null
null
src/issues/search_indexes.py
ofirr/OpenCommunity
7786ac2996530af8f545f4398c071793c73634c8
[ "BSD-3-Clause" ]
null
null
null
from haystack import indexes from issues.models import Issue, Proposal from haystack.fields import IntegerField, CharField, BooleanField, DateField, DateTimeField from datetime import date, datetime, timedelta class IssueIndex(indexes.ModelSearchIndex, indexes.Indexable): community = IntegerField(model_attr='comm...
37.163265
91
0.721032
218
1,821
5.834862
0.376147
0.070755
0.066038
0.061321
0.253145
0.253145
0.253145
0.176101
0.176101
0.176101
0
0
0.189456
1,821
48
92
37.9375
0.861789
0.107633
0
0.166667
0
0
0.122603
0
0
0
0
0
0
1
0.138889
false
0
0.111111
0.083333
0.833333
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
87e4656207a6810c62e813656c8a6d18731bd5ed
3,265
py
Python
Python/ldap/neo2open.py
ebouaziz/miscripts
9520d31adfd8cf63a06d519b0c308f07dd107b90
[ "MIT" ]
null
null
null
Python/ldap/neo2open.py
ebouaziz/miscripts
9520d31adfd8cf63a06d519b0c308f07dd107b90
[ "MIT" ]
null
null
null
Python/ldap/neo2open.py
ebouaziz/miscripts
9520d31adfd8cf63a06d519b0c308f07dd107b90
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Create/update LDAP entries from custom directory to opendirectory schema import binascii import os import re import sys cmtcre = re.compile(r'#.*$') try: filename = sys.argv[1] except IndexError: filename = os.path.join(os.path.expanduser('~'), 'Desktop', 'openldap.ldif') def get_us...
32.326733
80
0.488821
357
3,265
4.448179
0.352941
0.027708
0.020151
0.028967
0.032746
0
0
0
0
0
0
0.014811
0.358959
3,265
101
81
32.326733
0.743908
0.061562
0
0.097561
0
0
0.101113
0.006872
0
0
0
0
0
0
null
null
0
0.04878
null
null
0.060976
0
0
0
null
0
0
0
0
0
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
87e58bcf6dcfe22c279e06b2787f924dca81ae9f
429
py
Python
Practice Problem Solutions/5 - Lists/program.py
argosopentech/practical-programming-in-python
ae5aebcda6968ff327b6db3350840813d1c563ba
[ "CC0-1.0" ]
1
2021-01-17T17:29:36.000Z
2021-01-17T17:29:36.000Z
Practice Problem Solutions/5 - Lists/program.py
argosopentech/practical-programming-in-python
ae5aebcda6968ff327b6db3350840813d1c563ba
[ "CC0-1.0" ]
null
null
null
Practice Problem Solutions/5 - Lists/program.py
argosopentech/practical-programming-in-python
ae5aebcda6968ff327b6db3350840813d1c563ba
[ "CC0-1.0" ]
null
null
null
print('Grocery list:') print('"add" to add items and "view" to view list') grocery_list = [] while True: command = input('Enter command: ') if command == 'add': to_add = input('Enter new item: ') grocery_list.append(to_add) # elif stands for "else if" elif command == 'view': for ...
28.6
51
0.596737
58
429
4.310345
0.448276
0.22
0.128
0
0
0
0
0
0
0
0
0
0.265734
429
14
52
30.642857
0.793651
0.058275
0
0
0
0
0.268657
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
87f3786df52a1d8399072312a80407b63e5e8a0e
40,723
py
Python
plugin.py
uwsbel/blenderPlugin
beeab9850c4cc2ea6a3f514ce958a5a153c38f95
[ "BSD-3-Clause" ]
3
2015-08-24T20:34:33.000Z
2021-01-03T10:49:33.000Z
plugin.py
uwsbel/blenderPlugin
beeab9850c4cc2ea6a3f514ce958a5a153c38f95
[ "BSD-3-Clause" ]
null
null
null
plugin.py
uwsbel/blenderPlugin
beeab9850c4cc2ea6a3f514ce958a5a153c38f95
[ "BSD-3-Clause" ]
null
null
null
/******************************************************* * Copyright (C) 2013-2014 Daniel Kaczmarek <dankaczma@gmail.com>, Simulation Based Engineering Lab <sbel.wisc.edu> * Some rights reserved. See LICENSE * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file at the top...
44.12026
438
0.550107
4,759
40,723
4.563144
0.13112
0.015472
0.010131
0.016439
0.452339
0.397725
0.333072
0.316725
0.281912
0.247099
0
0.014632
0.311912
40,723
922
439
44.168113
0.760358
0.101122
0
0.339763
0
0.008902
0.122573
0.002092
0.001484
0
0
0.002169
0
0
null
null
0.041543
0.045994
null
null
0.025223
0
0
0
null
0
0
0
0
0
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
87f4710e0d278ffa4b65cd1fdbf57b6e8ed23f91
7,180
py
Python
ArtGAN/data/ingest_stl10.py
rh01/caffe-model-for-category-artgan
911b8fb44c62e8a2c71396099194d8925ed7c826
[ "BSD-3-Clause" ]
304
2018-07-17T00:18:54.000Z
2022-03-31T22:26:42.000Z
ArtGAN/data/ingest_stl10.py
cs-chan/Artwork-Synthesis-Classification
ad9cd090c669ca636f6c048d97608092d52dd3e0
[ "BSD-3-Clause" ]
9
2018-10-16T14:42:51.000Z
2022-01-13T11:22:02.000Z
ArtGAN/data/ingest_stl10.py
cs-chan/Artwork-Synthesis-Classification
ad9cd090c669ca636f6c048d97608092d52dd3e0
[ "BSD-3-Clause" ]
57
2018-07-19T02:38:29.000Z
2022-03-17T11:12:17.000Z
from configargparse import ArgParser from PIL import Image import logging import numpy as np import os def transform_and_save(img_arr, output_filename): """ Takes an image and optionally transforms it and then writes it out to output_filename """ img = Image.fromarray(img_arr) img.save(output_file...
38.810811
126
0.59429
1,007
7,180
4.072493
0.156902
0.048281
0.060961
0.061448
0.676664
0.625457
0.590832
0.516459
0.477445
0.427213
0
0.014917
0.262396
7,180
184
127
39.021739
0.759441
0.016713
0
0.460432
0
0
0.095699
0.006752
0
0
0
0
0
0
null
null
0
0.035971
null
null
0.028777
0
0
0
null
0
0
0
0
0
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
87f4e0add218b91c8358380aec15e53a0b7ec2cc
615
py
Python
working_example/python/hello_serverless/lambda/create.py
darko-mesaros/workshop-serverless-with-cdk
bbfd30de43d01251565c019a8ac259706bd6f1d0
[ "MIT" ]
33
2020-08-12T08:08:08.000Z
2022-03-20T20:32:18.000Z
working_example/python/hello_serverless/lambda/create.py
darko-mesaros/workshop-serverless-with-cdk
bbfd30de43d01251565c019a8ac259706bd6f1d0
[ "MIT" ]
2
2020-08-12T09:54:53.000Z
2020-08-12T13:37:22.000Z
working_example/python/hello_serverless/lambda/create.py
darko-mesaros/workshop-serverless-with-cdk
bbfd30de43d01251565c019a8ac259706bd6f1d0
[ "MIT" ]
17
2020-08-12T08:09:46.000Z
2021-07-18T19:52:50.000Z
import os import json import boto3 def handler(event, context): table = os.environ.get('table') dynamodb = boto3.client('dynamodb') item = { "name":{'S':event["queryStringParameters"]["name"]}, "location":{'S':event["queryStringParameters"]["location"]}, "age":{'S':even...
24.6
72
0.564228
59
615
5.864407
0.576271
0.052023
0.234104
0
0
0
0
0
0
0
0
0.011236
0.276423
615
24
73
25.625
0.766292
0
0
0
0
0
0.256911
0.102439
0
0
0
0
0
1
0.052632
false
0
0.157895
0
0.263158
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
87f74a05f4408addae7f347f4c814a7bd1356155
13,528
py
Python
pypeit/spectrographs/gemini_flamingos.py
ykwang1/PypeIt
a96cff699f1284905ce7ef19d06a9027cd333c63
[ "BSD-3-Clause" ]
null
null
null
pypeit/spectrographs/gemini_flamingos.py
ykwang1/PypeIt
a96cff699f1284905ce7ef19d06a9027cd333c63
[ "BSD-3-Clause" ]
null
null
null
pypeit/spectrographs/gemini_flamingos.py
ykwang1/PypeIt
a96cff699f1284905ce7ef19d06a9027cd333c63
[ "BSD-3-Clause" ]
null
null
null
""" Module for Gemini FLAMINGOS. .. include:: ../include/links.rst """ import os from pkg_resources import resource_filename from IPython import embed import numpy as np from pypeit import msgs from pypeit import telescopes from pypeit.core import framematch from pypeit.images import detector_container from pypeit....
39.325581
86
0.572664
1,458
13,528
5.214678
0.249657
0.071025
0.068394
0.017362
0.629357
0.610154
0.582796
0.582796
0.548862
0.535973
0
0.022455
0.295535
13,528
343
87
39.440233
0.775341
0.291987
0
0.476471
0
0
0.24145
0.012044
0
0
0
0.011662
0
1
0.047059
false
0
0.052941
0
0.264706
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
87f916d84fbb3ebf66d1daf924621a5103749784
1,200
py
Python
mywebsite.py
jzorrof/my_website
3e0d31e5c4d981dd2116c9f7048aa3f111815ff7
[ "Apache-2.0" ]
null
null
null
mywebsite.py
jzorrof/my_website
3e0d31e5c4d981dd2116c9f7048aa3f111815ff7
[ "Apache-2.0" ]
null
null
null
mywebsite.py
jzorrof/my_website
3e0d31e5c4d981dd2116c9f7048aa3f111815ff7
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = 'Fanzhong' from flask import Flask, render_template from boto.s3.connection import S3Connection from boto.s3.key import Key import json app = Flask(__name__) ''' This is my website index I'll create my website from now data: 2015.04.10 ''' def get_from_s3(): conn = S3Connectio...
27.906977
91
0.660833
155
1,200
4.896774
0.522581
0.073781
0.079051
0.065876
0.097497
0.097497
0
0
0
0
0
0.025237
0.2075
1,200
43
92
27.906977
0.772871
0.089167
0
0
0
0
0.159564
0.039643
0
0
0
0
0
0
null
null
0
0.133333
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
87fd884af907e9e970ccc13cfcca8085d841d1bd
1,520
py
Python
python/tlbm/wavy_channel/wavy_channel_generator.py
stu314159/HPC_Introduction_with_LBM
cbba81460513166b4814f3028807020be9b5c234
[ "MIT" ]
null
null
null
python/tlbm/wavy_channel/wavy_channel_generator.py
stu314159/HPC_Introduction_with_LBM
cbba81460513166b4814f3028807020be9b5c234
[ "MIT" ]
null
null
null
python/tlbm/wavy_channel/wavy_channel_generator.py
stu314159/HPC_Introduction_with_LBM
cbba81460513166b4814f3028807020be9b5c234
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Jul 7 08:53:18 2021 @author: sblair """ import numpy as np import scipy.integrate as integrate from scipy.optimize import fsolve import matplotlib.pyplot as plt L_hx = 30; # cm, length of the heat exchanger nX = 100; # number of points in the x-dire...
19.74026
72
0.6375
291
1,520
3.151203
0.360825
0.078517
0.032715
0.054526
0.102508
0.082879
0
0
0
0
0
0.036595
0.173026
1,520
77
73
19.74026
0.69292
0.280263
0
0
0
0
0.06797
0
0
0
0
0
0
1
0.162162
false
0
0.108108
0.135135
0.432432
0.108108
0
0
0
null
0
0
0
0
0
0
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
e2033f8cbe6a73bf5cc8da3c75dc093abcd8cd80
4,273
py
Python
opytimark/core/benchmark.py
gugarosa/opytimark
cad25623f23ce4b509d59381cf7bd79e41a966b6
[ "Apache-2.0" ]
3
2020-06-11T22:58:26.000Z
2021-03-15T20:12:29.000Z
opytimark/core/benchmark.py
gugarosa/opytimark
cad25623f23ce4b509d59381cf7bd79e41a966b6
[ "Apache-2.0" ]
1
2020-08-13T12:10:35.000Z
2020-08-17T14:30:45.000Z
opytimark/core/benchmark.py
gugarosa/opytimark
cad25623f23ce4b509d59381cf7bd79e41a966b6
[ "Apache-2.0" ]
null
null
null
"""Benchmark-based class. """ import opytimark.utils.exception as e class Benchmark: """A Benchmark class is the root of any benchmarking function. It is composed by several properties that defines the traits of a function, as well as a non-implemented __call__ method. """ def __init__(self, n...
24.699422
80
0.607302
468
4,273
5.489316
0.209402
0.042818
0.040872
0.042818
0.171662
0
0
0
0
0
0
0.00169
0.307512
4,273
172
81
24.843023
0.866509
0.327405
0
0.098592
0
0
0.098311
0
0
0
0
0
0
1
0.225352
false
0
0.014085
0
0.352113
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
e20384b81ca4f4f0e6bcef7012f54531808f1314
468
py
Python
tronx/helpers/decorators.py
beastzx18/Tron
92207b841c80311e484e8f350b96f7df8a76d3b9
[ "MIT" ]
8
2021-08-22T06:43:34.000Z
2022-02-24T17:09:49.000Z
tronx/helpers/decorators.py
beastzx18/Tron
92207b841c80311e484e8f350b96f7df8a76d3b9
[ "MIT" ]
61
2021-09-12T11:05:33.000Z
2021-12-07T15:26:18.000Z
tronx/helpers/decorators.py
beastzx18/Tron
92207b841c80311e484e8f350b96f7df8a76d3b9
[ "MIT" ]
6
2021-09-08T08:43:04.000Z
2022-02-24T17:09:50.000Z
from pyrogram.types import CallbackQuery from .variables import USER_ID from pyrogram.errors import MessageNotModified def alert_user(func): async def wrapper(_, cb: CallbackQuery): if cb.from_user and not cb.from_user.id in USER_ID: await cb.answer( f"Sorry, but you can't use this userbot ! make your o...
20.347826
86
0.728632
68
468
4.897059
0.632353
0.054054
0.06006
0
0
0
0
0
0
0
0
0
0.202991
468
22
87
21.272727
0.892761
0
0
0
0
0
0.16453
0
0
0
0
0
0
1
0.0625
false
0.0625
0.1875
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e20d9cffb20687d16b9b32885b1c7eab97057a0f
21,383
py
Python
dep/scm.py
harveyt/dep
5a52fda5ce75033c240c52fd98d3ffde99ed6617
[ "MIT" ]
null
null
null
dep/scm.py
harveyt/dep
5a52fda5ce75033c240c52fd98d3ffde99ed6617
[ "MIT" ]
null
null
null
dep/scm.py
harveyt/dep
5a52fda5ce75033c240c52fd98d3ffde99ed6617
[ "MIT" ]
null
null
null
# # Source Code Management # ====================== # # %%LICENSE%% # import os import re from dep import opts from dep.helpers import * class Repository: def __init__(self, work_dir, url, vcs, name): self.work_dir = work_dir self.url = url self.vcs = vcs self.name = name se...
38.389587
127
0.582191
2,731
21,383
4.331014
0.109484
0.034917
0.02976
0.01302
0.348664
0.229371
0.152266
0.123182
0.09579
0.076852
0
0.001997
0.297573
21,383
556
128
38.458633
0.785486
0.080531
0
0.29955
0
0.004505
0.111825
0.010907
0
0
0
0.001799
0
0
null
null
0.036036
0.009009
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
e2101c00fb0005b243b277050e3c456984d8e6cc
1,746
py
Python
companies/migrations/0003_auto_20210221_1537.py
Ins-V/wc_crm
5d75907bb48e892328712ed0b2cf96b9083239aa
[ "MIT" ]
null
null
null
companies/migrations/0003_auto_20210221_1537.py
Ins-V/wc_crm
5d75907bb48e892328712ed0b2cf96b9083239aa
[ "MIT" ]
null
null
null
companies/migrations/0003_auto_20210221_1537.py
Ins-V/wc_crm
5d75907bb48e892328712ed0b2cf96b9083239aa
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-02-21 13:37 import companies.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('companies', '0002_auto_20210221_1408'), ] operations = [ migrations.CreateModel( name='Email', ...
35.632653
132
0.563574
160
1,746
5.98125
0.43125
0.137931
0.056426
0.075235
0.428422
0.351097
0.271682
0.271682
0.271682
0.271682
0
0.034568
0.304124
1,746
48
133
36.375
0.753086
0.025773
0
0.47619
1
0
0.160683
0.013537
0
0
0
0
0
1
0
false
0
0.047619
0
0.119048
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
35589980547cf3bbd203b94d5ac8dbe125b385c2
1,096
py
Python
dask/TestNB2.py
mlkimmins/scalingpythonml
517c6d3e14ce4eb331ab0fd3b0368e0bf10d9986
[ "Apache-2.0" ]
13
2020-02-09T16:03:10.000Z
2022-03-19T14:08:16.000Z
dask/TestNB2.py
mlkimmins/scalingpythonml
517c6d3e14ce4eb331ab0fd3b0368e0bf10d9986
[ "Apache-2.0" ]
3
2020-10-31T16:20:05.000Z
2020-11-04T01:17:02.000Z
dask/TestNB2.py
mlkimmins/scalingpythonml
517c6d3e14ce4eb331ab0fd3b0368e0bf10d9986
[ "Apache-2.0" ]
4
2020-12-21T22:23:16.000Z
2022-03-29T20:25:28.000Z
#!/usr/bin/env python # coding: utf-8 # In[1]: import dask from dask_kubernetes import KubeCluster import numpy as np # In[ ]: #tag::remote_lb_deploy[] # In[2]: # Specify a remote deployment using a load blanacer, necessary for communication with notebook from cluster dask.config.set({"kubernetes.scheduler-s...
10.640777
107
0.666971
160
1,096
4.5125
0.5375
0.041551
0.038781
0.044321
0
0
0
0
0
0
0
0.041712
0.168796
1,096
102
108
10.745098
0.750823
0.364051
0
0.125
0
0
0.106129
0.049327
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
0.1875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3559247cc27efd7aa5a74724da6869a1c6747c97
1,329
py
Python
api_v1/tests/test_models.py
andela-akiura/yonder
1e7c2e113b9188b69459b2443e548d83baeb24e2
[ "MIT" ]
1
2017-09-04T11:45:32.000Z
2017-09-04T11:45:32.000Z
api_v1/tests/test_models.py
andela-akiura/pixlr
1e7c2e113b9188b69459b2443e548d83baeb24e2
[ "MIT" ]
4
2021-06-08T19:30:05.000Z
2022-03-11T23:17:41.000Z
api_v1/tests/test_models.py
andela-akiura/khali
1e7c2e113b9188b69459b2443e548d83baeb24e2
[ "MIT" ]
null
null
null
from django.test import TestCase from factories import ImageFactory, ThumbnailImageFactory, ThumbnailFilterFactory from faker import Faker from django.contrib.auth.models import User fake = Faker() class UserModelTest(TestCase): pass class ImageModelTest(TestCase): def setUp(self): self.image = Image...
27.122449
81
0.686983
150
1,329
5.94
0.306667
0.062851
0.127946
0.103255
0.426487
0.399551
0.246914
0.197531
0.107744
0
0
0.007685
0.216704
1,329
48
82
27.6875
0.848223
0
0
0.285714
0
0
0.052671
0.043642
0
0
0
0
0.171429
1
0.257143
false
0.028571
0.114286
0
0.485714
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
355ac1914c73eb19b95d9073487e7c446179f0d7
17,852
py
Python
python/calico/felix/frules.py
a0x8o/felix
fb431cc4a5482f1013bcbef89954d93551c8fec6
[ "Apache-2.0" ]
6
2016-10-18T04:04:25.000Z
2016-10-18T04:06:49.000Z
python/calico/felix/frules.py
axbaretto/felix
fb431cc4a5482f1013bcbef89954d93551c8fec6
[ "Apache-2.0" ]
1
2021-06-01T21:45:37.000Z
2021-06-01T21:45:37.000Z
python/calico/felix/frules.py
axbaretto/felix
fb431cc4a5482f1013bcbef89954d93551c8fec6
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2015-2016 Tigera, Inc. All rights reserved. # Copyright (c) 2015 Cisco Systems. 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 #...
41.906103
92
0.698969
2,502
17,852
4.831335
0.221423
0.0182
0.009927
0.005956
0.198709
0.111433
0.063865
0.046823
0.046823
0.041694
0
0.003731
0.234259
17,852
425
93
42.004706
0.880541
0.22765
0
0.145161
0
0
0.142619
0
0
0
0
0
0
0
null
null
0
0.037634
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
355af8d5ae4552973efc6c0ce81832474cc5e594
2,716
py
Python
browse.py
Thorsten-Sick/tags_for_media_ccc_de
ad1a117ea1dfc2b508d287854ba9b2f5c5a438ca
[ "MIT" ]
1
2018-01-11T15:46:56.000Z
2018-01-11T15:46:56.000Z
browse.py
Thorsten-Sick/tags_for_media_ccc_de
ad1a117ea1dfc2b508d287854ba9b2f5c5a438ca
[ "MIT" ]
1
2018-11-04T18:42:57.000Z
2018-11-18T22:14:49.000Z
browse.py
Thorsten-Sick/tags_for_media_ccc_de
ad1a117ea1dfc2b508d287854ba9b2f5c5a438ca
[ "MIT" ]
1
2018-11-24T19:17:31.000Z
2018-11-24T19:17:31.000Z
#!/usr/bin/env python3 # TODO: Write a command line tool to browser and search in the database # TODO: Define a command set to search for strings, tags, similar talks, mark talks as seen, mark talks as irrelevant, mark talks as relevant, open a browser and watch, show details, quit # https://opensource.com/article/...
32.722892
187
0.610088
305
2,716
5.337705
0.419672
0.038698
0.040541
0.018428
0.072482
0.072482
0.072482
0.072482
0.072482
0.072482
0
0.003161
0.301178
2,716
82
188
33.121951
0.854584
0.243373
0
0.041667
0
0
0.217434
0
0
0
0
0.012195
0
1
0.041667
false
0
0.125
0
0.1875
0.104167
0
0
0
null
0
0
0
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
355b54f8b2fba95e01f01d6e3b0468747cbcfa07
587
py
Python
Curso-Em-Video-Python/1Materias/08_Utilizando_Modulos/#08 - Utilizando Módulos C random.py
pedrohd21/Cursos-Feitos
b223aad83867bfa45ad161d133e33c2c200d42bd
[ "MIT" ]
null
null
null
Curso-Em-Video-Python/1Materias/08_Utilizando_Modulos/#08 - Utilizando Módulos C random.py
pedrohd21/Cursos-Feitos
b223aad83867bfa45ad161d133e33c2c200d42bd
[ "MIT" ]
null
null
null
Curso-Em-Video-Python/1Materias/08_Utilizando_Modulos/#08 - Utilizando Módulos C random.py
pedrohd21/Cursos-Feitos
b223aad83867bfa45ad161d133e33c2c200d42bd
[ "MIT" ]
null
null
null
import random # num = random.random() para numeros de 0 e 1 num = random.randint(1, 10) print(num) '''import random 'choice' n1 = str(input('Primeiro aluno: ')) n2 = str(input('Segundo aluno: ')) n3 = str(input('Terceiro aluno: ')) n4 = str(input('Quarto aluno: ')) lista = [n1, n2, n3, n4] escolha = random.choice(lis...
24.458333
45
0.645656
88
587
4.306818
0.363636
0.168865
0.137203
0.079156
0.094987
0.094987
0
0
0
0
0
0.042084
0.149915
587
24
46
24.458333
0.717435
0.073254
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
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
355d9f89110de4ad691f2cde310c459a0094cdbf
1,520
py
Python
help.py
TarikCinar/python-sesli-asistan
1a29a8d3081b67ff352cf03f7b01ac01b7118deb
[ "MIT" ]
1
2021-05-28T17:27:50.000Z
2021-05-28T17:27:50.000Z
help.py
TarikCinar/python-sesli-asistan
1a29a8d3081b67ff352cf03f7b01ac01b7118deb
[ "MIT" ]
null
null
null
help.py
TarikCinar/python-sesli-asistan
1a29a8d3081b67ff352cf03f7b01ac01b7118deb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'help.ui' # # Created by: PyQt5 UI code generator 5.13.0 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Form(object): def setupUi(self, Form): Form.setObjectName("F...
31.666667
122
0.675
185
1,520
5.475676
0.518919
0.103653
0.029615
0.033564
0.041461
0
0
0
0
0
0
0.063209
0.188158
1,520
47
123
32.340426
0.757699
0.117105
0
0
1
0.03125
0.138577
0.020225
0
0
0
0
0
1
0.0625
false
0
0.0625
0
0.15625
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
35665e1b39e67d688ac135c0ce7cb34d35d57e66
1,223
py
Python
homeassistant/components/launch_library/diagnostics.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
homeassistant/components/launch_library/diagnostics.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
24,710
2016-04-13T08:27:26.000Z
2020-03-02T12:59:13.000Z
homeassistant/components/launch_library/diagnostics.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""Diagnostics support for Launch Library.""" from __future__ import annotations from typing import Any from pylaunches.objects.event import Event from pylaunches.objects.launch import Launch from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers....
29.829268
77
0.72036
133
1,223
6.428571
0.383459
0.070175
0.080702
0.094737
0.160234
0.11462
0.11462
0
0
0
0
0.001016
0.195421
1,223
40
78
30.575
0.867886
0.031889
0
0.068966
0
0
0.07672
0
0
0
0
0
0
1
0.034483
false
0
0.310345
0
0.482759
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
3567e722e33bfee718b3bdecb716ef40a5ef9cda
2,894
py
Python
py_tests/test_vision_pipeline_manager.py
machine2learn/mlpiot.base
da0b77fccbb0e42d1ddbb6dbc490313433dc7575
[ "Apache-2.0" ]
1
2021-03-30T20:49:54.000Z
2021-03-30T20:49:54.000Z
py_tests/test_vision_pipeline_manager.py
machine2learn/mlpiot.base
da0b77fccbb0e42d1ddbb6dbc490313433dc7575
[ "Apache-2.0" ]
null
null
null
py_tests/test_vision_pipeline_manager.py
machine2learn/mlpiot.base
da0b77fccbb0e42d1ddbb6dbc490313433dc7575
[ "Apache-2.0" ]
null
null
null
"""Tests for mlpiot.base.vision_pipeline_manager""" import unittest from mlpiot.base.action_executor import ActionExecutor from mlpiot.base.event_extractor import EventExtractor from mlpiot.base.scene_descriptor import SceneDescriptor from mlpiot.base.trainer import Trainer from mlpiot.base.vision_pipeline_manager im...
29.232323
75
0.717346
295
2,894
6.718644
0.277966
0.077699
0.074168
0.048436
0.186176
0.120081
0.082745
0.082745
0
0
0
0.003112
0.222875
2,894
98
76
29.530612
0.878168
0.054941
0
0.242424
0
0
0.018018
0
0
0
0
0
0
1
0.19697
false
0.181818
0.121212
0
0.393939
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
357adb90337719d5723ab2cf058c01616c052b6e
806
py
Python
course/views.py
author31/HongsBlog
a94dc56a05062b5b2bab3f28f84b7ede1ae44bf8
[ "MIT" ]
null
null
null
course/views.py
author31/HongsBlog
a94dc56a05062b5b2bab3f28f84b7ede1ae44bf8
[ "MIT" ]
null
null
null
course/views.py
author31/HongsBlog
a94dc56a05062b5b2bab3f28f84b7ede1ae44bf8
[ "MIT" ]
null
null
null
from typing import List from django.shortcuts import render from django.views.generic.detail import DetailView from django.views.generic.list import ListView from assignment.models import Assignment from course.models import Course class CourseListView(ListView): template_name = 'course/course_list.html' model...
29.851852
76
0.729529
100
806
5.74
0.37
0.069686
0.052265
0.076655
0.132404
0.132404
0.132404
0
0
0
0
0
0.168734
806
26
77
31
0.856716
0
0
0.2
0
0
0.089441
0.059627
0
0
0
0
0
1
0.1
false
0
0.3
0
0.9
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
357cffec267dd0668f1c68a283ee49efc4b0ead9
3,077
py
Python
datastructures/binarytree.py
tkaleas/python-sandbox
37ebe92c5f89300e27803118259d16f62d67f612
[ "MIT" ]
null
null
null
datastructures/binarytree.py
tkaleas/python-sandbox
37ebe92c5f89300e27803118259d16f62d67f612
[ "MIT" ]
null
null
null
datastructures/binarytree.py
tkaleas/python-sandbox
37ebe92c5f89300e27803118259d16f62d67f612
[ "MIT" ]
null
null
null
class Node(object): def __init__(self, value): self.value = value self.left = None self.right = None #Binary Tree class BinaryTree(object): def __init__(self, root): self.root = Node(root) def search(self, find_val): """Return True if the value is in the tre...
32.734043
118
0.577836
371
3,077
4.636119
0.150943
0.056977
0.059302
0.060465
0.678488
0.582558
0.543605
0.447674
0.426163
0.426163
0
0.00097
0.329867
3,077
94
119
32.734043
0.833172
0.139747
0
0.546875
0
0
0.000786
0
0
0
0
0
0
1
0.203125
false
0
0
0.015625
0.46875
0.15625
0
0
0
null
0
0
0
0
0
0
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
357d8ee4029bbe48236c823d9888079f0ce3ef3f
4,203
py
Python
cs15211/StoneGame.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2021-07-05T01:53:30.000Z
2021-07-05T01:53:30.000Z
cs15211/StoneGame.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
null
null
null
cs15211/StoneGame.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2018-01-08T07:14:08.000Z
2018-01-08T07:14:08.000Z
__source__ = 'https://leetcode.com/problems/stone-game/' # Time: O() # Space: O() # # Description: Leetcode # 877. Stone Game # # Alex and Lee play a game with piles of stones. # There are an even number of piles arranged in a row, # and each pile has a positive integer number of stones piles[i]. # # The objective of ...
28.02
103
0.524863
604
4,203
3.629139
0.288079
0.015055
0.010949
0.013686
0.208942
0.169252
0.130018
0.110401
0.068431
0.068431
0
0.033781
0.344992
4,203
149
104
28.208054
0.762441
0.306448
0
0.229885
0
0.045977
0.745021
0
0
0
0
0
0.011494
1
0.034483
false
0
0.011494
0
0.137931
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3580b7cb753fcaa31d0c440e5b6586620bfd111a
745
py
Python
assignment_solutions/6/is_all_upper.py
dannymeijer/level-up-with-python
1bd1169aafd0fdc124984c30edc7f0153626cf06
[ "MIT" ]
null
null
null
assignment_solutions/6/is_all_upper.py
dannymeijer/level-up-with-python
1bd1169aafd0fdc124984c30edc7f0153626cf06
[ "MIT" ]
null
null
null
assignment_solutions/6/is_all_upper.py
dannymeijer/level-up-with-python
1bd1169aafd0fdc124984c30edc7f0153626cf06
[ "MIT" ]
null
null
null
import re only_letters = re.compile("[a-zA-Z]") def is_all_upper(text: str) -> bool: # check if text has actual content has_no_content = len(only_letters.findall(text)) == 0 return False if has_no_content else text.upper() == text if __name__ == '__main__': print("Example:") print(is_all_upper(...
29.8
76
0.689933
119
745
4.067227
0.462185
0.165289
0.165289
0.198347
0.336777
0.210744
0.210744
0.142562
0.142562
0.142562
0
0.0067
0.198658
745
24
77
31.041667
0.80402
0.138255
0
0.133333
0
0
0.203443
0
0
0
0
0
0.4
1
0.066667
false
0
0.066667
0
0.2
0.2
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
3589c234fc1a0fe7e6d360402ae2ceaf2a97c3d8
726
py
Python
django_analyses/filters/output/output_definition.py
TheLabbingProject/django_analyses
08cac40a32754a265b37524f08ec6160c69ebea8
[ "Apache-2.0" ]
1
2020-12-30T12:43:34.000Z
2020-12-30T12:43:34.000Z
django_analyses/filters/output/output_definition.py
TheLabbingProject/django_analyses
08cac40a32754a265b37524f08ec6160c69ebea8
[ "Apache-2.0" ]
59
2019-12-25T13:14:56.000Z
2021-07-22T12:24:46.000Z
django_analyses/filters/output/output_definition.py
TheLabbingProject/django_analyses
08cac40a32754a265b37524f08ec6160c69ebea8
[ "Apache-2.0" ]
2
2020-05-24T06:44:27.000Z
2020-07-09T15:47:31.000Z
""" Definition of an :class:`~django_analyses.filters.output.output_definition.OutputDefinitionFilter` for the :class:`~django_analyses.models.output.definitions.OutputDefinition` model. """ from django_analyses.models.output.definitions.output_definition import \ OutputDefinition from django_filters import rest_f...
27.923077
90
0.774105
73
726
7.534247
0.424658
0.101818
0.103636
0.141818
0.3
0.3
0.3
0.174545
0
0
0
0
0.136364
726
25
91
29.04
0.877193
0.438017
0
0
0
0
0.106383
0
0
0
0
0
0
1
0
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
358ee60cb29f177fb65f6050d60d87a71d7179ec
4,801
py
Python
parser.py
PouletFreak/mailparser
6877b879cbaaccb5e00491726ead740a42922ae3
[ "MIT" ]
1
2019-07-02T02:05:07.000Z
2019-07-02T02:05:07.000Z
parser.py
PouletFreak/mailparser
6877b879cbaaccb5e00491726ead740a42922ae3
[ "MIT" ]
null
null
null
parser.py
PouletFreak/mailparser
6877b879cbaaccb5e00491726ead740a42922ae3
[ "MIT" ]
null
null
null
import email, json, os, re import magic import ssdeep import hashlib import datetime def md5(fname): hash_md5 = hashlib.md5() with open(fname, "rb") as f: for chunk in iter(lambda: f.read(4096), b""): hash_md5.update(chunk) return hash_md5.hexdigest() def sha1(fname): hash_sha1 = ...
32.006667
112
0.587378
585
4,801
4.623932
0.230769
0.065065
0.031423
0.022181
0.182255
0.182255
0.111645
0.111645
0.111645
0.111645
0
0.036526
0.275776
4,801
150
113
32.006667
0.741444
0.016455
0
0.103448
0
0
0.100216
0.013203
0
0
0
0.006667
0
0
null
null
0.008621
0.043103
null
null
0.017241
0
0
0
null
0
0
0
0
0
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
358f891b1298dda3ec2ff6f47a9bf5842305d9ac
5,937
py
Python
analysis_vis/scripts/CovarEpi.py
arubenstein/deep_seq
96c2bc131dc3bd3afb05486bfbc6f7297c57e604
[ "BSD-2-Clause" ]
null
null
null
analysis_vis/scripts/CovarEpi.py
arubenstein/deep_seq
96c2bc131dc3bd3afb05486bfbc6f7297c57e604
[ "BSD-2-Clause" ]
null
null
null
analysis_vis/scripts/CovarEpi.py
arubenstein/deep_seq
96c2bc131dc3bd3afb05486bfbc6f7297c57e604
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python """Create edges and nodes from a list of sequences that are a given hamming distance apart""" import itertools import sys import operator import numpy as np import argparse from general_seq import conv from general_seq import seq_IO from plot import conv as pconv import matplotlib.pyplot as plt i...
36.648148
243
0.640391
926
5,937
3.993521
0.291577
0.004868
0.011898
0.020552
0.173607
0.156842
0.083288
0.066522
0.048134
0.048134
0
0.046845
0.223345
5,937
161
244
36.875776
0.755151
0.056763
0
0.019802
0
0
0.051395
0
0
0
0
0
0
0
null
null
0
0.108911
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
3598073bb8b0c52a37225a3d3dc812d2999277d1
20,289
py
Python
backend/hqlib/domain/measurement/metric.py
ICTU/quality-report
f6234e112228ee7cfe6476c2d709fe244579bcfe
[ "Apache-2.0" ]
25
2016-11-25T10:41:24.000Z
2021-07-03T14:02:49.000Z
backend/hqlib/domain/measurement/metric.py
ICTU/quality-report
f6234e112228ee7cfe6476c2d709fe244579bcfe
[ "Apache-2.0" ]
783
2016-09-19T12:10:21.000Z
2021-01-04T20:39:15.000Z
backend/hqlib/domain/measurement/metric.py
ICTU/quality-report
f6234e112228ee7cfe6476c2d709fe244579bcfe
[ "Apache-2.0" ]
15
2015-03-25T13:52:49.000Z
2021-03-08T17:17:56.000Z
""" Copyright 2012-2019 Ministerie van Sociale Zaken en Werkgelegenheid Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable...
48.078199
119
0.642368
2,615
20,289
4.74761
0.153346
0.045429
0.028353
0.013532
0.244865
0.172614
0.115505
0.094241
0.069352
0.054531
0
0.004855
0.258958
20,289
421
120
48.192399
0.820885
0.239785
0
0.074205
0
0.024735
0.069112
0.012717
0
0
0
0
0
1
0.190813
false
0
0.042403
0.003534
0.515901
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
35981b6b41348f376489c82ca46f8c08bcc7ebf0
3,564
py
Python
examples/decrypt.py
joke325/Pyrop
79669e3a3362180a239cd496513a60007a914e22
[ "BSD-2-Clause" ]
null
null
null
examples/decrypt.py
joke325/Pyrop
79669e3a3362180a239cd496513a60007a914e22
[ "BSD-2-Clause" ]
null
null
null
examples/decrypt.py
joke325/Pyrop
79669e3a3362180a239cd496513a60007a914e22
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2020 Janky <box@janky.tech> # All right reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # ...
36.742268
100
0.672559
463
3,564
5.103672
0.466523
0.015235
0.017774
0.019467
0.077867
0.057554
0.057554
0.057554
0.057554
0.057554
0
0.002635
0.254489
3,564
96
101
37.125
0.886714
0.518519
0
0.23913
0
0
0.108269
0
0
0
0
0
0
1
0.065217
false
0.108696
0.043478
0
0.173913
0.065217
0
0
0
null
0
0
0
0
0
0
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
359a485e3ad209d745beb2991ca78d9f951ff276
1,023
py
Python
src/jomiel_kore/version.py
guendto/jomiel-kore
7bbb7193baed13d7bb7baacd6cf63b28f5ddf6ac
[ "Apache-2.0" ]
null
null
null
src/jomiel_kore/version.py
guendto/jomiel-kore
7bbb7193baed13d7bb7baacd6cf63b28f5ddf6ac
[ "Apache-2.0" ]
null
null
null
src/jomiel_kore/version.py
guendto/jomiel-kore
7bbb7193baed13d7bb7baacd6cf63b28f5ddf6ac
[ "Apache-2.0" ]
null
null
null
# # jomiel-kore # # Copyright # 2019-2020 Toni Gündoğdu # # # SPDX-License-Identifier: Apache-2.0 # """TODO.""" try: # py38+ from importlib.metadata import version as metadata_version from importlib.metadata import PackageNotFoundError except ModuleNotFoundError: from importlib_metadata import version as...
22.733333
67
0.675464
115
1,023
5.895652
0.486957
0.097345
0.123894
0.159292
0.289086
0.289086
0.289086
0.289086
0.289086
0.289086
0
0.02046
0.235582
1,023
44
68
23.25
0.846547
0.282502
0
0.111111
0
0
0.057554
0
0
0
0
0.022727
0
1
0.055556
false
0
0.277778
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
35a50fd2c3fd502485183ee67073c6d3b767aa38
14,065
py
Python
secfs/fs.py
quinnmagendanz/vFileSystem
9a3c4b1d27a6325325a4f048f6a8fe93e5d871bf
[ "MIT" ]
null
null
null
secfs/fs.py
quinnmagendanz/vFileSystem
9a3c4b1d27a6325325a4f048f6a8fe93e5d871bf
[ "MIT" ]
null
null
null
secfs/fs.py
quinnmagendanz/vFileSystem
9a3c4b1d27a6325325a4f048f6a8fe93e5d871bf
[ "MIT" ]
null
null
null
# This file implements file system operations at the level of inodes. import time import secfs.crypto import secfs.tables import secfs.access import secfs.store.tree import secfs.store.block from secfs.store.inode import Inode from secfs.store.tree import Directory from cryptography.fernet import Fernet from secfs.typ...
40.650289
140
0.664842
2,231
14,065
4.045271
0.115195
0.047313
0.029917
0.037895
0.531856
0.488753
0.476565
0.441108
0.403435
0.379612
0
0.003118
0.224671
14,065
345
141
40.768116
0.824484
0.213082
0
0.363208
0
0
0.136444
0
0
0
0
0.014493
0.018868
1
0.056604
false
0
0.051887
0
0.165094
0.023585
0
0
0
null
0
0
0
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
35a90fa7fe750428ce519a6161eec0ec07750701
4,463
py
Python
recognize.py
aerdem4/rock-paper-scissors
0e520aa53d8cb146a8ab4f5fd1ebd823ffed3a4b
[ "MIT" ]
null
null
null
recognize.py
aerdem4/rock-paper-scissors
0e520aa53d8cb146a8ab4f5fd1ebd823ffed3a4b
[ "MIT" ]
1
2020-03-02T13:26:05.000Z
2020-03-02T13:26:05.000Z
recognize.py
aerdem4/rock-paper-scissors
0e520aa53d8cb146a8ab4f5fd1ebd823ffed3a4b
[ "MIT" ]
null
null
null
import cv2 import numpy as np from keras.models import load_model bg = None def run_avg(image, acc_weight): global bg if bg is None: bg = image.copy().astype("float") return cv2.accumulateWeighted(image, bg, acc_weight) def segment(image, threshold=10): global bg diff = cv2.absdif...
33.556391
118
0.561058
547
4,463
4.510055
0.374771
0.014187
0.017025
0.021889
0.11512
0.087556
0.087556
0.064856
0.035671
0.035671
0
0.037999
0.292404
4,463
132
119
33.810606
0.743192
0.223168
0
0.053333
0
0
0.04449
0
0
0
0.001163
0
0
0
null
null
0
0.04
null
null
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
1
0
0
0
0
0
0
0
0
1
35b02597463fbb5f50f5b66d1352a253be0edf70
4,708
py
Python
loggerBot.py
jskrist/channelLogger
42d5820d29ce9213c823d76dbdc748e288f45eb8
[ "MIT" ]
null
null
null
loggerBot.py
jskrist/channelLogger
42d5820d29ce9213c823d76dbdc748e288f45eb8
[ "MIT" ]
null
null
null
loggerBot.py
jskrist/channelLogger
42d5820d29ce9213c823d76dbdc748e288f45eb8
[ "MIT" ]
null
null
null
import asyncio, discord, json from discord.ext.commands import Bot from discord.ext import commands from tinydb import TinyDB, Query from tinydb.operations import delete, increment ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SETUP - - - - - - - - - - - - - - - - - - - - - - - - - - - - -...
37.664
105
0.647409
644
4,708
4.708075
0.335404
0.043536
0.023087
0.034631
0.139842
0.139842
0.119393
0.07124
0.031662
0.031662
0
0.004271
0.204333
4,708
124
106
37.967742
0.805125
0.347281
0
0.18
0
0
0.070961
0
0
0
0
0
0
1
0.02
false
0.1
0.1
0
0.14
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
35b754ce093c02acd53d79d1aafbde7ead2584ed
2,221
py
Python
src/refactor/parallel.py
luislorenzom/b33th0v3n
cf2665a51ed6779093c273cf9d7c404dd9222493
[ "MIT" ]
null
null
null
src/refactor/parallel.py
luislorenzom/b33th0v3n
cf2665a51ed6779093c273cf9d7c404dd9222493
[ "MIT" ]
null
null
null
src/refactor/parallel.py
luislorenzom/b33th0v3n
cf2665a51ed6779093c273cf9d7c404dd9222493
[ "MIT" ]
null
null
null
from types import FunctionType import numpy as np import pandas as pd from functools import partial from multiprocessing import Pool, cpu_count def get_levenshtein_distance(str1: str, str2: str) -> float: """ Computes the Levenshtein distance between two strings :param str1: first string :param str...
30.013514
123
0.594327
317
2,221
4.078864
0.315457
0.048724
0.030936
0.027842
0.102862
0.064192
0.053364
0.047951
0.047951
0.047951
0
0.020833
0.30842
2,221
73
124
30.424658
0.820964
0.310671
0
0.205128
0
0
0.006246
0
0
0
0
0.013699
0
1
0.076923
false
0
0.128205
0
0.282051
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
35beb2659c3525943e08592cd4e9ebc8b9fd9ed7
2,239
py
Python
algolab_class_API/migrations/0011_auto_20190110_1307.py
KMU-algolab/algolab_class
fdf22cd10d5af71eae63e259c4f88f2b55b44ec7
[ "MIT" ]
1
2019-01-10T05:46:09.000Z
2019-01-10T05:46:09.000Z
algolab_class_API/migrations/0011_auto_20190110_1307.py
KMU-algolab/algolab_class
fdf22cd10d5af71eae63e259c4f88f2b55b44ec7
[ "MIT" ]
7
2018-12-25T15:59:49.000Z
2019-01-10T05:45:25.000Z
algolab_class_API/migrations/0011_auto_20190110_1307.py
KMU-algolab/algolab_class
fdf22cd10d5af71eae63e259c4f88f2b55b44ec7
[ "MIT" ]
null
null
null
# Generated by Django 2.1.4 on 2019-01-10 04:07 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('algolab_class_API', '0010_submithistory'), ] operations = [ migrations.Rem...
38.603448
305
0.604734
219
2,239
5.995434
0.415525
0.061691
0.083778
0.09901
0.309216
0.275704
0.275704
0.130998
0.130998
0.130998
0
0.013781
0.254578
2,239
57
306
39.280702
0.772918
0.020098
0
0.607843
1
0
0.220803
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.117647
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
35c0bcc2adb3ea68d0b4f4ffb1f220f03d52c1be
724
py
Python
var/spack/repos/builtin/packages/liblzf/package.py
BenWibking/spack
49b3b43a4a9375210b578635d9240875a5f3106b
[ "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/liblzf/package.py
BenWibking/spack
49b3b43a4a9375210b578635d9240875a5f3106b
[ "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/liblzf/package.py
joequant/spack
e028ee0d5903045e1cdeb57550cbff61f2ffb2fa
[ "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) from spack import * class Liblzf(AutotoolsPackage): """LibLZF is a very small data compression library. It cons...
36.2
93
0.740331
100
724
5.36
0.78
0.022388
0
0
0
0
0
0
0
0
0
0.086235
0.167127
724
19
94
38.105263
0.802653
0.577348
0
0
0
0
0.547368
0.224561
0
0
0
0
0
1
0
false
0
0.2
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
35cc8dce8cfa78125ee76beb2078c100cbc1294f
672
py
Python
apps/bloguser/migrations/0003_auto_20180505_1717.py
dryprojects/MyBlog
ec04ba2bc658e96cddeb1d4766047ca8e89ff656
[ "BSD-3-Clause" ]
2
2021-08-17T13:29:21.000Z
2021-09-04T05:00:01.000Z
apps/bloguser/migrations/0003_auto_20180505_1717.py
dryprojects/MyBlog
ec04ba2bc658e96cddeb1d4766047ca8e89ff656
[ "BSD-3-Clause" ]
1
2020-07-16T11:22:32.000Z
2020-07-16T11:22:32.000Z
apps/bloguser/migrations/0003_auto_20180505_1717.py
dryprojects/MyBlog
ec04ba2bc658e96cddeb1d4766047ca8e89ff656
[ "BSD-3-Clause" ]
1
2020-09-18T10:41:59.000Z
2020-09-18T10:41:59.000Z
# Generated by Django 2.0.3 on 2018-05-05 17:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bloguser', '0002_auto_20180504_1808'), ] operations = [ migrations.AddField( model_name='userprofile', name='image_u...
28
135
0.610119
72
672
5.555556
0.694444
0.045
0.1
0.12
0.145
0
0
0
0
0
0
0.068136
0.25744
672
23
136
29.217391
0.733467
0.066964
0
0.235294
1
0
0.1888
0.0704
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
35d5e04e5892b72fc7057d291530a91e4883bc62
1,127
py
Python
app/user/serializers.py
falleng0d/medicar-backend
30bedff54ae84da7a67350852cd508c54e5bf6e7
[ "MIT" ]
null
null
null
app/user/serializers.py
falleng0d/medicar-backend
30bedff54ae84da7a67350852cd508c54e5bf6e7
[ "MIT" ]
null
null
null
app/user/serializers.py
falleng0d/medicar-backend
30bedff54ae84da7a67350852cd508c54e5bf6e7
[ "MIT" ]
null
null
null
from collections import OrderedDict from django.contrib.auth import get_user_model # If used custom user model from rest_framework import serializers UserModel = get_user_model() class UserSerializer(serializers.ModelSerializer): password = serializers.CharField(write_only=True) def create(self, validated...
34.151515
87
0.645075
125
1,127
5.656
0.424
0.076379
0.059406
0
0
0
0
0
0
0
0
0.001193
0.256433
1,127
32
88
35.21875
0.842482
0.022183
0
0
0
0
0.071818
0
0
0
0
0
0
1
0.083333
false
0.125
0.125
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
35da15160bebb0c093e96b03a913df011244fd8f
831
py
Python
model_zoo/jag_utils/python/build_inclusive_from_exclusive.py
jonesholger/lbann
3214f189a1438565d695542e076c4fa8e7332d34
[ "Apache-2.0" ]
194
2016-07-19T15:40:21.000Z
2022-03-19T08:06:10.000Z
model_zoo/jag_utils/python/build_inclusive_from_exclusive.py
jonesholger/lbann
3214f189a1438565d695542e076c4fa8e7332d34
[ "Apache-2.0" ]
1,021
2016-07-19T12:56:31.000Z
2022-03-29T00:41:47.000Z
model_zoo/jag_utils/python/build_inclusive_from_exclusive.py
jonesholger/lbann
3214f189a1438565d695542e076c4fa8e7332d34
[ "Apache-2.0" ]
74
2016-07-28T18:24:00.000Z
2022-01-24T19:41:04.000Z
import sys if len(sys.argv) != 4 : print 'usage:', sys.argv[0], 'index_fn id_mapping_fn output_fn' exit(9) a = open(sys.argv[1]) a.readline() header = a.readline() dir = a.readline() #build map: filename -> set of bad samples mp = {} mp_good = {} mp_bad = {} for line in a : t = line.split() mp[t[0]] = set() ...
17.680851
65
0.56438
154
831
2.967532
0.331169
0.105033
0.07221
0.052516
0.087527
0.087527
0.087527
0
0
0
0
0.028125
0.229844
831
46
66
18.065217
0.685938
0.049338
0
0.105263
0
0
0.105196
0.030418
0
0
0
0
0
0
null
null
0
0.026316
null
null
0.078947
0
0
0
null
0
0
0
0
0
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
ea008637c73dda8e84514900695de29b3ed914c6
14,069
py
Python
animation_retarget/animation_retarget_mh.py
curmil/makehuman-utils
1e1a56479bc1deac613802e891abf440cbeb342e
[ "CC0-1.0" ]
3
2018-04-16T15:14:54.000Z
2021-08-11T16:00:58.000Z
animation_retarget/animation_retarget_mh.py
curmil/makehuman-utils
1e1a56479bc1deac613802e891abf440cbeb342e
[ "CC0-1.0" ]
1
2020-10-29T07:53:51.000Z
2020-10-29T07:53:51.000Z
animation_retarget/animation_retarget_mh.py
curmil/makehuman-utils
1e1a56479bc1deac613802e891abf440cbeb342e
[ "CC0-1.0" ]
5
2019-08-09T15:21:50.000Z
2022-02-21T14:02:45.000Z
#!/usr/bin/python """ **Project Name:** MakeHuman **Product Home Page:** http://www.makehuman.org/ **Code Home Page:** https://bitbucket.org/MakeHuman/makehuman/ **Author:** Jonas Hauquier, Thomas Larsson **Copyright(c):** MakeHuman Team 2001-2015 **Licensing:** AGPL3 This program...
36.074359
157
0.665435
2,055
14,069
4.338686
0.186861
0.018057
0.016151
0.006729
0.212539
0.162517
0.102176
0.068192
0.068192
0.061687
0
0.00438
0.253536
14,069
389
158
36.167095
0.844601
0.359372
0
0.186529
0
0.010363
0.063282
0
0
0
0
0.010283
0
1
0.139896
false
0.005181
0.015544
0.015544
0.238342
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
1
0
0
0
0
0
0
0
0
0
0
1
ea030c574075dd05328271b1ccc630cdf7f9c443
1,303
py
Python
solum-6.0.0/solum/objects/sqlalchemy/execution.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
39
2015-09-26T01:30:52.000Z
2021-05-20T23:37:43.000Z
solum-6.0.0/solum/objects/sqlalchemy/execution.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
5
2019-08-14T06:46:03.000Z
2021-12-13T20:01:25.000Z
solum-6.0.0/solum/objects/sqlalchemy/execution.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
30
2015-10-25T18:06:39.000Z
2020-01-14T12:14:06.000Z
# Copyright 2014 - Rackspace Hosting # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
33.410256
75
0.744436
179
1,303
5.318436
0.581006
0.063025
0.031513
0.033613
0.039916
0
0
0
0
0
0
0.009225
0.168074
1,303
38
76
34.289474
0.869004
0.492709
0
0
0
0
0.047022
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0.071429
0.928571
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
ea0e70ed7f48b9ea77840bcc6953a91b092a58f3
1,166
py
Python
src/bpp/migrations/0232_auto_20210101_1751.py
iplweb/django-bpp
85f183a99d8d5027ae4772efac1e4a9f21675849
[ "BSD-3-Clause" ]
1
2017-04-27T19:50:02.000Z
2017-04-27T19:50:02.000Z
src/bpp/migrations/0232_auto_20210101_1751.py
mpasternak/django-bpp
434338821d5ad1aaee598f6327151aba0af66f5e
[ "BSD-3-Clause" ]
41
2019-11-07T00:07:02.000Z
2022-02-27T22:09:39.000Z
src/bpp/migrations/0232_auto_20210101_1751.py
iplweb/bpp
f027415cc3faf1ca79082bf7bacd4be35b1a6fdf
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.0.11 on 2021-01-01 16:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("bpp", "0231_ukryj_status_korekty"), ] operations = [ migrations.AlterField( model_name="autor", name="pseudonim", ...
36.4375
297
0.608919
123
1,166
5.691057
0.772358
0.057143
0.071429
0.082857
0
0
0
0
0
0
0
0.028786
0.314751
1,166
31
298
37.612903
0.847309
0.039451
0
0.24
1
0.08
0.447227
0.049195
0
0
0
0
0
1
0
false
0
0.04
0
0.16
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
ea1590334af24435c30185a2cb73b1bcb47990a6
12,795
py
Python
telestream_cloud_qc_sdk/test/test_video_config.py
pandastream/telestream-cloud-python-sdk
ce0ad503299661a0f622661359367173c06889fc
[ "MIT" ]
null
null
null
telestream_cloud_qc_sdk/test/test_video_config.py
pandastream/telestream-cloud-python-sdk
ce0ad503299661a0f622661359367173c06889fc
[ "MIT" ]
2
2016-07-06T14:13:31.000Z
2018-03-07T12:54:58.000Z
telestream_cloud_qc_sdk/test/test_video_config.py
Telestream/telestream-cloud-python-sdk
ce0ad503299661a0f622661359367173c06889fc
[ "MIT" ]
null
null
null
# coding: utf-8 """ Qc API Qc API # noqa: E501 The version of the OpenAPI document: 3.0.0 Contact: cloudsupport@telestream.net Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import telestream_cloud_qc from telestream_cl...
47.040441
132
0.511059
1,220
12,795
4.902459
0.156557
0.020732
0.08527
0.107674
0.533188
0.40729
0.321853
0.250293
0.219863
0.194115
0
0.028845
0.428292
12,795
271
133
47.214022
0.78879
0.03517
0
0.483471
1
0
0.027481
0.002609
0
0
0
0
0
1
0.016529
false
0.016529
0.024793
0
0.053719
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
ea1c12db4d5af227141198911161b74bbd00e24e
1,271
py
Python
.tox/scenario/lib/python2.7/site-packages/oslo_middleware/__init__.py
bdrich/neutron-lbaas
b4711abfe0207c4fdd5d7fb7ecbf017e753abbfd
[ "Apache-2.0" ]
null
null
null
.tox/scenario/lib/python2.7/site-packages/oslo_middleware/__init__.py
bdrich/neutron-lbaas
b4711abfe0207c4fdd5d7fb7ecbf017e753abbfd
[ "Apache-2.0" ]
null
null
null
.tox/scenario/lib/python2.7/site-packages/oslo_middleware/__init__.py
bdrich/neutron-lbaas
b4711abfe0207c4fdd5d7fb7ecbf017e753abbfd
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # d...
39.71875
78
0.739575
156
1,271
5.903846
0.525641
0.078176
0.175896
0.034745
0
0
0
0
0
0
0
0.003949
0.20299
1,271
31
79
41
0.905232
0.429583
0
0
0
0
0.14507
0.030986
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ea2cea171e2a0a408098703594d6df6015c2788a
333
py
Python
python/primes.py
matheuskiser/pdx_code_guild
49a5c62fb468253eb4d9a1fb11166df79bb10873
[ "MIT" ]
null
null
null
python/primes.py
matheuskiser/pdx_code_guild
49a5c62fb468253eb4d9a1fb11166df79bb10873
[ "MIT" ]
null
null
null
python/primes.py
matheuskiser/pdx_code_guild
49a5c62fb468253eb4d9a1fb11166df79bb10873
[ "MIT" ]
null
null
null
""" User picks number n and program returns all prime number from 0 until n. """ def is_prime(num): for i in range(2, num): if (num % i) == 0: return False return True number_picked = int(raw_input("Pick a number: ")) print 2 for i in range(3, number_picked, 2): if is_prime(i): ...
17.526316
72
0.600601
56
333
3.482143
0.571429
0.071795
0.061538
0.112821
0
0
0
0
0
0
0
0.025316
0.288288
333
19
73
17.526316
0.797468
0
0
0
0
0
0.059055
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ea319b174e521eedd1eb8788136bfce6b273b847
1,982
py
Python
test_autogalaxy/util/test_error_util.py
caoxiaoyue/PyAutoGalaxy
ad2b4b27404f5bf0f65ba9a0cd7c3ee6570e2d05
[ "MIT" ]
7
2021-05-29T08:46:29.000Z
2022-01-23T14:06:20.000Z
test_autogalaxy/util/test_error_util.py
caoxiaoyue/PyAutoGalaxy
ad2b4b27404f5bf0f65ba9a0cd7c3ee6570e2d05
[ "MIT" ]
3
2021-01-06T09:42:44.000Z
2022-03-10T15:52:23.000Z
test_autogalaxy/util/test_error_util.py
caoxiaoyue/PyAutoGalaxy
ad2b4b27404f5bf0f65ba9a0cd7c3ee6570e2d05
[ "MIT" ]
3
2021-02-10T07:45:16.000Z
2022-01-21T17:36:40.000Z
from autofit.non_linear.samples.pdf import quantile import autogalaxy as ag import numpy as np def test__quantile_1d_profile(): profile_1d_0 = np.array([1.0, 2.0, 3.0]) profile_1d_1 = np.array([1.0, 2.0, 3.0]) profile_1d_list = [profile_1d_0, profile_1d_1] median_profile_1d = ag.util.er...
27.527778
73
0.617558
337
1,982
3.302671
0.130564
0.396226
0.134771
0.143756
0.707996
0.639712
0.62354
0.607367
0.540881
0.504942
0
0.124495
0.250252
1,982
71
74
27.915493
0.624495
0
0
0.431373
0
0
0
0
0
0
0
0
0.078431
1
0.019608
false
0
0.058824
0
0.078431
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
ea33e9758376d259b5c2e71586d76551a1685aa4
7,772
py
Python
search_and_change/search_and_change_num.py
physics-sp/frida-tools
8ae44d041417152f0717f48513043a320649e9e9
[ "MIT" ]
5
2020-02-08T12:25:40.000Z
2021-08-25T16:49:59.000Z
search_and_change/search_and_change_num.py
physics-sp/frida-tools
8ae44d041417152f0717f48513043a320649e9e9
[ "MIT" ]
null
null
null
search_and_change/search_and_change_num.py
physics-sp/frida-tools
8ae44d041417152f0717f48513043a320649e9e9
[ "MIT" ]
4
2020-06-03T04:27:02.000Z
2021-06-07T15:16:20.000Z
#! /usr/bin/env python3 # -*- coding: utf-8 -*- import sys import time try: import frida except ImportError: sys.exit('install frida\nsudo pip3 install frida') # number of times that 'old_value' was find in memory matches = None def err(msg): sys.stderr.write(msg + '\n') def read(msg): # read input from user de...
30.478431
151
0.634328
1,100
7,772
4.420909
0.227273
0.021592
0.011516
0.013161
0.177257
0.128521
0.108369
0.090685
0.067859
0.057989
0
0.018902
0.210371
7,772
254
152
30.598425
0.773505
0.04053
0
0.113744
0
0.009479
0.61305
0.044979
0
0
0
0
0
1
0.023697
false
0.004739
0.018957
0
0.085308
0.018957
0
0
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
ea384cdec08dafa6c13c92feb566f42fb716a71c
13,837
py
Python
Decision_Maker-Temp_Humid/Temp_Humid_Mqtt_Controller.py
cantiusdeepan/Cadrea
bdd341f8e9ee7a5103611d5bdac1a820ab9fdd81
[ "MIT" ]
null
null
null
Decision_Maker-Temp_Humid/Temp_Humid_Mqtt_Controller.py
cantiusdeepan/Cadrea
bdd341f8e9ee7a5103611d5bdac1a820ab9fdd81
[ "MIT" ]
null
null
null
Decision_Maker-Temp_Humid/Temp_Humid_Mqtt_Controller.py
cantiusdeepan/Cadrea
bdd341f8e9ee7a5103611d5bdac1a820ab9fdd81
[ "MIT" ]
null
null
null
####### File will publish a score between 0-5 on how good an idea # (0- Don't open, 5 - Very good conditions for opening window) # it is to open the window to clear the room given the current internal and external weather conditions # Factors considered - ________ # Internal temperature # External Temperature (Effect ...
42.185976
152
0.627376
1,704
13,837
4.821596
0.205399
0.035054
0.023369
0.019474
0.289922
0.21945
0.176728
0.139727
0.129747
0.125609
0
0.021077
0.276505
13,837
327
153
42.314985
0.79962
0.227361
0
0.069652
0
0
0.146417
0.062777
0
0
0
0
0
0
null
null
0.00995
0.039801
null
null
0.139303
0
0
0
null
0
0
0
0
0
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
ea38f8206042b01f8b467e0f3e3183966c12c73d
6,538
py
Python
pynagios/perf_data.py
jimbrowne/pynagios
f144b5507b1b3966a8f587bd07d0c7845db90182
[ "MIT" ]
null
null
null
pynagios/perf_data.py
jimbrowne/pynagios
f144b5507b1b3966a8f587bd07d0c7845db90182
[ "MIT" ]
null
null
null
pynagios/perf_data.py
jimbrowne/pynagios
f144b5507b1b3966a8f587bd07d0c7845db90182
[ "MIT" ]
1
2022-02-11T09:27:21.000Z
2022-02-11T09:27:21.000Z
""" Tools for creating performance data for Nagios plugin responses. If you're adding performance data to a :py:class:`~pynagios.response.Response` object, then :py:func:`~pynagios.response.Response.set_perf_data` can be called instead of having to create an entire :py:class:`PerfData` object. """ import re from pynag...
33.701031
91
0.599725
883
6,538
4.392978
0.234428
0.027842
0.02346
0.020624
0.259345
0.24826
0.239237
0.218871
0.18974
0.1686
0
0.003771
0.310493
6,538
193
92
33.875648
0.856699
0.487305
0
0.151899
0
0
0.064977
0
0
0
0
0
0
1
0.202532
false
0
0.025316
0
0.367089
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
ea3b4a5064c4a8a783500e634bbd859b7a0ab263
2,318
py
Python
cahoots/parsers/email.py
SerenitySoftwareLLC/cahoots
866336c51436343ff5e56f83f89dddc82a5693a3
[ "MIT" ]
8
2015-03-24T15:34:40.000Z
2016-12-24T22:09:47.000Z
cahoots/parsers/email.py
hickeroar/cahoots
8fa795d7d933507c6cbf490bd20c1b3562689c5a
[ "MIT" ]
34
2015-03-06T06:27:54.000Z
2015-05-27T05:23:27.000Z
cahoots/parsers/email.py
hickeroar/cahoots
8fa795d7d933507c6cbf490bd20c1b3562689c5a
[ "MIT" ]
4
2015-04-05T06:24:50.000Z
2015-05-30T02:40:21.000Z
""" The MIT License (MIT) Copyright (c) Serenity Software, LLC Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
35.661538
78
0.716566
317
2,318
5.160883
0.485804
0.05379
0.046455
0.02934
0.069682
0.069682
0.069682
0.069682
0.069682
0
0
0.003317
0.219586
2,318
64
79
36.21875
0.90105
0.643658
0
0
0
0
0.068314
0
0
0
0
0
0
1
0.1875
false
0
0.25
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
ea3d55b836b67869362d50e8f2439e202c28d2d7
40,516
py
Python
Process_Data/audio_processing.py
Wenhao-Yang/DeepSpeaker-pytorch
99eb8de3357c85e2b7576da2a742be2ffd773ead
[ "MIT" ]
8
2020-08-26T13:32:56.000Z
2022-01-18T21:05:46.000Z
Process_Data/audio_processing.py
Wenhao-Yang/DeepSpeaker-pytorch
99eb8de3357c85e2b7576da2a742be2ffd773ead
[ "MIT" ]
1
2020-07-24T17:06:16.000Z
2020-07-24T17:06:16.000Z
Process_Data/audio_processing.py
Wenhao-Yang/DeepSpeaker-pytorch
99eb8de3357c85e2b7576da2a742be2ffd773ead
[ "MIT" ]
5
2020-12-11T03:31:15.000Z
2021-11-23T15:57:55.000Z
#!/usr/bin/env python # encoding: utf-8 import os import pathlib import traceback <<<<<<< HEAD ======= import random >>>>>>> Server/Server import librosa import numpy as np import soundfile as sf import torch import torch.nn.utils.rnn as rnn_utils from pydub import AudioSegment from python_speech_features import fbank...
34.718081
197
0.626518
5,452
40,516
4.463866
0.082722
0.028475
0.017093
0.006657
0.665242
0.631056
0.604553
0.57053
0.557628
0.536796
0
0.014965
0.264439
40,516
1,166
198
34.747856
0.801658
0
0
0.486667
0
0
0.014715
0
0
0
0
0.003431
0.003333
0
null
null
0.013333
0.035
null
null
0.011667
0
0
0
null
0
0
0
0
0
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
ea4292de7cf5cedb5b3ae53916a825188ffc20c5
852
py
Python
codes/Constant.py
YasserDaho/Saliency-3DSal
4a8ff399c8b24ccc88bb04311d6f9797d0cae2d1
[ "MIT" ]
2
2020-04-19T13:25:47.000Z
2020-05-08T17:14:38.000Z
codes/Constant.py
YasserDaho/Saliency-3DSal
4a8ff399c8b24ccc88bb04311d6f9797d0cae2d1
[ "MIT" ]
null
null
null
codes/Constant.py
YasserDaho/Saliency-3DSal
4a8ff399c8b24ccc88bb04311d6f9797d0cae2d1
[ "MIT" ]
1
2019-09-24T17:42:08.000Z
2019-09-24T17:42:08.000Z
""""" Path to the Image Dataset directories """"" TR_IMG_DIR = './WORKSPACE/DATASET/annotation/' GT_IMG_DIR = './WORKSPACE/DATASET/annotation/' """"" Path to Numpy Video directories """"" TR_VID_DIR = './WORKSPACE/DATA/TR_DATA/' GT_VID_DIR = './WORKSPACE/DATA/GT_DATA/' """"" Path to Numpy batches directories """"...
17.75
57
0.676056
114
852
4.833333
0.333333
0.196007
0.049002
0.079855
0.116152
0
0
0
0
0
0
0.006729
0.127934
852
47
58
18.12766
0.734859
0.048122
0
0.315789
0
0
0.546139
0.506591
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ea4430c870df5f7cb35f3b4eb8439be6a855324e
770
py
Python
extras/scripts/test-client.py
claudiosv/unisparks
6215faddbc5a656c7f387c3bea811d435b122042
[ "Apache-2.0" ]
null
null
null
extras/scripts/test-client.py
claudiosv/unisparks
6215faddbc5a656c7f387c3bea811d435b122042
[ "Apache-2.0" ]
3
2022-01-26T22:55:56.000Z
2022-02-04T18:41:54.000Z
extras/scripts/test-client.py
claudiosv/unisparks
6215faddbc5a656c7f387c3bea811d435b122042
[ "Apache-2.0" ]
1
2021-10-05T17:42:55.000Z
2021-10-05T17:42:55.000Z
#!/usr/bin/python import socket import sys import time import struct MCADDR = '239.255.223.01' PORT = 0xDF0D s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) s.bind((MCADDR, PORT)) mreq = struct.pack("4sl", socket.inet_aton(MCADDR), socket.INADDR_ANY) s.sets...
33.478261
157
0.697403
122
770
4.278689
0.540984
0.068966
0.065134
0.065134
0.088123
0.088123
0
0
0
0
0
0.056317
0.146753
770
22
158
35
0.738204
0.020779
0
0
0
0.055556
0.152722
0
0
0
0.007968
0
0
0
null
null
0
0.222222
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
ea4a0594644cef9b0c271ea046c042822efb0f38
1,065
py
Python
setup.py
mariocesar/boot.py
a75098759e91e4fb6be15ccab3745de13840d8d2
[ "MIT" ]
2
2018-02-16T01:26:50.000Z
2021-10-31T09:50:50.000Z
setup.py
mariocesar/boot.py
a75098759e91e4fb6be15ccab3745de13840d8d2
[ "MIT" ]
null
null
null
setup.py
mariocesar/boot.py
a75098759e91e4fb6be15ccab3745de13840d8d2
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys from setuptools import find_packages, setup if sys.version_info < (3, 6): sys.exit('Python 3.6 is the minimum required version') description, long_description = ( open('README.rst', 'rt').read().split('\n\n', 1)) setup( name='boot.py', author='Mario César Señoranis ...
30.428571
71
0.634742
124
1,065
5.362903
0.620968
0.01203
0.112782
0.078195
0
0
0
0
0
0
0
0.02
0.201878
1,065
34
72
31.323529
0.762353
0.019718
0
0
0
0
0.459252
0.023011
0
0
0
0
0
1
0
true
0
0.068966
0
0.068966
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
ea507ff5ce0b048fae3891ba72d4dee04d5ab84a
5,242
py
Python
disentanglement_lib/methods/unsupervised/unsupervised_train.py
erow/disentanglement_lib
c875207fdeadc44880277542447544941bc0bd0a
[ "Apache-2.0" ]
null
null
null
disentanglement_lib/methods/unsupervised/unsupervised_train.py
erow/disentanglement_lib
c875207fdeadc44880277542447544941bc0bd0a
[ "Apache-2.0" ]
null
null
null
disentanglement_lib/methods/unsupervised/unsupervised_train.py
erow/disentanglement_lib
c875207fdeadc44880277542447544941bc0bd0a
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2018 The DisentanglementLib 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 # # Un...
38.262774
91
0.689432
682
5,242
5.118768
0.356305
0.070753
0.081925
0.041535
0.097393
0.06216
0.024635
0
0
0
0
0.007966
0.233689
5,242
136
92
38.544118
0.86109
0.251812
0
0
0
0
0.011808
0
0
0
0
0
0
1
0.076087
false
0
0.304348
0
0.434783
0.01087
0
0
0
null
0
0
0
0
0
0
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
ea540d35be6aa8bb6a870342c44c751f5089211c
2,658
py
Python
Python/visualization.py
richieliuse/SegmentationCNN
12aaeff53d01f7c2ddd1f27489283b3062bb1d4a
[ "MIT" ]
54
2016-11-19T02:12:04.000Z
2022-02-24T14:26:41.000Z
Python/visualization.py
richieliuse/SegmentationCNN
12aaeff53d01f7c2ddd1f27489283b3062bb1d4a
[ "MIT" ]
7
2019-05-01T10:51:36.000Z
2022-02-10T04:24:54.000Z
Python/visualization.py
richieliuse/SegmentationCNN
12aaeff53d01f7c2ddd1f27489283b3062bb1d4a
[ "MIT" ]
13
2016-08-06T00:15:55.000Z
2021-12-26T20:20:35.000Z
# encoding: utf-8 """ Visualization functions for features and predictions. Copyright 2016 Matthias Leimeister """ import numpy as np from feature_extraction import load_raw_features from evaluation import post_processing import matplotlib.pyplot as plt import pickle def visualize_predictions(): """ ...
25.805825
110
0.648232
351
2,658
4.695157
0.287749
0.036408
0.036408
0.058252
0.467233
0.467233
0.467233
0.467233
0.424757
0.424757
0
0.029326
0.230248
2,658
102
111
26.058824
0.776149
0.034236
0
0.461538
0
0
0.107706
0.08247
0
0
0
0
0
0
null
null
0
0.096154
null
null
0.019231
0
0
0
null
0
0
0
0
0
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
ea55fb37f7d90d99122deeb02d480c900db16d68
343
py
Python
myhood/migrations/0010_remove_neighborhood_occupants_count.py
kiptoo-rotich/neighborhood
54974922dbd52e83ccfc6ab8c5cf5e3b258211fb
[ "MIT" ]
null
null
null
myhood/migrations/0010_remove_neighborhood_occupants_count.py
kiptoo-rotich/neighborhood
54974922dbd52e83ccfc6ab8c5cf5e3b258211fb
[ "MIT" ]
null
null
null
myhood/migrations/0010_remove_neighborhood_occupants_count.py
kiptoo-rotich/neighborhood
54974922dbd52e83ccfc6ab8c5cf5e3b258211fb
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2021-07-26 18:46 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('myhood', '0009_business_created_on'), ] operations = [ migrations.RemoveField( model_name='neighborhood', name='occupants_co...
19.055556
47
0.609329
36
343
5.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0.077236
0.282799
343
17
48
20.176471
0.752033
0.131195
0
0
1
0
0.192568
0.081081
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ea5d2e688d4dea54f8e149ad7683f67e025d7b0f
1,713
py
Python
editaveis/prototipos/protoLevenshtein.py
Ziul/tcc1
97dc2b9afcd6736aa8158066b95a698301629543
[ "CC-BY-3.0" ]
null
null
null
editaveis/prototipos/protoLevenshtein.py
Ziul/tcc1
97dc2b9afcd6736aa8158066b95a698301629543
[ "CC-BY-3.0" ]
2
2015-11-21T02:30:20.000Z
2015-11-21T02:30:35.000Z
editaveis/prototipos/protoLevenshtein.py
Ziul/tcc1
97dc2b9afcd6736aa8158066b95a698301629543
[ "CC-BY-3.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Code to rank packages from a search in APT using Levenshtein """ from apt import Cache from Levenshtein import ratio from exact import Pack, _parser from multiprocessing.pool import ThreadPool as Pool _MAX_PEERS = 20 def Thread_Rank(k): pack = _args[0] item = Pack() item....
27.190476
69
0.590776
203
1,713
4.79803
0.359606
0.056468
0.067762
0.032854
0.290554
0.179671
0.119097
0.119097
0.119097
0.119097
0
0.004149
0.296556
1,713
62
70
27.629032
0.804149
0.024518
0
0.183673
0
0
0.028213
0
0
0
0
0
0
0
null
null
0
0.081633
null
null
0.020408
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ea5f3e26198b37258a038046ed6c084a792a8485
1,098
py
Python
PlotGenGain_PathsOfSelection_TBV.py
janaobsteter/Genotype_CODES
8adf70660ebff4dd106c666db02cdba8b8ce4f97
[ "Apache-2.0" ]
1
2021-10-07T18:55:03.000Z
2021-10-07T18:55:03.000Z
PlotGenGain_PathsOfSelection_TBV.py
janaobsteter/Genotype_CODES
8adf70660ebff4dd106c666db02cdba8b8ce4f97
[ "Apache-2.0" ]
null
null
null
PlotGenGain_PathsOfSelection_TBV.py
janaobsteter/Genotype_CODES
8adf70660ebff4dd106c666db02cdba8b8ce4f97
[ "Apache-2.0" ]
1
2017-04-13T09:07:41.000Z
2017-04-13T09:07:41.000Z
import pandas as pd import sys import numpy as np import matplotlib.pyplot as plt T = pd.read_csv('GenTrends_cat.csv') T.index = T.cat T = T.drop('cat', axis=1) tT = np.transpose(T) tT.loc[:,'Cycle'] = [i.strip('_vars').strip('_mean') for i in list(tT.index)] tT_mean = tT.ix[0::2,:] tT_var = tT.ix[1::2,:] cats = [i ...
28.894737
111
0.675774
185
1,098
3.864865
0.345946
0.033566
0.046154
0.033566
0.461538
0.461538
0.461538
0.461538
0.461538
0.461538
0
0.0074
0.138434
1,098
37
112
29.675676
0.748414
0
0
0.413793
0
0
0.273224
0.050091
0
0
0
0
0
0
null
null
0
0.137931
null
null
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ea6d08e4b75d46d8c207e5f66fc96bf1e79be92d
2,434
py
Python
docs/index_functions.py
guyms/pyansys
7a9182a7c44098d9b99a0d1eb2fd183b7256ac01
[ "MIT" ]
null
null
null
docs/index_functions.py
guyms/pyansys
7a9182a7c44098d9b99a0d1eb2fd183b7256ac01
[ "MIT" ]
null
null
null
docs/index_functions.py
guyms/pyansys
7a9182a7c44098d9b99a0d1eb2fd183b7256ac01
[ "MIT" ]
null
null
null
#============================================================================== # load a beam and write it #============================================================================== import pyansys from pyansys import examples # Sample *.cdb filename = examples.hexarchivefile # Read ansys archive file archive = p...
26.747253
79
0.595727
298
2,434
4.848993
0.42953
0.038062
0.058824
0.049827
0.120415
0.120415
0.120415
0.085813
0.085813
0.085813
0
0.008026
0.129827
2,434
90
80
27.044444
0.674221
0.484799
0
0.162162
0
0
0.059543
0
0
0
0
0
0
0
null
null
0
0.243243
null
null
0.081081
0
0
0
null
0
0
0
0
0
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
ea7b9d12029f07974525dc659c2414d6e62953e4
643
py
Python
conversion/octalToDecimal.py
slowy07/pythonApps
22f9766291dbccd8185035745950c5ee4ebd6a3e
[ "MIT" ]
10
2020-10-09T11:05:18.000Z
2022-02-13T03:22:10.000Z
conversion/octalToDecimal.py
khairanabila/pythonApps
f90b8823f939b98f7bf1dea7ed35fe6e22e2f730
[ "MIT" ]
null
null
null
conversion/octalToDecimal.py
khairanabila/pythonApps
f90b8823f939b98f7bf1dea7ed35fe6e22e2f730
[ "MIT" ]
6
2020-11-26T12:49:43.000Z
2022-03-06T06:46:43.000Z
def octalToDecimal(octString: str)->str: octString = str(octString).strip() if not octString: raise ValueError("empty string was passed to function") isNegative = octString[0] == "-" if isNegative: octString = octString[1:] if not all(0 <= int(char) <= 7 for char in octString): ...
30.619048
66
0.656299
73
643
5.671233
0.493151
0.057971
0.115942
0.091787
0
0
0
0
0
0
0
0.012448
0.250389
643
20
67
32.15
0.846473
0
0
0.111111
0
0
0.127527
0
0
0
0
0
0
1
0.055556
false
0.111111
0.055556
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ea80ed40b25b2af9be9e4742f1f9e34326e94328
879
py
Python
newsXtract.py
selection-bias-www2018/NewsXtract
6b66024fea912ed5f34a5ac2fe051d9abf8e5ee2
[ "BSD-3-Clause" ]
1
2019-10-24T10:04:59.000Z
2019-10-24T10:04:59.000Z
newsXtract.py
selection-bias-www2018/selection-bias-code
6b66024fea912ed5f34a5ac2fe051d9abf8e5ee2
[ "BSD-3-Clause" ]
null
null
null
newsXtract.py
selection-bias-www2018/selection-bias-code
6b66024fea912ed5f34a5ac2fe051d9abf8e5ee2
[ "BSD-3-Clause" ]
1
2021-05-04T12:51:23.000Z
2021-05-04T12:51:23.000Z
import os,json import requests BASE_URL = 'http://epfl.elasticsearch.spinn3r.com/content*/_search' BULK_SIZE = 100 SPINN3R_SECRET = os.environ['SPINN3R_SECRET'] HEADERS = { 'X-vendor': 'epfl', 'X-vendor-auth': SPINN3R_SECRET } query = { "size": BULK_SIZE, "query":{ "bool":{ "must":{ ...
18.702128
68
0.482366
96
879
4.302083
0.604167
0.094431
0
0
0
0
0
0
0
0
0
0.040422
0.352673
879
46
69
19.108696
0.685413
0
0
0
0
0
0.238908
0
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.026316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ea8d3c9ed97f275534ba12a7a2adf9b3f80643b1
24,084
py
Python
nyc_bike_flow.py
AngeloManzatto/NYCBikeFlow
cd7f936c4d4627e4a90e17d416fb1f628b2445c6
[ "MIT" ]
1
2020-09-09T01:36:57.000Z
2020-09-09T01:36:57.000Z
nyc_bike_flow.py
AngeloManzatto/NYCBikeFlow
cd7f936c4d4627e4a90e17d416fb1f628b2445c6
[ "MIT" ]
null
null
null
nyc_bike_flow.py
AngeloManzatto/NYCBikeFlow
cd7f936c4d4627e4a90e17d416fb1f628b2445c6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Aug 5 14:01:56 2019 @author: Angelo Antonio Manzatto This implementation use ST-ResNet for inflow / outflow bike prediction on the city of NY Article: https://arxiv.org/pdf/1610.00081.pdf References and credits: Junbo Zhang, Yu Zheng, Dekang Qi. Deep Spatio-Temporal Resid...
40.073211
161
0.594918
3,235
24,084
4.236167
0.167852
0.017878
0.026562
0.030356
0.332823
0.290864
0.256567
0.242119
0.221468
0.195271
0
0.030628
0.17576
24,084
600
162
40.14
0.659715
0.125685
0
0.122867
0
0
0.094438
0.00453
0
0
0
0
0.003413
0
null
null
0
0.054608
null
null
0.040956
0
0
0
null
0
0
0
0
0
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
ea8ffc8379c8866cb56248edf88ff78b6a856f02
1,838
py
Python
Breast_cancer_prediction1.py
HagerBesar/Breast_cancer_prediction1
f391a37f8064cabefdf9c416f2dbb40e3bd0e98a
[ "MIT" ]
1
2021-03-23T15:03:39.000Z
2021-03-23T15:03:39.000Z
Breast_cancer_prediction1.py
HagerBesar/Breast_cancer_prediction1
f391a37f8064cabefdf9c416f2dbb40e3bd0e98a
[ "MIT" ]
null
null
null
Breast_cancer_prediction1.py
HagerBesar/Breast_cancer_prediction1
f391a37f8064cabefdf9c416f2dbb40e3bd0e98a
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # In[ ]: ####################################<<<<Breast_cancer_prediction>>>>>>#################################### # In[ ]: #part(1)--By:Manar Moeanse # In[1]: import pandas as pd import numpy as np import matplotlib.pyplot as plt # In[2]: DB = pd.read_csv('Breast_c...
10.268156
106
0.600653
279
1,838
3.824373
0.34767
0.028116
0.033739
0.024367
0.041237
0.041237
0
0
0
0
0
0.031725
0.176823
1,838
178
107
10.325843
0.673496
0
0
0
0
0
0.11362
0.016023
0
0
0
0
0
0
null
null
0
0.170732
null
null
0.146341
0
0
0
null
0
0
0
0
0
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