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
12ee2b30727b14b61649bb77355da7531405dac6
798
py
Python
db/migrations/migration7.py
oktoshi/OpenBazaar-Server
605644c628db0d472e85380c4f16fafc13631991
[ "MIT" ]
723
2015-08-19T08:43:06.000Z
2022-01-25T10:34:27.000Z
db/migrations/migration7.py
oktoshi/OpenBazaar-Server
605644c628db0d472e85380c4f16fafc13631991
[ "MIT" ]
470
2015-08-18T21:18:46.000Z
2018-07-03T21:36:03.000Z
db/migrations/migration7.py
oktoshi/OpenBazaar-Server
605644c628db0d472e85380c4f16fafc13631991
[ "MIT" ]
250
2015-08-19T03:01:02.000Z
2022-01-23T21:05:25.000Z
import sqlite3 def migrate(database_path): print "migrating to db version 7" conn = sqlite3.connect(database_path) conn.text_factory = str cursor = conn.cursor() # create new table cursor.execute('''CREATE TABLE IF NOT EXISTS audit_shopping ( audit_shopping_id integer PRIMARY KEY NOT NU...
31.92
114
0.697995
107
798
5.018692
0.429907
0.145251
0.106145
0.145251
0.324022
0.271881
0.271881
0.141527
0
0
0
0.006329
0.20802
798
24
115
33.25
0.843354
0.038847
0
0
0
0
0.594241
0
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
12f0554376b876f8bc1724424b4f4bfc6e8a521d
3,849
py
Python
common/xrd-ui-tests-qautomate/pagemodel/ss_clients_dlg_services_acl_for_service.py
nordic-institute/X-Road-tests
e030661a0ad8ceab74dd8122b751e88025a3474a
[ "MIT" ]
1
2019-02-09T00:16:54.000Z
2019-02-09T00:16:54.000Z
common/xrd-ui-tests-qautomate/pagemodel/ss_clients_dlg_services_acl_for_service.py
nordic-institute/X-Road-tests
e030661a0ad8ceab74dd8122b751e88025a3474a
[ "MIT" ]
1
2018-06-06T08:33:32.000Z
2018-06-06T08:33:32.000Z
common/xrd-ui-tests-qautomate/pagemodel/ss_clients_dlg_services_acl_for_service.py
nordic-institute/X-Road-tests
e030661a0ad8ceab74dd8122b751e88025a3474a
[ "MIT" ]
3
2018-07-09T08:51:00.000Z
2020-07-23T18:40:24.000Z
# -*- coding: utf-8 -*- # Example for using WebDriver object: driver = get_driver() e.g driver.current_url from QAutoLibrary.extension import TESTDATA from selenium.webdriver.common.by import By from QAutoLibrary.QAutoSelenium import * from time import sleep class Ss_clients_dlg_services_acl_for_service(CommonUtils): ...
51.32
251
0.709795
576
3,849
4.513889
0.380208
0.042308
0.048462
0.032308
0.277308
0.234231
0.213846
0.165385
0.103077
0.074615
0
0.072217
0.17615
3,849
75
252
51.32
0.747714
0.389971
0
0
0
0.16
0.30543
0.292308
0
0
0
0
0
1
0.12
false
0
0.16
0
0.88
0
0
0
0
null
0
0
0
0
0
0
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
12f3868726f4a6679e3013bf97a3a60546958dc1
542
py
Python
sudeste/cadastro/migrations/0006_historicocacamba.py
danielcamilo13/sudeste
be877c8dec07cfca84ebdc15b275a58aa29af98a
[ "bzip2-1.0.6" ]
1
2019-10-15T19:43:22.000Z
2019-10-15T19:43:22.000Z
sudeste/cadastro/migrations/0006_historicocacamba.py
danielcamilo13/sudeste
be877c8dec07cfca84ebdc15b275a58aa29af98a
[ "bzip2-1.0.6" ]
6
2020-06-05T23:48:29.000Z
2022-02-10T09:32:01.000Z
sudeste/cadastro/migrations/0006_historicocacamba.py
danielcamilo13/sudeste
be877c8dec07cfca84ebdc15b275a58aa29af98a
[ "bzip2-1.0.6" ]
null
null
null
# Generated by Django 2.2.7 on 2019-11-16 23:35 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cadastro', '0005_auto_20191116_2034'), ] operations = [ migrations.CreateModel( name='historicocacamba', fields=[ ...
25.809524
114
0.597786
55
542
5.781818
0.836364
0
0
0
0
0
0
0
0
0
0
0.084615
0.280443
542
20
115
27.1
0.730769
0.083026
0
0
1
0
0.161616
0.046465
0
0
0
0
0
1
0
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
12f399e069accebf0cec0dbfcad943b695db80a2
1,964
py
Python
sutra-copyist/my-programing-training/url/urlParseTest.py
pyohei/test
3f12ad8519f5c5a13b1aab4509a0b44718ca8509
[ "MIT" ]
null
null
null
sutra-copyist/my-programing-training/url/urlParseTest.py
pyohei/test
3f12ad8519f5c5a13b1aab4509a0b44718ca8509
[ "MIT" ]
4
2016-03-19T06:36:27.000Z
2016-10-29T08:41:14.000Z
sutra-copyist/my-programing-training/url/urlParseTest.py
pyohei/my-sandbox
683af11781dae672a10eee5b5dd838d0f055fb04
[ "MIT" ]
null
null
null
#!/usr/local/bin/python #-*- coding: utf-8 -*- # Created: 2014/2/26 import urllib import urllib2 import cookielib def get_page(url): urlInfo = urllib.urlencode({}) # print urlInfo request = urllib2.Request(url, urlInfo, {}) # print request response = urllib2.urlopen(request) # print response ...
21.822222
77
0.604379
245
1,964
4.714286
0.379592
0.047619
0.025974
0.034632
0.055411
0
0
0
0
0
0
0.014266
0.250509
1,964
89
78
22.067416
0.77038
0.144094
0
0.103448
0
0
0.055755
0.013789
0
0
0
0
0
0
null
null
0.017241
0.086207
null
null
0.017241
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
12f88c68904d8567aa95dbe06af1ee4cfb634631
453
py
Python
miscreant/ct.py
miscreant/miscreant.py
7f77df104f0d116b682c573eeb3b76b926d05bdc
[ "MIT" ]
5
2019-01-15T08:02:07.000Z
2022-02-26T20:35:22.000Z
miscreant/ct.py
miscreant/miscreant-py
7f77df104f0d116b682c573eeb3b76b926d05bdc
[ "MIT" ]
26
2019-09-03T02:37:16.000Z
2021-02-01T08:00:56.000Z
miscreant/ct.py
miscreant/miscreant.py
7f77df104f0d116b682c573eeb3b76b926d05bdc
[ "MIT" ]
null
null
null
"""ct.py: Constant time(ish) functions""" # WARNING: Pure Python is not amenable to the implementation of truly # constant time cryptography. For more information, please see the # "Security Notice" section in python/README.md. def select(subject, result_if_one, result_if_zero): # type: (int, int, int) -> int ...
41.181818
78
0.708609
65
453
4.815385
0.676923
0.102236
0.095847
0.102236
0
0
0
0
0
0
0
0.005291
0.165563
453
10
79
45.3
0.822751
0.644592
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
12fdcec608520c1aeeca6c69a0f68aad1aae30b1
15,629
py
Python
mod_stats/tools/dlcount.py
openSUSE/mirrorbrain
c5fcf05bad171d6c59f5ca47e988372d1ab4f0c2
[ "Apache-2.0" ]
24
2017-10-13T13:00:45.000Z
2022-03-28T01:46:12.000Z
mod_stats/tools/dlcount.py
seccer22/mirrorbrain
c5fcf05bad171d6c59f5ca47e988372d1ab4f0c2
[ "Apache-2.0" ]
46
2017-08-03T15:13:53.000Z
2022-03-29T09:32:06.000Z
mod_stats/tools/dlcount.py
seccer22/mirrorbrain
c5fcf05bad171d6c59f5ca47e988372d1ab4f0c2
[ "Apache-2.0" ]
16
2018-02-08T04:43:09.000Z
2022-03-20T19:22:52.000Z
#!/usr/bin/python # Copyright 2008,2009 Peter Poeml # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 2 # as published by the Free Software Foundation; # # This program is distributed in the hope that it will be usefu...
31.637652
139
0.588201
2,008
15,629
4.513944
0.285359
0.006178
0.00331
0.006289
0.093116
0.052515
0.026478
0.020079
0.020079
0.014563
0
0.016448
0.307569
15,629
493
140
31.701826
0.821105
0.295028
0
0.173745
0
0.011583
0.128635
0.004553
0
0
0
0.002028
0
0
null
null
0
0.057915
null
null
0.023166
0
0
0
null
0
0
0
0
0
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
4201865d78e455b9ec07ffeaa3e5bdf056af8888
2,261
py
Python
slybot/slybot/tests/test_fragment_generator.py
DataKnower/dk-portia
24579c0160167af2442117975bf7d6a714b4d7d5
[ "BSD-3-Clause" ]
null
null
null
slybot/slybot/tests/test_fragment_generator.py
DataKnower/dk-portia
24579c0160167af2442117975bf7d6a714b4d7d5
[ "BSD-3-Clause" ]
null
null
null
slybot/slybot/tests/test_fragment_generator.py
DataKnower/dk-portia
24579c0160167af2442117975bf7d6a714b4d7d5
[ "BSD-3-Clause" ]
null
null
null
from unittest import TestCase from slybot.starturls import FragmentGenerator class FragmentGeneratorTest(TestCase): def test_generated_url_list(self): github_start_urls = [ 'https://github.com/scrapinghub', 'https://github.com/scrapy', 'https://github.com/scrapy-plugin...
34.784615
79
0.509067
232
2,261
4.849138
0.193966
0.074667
0.128
0.144
0.610667
0.610667
0.610667
0.552
0.288889
0.232889
0
0.009836
0.32552
2,261
64
80
35.328125
0.727869
0
0
0.267857
1
0
0.349403
0
0
0
0
0
0.053571
1
0.053571
false
0
0.035714
0
0.107143
0
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
420b13f35267d3638c9e5da2b577b18e0d13a5cd
7,304
py
Python
problems.py
juliohm/FlumeNet
5b40640c1bba8b98a35292166ef22882cc0d8ceb
[ "0BSD" ]
null
null
null
problems.py
juliohm/FlumeNet
5b40640c1bba8b98a35292166ef22882cc0d8ceb
[ "0BSD" ]
null
null
null
problems.py
juliohm/FlumeNet
5b40640c1bba8b98a35292166ef22882cc0d8ceb
[ "0BSD" ]
null
null
null
import numpy as np from os.path import exists from tqdm import tqdm from collections import deque from datautils import loadimages, FlumeData, splitXY from visionutils import flowbatch2mag from netmodels import classname import torch from torch import Tensor from torch.autograd import Variable from torch.optim import A...
34.947368
121
0.566128
814
7,304
5.041769
0.316953
0.02193
0.015838
0.012671
0.125975
0.076754
0.053363
0.033138
0.017544
0.017544
0
0.010235
0.331188
7,304
208
122
35.115385
0.829887
0.115279
0
0.080645
0
0
0.026489
0.004113
0
0
0
0
0
0
null
null
0
0.104839
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
420b78457a7dcd3af63764770c22a8c1f96fdf74
496
py
Python
setup.py
sarar04/djangoapigateway
654efc27cb3db247f7db0ef0a7556ebf5b058713
[ "MIT" ]
40
2017-04-03T02:09:29.000Z
2022-02-23T19:22:03.000Z
setup.py
sarar04/djangoapigateway
654efc27cb3db247f7db0ef0a7556ebf5b058713
[ "MIT" ]
null
null
null
setup.py
sarar04/djangoapigateway
654efc27cb3db247f7db0ef0a7556ebf5b058713
[ "MIT" ]
20
2017-10-27T12:17:34.000Z
2021-06-11T22:48:36.000Z
# -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = 'django-api-gateway', version = '0.0.5', keywords = ('django', 'apigateway', 'dataproxy'), description = 'apigateway for django', license = 'MIT License', url = 'https://github.com/ecidi/djangoapigateway', au...
26.105263
54
0.635081
54
496
5.722222
0.777778
0.07767
0
0
0
0
0
0
0
0
0
0.022959
0.209677
496
19
55
26.105263
0.765306
0.042339
0
0
0
0
0.316456
0
0
0
0
0
0
1
0
true
0
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
1
0
0
0
0
0
0
1
420c13c1a73c01daad804d95d61e2d9ab7adeaac
1,611
py
Python
pyZfit/zfit_constants.py
tinix84/utils
3deda887f99bb70d7131b0ba17cfa46082ca3f8d
[ "MIT" ]
7
2020-10-11T08:49:51.000Z
2021-11-02T15:02:21.000Z
pyZfit/zfit_constants.py
tinix84/utils
3deda887f99bb70d7131b0ba17cfa46082ca3f8d
[ "MIT" ]
null
null
null
pyZfit/zfit_constants.py
tinix84/utils
3deda887f99bb70d7131b0ba17cfa46082ca3f8d
[ "MIT" ]
2
2020-10-11T00:35:45.000Z
2020-10-11T08:39:08.000Z
# indices for weight, magnitude, and phase lists M, P, W = 0, 1, 2 # Set max for model weighting. Minimum is 1.0 MAX_MODEL_WEIGHT = 100.0 # Rich text control for red font RICH_TEXT_RED = "<FONT COLOR='red'>" # Color definitions # (see http://www.w3schools.com/tags/ref_colorpicker.asp ) M_COLOR = "#6f93ff" # magnitude...
37.465116
72
0.6437
209
1,611
4.875598
0.660287
0.015702
0.035329
0
0
0
0
0
0
0
0
0.031452
0.230292
1,611
43
73
37.465116
0.790323
0.455618
0
0
0
0
0.374269
0.025731
0
0
0
0.023256
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
42124f949d3b0d65292eadad7d469d7283c8650f
240
py
Python
PyMOTW/source/sysconfig/sysconfig_get_path_names.py
axetang/AxePython
3b517fa3123ce2e939680ad1ae14f7e602d446a6
[ "Apache-2.0" ]
1
2019-01-04T05:47:50.000Z
2019-01-04T05:47:50.000Z
PyMOTW/source/sysconfig/sysconfig_get_path_names.py
axetang/AxePython
3b517fa3123ce2e939680ad1ae14f7e602d446a6
[ "Apache-2.0" ]
1
2020-07-18T03:52:03.000Z
2020-07-18T04:18:01.000Z
PyMOTW/source/sysconfig/sysconfig_get_path_names.py
axetang/AxePython
3b517fa3123ce2e939680ad1ae14f7e602d446a6
[ "Apache-2.0" ]
2
2021-03-06T04:28:32.000Z
2021-03-06T04:59:17.000Z
#!/usr/bin/env python3 # encoding: utf-8 # # Copyright (c) 2010 Doug Hellmann. All rights reserved. # """The names of the paths in a scheme. """ #end_pymotw_header import sysconfig for name in sysconfig.get_path_names(): print(name)
17.142857
57
0.7125
37
240
4.513514
0.864865
0
0
0
0
0
0
0
0
0
0
0.03
0.166667
240
13
58
18.461538
0.805
0.608333
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4212abb3764bdd11f73ef30d78c71c89a52a3997
5,321
py
Python
ros/niryo_one_ros/niryo_one_rpi/scripts/led_manager.py
paubrunet97/astrocytes
c21bbd2473adf68ef076356bcf578fb2ae14031f
[ "MIT" ]
5
2020-11-06T18:35:57.000Z
2021-04-30T07:16:42.000Z
ros/niryo_one_ros/niryo_one_rpi/scripts/led_manager.py
paubrunet97/astrocytes
c21bbd2473adf68ef076356bcf578fb2ae14031f
[ "MIT" ]
5
2020-11-05T13:39:28.000Z
2021-12-09T04:37:30.000Z
ros/niryo_one_ros/niryo_one_rpi/scripts/led_manager.py
paubrunet97/astrocytes
c21bbd2473adf68ef076356bcf578fb2ae14031f
[ "MIT" ]
8
2020-09-25T10:07:15.000Z
2022-03-11T06:26:30.000Z
#!/usr/bin/env python # led_manager.py # Copyright (C) 2017 Niryo # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option)...
33.25625
105
0.619245
747
5,321
4.208835
0.270415
0.048982
0.041349
0.033397
0.301209
0.225191
0.173346
0.124364
0.116412
0.080789
0
0.01921
0.295621
5,321
159
106
33.465409
0.819637
0.17835
0
0.160714
0
0
0.067372
0.033571
0
0
0
0
0
0
null
null
0
0.071429
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
421407d90bcdd92aec77c0a8176f3cf29c6ace71
1,053
py
Python
speech_to_text_n_scale/recognition.py
cerevo/-listnr-server-sample-py
b204554ecd056a53c59382fc9b968f13de616db6
[ "MIT" ]
null
null
null
speech_to_text_n_scale/recognition.py
cerevo/-listnr-server-sample-py
b204554ecd056a53c59382fc9b968f13de616db6
[ "MIT" ]
null
null
null
speech_to_text_n_scale/recognition.py
cerevo/-listnr-server-sample-py
b204554ecd056a53c59382fc9b968f13de616db6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import speech_recognition as sr from ConfigParser import SafeConfigParser config = SafeConfigParser() config.read('config.ini') def recognize(file_path, language="en-US"): r = sr.Recognizer() with sr.WavFile(file_path) as source: audio = r.record(source) # recognize speec...
37.607143
116
0.707502
136
1,053
5.360294
0.492647
0.116598
0.049383
0.052126
0.085048
0.085048
0.085048
0
0
0
0
0.002345
0.189934
1,053
27
117
39
0.852286
0.168091
0
0
0
0
0.271789
0.059633
0
0
0
0
0
1
0.052632
false
0.105263
0.105263
0
0.210526
0.157895
0
0
0
null
0
0
0
0
0
0
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
421b93c8c06254c2a584fa603366d17afa55fcd5
4,082
py
Python
demo/text_recognition/__base__/test_base_setting.py
CuteyThyme/MultiModal_IE
a06084f81b28c1ed8692186b1d188df56936b488
[ "Apache-2.0" ]
null
null
null
demo/text_recognition/__base__/test_base_setting.py
CuteyThyme/MultiModal_IE
a06084f81b28c1ed8692186b1d188df56936b488
[ "Apache-2.0" ]
null
null
null
demo/text_recognition/__base__/test_base_setting.py
CuteyThyme/MultiModal_IE
a06084f81b28c1ed8692186b1d188df56936b488
[ "Apache-2.0" ]
null
null
null
""" ################################################################################################## # Copyright Info : Copyright (c) Davar Lab @ Hikvision Research Institute. All rights reserved. # Filename : test_base_setting.py # Abstract : Base recognition Model test setting # Current Versio...
28.151724
98
0.55855
357
4,082
6.215686
0.361345
0.064894
0.099144
0.189274
0.529067
0.529067
0.499324
0.445246
0.20009
0
0
0.04065
0.246693
4,082
144
99
28.347222
0.680976
0.144782
0
0.26087
0
0
0.448633
0.221295
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
421fc330a46cb612f83e97e54667cf46f473d325
2,586
py
Python
sourcecode/Lab02_1/main.py
anhquannguyen21/Knowledge-Based
37f85109e9ee8e8d24f2931ac5d8417a0b6ef6cd
[ "MIT" ]
null
null
null
sourcecode/Lab02_1/main.py
anhquannguyen21/Knowledge-Based
37f85109e9ee8e8d24f2931ac5d8417a0b6ef6cd
[ "MIT" ]
null
null
null
sourcecode/Lab02_1/main.py
anhquannguyen21/Knowledge-Based
37f85109e9ee8e8d24f2931ac5d8417a0b6ef6cd
[ "MIT" ]
null
null
null
import sys, getopt import knowledgeBase import sentence def addNegativeAlphaToKb(kb, alpha): for s in alpha: kb.append(sentence.Sentence([-s])) def pl_resolution(kb, alpha): # store existed sentences hashes hashSet = set() # store existed sentences base = knowledgeBase.KnowledgeBase([]) # new store new sen...
23.297297
64
0.680974
362
2,586
4.837017
0.314917
0.023986
0.018846
0.02056
0.081668
0.066819
0.066819
0.066819
0.066819
0
0
0.006724
0.194896
2,586
111
65
23.297297
0.834294
0.21191
0
0.097222
0
0
0.083498
0
0
0
0
0
0
0
null
null
0
0.041667
null
null
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4224be5341975bfa8651410f20ad99f12f663f7d
3,974
py
Python
timelogsparser/__init__.py
radeinla/timelogparser
91b72e9769c1810677e937ba97c743d11679ed4b
[ "MIT" ]
null
null
null
timelogsparser/__init__.py
radeinla/timelogparser
91b72e9769c1810677e937ba97c743d11679ed4b
[ "MIT" ]
null
null
null
timelogsparser/__init__.py
radeinla/timelogparser
91b72e9769c1810677e937ba97c743d11679ed4b
[ "MIT" ]
null
null
null
import argparse import os import sys import anyconfig from refreshbooks import api from timelogs import Timelogs parent_parser = argparse.ArgumentParser(description="Timelogs Processor", add_help=False) parent_parser.add_argument('files', nargs='*', help='file sources', type=argparse.FileType('r')) parser = argparse....
41.395833
99
0.650981
440
3,974
5.672727
0.290909
0.032051
0.025641
0.048077
0.139022
0.065705
0.038462
0.038462
0.038462
0
0
0.000637
0.209612
3,974
95
100
41.831579
0.794015
0
0
0.068182
0
0
0.18772
0.007297
0
0
0
0
0
0
null
null
0
0.068182
null
null
0.102273
0
0
0
null
0
0
0
0
0
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
42265f673a4e4d68c87939b4b853f50ea0d8ab58
829
py
Python
HW4/task1.py
toporovyaroslav/Web-Development-Practice
8f946ecbf382d670b758a07e6090611ee9a57e91
[ "MIT" ]
null
null
null
HW4/task1.py
toporovyaroslav/Web-Development-Practice
8f946ecbf382d670b758a07e6090611ee9a57e91
[ "MIT" ]
null
null
null
HW4/task1.py
toporovyaroslav/Web-Development-Practice
8f946ecbf382d670b758a07e6090611ee9a57e91
[ "MIT" ]
null
null
null
def enc(): code=input('Write what you want to encrypt: ') new_code_1='' for i in range(0,len(code)-1,1): new_code_1=new_code_1+code[i+1] new_code_1=new_code_1+code[i] print(new_code_1) def dec(): code=input('Write what you want to deccrypt: ') new_code='' if len(cod...
27.633333
78
0.566948
131
829
3.374046
0.305344
0.221719
0.108597
0.081448
0.357466
0.316742
0.316742
0.099548
0.099548
0
0
0.02916
0.296743
829
29
79
28.586207
0.728988
0
0
0.068966
0
0
0.225
0
0
0
0
0
0
1
0.103448
false
0
0
0
0.103448
0.172414
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
422ecaa17a0371ebd4a2c30fb1f3997d7e9d3d24
3,665
py
Python
options/train_options.py
SheldonTsui/PseudoBinaural_CVPR2021
87f7be08d41748995c561ad1dc7bda453d4ee553
[ "CC-BY-4.0" ]
41
2021-04-08T06:19:39.000Z
2022-03-30T02:30:02.000Z
options/train_options.py
SheldonTsui/PseudoBinaural_CVPR2021
87f7be08d41748995c561ad1dc7bda453d4ee553
[ "CC-BY-4.0" ]
6
2021-05-18T09:45:44.000Z
2021-08-17T09:49:59.000Z
options/train_options.py
SheldonTsui/PseudoBinaural_CVPR2021
87f7be08d41748995c561ad1dc7bda453d4ee553
[ "CC-BY-4.0" ]
9
2021-04-08T06:28:06.000Z
2022-03-05T05:59:56.000Z
from .base_options import BaseOptions class TrainOptions(BaseOptions): def initialize(self): BaseOptions.initialize(self) self.parser.add_argument('--display_freq', type=int, default=50, help='frequency of displaying average loss') self.parser.add_argument('--save_epoch_freq', type=int, def...
83.295455
150
0.711869
503
3,665
5.053678
0.26839
0.110149
0.143194
0.231314
0.383556
0.239575
0.185287
0.095201
0.067663
0.036979
0
0.016399
0.151432
3,665
43
151
85.232558
0.800965
0.010368
0
0
0
0
0.386696
0.014905
0
0
0
0
0
1
0.028571
false
0
0.028571
0
0.085714
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
422ed23204265bf2f2e2f647d1b828a4aff4b4ca
741
py
Python
pyparty/plots.py
hugadams/pyparty
0501cc0096ef3fa4c3499db5e621b3d50eab9613
[ "BSD-3-Clause" ]
24
2015-01-16T21:00:35.000Z
2020-05-13T13:31:33.000Z
pyparty/plots.py
hugadams/pyparty
0501cc0096ef3fa4c3499db5e621b3d50eab9613
[ "BSD-3-Clause" ]
2
2015-02-06T00:13:13.000Z
2015-03-11T21:09:40.000Z
pyparty/plots.py
hugadams/pyparty
0501cc0096ef3fa4c3499db5e621b3d50eab9613
[ "BSD-3-Clause" ]
17
2015-02-26T11:07:58.000Z
2021-02-26T07:44:59.000Z
""" Imports/wrapper for separating plots out of utils. Maintains backwards compatibility by not changing utils.py""" from pyparty.utils import grayhist, splot, showim, zoom, zoomshow from pyparty.utils import multi_axes def multishow(images, *args, **kwargs): """ """ names = kwargs.pop('names', []) ...
28.5
65
0.616734
90
741
5
0.544444
0.088889
0.071111
0.097778
0
0
0
0
0
0
0
0.003623
0.255061
741
26
66
28.5
0.811594
0.148448
0
0
0
0
0.021036
0
0
0
0
0
0
1
0.0625
false
0.0625
0.125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4230a7f4cffe41a1ece8fecdc00748f6dfb7a4a1
339
py
Python
python/entity/avatar.py
ht15/meta
0d576439c3823dbb443cb92533d8f1e6d5c8d4ce
[ "BSD-3-Clause" ]
19
2019-09-09T03:31:51.000Z
2021-11-12T11:43:43.000Z
python/entity/avatar.py
ht15/meta
0d576439c3823dbb443cb92533d8f1e6d5c8d4ce
[ "BSD-3-Clause" ]
1
2020-11-12T10:39:05.000Z
2020-11-21T05:56:40.000Z
python/entity/avatar.py
ht15/meta
0d576439c3823dbb443cb92533d8f1e6d5c8d4ce
[ "BSD-3-Clause" ]
6
2020-03-30T09:36:39.000Z
2022-03-30T08:48:54.000Z
# -*- coding: utf-8 -*- from common.utils.register_component import register_component from entity import avatar_components @register_component(avatar_components.collect()) class Avatar(object): def __init__(self): all_conststructors = getattr(self, "__constructors__", {}) for k, v in all_conststructors.iterite...
24.214286
62
0.761062
41
339
5.926829
0.658537
0.209877
0
0
0
0
0
0
0
0
0
0.003367
0.123894
339
14
63
24.214286
0.814815
0.061947
0
0
0
0
0.050473
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5
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
4232a3711f1874dd5dfe4575d0f96787c308788b
387
py
Python
Labs/Lab04/QuestionFindMaxAndMinInAListOfNumbersSolution02.py
tariqueameer7/course-python
f1252e82471f7e34d66beb30d9236850df1bd8d4
[ "Apache-2.0" ]
1
2021-02-04T16:59:11.000Z
2021-02-04T16:59:11.000Z
Labs/Lab04/QuestionFindMaxAndMinInAListOfNumbersSolution02.py
tariqueameer7/course-python
f1252e82471f7e34d66beb30d9236850df1bd8d4
[ "Apache-2.0" ]
null
null
null
Labs/Lab04/QuestionFindMaxAndMinInAListOfNumbersSolution02.py
tariqueameer7/course-python
f1252e82471f7e34d66beb30d9236850df1bd8d4
[ "Apache-2.0" ]
1
2019-10-30T14:37:48.000Z
2019-10-30T14:37:48.000Z
import sys str_list_of_numbers = "1 12 15 21 -3 45 999 0 23" list_of_numbers = str_list_of_numbers.split(" ") print(list_of_numbers) min_value = int(list_of_numbers[0]) max_value = int(list_of_numbers[0]) for str_n in list_of_numbers: n = int(str_n) min_value = min(min_value,n) max_value = max(max_valu...
24.1875
60
0.72093
74
387
3.391892
0.337838
0.167331
0.36255
0.12749
0.175299
0.175299
0
0
0
0
0
0.055556
0.162791
387
16
60
24.1875
0.719136
0
0
0
0
0
0.185567
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.181818
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
4236283fd225fa86216c5ccc1151a163bb0da050
522
py
Python
documents/migrations/0009_document_related.py
brandonrobertz/foia-pdf-processing-system
025516b5e2234df16741237c4208cd484f577370
[ "MIT" ]
null
null
null
documents/migrations/0009_document_related.py
brandonrobertz/foia-pdf-processing-system
025516b5e2234df16741237c4208cd484f577370
[ "MIT" ]
null
null
null
documents/migrations/0009_document_related.py
brandonrobertz/foia-pdf-processing-system
025516b5e2234df16741237c4208cd484f577370
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2020-10-12 22:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('documents', '0008_fieldcategory_count'), ] operations = [ migrations.AddField( model_name='document', name='related'...
27.473684
182
0.653257
58
522
5.741379
0.724138
0.072072
0
0
0
0
0
0
0
0
0
0.0475
0.233716
522
18
183
29
0.785
0.086207
0
0
1
0
0.317895
0.050526
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
423edfd23bfeb154086ccd917a9181ac3a00fb7b
509
py
Python
adv/linyou.py.z.py
mattkw/dl
45bfc28ad9ff827045a3734730deb893a2436c09
[ "Apache-2.0" ]
null
null
null
adv/linyou.py.z.py
mattkw/dl
45bfc28ad9ff827045a3734730deb893a2436c09
[ "Apache-2.0" ]
null
null
null
adv/linyou.py.z.py
mattkw/dl
45bfc28ad9ff827045a3734730deb893a2436c09
[ "Apache-2.0" ]
null
null
null
import adv_test import linyou import slot.d.wind def module(): return Linyou_best class Linyou_best(linyou.Linyou): name = 'Linyou' comment = '2in1 ; Zephyr' def pre(this): pass if __name__ == '__main__': conf = {} # a better acl, but hit threshold o...
16.966667
53
0.526523
66
509
3.878788
0.651515
0.054688
0
0
0
0
0
0
0
0
0
0.048048
0.345776
509
29
54
17.551724
0.720721
0.092338
0
0
0
0
0.270153
0.045752
0
0
0
0
0
1
0.105263
false
0.052632
0.157895
0.052632
0.473684
0
0
0
0
null
0
0
0
0
0
0
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
424f3c8755558306b60229bea8041fbc96093088
5,018
py
Python
example/articles/tests/perms/generic.py
druids/django-fperms
aaae530ef09193ac224f389b2e05555f4e641a52
[ "MIT" ]
1
2019-10-07T12:40:40.000Z
2019-10-07T12:40:40.000Z
example/articles/tests/perms/generic.py
druids/django-fperms
aaae530ef09193ac224f389b2e05555f4e641a52
[ "MIT" ]
1
2020-09-17T14:41:10.000Z
2020-09-17T14:41:10.000Z
example/articles/tests/perms/generic.py
druids/django-fperms
aaae530ef09193ac224f389b2e05555f4e641a52
[ "MIT" ]
null
null
null
from fperms import get_perm_model from django.test import TestCase, override_settings from .base import ArticleUserPermTestCase, ArticleGroupPermTestCase from .factories import GroupFactory, UserFactory Perm = get_perm_model() class GenericPermTestCaseMixin: def _create_perm(self): return Perm.objects....
32.584416
94
0.71662
639
5,018
5.327074
0.13302
0.082256
0.123384
0.069918
0.741774
0.723561
0.649236
0.574618
0.553467
0.445946
0
0.000974
0.181746
5,018
153
95
32.797386
0.828057
0.020725
0
0.520408
0
0
0.045001
0
0
0
0
0
0.214286
1
0.173469
false
0
0.040816
0.020408
0.27551
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
425b8681e0ede53adcea81da6ba37461086fe813
480
py
Python
coderdojochi/migrations/0006_session_gender_limitation.py
rgroves/weallcode-website
ead60d3272dbbfe610b2d500978d1de44aef6386
[ "MIT" ]
15
2019-05-04T00:24:00.000Z
2021-08-21T16:34:05.000Z
coderdojochi/migrations/0006_session_gender_limitation.py
rgroves/weallcode-website
ead60d3272dbbfe610b2d500978d1de44aef6386
[ "MIT" ]
73
2019-04-24T15:53:42.000Z
2021-08-06T20:41:41.000Z
coderdojochi/migrations/0006_session_gender_limitation.py
rgroves/weallcode-website
ead60d3272dbbfe610b2d500978d1de44aef6386
[ "MIT" ]
20
2019-04-26T20:13:08.000Z
2021-06-21T14:53:21.000Z
# Generated by Django 1.9.6 on 2016-08-30 21:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('coderdojochi', '0005_auto_20160817_2313'), ] operations = [ migrations.AddField( model_name='session', name='gender...
24
128
0.614583
56
480
5.160714
0.785714
0.034602
0.041522
0
0
0
0
0
0
0
0
0.093923
0.245833
480
19
129
25.263158
0.70442
0.09375
0
0
1
0
0.182448
0.053118
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
42631916217a15862b3063922ea605801322b19f
356
py
Python
Numeric Patterns/numericpattern236.py
vaidehisinha1/Python-PatternHouse
49f71bcc5319a838592e69b0e49ef1edba32bf7c
[ "MIT" ]
null
null
null
Numeric Patterns/numericpattern236.py
vaidehisinha1/Python-PatternHouse
49f71bcc5319a838592e69b0e49ef1edba32bf7c
[ "MIT" ]
471
2022-01-15T07:07:18.000Z
2022-02-28T16:01:42.000Z
Numeric Patterns/numericpattern236.py
vaidehisinha1/Python-PatternHouse
49f71bcc5319a838592e69b0e49ef1edba32bf7c
[ "MIT" ]
2
2022-01-17T09:43:16.000Z
2022-01-29T15:15:47.000Z
height = int(input()) for i in range(1, height + 1): for j in range(1, height + 1): if(i == 1 or i == height or j == 1 or j == height): print(1,end=" ") else: print(0,end=" ") print() # Sample Input :- 5 # Output :- # 1 1 1 1 1 # 1 0 0 0 1 # 1 0 0 ...
15.478261
59
0.41573
66
356
2.242424
0.272727
0.162162
0.162162
0.162162
0.371622
0.168919
0.114865
0.114865
0.114865
0.114865
0
0.17
0.438202
356
22
60
16.181818
0.57
0.227528
0
0
0
0
0.007519
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
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
4264b684e4aaf8c46172012d515f23b35427b605
3,035
py
Python
electrum_gui/common/provider/interfaces.py
liuzjalex/electrum
98f7c8bfdef071cd859d54f1f72c39688cde41cf
[ "MIT" ]
null
null
null
electrum_gui/common/provider/interfaces.py
liuzjalex/electrum
98f7c8bfdef071cd859d54f1f72c39688cde41cf
[ "MIT" ]
null
null
null
electrum_gui/common/provider/interfaces.py
liuzjalex/electrum
98f7c8bfdef071cd859d54f1f72c39688cde41cf
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import List, Optional from electrum_gui.common.provider.data import ( Address, PricePerUnit, ProviderInfo, Token, Transaction, TransactionStatus, TxBroadcastReceipt, TxPaginate, ) from electrum_gui.common.provider.exceptions import Transac...
26.391304
71
0.602636
308
3,035
5.824675
0.256494
0.020067
0.044593
0.035117
0.221851
0.189521
0.189521
0.149387
0.149387
0.149387
0
0
0.31598
3,035
114
72
26.622807
0.864162
0.301483
0
0.22449
0
0
0
0
0
0
0
0.008772
0
1
0.204082
false
0
0.081633
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
426512a1c734c35dfb84832c7e103d6488771ee8
629
py
Python
Basic Algorithms/Trie/trie_introduction_solution_2.py
michal0janczyk/udacity_data_structures_and_algorithms_nanodegree
3ec4bb94158d4dee59056703e63cb0fab07cb18c
[ "Unlicense" ]
1
2021-09-27T10:18:14.000Z
2021-09-27T10:18:14.000Z
Basic Algorithms/Trie/trie_introduction_solution_2.py
michal0janczyk/udacity_data_structures_and_algorithms_nanodegree
3ec4bb94158d4dee59056703e63cb0fab07cb18c
[ "Unlicense" ]
null
null
null
Basic Algorithms/Trie/trie_introduction_solution_2.py
michal0janczyk/udacity_data_structures_and_algorithms_nanodegree
3ec4bb94158d4dee59056703e63cb0fab07cb18c
[ "Unlicense" ]
null
null
null
class Trie(object): def __init__(self): self.root = TrieNode() def add(self, word): """ Add `word` to trie """ current_node = self.root for char in word: current_node = current_node.children[char] current_node.is_word = True def exi...
22.464286
54
0.54213
74
629
4.405405
0.337838
0.303681
0.174847
0.116564
0.429448
0.429448
0.220859
0.220859
0.220859
0
0
0
0.376789
629
28
55
22.464286
0.831633
0.074722
0
0.4
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
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
4266819c4b4bc131b46c28aad6edeb51b7d02a65
32,735
py
Python
met/metadataparser/views.py
z1digitalstudio/met
7840e7520bb4c3cb0328d5988468eefe6639f950
[ "BSD-2-Clause" ]
11
2016-06-30T13:20:39.000Z
2021-01-14T20:53:15.000Z
met/metadataparser/views.py
z1digitalstudio/met
7840e7520bb4c3cb0328d5988468eefe6639f950
[ "BSD-2-Clause" ]
50
2016-02-03T14:49:06.000Z
2022-02-24T01:35:50.000Z
met/metadataparser/views.py
z1digitalstudio/met
7840e7520bb4c3cb0328d5988468eefe6639f950
[ "BSD-2-Clause" ]
9
2016-04-22T19:24:36.000Z
2022-01-11T10:30:54.000Z
################################################################# # MET v2 Metadate Explorer Tool # # This Software is Open Source. See License: https://github.com/TERENA/met/blob/master/LICENSE.md # Copyright (c) 2012, TERENA All rights reserved. # # This Software is based on MET v1 developed for TERENA by Yaco Sistem...
40.363748
179
0.606537
3,429
32,735
5.550598
0.120735
0.032365
0.010403
0.01324
0.50218
0.463563
0.383334
0.33174
0.280092
0.266852
0
0.004347
0.283214
32,735
810
180
40.41358
0.80681
0.017138
0
0.393519
0
0
0.131034
0.024245
0
0
0
0
0
0
null
null
0
0.04784
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
426b47e4e37b8f849d28db246d7984b89cf37af6
1,300
py
Python
generate.py
gyzhangqm/adjac
49e19123b7abee390ecfc29ae8c6327bc957690a
[ "BSD-3-Clause" ]
21
2017-07-18T18:55:45.000Z
2021-10-12T19:01:59.000Z
generate.py
pv/adjac
49e19123b7abee390ecfc29ae8c6327bc957690a
[ "BSD-3-Clause" ]
null
null
null
generate.py
pv/adjac
49e19123b7abee390ecfc29ae8c6327bc957690a
[ "BSD-3-Clause" ]
3
2018-07-30T21:02:25.000Z
2020-02-23T19:12:17.000Z
""" generate.py SRC DST """ import sys import os import argparse try: import tempita except ImportError: import Cython.Tempita as tempita def define_symbol(string): try: key, value = string.split('=', 1) return key, eval(value) except: raise argparse.ArgumentError("%r is not of...
25
105
0.607692
175
1,300
4.411429
0.48
0.015544
0.046632
0.036269
0.165803
0.165803
0.165803
0.165803
0.165803
0.165803
0
0.004082
0.246154
1,300
51
106
25.490196
0.783673
0.014615
0
0.054054
1
0
0.190102
0
0
0
0
0
0
1
0.081081
false
0
0.162162
0
0.27027
0
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
426c687bae81df33c3fe042c7a91b5480cd9a2ef
6,511
py
Python
attendees/persons/views/api/datagrid_data_attendee.py
xjlin0/attendees32
25913c75ea8d916dcb065a23f2fa68bea558f77c
[ "MIT" ]
null
null
null
attendees/persons/views/api/datagrid_data_attendee.py
xjlin0/attendees32
25913c75ea8d916dcb065a23f2fa68bea558f77c
[ "MIT" ]
5
2022-01-21T03:26:40.000Z
2022-02-04T17:32:16.000Z
attendees/persons/views/api/datagrid_data_attendee.py
xjlin0/attendees32
25913c75ea8d916dcb065a23f2fa68bea558f77c
[ "MIT" ]
null
null
null
import time from django.contrib.auth.mixins import LoginRequiredMixin from django.contrib.postgres.aggregates.general import JSONBAgg from django.db.models import Func, Value from django.db.models.expressions import F from django.db.models.functions import Concat, Trim from django.shortcuts import get_object_or_404 fr...
41.208861
115
0.560897
566
6,511
6.10424
0.316254
0.035022
0.015919
0.02026
0.257887
0.233575
0.185818
0.171346
0.171346
0.171346
0
0.006539
0.365842
6,511
157
116
41.471338
0.830225
0.241745
0
0.296296
0
0
0.129072
0.094845
0
0
0
0.012739
0
1
0.037037
false
0
0.111111
0
0.175926
0
0
0
0
null
0
0
0
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
426d17a7392e5b7644496f8b1433443f5c8f09d7
3,531
py
Python
crud-flask-demo/service/test/test_permission.py
wencan/crud-flask-demo
1aa585761be2c7dfde334fe9cfb1658ebdfdc7d5
[ "BSD-3-Clause" ]
null
null
null
crud-flask-demo/service/test/test_permission.py
wencan/crud-flask-demo
1aa585761be2c7dfde334fe9cfb1658ebdfdc7d5
[ "BSD-3-Clause" ]
null
null
null
crud-flask-demo/service/test/test_permission.py
wencan/crud-flask-demo
1aa585761be2c7dfde334fe9cfb1658ebdfdc7d5
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # 权限service单元测试 # wencan # 2019-04-26 import unittest import unittest.mock as mock import typing from datetime import datetime from .exception import NoRowsForTest from ... import model from .. import permission from ...cmd.abcs import CmdAbstractException from ..abcs i...
43.060976
157
0.694138
398
3,531
5.944724
0.263819
0.017751
0.02874
0.030431
0.227388
0.193998
0.193998
0.150042
0.130178
0.130178
0
0.017033
0.201926
3,531
82
158
43.060976
0.822569
0.047012
0
0.153846
0
0
0.037877
0.019386
0
0
0
0
0.134615
1
0.134615
false
0.134615
0.173077
0.019231
0.442308
0
0
0
0
null
0
0
0
0
0
0
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
426f75c631daa8e22757bbb5660d0b7d53c47305
3,063
py
Python
tests/base_test.py
Elbertbiggs360/buckelist-api
1fd6a857c45aafa55b39d3c215b1e69e0b23c33b
[ "MIT" ]
null
null
null
tests/base_test.py
Elbertbiggs360/buckelist-api
1fd6a857c45aafa55b39d3c215b1e69e0b23c33b
[ "MIT" ]
18
2017-08-22T11:44:19.000Z
2021-02-02T07:16:59.000Z
tests/base_test.py
Elbertbiggs360/buckelist-api
1fd6a857c45aafa55b39d3c215b1e69e0b23c33b
[ "MIT" ]
null
null
null
import unittest import json from app import create_app from app.models.baseModel import db from app.models.user import User from app.models.bucketlist import Bucketlist from app.models.item import Item class BaseCase(unittest.TestCase): ''' A class detailing the base properties to be inherited ''' @staticmet...
32.585106
85
0.595821
372
3,063
4.736559
0.274194
0.035755
0.029512
0.035755
0.162883
0.107832
0.070375
0
0
0
0
0.007745
0.283382
3,063
93
86
32.935484
0.794989
0.08064
0
0.125
0
0
0.090353
0
0
0
0
0
0.013889
1
0.125
false
0.069444
0.097222
0.013889
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4275ac9bdbfa91c603485fbd5316f011acbb0d3e
530
py
Python
remix/auth.py
jsurloppe/remix
cccdcf861304bf94775b5b626309da8b3d929a9f
[ "BSD-3-Clause" ]
1
2016-10-06T12:09:37.000Z
2016-10-06T12:09:37.000Z
remix/auth.py
jsurloppe/remix
cccdcf861304bf94775b5b626309da8b3d929a9f
[ "BSD-3-Clause" ]
null
null
null
remix/auth.py
jsurloppe/remix
cccdcf861304bf94775b5b626309da8b3d929a9f
[ "BSD-3-Clause" ]
null
null
null
"""Some requests auth classes.""" from requests import auth class TokenAuth(auth.AuthBase): def __init__(self, token): self.token = token def __call__(self, r): r.headers["Authorization"] = "Token %s" % self.token return r class XTokenAuth(TokenAuth): def __call__(self, r): ...
21.2
65
0.607547
64
530
4.78125
0.359375
0.147059
0.107843
0.117647
0.535948
0.339869
0.339869
0
0
0
0
0
0.267925
530
24
66
22.083333
0.78866
0.050943
0
0.4
0
0
0.110664
0
0
0
0
0
0
1
0.266667
false
0
0.066667
0
0.733333
0
0
0
0
null
0
0
0
0
0
0
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
427f3bd153a6997ca74cebb353017aa349b18447
7,165
py
Python
openmdao.lib/src/openmdao/lib/architectures/mdao_test_suite.py
mjfwest/OpenMDAO-Framework
a5521f47ad7686c25b203de74e1c7dff5fd7a52b
[ "Apache-2.0" ]
69
2015-01-02T19:10:08.000Z
2021-11-14T04:42:28.000Z
openmdao.lib/src/openmdao/lib/architectures/mdao_test_suite.py
jcchin/OpenMDAO-Framework
038e89b06da1c74f00918f4c6fbd8bd365e25657
[ "Apache-2.0" ]
3
2015-01-15T23:08:18.000Z
2015-03-11T16:57:35.000Z
openmdao.lib/src/openmdao/lib/architectures/mdao_test_suite.py
jcchin/OpenMDAO-Framework
038e89b06da1c74f00918f4c6fbd8bd365e25657
[ "Apache-2.0" ]
31
2015-09-16T00:37:35.000Z
2022-01-10T06:27:55.000Z
"""Script to run all Architectures in openmdao.lib.architectures against all OptProblems in openmdao.lib.optproblems. """ import os import openmdao.lib.optproblems import openmdao.lib.architectures from openmdao.lib.casehandlers.api import DBCaseRecorder from openmdao.main.api import set_as_top # because accessin...
38.521505
101
0.63238
881
7,165
4.939841
0.204313
0.022748
0.017923
0.013787
0.386949
0.326287
0.283548
0.232996
0.232996
0.201746
0
0.001353
0.277739
7,165
185
102
38.72973
0.839614
0.061549
0
0.087912
0
0
0.101961
0.020021
0
0
0
0
0
0
null
null
0
0.098901
null
null
0.098901
0
0
0
null
0
0
0
0
0
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
42819b89fd839f7d9478ad40e1b8979f737c1ede
408
py
Python
setup.py
mikesplain/localtunnel
66b011ac29983413167f2a2664e252084949c3fa
[ "MIT" ]
1
2019-05-06T18:28:40.000Z
2019-05-06T18:28:40.000Z
setup.py
mikesplain/localtunnel
66b011ac29983413167f2a2664e252084949c3fa
[ "MIT" ]
null
null
null
setup.py
mikesplain/localtunnel
66b011ac29983413167f2a2664e252084949c3fa
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os from setuptools import setup, find_packages setup( name='localtunnel', version='0.4.0', author='Jeff Lindsay', author_email='jeff.lindsay@twilio.com', description='', packages=find_packages(), install_requires=['ginkgo', 'ws4py'], data_files=[], entry...
22.666667
46
0.634804
46
408
5.478261
0.782609
0.095238
0
0
0
0
0
0
0
0
0
0.012346
0.205882
408
17
47
24
0.765432
0.04902
0
0
0
0
0.271318
0.118863
0
0
0
0
0
1
0
true
0
0.133333
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
4282b9fe93e2e563c0825e74c359e308173c4938
2,503
py
Python
tests/test.py
redcanaryco/cbapi2
13998e75a4c94afa3c1f79e669ba3e6986338083
[ "Apache-2.0" ]
22
2015-04-03T02:21:05.000Z
2021-07-23T03:57:31.000Z
tests/test.py
redcanaryco/cbapi2
13998e75a4c94afa3c1f79e669ba3e6986338083
[ "Apache-2.0" ]
1
2015-05-21T14:35:31.000Z
2015-05-22T14:09:21.000Z
tests/test.py
redcanaryco/cbapi2
13998e75a4c94afa3c1f79e669ba3e6986338083
[ "Apache-2.0" ]
12
2015-04-09T17:37:14.000Z
2021-07-23T03:57:42.000Z
import unittest from nose.tools import * from cbapi2 import CbApi2, CbNetConnEvent import unittest class test_CbApi2(unittest.TestCase): def setUp(self): # connect to the Cb API self.cb = CbApi2('http://172.16.112.184/', '070093f0c987ca0b5fc7a72fa467e995cf4930b4', ssl_verify=False, ...
34.763889
112
0.606872
309
2,503
4.841424
0.38835
0.024064
0.043449
0.063503
0.244652
0.161765
0.124332
0.124332
0.124332
0.080214
0
0.031339
0.298841
2,503
71
113
35.253521
0.821083
0.120256
0
0.3
0
0
0.166439
0.040128
0
0
0
0
0.06
0
null
null
0
0.08
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
428a1f5851a0d7b3048ae026e9b8c42dcb429452
2,237
py
Python
mnist/part2-mnist/nnet_fc.py
tritus/ml-courses
687c5006863ead9bee07dc3d76245a173c21528e
[ "MIT" ]
null
null
null
mnist/part2-mnist/nnet_fc.py
tritus/ml-courses
687c5006863ead9bee07dc3d76245a173c21528e
[ "MIT" ]
null
null
null
mnist/part2-mnist/nnet_fc.py
tritus/ml-courses
687c5006863ead9bee07dc3d76245a173c21528e
[ "MIT" ]
null
null
null
#! /usr/bin/env python import _pickle as cPickle, gzip import numpy as np from tqdm import tqdm import torch import torch.autograd as autograd import torch.nn.functional as F import torch.nn as nn import sys sys.path.append("..") import utils from utils import * from train_utils import batchify_data, run_epoch, train_...
32.897059
111
0.669647
324
2,237
4.391975
0.32716
0.037948
0.045678
0.059733
0.08714
0.060436
0
0
0
0
0
0.02759
0.20608
2,237
67
112
33.38806
0.773649
0.130979
0
0
0
0
0.026795
0
0
0
0
0.014925
0
1
0.021277
false
0
0.234043
0
0.255319
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
1
0
0
0
0
0
0
0
0
0
0
1
4293f1005a4ecbf6656903ad5c6010cf1bfcd729
647
py
Python
account/migrations/0003_auto_20190822_1347.py
joeseggie/demo_bankaccount
aa637094e60093485b560dd968b098590ad2f743
[ "MIT" ]
null
null
null
account/migrations/0003_auto_20190822_1347.py
joeseggie/demo_bankaccount
aa637094e60093485b560dd968b098590ad2f743
[ "MIT" ]
8
2020-02-12T01:48:18.000Z
2022-02-10T12:50:06.000Z
account/migrations/0003_auto_20190822_1347.py
joeseggie/demo_bankaccount
aa637094e60093485b560dd968b098590ad2f743
[ "MIT" ]
null
null
null
# Generated by Django 2.2.4 on 2019-08-22 13:47 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('account', '0002_auto_20190822_1009'), ] operations = [ migrations.AddField( model_name='account', ...
25.88
90
0.618238
69
647
5.695652
0.681159
0.05598
0.096692
0
0
0
0
0
0
0
0
0.075949
0.267388
647
24
91
26.958333
0.753165
0.069552
0
0.111111
1
0
0.101667
0.038333
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
429b2ae6cf1b406a68dda55df17d3979716fc0ef
407
py
Python
verellen/content/migrations/0004_remove_menucontent_resources_label.py
bitblueprint/verellen.biz
f9b26f783f94518314b12e360b0b297b08ad85c0
[ "MIT" ]
null
null
null
verellen/content/migrations/0004_remove_menucontent_resources_label.py
bitblueprint/verellen.biz
f9b26f783f94518314b12e360b0b297b08ad85c0
[ "MIT" ]
null
null
null
verellen/content/migrations/0004_remove_menucontent_resources_label.py
bitblueprint/verellen.biz
f9b26f783f94518314b12e360b0b297b08ad85c0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2016-12-20 22:08 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('content', '0003_auto_20161220_2207'), ] operations = [ migrations.RemoveField( ...
20.35
48
0.626536
44
407
5.568182
0.840909
0
0
0
0
0
0
0
0
0
0
0.109635
0.260442
407
19
49
21.421053
0.704319
0.167076
0
0
1
0
0.166667
0.068452
0
0
0
0
0
1
0
false
0
0.166667
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
42a23d9adf986dba720ab669506ba2bfa73d2da2
798
py
Python
th_github/models.py
Leopere/django-th
86c999d16bcf30b6224206e5b40824309834ac8c
[ "BSD-3-Clause" ]
1,069
2015-01-07T01:55:57.000Z
2022-02-17T10:50:57.000Z
th_github/models.py
barrygolden/django-th
86c999d16bcf30b6224206e5b40824309834ac8c
[ "BSD-3-Clause" ]
207
2015-01-06T21:41:17.000Z
2018-02-20T14:10:15.000Z
th_github/models.py
barrygolden/django-th
86c999d16bcf30b6224206e5b40824309834ac8c
[ "BSD-3-Clause" ]
117
2015-01-04T16:21:13.000Z
2022-02-22T06:18:49.000Z
# coding: utf-8 from django.db import models from django_th.models.services import Services from django_th.models import TriggerService class Github(Services): """ github model to be adapted for the new service """ # put whatever you need here # eg title = models.CharField(max_length=80) ...
24.9375
73
0.656642
103
798
4.941748
0.592233
0.058939
0.10609
0.141454
0.153242
0
0
0
0
0
0
0.011785
0.255639
798
31
74
25.741935
0.845118
0.258145
0
0
0
0
0.06814
0
0
0
0
0
0
1
0.142857
false
0
0.214286
0.071429
0.857143
0
0
0
0
null
0
0
0
0
0
0
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
42a637c5bb43d4e0d66b567a914f7c7c2e97f468
2,447
py
Python
jhub_client/utils.py
TomAugspurger/jhub-client
8545ddebbf14d160c8621b97fc26a561df5bc6c5
[ "BSD-3-Clause" ]
4
2021-02-05T11:21:23.000Z
2021-06-25T09:39:10.000Z
jhub_client/utils.py
TomAugspurger/jhub-client
8545ddebbf14d160c8621b97fc26a561df5bc6c5
[ "BSD-3-Clause" ]
5
2020-11-19T00:59:05.000Z
2021-02-04T14:39:33.000Z
jhub_client/utils.py
costrouc/jhub-client
8545ddebbf14d160c8621b97fc26a561df5bc6c5
[ "BSD-3-Clause" ]
4
2021-02-05T12:04:28.000Z
2021-05-26T14:12:04.000Z
import json def parse_notebook_cells(notebook_path): with open(notebook_path) as f: notebook_data = json.load(f) cells = [] for cell in notebook_data["cells"]: if cell["cell_type"] == "code": source = "".join(cell["source"]) outputs = [] for output in c...
29.130952
97
0.564773
251
2,447
5.322709
0.306773
0.052395
0.038174
0.034431
0.040419
0
0
0
0
0
0
0.001749
0.299142
2,447
83
98
29.481928
0.777259
0.020842
0
0.076923
0
0
0.343776
0.12782
0
0
0
0.012048
0
1
0.046154
false
0
0.061538
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
42ad8145a9e2595864b52a6d55132f5c8496928b
1,425
py
Python
src/python/pants/core/register.py
timgates42/pants
1b10d78b9e3dbbb3f66a5e08c9ba5d369913fdbd
[ "Apache-2.0" ]
null
null
null
src/python/pants/core/register.py
timgates42/pants
1b10d78b9e3dbbb3f66a5e08c9ba5d369913fdbd
[ "Apache-2.0" ]
null
null
null
src/python/pants/core/register.py
timgates42/pants
1b10d78b9e3dbbb3f66a5e08c9ba5d369913fdbd
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). """Core rules for Pants to operate correctly. These are always activated and cannot be disabled. """ from pants.core.goals import fmt, lint, package, repl, run, test, typecheck from pant...
26.886792
98
0.663158
159
1,425
5.761006
0.402516
0.049127
0.056769
0.041485
0.065502
0.065502
0
0
0
0
0
0.00546
0.228772
1,425
52
99
27.403846
0.828025
0.167719
0
0
0
0
0
0
0
0
0
0
0
1
0.052632
true
0
0.131579
0.052632
0.236842
0
0
0
0
null
0
0
0
0
0
0
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
42b0a8d5907ecf5b65defc387b9215f2d1a6b66b
214
py
Python
main.py
liaoyongming/flaskapi
c3a5122c5443482c9214196713752a918a7a7bef
[ "MIT" ]
null
null
null
main.py
liaoyongming/flaskapi
c3a5122c5443482c9214196713752a918a7a7bef
[ "MIT" ]
null
null
null
main.py
liaoyongming/flaskapi
c3a5122c5443482c9214196713752a918a7a7bef
[ "MIT" ]
null
null
null
#!/usr/bin/env python from flask_script import Manager, Shell from app import create_app,db from flask_migrate import Migrate,MigrateCommand app = create_app() if __name__ == '__main__': app.run(debug=True)
19.454545
48
0.766355
32
214
4.75
0.65625
0.118421
0
0
0
0
0
0
0
0
0
0
0.140187
214
10
49
21.4
0.826087
0.093458
0
0
0
0
0.041451
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
42b1969eec3df8edfcfa9b6161c5d2a3c02ff02c
4,479
py
Python
Tests/test.py
PTST/UiPath_Orchestrator
c52639746602ff74cf3f732f79253a840c418dca
[ "MIT" ]
1
2021-11-02T19:46:38.000Z
2021-11-02T19:46:38.000Z
Tests/test.py
PTST/UiPath_Orchestrator
c52639746602ff74cf3f732f79253a840c418dca
[ "MIT" ]
null
null
null
Tests/test.py
PTST/UiPath_Orchestrator
c52639746602ff74cf3f732f79253a840c418dca
[ "MIT" ]
null
null
null
import unittest import os,sys,inspect current_dir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) parent_dir = os.path.dirname(current_dir) sys.path.insert(0, parent_dir) from Orchestrator import Orchestrator import os import time from datetime import datetime import json URL = ...
49.766667
154
0.674481
570
4,479
5.050877
0.231579
0.089962
0.063216
0.043765
0.381035
0.316082
0.297325
0.253908
0.184092
0.184092
0
0.012788
0.196919
4,479
90
155
49.766667
0.787601
0.684974
0
0
0
0
0.051887
0
0
0
0
0
0
1
0.083333
false
0.083333
0.291667
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
35ea63af32cf69cf3c97ae3823205ed43c04eec8
567
py
Python
src/MultipleRequests.py
MartaLopesGomes/KEGGScraper
94f9b63b89f0b45c9e3bf39b6d2e825637b3ca00
[ "MIT" ]
null
null
null
src/MultipleRequests.py
MartaLopesGomes/KEGGScraper
94f9b63b89f0b45c9e3bf39b6d2e825637b3ca00
[ "MIT" ]
null
null
null
src/MultipleRequests.py
MartaLopesGomes/KEGGScraper
94f9b63b89f0b45c9e3bf39b6d2e825637b3ca00
[ "MIT" ]
1
2020-03-17T06:29:20.000Z
2020-03-17T06:29:20.000Z
# -*- coding: utf-8 -*- """ """ import grequests import requests class MultipleRequests: def __init__(self, urls, size): self.urls = urls self.size = size def exception(self, request, exception): print("Problem: {}: {}".format(request.url, exception)) def async(self): se...
25.772727
101
0.610229
63
567
5.412698
0.52381
0.070381
0
0
0
0
0
0
0
0
0
0.007143
0.259259
567
21
102
27
0.804762
0.037037
0
0
0
0
0.027985
0
0
0
0
0
0
0
null
null
0
0.153846
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
35f32eb370c021313aa96b1c466c18679ae8c26b
1,398
py
Python
modelzoo/migrations/0001_initial.py
SuperElastix/ElastixModelZooWebsite
00d7b4aec8eb04c285d3771d53310079a3443fab
[ "Apache-2.0" ]
1
2021-11-15T07:30:24.000Z
2021-11-15T07:30:24.000Z
modelzoo/migrations/0001_initial.py
SuperElastix/ElastixModelZooWebsite
00d7b4aec8eb04c285d3771d53310079a3443fab
[ "Apache-2.0" ]
null
null
null
modelzoo/migrations/0001_initial.py
SuperElastix/ElastixModelZooWebsite
00d7b4aec8eb04c285d3771d53310079a3443fab
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.3 on 2020-09-15 11:02 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Model', fields=[ ('id', models.AutoField(au...
43.6875
114
0.595136
144
1,398
5.618056
0.423611
0.088999
0.15822
0.118665
0.54759
0.480841
0.480841
0.431397
0.374536
0
0
0.035104
0.246066
1,398
31
115
45.096774
0.732448
0.032189
0
0
1
0
0.135455
0
0
0
0
0
0
1
0
false
0
0.041667
0
0.208333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
35f54110d5426180e6526ea8007b13b8878125a0
1,059
py
Python
rest_api/tests/utils.py
MyLifeUa/rest-api
acf7c6fefdc3cfd90a9ba5a1a1be3d5dae3c90ba
[ "MIT" ]
null
null
null
rest_api/tests/utils.py
MyLifeUa/rest-api
acf7c6fefdc3cfd90a9ba5a1a1be3d5dae3c90ba
[ "MIT" ]
2
2021-03-26T09:16:51.000Z
2021-03-26T09:17:07.000Z
rest_api/tests/utils.py
my-life-ua/rest-api
acf7c6fefdc3cfd90a9ba5a1a1be3d5dae3c90ba
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User, Group from rest_api.models import HospitalAdmin def login(client, username, pwd): response = client.post("/login", {"username": username, "password": pwd}) token = response.data["token"] client.credentials(HTTP_AUTHORIZATION=f"Token {token}") def create_user...
42.36
100
0.720491
135
1,059
5.466667
0.348148
0.070461
0.113821
0.056911
0.230352
0.230352
0.230352
0.230352
0
0
0
0
0.162417
1,059
24
101
44.125
0.832018
0
0
0
0
0
0.101983
0
0
0
0
0
0
1
0.105263
false
0.315789
0.105263
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
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
35f67ecaf2af67d2351f422bee0b8f027edd1253
1,925
py
Python
series.py
chrisba11/math-series
a13ba3ed28eed9078b4a738a7ac99e6ead1237fc
[ "MIT" ]
null
null
null
series.py
chrisba11/math-series
a13ba3ed28eed9078b4a738a7ac99e6ead1237fc
[ "MIT" ]
1
2019-02-20T15:26:31.000Z
2019-02-20T15:26:31.000Z
series.py
chrisba11/math-series
a13ba3ed28eed9078b4a738a7ac99e6ead1237fc
[ "MIT" ]
null
null
null
""" These are functions that create a sequence by adding the first number to the second number and then adding the third number to the second, and so on. """ def fibonacci(n): """ This function assumed the first number is 0 and the second number is 1. fibonacci(nth number in sequence you want returned) ...
25.666667
78
0.601558
302
1,925
3.798013
0.274834
0.054926
0.048823
0.049695
0.425458
0.425458
0.38884
0.38884
0.286835
0.286835
0
0.053558
0.321039
1,925
74
79
26.013514
0.824024
0.510649
0
0.805556
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
35f7547a9bf06d7507ab837a03226aa96bef25e8
1,579
py
Python
src/script/pov3.py
slwilliams/stegasis
8f7c466231588d51f0af01b46092218324f5e6b1
[ "MIT", "Unlicense" ]
2
2015-12-18T01:14:53.000Z
2016-01-26T15:33:03.000Z
src/script/pov3.py
slwilliams/stegasis
8f7c466231588d51f0af01b46092218324f5e6b1
[ "MIT", "Unlicense" ]
null
null
null
src/script/pov3.py
slwilliams/stegasis
8f7c466231588d51f0af01b46092218324f5e6b1
[ "MIT", "Unlicense" ]
null
null
null
import sys import math from scipy import integrate, special file_bytes = open(sys.argv[1], "rb").read() header = file_bytes[:2] if header != "P6": print "File is not a P6 ppm..." sys.exit(0) pos = 3 width = "" while True: b = file_bytes[pos] pos += 1 if b == " ": break width += b he...
19.024096
62
0.485117
256
1,579
2.953125
0.304688
0.071429
0.063492
0.055556
0.134921
0.134921
0.134921
0.134921
0.134921
0.134921
0
0.076476
0.345788
1,579
82
63
19.256098
0.655373
0.098797
0
0.253968
0
0
0.021893
0
0
0
0
0
0
0
null
null
0
0.047619
null
null
0.031746
0
0
0
null
0
0
0
0
0
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
c4034ae7eb33bdb04f6ef9d37136dc1231ef5730
443
py
Python
spacy/lang/lij/examples.py
gandersen101/spaCy
109849bd311490f17a29b320cb032e43d153f36f
[ "MIT" ]
10
2021-05-31T07:18:08.000Z
2022-03-19T09:20:11.000Z
spacy/lang/lij/examples.py
gandersen101/spaCy
109849bd311490f17a29b320cb032e43d153f36f
[ "MIT" ]
3
2021-09-21T18:04:50.000Z
2022-02-26T02:14:42.000Z
spacy/lang/lij/examples.py
gandersen101/spaCy
109849bd311490f17a29b320cb032e43d153f36f
[ "MIT" ]
2
2021-12-09T07:23:21.000Z
2022-03-31T06:13:10.000Z
# coding: utf8 from __future__ import unicode_literals """ Example sentences to test spaCy and its language models. >>> from spacy.lang.lij.examples import sentences >>> docs = nlp.pipe(sentences) """ sentences = [ "Sciusciâ e sciorbî no se peu.", "Graçie di çetroin, che me son arrivæ.", "Vegnime apreu...
23.315789
86
0.702032
65
443
4.707692
0.846154
0
0
0
0
0
0
0
0
0
0
0.002801
0.194131
443
18
87
24.611111
0.854342
0.027088
0
0
0
0
0.667845
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c4057dff446296bf740f0638e85be4315e912e64
409
py
Python
logging_level.py
andrei828/LoadBalancerAndProcessScheduling
5e386b7aba94b2e1e23faeea684d86973c7049c3
[ "MIT" ]
1
2022-01-16T15:46:30.000Z
2022-01-16T15:46:30.000Z
logging_level.py
andrei828/LoadBalancerAndProcessScheduling
5e386b7aba94b2e1e23faeea684d86973c7049c3
[ "MIT" ]
null
null
null
logging_level.py
andrei828/LoadBalancerAndProcessScheduling
5e386b7aba94b2e1e23faeea684d86973c7049c3
[ "MIT" ]
3
2022-01-18T20:46:17.000Z
2022-01-18T20:50:19.000Z
from enum import Enum from functools import total_ordering @total_ordering class LoggingLevel(Enum): ERROR = 1 INFO = 2 VERBOSE = 3 def __lt__(self, other): if self.__class__ is other.__class__: return self.value < other.value return NotImplemented def __eq__(self, other): if self.__cla...
20.45
41
0.716381
54
409
4.944444
0.444444
0.097378
0.082397
0.11236
0.576779
0.576779
0.576779
0.576779
0.576779
0.576779
0
0.009346
0.215159
409
20
42
20.45
0.82243
0
0
0.266667
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0.133333
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c40bd4339956b36ea136a3a3118344d9b0f8a113
4,589
py
Python
src/streamlit_main.py
ciskoh/seo_tool
24f6cddd95cacb24b996bc00ecd0902a93bd784c
[ "MIT" ]
null
null
null
src/streamlit_main.py
ciskoh/seo_tool
24f6cddd95cacb24b996bc00ecd0902a93bd784c
[ "MIT" ]
null
null
null
src/streamlit_main.py
ciskoh/seo_tool
24f6cddd95cacb24b996bc00ecd0902a93bd784c
[ "MIT" ]
null
null
null
## this module allows to run the main_function on streamlit from main import main_get_questions, main_get_answers from src import Question_holder from src.data import get_ppas_and_answers import streamlit as st import time import base64 st.title(" no answer tool v 0.1 alpha") """ Welcome to the "No answer tool" This...
34.246269
104
0.6764
640
4,589
4.695313
0.323438
0.06589
0.025957
0.02396
0.137105
0.073211
0.073211
0.06223
0.044925
0
0
0.009932
0.232077
4,589
133
105
34.503759
0.842792
0.17847
0
0.103896
0
0.012987
0.235982
0.012594
0
0
0
0.015038
0
1
0.077922
false
0
0.077922
0
0.207792
0
0
0
0
null
0
0
0
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
c4205e38b913fa45c4b6f9220663a049476452b6
382
py
Python
django/alumnos/Equipo 3/historial_medico_mujeres_priv-master/project/my_web/my_web/doctores/admin.py
R3SWebDevelopment/CeroUnoApprenticeshipProgramPython
b00b3dce329240889401627e99b72d3d9cadb7d9
[ "MIT" ]
1
2019-11-29T21:34:42.000Z
2019-11-29T21:34:42.000Z
django/alumnos/Equipo 3/historial_medico_mujeres_priv-master/project/my_web/my_web/doctores/admin.py
R3SWebDevelopment/CeroUnoApprenticeshipProgramPython
b00b3dce329240889401627e99b72d3d9cadb7d9
[ "MIT" ]
null
null
null
django/alumnos/Equipo 3/historial_medico_mujeres_priv-master/project/my_web/my_web/doctores/admin.py
R3SWebDevelopment/CeroUnoApprenticeshipProgramPython
b00b3dce329240889401627e99b72d3d9cadb7d9
[ "MIT" ]
1
2019-11-30T17:51:50.000Z
2019-11-30T17:51:50.000Z
from django.contrib import admin from .models import Doctor from .forms import DoctorForm class DoctorAdmin(admin.ModelAdmin): list_display = [ "nombre_doctor", "cedula_doctor", "direccion_doctor", ] form = DoctorForm search_fields = [ "nombre_doctor", "cedul...
18.190476
40
0.646597
38
382
6.315789
0.578947
0.1
0.15
0.2
0
0
0
0
0
0
0
0
0.267016
382
21
40
18.190476
0.857143
0
0
0.133333
0
0
0.177546
0
0
0
0
0
0
1
0
false
0
0.2
0
0.466667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c4210766abfd90dfa88c56720d43df1e0108559b
5,417
py
Python
DocSupport/PySummary.py
PeaceWorksTechnologySolutions/w4py
74f5a03a63f1a93563502b908474aefaae2abda2
[ "MIT" ]
18
2016-08-01T20:15:59.000Z
2019-12-24T16:00:03.000Z
DocSupport/PySummary.py
WebwareForPython/w4py
bba08f5974d49f5da7e88abe3eeda1037d0824a3
[ "MIT" ]
6
2016-09-13T05:48:45.000Z
2020-01-09T18:29:12.000Z
DocSupport/PySummary.py
WebwareForPython/w4py
bba08f5974d49f5da7e88abe3eeda1037d0824a3
[ "MIT" ]
6
2016-09-16T14:32:29.000Z
2020-01-03T18:52:16.000Z
"""PySummary A PySummary instance reads a Python file and creates a summary of the file which you can access by using it as a (e.g., %s or str()). The notion of a "category" is recognized. A category is simply a group of methods with a given name. The default prefix for denoting a category is ##. """ import os cla...
29.928177
76
0.480893
598
5,417
4.250836
0.23913
0.035405
0.033045
0.035799
0.229347
0.15657
0.145948
0.118411
0.101495
0.101495
0
0.011887
0.378807
5,417
180
77
30.094444
0.743536
0.033413
0
0.275591
0
0
0.076813
0.014096
0
0
0
0
0.007874
0
null
null
0.007874
0.007874
null
null
0.023622
0
0
0
null
0
0
0
0
0
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
c423785b8da91939e3fcaf5934a69061ac940f64
3,966
py
Python
py/legacy/calibrateAwairData.py
yenchiah/smell-pittsburgh-prediction
09f9c865ffa81eef4fbc0122ed915c66355c44a6
[ "BSD-3-Clause" ]
4
2019-08-17T01:06:26.000Z
2022-01-24T07:26:25.000Z
py/legacy/calibrateAwairData.py
yenchiah/smell-pittsburgh-prediction
09f9c865ffa81eef4fbc0122ed915c66355c44a6
[ "BSD-3-Clause" ]
null
null
null
py/legacy/calibrateAwairData.py
yenchiah/smell-pittsburgh-prediction
09f9c865ffa81eef4fbc0122ed915c66355c44a6
[ "BSD-3-Clause" ]
6
2019-08-15T18:24:00.000Z
2022-03-30T12:12:01.000Z
import pandas as pd import numpy as np from util import * import matplotlib matplotlib.use("Agg") import matplotlib.pyplot as plt import matplotlib.dates as dates def calibrateAwairData(file_path_in, file_path_out): print "Calibrate Awair sensor data..." # Get all files file_name_in_all = getAllFileNamesI...
40.469388
102
0.666162
590
3,966
4.283051
0.294915
0.031658
0.019786
0.025326
0.150772
0.134943
0.058567
0.034824
0.034824
0.034824
0
0.010968
0.218356
3,966
97
103
40.886598
0.804194
0.151034
0
0
0
0
0.089674
0
0
0
0
0
0
0
null
null
0
0.084507
null
null
0.042254
0
0
0
null
0
0
0
0
0
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
c43375b42d06df57b758ec90a12c75c44c638e8f
11,237
py
Python
H&M Dataset (EDA)/functions/individual_analysis.py
hacceebhassan/HR_analysis
14db5a1d0d7ad5f319ad25508d58269227173dbe
[ "MIT" ]
1
2022-02-26T21:44:58.000Z
2022-02-26T21:44:58.000Z
H&M Dataset (EDA)/functions/individual_analysis.py
hacceebhassan/HR_analysis
14db5a1d0d7ad5f319ad25508d58269227173dbe
[ "MIT" ]
null
null
null
H&M Dataset (EDA)/functions/individual_analysis.py
hacceebhassan/HR_analysis
14db5a1d0d7ad5f319ad25508d58269227173dbe
[ "MIT" ]
null
null
null
# ============================================================================== # # Import Modules # ============================================================================== from collections import Counter, defaultdict import matplotlib.ticker as mtick import plotly.graph_objects as go import numpy as np ...
37.835017
108
0.580493
1,384
11,237
4.653179
0.154624
0.029348
0.046118
0.055901
0.735093
0.693944
0.693944
0.665373
0.635559
0.628106
0
0.040414
0.209487
11,237
296
109
37.962838
0.684566
0.164813
0
0.633721
0
0
0.175247
0
0
0
0
0
0
1
0.034884
false
0
0.05814
0
0.093023
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
c437c927e5ea43aeab6dcc16523468b26bec94fb
1,781
py
Python
download-package/PythonExercises/ex045.py
MCLeitao/Python-Exercises
b24758ac6f95584ef03c320cc442c12a6fad2bd9
[ "MIT" ]
null
null
null
download-package/PythonExercises/ex045.py
MCLeitao/Python-Exercises
b24758ac6f95584ef03c320cc442c12a6fad2bd9
[ "MIT" ]
null
null
null
download-package/PythonExercises/ex045.py
MCLeitao/Python-Exercises
b24758ac6f95584ef03c320cc442c12a6fad2bd9
[ "MIT" ]
null
null
null
# Create a program that makes the computer play Jokenpo with you. from random import choice # from random import randint from time import sleep print('{:=^40}'.format(' Let`s play JOKENPO!! ')) player = str(input('Make your choice: ')).strip().upper() comp = choice(['ROCK', 'PAPER', 'SCISSORS']) # items = ('ROCK', 'P...
26.984848
65
0.548007
223
1,781
4.376682
0.246637
0.122951
0.079918
0.053279
0.413934
0.316598
0.102459
0.102459
0.102459
0.102459
0
0.007375
0.23863
1,781
65
66
27.4
0.712389
0.382369
0
0.682927
0
0
0.272727
0
0
0
0
0
0
1
0
false
0
0.04878
0
0.04878
0.487805
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
c439ba208e59226bcab09fd538903e8dfaf315a8
2,110
py
Python
setup.py
sighingnow/delocate
9c2c6a42c96b02602ce8d2059423a77e257a1a98
[ "BSD-2-Clause" ]
175
2015-01-06T07:21:42.000Z
2022-03-23T00:46:37.000Z
setup.py
sighingnow/delocate
9c2c6a42c96b02602ce8d2059423a77e257a1a98
[ "BSD-2-Clause" ]
127
2015-02-04T17:35:10.000Z
2022-03-15T12:01:40.000Z
setup.py
sighingnow/delocate
9c2c6a42c96b02602ce8d2059423a77e257a1a98
[ "BSD-2-Clause" ]
43
2016-11-20T09:37:02.000Z
2022-03-03T23:14:15.000Z
#!/usr/bin/env python """ setup script for delocate package """ import codecs from os.path import join as pjoin import versioneer from setuptools import find_packages, setup setup( name="delocate", version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), description="Move macOS dynamic li...
31.029412
77
0.534123
199
2,110
5.582915
0.577889
0.089109
0.028803
0
0
0
0
0
0
0
0
0.005442
0.303318
2,110
67
78
31.492537
0.75034
0.026066
0
0.079365
0
0
0.393555
0.025391
0
0
0
0
0
1
0
true
0
0.063492
0
0.063492
0
0
0
0
null
0
0
0
0
0
0
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
c43e288ae4665dbdd8b23b39e5172c72d336242c
2,638
py
Python
feffery_antd_components/_imports_.py
Beddow/feffery-antd-components
c4372e82f8bd0baba9a5052c966775276168dcc8
[ "MIT" ]
null
null
null
feffery_antd_components/_imports_.py
Beddow/feffery-antd-components
c4372e82f8bd0baba9a5052c966775276168dcc8
[ "MIT" ]
null
null
null
feffery_antd_components/_imports_.py
Beddow/feffery-antd-components
c4372e82f8bd0baba9a5052c966775276168dcc8
[ "MIT" ]
null
null
null
from .AntdAlert import AntdAlert from .AntdAnchor import AntdAnchor from .AntdButton import AntdButton from .AntdCascader import AntdCascader from .AntdCheckbox import AntdCheckbox from .AntdCheckboxGroup import AntdCheckboxGroup from .AntdCollapse import AntdCollapse from .AntdDatePicker import AntdDatePicker from .An...
26.646465
52
0.761183
241
2,638
8.315353
0.211618
0
0
0
0
0
0
0
0
0
0
0
0.165277
2,638
99
53
26.646465
0.910082
0
0
0
0
0
0.192118
0
0
0
0
0
0
1
0
false
0
0.489796
0
0.489796
0
0
0
0
null
0
0
0
0
0
0
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
c4485114f9cf5ad4e046bef885b19f81f05f5124
14,144
py
Python
pyxl/codec/html_tokenizer.py
adamserafini/pyxl
8278d222317e1ef2796899506ba37e357dff7c3c
[ "Apache-2.0" ]
366
2015-01-02T06:20:07.000Z
2022-01-10T01:57:10.000Z
pyxl/codec/html_tokenizer.py
adamserafini/pyxl
8278d222317e1ef2796899506ba37e357dff7c3c
[ "Apache-2.0" ]
2
2016-07-08T09:28:44.000Z
2017-10-05T04:47:12.000Z
pyxl/codec/html_tokenizer.py
adamserafini/pyxl
8278d222317e1ef2796899506ba37e357dff7c3c
[ "Apache-2.0" ]
27
2015-01-10T00:32:05.000Z
2021-06-05T05:38:23.000Z
""" A naive but strict HTML tokenizer. Based directly on http://www.w3.org/TR/2011/WD-html5-20110525/tokenization.html In the ATTRIBUTE_VALUE and BEFORE_ATTRIBUTE_VALUE states, python tokens are accepted. """ import sys from collections import OrderedDict class State(object): DATA = 1 # unused states: charre...
33.918465
94
0.53931
1,581
14,144
4.636939
0.121442
0.106807
0.131769
0.051562
0.634975
0.534716
0.48138
0.434729
0.399945
0.353431
0
0.007212
0.362769
14,144
416
95
34
0.806169
0.055288
0
0.494012
0
0
0.039177
0
0
0
0
0
0.026946
0
null
null
0.01497
0.005988
null
null
0.011976
0
0
0
null
0
0
0
0
0
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
c44c086862e3f9a05d21d5905d8f8b778106dbf5
1,004
py
Python
app/parsers/scan.py
4ndersonLin/stockpile
a374c993b33c1e4859610a55cfedbd31b3a3882e
[ "Apache-2.0" ]
null
null
null
app/parsers/scan.py
4ndersonLin/stockpile
a374c993b33c1e4859610a55cfedbd31b3a3882e
[ "Apache-2.0" ]
null
null
null
app/parsers/scan.py
4ndersonLin/stockpile
a374c993b33c1e4859610a55cfedbd31b3a3882e
[ "Apache-2.0" ]
null
null
null
<<<<<<< HEAD from app.objects.c_relationship import Relationship from plugins.stockpile.app.parsers.base_parser import BaseParser ======= from app.objects.secondclass.c_fact import Fact from app.objects.secondclass.c_relationship import Relationship from app.utility.base_parser import BaseParser >>>>>>> upstream/master...
33.466667
67
0.555777
101
1,004
5.475248
0.386139
0.050633
0.075949
0.112116
0.330922
0.112116
0.112116
0.112116
0
0
0
0.005865
0.320717
1,004
29
68
34.62069
0.804985
0
0
0.307692
0
0
0.000996
0
0
0
0
0
0
0
null
null
0
0.192308
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
c44d4af488cf1f9381d05d34196f74414332052f
20,019
py
Python
macro/mergeMbias.py
Plamenna/proba
517d7e437865c372e538f77d2242c188740f35d9
[ "BSD-4-Clause" ]
null
null
null
macro/mergeMbias.py
Plamenna/proba
517d7e437865c372e538f77d2242c188740f35d9
[ "BSD-4-Clause" ]
null
null
null
macro/mergeMbias.py
Plamenna/proba
517d7e437865c372e538f77d2242c188740f35d9
[ "BSD-4-Clause" ]
null
null
null
import ROOT,os,random import shipunit as u import rootUtils as ut from ShipGeoConfig import ConfigRegistry from array import array pdg = ROOT.TDatabasePDG() mu = pdg.GetParticle(13) Mmu = mu.Mass() Mmu2 = Mmu * Mmu rnr = ROOT.TRandom() #eospath = "root://eoslhcb//eos/ship/data/" eospath = "/media/Data/HNL/ShipS...
39.252941
150
0.576852
3,396
20,019
3.380448
0.133981
0.01324
0.012021
0.010801
0.479268
0.407143
0.368031
0.34338
0.311585
0.283188
0
0.050122
0.177781
20,019
509
151
39.330059
0.647327
0.097857
0
0.311947
0
0.015487
0.222722
0.038536
0
0
0
0
0
0
null
null
0
0.011062
null
null
0.026549
0
0
0
null
0
0
0
0
0
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
c44db92138e32b202edfea1ba71b3c6c889a0abd
1,090
py
Python
tests/test_product.py
RobDWaller/price-service
77295418b566b23f6964a4c333e58cbcd766a775
[ "MIT" ]
null
null
null
tests/test_product.py
RobDWaller/price-service
77295418b566b23f6964a4c333e58cbcd766a775
[ "MIT" ]
1
2019-10-21T17:32:51.000Z
2019-10-21T17:32:51.000Z
tests/test_product.py
RobDWaller/price-service
77295418b566b23f6964a4c333e58cbcd766a775
[ "MIT" ]
null
null
null
import unittest from price.src.product import Product class TestProduct(unittest.TestCase): def test_product(self): product = Product([]) self.assertIsInstance(product, Product) def test_products(self): products = [ {'product_id': 1, 'quantity': 2}, {'produc...
26.585366
56
0.582569
122
1,090
5.065574
0.229508
0.160194
0.203884
0.053398
0.435275
0.435275
0.184466
0.184466
0.184466
0.184466
0
0.030075
0.26789
1,090
40
57
27.25
0.744361
0
0
0.214286
0
0
0.137615
0
0
0
0
0
0.321429
1
0.107143
false
0
0.071429
0
0.214286
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
c4583851be7b8bcfff4d8d67aec37fa4462aa3c9
5,441
py
Python
phase1/code/toy_data_generator/rate.py
ORNL/soar_survey_scoring
d3bb8a927ac424b7cf86758e7e8002d4cb363f2a
[ "MIT" ]
null
null
null
phase1/code/toy_data_generator/rate.py
ORNL/soar_survey_scoring
d3bb8a927ac424b7cf86758e7e8002d4cb363f2a
[ "MIT" ]
null
null
null
phase1/code/toy_data_generator/rate.py
ORNL/soar_survey_scoring
d3bb8a927ac424b7cf86758e7e8002d4cb363f2a
[ "MIT" ]
null
null
null
import anyconfig import click import csv import random from faker import Faker from generate_users import User, Tool @click.command() @click.option("-i", "--users-tools-file", type=str, required=True) @click.option("-r", "--ratings-csv-out", type=str, required=True) @click.option("-p", "--property-csv-out", type=str...
35.796053
132
0.538872
538
5,441
5.314126
0.330855
0.005596
0.007345
0.008395
0.127317
0.112977
0.087793
0.087793
0.059461
0.059461
0
0.016058
0.336151
5,441
151
133
36.033113
0.775471
0
0
0.188811
1
0
0.270906
0
0
0
0
0
0
1
0.006993
false
0
0.041958
0
0.048951
0.006993
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
c45b4ac236320e3230c6e98e6a4ad8b15d8361b7
1,011
py
Python
tests/test_fsd_school.py
TheFriendlyCoder/school-scraper
77b8247904b20f2617c2bc6e078fd0df052f86d5
[ "Apache-2.0" ]
null
null
null
tests/test_fsd_school.py
TheFriendlyCoder/school-scraper
77b8247904b20f2617c2bc6e078fd0df052f86d5
[ "Apache-2.0" ]
5
2020-09-12T16:29:17.000Z
2021-02-04T02:26:29.000Z
tests/test_fsd_school.py
TheFriendlyCoder/school-scraper
77b8247904b20f2617c2bc6e078fd0df052f86d5
[ "Apache-2.0" ]
null
null
null
from school_scraper.fsdscraper import FSDScraper from school_scraper.fsdschool import FSDSchool def test_properties(fsd_test_data): obj = FSDScraper(fsd_test_data) dist = obj.districts[0] expected_name = dist.school_names[0] res = dist.get_school(expected_name) assert res is not None assert re...
36.107143
63
0.724036
139
1,011
4.985612
0.266187
0.184704
0.063492
0.1443
0.31746
0.31746
0.12987
0.12987
0.12987
0
0
0.002488
0.204748
1,011
27
64
37.444444
0.859453
0
0
0.086957
0
0
0
0
0
0
0
0
0.478261
1
0.086957
false
0
0.086957
0
0.173913
0
0
0
0
null
0
0
0
0
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
c45e52237fdf77012af94ef59fb228bb6357dbc2
2,279
py
Python
d12/d12.py
spauka/AOC2020
f03d0ae6a10085d392e6885b2f21aa6654483100
[ "MIT" ]
null
null
null
d12/d12.py
spauka/AOC2020
f03d0ae6a10085d392e6885b2f21aa6654483100
[ "MIT" ]
null
null
null
d12/d12.py
spauka/AOC2020
f03d0ae6a10085d392e6885b2f21aa6654483100
[ "MIT" ]
null
null
null
import math class Ship: def __init__(self): self.pos = [0.0, 0.0] self.waypoint = [10.0, 1.0] self.dir = 90 self.map = { "F": self.forward, "L": self.left, "R": self.right, "N": self.north, "S": self.south, "E":...
29.597403
75
0.520842
314
2,279
3.719745
0.16242
0.123288
0.111301
0.082192
0.568493
0.546233
0.458904
0.234589
0.178082
0.178082
0
0.021304
0.320316
2,279
77
76
29.597403
0.732731
0
0
0.144928
0
0
0.014035
0
0
0
0
0
0
1
0.217391
false
0
0.014493
0
0.246377
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
1
0
0
0
0
0
0
0
1
c46092d2baed57ff74127cf2bc3f22cb5b1a5cbf
1,265
py
Python
tests/test_debug_helper.py
crempp/mdweb
ce3c26e4b7b2dfba0ac793534a06581a8c214570
[ "MIT" ]
12
2015-07-31T07:53:57.000Z
2021-08-09T18:05:55.000Z
tests/test_debug_helper.py
crempp/mdweb
ce3c26e4b7b2dfba0ac793534a06581a8c214570
[ "MIT" ]
59
2015-07-31T07:44:16.000Z
2020-08-20T19:54:22.000Z
tests/test_debug_helper.py
crempp/mdweb
ce3c26e4b7b2dfba0ac793534a06581a8c214570
[ "MIT" ]
1
2016-02-22T22:57:17.000Z
2016-02-22T22:57:17.000Z
# -*- coding: utf-8 -*- """Tests for the Debug Helper.""" from flask_testing import TestCase from tests.sites import MDTestSiteDebugHelper, MDTestSite class TestDebugHelperOn(TestCase): """Debug helper tests. Can't use pyfakefs for this or partials won't load""" def create_app(self): app = MDTe...
25.3
75
0.616601
152
1,265
4.960526
0.348684
0.087533
0.050398
0.06366
0.68435
0.68435
0.68435
0.68435
0.68435
0.68435
0
0.001093
0.27668
1,265
49
76
25.816327
0.822951
0.170751
0
0.642857
0
0
0.064516
0.043011
0
0
0
0
0.071429
1
0.142857
false
0
0.071429
0
0.357143
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
c463135e19d1d08fac14471f8e043f1a6ac15b2c
1,397
py
Python
melid/router/view.py
Dev-47/melid
c7d77832a51a0674aa62f5da5807672723ff9201
[ "MIT" ]
null
null
null
melid/router/view.py
Dev-47/melid
c7d77832a51a0674aa62f5da5807672723ff9201
[ "MIT" ]
null
null
null
melid/router/view.py
Dev-47/melid
c7d77832a51a0674aa62f5da5807672723ff9201
[ "MIT" ]
null
null
null
from PyQt5.QtWidgets import QStackedWidget from melid.base.widget import Widget class RouterView(Widget): def __init__(self, routes, *args, **kwargs): super(RouterView, self).__init__(*args, **kwargs) self.routes = routes # configure router self.router = QStackedWidget() ...
22.901639
57
0.541875
133
1,397
5.571429
0.323308
0.067476
0.035088
0.045884
0
0
0
0
0
0
0
0.001074
0.333572
1,397
60
58
23.283333
0.794844
0.15748
0
0.076923
0
0
0.003788
0
0
0
0
0
0
1
0.269231
false
0
0.076923
0
0.423077
0
0
0
0
null
0
0
0
0
0
0
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
c4637cc8d0db0aa9ed25b4d3abfe7c57378d9ec7
2,147
py
Python
src/unpackaged/abm/Agents/agentframework5.py
agdturner/geog5990m
b6417820e6aaff7f0c785415c0d63eae3753a098
[ "Apache-2.0" ]
null
null
null
src/unpackaged/abm/Agents/agentframework5.py
agdturner/geog5990m
b6417820e6aaff7f0c785415c0d63eae3753a098
[ "Apache-2.0" ]
null
null
null
src/unpackaged/abm/Agents/agentframework5.py
agdturner/geog5990m
b6417820e6aaff7f0c785415c0d63eae3753a098
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ __version__ 1.0.0 """ import random class Agent(): #def __init__(self, environment): def __init__(self): self.store = 0 self._x = random.randint(0,99) self._y = random.randint(0,99) ''' def __init__ (self): pas...
24.678161
104
0.47741
278
2,147
3.442446
0.201439
0.104493
0.075235
0.125392
0.433647
0.433647
0.275862
0.275862
0.215256
0.215256
0
0.04068
0.370284
2,147
87
105
24.678161
0.66716
0.137867
0
0.333333
0
0
0.034311
0
0
0
0
0
0
1
0.244444
false
0
0.022222
0.066667
0.4
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
1
0
0
0
0
0
0
0
1
c464ffbbf7c0424d5e18eefc877df853cf0db600
9,335
py
Python
S4/S4 Library/simulation/telemetry_helper.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
1
2021-05-20T19:33:37.000Z
2021-05-20T19:33:37.000Z
S4/S4 Library/simulation/telemetry_helper.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
S4/S4 Library/simulation/telemetry_helper.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
import collections from date_and_time import create_time_span from objects import ALL_HIDDEN_REASONS from sims4.telemetry import RuleAction from sims4.tuning.tunable import Tunable, TunableRange, TunableList, TunableTuple, TunableEnumEntry import alarms import enum import objects.components import services import sims4...
61.013072
2,198
0.678093
1,244
9,335
4.80627
0.169614
0.028098
0.021074
0.032781
0.366449
0.29704
0.246362
0.226459
0.188493
0.188493
0
0.005181
0.255704
9,335
152
2,199
61.414474
0.855354
0
0
0.142857
0
0.057143
0.234494
0
0
0
0
0
0
1
0.064286
false
0
0.078571
0
0.278571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c466108bbc0ba628c130c3ba077bac4a88b5c1a2
20,818
py
Python
beeswithmachineguns/bees.py
Mistobaan/beeswithmachineguns
0f8df8b9ac81fad690000a17d5e657bf079c9e20
[ "MIT" ]
1
2015-05-09T09:15:52.000Z
2015-05-09T09:15:52.000Z
beeswithmachineguns/bees.py
Mistobaan/beeswithmachineguns
0f8df8b9ac81fad690000a17d5e657bf079c9e20
[ "MIT" ]
null
null
null
beeswithmachineguns/bees.py
Mistobaan/beeswithmachineguns
0f8df8b9ac81fad690000a17d5e657bf079c9e20
[ "MIT" ]
null
null
null
#!/bin/env python """ The MIT License Copyright (c) 2010 The Chicago Tribune & Contributors 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 ...
38.338858
242
0.662648
2,721
20,818
4.870268
0.175303
0.088515
0.01796
0.019695
0.335949
0.272563
0.225023
0.176426
0.143224
0.130471
0
0.005244
0.230522
20,818
542
243
38.409594
0.822024
0.030022
0
0.171745
0
0.00831
0.250708
0.015275
0
0
0
0
0
0
null
null
0
0.038781
null
null
0.149584
0
0
0
null
0
0
0
0
0
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
c46624d1a2e124351c5bf42dcd44769cf1a5ad83
2,175
py
Python
pg_api/utils/create_device_table.py
shannon-jia/pg_api
707d86d011f4e140f667012935a6d4b9bae27a95
[ "MIT" ]
null
null
null
pg_api/utils/create_device_table.py
shannon-jia/pg_api
707d86d011f4e140f667012935a6d4b9bae27a95
[ "MIT" ]
null
null
null
pg_api/utils/create_device_table.py
shannon-jia/pg_api
707d86d011f4e140f667012935a6d4b9bae27a95
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import asyncio import asyncpg async def main(dsn='postgresql://postgres:passwd+123@localhost/test'): # Establish a connection to an existing database named "test" # as a "postgres" user. conn = await asyncpg.connect(dsn) await conn.execute(''' DROP TABLE IF EXISTS device...
27.1875
80
0.497471
240
2,175
4.395833
0.45
0.068246
0.090995
0.075829
0.303318
0.303318
0.303318
0.303318
0.161137
0.161137
0
0.031182
0.365977
2,175
79
81
27.531646
0.733865
0.095632
0
0.253968
0
0
0.686385
0.023967
0
0
0
0
0
1
0
false
0.015873
0.031746
0
0.031746
0.015873
0
0
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
c46f87dd1b73434ccb70ce24147c4a85872d43bc
390
py
Python
matplotlib/MatplotlibTest.py
prucehuang/quickly-start-python
8af5f339b6d324a769d5714a97869c320d34c6d8
[ "Apache-2.0" ]
null
null
null
matplotlib/MatplotlibTest.py
prucehuang/quickly-start-python
8af5f339b6d324a769d5714a97869c320d34c6d8
[ "Apache-2.0" ]
null
null
null
matplotlib/MatplotlibTest.py
prucehuang/quickly-start-python
8af5f339b6d324a769d5714a97869c320d34c6d8
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python #coding:utf-8 import numpy as np import matplotlib.pyplot as plt x,y = np.loadtxt("D://smoba.xls", delimiter=',', usecols=(0, 1), unpack=True) # a = np.loadtxt("D://smoba.xls", delimiter=',', usecols=(0,1)) # print type(a) # print len(a) # print a[0] print(len(x)) print(len(y)) print(type(x)) # red d...
24.375
77
0.65641
69
390
3.710145
0.550725
0.09375
0.078125
0.117188
0.28125
0.28125
0.28125
0.28125
0.28125
0
0
0.017493
0.120513
390
16
78
24.375
0.728863
0.44359
0
0
0
0
0.07109
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0.375
0
0
0
null
0
0
0
0
0
0
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
c477c015f0ab7d1410f3860f43e4dd69c0ac6fb2
1,585
py
Python
examples/mesh_principal_rhino.py
yijiangh/compas_fea
632542da6a3794f6a82c30131c61a421a10a9aa8
[ "MIT" ]
null
null
null
examples/mesh_principal_rhino.py
yijiangh/compas_fea
632542da6a3794f6a82c30131c61a421a10a9aa8
[ "MIT" ]
null
null
null
examples/mesh_principal_rhino.py
yijiangh/compas_fea
632542da6a3794f6a82c30131c61a421a10a9aa8
[ "MIT" ]
null
null
null
from compas_fea.cad import rhino from compas_fea.structure import ElasticIsotropic from compas_fea.structure import ElementProperties as Properties from compas_fea.structure import GeneralStep from compas_fea.structure import GravityLoad from compas_fea.structure import PinnedDisplacement from compas_fea.struct...
24.384615
102
0.737539
211
1,585
5.331754
0.393365
0.071111
0.092444
0.136889
0.256
0.081778
0.081778
0.081778
0.081778
0
0
0.00942
0.129338
1,585
64
103
24.765625
0.805797
0.087066
0
0
0
0
0.17531
0
0
0
0
0
0
1
0
false
0
0.32
0
0.32
0
0
0
0
null
0
0
0
0
0
0
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
c4797c53ea9b4da3f5241472a9a850e52384dae8
761
py
Python
main.py
Jamb0p/TheMexicanMaraudersBot
5d9725b2ddf66f1b131afa461e9499960b5842da
[ "MIT" ]
null
null
null
main.py
Jamb0p/TheMexicanMaraudersBot
5d9725b2ddf66f1b131afa461e9499960b5842da
[ "MIT" ]
null
null
null
main.py
Jamb0p/TheMexicanMaraudersBot
5d9725b2ddf66f1b131afa461e9499960b5842da
[ "MIT" ]
null
null
null
import json import discord from discord.ext import tasks from discord.ext import commands import pymysql.cursors #read config file with open('config/config.json', 'r') as file: configFile = json.load(file) prefix = configFile["prefix"] token = configFile["token"] host = configFile["host"] user = configFile["user...
24.548387
72
0.626807
80
761
5.9375
0.45
0.046316
0.058947
0.084211
0
0
0
0
0
0
0
0
0.272011
761
30
73
25.366667
0.857401
0.021025
0
0
0
0
0.072678
0
0
0
0
0
0
1
0
false
0.090909
0.227273
0
0.227273
0
0
0
0
null
0
0
0
0
0
0
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
c482d049c9cd76c045b888d5d697b7e18d943d43
567
py
Python
python/setworkspace/Install/setworkspace_addin.py
fraxen/nordpil_arcpy
229449450061305bb3f6f7aca50052a3303550d0
[ "Apache-2.0" ]
null
null
null
python/setworkspace/Install/setworkspace_addin.py
fraxen/nordpil_arcpy
229449450061305bb3f6f7aca50052a3303550d0
[ "Apache-2.0" ]
null
null
null
python/setworkspace/Install/setworkspace_addin.py
fraxen/nordpil_arcpy
229449450061305bb3f6f7aca50052a3303550d0
[ "Apache-2.0" ]
null
null
null
import os import arcpy import pythonaddins class SetWorkspace(object): """Implementation for setworkspace_addin.setworkspace (Extension)""" def __init__(self): # For performance considerations, please remove all unused methods in this class. self.enabled = True def openDocument(self): pri...
33.352941
89
0.738977
66
567
6.272727
0.636364
0.057971
0.082126
0
0
0
0
0
0
0
0
0
0.169312
567
16
90
35.4375
0.878981
0.13933
0
0
0
0
0.11244
0
0
0
0
0
0
0
null
null
0
0.230769
null
null
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c484570e042a4921eca3f591c4d9e651ccee110b
914
py
Python
app.py
ururaicampos/flask-application
7364ee9ee967774d86fde0385a2b933cbdc4eaa6
[ "MIT" ]
null
null
null
app.py
ururaicampos/flask-application
7364ee9ee967774d86fde0385a2b933cbdc4eaa6
[ "MIT" ]
null
null
null
app.py
ururaicampos/flask-application
7364ee9ee967774d86fde0385a2b933cbdc4eaa6
[ "MIT" ]
null
null
null
from flask import Flask, escape, request, render_template,redirect, url_for import json from sorting import Sorting app = Flask(__name__) class Application(): def __init__(self, data): self._data = data @app.route('/') def index(): return render_template('base.html') @app.route...
28.5625
75
0.621444
101
914
5.346535
0.504951
0.12963
0.148148
0.1
0.114815
0
0
0
0
0
0
0.011696
0.251641
914
32
76
28.5625
0.777778
0
0
0
0
0
0.11694
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.083333
0.541667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c4873e64a6e5a9406bb43ce18668489b2bf37908
2,494
py
Python
people/migrations/0001_initial.py
giantmade/giant-people
67acd7cc8fc3649d5935373be15a59aeceb57fdb
[ "MIT" ]
null
null
null
people/migrations/0001_initial.py
giantmade/giant-people
67acd7cc8fc3649d5935373be15a59aeceb57fdb
[ "MIT" ]
5
2021-01-15T14:16:26.000Z
2021-03-24T15:47:04.000Z
people/migrations/0001_initial.py
giantmade/giant-people
67acd7cc8fc3649d5935373be15a59aeceb57fdb
[ "MIT" ]
null
null
null
# Generated by Django 2.1.13 on 2019-12-10 10:15 from django.conf import settings import django.core.validators from django.db import migrations, models import django.db.models.deletion import filer.fields.image class Migration(migrations.Migration): initial = True dependencies = [ migrations.swapp...
36.676471
120
0.467121
203
2,494
5.630542
0.413793
0.052493
0.041995
0.038495
0.24147
0.194226
0.194226
0.194226
0.138233
0.138233
0
0.019649
0.428629
2,494
67
121
37.223881
0.782456
0.018444
0
0.266667
1
0
0.124285
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.15
0
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
6701694f2369e908b3451776d8df563a65e40dc0
397
py
Python
exact/exact/annotations/migrations/0037_logimageaction_ip.py
maubreville/Exact
2f4ce50054bfe5350a106ef3fa1a2f03c90bbbef
[ "MIT" ]
43
2020-01-29T17:19:21.000Z
2022-03-29T11:11:32.000Z
exact/exact/annotations/migrations/0037_logimageaction_ip.py
maubreville/Exact
2f4ce50054bfe5350a106ef3fa1a2f03c90bbbef
[ "MIT" ]
41
2020-01-31T09:31:31.000Z
2022-02-24T15:55:21.000Z
exact/exact/annotations/migrations/0037_logimageaction_ip.py
maubreville/Exact
2f4ce50054bfe5350a106ef3fa1a2f03c90bbbef
[ "MIT" ]
16
2020-02-11T18:26:32.000Z
2021-07-30T09:05:15.000Z
# Generated by Django 2.0.13 on 2019-12-12 09:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('annotations', '0036_logimageaction'), ] operations = [ migrations.AddField( model_name='logimageaction', name='ip',...
20.894737
58
0.609572
39
397
6.153846
0.794872
0
0
0
0
0
0
0
0
0
0
0.06993
0.279597
397
18
59
22.055556
0.769231
0.115869
0
0
1
0
0.131805
0
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
670535386270b0c0ac824c4d5bcb8e26d5a0c18b
779
py
Python
modulus_tools/algorithms.py
nathan-albin/modulus_book
ba2159cb58a12447ebf41e81701c5975491503fd
[ "BSD-3-Clause" ]
null
null
null
modulus_tools/algorithms.py
nathan-albin/modulus_book
ba2159cb58a12447ebf41e81701c5975491503fd
[ "BSD-3-Clause" ]
8
2020-06-15T14:31:25.000Z
2022-03-12T00:55:30.000Z
modulus_tools/algorithms.py
nathan-albin/modulus_book
ba2159cb58a12447ebf41e81701c5975491503fd
[ "BSD-3-Clause" ]
null
null
null
''' Helpful algorithms for dealing with graphs and modulus. ''' from itertools import combinations import networkx as nx def spanning_trees(G): ''' Generates all spanning trees of a graph. Parameters ---------- G : networkx graph Returns ------- generator Each item r...
22.911765
69
0.603338
107
779
4.373832
0.616822
0.055556
0
0
0
0
0
0
0
0
0
0.003717
0.309371
779
34
70
22.911765
0.866171
0.594352
0
0
1
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
670606968a9c8292950fb7b87862b5bb8f667c2d
7,573
py
Python
pyramid/extract2dzi.py
toringerhartCAMM/czi2tiff
d341a92d4949bbe021ad4de4c816294faf4e8a93
[ "Apache-2.0" ]
3
2016-02-07T19:26:32.000Z
2017-07-11T22:42:10.000Z
pyramid/extract2dzi.py
toringerhartCAMM/czi2tiff
d341a92d4949bbe021ad4de4c816294faf4e8a93
[ "Apache-2.0" ]
36
2015-09-04T22:56:31.000Z
2019-02-13T01:44:32.000Z
pyramid/extract2dzi.py
toringerhartCAMM/czi2tiff
d341a92d4949bbe021ad4de4c816294faf4e8a93
[ "Apache-2.0" ]
1
2018-08-09T06:52:04.000Z
2018-08-09T06:52:04.000Z
#!/usr/bin/env python import sys import os import math from PIL import Image from StringIO import StringIO # you need to install this library yourself # recent versions handle bigtiff too... import tifffile """ Extract a pyramidal TIFF with JPEG tiled storage into a tree of separate JPEG files into DZI compliant dir...
29.582031
93
0.637396
1,012
7,573
4.641304
0.298419
0.025548
0.028742
0.018097
0.209495
0.126677
0.066851
0.066851
0.056845
0.03598
0
0.016017
0.258022
7,573
255
94
29.698039
0.819897
0.099432
0
0.038217
0
0
0.156001
0.068149
0
0
0
0
0.044586
0
null
null
0
0.038217
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
670c74fd993fd5229335cf49ed8e91e7a14901e2
680
py
Python
tests/test_ecb_decrypt_harder.py
baroncrowley/cryptanalib3
dbddffa01930d277b47bf5b15349949e70fe504c
[ "BSD-3-Clause" ]
8
2020-10-06T18:24:41.000Z
2021-09-25T05:26:22.000Z
tests/test_ecb_decrypt_harder.py
istrangeloop/cryptanalib3
65a7b0e85090b3fcad8f48ba59ddd57491933df6
[ "BSD-3-Clause" ]
21
2020-09-30T01:51:15.000Z
2021-03-24T21:26:15.000Z
tests/test_ecb_decrypt_harder.py
istrangeloop/cryptanalib3
65a7b0e85090b3fcad8f48ba59ddd57491933df6
[ "BSD-3-Clause" ]
2
2020-12-17T19:58:56.000Z
2021-02-03T18:11:08.000Z
from Crypto.Cipher import AES import ca3 as ca from Crypto import Random import random import pdb key = b'YELLOW SUBMARINE' iv = Random.new().read(AES.block_size) suffix = b'lol, u tk him 2 da bar|?duh' cipher = AES.new(key, AES.MODE_ECB) def my_encryption_oracle(plaintext): return cipher.encrypt(ca.pkcs7_pad(b'A...
32.380952
114
0.772059
109
680
4.688073
0.559633
0.062622
0.093933
0
0
0
0
0
0
0
0
0.01005
0.122059
680
20
115
34
0.845896
0
0
0
0
0
0.225
0
0
0
0
0
0
1
0.066667
false
0
0.333333
0.066667
0.466667
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
670e82f2803a71f078a56194fc84235aa54495fa
541
py
Python
tests/test_sdnc_element.py
krasm/python-onapsdk
87cd3017fc542a8afd3be51fbd89934ed87ed3a7
[ "Apache-2.0" ]
null
null
null
tests/test_sdnc_element.py
krasm/python-onapsdk
87cd3017fc542a8afd3be51fbd89934ed87ed3a7
[ "Apache-2.0" ]
null
null
null
tests/test_sdnc_element.py
krasm/python-onapsdk
87cd3017fc542a8afd3be51fbd89934ed87ed3a7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # SPDX-License-Identifier: Apache-2.0 """Test A&AI Element.""" import pytest from unittest import mock from onapsdk.sdnc.sdnc_element import SdncElement from onapsdk.utils.gui import GuiList @mock.patch.object(SdncElement, "send_message") def test_get_guis(send_message_mock): component = Sd...
31.823529
88
0.767098
77
541
5.194805
0.532468
0.1
0.1275
0
0
0
0
0
0
0
0
0.010549
0.123845
541
16
89
33.8125
0.833333
0.2939
0
0
0
0
0.032086
0
0
0
0
0
0.2
1
0.1
false
0
0.4
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
6715f615f75e0811e46726c839a8569ebf77c6dc
2,787
py
Python
circum/utils/state/tracking.py
LumineerLabs/circum
5b970bd6dc258ec97346e5dd0a0bb1c8f830f0c3
[ "MIT" ]
2
2020-04-11T08:23:50.000Z
2020-08-11T20:38:48.000Z
circum/utils/state/tracking.py
LumineerLabs/circum
5b970bd6dc258ec97346e5dd0a0bb1c8f830f0c3
[ "MIT" ]
2
2021-03-27T21:13:34.000Z
2021-04-07T03:42:16.000Z
circum/utils/state/tracking.py
LumineerLabs/circum
5b970bd6dc258ec97346e5dd0a0bb1c8f830f0c3
[ "MIT" ]
null
null
null
import logging from collections import OrderedDict from datetime import datetime, timedelta import numpy as np logger = logging.getLogger(__name__) class TrackedObject: def __init__(self, pos: np.ndarray): self.pos = pos self.last_seen = self._now() self.id = None self.tracking_...
32.034483
114
0.594546
338
2,787
4.633136
0.275148
0.040868
0.05364
0.043423
0.075351
0.051086
0.051086
0.051086
0.051086
0
0
0.004124
0.303911
2,787
86
115
32.406977
0.803093
0.035163
0
0.063492
0
0
0.076694
0
0
0
0
0
0
1
0.206349
false
0
0.063492
0.095238
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
6716225baaafcb8327c15904f2b603f5b84042d5
1,943
py
Python
WangBlog/views.py
okppc/Search
b53750f813f646b74541dffcd88e851ea3216756
[ "Apache-2.0" ]
null
null
null
WangBlog/views.py
okppc/Search
b53750f813f646b74541dffcd88e851ea3216756
[ "Apache-2.0" ]
null
null
null
WangBlog/views.py
okppc/Search
b53750f813f646b74541dffcd88e851ea3216756
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from WangBlog.models import * # Create your views here. def hello(request): name = "wangtieguo" return render(request, "index.html", locals()) # return HttpResponse("<h1>hello world, 我是王铁锅</h1>") def login(request): print('hello') if "POST" == request.method: ...
31.33871
92
0.549665
198
1,943
5.348485
0.277778
0.05949
0.08593
0.067989
0.358829
0.279509
0.152975
0.152975
0.152975
0.152975
0
0.009886
0.323212
1,943
61
93
31.852459
0.795437
0.038085
0
0.45283
0
0
0.107717
0
0
0
0
0
0
1
0.056604
false
0.113208
0.037736
0
0.207547
0.264151
0
0
0
null
0
0
0
0
0
0
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
671851e86d3d337be32dda7a15db83044d8b97e4
10,021
py
Python
tlib/db/pymysql_api.py
txu2008/TXLIB
402f3730e8710803675736e0f2e25719cd646409
[ "MIT" ]
1
2019-08-08T05:06:28.000Z
2019-08-08T05:06:28.000Z
tlib/db/pymysql_api.py
txu2008/TXLIB
402f3730e8710803675736e0f2e25719cd646409
[ "MIT" ]
1
2020-03-24T05:53:20.000Z
2020-03-24T05:53:20.000Z
tlib/db/pymysql_api.py
txu2008/TXLIB
402f3730e8710803675736e0f2e25719cd646409
[ "MIT" ]
null
null
null
# !/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/10/16 15:12 # @Author : Tao.Xu # @Email : tao.xu2008@outlook.com """ pymysql for CPython : 2.7 and >= 3.4 """ import pymysql import unittest from tlib import log # ============================= # --- Global # ============================= logger = ...
33.969492
92
0.492865
1,134
10,021
4.283069
0.191358
0.028001
0.024707
0.007412
0.526251
0.500515
0.489809
0.445131
0.431954
0.417953
0
0.077212
0.361541
10,021
294
93
34.085034
0.681932
0.065562
0
0.483721
0
0.037209
0.328687
0.051296
0
0
0
0
0
1
0.065116
false
0.07907
0.013953
0
0.12093
0.037209
0
0
0
null
0
0
0
0
0
0
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
671df143a13ae28684744d66c0e2d0d68027d801
4,749
py
Python
envelopes/conn.py
vamega/envelopes
0749afe36348dc3e256f9624d86d85d7ab0963f5
[ "MIT" ]
6
2016-11-15T01:49:36.000Z
2020-05-07T05:15:48.000Z
envelopes/conn.py
vamega/envelopes
0749afe36348dc3e256f9624d86d85d7ab0963f5
[ "MIT" ]
2
2016-05-04T18:49:52.000Z
2019-09-06T03:03:30.000Z
envelopes/conn.py
vamega/envelopes
0749afe36348dc3e256f9624d86d85d7ab0963f5
[ "MIT" ]
5
2017-06-27T21:17:12.000Z
2020-05-07T05:15:50.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2013 Tomasz Wójcik <tomek@bthlabs.pl> # # 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 # ...
30.442308
86
0.63466
559
4,749
5.207513
0.32737
0.03023
0.015115
0.021642
0.162487
0.162487
0.162487
0.114394
0.046719
0
0
0.004056
0.27311
4,749
155
87
30.63871
0.839224
0.337966
0
0.255556
0
0
0.034224
0
0
0
0
0
0
1
0.088889
false
0.1
0.022222
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
67250bb6deee46905951ce43bc56e8d98afb1f00
793
py
Python
crontab/db_connection.py
mwernli/digilog-crawling
487553dd7e1b1c46caf12fba67e369e6f7bcf8c9
[ "Apache-2.0" ]
null
null
null
crontab/db_connection.py
mwernli/digilog-crawling
487553dd7e1b1c46caf12fba67e369e6f7bcf8c9
[ "Apache-2.0" ]
null
null
null
crontab/db_connection.py
mwernli/digilog-crawling
487553dd7e1b1c46caf12fba67e369e6f7bcf8c9
[ "Apache-2.0" ]
null
null
null
from sqlalchemy import create_engine import pandas as pd import os def get_gde_url(): try: if bool(int(os.environ['OUTSIDE_NETWORK'])): host = 'localhost' port = '5500' else: host = 'digilog-postgres' port = '5432' except KeyError: host =...
25.580645
82
0.59773
87
793
5.321839
0.563218
0.051836
0.073434
0.090713
0.116631
0
0
0
0
0
0
0.027972
0.278689
793
31
83
25.580645
0.781469
0.040353
0
0.173913
0
0
0.251647
0.072464
0
0
0
0
0
1
0.043478
false
0.086957
0.130435
0
0.217391
0
0
0
0
null
0
0
0
0
0
0
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
67262e044e288cfe6ad78ca287ef2073fe31d72b
1,172
py
Python
Python 100 Days 100 Project /09_blind-auction/09_blind-auction.py
akhmadzaki/Programming
c91365432761f32550800b968c4bad03e1288de7
[ "MIT" ]
1
2022-02-17T10:24:15.000Z
2022-02-17T10:24:15.000Z
Python 100 Days 100 Project /09_blind-auction/09_blind-auction.py
akhmadzaki/Programming
c91365432761f32550800b968c4bad03e1288de7
[ "MIT" ]
1
2022-02-21T15:00:24.000Z
2022-03-07T12:15:31.000Z
Python 100 Days 100 Project /09_blind-auction/09_blind-auction.py
akhmadzaki/Programming
c91365432761f32550800b968c4bad03e1288de7
[ "MIT" ]
1
2022-02-22T15:09:53.000Z
2022-02-22T15:09:53.000Z
import os logo = ''' ___________ \ / )_______( |"""""""|_.-._,.---------.,_.-._ | | | | | | ''-. | |_| |_ _| |_..-' ...
30.842105
68
0.385666
99
1,172
3.989899
0.505051
0.03038
0.04557
0.075949
0.086076
0
0
0
0
0
0
0.001508
0.4343
1,172
38
69
30.842105
0.594268
0.099829
0
0
0
0
0.616334
0.030389
0
0
0
0
0
1
0.028571
false
0
0.028571
0
0.057143
0.057143
0
0
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
6729861df9e536dd54380e488be47811a7449cff
4,175
py
Python
sandbox/lib/jumpscale/Jumpscale/clients/redisconfig/RedisConfig.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
null
null
null
sandbox/lib/jumpscale/Jumpscale/clients/redisconfig/RedisConfig.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
null
null
null
sandbox/lib/jumpscale/Jumpscale/clients/redisconfig/RedisConfig.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
null
null
null
from Jumpscale import j class RedisConfig(j.baseclasses.object_config): _SCHEMATEXT = """ @url = jumpscale.redis_config.client name** = "" (S) addr = "127.0.0.1" (ipaddr) port = 6379 (ipport) password_ = "" (S) ardb_patch = false (B) unixsocket = "" (S) set_patch = false (B) s...
30.253623
111
0.506108
462
4,175
4.374459
0.261905
0.069273
0.023751
0.022266
0.387432
0.333993
0.31717
0.31717
0.224641
0.224641
0
0.006319
0.393533
4,175
137
112
30.474453
0.791864
0.370299
0
0.272727
0
0
0.134137
0.011275
0
0
0
0.007299
0.030303
1
0.060606
false
0.090909
0.015152
0.015152
0.151515
0
0
0
0
null
0
0
0
0
0
0
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
672a05eda92bc2021fbf12e4844abe523c3dded3
1,676
py
Python
2018/03/03-python.py
allengarvin/adventofcode
004719c1721e514e3e8de8e94c25e0f858e96838
[ "BSD-3-Clause" ]
null
null
null
2018/03/03-python.py
allengarvin/adventofcode
004719c1721e514e3e8de8e94c25e0f858e96838
[ "BSD-3-Clause" ]
null
null
null
2018/03/03-python.py
allengarvin/adventofcode
004719c1721e514e3e8de8e94c25e0f858e96838
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python import sys, os, argparse, operator, re, itertools, parse class ElfClaim: def __init__(self, p): self.full = p.__dict__["named"] self.claim_no = p["cl"] self.ox = p["ox"]; self.oy = p["oy"] self.width = p["w"]; self.length = p["l"] def __contains__(self, p): ...
33.52
104
0.558473
264
1,676
3.412879
0.352273
0.038846
0.043285
0.013319
0.031077
0.031077
0.031077
0.031077
0.031077
0.031077
0
0.01199
0.25358
1,676
49
105
34.204082
0.708233
0.02864
0
0
0
0.057143
0.120541
0
0
0
0
0
0
1
0.2
false
0
0.028571
0.142857
0.4
0.057143
0
0
0
null
0
0
0
0
0
0
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
672ea086c93dfac5b5a54268b05c04e61c44eaa6
2,177
py
Python
tc-rc3d/result_refine.py
xujinglin/code
59a74682f7db28a03abc6b070b95819777b17a10
[ "MIT" ]
1
2020-04-06T03:58:04.000Z
2020-04-06T03:58:04.000Z
tc-rc3d/result_refine.py
xujinglin/code
59a74682f7db28a03abc6b070b95819777b17a10
[ "MIT" ]
null
null
null
tc-rc3d/result_refine.py
xujinglin/code
59a74682f7db28a03abc6b070b95819777b17a10
[ "MIT" ]
null
null
null
#!/usr/bin/python3 """ Apply Task-Consistency method to R-C3D results. Contributed by Danyang Zhang @THU_IVG Last revision: Danyang Zhang @THU_IVG @Mar 6th, 2019 CST """ import json import numpy as np import math import sys # R-C3D score json with open(sys.argv[1]) as score_file: whole_file = json.load(score_file)...
32.014706
90
0.73955
351
2,177
4.421652
0.307692
0.032216
0.028351
0.03866
0.149485
0.063144
0
0
0
0
0
0.009043
0.136426
2,177
67
91
32.492537
0.816489
0.152503
0
0.097561
0
0
0.061758
0
0
0
0.005938
0
0
0
null
null
0
0.097561
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
672fffd0de58044d7d42117db058801d84ae76db
1,746
py
Python
src/pymap3d/__init__.py
scivision/pymap3d
23efbf68316830a5e64d6170a072aceffc551ab4
[ "BSD-2-Clause" ]
108
2017-03-26T18:27:09.000Z
2020-02-17T23:41:35.000Z
src/pymap3d/__init__.py
scivision/pymap3d
23efbf68316830a5e64d6170a072aceffc551ab4
[ "BSD-2-Clause" ]
30
2017-04-25T12:43:50.000Z
2020-01-27T07:56:18.000Z
src/pymap3d/__init__.py
scivision/pymap3d
23efbf68316830a5e64d6170a072aceffc551ab4
[ "BSD-2-Clause" ]
53
2017-04-25T12:25:40.000Z
2020-01-17T12:32:22.000Z
""" PyMap3D provides coordinate transforms and geodesy functions with a similar API to the Matlab Mapping Toolbox, but was of course independently derived. For all functions, the default units are: distance : float METERS angles : float DEGREES time : datetime.datetime UTC time of observation These funct...
29.1
92
0.764605
217
1,746
6.133641
0.705069
0.015026
0.021037
0.033058
0.039068
0
0
0
0
0
0
0.031615
0.166667
1,746
59
93
29.59322
0.883162
0.542955
0
0
0
0
0.006329
0
0
0
0
0
0
1
0
false
0
0.52
0
0.52
0
0
0
0
null
0
0
0
0
0
0
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
6730b3b117bb1c5cb3f950b19d964e492324cd60
1,654
py
Python
src/phimal_utilities/data/burgers/burgers.py
PhIMaL/phimal_utilities
3d5c101e1a024ac29e7ed47823d7a15e9085dbd7
[ "MIT" ]
null
null
null
src/phimal_utilities/data/burgers/burgers.py
PhIMaL/phimal_utilities
3d5c101e1a024ac29e7ed47823d7a15e9085dbd7
[ "MIT" ]
null
null
null
src/phimal_utilities/data/burgers/burgers.py
PhIMaL/phimal_utilities
3d5c101e1a024ac29e7ed47823d7a15e9085dbd7
[ "MIT" ]
null
null
null
import torch from numpy import pi def BurgersDelta(x, t, v, A): ''' Function to generate analytical solutions of Burgers equation with delta peak initial condition: u(x, 0) = A delta(x) Source: https://www.iist.ac.in/sites/default/files/people/IN08026/Burgers_equation_viscous.pdf Note that this sourc...
35.956522
121
0.616082
286
1,654
3.503497
0.328671
0.071856
0.062874
0.083832
0.43014
0.392216
0.363273
0.329341
0.329341
0.155689
0
0.033568
0.225514
1,654
45
122
36.755556
0.748634
0.490931
0
0.157895
1
0
0
0
0
0
0
0
0
1
0.157895
false
0
0.105263
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
673473c5d6340ec6e8fd938bba4e04736f679334
14,494
py
Python
src/pyeleven/test/__init__.py
leifj/pyeleven
ce26cccced3ce6a7ecb3151a60b8a61bb3410aed
[ "BSD-2-Clause-FreeBSD" ]
10
2015-03-27T12:50:21.000Z
2017-10-27T12:33:03.000Z
src/pyeleven/test/__init__.py
leifj/pyeleven
ce26cccced3ce6a7ecb3151a60b8a61bb3410aed
[ "BSD-2-Clause-FreeBSD" ]
2
2017-01-17T14:39:03.000Z
2017-01-18T15:45:46.000Z
src/pyeleven/test/__init__.py
IdentityPython/pyeleven
ce26cccced3ce6a7ecb3151a60b8a61bb3410aed
[ "BSD-2-Clause-FreeBSD" ]
1
2021-04-21T10:32:12.000Z
2021-04-21T10:32:12.000Z
""" Testing the PKCS#11 shim layer """ from base64 import b64encode from flask import json from retrying import retry from pyeleven.pk11 import slots_for_label, load_library from ..utils import mechanism, intarray2bytes import pkg_resources import unittest import logging import os import time from shutil import copyf...
30.772824
109
0.558645
1,832
14,494
4.270197
0.148472
0.047808
0.027611
0.036559
0.507222
0.449827
0.387447
0.373897
0.365716
0.342324
0
0.038703
0.319029
14,494
471
110
30.772824
0.753901
0.006416
0
0.41519
0
0.010127
0.170949
0.012812
0
0
0
0
0.172152
0
null
null
0.012658
0.055696
null
null
0.020253
0
0
0
null
0
0
0
0
0
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
673a1d923088da6e503d40699c08d241729618fa
634
py
Python
tenant_profile/decorators.py
smegurus/smegurus-django
053973b5ff0b997c52bfaca8daf8e07db64a877c
[ "BSD-4-Clause" ]
1
2020-07-16T10:58:23.000Z
2020-07-16T10:58:23.000Z
tenant_profile/decorators.py
smegurus/smegurus-django
053973b5ff0b997c52bfaca8daf8e07db64a877c
[ "BSD-4-Clause" ]
13
2018-11-30T02:29:39.000Z
2022-03-11T23:35:49.000Z
tenant_profile/decorators.py
smegurus/smegurus-django
053973b5ff0b997c52bfaca8daf8e07db64a877c
[ "BSD-4-Clause" ]
null
null
null
from functools import wraps from django.core.urlresolvers import resolve, reverse from django.http import HttpResponse, HttpResponseBadRequest, HttpResponseForbidden, HttpResponseRedirect def tenant_profile_required(view_func): """ Decorator ensures any application logic associated with having the profile ...
37.294118
105
0.741325
72
634
6.416667
0.680556
0.04329
0.073593
0
0
0
0
0
0
0
0
0
0.192429
634
16
106
39.625
0.902344
0.214511
0
0
0
0
0.039749
0
0
0
0
0
0
1
0.2
false
0
0.3
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
673b07218435df1e2f40bf4b06277c968b67234f
4,207
py
Python
shylock/conf/settings.py
ufcg-lsd/shylock
2207cfca84d101da2849dc7474b529ca761692a3
[ "MIT" ]
1
2020-09-08T11:40:51.000Z
2020-09-08T11:40:51.000Z
shylock/conf/settings.py
ufcg-lsd/shylock
2207cfca84d101da2849dc7474b529ca761692a3
[ "MIT" ]
4
2020-09-02T20:23:54.000Z
2020-11-23T19:06:30.000Z
shylock/conf/settings.py
ufcg-lsd/shylock
2207cfca84d101da2849dc7474b529ca761692a3
[ "MIT" ]
2
2020-09-04T02:09:38.000Z
2022-03-11T19:57:38.000Z
import os from pathlib import Path from decouple import config from influxdb_client import InfluxDBClient from keystoneauth1 import session from keystoneauth1.identity import v3 BASE_DIR = Path(__file__).resolve().parent.parent # STATIC AND MEDIA DEFAULT PATHS STATIC_URL = 'static/' STATIC_ROOT = os.path...
26.967949
92
0.658664
430
4,207
6.230233
0.362791
0.072788
0.04442
0.031355
0.073908
0.073908
0
0
0
0
0
0.00303
0.215593
4,207
155
93
27.141935
0.808788
0.082719
0
0
0
0
0.430119
0.29415
0
0
0
0
0
1
0
false
0.085714
0.057143
0
0.057143
0
0
0
0
null
0
0
0
0
0
0
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
673e968f61a833059bed96bd197710dc3ed2d717
2,320
py
Python
aoc2020/day_12/day_12.py
abusi/advent_of_code2020
94527069867071b4d883d47b074276fc0406f15e
[ "MIT" ]
null
null
null
aoc2020/day_12/day_12.py
abusi/advent_of_code2020
94527069867071b4d883d47b074276fc0406f15e
[ "MIT" ]
null
null
null
aoc2020/day_12/day_12.py
abusi/advent_of_code2020
94527069867071b4d883d47b074276fc0406f15e
[ "MIT" ]
null
null
null
def move(cc, order, value): if order == "N": cc[1] += value if order == "S": cc[1] -= value if order == "E": cc[0] += value if order == "W": cc[0] -= value return cc def stage1(inp): direct = ["S", "W", "N", "E"] facing = "E" current_coord = [0, 0] ...
30.12987
88
0.487069
319
2,320
3.338558
0.115987
0.1277
0.207512
0.092019
0.599061
0.490141
0.439437
0.439437
0.270423
0.270423
0
0.046322
0.367241
2,320
76
89
30.526316
0.679155
0
0
0.3125
0
0
0.011638
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.125
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
67419c0671b1ffb46e5c94d70519a6beace9b252
14,772
py
Python
Server/integrations/privacyidea/privacyidea.py
premeau/oxAuth
a2d209b6f795d2a891251997325d3fa6893600e0
[ "MIT" ]
380
2015-01-08T23:28:43.000Z
2022-03-07T20:19:51.000Z
Server/integrations/privacyidea/privacyidea.py
premeau/oxAuth
a2d209b6f795d2a891251997325d3fa6893600e0
[ "MIT" ]
1,292
2015-01-08T23:24:14.000Z
2022-03-31T21:43:58.000Z
Server/integrations/privacyidea/privacyidea.py
premeau/oxAuth
a2d209b6f795d2a891251997325d3fa6893600e0
[ "MIT" ]
172
2015-01-10T09:48:21.000Z
2022-02-24T03:01:59.000Z
# -*- coding: utf-8 -*- # # privacyIDEA is a Multi-Factor-Management system that supports # a wide variety of different tokentypes like smartphone apps, key fob tokens, # yubikeys, u2f, fido2, email, sms... # The administrator of an organization can manage the 2nd factors of the # users centrally in privacyIDEA and con...
43.575221
178
0.654008
1,429
14,772
6.715185
0.247726
0.020008
0.037516
0.018237
0.150271
0.096186
0.061067
0.053981
0.027928
0.027928
0
0.003784
0.266518
14,772
338
179
43.704142
0.881864
0.199634
0
0.22488
0
0
0.169417
0.002977
0
0
0
0
0
1
0.090909
false
0.105263
0.07177
0.043062
0.291866
0.066986
0
0
0
null
0
0
0
0
0
0
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