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
d4c1e7c1bffb429645b273f8dcddc91dd679e2f2
519
py
Python
docs/dev/actors1.py
lino-framework/lino_book
4eab916832cd8f48ff1b9fc8c2789f0b437da0f8
[ "BSD-2-Clause" ]
3
2016-08-25T05:58:09.000Z
2019-12-05T11:13:45.000Z
docs/dev/actors1.py
lino-framework/lino_book
4eab916832cd8f48ff1b9fc8c2789f0b437da0f8
[ "BSD-2-Clause" ]
18
2016-11-12T21:38:58.000Z
2019-12-03T17:54:38.000Z
docs/dev/actors1.py
lino-framework/lino_book
4eab916832cd8f48ff1b9fc8c2789f0b437da0f8
[ "BSD-2-Clause" ]
9
2016-10-15T11:12:33.000Z
2021-09-22T04:37:37.000Z
class Parametrizable(object): parameters = None @classmethod def show(cls): print("This is {0} with parameters = {1}".format(cls, cls.parameters)) class Table(Parametrizable): pass class Journals(Table): parameters = dict(foo=1, bar=2) class AnotherTable(Table): pass class MyJou...
15.264706
78
0.693642
60
519
6
0.566667
0.075
0
0
0
0
0
0
0
0
0
0.009615
0.198459
519
33
79
15.727273
0.855769
0.146435
0
0.235294
0
0
0.075
0
0
0
0
0
0
1
0.058824
false
0.235294
0
0
0.529412
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d4d337261f363a75e929fcb01560e55d57e338bd
374
py
Python
News-Notices-PressRelease-Tenders.py
vinaysomawat/NITW-event-updates
5e58a023c8e326e0cfe25410e6c9781752dec433
[ "Apache-2.0" ]
1
2019-08-30T16:42:05.000Z
2019-08-30T16:42:05.000Z
News-Notices-PressRelease-Tenders.py
vinaysomawat/NITW-event-updates
5e58a023c8e326e0cfe25410e6c9781752dec433
[ "Apache-2.0" ]
null
null
null
News-Notices-PressRelease-Tenders.py
vinaysomawat/NITW-event-updates
5e58a023c8e326e0cfe25410e6c9781752dec433
[ "Apache-2.0" ]
null
null
null
from flask import Flask, render_template from flask_ask import Ask, statement, question import bs4 as bs import urllib.request source = urllib.request.urlopen('https://www.nitw.ac.in/main/update/News/Notices/Press%20Release/Tenders/').read() soup = bs.BeautifulSoup(source,'lxml') events = [] for event in soup.find_all...
28.769231
114
0.762032
56
374
5.035714
0.714286
0.06383
0
0
0
0
0
0
0
0
0
0.008955
0.104278
374
12
115
31.166667
0.832836
0
0
0
0
0.1
0.208556
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d4d655cc4c86e0de2ce86502e9ed13bbaeaab90b
1,098
py
Python
epibox/common/open_file.py
anascacais/EpiBOX
23f8963c4a2f5457dd8773e6092b86b0db35e2c7
[ "MIT" ]
1
2021-07-14T10:03:54.000Z
2021-07-14T10:03:54.000Z
epibox/common/open_file.py
anascacais/epibox
23f8963c4a2f5457dd8773e6092b86b0db35e2c7
[ "MIT" ]
null
null
null
epibox/common/open_file.py
anascacais/epibox
23f8963c4a2f5457dd8773e6092b86b0db35e2c7
[ "MIT" ]
null
null
null
# built-in from datetime import datetime import os # local from epibox.bit.header2bitalino import header2bitalino def open_file(directory, devices, mac_channels, sensors, fs, save_raw, service): # for txt format now = datetime.now() save_time = now.strftime("%Y-%m-%d %H-%M-%S").rstrip('0') file_time ...
33.272727
123
0.653005
166
1,098
4.114458
0.39759
0.070278
0.070278
0.083455
0.260615
0.260615
0.181552
0.181552
0.061493
0
0
0.011364
0.198543
1,098
32
124
34.3125
0.764773
0.112933
0
0
0
0
0.081696
0
0
0
0
0
0
1
0.058824
false
0.058824
0.176471
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
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
d4d7fb1cb5a0075a40df05483e1978a51b974d19
2,214
py
Python
deploy/paddle-serving/postprocess.py
windstamp/PaddleSeg
828808ea306adf2e8b94c291b77e7b7cf558bc2a
[ "ECL-2.0", "Apache-2.0" ]
3
2021-03-17T04:14:06.000Z
2021-07-15T04:11:41.000Z
deploy/paddle-serving/postprocess.py
windstamp/PaddleSeg
828808ea306adf2e8b94c291b77e7b7cf558bc2a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
deploy/paddle-serving/postprocess.py
windstamp/PaddleSeg
828808ea306adf2e8b94c291b77e7b7cf558bc2a
[ "ECL-2.0", "Apache-2.0" ]
1
2021-10-30T10:07:21.000Z
2021-10-30T10:07:21.000Z
import cv2 import numpy as np def generate_colormap(num_classes): color_map = num_classes * [0, 0, 0] for i in range(0, num_classes): j = 0 lab = i while lab: color_map[i * 3] |= (((lab >> 0) & 1) << (7 - j)) color_map[i * 3 + 1] |= (((lab >> 1) & 1) << (7 - j))...
36.9
73
0.551491
311
2,214
3.649518
0.254019
0.070485
0.066079
0.029075
0.132159
0.022907
0.022907
0
0
0
0
0.033647
0.328817
2,214
59
74
37.525424
0.730148
0
0
0
1
0
0.065492
0
0
0
0
0
0
1
0.057692
false
0
0.038462
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d4d8d7c2da55db69f567d582642b25e1f992f560
681
py
Python
apps/users/models.py
Yunloop/RoadBlog
d27504096cf00357c8f18737721b9b117b0203d9
[ "MIT" ]
1
2019-09-18T10:51:55.000Z
2019-09-18T10:51:55.000Z
apps/users/models.py
Yunloop/road
d27504096cf00357c8f18737721b9b117b0203d9
[ "MIT" ]
9
2020-06-05T23:14:20.000Z
2022-02-10T11:36:14.000Z
apps/users/models.py
Yunloop/road
d27504096cf00357c8f18737721b9b117b0203d9
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import AbstractUser class User(AbstractUser): """ 用户模型类 """ birthday = models.DateField(null=True, blank=True, verbose_name="出生年月") gender = models.CharField(max_length=1, choices=(('0', "男"), ('1', "女")), null=True, verbose_name="性别") ...
37.833333
111
0.67254
87
681
5.114943
0.54023
0.123596
0.08764
0.114607
0.125843
0.125843
0
0
0
0
0
0.014363
0.182085
681
17
112
40.058824
0.78456
0.007342
0
0
0
0
0.075758
0.04697
0
0
0
0
0
1
0.090909
false
0
0.181818
0.090909
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
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
d4da2730d0cca6515e10d217cbb741bb1695bdb9
554
py
Python
var/spack/repos/builtin/packages/libgtextutils/package.py
nkianggiss/spack
3477d3375142a30f5714bb5966a6d8bb22c33c06
[ "ECL-2.0", "Apache-2.0", "MIT" ]
3
2019-06-27T13:26:50.000Z
2019-07-01T16:24:54.000Z
var/spack/repos/builtin/packages/libgtextutils/package.py
openbiox/spack
bb6ec7fb40c14b37e094a860e3625af53f633174
[ "ECL-2.0", "Apache-2.0", "MIT" ]
75
2016-07-27T11:43:00.000Z
2020-12-08T15:56:53.000Z
var/spack/repos/builtin/packages/libgtextutils/package.py
openbiox/spack
bb6ec7fb40c14b37e094a860e3625af53f633174
[ "ECL-2.0", "Apache-2.0", "MIT" ]
8
2015-10-16T13:51:49.000Z
2021-10-18T13:58:03.000Z
# Copyright 2013-2019 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 Libgtextutils(AutotoolsPackage): """Gordon's Text utils Library.""" homepage = "https...
32.588235
104
0.740072
70
554
5.828571
0.771429
0.014706
0.068627
0.102941
0.166667
0
0
0
0
0
0
0.077406
0.137184
554
16
105
34.625
0.776151
0.393502
0
0
0
0.166667
0.562691
0.165138
0
0
0
0
0
1
0
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d4da8bf9295422be36c32722600ff7f28d904081
5,386
py
Python
examples/peewee_example.py
dsimidzija/marshmallow
3226dcd4afbf4e783c4adafacb5af906b4f3ca6c
[ "MIT" ]
1
2020-03-10T09:46:24.000Z
2020-03-10T09:46:24.000Z
examples/peewee_example.py
dsimidzija/marshmallow
3226dcd4afbf4e783c4adafacb5af906b4f3ca6c
[ "MIT" ]
null
null
null
examples/peewee_example.py
dsimidzija/marshmallow
3226dcd4afbf4e783c4adafacb5af906b4f3ca6c
[ "MIT" ]
null
null
null
import datetime as dt from functools import wraps from flask import Flask, request, g, jsonify import peewee as pw from marshmallow import ( Schema, fields, validate, pre_load, post_dump, post_load, ValidationError, ) app = Flask(__name__) db = pw.SqliteDatabase("/tmp/todo.db") ###### MOD...
25.168224
87
0.636651
698
5,386
4.793696
0.286533
0.010759
0.017932
0.018828
0.216677
0.190675
0.124925
0.107591
0.085475
0.085475
0
0.007238
0.230412
5,386
213
88
25.286385
0.8
0.075938
0
0.18543
0
0
0.089874
0.004473
0
0
0
0.00939
0
1
0.099338
false
0.059603
0.033113
0
0.423841
0
0
0
0
null
0
0
0
0
0
0
0
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
d4eda38fcb23c2080a6c4cfe0860fa0e6d4b0232
5,956
py
Python
sdk/python/pulumi_azure_nextgen/containerregistry/v20190601preview/list_task_run_details.py
test-wiz-sec/pulumi-azure-nextgen
20a695af0d020b34b0f1c336e1b69702755174cc
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_nextgen/containerregistry/v20190601preview/list_task_run_details.py
test-wiz-sec/pulumi-azure-nextgen
20a695af0d020b34b0f1c336e1b69702755174cc
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_nextgen/containerregistry/v20190601preview/list_task_run_details.py
test-wiz-sec/pulumi-azure-nextgen
20a695af0d020b34b0f1c336e1b69702755174cc
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
36.993789
163
0.657656
690
5,956
5.401449
0.204348
0.059297
0.045076
0.064395
0.196136
0.125838
0.090421
0.030588
0
0
0
0.002011
0.248657
5,956
160
164
37.225
0.830838
0.154466
0
0.114286
1
0
0.163299
0.037284
0
0
0
0
0
1
0.104762
false
0
0.057143
0
0.27619
0
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
d4ef7dc7efb496af9113e1d382f03a24b85e4fd1
531
py
Python
tests/gis_tests/gdal_tests/tests.py
jpmallarino/django
659d2421c7adbbcd205604002d521d82d6b0b465
[ "BSD-3-Clause", "0BSD" ]
16
2019-08-10T12:24:06.000Z
2020-05-21T09:11:14.000Z
tests/gis_tests/gdal_tests/tests.py
jpmallarino/django
659d2421c7adbbcd205604002d521d82d6b0b465
[ "BSD-3-Clause", "0BSD" ]
12
2019-08-10T11:55:29.000Z
2020-05-21T04:46:30.000Z
tests/gis_tests/gdal_tests/tests.py
jpmallarino/django
659d2421c7adbbcd205604002d521d82d6b0b465
[ "BSD-3-Clause", "0BSD" ]
3
2019-08-20T13:29:34.000Z
2020-01-30T22:05:10.000Z
import unittest from django.contrib.gis.gdal import GDAL_VERSION, gdal_full_version, gdal_version class GDALTest(unittest.TestCase): def test_gdal_version(self): if GDAL_VERSION: self.assertEqual(gdal_version(), ("%s.%s.%s" % GDAL_VERSION).encode()) else: self.assertIn(b"....
31.235294
82
0.685499
67
531
5.149254
0.358209
0.255072
0.130435
0.127536
0
0
0
0
0
0
0
0
0.19774
531
16
83
33.1875
0.809859
0
0
0
0
0
0.024482
0
0
0
0
0
0.333333
1
0.166667
false
0
0.166667
0
0.416667
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
d4f0a8dfe19ce3af4cb3d2276eeb80a131098a6b
631
py
Python
majora2/migrations/0050_auto_20200406_0855.py
CLIMB-COVID/majora2
46ea1809a61e4a768f8cbacaf54cba5c4d82e1f2
[ "MIT" ]
29
2019-04-04T18:03:43.000Z
2022-02-09T12:47:30.000Z
majora2/migrations/0050_auto_20200406_0855.py
CLIMB-COVID/majora2
46ea1809a61e4a768f8cbacaf54cba5c4d82e1f2
[ "MIT" ]
66
2019-04-02T16:18:40.000Z
2022-01-25T16:15:42.000Z
majora2/migrations/0050_auto_20200406_0855.py
CLIMB-COVID/majora2
46ea1809a61e4a768f8cbacaf54cba5c4d82e1f2
[ "MIT" ]
6
2020-04-10T14:15:32.000Z
2022-01-18T13:08:35.000Z
# Generated by Django 2.2.10 on 2020-04-06 08:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('majora2', '0049_auto_20200406_0853'), ] operations = [ migrations.AlterField( model_name='majoraartifactgroup', nam...
26.291667
86
0.611727
67
631
5.626866
0.597015
0.106101
0.132626
0.153846
0.551724
0.551724
0.275862
0.275862
0.275862
0.275862
0
0.080786
0.274168
631
23
87
27.434783
0.742358
0.0729
0
0.352941
1
0
0.147513
0.039451
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
d4f5484517bd17dfbedb39156199e3ce06e077f8
4,369
py
Python
sdk/python/pulumi_akamai/edgedns/get_dns_record_set.py
pulumi/pulumi-akamai
85f933ccf2f61738b3074a13fa718132280f8364
[ "ECL-2.0", "Apache-2.0" ]
3
2021-01-21T15:22:12.000Z
2021-08-25T14:15:29.000Z
sdk/python/pulumi_akamai/edgedns/get_dns_record_set.py
pulumi/pulumi-akamai
85f933ccf2f61738b3074a13fa718132280f8364
[ "ECL-2.0", "Apache-2.0" ]
59
2020-08-13T14:39:36.000Z
2022-03-31T15:19:48.000Z
sdk/python/pulumi_akamai/edgedns/get_dns_record_set.py
pulumi/pulumi-akamai
85f933ccf2f61738b3074a13fa718132280f8364
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
36.408333
146
0.652552
508
4,369
5.366142
0.244094
0.055026
0.030814
0.038518
0.363903
0.245415
0.216801
0.155172
0.155172
0.155172
0
0.000303
0.243763
4,369
119
147
36.714286
0.824758
0.106889
0
0.126437
1
0
0.191384
0.072585
0
0
0
0
0
1
0.103448
false
0
0.057471
0.045977
0.264368
0
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
d4f72acd8cd740be39d045e686a47dfecc4a8944
1,633
py
Python
elmr/ingest/demo.py
mclumd/jobs-report
0370b7e8945f55eea7dba8a370267caeecb88286
[ "MIT" ]
4
2016-08-12T08:32:46.000Z
2018-02-06T03:18:36.000Z
elmr/ingest/demo.py
bbengfort/jobs-report
0370b7e8945f55eea7dba8a370267caeecb88286
[ "MIT" ]
54
2015-03-10T15:55:55.000Z
2020-01-30T15:55:40.000Z
elmr/ingest/demo.py
bbengfort/jobs-report
0370b7e8945f55eea7dba8a370267caeecb88286
[ "MIT" ]
4
2015-03-06T17:55:31.000Z
2020-05-08T05:28:30.000Z
# elmr.ingest.demo # Code snippet showing how to download TimeSeries data using the BLS API. # # Author: Benjamin Bengfort <bengfort@cs.umd.edu> # Created: Mon Mar 09 16:02:00 2015 -0400 # # Copyright (C) 2015 University of Maryland # For license information, see LICENSE.txt # # ID: demo.py [] bengfort@cs.umd.edu $ ...
32.019608
94
0.466013
156
1,633
4.807692
0.519231
0.026667
0.048
0.056
0.157333
0.157333
0.157333
0.157333
0.157333
0.157333
0
0.042414
0.249235
1,633
50
95
32.66
0.569331
0.259032
0
0
0
0
0.173859
0
0
0
0
0
0
0
null
null
0
0.117647
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d4fd92b08be0e0cabaa64b4268a0cdcca45af34a
1,103
py
Python
GUI/qt/MineCode/test_threading.py
archu2020/python-2
19c626ca9fd37168db8a7ac075fd80c8e2971313
[ "Apache-2.0" ]
48
2017-12-24T12:19:55.000Z
2022-02-26T13:14:27.000Z
GUI/qt/MineCode/test_threading.py
17610178081/python
3975c678d985c468deecd03560d882e9d316bb63
[ "Apache-2.0" ]
3
2018-12-05T08:48:14.000Z
2020-07-29T01:56:16.000Z
GUI/qt/MineCode/test_threading.py
17610178081/python
3975c678d985c468deecd03560d882e9d316bb63
[ "Apache-2.0" ]
113
2017-08-09T03:10:04.000Z
2022-03-26T16:05:01.000Z
from PyQt5.QtWidgets import * from PyQt5.QtCore import * class Main(QWidget): def __init__(self, parent = None): super(Main,self).__init__(parent) ##创建一个线程实例并设置名称、变量、信号槽 self.thread = MyThread() self.thread.setIdentity("thread") self.thread.sin...
23.978261
66
0.529465
114
1,103
4.973684
0.412281
0.070547
0.038801
0.059965
0.091711
0.091711
0
0
0
0
0
0.007062
0.358114
1,103
46
67
23.978261
0.793785
0.034452
0
0.068966
0
0
0.00691
0
0
0
0
0
0
1
0.206897
false
0
0.068966
0
0.37931
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d4ff04a546fb713ab57b72241fcba65eac2e1ca8
353
py
Python
contrib_lib/user.py
red5alex/ifm_contrib
750e7fdf19a6adabcf27ff08608bfa88b04c8775
[ "MIT" ]
null
null
null
contrib_lib/user.py
red5alex/ifm_contrib
750e7fdf19a6adabcf27ff08608bfa88b04c8775
[ "MIT" ]
null
null
null
contrib_lib/user.py
red5alex/ifm_contrib
750e7fdf19a6adabcf27ff08608bfa88b04c8775
[ "MIT" ]
1
2018-09-22T13:18:19.000Z
2018-09-22T13:18:19.000Z
# from ifm import Enum from .user_pandas import UserPd class User: """ Extension sub-class for IFM contributor's Extensions. Use this class to add functionality relating to user distributions and expressions """ def __init__(self, doc): self.doc = doc # add custom child-classes he...
23.533333
86
0.671388
47
353
4.93617
0.680851
0.060345
0
0
0
0
0
0
0
0
0
0
0.260623
353
14
87
25.214286
0.888889
0.532578
0
0
0
0
0
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
d4ffbf6958e2784d925826e50c9e663a9916aa5b
1,870
py
Python
conan/tools/env/virtualbuildenv.py
thorbenk/conan
916cb10b99ed92d319cd0719462708ee0501ecd4
[ "MIT" ]
null
null
null
conan/tools/env/virtualbuildenv.py
thorbenk/conan
916cb10b99ed92d319cd0719462708ee0501ecd4
[ "MIT" ]
1
2019-06-07T03:02:02.000Z
2019-06-07T03:02:02.000Z
conan/tools/env/virtualbuildenv.py
thorbenk/conan
916cb10b99ed92d319cd0719462708ee0501ecd4
[ "MIT" ]
1
2021-08-20T19:47:51.000Z
2021-08-20T19:47:51.000Z
from conan.tools.env import Environment from conan.tools.env.virtualrunenv import runenv_from_cpp_info class VirtualBuildEnv: """ captures the conanfile environment that is defined from its dependencies, and also from profiles """ def __init__(self, conanfile): self._conanfile = conanfile ...
39.787234
96
0.683422
221
1,870
5.538462
0.352941
0.065359
0.061275
0.073529
0.153595
0.098039
0.098039
0
0
0
0
0
0.254545
1,870
46
97
40.652174
0.878049
0.273797
0
0
0
0
0.009901
0
0
0
0
0.021739
0
1
0.12
false
0
0.08
0
0.28
0
0
0
0
null
0
0
0
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
be02224d72f64a7dfbd434d18a0701b39637b840
3,129
py
Python
portal/views.py
abhijh/Hackman
e2ece74be72416533a2d5eece2801f63cf2b7f49
[ "MIT" ]
null
null
null
portal/views.py
abhijh/Hackman
e2ece74be72416533a2d5eece2801f63cf2b7f49
[ "MIT" ]
null
null
null
portal/views.py
abhijh/Hackman
e2ece74be72416533a2d5eece2801f63cf2b7f49
[ "MIT" ]
null
null
null
from django.http import HttpResponse from django.shortcuts import render, redirect from django.contrib.auth.decorators import login_required from django.core import serializers from django.contrib.auth import logout from django.contrib.auth.models import User from models import TeamForm, Team, Participant def index(r...
33.645161
110
0.674976
374
3,129
5.542781
0.21123
0.050169
0.060781
0.070912
0.361795
0.154366
0.154366
0.154366
0.154366
0.154366
0
0.000399
0.199105
3,129
93
111
33.645161
0.826816
0.022691
0
0.297297
0
0
0.122996
0.036964
0
0
0
0
0
0
null
null
0
0.094595
null
null
0.013514
0
0
0
null
0
0
0
0
0
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
be02d065eaa92c8838ddbdc6b9c9b46132c27644
208
py
Python
setup.py
xinshi-chen/l2stop
f9b4f23269c2db110c48fb883287049849492341
[ "MIT" ]
24
2020-08-03T22:45:04.000Z
2021-12-03T14:05:36.000Z
setup.py
xinshi-chen/l2stop
f9b4f23269c2db110c48fb883287049849492341
[ "MIT" ]
null
null
null
setup.py
xinshi-chen/l2stop
f9b4f23269c2db110c48fb883287049849492341
[ "MIT" ]
4
2020-08-11T13:45:16.000Z
2020-11-29T04:11:04.000Z
from setuptools import setup import os BASEPATH = os.path.dirname(os.path.abspath(__file__)) setup(name='lista_stop', py_modules=['lista_stop'], install_requires=[ 'torch' ], )
16
53
0.649038
25
208
5.08
0.72
0.094488
0
0
0
0
0
0
0
0
0
0
0.221154
208
12
54
17.333333
0.783951
0
0
0
0
0
0.120192
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
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
be03d94176286ab0e974e46f14db4aa8b5624838
2,050
py
Python
Tools/DataGenerate_SineWave.py
elxavicio/QSTK
4981506c37227a72404229d5e1e0887f797a5d57
[ "BSD-3-Clause" ]
55
2015-01-07T17:58:40.000Z
2018-12-30T12:31:53.000Z
Tools/DataGenerate_SineWave.py
elxavicio/QSTK
4981506c37227a72404229d5e1e0887f797a5d57
[ "BSD-3-Clause" ]
3
2016-12-20T19:21:18.000Z
2019-02-19T14:33:18.000Z
Tools/DataGenerate_SineWave.py
elxavicio/QSTK
4981506c37227a72404229d5e1e0887f797a5d57
[ "BSD-3-Clause" ]
38
2015-03-02T17:24:06.000Z
2019-01-06T13:51:19.000Z
import datetime as dt import csv import copy import os import pickle import math # 3rd party imports import numpy as np import matplotlib.pyplot as plt import pandas as pd # QSTK imports from qstkutil import qsdateutil as du import qstkutil.DataEvolved as de def write(ls_symbols, d_data, ldt_timestamps): ldt_t...
28.472222
93
0.667317
319
2,050
4.031348
0.341693
0.111198
0.051322
0.024883
0.321928
0.283048
0.129082
0.079316
0.079316
0.079316
0
0.031117
0.200488
2,050
72
94
28.472222
0.753508
0.014634
0
0
0
0
0.116014
0.017353
0
0
0
0
0
0
null
null
0
0.22449
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
be04b901513b9ff7f5ba8003e32454ee107ca40d
104,291
py
Python
neutron/tests/unit/extensions/test_segment.py
cleo4zheng/neutron
6d65318308edfd984bdd0ff1ac7fef9486a040f7
[ "Apache-2.0" ]
null
null
null
neutron/tests/unit/extensions/test_segment.py
cleo4zheng/neutron
6d65318308edfd984bdd0ff1ac7fef9486a040f7
[ "Apache-2.0" ]
null
null
null
neutron/tests/unit/extensions/test_segment.py
cleo4zheng/neutron
6d65318308edfd984bdd0ff1ac7fef9486a040f7
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2016 Hewlett Packard Enterprise Development Company, L.P. # # 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 # # ...
47.426558
79
0.619517
11,582
104,291
5.253497
0.052409
0.022335
0.008431
0.014052
0.748398
0.70072
0.662558
0.641242
0.598396
0.567219
0
0.009775
0.280945
104,291
2,198
80
47.448135
0.801603
0.053552
0
0.564877
0
0
0.075218
0.008924
0
0
0
0
0.110179
1
0.091163
false
0.006711
0.021253
0.002237
0.151566
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
be08752814415446750240473097b87703fcefe2
7,993
py
Python
RULEngine/Communication/protobuf/grSim_Commands_pb2.py
wonwon0/RobocupStrategyIA
891028f616d476b05b23b40924d7c99502a718e3
[ "MIT" ]
2
2018-03-13T17:22:35.000Z
2019-10-17T11:46:01.000Z
RULEngine/Communication/protobuf/grSim_Commands_pb2.py
wonwon0/RobocupStrategyIA
891028f616d476b05b23b40924d7c99502a718e3
[ "MIT" ]
73
2016-05-30T04:52:41.000Z
2019-06-21T03:11:49.000Z
RULEngine/Communication/protobuf/grSim_Commands_pb2.py
wonwon0/RobocupStrategyIA
891028f616d476b05b23b40924d7c99502a718e3
[ "MIT" ]
11
2016-05-30T04:44:41.000Z
2019-04-13T12:02:14.000Z
#Under MIT License, see LICENSE.txt # Generated by the protocol buffer compiler. DO NOT EDIT! # source: grSim_Commands.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from ...
40.165829
719
0.738646
1,086
7,993
5.140884
0.14733
0.067347
0.073079
0.056421
0.672936
0.543256
0.537525
0.537525
0.537525
0.519613
0
0.045289
0.140873
7,993
198
720
40.368687
0.76773
0.038033
0
0.62069
1
0.005747
0.188232
0.142541
0
0
0
0
0
1
0
false
0
0.034483
0
0.034483
0
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
be0fdf3dbc266ca22e4bea09e8e81758a3a45666
6,109
py
Python
tools/flash_algo_gen_all.py
analogdevicesinc/CMSIS-DAP
80e051585b20a6a457bb80f5379a10028e64112c
[ "Apache-2.0" ]
1
2019-08-04T14:27:15.000Z
2019-08-04T14:27:15.000Z
tools/flash_algo_gen_all.py
analogdevicesinc/CMSIS-DAP
80e051585b20a6a457bb80f5379a10028e64112c
[ "Apache-2.0" ]
null
null
null
tools/flash_algo_gen_all.py
analogdevicesinc/CMSIS-DAP
80e051585b20a6a457bb80f5379a10028e64112c
[ "Apache-2.0" ]
1
2020-03-17T11:04:13.000Z
2020-03-17T11:04:13.000Z
""" CMSIS-DAP Interface Firmware Copyright (c) 2009-2013 ARM Limited 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 la...
36.801205
141
0.594205
806
6,109
4.370968
0.332506
0.022708
0.013625
0.023843
0.094238
0.064718
0.030656
0
0
0
0
0.06051
0.280406
6,109
165
142
37.024242
0.740901
0.066296
0
0.053571
0
0
0.170431
0.005749
0
0
0.04271
0
0
0
null
null
0
0.044643
null
null
0.160714
0
0
0
null
0
0
0
0
0
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
be15d868f8447b5258467785378d83703ed784b5
762
py
Python
container-applications/classified/sql_injection/config.py
emerginganalytics/ualr-cyber-gym
1156bc2c85c17af02da048f40b2be875f89db0ce
[ "MIT" ]
3
2020-09-02T19:18:03.000Z
2021-04-29T20:23:01.000Z
container-applications/classified/sql_injection/config.py
emerginganalytics/ualr-cyber-gym
1156bc2c85c17af02da048f40b2be875f89db0ce
[ "MIT" ]
26
2021-12-23T19:37:27.000Z
2022-03-28T04:03:41.000Z
container-applications/classified/sql_injection/config.py
emerginganalytics/cyberarena
311d179a30017285571f65752eaa91b78c7097aa
[ "MIT" ]
4
2020-11-20T20:38:49.000Z
2021-04-29T20:23:12.000Z
import hashlib import os import sqlite3 def connect_db(): return sqlite3.connect("bad.db") def hash_pass(passw): m = hashlib.md5() m.update(passw.encode('utf-8')) return m.hexdigest() if not os.path.exists("bad.db"): with sqlite3.connect("bad.db") as connection: c = connection.cursor()...
31.75
118
0.673228
91
762
5.582418
0.494505
0.062992
0.082677
0.106299
0.194882
0.194882
0
0
0
0
0
0.012539
0.16273
762
23
119
33.130435
0.783699
0
0
0
0
0
0.364829
0.080052
0
0
0
0
0
1
0.117647
false
0.352941
0.176471
0.058824
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
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
be18afca64c46e4ee398cc2d87b36d10b07d8339
5,468
py
Python
app/views/shortcuts.py
danmanners/memegen
9873e95bf4c2a69f9990058a75942257d41547e7
[ "MIT" ]
1
2022-02-11T21:28:11.000Z
2022-02-11T21:28:11.000Z
app/views/shortcuts.py
ykdong/memegen
2eefb27fc2ed02598c9c6bb3cc2d22de4ae67409
[ "MIT" ]
null
null
null
app/views/shortcuts.py
ykdong/memegen
2eefb27fc2ed02598c9c6bb3cc2d22de4ae67409
[ "MIT" ]
null
null
null
from sanic import Blueprint, exceptions, response from sanic.log import logger from sanic_openapi import doc from .. import models, settings, utils blueprint = Blueprint("Shortcuts", url_prefix="/") @blueprint.get(r"/images/<template_id:[^.]+>") @doc.summary("Redirect to an example image") @doc.consumes(doc.String(...
39.623188
87
0.703548
702
5,468
5.346154
0.156695
0.114575
0.033573
0.047962
0.730616
0.712497
0.67093
0.597655
0.597655
0.570477
0
0.008198
0.152341
5,468
137
88
39.912409
0.80151
0
0
0.512821
0
0
0.235552
0.056876
0
0
0
0
0
1
0
false
0
0.034188
0
0.111111
0.068376
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
be1a8ca4a92e039a18e37be7b4b31bf971bba7dd
671
py
Python
ball.py
pamelatsabou/Python-codes
567de4b758218fa4381fd8908a7010406a8d9bf8
[ "MIT" ]
null
null
null
ball.py
pamelatsabou/Python-codes
567de4b758218fa4381fd8908a7010406a8d9bf8
[ "MIT" ]
null
null
null
ball.py
pamelatsabou/Python-codes
567de4b758218fa4381fd8908a7010406a8d9bf8
[ "MIT" ]
null
null
null
from turtle import Turtle class Ball(Turtle): def __init__(self): super().__init__() self.shape("circle") self.color("purple") self.speed("fastest") self.penup() self.x_move = 1 self.y_move = 1 self.move_speed = 0.01 def move_ball(self): ...
23.137931
41
0.567809
92
671
3.869565
0.347826
0.05618
0.075843
0.05618
0.160112
0.106742
0
0
0
0
0
0.023707
0.308495
671
29
42
23.137931
0.743534
0
0
0
0
0
0.028274
0
0
0
0
0
0
1
0.217391
false
0
0.043478
0
0.304348
0
0
0
0
null
0
0
0
0
0
0
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
be20009c1ce32576a1ebecd2f262658789260bfe
2,641
py
Python
flask_app/models/housekeeper.py
MapleLeo/Housekeeping
3465363a240ab9264dce0bcd89e2398d8856ab2e
[ "MIT" ]
null
null
null
flask_app/models/housekeeper.py
MapleLeo/Housekeeping
3465363a240ab9264dce0bcd89e2398d8856ab2e
[ "MIT" ]
null
null
null
flask_app/models/housekeeper.py
MapleLeo/Housekeeping
3465363a240ab9264dce0bcd89e2398d8856ab2e
[ "MIT" ]
1
2022-02-28T11:41:03.000Z
2022-02-28T11:41:03.000Z
from flask_app.config.mysqlconnection import connectToMySQL from flask import flash import re EMAIL_REGEX = re.compile(r'^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9._-]+\.[a-zA-Z]+$') class Housekeeper: db = 'housekeeping' def __init__(self,data): self.id = data['id'] self.first_name = data['first_name'] ...
39.41791
148
0.622491
319
2,641
5.00627
0.250784
0.043832
0.028178
0.043832
0.375078
0.375078
0.345022
0.243582
0.214152
0.174076
0
0.007107
0.25407
2,641
67
149
39.41791
0.803553
0
0
0.245902
0
0.032787
0.286147
0.017033
0
0
0
0
0
1
0.098361
false
0.098361
0.04918
0
0.278689
0
0
0
0
null
0
0
0
0
0
0
0
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
be2198b24e3f61ec0677197adab236707f051746
1,849
py
Python
training-to-cache/main.py
mikesparr/ai-demo-functions
8fb398bcc2826874126605d650f9bafde88b14a1
[ "MIT" ]
4
2020-12-21T22:37:59.000Z
2021-11-29T05:58:24.000Z
training-to-cache/main.py
mikesparr/ai-demo-functions
8fb398bcc2826874126605d650f9bafde88b14a1
[ "MIT" ]
null
null
null
training-to-cache/main.py
mikesparr/ai-demo-functions
8fb398bcc2826874126605d650f9bafde88b14a1
[ "MIT" ]
null
null
null
import os import time import datetime import base64 import json import redis example = """ { 'job_id': "UUID", 'model_file_name': "model.joblib", 'records': 1400, 'accuracy': 0.98, 'report': {}, 'data_prep_time': 0.001, 'training_time': 0.020, 'testing_time': 0.004 } """ jobs_key = 'jo...
27.597015
76
0.664143
241
1,849
4.900415
0.406639
0.030483
0.04403
0.032176
0
0
0
0
0
0
0
0.021477
0.194159
1,849
67
77
27.597015
0.771141
0.16874
0
0
0
0
0.354732
0.029782
0
0
0
0.014925
0
1
0.021277
false
0
0.12766
0
0.148936
0.106383
0
0
0
null
0
0
0
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
be248db0a2e746e895be4005a5fa3c790c639ee9
4,238
py
Python
seahub/two_factor/models/totp.py
gzy403999903/seahub
992e5852579a6d9e0cfdaf18c77ce0191cb64449
[ "Apache-2.0" ]
null
null
null
seahub/two_factor/models/totp.py
gzy403999903/seahub
992e5852579a6d9e0cfdaf18c77ce0191cb64449
[ "Apache-2.0" ]
6
2019-12-13T09:55:45.000Z
2022-03-11T23:47:29.000Z
seahub/two_factor/models/totp.py
gzy403999903/seahub
992e5852579a6d9e0cfdaf18c77ce0191cb64449
[ "Apache-2.0" ]
1
2019-05-16T06:58:16.000Z
2019-05-16T06:58:16.000Z
# Copyright (c) 2012-2016 Seafile Ltd. from __future__ import absolute_import, division, print_function, unicode_literals from binascii import unhexlify import time from django.conf import settings from django.db import models from seahub.two_factor.oath import TOTP from seahub.two_factor.utils import random_hex, he...
36.222222
148
0.64016
565
4,238
4.722124
0.309735
0.02099
0.024738
0.022489
0.220015
0.15967
0.15967
0.153673
0.153673
0.10045
0
0.014166
0.267107
4,238
116
149
36.534483
0.844816
0.403728
0
0.085106
0
0
0.166456
0
0
0
0
0
0
1
0.085106
false
0
0.170213
0.042553
0.531915
0.021277
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
be256523027d7e119cecf1dea5da1bbb0e73c556
3,166
py
Python
src/fintrist_app/studies/forms.py
tristanbrown/fintrist
38875e4f2c3ab4db31195c798c4262a2f51e4a22
[ "MIT" ]
null
null
null
src/fintrist_app/studies/forms.py
tristanbrown/fintrist
38875e4f2c3ab4db31195c798c4262a2f51e4a22
[ "MIT" ]
null
null
null
src/fintrist_app/studies/forms.py
tristanbrown/fintrist
38875e4f2c3ab4db31195c798c4262a2f51e4a22
[ "MIT" ]
1
2022-01-21T21:10:38.000Z
2022-01-21T21:10:38.000Z
"""Forms allowing CRUD operations for Studies""" from flask_wtf import FlaskForm from wtforms import (StringField, SubmitField, SelectField, IntegerField, SelectMultipleField, BooleanField, validators) from fintrist import Study, BaseStudy, Trigger from fintrist_app import util class AddForm(Fla...
38.609756
92
0.671826
329
3,166
6.355623
0.31003
0.063128
0.030129
0.017217
0.272597
0.272597
0.272597
0.238164
0.238164
0.238164
0
0
0.218572
3,166
81
93
39.08642
0.84519
0.047694
0
0.308824
0
0
0.104383
0
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.705882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
be296299905664bc079dc1e603c0e140b14e2420
6,622
py
Python
recipe_backend/recipes/views.py
jbernal0019/Recipe_site
30090b521cac84156cf5f05429a12dd5889f8703
[ "MIT" ]
null
null
null
recipe_backend/recipes/views.py
jbernal0019/Recipe_site
30090b521cac84156cf5f05429a12dd5889f8703
[ "MIT" ]
3
2020-02-12T01:22:24.000Z
2021-06-10T21:49:21.000Z
recipe_backend/recipes/views.py
jbernal0019/Recipe_site
30090b521cac84156cf5f05429a12dd5889f8703
[ "MIT" ]
null
null
null
from rest_framework import generics, permissions from rest_framework.reverse import reverse from collectionjson import services from .models import Recipe, RecipeFilter from .models import Step from .models import Ingredient from .serializers import RecipeSerializer from .serializers import StepSerializer from .seri...
35.223404
84
0.663244
672
6,622
6.422619
0.15625
0.033364
0.039388
0.037535
0.688137
0.658017
0.658017
0.616543
0.561631
0.51367
0
0
0.242978
6,622
187
85
35.411765
0.860962
0.198732
0
0.548387
0
0
0.023878
0.004898
0
0
0
0
0
1
0.11828
false
0
0.107527
0
0.612903
0
0
0
0
null
0
0
0
0
0
0
0
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
0779b605ca319d28e3476b0678563fe2fbcf3324
224
py
Python
configs/fcosrbox/schedules/40k_iter_hrsc.py
RangeKing/FCOSR
b92f0cee2e89d6a268884bacd02fb28881cd44a4
[ "Apache-2.0" ]
38
2021-11-23T02:58:47.000Z
2022-03-21T08:16:59.000Z
configs/fcosrbox/schedules/40k_iter_hrsc.py
RangeKing/FCOSR
b92f0cee2e89d6a268884bacd02fb28881cd44a4
[ "Apache-2.0" ]
15
2021-12-06T07:51:04.000Z
2022-03-29T11:35:29.000Z
configs/fcosrbox/schedules/40k_iter_hrsc.py
RangeKing/FCOSR
b92f0cee2e89d6a268884bacd02fb28881cd44a4
[ "Apache-2.0" ]
12
2021-11-23T02:58:50.000Z
2022-03-24T01:18:23.000Z
lr_config = dict( policy='step', warmup='linear', warmup_iters=400, warmup_ratio=1.0/3, step=[30000, 36000]) runner = dict(type='IterBasedRunner', max_iters=40000) checkpoint_config = dict(interval=1000)
24.888889
54
0.691964
30
224
5
0.766667
0.133333
0
0
0
0
0
0
0
0
0
0.132979
0.160714
224
9
55
24.888889
0.664894
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
077a320fe5ede22c0f30846132870824f015e4bf
2,508
py
Python
great_expectations/validator/validation_graph.py
markovml/great_expectations
0b4b8924a0ee6aff4ffdf235f074a8681ffa1658
[ "Apache-2.0" ]
2
2020-01-28T13:51:53.000Z
2020-01-28T23:13:06.000Z
great_expectations/validator/validation_graph.py
markovml/great_expectations
0b4b8924a0ee6aff4ffdf235f074a8681ffa1658
[ "Apache-2.0" ]
null
null
null
great_expectations/validator/validation_graph.py
markovml/great_expectations
0b4b8924a0ee6aff4ffdf235f074a8681ffa1658
[ "Apache-2.0" ]
1
2022-01-26T03:25:34.000Z
2022-01-26T03:25:34.000Z
import copy from typing import Dict, List, Optional, Tuple from great_expectations.core.id_dict import IDDict class MetricConfiguration: def __init__( self, metric_name: str, metric_domain_kwargs: Dict, metric_value_kwargs: dict = None, metric_dependencies: dict = None, ...
26.680851
88
0.645136
298
2,508
5.087248
0.154362
0.085752
0.145778
0.065963
0.26847
0.137203
0.043536
0
0
0
0
0
0.280303
2,508
93
89
26.967742
0.839889
0
0
0.135135
0
0
0
0
0
0
0
0
0
1
0.189189
false
0
0.040541
0.121622
0.418919
0
0
0
0
null
0
0
0
0
0
0
0
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
077d097eb712d2a87da189e95028b1df65822d29
490
py
Python
emailutil/emailutil.py
cityofaustin/atd-utils-email
bcf2c55fe770745a2ed6da22e44971ef6ceaae37
[ "CC0-1.0" ]
2
2018-06-15T03:34:10.000Z
2018-06-21T20:28:56.000Z
emailutil/emailutil.py
cityofaustin/atd-utils-email
bcf2c55fe770745a2ed6da22e44971ef6ceaae37
[ "CC0-1.0" ]
null
null
null
emailutil/emailutil.py
cityofaustin/atd-utils-email
bcf2c55fe770745a2ed6da22e44971ef6ceaae37
[ "CC0-1.0" ]
null
null
null
""" Send emails with Google Mail account credentials. """ import yagmail def send_email(to, subject, body, user, password): print("Send email to {}".format(to)) EMAIL_FOOTER = """ \n This is an automated message generated by Austin Transportation's Arterial Management Division. To unsubscribe, contac...
27.222222
160
0.708163
63
490
5.460317
0.650794
0.052326
0.063953
0
0
0
0
0
0
0
0
0
0.183673
490
18
161
27.222222
0.86
0.1
0
0
0
0.1
0.435484
0.082949
0
0
0
0
0
1
0.1
false
0.2
0.1
0
0.2
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
077f5ac2c946abecf6e1306c20c75b404f0111c4
3,034
py
Python
secret_santa/secret_santa.py
stephenramthun/secret_santa
c99a6034fc14f11ef69bbac73cca88695f780890
[ "MIT" ]
null
null
null
secret_santa/secret_santa.py
stephenramthun/secret_santa
c99a6034fc14f11ef69bbac73cca88695f780890
[ "MIT" ]
null
null
null
secret_santa/secret_santa.py
stephenramthun/secret_santa
c99a6034fc14f11ef69bbac73cca88695f780890
[ "MIT" ]
null
null
null
import random import csv import sys import argparse from email_handler import get_template, EmailHandler class Participant: def __init__(self, name='no name', email='no email'): self.name = name self.email = email def assign_receiver(self, receiver): self.receiver = receiver def _...
30.959184
90
0.678642
385
3,034
5.233766
0.309091
0.034739
0.013896
0.037717
0
0
0
0
0
0
0
0.00553
0.225115
3,034
97
91
31.278351
0.851553
0.281477
0
0
0
0
0.073537
0
0
0
0
0
0
1
0.166667
false
0.074074
0.092593
0.037037
0.37037
0.074074
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0780f490206b206e41880c5a5737c9e4b36b50c0
1,140
py
Python
plugins/jamf/icon_jamf/connection/connection.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/jamf/icon_jamf/connection/connection.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/jamf/icon_jamf/connection/connection.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
import komand from .schema import ConnectionSchema, Input # Custom imports below from komand.exceptions import ConnectionTestException import requests from requests.auth import HTTPBasicAuth class Connection(komand.Connection): def __init__(self): super(self.__class__, self).__init__(input=ConnectionSche...
30.810811
111
0.67807
125
1,140
6.016
0.424
0.053191
0.073138
0.031915
0.106383
0
0
0
0
0
0
0.0033
0.202632
1,140
36
112
31.666667
0.823982
0.017544
0
0
0
0
0.104651
0.022361
0
0
0
0
0
1
0.125
false
0.083333
0.208333
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
0783bbfd1a4419bfc60d9f43a8c0bf6f6af845e7
1,677
py
Python
pbgpp/Output/Filters/WithdrawnFilter.py
pierky/pbgp-parser
405c00669fe2313dc06a59307cb2968e0487050a
[ "Apache-2.0" ]
null
null
null
pbgpp/Output/Filters/WithdrawnFilter.py
pierky/pbgp-parser
405c00669fe2313dc06a59307cb2968e0487050a
[ "Apache-2.0" ]
null
null
null
pbgpp/Output/Filters/WithdrawnFilter.py
pierky/pbgp-parser
405c00669fe2313dc06a59307cb2968e0487050a
[ "Apache-2.0" ]
2
2019-05-17T13:19:48.000Z
2022-01-28T11:37:16.000Z
# # This file is part of PCAP BGP Parser (pbgpp) # # Copyright 2016 DE-CIX Management GmbH # Author: Tobias Hannaske <tobias.hannaske@de-cix.net> # # 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 ...
34.9375
84
0.657126
221
1,677
4.927602
0.574661
0.055096
0.023875
0.029385
0
0
0
0
0
0
0
0.007481
0.282648
1,677
47
85
35.680851
0.897756
0.533095
0
0.176471
0
0
0
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
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
0783f1ea03a1870854b22e1658d3c0a37037be20
3,654
py
Python
website/auth.py
JagTheFriend/Cloud-Storage
60dfccd836752d8a4a94ffc95ba1e27077b1bcf1
[ "Apache-2.0" ]
null
null
null
website/auth.py
JagTheFriend/Cloud-Storage
60dfccd836752d8a4a94ffc95ba1e27077b1bcf1
[ "Apache-2.0" ]
null
null
null
website/auth.py
JagTheFriend/Cloud-Storage
60dfccd836752d8a4a94ffc95ba1e27077b1bcf1
[ "Apache-2.0" ]
1
2021-09-04T16:12:14.000Z
2021-09-04T16:12:14.000Z
from re import findall from . import db, log from flask.helpers import flash, url_for from flask import Blueprint, render_template, request from flask_login import login_user, login_required, current_user, logout_user from website.models import User from werkzeug.utils import redirect from werkzeug.security import ch...
35.823529
94
0.619869
462
3,654
4.813853
0.25974
0.046763
0.03777
0.044964
0.306205
0.229317
0.080935
0.052158
0.044065
0.044065
0
0.004783
0.256158
3,654
101
95
36.178218
0.813466
0.133279
0
0.144928
0
0.028986
0.21515
0.015913
0
0
0
0.009901
0
1
0.043478
false
0.173913
0.115942
0
0.231884
0.028986
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
07850f679819e2c6fb476967bc63e9cb2db204ec
483
py
Python
config/base.py
microserv/Index-service
9c4894f3802cf24950dfc952d24589d1bd107ae6
[ "MIT" ]
null
null
null
config/base.py
microserv/Index-service
9c4894f3802cf24950dfc952d24589d1bd107ae6
[ "MIT" ]
null
null
null
config/base.py
microserv/Index-service
9c4894f3802cf24950dfc952d24589d1bd107ae6
[ "MIT" ]
null
null
null
# General stopword_file_path = "stopwords_norwegian.txt" comm_host = "http://127.0.0.1:9001/" # DHT host content_module_name = "publishing" # Name of the content module in the DHT. # Postgres database db_host = "despina.128.no" db_port = "5432" db_name = "index" db_user = "index" db_pass = "F3qwG21C" server_port = 80...
25.421053
77
0.732919
79
483
4.278481
0.708861
0.076923
0
0
0
0
0
0
0
0
0
0.059113
0.15942
483
18
78
26.833333
0.773399
0.362319
0
0
0
0
0.323333
0.076667
0
0
0
0
0
1
0
false
0.090909
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0786990ca9a6d6ede35a671a30efa22020cff552
22,244
py
Python
bin/crankd.py
nigelkersten/pymacadmin
385d0bf92de674b2bb976c477afe481a148771d8
[ "Apache-2.0" ]
68
2015-03-19T03:06:28.000Z
2022-03-13T20:57:14.000Z
bin/crankd.py
nigelkersten/pymacadmin
385d0bf92de674b2bb976c477afe481a148771d8
[ "Apache-2.0" ]
null
null
null
bin/crankd.py
nigelkersten/pymacadmin
385d0bf92de674b2bb976c477afe481a148771d8
[ "Apache-2.0" ]
7
2015-08-14T02:50:49.000Z
2020-04-13T03:44:25.000Z
#!/usr/bin/python2.7 # encoding: utf-8 """ Usage: %prog Monitor system event notifications Configuration: The configuration file is divided into sections for each class of events. Each section is a dictionary using the event condition as the key ("NSWorkspaceDidWakeNotification", "State:/Network/Global/IPv4", etc)....
37.011647
144
0.666562
2,656
22,244
5.448419
0.236822
0.007049
0.014097
0.005252
0.065787
0.027227
0.008569
0.008569
0.008569
0.008569
0
0.005895
0.237367
22,244
600
145
37.073333
0.847147
0.084967
0
0.105691
0
0
0.190781
0.038735
0
0
0
0.003333
0.00271
0
null
null
0.00542
0.065041
null
null
0.02981
0
0
0
null
0
0
0
0
0
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
078a402d3614290f83df6d38f3aa984d44ad3752
683
py
Python
back/api/migrations/0023_auto_20210224_1542.py
maltaesousa/geoshop2
624c6d79b5a29b39a898e0d1332fb8de23bd96e4
[ "BSD-3-Clause" ]
null
null
null
back/api/migrations/0023_auto_20210224_1542.py
maltaesousa/geoshop2
624c6d79b5a29b39a898e0d1332fb8de23bd96e4
[ "BSD-3-Clause" ]
155
2020-01-06T09:32:32.000Z
2022-03-31T09:21:39.000Z
back/api/migrations/0023_auto_20210224_1542.py
maltaesousa/geoshop2
624c6d79b5a29b39a898e0d1332fb8de23bd96e4
[ "BSD-3-Clause" ]
3
2020-01-29T15:48:02.000Z
2020-06-04T12:50:24.000Z
# Generated by Django 3.0.8 on 2021-02-24 14:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0022_auto_20210129_1804'), ] operations = [ migrations.AlterField( model_name='order', name='status', ...
35.947368
352
0.617862
72
683
5.736111
0.708333
0.048426
0
0
0
0
0
0
0
0
0
0.060109
0.196193
683
18
353
37.944444
0.692168
0.065886
0
0
1
0
0.330189
0.036164
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
078d5064a236822c94e5977149e188b1435fe259
17,191
py
Python
odincal/odincal/level1b_exporter_32.py
Odin-SMR/odincal
4c40f0d762b5ee8cbfd7f305cf6aa7ed9ec50206
[ "MIT" ]
null
null
null
odincal/odincal/level1b_exporter_32.py
Odin-SMR/odincal
4c40f0d762b5ee8cbfd7f305cf6aa7ed9ec50206
[ "MIT" ]
null
null
null
odincal/odincal/level1b_exporter_32.py
Odin-SMR/odincal
4c40f0d762b5ee8cbfd7f305cf6aa7ed9ec50206
[ "MIT" ]
null
null
null
import numpy import copy from odin import odin from pg import DB from sys import stderr, stdout, stdin, argv, exit import os import string class db(DB): def __init__(self): passwd = os.getenv('ODINDB_PASSWD') DB.__init__( self, dbname='odin', user='odinop', ...
36.191579
79
0.519691
2,059
17,191
4.27052
0.196212
0.009667
0.004777
0.005914
0.237348
0.187877
0.174002
0.151257
0.151257
0.137837
0
0.03843
0.352161
17,191
474
80
36.267932
0.7511
0.074399
0
0.190231
0
0
0.243303
0.064594
0
0
0
0
0
0
null
null
0.005141
0.017995
null
null
0.028278
0
0
0
null
0
0
0
0
0
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
07901e69df93fa5a113aa0fcfe10fcb99cfed841
2,954
py
Python
tsv2xml.py
teuben/LiveStreamedAstronomy
42ace3dc7a0198b5938a3fe49533c3b40cbb0780
[ "MIT" ]
null
null
null
tsv2xml.py
teuben/LiveStreamedAstronomy
42ace3dc7a0198b5938a3fe49533c3b40cbb0780
[ "MIT" ]
null
null
null
tsv2xml.py
teuben/LiveStreamedAstronomy
42ace3dc7a0198b5938a3fe49533c3b40cbb0780
[ "MIT" ]
null
null
null
#! /usr/bin/env python # # convert a | separated CSV/TSV file into an RSS feed.xml file # # Example taken for the corona induces AAS listing of live-streamed events # # Another example is the CADC meeting RSS feed,which seems to be using # http://www1.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/cadcbin/meetings/rss-meetings.p...
31.094737
98
0.637441
447
2,954
4.208054
0.400447
0.034556
0.038278
0.05848
0.179692
0.158426
0.094631
0.072302
0
0
0
0.023064
0.178064
2,954
94
99
31.425532
0.751647
0.271835
0
0.039216
0
0.078431
0.603205
0.012253
0
0
0
0
0
1
0.019608
false
0
0.039216
0
0.098039
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0796d91df50fe3bbe454025b1adf4f15fb2ddb13
36,236
py
Python
lingvo/core/layers_with_gpipe_test.py
Singed-jj/lingvo
a2a4ac8bd835ffc2f95fc38ee3e9bc17c30fcc56
[ "Apache-2.0" ]
null
null
null
lingvo/core/layers_with_gpipe_test.py
Singed-jj/lingvo
a2a4ac8bd835ffc2f95fc38ee3e9bc17c30fcc56
[ "Apache-2.0" ]
null
null
null
lingvo/core/layers_with_gpipe_test.py
Singed-jj/lingvo
a2a4ac8bd835ffc2f95fc38ee3e9bc17c30fcc56
[ "Apache-2.0" ]
null
null
null
# Lint as: python3 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
42.134884
91
0.625069
4,276
36,236
5.022685
0.126286
0.013363
0.023746
0.01937
0.689947
0.680402
0.668157
0.638544
0.625832
0.610095
0
0.087741
0.258031
36,236
859
92
42.183935
0.711076
0.035434
0
0.612817
0
0
0.048874
0.004727
0
0
0
0
0.020027
1
0.030708
false
0
0.016021
0
0.061415
0.008011
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
079d2dc00d1c899a574b46cbddf7ff201b272a05
338
py
Python
Ene-Jun-2019/juanalmaguer/PracticaUno/8.12 - Sandwiches.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
41
2017-09-26T09:36:32.000Z
2022-03-19T18:05:25.000Z
Ene-Jun-2019/juanalmaguer/PracticaUno/8.12 - Sandwiches.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
67
2017-09-11T05:06:12.000Z
2022-02-14T04:44:04.000Z
Ene-Jun-2019/juanalmaguer/PracticaUno/8.12 - Sandwiches.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
210
2017-09-01T00:10:08.000Z
2022-03-19T18:05:12.000Z
def make_sandwich(*ingredients): """Summarize the pizza we are about to make.""" print("\nMaking sandwich with the following ingredients:") for ingredient in ingredients: print("- " + ingredient) make_sandwich( 'lettuce', 'ham', 'cheese') make_sandwich( 'avocado', 'onion','tomato','pickles') make_...
30.727273
63
0.683432
39
338
5.820513
0.641026
0.211454
0
0
0
0
0
0
0
0
0
0
0.16568
338
10
64
33.8
0.804965
0.121302
0
0
0
0
0.327586
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.285714
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
079eab748117b2ef4c25fe19762a7b4f3b07efbf
602
py
Python
snow/request/helpers/delete.py
sulbig/snow
2f838a0bdf9b626cec5119c03b743abe812db311
[ "MIT" ]
null
null
null
snow/request/helpers/delete.py
sulbig/snow
2f838a0bdf9b626cec5119c03b743abe812db311
[ "MIT" ]
null
null
null
snow/request/helpers/delete.py
sulbig/snow
2f838a0bdf9b626cec5119c03b743abe812db311
[ "MIT" ]
null
null
null
from snow.request import DeleteRequest from snow.exceptions import UnexpectedResponse class Deleter: def __init__(self, resource): self.resource = resource async def delete(self, object_id): response, content = await DeleteRequest(self.resource, object_id).send() if response.status ==...
28.666667
80
0.624585
63
602
5.873016
0.587302
0.097297
0
0
0
0
0
0
0
0
0
0.007026
0.290698
602
20
81
30.1
0.859485
0
0
0
0
0
0.142857
0
0
0
0
0
0
1
0.0625
false
0.0625
0.125
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
07a22c6c1f6985049917f1eb6d9e7b84a031a202
365
py
Python
test/parser/unit_operators/create_testcases/onnx_runner_execute.py
k4rth33k/dnnc-operators
a7fe3f1240c12b3438558def71fbfcd4520446c3
[ "Apache-2.0" ]
5
2019-08-16T14:35:17.000Z
2020-07-11T23:59:22.000Z
test/parser/unit_operators/create_testcases/onnx_runner_execute.py
k4rth33k/dnnc-operators
a7fe3f1240c12b3438558def71fbfcd4520446c3
[ "Apache-2.0" ]
6
2019-08-12T04:38:14.000Z
2019-09-04T16:32:13.000Z
test/parser/unit_operators/create_testcases/onnx_runner_execute.py
k4rth33k/dnnc-operators
a7fe3f1240c12b3438558def71fbfcd4520446c3
[ "Apache-2.0" ]
7
2019-08-15T13:29:00.000Z
2019-09-09T17:08:04.000Z
from onnx_runner_generator import generate_onnx_runner operators = {} operators['Sigmoid'] = { 'inputs':'[np.array([1, 2, 3]).astype(np.float32)]' } operators['BitShift'] = { 'inputs':'[np.random.randn((2,3,4)),np.random.randn((2,3,4))]' } for operator, operator_info in operators.items(): generate_onn...
24.333333
63
0.682192
49
365
4.918367
0.510204
0.124481
0.149378
0.116183
0.13278
0.13278
0
0
0
0
0
0.034375
0.123288
365
14
64
26.071429
0.71875
0
0
0
1
0.1
0.353276
0.210826
0
0
0
0
0
1
0
false
0
0.1
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
07a71e92ea54756623af5a2f8eb437154207b2c5
5,643
py
Python
pymoa/device/port.py
matham/moa
4a82a4528e4721a035fbbb252bd6d746711ee9f4
[ "MIT" ]
1
2020-06-11T17:08:46.000Z
2020-06-11T17:08:46.000Z
pymoa/device/port.py
matham/moa
4a82a4528e4721a035fbbb252bd6d746711ee9f4
[ "MIT" ]
null
null
null
pymoa/device/port.py
matham/moa
4a82a4528e4721a035fbbb252bd6d746711ee9f4
[ "MIT" ]
null
null
null
"""Channel Devices ==================== Some simple implementations of :class:`~pymoa.device.Device`. See classes """ from typing import List from kivy.properties import ObjectProperty from pymoa.device import Device __all__ = ('ChannelBase', 'Channel', 'Port', ) class ChannelBase(Device): """A somewhat more c...
37.125
80
0.651781
730
5,643
5.00137
0.294521
0.024103
0.013147
0.019721
0.118324
0.092577
0.068474
0.068474
0.068474
0.068474
0
0.001907
0.256601
5,643
151
81
37.370861
0.868415
0.715222
0
0.2
0
0
0.040293
0
0
0
0
0
0
1
0
false
0.066667
0.2
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
07a79852922f3a67dbee3927edc1d228e74c6e8e
6,917
py
Python
pysparsa/sparsa.py
ericmjonas/pySpaRSA
800ec0d17b3d7f3f9f58dba1b07c664730a5382c
[ "MIT" ]
4
2016-06-02T20:15:12.000Z
2019-07-26T11:06:29.000Z
pysparsa/sparsa.py
ericmjonas/pySpaRSA
800ec0d17b3d7f3f9f58dba1b07c664730a5382c
[ "MIT" ]
null
null
null
pysparsa/sparsa.py
ericmjonas/pySpaRSA
800ec0d17b3d7f3f9f58dba1b07c664730a5382c
[ "MIT" ]
null
null
null
import numpy as np import sys import util import time default_phi_function = lambda x: np.sum(np.abs(x)) default_psi_function = util.soft def sparsa(y, Aop, tau, stopCriterion = 2, tolA = 0.01, tolD = 0.001, debias=0, maxiter = 10000, maxiter_debias = 200, miniter = 5, miniter_debias=0, ...
30.742222
136
0.492265
759
6,917
4.346509
0.26614
0.009094
0.015762
0.008487
0.059412
0.045468
0.045468
0.021219
0.021219
0.021219
0
0.021061
0.430244
6,917
224
137
30.879464
0.816037
0.128235
0
0.172414
0
0
0.029095
0
0
0
0
0.004464
0
0
null
null
0.02069
0.027586
null
null
0.013793
0
0
0
null
0
0
0
0
0
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
07abee2e715035c893e89050515d758623a901c4
4,418
py
Python
SRC/TEST-SRC/testequil.py
usnistgov/OOF3D
4fd423a48aea9c5dc207520f02de53ae184be74c
[ "X11" ]
31
2015-04-01T15:59:36.000Z
2022-03-18T20:21:47.000Z
SRC/TEST-SRC/testequil.py
usnistgov/OOF3D
4fd423a48aea9c5dc207520f02de53ae184be74c
[ "X11" ]
3
2015-02-06T19:30:24.000Z
2017-05-25T14:14:31.000Z
SRC/TEST-SRC/testequil.py
usnistgov/OOF3D
4fd423a48aea9c5dc207520f02de53ae184be74c
[ "X11" ]
7
2015-01-23T15:19:22.000Z
2021-06-09T09:03:59.000Z
# -*- python -*- # This software was produced by NIST, an agency of the U.S. government, # and by statute is not subject to copyright in the United States. # Recipients of this software assume all responsibilities associated # with its operation, modification and maintenance. However, to # facilitate maintenance we as...
28.503226
78
0.689226
559
4,418
5.406082
0.39356
0.00728
0.005956
0.01456
0.088683
0.078094
0.037062
0
0
0
0
0.019735
0.197148
4,418
154
79
28.688312
0.832253
0.231779
0
0.088889
0
0
0.127717
0
0
0
0
0
0
0
null
null
0
0.166667
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
07ac7532dba2da5583ee7c03ce8cc70f31782cb6
2,355
py
Python
xl2code/writers/py_writer.py
youlanhai/ExcelToCode
d160c75b9b7a305f4b3367d85ee0550572869d3e
[ "MIT" ]
47
2017-06-23T07:47:50.000Z
2022-03-07T22:36:19.000Z
xl2code/writers/py_writer.py
twjitm/ExcelToCode
d160c75b9b7a305f4b3367d85ee0550572869d3e
[ "MIT" ]
1
2019-03-12T06:12:50.000Z
2019-04-03T00:50:01.000Z
xl2code/writers/py_writer.py
twjitm/ExcelToCode
d160c75b9b7a305f4b3367d85ee0550572869d3e
[ "MIT" ]
23
2017-05-12T07:46:07.000Z
2022-01-22T03:19:50.000Z
# -*- coding: utf-8 -*- from base_writer import BaseWriter class PyWriter(BaseWriter): def __init__(self, file_path, data_module = None, generator_info = None): super(PyWriter, self).__init__(file_path, data_module, generator_info) self.write_comment("-*- coding: utf-8 -*-\n") def write_sheet(self, name, sheet...
22.864078
74
0.642038
327
2,355
4.449541
0.223242
0.105155
0.134021
0.065292
0.345704
0.167698
0.167698
0.167698
0.11134
0
0
0.005241
0.189809
2,355
102
75
23.088235
0.757338
0.008917
0
0.138889
0
0
0.050172
0
0
0
0
0
0
0
null
null
0
0.013889
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
07ad70fb827e6cdc5f17cb52eddcdb921e70114f
1,536
py
Python
setup.py
brutasse/rache
fa9cf073376a8c731a13924b84fb8422a771a4ab
[ "BSD-3-Clause" ]
3
2015-07-03T15:47:02.000Z
2016-01-05T00:29:40.000Z
setup.py
brutasse/rache
fa9cf073376a8c731a13924b84fb8422a771a4ab
[ "BSD-3-Clause" ]
null
null
null
setup.py
brutasse/rache
fa9cf073376a8c731a13924b84fb8422a771a4ab
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import sys from distutils.core import setup from setuptools import find_packages with open('README.rst') as readme: long_description = readme.read() with open('requirements.txt') as reqs: install_requires = [ line for line in reqs.read().split('\n') if (line and not ...
29.538462
75
0.611328
168
1,536
5.452381
0.577381
0.145197
0.191048
0.085153
0
0
0
0
0
0
0
0.010563
0.260417
1,536
51
76
30.117647
0.795775
0.013672
0
0
0
0
0.367482
0
0
0
0
0
0
1
0.022727
false
0
0.068182
0
0.113636
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
07b0fcb474ae12e14c8cc9210c1edf06ebb1b10b
7,457
py
Python
orchestra/utils/sys.py
udm88/django-orchestra
49c84f13a8f92427b01231615136549fb5be3a78
[ "Unlicense" ]
68
2015-02-09T10:28:44.000Z
2022-03-12T11:08:36.000Z
orchestra/utils/sys.py
ferminhg/django-orchestra
49c84f13a8f92427b01231615136549fb5be3a78
[ "Unlicense" ]
17
2015-05-01T18:10:03.000Z
2021-03-19T21:52:55.000Z
orchestra/utils/sys.py
ferminhg/django-orchestra
49c84f13a8f92427b01231615136549fb5be3a78
[ "Unlicense" ]
29
2015-03-31T04:51:03.000Z
2022-02-17T02:58:50.000Z
import errno import fcntl import getpass import os import re import select import subprocess import sys import time from django.core.management.base import CommandError def check_root(func): """ Function decorator that checks if user has root permissions """ def wrapped(*args, **kwargs): if getpass.g...
30.561475
103
0.604264
917
7,457
4.818975
0.296619
0.014483
0.007468
0.011315
0.117674
0.099117
0.086897
0.074678
0.056121
0.03666
0
0.006117
0.276519
7,457
243
104
30.687243
0.812975
0.02843
0
0.142045
0
0
0.097752
0.006939
0
0
0
0
0
0
null
null
0.022727
0.068182
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
07b9339849c704504861838684707ec6b2e9100e
384
py
Python
solar_system_objects/views.py
DanielPDWalker/Astrophoto
9a7ee59deb291617baa3ab8724b8ce5970e6ea9f
[ "MIT" ]
null
null
null
solar_system_objects/views.py
DanielPDWalker/Astrophoto
9a7ee59deb291617baa3ab8724b8ce5970e6ea9f
[ "MIT" ]
12
2020-07-26T06:20:22.000Z
2022-03-12T00:43:09.000Z
solar_system_objects/views.py
DanielPDWalker/Astrophoto-API
9a7ee59deb291617baa3ab8724b8ce5970e6ea9f
[ "MIT" ]
null
null
null
from rest_framework import viewsets, permissions from solar_system_objects import serializers, models class SolarSystemViewSet(viewsets.ModelViewSet): """Solar System Object API View""" serializer_class = serializers.SolarSystemSerializer queryset = models.SolarSystemObject.objects.all() permission_c...
29.538462
56
0.78125
35
384
8.428571
0.714286
0.074576
0
0
0
0
0
0
0
0
0
0
0.153646
384
12
57
32
0.907692
0.072917
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
07bb35f506e8e232a9346a33f019df94a67756be
824
wsgi
Python
salt/files/salt-api.wsgi
salt-formulas/salt-formula-salt
ca20bd6aa6e08ad912211c70e365a3d0f495ba54
[ "Apache-2.0" ]
9
2017-04-23T20:18:49.000Z
2020-11-24T20:17:30.000Z
salt/files/salt-api.wsgi
salt-formulas/salt-formula-salt
ca20bd6aa6e08ad912211c70e365a3d0f495ba54
[ "Apache-2.0" ]
27
2017-02-08T07:51:47.000Z
2019-10-07T13:57:39.000Z
salt/files/salt-api.wsgi
salt-formulas/salt-formula-salt
ca20bd6aa6e08ad912211c70e365a3d0f495ba54
[ "Apache-2.0" ]
36
2017-02-05T22:52:07.000Z
2020-06-16T23:12:33.000Z
#!/usr/bin/env python import cherrypy import sys sys.path.append('/srv/salt-api') from saltapi.netapi.rest_cherrypy import app def bootstrap_app(): ''' Grab the opts dict of the master config by trying to import Salt ''' import salt.client opts = salt.client.LocalClient().opts return app.ge...
22.888889
78
0.690534
116
824
4.793103
0.534483
0.03777
0.071942
0
0
0
0
0
0
0
0
0
0.220874
824
35
79
23.542857
0.866044
0.298544
0
0
0
0
0.025974
0
0
0
0
0
0
1
0.1875
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
07bfa41824e260dee2bee28a597dc8818bf647bc
970
py
Python
percy/connection.py
robopsi/python-percy-client
c3a80ed567ad40b2f1eaaea76f0886aa6f0367eb
[ "MIT" ]
1
2017-10-31T11:29:24.000Z
2017-10-31T11:29:24.000Z
percy/connection.py
robopsi/python-percy-client
c3a80ed567ad40b2f1eaaea76f0886aa6f0367eb
[ "MIT" ]
1
2021-03-26T00:50:40.000Z
2021-03-26T00:50:40.000Z
percy/connection.py
rob-opsi/python-percy-client
c3a80ed567ad40b2f1eaaea76f0886aa6f0367eb
[ "MIT" ]
2
2018-06-05T02:33:05.000Z
2021-03-02T11:17:47.000Z
import requests from percy.user_agent import UserAgent class Connection(object): def __init__(self, config, environment): self.config = config self.user_agent = str(UserAgent(config, environment)) def _token_header(self): return "Token token={0}".format(self.config.access_token) d...
32.333333
66
0.615464
104
970
5.576923
0.413462
0.093103
0.067241
0.096552
0.227586
0.227586
0.227586
0.227586
0.227586
0.227586
0
0.001397
0.261856
970
29
67
33.448276
0.808659
0.065979
0
0.347826
0
0
0.10742
0.026578
0
0
0
0.034483
0
1
0.173913
false
0
0.086957
0.043478
0.434783
0
0
0
0
null
0
0
0
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
07c80e7bb0472d820c629b572e69a69417d6ca97
2,647
py
Python
tests/components/efergy/test_init.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
22,481
2020-03-02T13:09:59.000Z
2022-03-31T23:34:28.000Z
tests/components/efergy/test_init.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
31,101
2020-03-02T13:00:16.000Z
2022-03-31T23:57:36.000Z
tests/components/efergy/test_init.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
11,411
2020-03-02T14:19:20.000Z
2022-03-31T22:46:07.000Z
"""Test Efergy integration.""" from pyefergy import exceptions from homeassistant.components.efergy.const import DEFAULT_NAME, DOMAIN from homeassistant.components.sensor import DOMAIN as SENSOR_DOMAIN from homeassistant.config_entries import ConfigEntryState from homeassistant.core import HomeAssistant from homeassis...
42.015873
85
0.765773
332
2,647
5.888554
0.292169
0.042967
0.043478
0.056266
0.426087
0.406138
0.287468
0.287468
0.287468
0.268031
0
0.002214
0.146959
2,647
62
86
42.693548
0.863596
0.009067
0
0.261905
0
0
0.027675
0
0
0
0
0
0.404762
1
0
false
0
0.190476
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
07c9a666d47bc0db1d48f0dd7c8232ced06ba7ad
3,165
py
Python
test/testconfig.py
kwestpharedhat/quay
a0df895005bcd3e53847046f69f6a7add87c88fd
[ "Apache-2.0" ]
null
null
null
test/testconfig.py
kwestpharedhat/quay
a0df895005bcd3e53847046f69f6a7add87c88fd
[ "Apache-2.0" ]
null
null
null
test/testconfig.py
kwestpharedhat/quay
a0df895005bcd3e53847046f69f6a7add87c88fd
[ "Apache-2.0" ]
null
null
null
import os from typing import List, Optional, Dict, Any from datetime import datetime, timedelta from tempfile import NamedTemporaryFile from config import DefaultConfig class FakeTransaction(object): def __enter__(self): return self def __exit__(self, exc_type, value, traceback): pass TES...
27.521739
99
0.709321
353
3,165
5.966006
0.484419
0.041785
0.018993
0.023742
0.054131
0.02754
0
0
0
0
0
0.008627
0.194313
3,165
114
100
27.763158
0.817255
0
0
0
0
0
0.152291
0.018325
0
0
0
0
0
1
0.0375
false
0.0125
0.0625
0.025
0.825
0
0
0
0
null
0
0
0
0
0
0
0
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
07ca6a68c217d0e97b6d5c9798ad075dd0bb8103
1,580
py
Python
test/hdfs/test_local_fs.py
timgates42/pydoop
438c92ed34e2d4f12db7cc1ea3a7ed094206c3a5
[ "Apache-2.0" ]
203
2015-01-02T05:52:49.000Z
2022-03-25T00:05:50.000Z
test/hdfs/test_local_fs.py
timgates42/pydoop
438c92ed34e2d4f12db7cc1ea3a7ed094206c3a5
[ "Apache-2.0" ]
209
2015-01-16T14:14:20.000Z
2022-01-20T16:19:24.000Z
test/hdfs/test_local_fs.py
timgates42/pydoop
438c92ed34e2d4f12db7cc1ea3a7ed094206c3a5
[ "Apache-2.0" ]
63
2015-01-29T08:44:25.000Z
2021-12-24T03:25:15.000Z
# BEGIN_COPYRIGHT # # Copyright 2009-2021 CRS4. # # 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 agree...
26.333333
77
0.696203
206
1,580
5.179612
0.533981
0.056232
0.024367
0.029991
0
0
0
0
0
0
0
0.012831
0.210759
1,580
59
78
26.779661
0.842823
0.363924
0
0
0
0
0.021277
0
0
0
0
0
0.033333
1
0.1
false
0.066667
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
07cd302fb51c79820f9d39c17cdf6ab397501c57
15,326
py
Python
src/mh_en_exec/connection/connection_pb2_grpc.py
kkopus/ExternalNodes
342f5e4151fc4b72839eef06c28ce20bf1746c0d
[ "MIT" ]
null
null
null
src/mh_en_exec/connection/connection_pb2_grpc.py
kkopus/ExternalNodes
342f5e4151fc4b72839eef06c28ce20bf1746c0d
[ "MIT" ]
null
null
null
src/mh_en_exec/connection/connection_pb2_grpc.py
kkopus/ExternalNodes
342f5e4151fc4b72839eef06c28ce20bf1746c0d
[ "MIT" ]
null
null
null
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc from . import connection_pb2 as connection__pb2 class ConnectionGrpcStub(object): """Missing associated documentation comment in .proto file.""" def _...
46.302115
115
0.667624
1,222
15,326
8.119476
0.094108
0.073372
0.041725
0.044749
0.646442
0.545051
0.535376
0.500907
0.495465
0.483975
0
0.004942
0.260603
15,326
330
116
46.442424
0.870632
0.059637
0
0.531915
1
0
0.09249
0.055885
0
0
0
0
0
1
0.070922
false
0
0.007092
0.031915
0.120567
0
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
07cecadf7d077980e4277349e847e3c7a9b387e0
1,168
py
Python
bets/migrations/0001_initial.py
tmooney/zach-loss-counter
979a212b63695b34c201cdeec1309519422b0bae
[ "MIT" ]
null
null
null
bets/migrations/0001_initial.py
tmooney/zach-loss-counter
979a212b63695b34c201cdeec1309519422b0bae
[ "MIT" ]
5
2019-01-08T18:35:19.000Z
2019-03-26T17:58:09.000Z
bets/migrations/0001_initial.py
tmooney/zach-loss-counter
979a212b63695b34c201cdeec1309519422b0bae
[ "MIT" ]
3
2018-11-27T18:06:52.000Z
2019-03-12T18:02:03.000Z
# Generated by Django 2.1.3 on 2018-11-13 19:26 import bets.enums from django.db import migrations, models import enumchoicefield.fields class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Bet', field...
37.677419
156
0.624144
120
1,168
5.958333
0.525
0.05035
0.05035
0.067133
0.075524
0
0
0
0
0
0
0.027211
0.244863
1,168
30
157
38.933333
0.783447
0.038527
0
0
1
0
0.078501
0
0
0
0
0
0
1
0
false
0
0.130435
0
0.304348
0
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
07d1a01fa6a5248c5ad4f56dd8e7acbcc7b65518
275
py
Python
app/models/pitch.py
ShaviyaVictor/pitchit-app
9adb71817812b2c139030e5ddc80aa06eed40ef2
[ "MIT" ]
null
null
null
app/models/pitch.py
ShaviyaVictor/pitchit-app
9adb71817812b2c139030e5ddc80aa06eed40ef2
[ "MIT" ]
null
null
null
app/models/pitch.py
ShaviyaVictor/pitchit-app
9adb71817812b2c139030e5ddc80aa06eed40ef2
[ "MIT" ]
null
null
null
from app import db from datetime import datetime class Pitch(db.Model) : __tablename__ = 'pitches' id = db.Column(db.Integer, primary_key=True) pitches = db.Column(db.String(), nullable=False) createdAt = db.Column(db.DateTime(), default=datetime, nullable=False)
25
72
0.738182
38
275
5.210526
0.552632
0.121212
0.151515
0
0
0
0
0
0
0
0
0
0.138182
275
11
72
25
0.835443
0
0
0
0
0
0.025362
0
0
0
0
0
0
1
0
false
0
0.285714
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
07d2a57da28e43f1eba25f60bd7ba5cc5f1ffa4f
2,620
py
Python
cms_test2/migrations/0014_auto_20180412_1233.py
icemoon1987/django_model_test
af03bf0ed2d1f3896045d012652545e1b1bdf403
[ "Apache-2.0" ]
null
null
null
cms_test2/migrations/0014_auto_20180412_1233.py
icemoon1987/django_model_test
af03bf0ed2d1f3896045d012652545e1b1bdf403
[ "Apache-2.0" ]
null
null
null
cms_test2/migrations/0014_auto_20180412_1233.py
icemoon1987/django_model_test
af03bf0ed2d1f3896045d012652545e1b1bdf403
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2018-04-12 12:33 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('cms_test2', '0013_auto_20180412_1218'), ] operatio...
35.890411
130
0.574809
254
2,620
5.779528
0.354331
0.082425
0.091962
0.108992
0.416894
0.26158
0.085831
0.085831
0.085831
0.085831
0
0.028327
0.285878
2,620
72
131
36.388889
0.75628
0.025954
0
0.4
1
0
0.14084
0.017654
0
0
0
0
0
1
0
false
0
0.046154
0
0.092308
0
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
07d440454d0c04b042ba64336d82957b00183fdb
973
py
Python
ragpicker/crawler/spyeyetracker.py
K4lium/Snakepit
c11f3fb7f78b886dad09421bc84a97ee14b9bf0b
[ "MIT" ]
7
2016-09-09T08:09:24.000Z
2018-03-28T11:51:56.000Z
ragpicker/crawler/spyeyetracker.py
Kalium/Snakepit
c11f3fb7f78b886dad09421bc84a97ee14b9bf0b
[ "MIT" ]
2
2016-11-13T01:43:29.000Z
2017-08-16T07:51:51.000Z
ragpicker/crawler/spyeyetracker.py
K4lium/Snakepit
c11f3fb7f78b886dad09421bc84a97ee14b9bf0b
[ "MIT" ]
8
2016-09-09T08:09:37.000Z
2018-08-15T20:58:14.000Z
# Copyright (C) 2013-2015 Ragpicker Developers. # This file is part of Ragpicker Malware Crawler - http://code.google.com/p/malware-crawler/ import logging from core.abstracts import Crawler try: from yapsy.IPlugin import IPlugin except ImportError: raise ImportError, 'Yapsy (Yet Another Plugin System) is r...
29.484848
121
0.624872
112
973
5.428571
0.6875
0.049342
0
0
0
0
0
0
0
0
0
0.012535
0.262076
973
32
122
30.40625
0.834262
0.146968
0
0
0
0.055556
0.286925
0
0
0
0
0
0
0
null
null
0
0.277778
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
07d4f1955566d9901662a800d8539c216b41dc77
312
py
Python
simp_py_examples/course/SM1801/t006.py
kcfkwok2003/Simp_py
f75e66da01b45dc8688dda602f8b33d4258f0c31
[ "MIT" ]
null
null
null
simp_py_examples/course/SM1801/t006.py
kcfkwok2003/Simp_py
f75e66da01b45dc8688dda602f8b33d4258f0c31
[ "MIT" ]
null
null
null
simp_py_examples/course/SM1801/t006.py
kcfkwok2003/Simp_py
f75e66da01b45dc8688dda602f8b33d4258f0c31
[ "MIT" ]
null
null
null
# t006.py from simp_py import buttonA, buttonB import time while True: if buttonA.isPressed() and buttonB.isPressed(): lcd.text(0,50, "A and B pressed") elif buttonA.isPressed() or buttonB.isPressed(): lcd.text(0,50,"A or B pressed") else: lcd.text(0,50, "No button pressed") time.sleep(0.1)
26
50
0.685897
52
312
4.096154
0.519231
0.098592
0.112676
0.140845
0.253521
0.253521
0.253521
0
0
0
0
0.054264
0.173077
312
11
51
28.363636
0.771318
0.022436
0
0
0
0
0.151815
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
07d65b0d538c77d8bbc5d5a1a25bac344598cbc0
25,475
py
Python
extras/vpp_config/vpplib/VPPUtil.py
pankaj364/vpp
69744f61ecb2628d03dd3492c64d2e6441d3c0bd
[ "Apache-2.0" ]
1
2021-09-27T03:03:03.000Z
2021-09-27T03:03:03.000Z
extras/vpp_config/vpplib/VPPUtil.py
pankaj364/vpp
69744f61ecb2628d03dd3492c64d2e6441d3c0bd
[ "Apache-2.0" ]
null
null
null
extras/vpp_config/vpplib/VPPUtil.py
pankaj364/vpp
69744f61ecb2628d03dd3492c64d2e6441d3c0bd
[ "Apache-2.0" ]
1
2021-09-27T03:03:05.000Z
2021-09-27T03:03:05.000Z
# Copyright (c) 2016 Cisco and/or its affiliates. # 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 ag...
32.044025
106
0.530756
2,874
25,475
4.58142
0.135699
0.02286
0.020961
0.025518
0.609326
0.564669
0.530341
0.493431
0.407002
0.382243
0
0.008676
0.357527
25,475
795
107
32.044025
0.795809
0.068773
0
0.485915
0
0
0.131458
0.00568
0
0
0
0
0
0
null
null
0.002347
0.011737
null
null
0.007042
0
0
0
null
0
0
0
0
0
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
07e2f0e434cc9b609b98700887534cf88fc76e69
1,125
py
Python
image_gallery/tests/cmsplugin_tests.py
tehfink/cmsplugin-image-gallery
5e1ffa77ef8b30d75dbcbd41950af966778e045d
[ "MIT" ]
1
2016-09-12T12:51:51.000Z
2016-09-12T12:51:51.000Z
image_gallery/tests/cmsplugin_tests.py
tehfink/cmsplugin-image-gallery
5e1ffa77ef8b30d75dbcbd41950af966778e045d
[ "MIT" ]
null
null
null
image_gallery/tests/cmsplugin_tests.py
tehfink/cmsplugin-image-gallery
5e1ffa77ef8b30d75dbcbd41950af966778e045d
[ "MIT" ]
1
2019-01-13T21:42:21.000Z
2019-01-13T21:42:21.000Z
"""Tests for models of the ``image_gallery``` application.""" from django.contrib.auth.models import AnonymousUser from django.contrib.sessions.middleware import SessionMiddleware from django.template.context import RequestContext from django.test import TestCase from django.test.client import RequestFactory from mixe...
35.15625
77
0.701333
115
1,125
6.817391
0.46087
0.063776
0.043367
0
0
0
0
0
0
0
0
0
0.201778
1,125
31
78
36.290323
0.873051
0.108444
0
0
0
0
0.035282
0.027218
0
0
0
0
0.045455
1
0.090909
false
0
0.318182
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
07e35e28772b4eccef7bfee9fc6750efb0fad4a8
5,366
py
Python
torch_scatter/segment_coo.py
rdadolf/pytorch_scatter
77cfe4be6435790b930109b668d86dc250bc4a33
[ "MIT" ]
955
2017-12-07T23:46:44.000Z
2022-03-31T11:36:27.000Z
torch_scatter/segment_coo.py
rdadolf/pytorch_scatter
77cfe4be6435790b930109b668d86dc250bc4a33
[ "MIT" ]
271
2017-12-22T12:33:32.000Z
2022-03-30T21:26:41.000Z
torch_scatter/segment_coo.py
rdadolf/pytorch_scatter
77cfe4be6435790b930109b668d86dc250bc4a33
[ "MIT" ]
119
2017-12-07T23:47:44.000Z
2022-03-31T02:02:57.000Z
from typing import Optional, Tuple import torch def segment_sum_coo(src: torch.Tensor, index: torch.Tensor, out: Optional[torch.Tensor] = None, dim_size: Optional[int] = None) -> torch.Tensor: return torch.ops.torch_scatter.segment_sum_coo(src, index, out, dim_size) def ...
38.884058
79
0.633992
766
5,366
4.336815
0.240209
0.102649
0.036424
0.042143
0.383504
0.364539
0.360927
0.360325
0.260385
0.260385
0
0.009976
0.234066
5,366
137
80
39.167883
0.798297
0.54454
0
0.357143
0
0
0.008668
0
0
0
0
0
0
1
0.166667
false
0
0.047619
0.142857
0.452381
0
0
0
0
null
0
0
0
0
0
0
0
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
07e37fdef1c52b35bb8682ccb35e83a9c0239ba8
476
py
Python
app/helpers/domain_helper.py
cosmos-sajal/magic-link
346e828673f298bae9ec3075db8d5e837e4b7aaf
[ "MIT" ]
2
2020-10-19T07:35:59.000Z
2020-10-24T17:43:41.000Z
app/helpers/domain_helper.py
cosmos-sajal/magic-link
346e828673f298bae9ec3075db8d5e837e4b7aaf
[ "MIT" ]
null
null
null
app/helpers/domain_helper.py
cosmos-sajal/magic-link
346e828673f298bae9ec3075db8d5e837e4b7aaf
[ "MIT" ]
null
null
null
from django.conf import settings class DomainHelper(): def __init__(self, request): self.http_host = request.META['HTTP_HOST'] self.domain = settings.REPO_BASE_URL def get_domain_url(self): return self.domain def get_cookie_domain(self, complete_domain): end_index = self....
26.444444
50
0.676471
61
476
4.918033
0.442623
0.08
0.08
0.146667
0
0
0
0
0
0
0
0
0.222689
476
17
51
28
0.810811
0
0
0
0
0
0.023109
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.083333
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
1
0
0
0
0
0
0
0
1
07e673e99f8543006c4e8fd0aa309a734c3a051c
1,312
py
Python
examples/todo_simple.py
TVLIgnacy/flask-restx
3614028ad498259faf257c1c869c5634e85ed042
[ "BSD-3-Clause" ]
1,549
2020-01-09T14:31:10.000Z
2022-03-31T05:10:42.000Z
examples/todo_simple.py
TVLIgnacy/flask-restx
3614028ad498259faf257c1c869c5634e85ed042
[ "BSD-3-Clause" ]
400
2020-01-09T13:47:03.000Z
2022-03-31T13:12:20.000Z
examples/todo_simple.py
TVLIgnacy/flask-restx
3614028ad498259faf257c1c869c5634e85ed042
[ "BSD-3-Clause" ]
272
2020-01-09T14:31:26.000Z
2022-03-28T23:39:27.000Z
from flask import Flask, request from flask_restx import Resource, Api app = Flask(__name__) api = Api(app) todos = {} @api.route("/<string:todo_id>") class TodoSimple(Resource): """ You can try this example as follow: $ curl http://localhost:5000/todo1 -d "data=Remember the milk" -X PUT $ c...
29.818182
86
0.61814
180
1,312
4.388889
0.305556
0.060759
0.172152
0.106329
0.358228
0.258228
0.136709
0
0
0
0
0.044747
0.216463
1,312
43
87
30.511628
0.723735
0.612043
0
0.142857
0
0
0.067757
0
0
0
0
0.325581
0
1
0.142857
false
0
0.142857
0.071429
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
1
0
0
0
0
0
0
0
0
0
0
1
07e80feeebcb0e23c1e95215e4937016cb3b3c53
475
py
Python
setup.py
eloigabal/edinet_data_collector
af64aad1320bd8d2a2d55fd4872447a50122b14a
[ "MIT" ]
null
null
null
setup.py
eloigabal/edinet_data_collector
af64aad1320bd8d2a2d55fd4872447a50122b14a
[ "MIT" ]
null
null
null
setup.py
eloigabal/edinet_data_collector
af64aad1320bd8d2a2d55fd4872447a50122b14a
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='bee_dataframes', version='0.0.2', packages=find_packages(), url='', license='MIT', author='BEE Group - CIMNE', author_email='egabaldon@cimne.upc.edu', install_requires=[ 'pandas', 'numpy', 'pymongo', ...
23.75
63
0.621053
53
475
5.396226
0.773585
0.083916
0
0
0
0
0
0
0
0
0
0.008264
0.235789
475
20
64
23.75
0.779614
0
0
0
0
0
0.334034
0.048319
0
0
0
0
0
1
0
true
0
0.052632
0
0.052632
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
07e9f1cc6afc01977b14da29c37b9089c7147188
1,184
py
Python
general/messenger-bot/messenger_bot.py
gizzmo25/pythoncode-tutorials
39a413fc1da232ad6de7e5f1e8955564dc65448e
[ "MIT" ]
null
null
null
general/messenger-bot/messenger_bot.py
gizzmo25/pythoncode-tutorials
39a413fc1da232ad6de7e5f1e8955564dc65448e
[ "MIT" ]
null
null
null
general/messenger-bot/messenger_bot.py
gizzmo25/pythoncode-tutorials
39a413fc1da232ad6de7e5f1e8955564dc65448e
[ "MIT" ]
null
null
null
from fbchat import Client from fbchat.models import Message, MessageReaction # facebook user credentials username = "username.or.email" password = "password" # login client = Client(username, password) # get 20 users you most recently talked to users = client.fetchThreadList() print(users) # get the d...
31.157895
130
0.716216
161
1,184
5.15528
0.447205
0.120482
0.068675
0.048193
0
0
0
0
0
0
0
0.004188
0.193412
1,184
38
131
31.157895
0.864921
0.223818
0
0
0
0
0.221077
0.030928
0
0
0
0
0
1
0
false
0.111111
0.111111
0
0.111111
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
07ec9d73330e012104828b9788cf7280954c75d8
519
py
Python
papermerge/core/migrations/0024_auto_20200923_1412.py
jcollie/papermerge-core
5e277c26ab30f9fd8c4920ca293d8e1709318198
[ "Apache-2.0" ]
45
2021-01-10T14:33:52.000Z
2022-03-27T14:02:56.000Z
papermerge/core/migrations/0024_auto_20200923_1412.py
jcollie/papermerge-core
5e277c26ab30f9fd8c4920ca293d8e1709318198
[ "Apache-2.0" ]
8
2021-01-08T20:02:21.000Z
2022-02-01T13:12:24.000Z
papermerge/core/migrations/0024_auto_20200923_1412.py
jcollie/papermerge-core
5e277c26ab30f9fd8c4920ca293d8e1709318198
[ "Apache-2.0" ]
12
2021-01-07T20:03:07.000Z
2022-03-24T04:07:51.000Z
# Generated by Django 3.0.10 on 2020-09-23 14:12 from django.db import migrations import taggit.managers class Migration(migrations.Migration): dependencies = [ ('core', '0023_auto_20200921_0456'), ] operations = [ migrations.AlterField( model_name='automate', na...
25.95
170
0.643545
61
519
5.377049
0.786885
0.085366
0
0
0
0
0
0
0
0
0
0.080201
0.231214
519
19
171
27.315789
0.741855
0.088632
0
0
1
0
0.205945
0.048832
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
07f6d818098433fea8f9513ea236199be92e355c
1,506
py
Python
functions.py
xtymbbt/digit_recognize_v1
ae1e0d7b8ce0537bdbc31a32cc1a370132aba879
[ "Apache-2.0" ]
null
null
null
functions.py
xtymbbt/digit_recognize_v1
ae1e0d7b8ce0537bdbc31a32cc1a370132aba879
[ "Apache-2.0" ]
null
null
null
functions.py
xtymbbt/digit_recognize_v1
ae1e0d7b8ce0537bdbc31a32cc1a370132aba879
[ "Apache-2.0" ]
null
null
null
# import required packages import numpy as np import matplotlib.pyplot as plt import pandas as pd import tensorflow as tf from tensorflow.python.framework import ops # define the sigmoid function def sigmoid(z): g = 1.0 / (1.0 + np.exp(-z)) return g # compute the cost using theta, x, y, lambda def cost_...
21.211268
74
0.559097
266
1,506
3.078947
0.18797
0.102564
0.07326
0.034188
0.654457
0.654457
0.654457
0.654457
0.654457
0.654457
0
0.020165
0.275564
1,506
70
75
21.514286
0.730522
0.270252
0
0.5
0
0
0
0
0
0
0
0
0
1
0.09375
false
0
0.15625
0
0.34375
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
07f87dbe2137b8bd83c980db98abbf3663b0c5b1
67,669
py
Python
src/test/pythonFiles/autocomp/misc.py
Andrewnetwork/pythonVSCode
415e20cbd5947dc48f5dd57787e6c96985989d30
[ "MIT" ]
1
2020-05-21T20:10:07.000Z
2020-05-21T20:10:07.000Z
src/test/pythonFiles/autocomp/misc.py
Andrewnetwork/pythonVSCode
415e20cbd5947dc48f5dd57787e6c96985989d30
[ "MIT" ]
null
null
null
src/test/pythonFiles/autocomp/misc.py
Andrewnetwork/pythonVSCode
415e20cbd5947dc48f5dd57787e6c96985989d30
[ "MIT" ]
1
2020-05-21T20:10:10.000Z
2020-05-21T20:10:10.000Z
"""Thread module emulating a subset of Java's threading model.""" import sys as _sys try: import thread except ImportError: del _sys.modules[__name__] raise import warnings from collections import deque as _deque from itertools import count as _count from time import time as _time, sleep as _sleep from ...
35.503148
99
0.588645
8,471
67,669
4.555779
0.140479
0.006634
0.00653
0.009328
0.237329
0.203488
0.165837
0.150705
0.136531
0.122875
0
0.009019
0.323324
67,669
1,905
100
35.521785
0.833785
0.187324
0
0.345494
0
0.001073
0.083169
0.001182
0
0
0
0
0.009657
0
null
null
0.01073
0.015021
null
null
0.006438
0
0
0
null
0
0
0
0
0
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
07fb8f04bac8c673e216ada59af51b9fd34899d0
2,642
py
Python
reprobench/managers/slurm/manager.py
gorczyca/reprobench
915c729eec488ce85ff8c65b8b36851c43b1b345
[ "MIT" ]
1
2019-05-18T12:18:02.000Z
2019-05-18T12:18:02.000Z
reprobench/managers/slurm/manager.py
gorczyca/reprobench
915c729eec488ce85ff8c65b8b36851c43b1b345
[ "MIT" ]
19
2019-03-11T13:35:12.000Z
2019-07-26T06:54:39.000Z
reprobench/managers/slurm/manager.py
gorczyca/reprobench
915c729eec488ce85ff8c65b8b36851c43b1b345
[ "MIT" ]
4
2020-09-28T09:24:38.000Z
2022-03-18T12:55:20.000Z
import math import subprocess import sys from pathlib import Path from loguru import logger from sshtunnel import SSHTunnelForwarder from reprobench.managers.base import BaseManager from reprobench.utils import read_config from .utils import to_comma_range class SlurmManager(BaseManager): def prepare(self): ...
35.226667
117
0.604845
331
2,642
4.670695
0.386707
0.084088
0.029107
0.032988
0.137128
0.103493
0.043984
0.043984
0
0
0
0.0143
0.258895
2,642
74
118
35.702703
0.775281
0.024224
0
0.052632
0
0.017544
0.262238
0.174437
0
0
0
0.013514
0
1
0.070175
false
0
0.157895
0
0.245614
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
07fcd42f95611ec3083758cfa3563ce07fee244c
1,506
py
Python
src/metrics/linker.py
klimzaporojets/e2e-knowledge-ie
284ff2ba61b32659618735ba09ee06a8745af850
[ "Apache-2.0" ]
5
2021-07-07T11:50:31.000Z
2021-09-17T00:54:19.000Z
src/metrics/linker.py
klimzaporojets/e2e-knowledge-ie
284ff2ba61b32659618735ba09ee06a8745af850
[ "Apache-2.0" ]
2
2021-07-19T05:21:52.000Z
2022-01-22T21:47:52.000Z
src/metrics/linker.py
klimzaporojets/e2e-knowledge-ie
284ff2ba61b32659618735ba09ee06a8745af850
[ "Apache-2.0" ]
null
null
null
class MetricLinkerImproved: def __init__(self, task): self.task = task self.epoch = 0 self.tp = 0 self.fp = 0 self.fn = 0 def step(self): self.epoch += 1 self.tp = 0 self.fp = 0 self.fn = 0 def update2(self, args, metadata={}): ...
35.023256
118
0.389774
178
1,506
3.219101
0.297753
0.136126
0.104712
0.062827
0.34555
0.34555
0.293194
0.209424
0.209424
0.167539
0
0.03201
0.481408
1,506
42
119
35.857143
0.701665
0
0
0.181818
0
0.030303
0.053121
0.015272
0
0
0
0
0
1
0.242424
false
0
0
0.090909
0.363636
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
07fcfe6c50308e15da437e161ae66c8d21cfe692
2,465
py
Python
services/storage/src/simcore_service_storage/app_handlers.py
elisabettai/osparc-simcore
ad7b6e05111b50fe95e49306a992170490a7247f
[ "MIT" ]
null
null
null
services/storage/src/simcore_service_storage/app_handlers.py
elisabettai/osparc-simcore
ad7b6e05111b50fe95e49306a992170490a7247f
[ "MIT" ]
55
2018-05-15T09:47:00.000Z
2022-03-31T06:56:50.000Z
services/storage/src/simcore_service_storage/app_handlers.py
mrnicegyu11/osparc-simcore
b6fa6c245dbfbc18cc74a387111a52de9b05d1f4
[ "MIT" ]
1
2020-04-22T15:06:58.000Z
2020-04-22T15:06:58.000Z
""" - Checks connectivity with other services in the backend """ import logging from aiohttp.web import Request, RouteTableDef from models_library.api_schemas_storage import HealthCheck from models_library.app_diagnostics import AppStatusCheck from servicelib.aiohttp.rest_utils import extract_and_validate from ...
30.432099
92
0.654767
305
2,465
5.091803
0.4
0.057952
0.054733
0.038635
0.1481
0.069543
0
0
0
0
0
0.003716
0.2357
2,465
80
93
30.8125
0.820594
0.114807
0
0
0
0
0.164087
0.045408
0
0
0
0.025
0.0625
1
0
false
0
0.166667
0
0.229167
0
0
0
0
null
0
0
0
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
07fd1539902c60403ff7c1959006848259663bfc
866
py
Python
PYTHON/script.py
Sonu589/Hacktoberfest-2025
06397aa12a41967cb112722666e384007d87dbc4
[ "MIT" ]
1
2021-10-04T07:14:40.000Z
2021-10-04T07:14:40.000Z
PYTHON/script.py
Sonu589/Hacktoberfest-2025
06397aa12a41967cb112722666e384007d87dbc4
[ "MIT" ]
11
2022-01-24T20:42:11.000Z
2022-02-27T23:58:24.000Z
PYTHON/script.py
Sonu589/Hacktoberfest-2025
06397aa12a41967cb112722666e384007d87dbc4
[ "MIT" ]
1
2021-10-05T04:40:26.000Z
2021-10-05T04:40:26.000Z
# This is a email script, with which u can automate your emails. You can send 100 of mails in one go.. import smtplib with smtplib.SMTP('smtp.gmail.com', 587) as smtp: smtp.ehlo() smtp.starttls() smtp.ehlo() # Enter the maild id and password of the mail from which you want to send smtp.login('yo...
25.470588
102
0.645497
128
866
4.304688
0.546875
0.029038
0.032668
0
0
0
0
0
0
0
0
0.009302
0.255196
866
34
103
25.470588
0.844961
0.331409
0
0.133333
0
0
0.272251
0
0
0
0
0
0
1
0
false
0.066667
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
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
5800d472152c08c4c5421253a0735bf4747b829f
475
py
Python
py/setup.py
tef/glyph-rpc
cd8f605fef8c7d03255d825a9dbfbcde0e587e06
[ "MIT" ]
3
2015-11-05T06:59:06.000Z
2019-07-27T03:26:35.000Z
py/setup.py
tef/glyph-rpc
cd8f605fef8c7d03255d825a9dbfbcde0e587e06
[ "MIT" ]
null
null
null
py/setup.py
tef/glyph-rpc
cd8f605fef8c7d03255d825a9dbfbcde0e587e06
[ "MIT" ]
null
null
null
#!/usr/bin/env python import glob from setuptools import setup import os.path, os os.chdir(os.path.dirname(os.path.abspath(__file__))) setup(name='hyperglyph', version='0.9-20120825', license="MIT License", description='hyperglyph is ducked typed ipc over http', author='tef', author_...
21.590909
61
0.654737
59
475
5.169492
0.711864
0.059016
0
0
0
0
0
0
0
0
0
0.02611
0.193684
475
21
62
22.619048
0.770235
0.096842
0
0
0
0
0.307512
0.049296
0
0
0
0
0
1
0
true
0
0.230769
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
5801457419bab9301e618ffe1cc28c5620e92a33
701
py
Python
epages_zeep/productservice.py
tswfi/epages_soap_zeep_example
839a122aaa248e7d28a10433fa44cd7ed0b86bd4
[ "MIT" ]
null
null
null
epages_zeep/productservice.py
tswfi/epages_soap_zeep_example
839a122aaa248e7d28a10433fa44cd7ed0b86bd4
[ "MIT" ]
null
null
null
epages_zeep/productservice.py
tswfi/epages_soap_zeep_example
839a122aaa248e7d28a10433fa44cd7ed0b86bd4
[ "MIT" ]
null
null
null
from .base import BaseService class ProductService(BaseService): """ Product service wrapper Initializes ProductServiceXX.wsdl file """ def __init__(self, endpoint="", shopalias="", username="", password="", wsdl=""): # build url to the wsdl file, note the version number here. s...
25.035714
85
0.586305
59
701
6.813559
0.559322
0.039801
0
0
0
0
0
0
0
0
0
0.004167
0.315264
701
27
86
25.962963
0.833333
0.205421
0
0.133333
0
0
0.029851
0
0
0
0
0
0
1
0.066667
false
0.133333
0.066667
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
580778367c2c9c44c57b3cc8dbe3e1deae32ce32
1,749
py
Python
tests/onnx/test_cnn.py
sj1104/Het
81b7e9f0f593108db969fc46a1af3df74b825230
[ "Apache-2.0" ]
2
2021-12-05T07:11:04.000Z
2021-12-15T07:53:48.000Z
tests/onnx/test_cnn.py
sj1104/Het
81b7e9f0f593108db969fc46a1af3df74b825230
[ "Apache-2.0" ]
null
null
null
tests/onnx/test_cnn.py
sj1104/Het
81b7e9f0f593108db969fc46a1af3df74b825230
[ "Apache-2.0" ]
3
2021-04-01T22:39:13.000Z
2021-04-21T11:51:57.000Z
from athena import ndarray from athena import gpu_links as gpu_op from athena import gpu_ops as ad from athena import initializers as init from athena import onnx as ax import onnxruntime as rt import numpy as np import argparse import six.moves.cPickle as pickle import gzip import os import pdb import ctypes imp...
23.635135
79
0.670097
306
1,749
3.656863
0.366013
0.044683
0.071492
0.042895
0.191242
0.128686
0.055407
0.055407
0.055407
0.055407
0
0.069881
0.181818
1,749
73
80
23.958904
0.712089
0
0
0
0
0
0.029193
0
0
0
0
0
0.022222
1
0.022222
false
0
0.311111
0
0.333333
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
1
0
0
0
0
1
6af37d1c0e205ecf276cc17500a01f9a84a7706b
12,684
py
Python
airtest/core/android/minicap.py
ariyuan/Airtest
6472daf134a0186d7b3e5a4a026b27964c2cd30a
[ "Apache-2.0" ]
1
2020-06-03T09:30:37.000Z
2020-06-03T09:30:37.000Z
airtest/core/android/minicap.py
ariyuan/Airtest
6472daf134a0186d7b3e5a4a026b27964c2cd30a
[ "Apache-2.0" ]
null
null
null
airtest/core/android/minicap.py
ariyuan/Airtest
6472daf134a0186d7b3e5a4a026b27964c2cd30a
[ "Apache-2.0" ]
1
2020-03-06T08:17:59.000Z
2020-03-06T08:17:59.000Z
# -*- coding: utf-8 -*- import os import re import json import struct import threading import six import socket from functools import wraps from airtest.core.android.constant import STFLIB, ORI_METHOD from airtest.utils.logger import get_logger from airtest.utils.nbsp import NonBlockingStreamReader from airtest.utils....
32.192893
116
0.571507
1,500
12,684
4.688
0.224667
0.046928
0.013652
0.010808
0.205347
0.143914
0.090728
0.078214
0.05475
0.044226
0
0.007587
0.324582
12,684
393
117
32.274809
0.81312
0.041312
0
0.195745
0
0.008511
0.119117
0.025289
0
0
0
0
0
0
null
null
0.008511
0.055319
null
null
0.004255
0
0
0
null
0
0
0
0
0
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
6af3a878124961367cff29a5de07872d386549f5
4,240
py
Python
termius/core/api.py
Leo-Ryu/termius-cli
58205eb3982cffe8428a7c8335ae6e2d915296d9
[ "BSD-3-Clause" ]
169
2019-07-25T05:31:49.000Z
2022-03-30T04:07:06.000Z
termius/core/api.py
Leo-Ryu/termius-cli
58205eb3982cffe8428a7c8335ae6e2d915296d9
[ "BSD-3-Clause" ]
103
2016-12-07T11:24:56.000Z
2019-06-09T14:41:12.000Z
termius/core/api.py
Leo-Ryu/termius-cli
58205eb3982cffe8428a7c8335ae6e2d915296d9
[ "BSD-3-Clause" ]
22
2019-09-26T18:42:18.000Z
2022-02-24T05:03:00.000Z
# -*- coding: utf-8 -*- """Package with api client.""" import logging import hashlib import six import requests from requests.auth import AuthBase from .exceptions import AuthyTokenIssue, OutdatedVersion # pylint: disable=too-few-public-methods class TermiusAuth(AuthBase): """Authentication method to sync-cloud."...
30.948905
79
0.625472
467
4,240
5.520343
0.27409
0.024825
0.048875
0.048487
0.194725
0.124127
0.103181
0.081458
0.081458
0.081458
0
0.016315
0.262736
4,240
136
80
31.176471
0.808381
0.115802
0
0.173913
0
0
0.061547
0
0
0
0
0
0.01087
1
0.152174
false
0.065217
0.065217
0
0.391304
0
0
0
0
null
0
0
0
0
0
0
0
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
6af4692a61fa738f40f505d58ac7cde5a59bfad9
1,698
py
Python
sdk/ingestion/microsoft/bing/commerce/ingestion/models/transformation_tryout_response_py3.py
microsoft/bing-commerce-sdk-for-python
cf555ea0bb14792708617d2435dd5aab1c4cbe90
[ "MIT" ]
1
2020-05-04T09:58:07.000Z
2020-05-04T09:58:07.000Z
sdk/ingestion/microsoft/bing/commerce/ingestion/models/transformation_tryout_response_py3.py
microsoft/bing-commerce-sdk-for-python
cf555ea0bb14792708617d2435dd5aab1c4cbe90
[ "MIT" ]
2
2020-04-21T02:32:32.000Z
2020-04-21T19:37:54.000Z
sdk/ingestion/microsoft/bing/commerce/ingestion/models/transformation_tryout_response_py3.py
microsoft/bing-commerce-sdk-for-python
cf555ea0bb14792708617d2435dd5aab1c4cbe90
[ "MIT" ]
4
2020-07-31T10:39:22.000Z
2021-11-10T08:14:07.000Z
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. # coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. #...
39.488372
123
0.604829
180
1,698
5.583333
0.433333
0.090547
0.068657
0.049751
0
0
0
0
0
0
0
0.000745
0.209658
1,698
42
124
40.428571
0.748137
0.519435
0
0
1
0
0.171348
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6af4fb6520a2dbb34974d4fea88c1a57876a4dd0
3,061
py
Python
tf_agents/environments/atari_wrappers.py
landuber/agents
4111e05a23d9bd6e85ff83e7e34b1e1529f778e2
[ "Apache-2.0" ]
4
2020-06-25T00:47:40.000Z
2021-07-07T15:07:59.000Z
tf_agents/environments/atari_wrappers.py
landuber/agents
4111e05a23d9bd6e85ff83e7e34b1e1529f778e2
[ "Apache-2.0" ]
null
null
null
tf_agents/environments/atari_wrappers.py
landuber/agents
4111e05a23d9bd6e85ff83e7e34b1e1529f778e2
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2018 The TF-Agents Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
31.556701
78
0.738321
434
3,061
5.002304
0.417051
0.029019
0.027637
0.01474
0.091202
0.051589
0.051589
0.051589
0
0
0
0.010301
0.175433
3,061
96
79
31.885417
0.849842
0.378634
0
0.16
0
0
0
0
0
0
0
0.010417
0
1
0.18
false
0
0.16
0.04
0.56
0.02
0
0
0
null
0
0
0
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
6af5ed88d7e701365bb0283e3ac46512d9a7a6b8
10,662
py
Python
verticapy/connections/connect.py
Fakhfaakh/VerticaPy
acab6a1371f173e14d3cf43c4bed2e45d2a9f5e8
[ "Apache-2.0" ]
1
2020-11-20T09:56:56.000Z
2020-11-20T09:56:56.000Z
verticapy/connections/connect.py
Fakhfaakh/VerticaPy
acab6a1371f173e14d3cf43c4bed2e45d2a9f5e8
[ "Apache-2.0" ]
null
null
null
verticapy/connections/connect.py
Fakhfaakh/VerticaPy
acab6a1371f173e14d3cf43c4bed2e45d2a9f5e8
[ "Apache-2.0" ]
null
null
null
# (c) Copyright [2018-2020] Micro Focus or one of its affiliates. # 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 applicabl...
30.289773
240
0.56087
1,178
10,662
4.918506
0.233447
0.055575
0.035209
0.015533
0.353469
0.300656
0.282361
0.227132
0.205385
0.205385
0
0.01052
0.268899
10,662
351
241
30.376068
0.732777
0.462577
0
0.210191
0
0.031847
0.289202
0.031981
0
0
0
0
0
1
0.050955
false
0.050955
0.031847
0
0.121019
0.038217
0
0
0
null
0
0
0
0
0
0
0
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
6af7d758d344e2b0831d48e82dbf606d1657330c
10,299
py
Python
debussy/app.py
debussy-net/debussy
0cd4df123eee8a17aab40592758d69c004affa20
[ "Apache-2.0" ]
1
2020-06-17T01:49:59.000Z
2020-06-17T01:49:59.000Z
debussy/app.py
debussy-net/debussy
0cd4df123eee8a17aab40592758d69c004affa20
[ "Apache-2.0" ]
null
null
null
debussy/app.py
debussy-net/debussy
0cd4df123eee8a17aab40592758d69c004affa20
[ "Apache-2.0" ]
null
null
null
""" Debussy application abstractions """ import cmd import importlib import os import re import sys import tempfile import psycopg2 import sqlparse from sqlparse.tokens import Keyword import debussy.util from debussy.log import logger def mk_watchcmd(db, args): """Construct a watch command for a psql query give...
33.767213
91
0.590446
1,281
10,299
4.706479
0.217799
0.023885
0.010449
0.025875
0.159065
0.103002
0.084591
0.078454
0.067507
0.055897
0
0.006832
0.303622
10,299
304
92
33.878289
0.833798
0.022624
0
0.12
0
0.005
0.127176
0
0
0
0
0
0
0
null
null
0.005
0.06
null
null
0.015
0
0
0
null
0
0
0
0
0
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
ed0b3926bacbda1971e0fde107535e6b21965a36
4,157
py
Python
tests/test_tablespoon.py
alexhallam/tablespoon
1c28b2d04a089b9c64d28f53c99f4f1d51c1ff39
[ "MIT", "Unlicense" ]
9
2021-09-27T14:13:12.000Z
2022-03-13T04:44:47.000Z
tests/test_tablespoon.py
alexhallam/tablespoon
1c28b2d04a089b9c64d28f53c99f4f1d51c1ff39
[ "MIT", "Unlicense" ]
4
2021-11-10T12:10:44.000Z
2022-03-25T21:35:58.000Z
tests/test_tablespoon.py
alexhallam/tablespoon
1c28b2d04a089b9c64d28f53c99f4f1d51c1ff39
[ "MIT", "Unlicense" ]
null
null
null
from tablespoon import __version__ # For testing locally # poetry run python tests/test_tablespoon.py # For dev run # poetry run pytest import numpy as np import pandas as pd from tablespoon import Naive, Mean, Snaive from tablespoon.data import WALMART_TX, SEAS import pytest # small snaive test df = SEAS n = Sna...
27.713333
87
0.650229
705
4,157
3.639716
0.187234
0.04053
0.132502
0.179267
0.71629
0.638737
0.543648
0.390881
0.376461
0.347623
0
0.102183
0.173683
4,157
149
88
27.899329
0.644833
0.06014
0
0.159292
0
0
0.090326
0
0
0
0
0
0.176991
1
0.176991
false
0
0.053097
0
0.230089
0.00885
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
ed1307966b7d06f5ef1c04bf20f4f24133891033
295
py
Python
app/todo/todo_list/urls.py
androidneha/python-todo-list
48fd6f7a29ae973b4aae15470a0718aeac33faa1
[ "bzip2-1.0.6" ]
1
2020-01-31T10:50:27.000Z
2020-01-31T10:50:27.000Z
app/todo/todo_list/urls.py
androidneha/python-todo-list
48fd6f7a29ae973b4aae15470a0718aeac33faa1
[ "bzip2-1.0.6" ]
null
null
null
app/todo/todo_list/urls.py
androidneha/python-todo-list
48fd6f7a29ae973b4aae15470a0718aeac33faa1
[ "bzip2-1.0.6" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.home, name="home"), path('delete/<list_id>', views.delete, name="delete"), path('cross_off/<list_id>', views.cross_off, name="cross_off"), path('uncross/<list_id>', views.uncross, name="uncross") ]
29.5
67
0.667797
41
295
4.658537
0.365854
0.094241
0.172775
0
0
0
0
0
0
0
0
0
0.138983
295
9
68
32.777778
0.751969
0
0
0
0
0
0.264407
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed1479a24ddef210c531d5874a75b2f899b8f06d
1,308
py
Python
Sample/GameRanking/Server/src/GameRanking.Web/Script/PyScript/Action/action1000.py
wenhulove333/ScutServer
338a50ff577c0e2ef2276a2883a8bfe28517c79b
[ "MIT" ]
2
2017-05-27T13:32:28.000Z
2019-05-28T15:11:33.000Z
Sample/GameRanking/Server/src/GameRanking.Web/Script/PyScript/Action/action1000.py
simon96523/Scut
fda9fe78b657c599ece46f1bcc5268484650d530
[ "Unlicense" ]
null
null
null
Sample/GameRanking/Server/src/GameRanking.Web/Script/PyScript/Action/action1000.py
simon96523/Scut
fda9fe78b657c599ece46f1bcc5268484650d530
[ "Unlicense" ]
4
2016-08-27T05:26:16.000Z
2019-12-27T07:07:09.000Z
"""1000_排名录入接口""" import ReferenceLib from action import * from ZyGames.Framework.Cache.Generic import * from GameServer.Model import * class UrlParam(HttpParam): def __init__(self): HttpParam.__init__(self) self.UserName = '' self.Score = 0 class ActionResult(DataResult): ...
27.25
77
0.65367
128
1,308
6.554688
0.398438
0.038141
0.085816
0.073898
0.133492
0.133492
0.133492
0.133492
0
0
0
0.005097
0.25
1,308
48
78
27.25
0.849134
0
0
0.216216
0
0
0.0209
0
0
0
0
0
0
0
null
null
0
0.108108
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
ed15ebfa6fc6ce90a70e30d4a430cdff9ad63bc7
14,167
py
Python
03_StaticAeroelastic/generate_static_aeroelastic.py
ngoiz/pazy-sharpy
6ed97283ec05de0fbc5c3e798714106967144db6
[ "BSD-3-Clause" ]
1
2021-11-05T10:15:16.000Z
2021-11-05T10:15:16.000Z
03_StaticAeroelastic/generate_static_aeroelastic.py
ngoiz/pazy-sharpy
6ed97283ec05de0fbc5c3e798714106967144db6
[ "BSD-3-Clause" ]
1
2020-12-05T18:12:02.000Z
2020-12-05T18:12:02.000Z
03_StaticAeroelastic/generate_static_aeroelastic.py
ngoiz/pazy-sharpy
6ed97283ec05de0fbc5c3e798714106967144db6
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import os import unittest from pazy_wing_model import PazyWing import sharpy.sharpy_main import sharpy.utils.algebra as algebra # Problem Set up def generate_pazy(u_inf, case_name, output_folder='/output/', cases_subfolder='', **kwargs): # u_inf = 60 alpha_deg = kwargs.get('alpha', 0.) ...
46.601974
121
0.40919
1,229
14,167
4.425549
0.223759
0.031623
0.030888
0.036404
0.315867
0.294723
0.264203
0.241037
0.236992
0.174481
0
0.023184
0.473283
14,167
303
122
46.755776
0.705709
0.382862
0
0.191617
1
0.005988
0.223663
0.032994
0
0
0
0
0.005988
1
0.005988
false
0
0.041916
0
0.047904
0.035928
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
ed17600a8e411d3f2215a6ed754f21ffbb5538d6
409
py
Python
Chatbot_DockerVersion/webapp/requirements/mindmeld/tests/test_conversation.py
ptrckhmmr/ChatBotforCulturalInstitutions
c3da1a6d142e306c2e3183ba5609553e15a0e124
[ "Apache-2.0" ]
1
2020-12-24T13:28:35.000Z
2020-12-24T13:28:35.000Z
Chatbot_DockerVersion/webapp/requirements/mindmeld/tests/test_conversation.py
ptrckhmmr/ChatBotforCulturalInstitutions
c3da1a6d142e306c2e3183ba5609553e15a0e124
[ "Apache-2.0" ]
null
null
null
Chatbot_DockerVersion/webapp/requirements/mindmeld/tests/test_conversation.py
ptrckhmmr/ChatBotforCulturalInstitutions
c3da1a6d142e306c2e3183ba5609553e15a0e124
[ "Apache-2.0" ]
null
null
null
from mindmeld.test import TestConversation def test_conversation(kwik_e_mart_app_path): conv = TestConversation(app_path=kwik_e_mart_app_path) conv.process('hi') conv.assert_text('Hello. I can help you find store hours for your local Kwik-E-Mart.' ' How can I help?') conv....
34.083333
90
0.687042
58
409
4.586207
0.586207
0.150376
0.101504
0.090226
0.150376
0.150376
0
0
0
0
0
0
0.215159
409
11
91
37.181818
0.82866
0
0
0
0
0
0.248744
0
0
0
0
0
0.444444
1
0.111111
false
0
0.111111
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
ed17d27cc8ecb9e72984e61b0440ea4ec145b6c0
642
py
Python
src/wavelet-FE/utils/weight_init.py
Omekaago101/Intracranial-Hemorrhage-Classification
4f53da3a3869be7b451edc558ef06c5c41083b4b
[ "MIT" ]
22
2021-02-09T14:29:34.000Z
2022-01-25T03:53:19.000Z
src/wavelet-FE/utils/weight_init.py
Omekaago101/Intracranial-Hemorrhage-Classification
4f53da3a3869be7b451edc558ef06c5c41083b4b
[ "MIT" ]
3
2020-07-11T02:16:42.000Z
2020-10-19T14:47:10.000Z
src/utils/weight_init.py
VinBDI-MedicalImagingTeam/midl2020-cnnlstm-ich
a1d768fb1ef0080033756e6d3c1da25db539cacd
[ "Apache-2.0" ]
5
2021-05-26T14:26:00.000Z
2022-03-18T10:28:04.000Z
import torch import torch.nn as nn def _initialize_weights(module): for m in module.modules(): if isinstance(m, nn.Conv2d): nn.init.xavier_uniform_(m.weight.data) if m.bias is not None: m.bias.data.zero_() elif isinstance(m, nn.BatchNorm2d): m.we...
32.1
50
0.562305
88
642
3.965909
0.352273
0.08596
0.148997
0.148997
0.65043
0.65043
0.65043
0.65043
0.601719
0.601719
0
0.011494
0.32243
642
20
51
32.1
0.790805
0
0
0.555556
0
0
0
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed1e1c358dc46ab29964f565379e7b7cfab238a1
560
py
Python
Chapter08/c8_35_pandas_OLS.py
John-ye666/Python-for-Finance-Second-Edition
dabef09bcdd7b0ec2934774741bd0a7e1950de73
[ "MIT" ]
236
2017-07-02T03:06:54.000Z
2022-03-31T03:15:33.000Z
Chapter08/c8_35_pandas_OLS.py
John-ye666/Python-for-Finance-Second-Edition
dabef09bcdd7b0ec2934774741bd0a7e1950de73
[ "MIT" ]
null
null
null
Chapter08/c8_35_pandas_OLS.py
John-ye666/Python-for-Finance-Second-Edition
dabef09bcdd7b0ec2934774741bd0a7e1950de73
[ "MIT" ]
139
2017-06-30T10:28:16.000Z
2022-01-19T19:43:34.000Z
""" Name : c8_35_Pandas_OLS.py Book : Python for Finance (2nd ed.) Publisher: Packt Publishing Ltd. Author : Yuxing Yan Date : 6/6/2017 email : yany@canisius.edu paulyxy@hotmail.com """ import numpy as np import pandas as pd from datetime import datetime n = 252 np.random...
26.666667
72
0.673214
88
560
4.238636
0.670455
0.064343
0.069705
0.075067
0
0
0
0
0
0
0
0.064588
0.198214
560
20
73
28
0.766147
0
0
0
0
0
0.009036
0
0
0
0
0
0
0
null
null
0
0.3
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
ed20b12dc810038226a003f1d2061b20b9c15af5
1,267
py
Python
ASCII_display.py
karensuzue/Maze
a9c613323d24d115279b1892a33036acef7b715e
[ "MIT" ]
null
null
null
ASCII_display.py
karensuzue/Maze
a9c613323d24d115279b1892a33036acef7b715e
[ "MIT" ]
null
null
null
ASCII_display.py
karensuzue/Maze
a9c613323d24d115279b1892a33036acef7b715e
[ "MIT" ]
null
null
null
from grid import Grid from algorithms.binary_tree import BinaryTree from algorithms.sidewinder import Sidewinder from algorithms.prims import Prim from algorithms.kruskals import Kruskal from algorithms.wilsons import Wilson from algorithms.recursive import Recursive from image_export.to_png import ToPNG def main(): ...
26.957447
69
0.693765
150
1,267
5.726667
0.313333
0.083818
0.118743
0.039581
0
0
0
0
0
0
0
0.005709
0.170481
1,267
46
70
27.543478
0.811608
0.342541
0
0
0
0
0.115995
0
0
0
0
0
0
1
0.047619
false
0
0.380952
0
0.428571
0.380952
0
0
0
null
0
0
0
0
0
0
0
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
ed20f9f5c8dbf8baa214bf00c388ce41fb2e63be
5,268
py
Python
Builds/T PC Windows Version/renpy/editor.py
JManAn/Ingener-a-de-Software-TF
4eb162f0a2b4d19d0a9e96f9bc0baf17e8cedbfe
[ "MIT" ]
1
2020-07-23T18:33:01.000Z
2020-07-23T18:33:01.000Z
Builds/T PC Windows Version/renpy/editor.py
JManAn/Ingener-a-de-Software-TF
4eb162f0a2b4d19d0a9e96f9bc0baf17e8cedbfe
[ "MIT" ]
null
null
null
Builds/T PC Windows Version/renpy/editor.py
JManAn/Ingener-a-de-Software-TF
4eb162f0a2b4d19d0a9e96f9bc0baf17e8cedbfe
[ "MIT" ]
null
null
null
# Copyright 2004-2019 Tom Rothamel <pytom@bishoujo.us> # # 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...
30.450867
81
0.667806
718
5,268
4.869081
0.380223
0.033467
0.012586
0.010297
0.029176
0.029176
0.029176
0.029176
0
0
0
0.002579
0.263857
5,268
172
82
30.627907
0.898917
0.270121
0
0.280702
0
0
0.046196
0
0
0
0
0
0
0
null
null
0
0.087719
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ed28e1466f83fca5f77df2286b87d54c3cfa148e
2,112
py
Python
twitchprogram.py
mtejada/twitchplayscoffeeedition
a66b7070b28181851e0750506cbcfa04d23e0728
[ "MIT" ]
null
null
null
twitchprogram.py
mtejada/twitchplayscoffeeedition
a66b7070b28181851e0750506cbcfa04d23e0728
[ "MIT" ]
null
null
null
twitchprogram.py
mtejada/twitchplayscoffeeedition
a66b7070b28181851e0750506cbcfa04d23e0728
[ "MIT" ]
null
null
null
import re import subprocess import time import twitch import properties as prop def press_key(key_to_press): subprocess.call(f"xdotool keydown {key_to_press} sleep 0.01 keyup {key_to_press}", shell=True) return t = twitch.Twitch() cmd = "export DISPLAY=:0 && xdotool search --name \"PCSXR\"" wid = re.findal...
30.608696
98
0.546402
254
2,112
4.429134
0.397638
0.106667
0.186667
0.039111
0.078222
0.078222
0.078222
0.078222
0
0
0
0.010417
0.318182
2,112
69
99
30.608696
0.770833
0.116477
0
0
0
0
0.131183
0
0
0
0
0
0
1
0.018868
false
0.018868
0.09434
0
0.132075
0.018868
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
ed2f5bd012d06256e3379dd536936cfb7e09ae48
440
py
Python
study/language_core_and_lib/data_structure/basic_structure/str_usage.py
CheYulin/PythonStudy
2b68a9cb2f7044d7e5ce9e7c971070eba7a36c07
[ "MIT" ]
3
2018-03-10T15:14:06.000Z
2020-06-17T03:13:21.000Z
study/language_core_and_lib/data_structure/basic_structure/str_usage.py
YcheLanguageStudio/PythonStudy
2b68a9cb2f7044d7e5ce9e7c971070eba7a36c07
[ "MIT" ]
null
null
null
study/language_core_and_lib/data_structure/basic_structure/str_usage.py
YcheLanguageStudio/PythonStudy
2b68a9cb2f7044d7e5ce9e7c971070eba7a36c07
[ "MIT" ]
null
null
null
import re def demo_join(): yche_str = ['1', '2', '3'] yche_str.reverse() print yche_str print '-'.join(yche_str) def demo_re(): my_str = 'The Answer is haha' if re.match('.*[Aa]nswer.*', my_str): print my_str else: print 'bad' print type('1,2,3'.split()) def demo_...
14.193548
41
0.55
66
440
3.348485
0.469697
0.126697
0.099548
0
0
0
0
0
0
0
0
0.041139
0.281818
440
30
42
14.666667
0.658228
0
0
0
0
0
0.127273
0
0
0
0
0
0
0
null
null
0
0.05
null
null
0.3
0
0
0
null
0
0
0
0
0
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
ed2f701bca5717c813dfc745529d861b160f4a36
13,075
py
Python
tf_agents/replay_buffers/replay_buffer.py
johnamcleod/agents
5ab7026e47503f14ef02918acfae340f4128dcd4
[ "Apache-2.0" ]
2
2021-07-25T11:06:56.000Z
2021-07-25T11:07:02.000Z
tf_agents/replay_buffers/replay_buffer.py
johnamcleod/agents
5ab7026e47503f14ef02918acfae340f4128dcd4
[ "Apache-2.0" ]
1
2021-01-31T08:17:47.000Z
2021-01-31T08:17:47.000Z
tf_agents/replay_buffers/replay_buffer.py
johnamcleod/agents
5ab7026e47503f14ef02918acfae340f4128dcd4
[ "Apache-2.0" ]
1
2021-01-31T08:13:34.000Z
2021-01-31T08:13:34.000Z
# coding=utf-8 # Copyright 2020 The TF-Agents Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
42.589577
117
0.695832
1,794
13,075
4.929766
0.208473
0.033582
0.04749
0.012212
0.43408
0.408752
0.38806
0.366802
0.325192
0.317503
0
0.001607
0.23847
13,075
306
118
42.728758
0.886612
0.649943
0
0.394231
0
0
0.09331
0.022887
0
0
0
0
0
1
0.163462
false
0.057692
0.076923
0
0.336538
0.009615
0
0
0
null
0
0
0
0
0
0
0
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
ed307dfc941b42199daff3f72db81a95687a2446
2,384
py
Python
envi/radixtree.py
cmaruti/vivisect
828a9af1b662d6417cf4c78f20a4ba37a1b3b670
[ "ECL-2.0", "Apache-2.0" ]
1
2020-12-23T19:23:17.000Z
2020-12-23T19:23:17.000Z
envi/radixtree.py
cmaruti/vivisect
828a9af1b662d6417cf4c78f20a4ba37a1b3b670
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
envi/radixtree.py
cmaruti/vivisect
828a9af1b662d6417cf4c78f20a4ba37a1b3b670
[ "ECL-2.0", "Apache-2.0" ]
1
2020-12-23T19:23:58.000Z
2020-12-23T19:23:58.000Z
''' simple/fast python impl of a couple radix/prefix trees. ''' import threading class RadixIntTree: ''' An integer indexed suffix tree. ''' def __init__(self, bits=32): # each node is [ left, right, answers ] self.precount = 0 self.bitwidth = bits self.treelock = threa...
28.047059
79
0.544883
254
2,384
5.066929
0.374016
0.055944
0.04662
0.048951
0.297591
0.297591
0.297591
0.273504
0.273504
0.273504
0
0.038765
0.361577
2,384
84
80
28.380952
0.806833
0.01552
0
0.403846
0
0
0.009769
0
0
0
0.024679
0
0
0
null
null
0
0.019231
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ed33692156b57f4b61d73316c28ff121294125ac
8,979
py
Python
scripts/assisted_delivery.py
ssjunnebo/scilifelab
79960f7042118f900bd1eaabe4902ee76abd8020
[ "MIT" ]
1
2016-03-21T14:04:09.000Z
2016-03-21T14:04:09.000Z
scripts/assisted_delivery.py
ssjunnebo/scilifelab
79960f7042118f900bd1eaabe4902ee76abd8020
[ "MIT" ]
35
2015-01-22T08:25:02.000Z
2020-02-17T12:09:12.000Z
scripts/assisted_delivery.py
ssjunnebo/scilifelab
79960f7042118f900bd1eaabe4902ee76abd8020
[ "MIT" ]
6
2015-01-16T15:32:08.000Z
2020-01-30T14:34:40.000Z
# A script to help doing the deliveries. # The user is asked to provide a project ID, a run name, and an UPPMAX project import sys, os, yaml, glob, shutil from datetime import datetime def fixProjName(pname): newname = pname[0].upper() postperiod = False for i in range(1, len(pname)): if pname[i]...
37.103306
144
0.578572
1,184
8,979
4.192568
0.204392
0.023973
0.019339
0.027196
0.309629
0.243554
0.192788
0.145649
0.124496
0.095085
0
0.009315
0.28266
8,979
241
145
37.257261
0.761372
0.143223
0
0.244186
0
0
0.178413
0.012007
0
0
0
0
0
0
null
null
0
0.011628
null
null
0.133721
0
0
0
null
0
0
0
0
0
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