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
f6f19256309e478feed0e4a3f8af556c2a98891d
2,637
py
Python
neighborhoods/tests.py
Mantongash/neighborhood
28c2424c975834214a7ff675000f32521270f1e6
[ "MIT", "Unlicense" ]
null
null
null
neighborhoods/tests.py
Mantongash/neighborhood
28c2424c975834214a7ff675000f32521270f1e6
[ "MIT", "Unlicense" ]
3
2020-06-06T01:31:38.000Z
2021-09-08T01:50:44.000Z
neighborhoods/tests.py
Mantongash/neighborhood
28c2424c975834214a7ff675000f32521270f1e6
[ "MIT", "Unlicense" ]
null
null
null
from django.test import TestCase from .models import Profile, Post, Business, Neighbourhood from django.contrib.auth.models import User class TestProfile(TestCase): def setUp(self): self.user = User(username='ben', email='ben@gmail.com', password='3rt5') self.user.save() ...
35.16
147
0.640121
291
2,637
5.718213
0.264605
0.037861
0.061298
0.036058
0.349159
0.28125
0.186899
0.132813
0
0
0
0.010437
0.237012
2,637
74
148
35.635135
0.8166
0
0
0.259259
0
0
0.069397
0
0
0
0
0
0.166667
1
0.240741
false
0.037037
0.055556
0
0.351852
0
0
0
0
null
0
0
0
0
0
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
f6f5cac33c9e6e92cb9e602475046169cbaa7dbe
1,649
py
Python
users/managers.py
KzmMthr/api_yamdb_docker
4d4badcfc0ce5cfe80cbfe60268aeaa98f63ee2e
[ "MIT" ]
null
null
null
users/managers.py
KzmMthr/api_yamdb_docker
4d4badcfc0ce5cfe80cbfe60268aeaa98f63ee2e
[ "MIT" ]
null
null
null
users/managers.py
KzmMthr/api_yamdb_docker
4d4badcfc0ce5cfe80cbfe60268aeaa98f63ee2e
[ "MIT" ]
null
null
null
from django.utils.crypto import get_random_string from django.contrib.auth.models import BaseUserManager from django.utils.translation import ugettext_lazy as _ import uuid class CustomUserManager(BaseUserManager): def create_user(self, username=None, email=None, password=None, **extra_fields): if not ema...
43.394737
84
0.647059
185
1,649
5.572973
0.324324
0.117362
0.081474
0.066925
0.232784
0.14549
0.083414
0.083414
0.083414
0
0
0.009031
0.261371
1,649
37
85
44.567568
0.837438
0
0
0
0
0
0.129776
0.028502
0
0
0
0
0
1
0.0625
false
0.125
0.125
0
0.28125
0
0
0
0
null
0
0
0
0
0
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
f6fcac3df4ad704d6d172d8920bfb5024fb6e2c0
487
py
Python
src/spyware_server/models/access.py
Abderrahman-byte/Spyware-Server
993c289491c8acb74b868ad8da8e68b84a902310
[ "MIT" ]
null
null
null
src/spyware_server/models/access.py
Abderrahman-byte/Spyware-Server
993c289491c8acb74b868ad8da8e68b84a902310
[ "MIT" ]
null
null
null
src/spyware_server/models/access.py
Abderrahman-byte/Spyware-Server
993c289491c8acb74b868ad8da8e68b84a902310
[ "MIT" ]
null
null
null
def get_access_by_username (cursor, username) : try : sql_statement = 'SELECT username,password,active FROM access WHERE username = %s' cursor.execute(sql_statement,(username,)) data = cursor.fetchone() except Exception as ex: print('[ERROR] get_access_by_username : ' + ex.__str_...
30.4375
89
0.603696
57
487
4.947368
0.561404
0.06383
0.078014
0.134752
0
0
0
0
0
0
0
0.008596
0.283368
487
16
90
30.4375
0.799427
0
0
0
0
0
0.241803
0.094262
0
0
0
0
0
1
0.071429
false
0.142857
0
0
0.214286
0.071429
0
0
0
null
0
0
0
0
0
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
1005b51e9b9a754ad2ba94fe1536c28d1336444e
719
py
Python
applications/graph/graph_samples/wikipedia/trim_wikidump.py
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
20
2017-07-03T19:09:09.000Z
2021-09-10T02:53:56.000Z
applications/graph/graph_samples/wikipedia/trim_wikidump.py
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
null
null
null
applications/graph/graph_samples/wikipedia/trim_wikidump.py
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
9
2017-09-17T02:05:06.000Z
2020-01-31T00:12:01.000Z
#!/usr/bin/env bash # This script trims wiki dumps into only relevant information. # The output is: # - results/pages_trimmed containing page id, namespace, title # - results/links_trimmed containing pade id (from), namespace, title (to) # This should be further parsed by parse_and_save to construct edges as # (sr...
25.678571
76
0.726008
109
719
4.752294
0.59633
0.065637
0.061776
0
0
0
0
0
0
0
0
0.006711
0.171071
719
27
77
26.62963
0.862416
0.596662
0
0.166667
0
0
0.377224
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
100f5a8cbdbbd40eb65c60a1ff4df44c67f3a278
1,606
py
Python
simplebrute.py
AshkanRafiee/SimpleBrute
c2f80ca9a858ec730ccb2aaa3ff375e5936b7544
[ "MIT" ]
2
2019-04-15T16:26:11.000Z
2019-04-15T16:31:39.000Z
simplebrute.py
AshkanRafiee/SimpleBrute
c2f80ca9a858ec730ccb2aaa3ff375e5936b7544
[ "MIT" ]
null
null
null
simplebrute.py
AshkanRafiee/SimpleBrute
c2f80ca9a858ec730ccb2aaa3ff375e5936b7544
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #Coded By Ashkan Rafiee https://github.com/AshkanRafiee/SimpleBrute/ import requests def readfile(file): with open(file) as f: content = f.readlines() # remove whitespace characters like `\n` at the end of each line content = [x.strip() for x in content] return content ...
33.458333
85
0.514321
164
1,606
4.969512
0.518293
0.06135
0.047853
0.076074
0.157055
0.157055
0.157055
0.157055
0.157055
0.157055
0
0.005405
0.308842
1,606
47
86
34.170213
0.728829
0.094022
0
0.058824
0
0
0.28601
0.07581
0
0
0
0
0
1
0.088235
false
0.294118
0.029412
0
0.147059
0.352941
0
0
0
null
0
0
0
0
0
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
63d94667055ac4d29f3b92cb9b0caca8cbb091d7
1,877
py
Python
model/process_input.py
Sherlocked-Blaire/Lithuanian-house-price-prediction
f966d5a64c492d45addbdb1c338212c5af0f530c
[ "MIT" ]
null
null
null
model/process_input.py
Sherlocked-Blaire/Lithuanian-house-price-prediction
f966d5a64c492d45addbdb1c338212c5af0f530c
[ "MIT" ]
null
null
null
model/process_input.py
Sherlocked-Blaire/Lithuanian-house-price-prediction
f966d5a64c492d45addbdb1c338212c5af0f530c
[ "MIT" ]
null
null
null
import json import numpy as np import pandas as pd import pickle import sklearn def process_input(request_data: str) -> pd.DataFrame: """ asserts that the request data is correct. :param request_data: data gotten from the request made to the API :return: the values from the dataframe """ ...
41.711111
108
0.645178
223
1,877
5.143498
0.327354
0.130776
0.167393
0.209242
0.047079
0
0
0
0
0
0
0.000672
0.207778
1,877
45
109
41.711111
0.770679
0.112946
0
0
0
0
0.299635
0.095006
0
0
0
0
0.027778
1
0.027778
false
0
0.138889
0
0.194444
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
63de548dbd184df7ae8f09e123ac7b74017c5e51
14,320
py
Python
python/pcs_api/providers/onedrive.py
aiseei/pcs_api
20691e52e144014f99ca75cb7dedc7ba0c18586c
[ "Apache-2.0" ]
6
2015-05-07T20:38:39.000Z
2018-02-05T23:00:04.000Z
python/pcs_api/providers/onedrive.py
netheosgithub/pcs_api
20691e52e144014f99ca75cb7dedc7ba0c18586c
[ "Apache-2.0" ]
2
2018-11-30T10:50:05.000Z
2021-06-04T01:04:42.000Z
python/pcs_api/providers/onedrive.py
aiseei/pcs_api
20691e52e144014f99ca75cb7dedc7ba0c18586c
[ "Apache-2.0" ]
5
2015-07-11T04:29:01.000Z
2020-01-09T03:25:29.000Z
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Netheos (http://www.netheos.net) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless req...
42.366864
124
0.6375
1,793
14,320
4.841049
0.215282
0.03629
0.017627
0.018433
0.299539
0.260253
0.235945
0.19977
0.147696
0.100691
0
0.006115
0.280587
14,320
337
125
42.492582
0.83644
0.238268
0
0.261468
0
0
0.051694
0
0
0
0
0.011869
0
1
0.114679
false
0
0.050459
0.018349
0.330275
0.004587
0
0
0
null
0
0
0
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
63dfda689b002f7db18b810987cc9812a2e5b59c
43,883
py
Python
qp/pdf.py
aimalz/qp
ac1fdaa6cdd6da5f168db1d097ee92379939b87d
[ "MIT" ]
4
2016-12-06T17:51:45.000Z
2019-11-15T12:27:24.000Z
qp/pdf.py
aimalz/qp
ac1fdaa6cdd6da5f168db1d097ee92379939b87d
[ "MIT" ]
74
2016-11-15T22:11:56.000Z
2022-03-30T15:38:03.000Z
qp/pdf.py
aimalz/qp
ac1fdaa6cdd6da5f168db1d097ee92379939b87d
[ "MIT" ]
7
2017-04-04T19:46:21.000Z
2021-05-19T06:02:07.000Z
import numpy as np import bisect import scipy.stats as sps import scipy.interpolate as spi import scipy.optimize as spo import sklearn as skl from sklearn import mixture import matplotlib as mpl import matplotlib.pyplot as plt mpl.rcParams['text.usetex'] = True mpl.rcParams['mathtext.rm'] = 'serif' mpl.rcParams['font....
43.064769
219
0.546772
5,209
43,883
4.539259
0.114033
0.007613
0.016367
0.006428
0.376105
0.312032
0.260774
0.229901
0.187439
0.151195
0
0.013401
0.335141
43,883
1,018
220
43.107073
0.797025
0.140009
0
0.298279
0
0
0.091106
0.001704
0
0
0
0
0.032505
0
null
null
0
0.024857
null
null
0.095602
0
0
0
null
0
0
0
0
0
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
63e06f9a641379d353bfe54b75f5e5d9be21a0a0
2,158
py
Python
generated-libraries/python/netapp/file/hole_range_info.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
2
2017-03-28T15:31:26.000Z
2018-08-16T22:15:18.000Z
generated-libraries/python/netapp/file/hole_range_info.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
null
null
null
generated-libraries/python/netapp/file/hole_range_info.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
null
null
null
from netapp.netapp_object import NetAppObject class HoleRangeInfo(NetAppObject): """ The hole start need not be an integral multiple of the block size. It will be rounded up to the start of the next block. The hole-size does not need to be the size of a block. It will be rounded down to the beg...
32.208955
85
0.616775
301
2,158
4.322259
0.401993
0.069178
0.015373
0.023059
0.139892
0.139892
0.139892
0.086088
0
0
0
0.007333
0.304912
2,158
66
86
32.69697
0.86
0.451344
0
0.176471
0
0
0.121212
0
0
0
0
0
0
1
0.205882
false
0
0.029412
0.088235
0.470588
0
0
0
0
null
0
0
0
0
0
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
63e29bd1eac05fd1eb5331fba9d6f7d99760c10e
4,433
py
Python
remit/templatetags/validation_tags.py
naamara/blink
326c035b2f0ef0feae4cd7aa2d4e73fa4a40171a
[ "Unlicense", "MIT" ]
null
null
null
remit/templatetags/validation_tags.py
naamara/blink
326c035b2f0ef0feae4cd7aa2d4e73fa4a40171a
[ "Unlicense", "MIT" ]
10
2019-12-26T17:31:31.000Z
2022-03-21T22:17:33.000Z
remit/templatetags/validation_tags.py
naamara/blink
326c035b2f0ef0feae4cd7aa2d4e73fa4a40171a
[ "Unlicense", "MIT" ]
null
null
null
from django.template.defaulttags import register from django import forms from django.core import validators from django.utils.encoding import force_unicode from json import JSONEncoder from django.utils.translation import ugettext as _ @register.simple_tag def validation_rules(form): """ This will render a D...
39.230088
127
0.628017
473
4,433
5.718816
0.183932
0.096488
0.149723
0.175601
0.689464
0.667283
0.64658
0.584473
0.581516
0.490203
0
0
0.270246
4,433
113
128
39.230089
0.836167
0.099932
0
0.5
0
0
0.054948
0
0
0
0
0
0
1
0.033333
false
0
0.1
0
0.166667
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
63e3e39a7688650b6e5231d76f947b2bdec5f36f
721
py
Python
visual_novel/core/exceptions.py
dolamroth/visual_novel
c67379df395561b3bca7e91e2db6547d2e943330
[ "MIT" ]
9
2018-03-11T12:53:12.000Z
2020-12-19T14:21:53.000Z
visual_novel/core/exceptions.py
dolamroth/visual_novel
c67379df395561b3bca7e91e2db6547d2e943330
[ "MIT" ]
6
2020-02-11T22:19:22.000Z
2022-03-11T23:20:10.000Z
visual_novel/core/exceptions.py
dolamroth/visual_novel
c67379df395561b3bca7e91e2db6547d2e943330
[ "MIT" ]
null
null
null
from rest_framework.exceptions import APIException class Conflict(APIException): status_code = 409 default_detail = 'Conflict' default_code = 'conflict' def __init__(self, detail=None, code=None, serializer_class=None): super(Conflict, self).__init__(detail=detail, code=code) if detai...
36.05
85
0.707351
90
721
5.377778
0.4
0.154959
0.055785
0.061983
0
0
0
0
0
0
0
0.005348
0.221914
721
19
86
37.947368
0.857398
0
0
0
0
0
0.055479
0
0
0
0
0
0.066667
1
0.133333
false
0
0.066667
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
63ead93aa799500b2087cf81f443c14fca3e4b4f
100,513
py
Python
peewee.py
mikiec84/peewee
2abc201d807bfed99048ca67a465ccd758ee7852
[ "MIT" ]
1
2020-03-12T17:01:44.000Z
2020-03-12T17:01:44.000Z
peewee.py
mikiec84/peewee
2abc201d807bfed99048ca67a465ccd758ee7852
[ "MIT" ]
null
null
null
peewee.py
mikiec84/peewee
2abc201d807bfed99048ca67a465ccd758ee7852
[ "MIT" ]
1
2020-03-12T17:02:03.000Z
2020-03-12T17:02:03.000Z
# (\ # ( \ /(o)\ caw! # ( \/ ()/ /) # ( `;.))'".) # `(/////.-' # =====))=))===() # ///' # // # ' """ NOTES (to be removed). Added by Marcin Wojnarski: - Model settings can be specified as Model.__xxx__, not only as Meta subclass (more convenient for users; easy inherit...
33.515505
177
0.583407
11,861
100,513
4.737122
0.080263
0.014256
0.005286
0.003132
0.298752
0.234823
0.182533
0.148113
0.128642
0.106537
0
0.002082
0.302359
100,513
2,998
178
33.526684
0.799193
0.036592
0
0.276682
0
0.002242
0.078075
0.004914
0
0
0
0.000334
0.000448
0
null
null
0.003139
0.007623
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
63f5711ac590f9128c981736253a795aa0034373
2,376
py
Python
test/unittests/test_dataset.py
monashbiomedicalimaging/nianalysis
d69c38eed52ae557a849889930cd659cdb3c6401
[ "Apache-2.0" ]
2
2019-11-14T01:02:26.000Z
2022-03-17T01:47:01.000Z
test/unittests/test_dataset.py
MonashBI/banana
37364243b520ab14ac1243005dbd465f824542b4
[ "Apache-2.0" ]
18
2019-04-03T04:25:55.000Z
2020-06-08T06:00:56.000Z
test/unittests/test_dataset.py
MonashBI/nianalysis
37364243b520ab14ac1243005dbd465f824542b4
[ "Apache-2.0" ]
4
2018-05-23T07:13:02.000Z
2018-08-24T04:05:31.000Z
from arcana.utils.testing import BaseTestCase, BaseMultiSubjectTestCase from arcana.analysis.base import Analysis, AnalysisMetaClass from arcana.data import InputFilesetSpec, FilesetSpec, FilesetFilter from banana.file_format import ( dicom_format) class TestMatchAnalysis(Analysis, metaclass=AnalysisMetaClass): ...
38.322581
71
0.642256
260
2,376
5.569231
0.25
0.053177
0.051796
0.062155
0.524862
0.48895
0.447514
0.447514
0.447514
0.321823
0
0.011844
0.253788
2,376
61
72
38.95082
0.804851
0
0
0.346939
0
0
0.115741
0.053451
0
0
0
0
0.081633
1
0.081633
false
0.061224
0.081633
0
0.346939
0
0
0
0
null
0
0
0
0
0
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
63fa7061afa724b66b324b438aac8241b8fe9deb
301
py
Python
Desafio060.py
Baeth/CeV-Python
7d0952d096b2f945679f4f8fe938754f24c5775b
[ "Unlicense" ]
2
2017-12-14T22:42:41.000Z
2018-03-28T10:08:02.000Z
Desafio060.py
Baeth/CeV-Python
7d0952d096b2f945679f4f8fe938754f24c5775b
[ "Unlicense" ]
null
null
null
Desafio060.py
Baeth/CeV-Python
7d0952d096b2f945679f4f8fe938754f24c5775b
[ "Unlicense" ]
null
null
null
# Ler um número e mostrar seu fatorial # Solução usando WHILE e FOR n = int(input('Digite um número, que vou mostrar seu fatorial: ')) r = n - 1 # contador nf = n # calcular while r >= 1: nf = nf * r r = r - 1 # for f in range(r, 1, -1): # nf = nf * f print('{}! = {}'.format(n, nf))
17.705882
66
0.561462
53
301
3.188679
0.509434
0.035503
0.213018
0
0
0
0
0
0
0
0
0.023148
0.282392
301
17
67
17.705882
0.759259
0.408638
0
0
0
0
0.325581
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
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
63fadb647fd135c74f4324377d8586ad81063b46
1,734
py
Python
splat/tokenizers/CleanTokenizer.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
splat/tokenizers/CleanTokenizer.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
splat/tokenizers/CleanTokenizer.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
#!/usr/bin/env python3 ##### PYTHON IMPORTS ################################################################################################### import re ##### SPLAT IMPORTS #################################################################################################### from splat.tokenizers.Tokenizer import Toke...
42.292683
120
0.371396
120
1,734
5.241667
0.616667
0.057234
0.050874
0
0
0
0
0
0
0
0
0.000688
0.162053
1,734
40
121
43.35
0.432209
0.292964
0
0
0
0
0.022965
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
12142a2ef2ee89f3d0aca72f192cccdde08eaf23
648
py
Python
client/migrations/0003_auto_20180310_1857.py
GAUTHAM31/playzone
41de282551bad7556493544f4addcadba5f99224
[ "Apache-2.0" ]
1
2018-03-14T14:43:15.000Z
2018-03-14T14:43:15.000Z
client/migrations/0003_auto_20180310_1857.py
GAUTHAM31/playzone
41de282551bad7556493544f4addcadba5f99224
[ "Apache-2.0" ]
null
null
null
client/migrations/0003_auto_20180310_1857.py
GAUTHAM31/playzone
41de282551bad7556493544f4addcadba5f99224
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-03-10 18:57 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('client', '0002_auto_20180310_1434'), ] operations = [ migrations.AddField( ...
24.923077
73
0.598765
71
648
5.295775
0.661972
0.047872
0.079787
0.101064
0.255319
0.255319
0.255319
0.255319
0.255319
0.255319
0
0.079229
0.279321
648
25
74
25.92
0.72591
0.104938
0
0.333333
1
0
0.093588
0.039861
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
1214acd8bdd7871b1313b3eedc1589b95d928957
657
py
Python
app/modules/news/tests/test_news.py
dxw/nhx-website
88344c7602823e0b371d3c6f933aa24aeb57db16
[ "MIT" ]
50
2019-04-04T17:50:00.000Z
2021-08-05T15:08:37.000Z
app/modules/news/tests/test_news.py
dxw/nhx-website
88344c7602823e0b371d3c6f933aa24aeb57db16
[ "MIT" ]
434
2019-04-04T18:25:32.000Z
2022-03-31T18:23:37.000Z
app/modules/news/tests/test_news.py
nhsx-mirror/nhsx-website
2133b4e275ca35ff77f7d6874e809f139ec4bf86
[ "MIT" ]
23
2019-04-04T09:52:07.000Z
2021-04-11T07:41:47.000Z
import pytest from django.test import Client pytestmark = pytest.mark.django_db client = Client() def test_news_page_gets_created(news_page): """Test that we have a news page created by the fixture""" assert news_page is not None def test_news_200(news_page): """Test that we have a news page created b...
23.464286
62
0.709285
112
657
3.982143
0.410714
0.197309
0.073991
0.107623
0.390135
0.349776
0.349776
0.224215
0.224215
0.224215
0
0.011299
0.191781
657
27
63
24.333333
0.828625
0.2207
0
0.142857
0
0
0.052419
0
0
0
0
0
0.214286
1
0.214286
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
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
12183b59eea29f847a4cf59f843852fa9e370559
654
py
Python
equity_risk_model/correlation.py
blaahhrrgg/equity-risk-model
f94af6126e57597642dbcbf6896beeb52d879936
[ "MIT" ]
3
2021-12-21T14:44:06.000Z
2022-03-28T09:29:01.000Z
equity_risk_model/correlation.py
blaahhrrgg/equity-risk-model
f94af6126e57597642dbcbf6896beeb52d879936
[ "MIT" ]
null
null
null
equity_risk_model/correlation.py
blaahhrrgg/equity-risk-model
f94af6126e57597642dbcbf6896beeb52d879936
[ "MIT" ]
4
2021-12-18T04:00:09.000Z
2022-03-28T17:02:03.000Z
import numpy def is_positive_semidefinite(matrix: numpy.array) -> bool: """Check whether a matrix is positive semi-definite or not Attempt to compute the Cholesky decomposition of the matrix, if this fails then the matrix is not positive semidefinite. Parameters ---------- matrix : numpy.arr...
22.551724
78
0.640673
75
654
5.56
0.573333
0.071942
0.105516
0
0
0
0
0
0
0
0
0.016632
0.264526
654
28
79
23.357143
0.850312
0.591743
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
121959a7ca563f46ad4fa06017e2d724bf9f5ba3
2,766
py
Python
cmsplugins/text/conf.py
wullerot/django-cmsplugins
cad052ada31d431121ceefacfcb6a247705d8e46
[ "MIT" ]
null
null
null
cmsplugins/text/conf.py
wullerot/django-cmsplugins
cad052ada31d431121ceefacfcb6a247705d8e46
[ "MIT" ]
null
null
null
cmsplugins/text/conf.py
wullerot/django-cmsplugins
cad052ada31d431121ceefacfcb6a247705d8e46
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.conf import settings from django.utils.translation import ugettext_lazy as _ from cmsplugins.baseplugin import defaults CKEDITOR_CSS_CLASSES = getattr( settings, 'TEXT_CKEDITOR_CSS_CLASSES', defaults.CSS_CLASSES ) CKEDITOR_HEIGHTS = getattr( settin...
18.689189
55
0.54013
227
2,766
6.207048
0.162996
0.191625
0.242725
0.114975
0.378992
0.189496
0.189496
0.189496
0.189496
0.189496
0
0
0.342372
2,766
147
56
18.816327
0.774601
0
0
0.539568
0
0
0.222343
0.075922
0
0
0
0
0
1
0
false
0
0.028777
0
0.028777
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
121971716ea7355f1724b67fdb5f88c91e3f69a9
1,311
py
Python
setup.py
AspenWeb/pando.py
87c70837ae66caf2705b2dfceb36d87e87cfaf1f
[ "MIT" ]
28
2016-09-07T04:39:29.000Z
2021-11-08T12:11:14.000Z
setup.py
gratipay/aspen-python
87c70837ae66caf2705b2dfceb36d87e87cfaf1f
[ "MIT" ]
106
2015-01-02T19:48:15.000Z
2015-09-03T15:03:27.000Z
setup.py
gratipay/aspen.py
87c70837ae66caf2705b2dfceb36d87e87cfaf1f
[ "MIT" ]
9
2016-07-21T11:17:48.000Z
2021-08-31T12:35:17.000Z
from os.path import dirname, join from setuptools import find_packages, setup setup( author='Chad Whitacre et al.', author_email='team@aspen.io', classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: Developers', 'License :: OSI Ap...
37.457143
86
0.632342
144
1,311
5.645833
0.631944
0.116851
0.153752
0.127921
0
0
0
0
0
0
0
0.008662
0.207475
1,311
34
87
38.558824
0.773821
0
0
0
0
0
0.507246
0.016781
0
0
0
0
0
1
0
true
0
0.064516
0
0.064516
0
0
0
0
null
0
0
0
0
0
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
121e870d5a89c6b0bdf2d57a1ffd9d094feb20f0
337
py
Python
accounts/admin.py
sisekelohub/sisekelo
7e1b0de6abf07e65ed746d0d929c3de37fb421c3
[ "MIT" ]
1
2022-02-20T16:03:04.000Z
2022-02-20T16:03:04.000Z
accounts/admin.py
sisekelohub/sisekelo
7e1b0de6abf07e65ed746d0d929c3de37fb421c3
[ "MIT" ]
null
null
null
accounts/admin.py
sisekelohub/sisekelo
7e1b0de6abf07e65ed746d0d929c3de37fb421c3
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Profile # admin.site.register(Profile) @admin.register(Profile) class ProfileAdmin(admin.ModelAdmin): list_display = ('user', 'student_id', 'birth_date', 'city') list_filter = ('user', 'birth_date', 'city') search_fields = ('user', 'student_id', 'bi...
28.083333
64
0.697329
41
337
5.560976
0.585366
0.105263
0.114035
0
0
0
0
0
0
0
0
0
0.142433
337
11
65
30.636364
0.788927
0.083086
0
0
0
0
0.234528
0
0
0
0
0
0
1
0
false
0
0.285714
0
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
122092486adf2f30bb6cb774065b01a22b7edba7
465
py
Python
Handsfree/settings/settings.py
Isaackei/Handsfree
a647eb136526f7ce1b3f9004409ee13e572e48fc
[ "MIT" ]
null
null
null
Handsfree/settings/settings.py
Isaackei/Handsfree
a647eb136526f7ce1b3f9004409ee13e572e48fc
[ "MIT" ]
null
null
null
Handsfree/settings/settings.py
Isaackei/Handsfree
a647eb136526f7ce1b3f9004409ee13e572e48fc
[ "MIT" ]
null
null
null
from middle_transfer import filename_list DRIVER = 'chromedriver.exe' URL = 'http://e-wbs.biz/' # URL = 'http://www.google.com/' # URL = "http://www.baidu.com" WEB_WAIT_TIME = 12 TOTAL_NUMBER_OF_REFRESH = 5 # OPEN_FILE_NAME = "WBS.xls" # OPEN_FILE_NAME = "D:/testing/apps/WBS208_1020_53_16.xls" OPEN_FILE_NAME = f...
22.142857
64
0.722581
76
465
4.118421
0.565789
0.153355
0.191693
0.14377
0.207668
0.121406
0
0
0
0
0
0.038835
0.113978
465
21
65
22.142857
0.720874
0.505376
0
0
0
0
0.205357
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
12224606b2ce429cbe18a564ccb562afcf2798b8
1,156
py
Python
get_files.py
jsfenfen/irs_527
40b9bfef3cd0b63d61d13240073127864a89b27d
[ "BSD-2-Clause" ]
2
2020-03-14T20:59:24.000Z
2020-06-02T17:03:51.000Z
get_files.py
dwillis/irs_527
40b9bfef3cd0b63d61d13240073127864a89b27d
[ "BSD-2-Clause" ]
null
null
null
get_files.py
dwillis/irs_527
40b9bfef3cd0b63d61d13240073127864a89b27d
[ "BSD-2-Clause" ]
2
2016-07-06T21:51:50.000Z
2020-06-02T17:03:54.000Z
from irs_configs import * import requests, zipfile DOWNLOAD_NEW_FILE = False # http://stackoverflow.com/a/16696317 def download_file(url, file_path): local_filename = file_path + "/" + url.split('/')[-1] # NOTE the stream=True parameter r = requests.get(url, stream=True) with open(local_filename, 'wb...
26.883721
65
0.644464
155
1,156
4.645161
0.535484
0.054167
0.041667
0
0
0
0
0
0
0
0
0.016037
0.24481
1,156
42
66
27.52381
0.808706
0.114187
0
0.064516
0
0
0.06778
0
0
0
0
0
0
0
null
null
0
0.064516
null
null
0.129032
0
0
0
null
0
0
0
0
0
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
122314636b1a16cee4cd6386dda815634fb9e9cc
305
py
Python
e2e/Tests/Consensus/HundredSix/HundredSixMeritRemovalsTest.py
rikublock/Meros
7a3ae9c78af388eb523bc8a2c840018fc058ef44
[ "CC0-1.0" ]
null
null
null
e2e/Tests/Consensus/HundredSix/HundredSixMeritRemovalsTest.py
rikublock/Meros
7a3ae9c78af388eb523bc8a2c840018fc058ef44
[ "CC0-1.0" ]
null
null
null
e2e/Tests/Consensus/HundredSix/HundredSixMeritRemovalsTest.py
rikublock/Meros
7a3ae9c78af388eb523bc8a2c840018fc058ef44
[ "CC0-1.0" ]
1
2021-02-08T23:46:35.000Z
2021-02-08T23:46:35.000Z
#https://github.com/MerosCrypto/Meros/issues/106. Specifically tests MeritRemovals and MeritRemoval VerificationPackets. #EmptyError Exception. from e2e.Tests.Errors import EmptyError #RPC class. from e2e.Meros.RPC import RPC def HundredSixMeritRemovalsTest( rpc: RPC ) -> None: raise EmptyError()
23.461538
120
0.796721
36
305
6.75
0.694444
0.057613
0
0
0
0
0
0
0
0
0
0.018519
0.114754
305
12
121
25.416667
0.881481
0.491803
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1226a8b15c2c050e8b41a40d7caf48d22ac27f0f
596
py
Python
exemplo_4/baseDeDados.py
RhuaYuri/treino-projeto_de_pesquisa
a24b0bb1870b2a2d0c4270b4c8a3c48a8ac167ca
[ "MIT" ]
null
null
null
exemplo_4/baseDeDados.py
RhuaYuri/treino-projeto_de_pesquisa
a24b0bb1870b2a2d0c4270b4c8a3c48a8ac167ca
[ "MIT" ]
null
null
null
exemplo_4/baseDeDados.py
RhuaYuri/treino-projeto_de_pesquisa
a24b0bb1870b2a2d0c4270b4c8a3c48a8ac167ca
[ "MIT" ]
null
null
null
from random import randint class BaseDeDados(): def __init__(self): self.bd = {'2090-2': 'Rafael', '9018-0': 'Thalles'}#para teste def abrirConta(self, nome): while True: n4 = randint(1000, 10000) tn = randint(0, 10) junto = str(n4) + '-' + str(tn) ...
28.380952
71
0.54698
75
596
4.24
0.546667
0.09434
0.050314
0.075472
0
0
0
0
0
0
0
0.0625
0.328859
596
20
72
29.8
0.7325
0.016779
0
0
0
0
0.044444
0
0
0
0
0
0
1
0.235294
false
0
0.058824
0
0.352941
0
0
0
0
null
0
0
0
0
0
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
122a01a88ff755c5d9e53c2e312c77ed85dff829
671
py
Python
sdc/crypto/encrypter.py
JamesGardiner/sdc-cryptography
e8e50595eefef7ed0bdf1b97abee98e60e9e6a10
[ "MIT" ]
3
2017-10-05T12:38:15.000Z
2019-07-05T11:01:21.000Z
sdc/crypto/encrypter.py
JamesGardiner/sdc-cryptography
e8e50595eefef7ed0bdf1b97abee98e60e9e6a10
[ "MIT" ]
29
2017-07-26T10:43:47.000Z
2021-04-30T12:53:42.000Z
sdc/crypto/encrypter.py
JamesGardiner/sdc-cryptography
e8e50595eefef7ed0bdf1b97abee98e60e9e6a10
[ "MIT" ]
3
2021-04-11T07:54:38.000Z
2021-04-29T13:46:30.000Z
from sdc.crypto.jwe_helper import JWEHelper from sdc.crypto.jwt_helper import JWTHelper def encrypt(json, key_store, key_purpose): """This encrypts the supplied json and returns a jwe token. :param str json: The json to be encrypted. :param key_store: The key store. :param str key_purpose: Context fo...
31.952381
76
0.746647
105
671
4.504762
0.361905
0.118393
0.069767
0.114165
0.287526
0.287526
0.186047
0.186047
0.186047
0.186047
0
0
0.168405
671
20
77
33.55
0.84767
0.298063
0
0
0
0
0.029345
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
123130e68da261a8e80669906bb13b53524376de
401
py
Python
src/Math2D.py
LukeMcCulloch/PyCFD
6720e6575e25f8c274ef591d6c215de90a740935
[ "MIT" ]
1
2020-07-04T15:42:15.000Z
2020-07-04T15:42:15.000Z
src/Math2D.py
LukeMcCulloch/PyCFD
6720e6575e25f8c274ef591d6c215de90a740935
[ "MIT" ]
null
null
null
src/Math2D.py
LukeMcCulloch/PyCFD
6720e6575e25f8c274ef591d6c215de90a740935
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Sun May 5 14:55:49 2019 @author: luke """ import numpy as np def Grad2D(u): """ 2D gradient of a scalar basis function style: """ ur = Dr*u us = Ds*u ux = np.multiply(rx,ur) + \ np.multiply(sx,us) uy = n...
16.04
35
0.508728
60
401
3.4
0.75
0.196078
0.117647
0
0
0
0
0
0
0
0
0.056604
0.339152
401
25
36
16.04
0.713208
0.107232
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.111111
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
1234ef2b87c055cb5645543dc96fdcf87eb0dc47
988
py
Python
face-recognition/dataset_creator.py
hasnat23/Blockchain-Voting-Sytem
8e41b9b19c737566093bf8e6dc8a7e882e3e4d27
[ "MIT" ]
1
2020-05-20T16:12:48.000Z
2020-05-20T16:12:48.000Z
face-recognition/dataset_creator.py
hasnat23/Blockchain-Voting-Sytem
8e41b9b19c737566093bf8e6dc8a7e882e3e4d27
[ "MIT" ]
3
2020-02-22T14:34:52.000Z
2020-11-25T18:54:23.000Z
face-recognition/dataset_creator.py
hasnat23/Blockchain-Voting-Sytem
8e41b9b19c737566093bf8e6dc8a7e882e3e4d27
[ "MIT" ]
null
null
null
import cv2, sys, json import numpy as np faceDetect = cv2.CascadeClassifier('C:\\xampp\\htdocs\\e-voting-with-blockchain\\face-recognition\\haarcascade_frontalface_default.xml') cam = cv2.VideoCapture(0) Id = sys.argv[1] # Id = '123456789' # Id = '999999999' i = 1 while (True): ret, img = cam.read() if r...
27.444444
169
0.565789
137
988
4.043796
0.525547
0.054152
0.043321
0.046931
0.173285
0.173285
0.173285
0.173285
0.173285
0
0
0.071429
0.263158
988
35
170
28.228571
0.68956
0.033401
0
0.08
0
0.08
0.20063
0.183824
0
0
0
0
0
0
null
null
0
0.08
null
null
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1241976916b682a23bfe2696e2a01d801612c806
6,220
py
Python
SystemTest/Test_Resources/2_Test1&2_DeviceC_Data_Logger_AWS.py
melabglasgow/Iot2
4c1ab3911f59ec7d1ece1d21e520254cd042e8d2
[ "Apache-2.0" ]
2
2018-03-23T12:57:55.000Z
2018-05-01T07:42:28.000Z
SystemTest/Test_Resources/2_Test1&2_DeviceC_Data_Logger_AWS.py
melabglasgow/Iot2
4c1ab3911f59ec7d1ece1d21e520254cd042e8d2
[ "Apache-2.0" ]
null
null
null
SystemTest/Test_Resources/2_Test1&2_DeviceC_Data_Logger_AWS.py
melabglasgow/Iot2
4c1ab3911f59ec7d1ece1d21e520254cd042e8d2
[ "Apache-2.0" ]
3
2018-06-05T15:32:45.000Z
2021-03-31T03:18:25.000Z
''' /* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "...
40.653595
657
0.61865
717
6,220
5.295676
0.457462
0.025283
0.031341
0.013432
0.047669
0
0
0
0
0
0
0.096946
0.094534
6,220
152
658
40.921053
0.577237
0.322669
0
0.025974
0
0
0.160468
0
0
0
0
0
0
0
null
null
0
0.12987
null
null
0.038961
0
0
0
null
0
0
0
0
0
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
12432a838a3d4f296d19e4d48e47baadc74d84b5
328
py
Python
dev/python/headerInfo.py
swharden/AbfSharp
381ee8ad48c72846d7cbe908fe669718b1c6d3a3
[ "MIT" ]
4
2021-08-24T04:29:34.000Z
2022-01-16T05:32:54.000Z
dev/python/headerInfo.py
swharden/AbfSharp
381ee8ad48c72846d7cbe908fe669718b1c6d3a3
[ "MIT" ]
6
2021-06-23T21:41:42.000Z
2021-06-30T00:58:58.000Z
dev/python/headerInfo.py
swharden/ABFsharp
381ee8ad48c72846d7cbe908fe669718b1c6d3a3
[ "MIT" ]
1
2022-03-25T02:54:10.000Z
2022-03-25T02:54:10.000Z
import pathlib import pyabf if __name__ == "__main__": abfFolder = pathlib.Path(__file__).parent.parent.joinpath("abfs") for abfFilePath in abfFolder.glob("*.abf"): abf = pyabf.ABF(str(abfFilePath)) #print(abf.abfID, abf.abfDateTime) print(f'[TestCase("{abf.abfID}.abf", "{abf.abfDateTim...
32.8
69
0.661585
39
328
5.25641
0.589744
0.058537
0.107317
0
0
0
0
0
0
0
0
0
0.167683
328
9
70
36.444444
0.750916
0.10061
0
0
0
0
0.227891
0.166667
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
124e93dbfa842cda07e4c1883a4b54ce998c4f1b
2,698
py
Python
tests/test_eval/test_eval.py
pepastach/ochrona-cli
47c8e9268a3664bcdba06128b86ca739da5ef87e
[ "MIT" ]
39
2020-01-12T20:24:10.000Z
2022-03-21T15:39:20.000Z
tests/test_eval/test_eval.py
pepastach/ochrona-cli
47c8e9268a3664bcdba06128b86ca739da5ef87e
[ "MIT" ]
37
2020-02-22T19:20:59.000Z
2022-03-07T14:33:02.000Z
tests/test_eval/test_eval.py
pepastach/ochrona-cli
47c8e9268a3664bcdba06128b86ca739da5ef87e
[ "MIT" ]
2
2021-06-27T00:40:29.000Z
2021-12-21T11:06:19.000Z
import sys import pytest import ochrona.eval.eval as e from ochrona.model.dependency_set import DependencySet class MockLogger: def __init__(self): self._debug = [] self._info = [] self._warn = [] self._error = [] def debug(self, msg): self._debug.append(msg) de...
36.459459
155
0.637509
328
2,698
5.094512
0.228659
0.086176
0.028725
0.033513
0.613405
0.587074
0.566727
0.511071
0.511071
0.511071
0
0.02488
0.225352
2,698
73
156
36.958904
0.774641
0.013714
0
0.368421
0
0
0.109263
0.00794
0
0
0
0
0.491228
1
0.175439
false
0
0.070175
0
0.280702
0
0
0
0
null
0
0
0
0
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
124fc6a41a796266f3b67240f4848b114a64ea74
1,761
py
Python
sdk_k64f/boards/frdmk64f/multiprocessor_examples/erpc_common/erpc_matrix_multiply/service/erpc_matrix_multiply/client.py
Sir-Branch/k64f-starter-template
f8959fd185f090363d180d69f84c2727e37cbeeb
[ "MIT" ]
1
2020-08-23T20:24:19.000Z
2020-08-23T20:24:19.000Z
sdk_k64f/boards/frdmk64f/multiprocessor_examples/erpc_common/erpc_matrix_multiply/service/erpc_matrix_multiply/client.py
Sir-Branch/xxxx-starter-template
f8959fd185f090363d180d69f84c2727e37cbeeb
[ "MIT" ]
1
2020-08-24T00:41:48.000Z
2020-08-24T02:17:44.000Z
sdk_k64f/boards/frdmk64f/multiprocessor_examples/erpc_common/erpc_matrix_multiply/service/erpc_matrix_multiply/client.py
Sir-Branch/xxxx-starter-template
f8959fd185f090363d180d69f84c2727e37cbeeb
[ "MIT" ]
null
null
null
# Copyright (c) 2014-2016, Freescale Semiconductor, Inc. # Copyright 2016 NXP # All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # # Generated by erpcgen 1.7.3 on Mon Sep 23 13:00:45 2019. # # AUTOGENERATED - DO NOT EDIT # import erpc from . import common, interface # Client for MatrixMultiplyService c...
28.403226
96
0.633163
196
1,761
5.489796
0.520408
0.04461
0.019517
0.039033
0.072491
0.048327
0.048327
0.048327
0
0
0
0.047087
0.288472
1,761
61
97
28.868852
0.811652
0.183419
0
0.121212
1
0
0.049296
0
0
0
0
0
0.030303
1
0.060606
false
0
0.060606
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
12500f4aa60a27aed31cc81390643814097cc2ae
6,705
py
Python
day24.py
jlucangelio/adventofcode-2018
5e1061080a1cba444febcb4a1853ce34f963b672
[ "MIT" ]
null
null
null
day24.py
jlucangelio/adventofcode-2018
5e1061080a1cba444febcb4a1853ce34f963b672
[ "MIT" ]
null
null
null
day24.py
jlucangelio/adventofcode-2018
5e1061080a1cba444febcb4a1853ce34f963b672
[ "MIT" ]
null
null
null
import copy import re IMMUNE = 0 INFECTION = 1 SIDE = { "immune": IMMUNE, "infection": INFECTION } SIDE_NAME = { IMMUNE: "immune", INFECTION: "infection" } FIRE = 0 BLUDGEONING = 1 COLD = 2 RADIATION = 3 SLASHING = 4 ATTACK_TYPE = { "fire": FIRE, "bludgeoning": BLUDGEONING, "cold": COLD...
33.693467
259
0.594929
849
6,705
4.60424
0.161366
0.030698
0.016884
0.019954
0.20133
0.141468
0.141468
0.130468
0.107956
0.107956
0
0.014807
0.284862
6,705
198
260
33.863636
0.800417
0.162416
0
0.037594
0
0.007519
0.087399
0.016265
0
0
0
0
0
0
null
null
0
0.015038
null
null
0.030075
0
0
0
null
0
0
0
0
0
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
125184fba85c2398d7d1494f0c1a0cf7e1865a69
7,920
py
Python
ctm_saas_client/models/user_header.py
tadinve/ctm_python_client
de44e5012214ec42bb99b7f9b4ebc5394cd14328
[ "BSD-3-Clause" ]
null
null
null
ctm_saas_client/models/user_header.py
tadinve/ctm_python_client
de44e5012214ec42bb99b7f9b4ebc5394cd14328
[ "BSD-3-Clause" ]
null
null
null
ctm_saas_client/models/user_header.py
tadinve/ctm_python_client
de44e5012214ec42bb99b7f9b4ebc5394cd14328
[ "BSD-3-Clause" ]
null
null
null
# coding: utf-8 """ Control-M Services Provides access to BMC Control-M Services # noqa: E501 OpenAPI spec version: 9.20.30 Contact: customer_support@bmc.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from ctm_saas_cl...
26.938776
165
0.569949
927
7,920
4.737864
0.147789
0.069217
0.102004
0.095628
0.447632
0.36316
0.298725
0.20765
0.094262
0.038251
0
0.023954
0.335859
7,920
293
166
27.030717
0.811027
0.350253
0
0.087302
1
0
0.05124
0
0
0
0
0
0
1
0.15873
false
0
0.031746
0
0.325397
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
12599dfba479ef569d86524ae5c9399fb8f46f32
1,944
py
Python
NN/Training.py
ayvak/PDP-Plexus
672720260afb197735d872f2c86e8addfcd1e25b
[ "MIT" ]
null
null
null
NN/Training.py
ayvak/PDP-Plexus
672720260afb197735d872f2c86e8addfcd1e25b
[ "MIT" ]
null
null
null
NN/Training.py
ayvak/PDP-Plexus
672720260afb197735d872f2c86e8addfcd1e25b
[ "MIT" ]
4
2021-02-28T10:39:38.000Z
2021-03-14T06:47:55.000Z
from tensorflow.keras.models import Sequential from tensorflow.keras.datasets import mnist #import matplotlib.pyplot as plt from tensorflow.keras.layers import Dense from tensorflow.keras.layers import Flatten from tensorflow.keras.utils import to_categorical import numpy as np from tensorflow.keras.layer...
15.552
116
0.72428
278
1,944
5.003597
0.395683
0.100647
0.136592
0.089863
0.275341
0.100647
0.100647
0.100647
0
0
0
0.045783
0.146091
1,944
124
117
15.677419
0.792169
0.162551
0
0.058824
0
0
0.065015
0.014861
0
0
0
0
0
1
0
false
0
0.323529
0
0.323529
0
0
0
0
null
0
0
0
0
0
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
12615c29574689318b2d70b95e452e6d4f5f58b5
6,651
py
Python
iris_mt_scratch/sandbox/transfer_function/transfer_function.py
simpeg-research/iris-mt-scratch
ea458f253071db513fd0731118a2a7452a725944
[ "MIT" ]
null
null
null
iris_mt_scratch/sandbox/transfer_function/transfer_function.py
simpeg-research/iris-mt-scratch
ea458f253071db513fd0731118a2a7452a725944
[ "MIT" ]
19
2020-12-23T17:55:48.000Z
2021-06-24T21:01:05.000Z
iris_mt_scratch/sandbox/transfer_function/transfer_function.py
simpeg-research/iris-mt-scratch
ea458f253071db513fd0731118a2a7452a725944
[ "MIT" ]
null
null
null
""" revamping of TTF.m --> TTF.py This uses xarray for the transfer function This tracks the input_channels, output_channels, At initialization we will know: -input channels (iterable of channel objects) -output_channels (iterable of channel objects) -the relevant frequency bands xrd = xr.DataArray(windowed_array, di...
35.190476
91
0.634942
876
6,651
4.66895
0.317352
0.037653
0.040342
0.030807
0.16577
0.117115
0.08802
0.044254
0.039609
0.020049
0
0.005474
0.285822
6,651
188
92
35.37766
0.855579
0.43813
0
0.08642
0
0
0.055281
0
0
0
0
0.021277
0
1
0.160494
false
0
0.037037
0.08642
0.320988
0.049383
0
0
0
null
0
0
0
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
1265d51ccd445cb517c67a1b888802c8396933c4
406
py
Python
components/studio/projects/migrations/0018_auto_20210308_2132.py
aitmlouk/stackn
c8029394a15b03796a4864938f9db251b65c7354
[ "Apache-2.0" ]
25
2020-05-08T22:24:54.000Z
2022-03-11T18:16:58.000Z
components/studio/projects/migrations/0018_auto_20210308_2132.py
aitmlouk/stackn
c8029394a15b03796a4864938f9db251b65c7354
[ "Apache-2.0" ]
75
2020-05-08T22:15:59.000Z
2021-11-22T10:00:04.000Z
components/studio/projects/migrations/0018_auto_20210308_2132.py
aitmlouk/stackn
c8029394a15b03796a4864938f9db251b65c7354
[ "Apache-2.0" ]
12
2020-11-04T13:09:46.000Z
2022-03-14T16:22:40.000Z
# Generated by Django 3.1.6 on 2021-03-08 21:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('projects', '0017_auto_20210308_1934'), ] operations = [ migrations.AlterField( model_name='projecttemplate', name='t...
21.368421
58
0.610837
43
406
5.674419
0.837209
0
0
0
0
0
0
0
0
0
0
0.105442
0.275862
406
18
59
22.555556
0.72449
0.110837
0
0
1
0
0.150418
0.064067
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
12660f5e653ce665c48a2fd417c8ae4c13d179b7
4,160
py
Python
preprocess.py
cuihaojie-plus/HuaweiModelTransfer
03f2ce0c5de45a4bffc9a126dcd700ba76a1cb68
[ "Apache-2.0" ]
null
null
null
preprocess.py
cuihaojie-plus/HuaweiModelTransfer
03f2ce0c5de45a4bffc9a126dcd700ba76a1cb68
[ "Apache-2.0" ]
null
null
null
preprocess.py
cuihaojie-plus/HuaweiModelTransfer
03f2ce0c5de45a4bffc9a126dcd700ba76a1cb68
[ "Apache-2.0" ]
3
2021-11-11T12:36:57.000Z
2021-12-12T07:59:19.000Z
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
42.44898
99
0.642788
560
4,160
4.646429
0.3
0.043044
0.042275
0.058801
0.551115
0.487317
0.395849
0.395849
0.319754
0.319754
0
0.019928
0.203846
4,160
98
100
42.44898
0.7657
0.476923
0
0.177778
0
0
0.143665
0.021667
0
0
0
0
0
1
0.022222
false
0.088889
0.088889
0
0.111111
0.044444
0
0
0
null
0
0
0
0
0
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
89c29b557b0f692b50a1e26f233da156c3fdf2e8
1,983
py
Python
modules/buffering/source.py
Infosecurity-LLC/unicon_v3
12009016e74328f7f90be84e334659b80240266e
[ "Apache-2.0" ]
1
2022-02-04T10:01:45.000Z
2022-02-04T10:01:45.000Z
modules/buffering/source.py
Infosecurity-LLC/unicon_v3
12009016e74328f7f90be84e334659b80240266e
[ "Apache-2.0" ]
null
null
null
modules/buffering/source.py
Infosecurity-LLC/unicon_v3
12009016e74328f7f90be84e334659b80240266e
[ "Apache-2.0" ]
1
2022-02-04T10:01:46.000Z
2022-02-04T10:01:46.000Z
import json import logging from typing import Dict from pika import BasicProperties from pika.exceptions import AMQPError from retry import retry from modules.buffering.amqp import create_rmq_connection, prepare_producer_channel from modules.models import UniconEvent logger = logging.getLogger('unicon') class RMQP...
33.610169
99
0.683308
231
1,983
5.679654
0.329004
0.102896
0.08689
0.021341
0.113567
0.089939
0.044207
0
0
0
0
0.004596
0.231972
1,983
58
100
34.189655
0.856861
0.186586
0
0
0
0
0.051332
0
0
0
0
0.017241
0
1
0.117647
false
0
0.235294
0
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
89c4d7be8ad7e6f6d855439104a4df9e36a6829e
262
py
Python
paypal/standard/ipn/urls.py
wangvictor2012/liuwei
0a06f8fd56d78162f81f1e7e7def7bfdeb4472e1
[ "BSD-3-Clause" ]
null
null
null
paypal/standard/ipn/urls.py
wangvictor2012/liuwei
0a06f8fd56d78162f81f1e7e7def7bfdeb4472e1
[ "BSD-3-Clause" ]
null
null
null
paypal/standard/ipn/urls.py
wangvictor2012/liuwei
0a06f8fd56d78162f81f1e7e7def7bfdeb4472e1
[ "BSD-3-Clause" ]
null
null
null
from django.conf.urls import patterns, url urlpatterns = patterns('paypal.standard.ipn.views', url(r'^ipn/', 'ipn', name="paypalstd_ipn"), url(r'^testbuy/', 'paypaltest_tpl_store_buy', name="paypalstd_test_buy"), )
37.428571
96
0.610687
31
262
4.967742
0.677419
0.051948
0
0
0
0
0
0
0
0
0
0
0.236641
262
6
97
43.666667
0.77
0
0
0
0
0
0.370229
0.187023
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
89c6ced0b1443f58eaeadd2f76c578146ced6b37
2,957
py
Python
qiskit/opflow/evolutions/trotterizations/qdrift.py
Roshan-Thomas/qiskit-terra
77219b5c7b7146b1545c5e5190739b36f4064b2f
[ "Apache-2.0" ]
1,456
2017-08-05T16:33:05.000Z
2018-06-05T04:15:35.000Z
qiskit/opflow/evolutions/trotterizations/qdrift.py
Roshan-Thomas/qiskit-terra
77219b5c7b7146b1545c5e5190739b36f4064b2f
[ "Apache-2.0" ]
365
2017-08-04T06:09:16.000Z
2018-06-05T08:33:37.000Z
qiskit/opflow/evolutions/trotterizations/qdrift.py
Roshan-Thomas/qiskit-terra
77219b5c7b7146b1545c5e5190739b36f4064b2f
[ "Apache-2.0" ]
463
2017-08-05T04:10:01.000Z
2018-06-05T06:43:21.000Z
# This code is part of Qiskit. # # (C) Copyright IBM 2020, 2021. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivat...
36.9625
97
0.692594
377
2,957
5.350133
0.469496
0.034705
0.047595
0.019831
0.120972
0.051562
0.051562
0
0
0
0
0.010951
0.227934
2,957
79
98
37.43038
0.872536
0.331079
0
0.052632
0
0
0.074502
0
0
0
0
0.012658
0
1
0.052632
false
0
0.236842
0
0.342105
0
0
0
0
null
0
0
0
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
89cf600a920a923b2e00804dce3bb22a14585fa2
18,248
py
Python
tpdatasrc/tpgamefiles/scr/tpModifiers/arcane_archer.py
dolio/TemplePlus
37446bb3d1fcbf460e611a4fcb2caff167e9ac08
[ "MIT" ]
69
2015-05-05T14:09:25.000Z
2022-02-15T06:13:04.000Z
tpdatasrc/tpgamefiles/scr/tpModifiers/arcane_archer.py
dolio/TemplePlus
37446bb3d1fcbf460e611a4fcb2caff167e9ac08
[ "MIT" ]
457
2015-05-01T22:07:45.000Z
2022-03-31T02:19:10.000Z
tpdatasrc/tpgamefiles/scr/tpModifiers/arcane_archer.py
dolio/TemplePlus
37446bb3d1fcbf460e611a4fcb2caff167e9ac08
[ "MIT" ]
25
2016-02-04T21:19:53.000Z
2021-11-15T23:14:51.000Z
from templeplus.pymod import PythonModifier from toee import * import tpdp import char_class_utils import tpactions ################################################### def GetConditionName(): return "Arcane Archer" #def GetSpellCasterConditionName(): # return "Arcane Archer Spellcasting" print "Registering " + Get...
35.57115
136
0.783757
2,565
18,248
5.290058
0.149318
0.038912
0.028005
0.037143
0.531579
0.462967
0.419633
0.393839
0.378068
0.355443
0
0.025359
0.113985
18,248
513
137
35.57115
0.813892
0.096668
0
0.478142
0
0
0.034644
0
0
0
0
0.001949
0
0
null
null
0
0.013661
null
null
0.008197
0
0
0
null
0
0
0
0
0
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
89d55db6b16f5750ca140daedf85a0a4ebe7fa26
848
py
Python
p2.py
fabriziofranco/Laboratorio7.2
e2919a4940d30066e730b56dc3b27d580db3cf18
[ "MIT" ]
null
null
null
p2.py
fabriziofranco/Laboratorio7.2
e2919a4940d30066e730b56dc3b27d580db3cf18
[ "MIT" ]
null
null
null
p2.py
fabriziofranco/Laboratorio7.2
e2919a4940d30066e730b56dc3b27d580db3cf18
[ "MIT" ]
null
null
null
import numpy as np def score1(q, doc): return np.dot(q, doc) def score2(q, doc): return np.dot(q, doc) / (np.linalg.norm(q) * np.linalg.norm(doc)) def retrieval(collection, query, func_score): result = [] for i in range(len(collection)): sim = func_score(query, collection[i]) ...
32.615385
85
0.557783
154
848
3.058442
0.38961
0.059448
0.044586
0.03397
0.093418
0.080679
0.080679
0
0
0
0
0.172214
0.185142
848
26
86
32.615385
0.509407
0.057783
0
0
0
0
0
0
0
0
0
0
0
1
0.157895
false
0
0.052632
0.105263
0.368421
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
89d84ff3d0add27c154622ec0e7aaf43f7d65150
805
py
Python
src/waldur_digitalocean/cost_tracking.py
opennode/nodeconductor-digitalocean
4a0f0dc8920c3f066ee8561db54e94e363d07cad
[ "MIT" ]
1
2017-08-16T07:25:53.000Z
2017-08-16T07:25:53.000Z
src/waldur_digitalocean/cost_tracking.py
opennode/nodeconductor-digitalocean
4a0f0dc8920c3f066ee8561db54e94e363d07cad
[ "MIT" ]
null
null
null
src/waldur_digitalocean/cost_tracking.py
opennode/nodeconductor-digitalocean
4a0f0dc8920c3f066ee8561db54e94e363d07cad
[ "MIT" ]
2
2017-09-24T03:10:31.000Z
2018-08-12T07:44:31.000Z
from waldur_core.cost_tracking import CostTrackingRegister, CostTrackingStrategy, ConsumableItem from . import models class DropletStrategy(CostTrackingStrategy): resource_class = models.Droplet class Types(object): FLAVOR = 'flavor' @classmethod def get_consumable_items(cls): retur...
30.961538
99
0.729193
87
805
6.609195
0.517241
0.041739
0.05913
0.086957
0.135652
0.135652
0.135652
0
0
0
0
0.001529
0.187578
805
25
100
32.2
0.877676
0
0
0.117647
0
0
0.007453
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0.058824
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
89ddc297d84d017596e47db500f3dc94c5b6f5ac
1,969
py
Python
src/fixed_ratio/fixed_ratio.py
mdberkey/lever-tasks
77a18113464308bdbe53a7219c976ef1ea499d88
[ "MIT" ]
null
null
null
src/fixed_ratio/fixed_ratio.py
mdberkey/lever-tasks
77a18113464308bdbe53a7219c976ef1ea499d88
[ "MIT" ]
3
2021-07-22T19:00:12.000Z
2021-08-10T17:57:05.000Z
src/fixed_ratio/fixed_ratio.py
mdberkey/lever-tasks
77a18113464308bdbe53a7219c976ef1ea499d88
[ "MIT" ]
null
null
null
from task_helper import TaskHelper import time import pandas as pd def main(testing=True): output_df = pd.DataFrame.from_dict( { 'response': [], 'duration': [], 'IRT': [], 'cumulative_time': [], 'TO_interval': [], 'ITI': [], ...
32.816667
105
0.55612
210
1,969
4.966667
0.342857
0.115053
0.051774
0.069032
0.207095
0.168744
0
0
0
0
0
0.006721
0.319959
1,969
59
106
33.372881
0.772218
0.012697
0
0
0
0
0.11592
0
0
0
0
0.016949
0
1
0.020408
false
0
0.061224
0
0.081633
0.020408
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
89e076731ccbca8f9e34ac0af9d0e509483488e2
9,251
py
Python
RUNS/MultiNet_ICCV/road/objective.py
shobi22/MultiNet
8d9373d3dae82656e37d448ab75c738a9fe603a3
[ "MIT" ]
null
null
null
RUNS/MultiNet_ICCV/road/objective.py
shobi22/MultiNet
8d9373d3dae82656e37d448ab75c738a9fe603a3
[ "MIT" ]
null
null
null
RUNS/MultiNet_ICCV/road/objective.py
shobi22/MultiNet
8d9373d3dae82656e37d448ab75c738a9fe603a3
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Trains, evaluates and saves the model network using a queue.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import numpy as np import scipy as scp import random import tensorflow as tf def _...
33.518116
80
0.628689
1,203
9,251
4.637573
0.236076
0.010038
0.019358
0.024736
0.157017
0.098584
0.09249
0.064707
0.057716
0.049471
0
0.01316
0.260729
9,251
275
81
33.64
0.802603
0
0
0.097902
0
0
0.07205
0
0
0
0
0
0
0
null
null
0
0.055944
null
null
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
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
89f06365db424aadf513ca9fd653783795f3c759
2,040
py
Python
minimum_inertion_to_make_palindrome.py
pranavdave893/Leetcode
1f30ea37af7b60585d168b15d9397143f53c92a1
[ "MIT" ]
null
null
null
minimum_inertion_to_make_palindrome.py
pranavdave893/Leetcode
1f30ea37af7b60585d168b15d9397143f53c92a1
[ "MIT" ]
null
null
null
minimum_inertion_to_make_palindrome.py
pranavdave893/Leetcode
1f30ea37af7b60585d168b15d9397143f53c92a1
[ "MIT" ]
null
null
null
""" Recursion : https://leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome/discuss/723879/top-down-approch-dynamic-programming-with-explanation """ class Solution(object): def shortestPalindrome(self, s): if not s: return 0 def makePalindrome_recursion(new...
34.576271
162
0.513725
266
2,040
3.699248
0.225564
0.097561
0.064024
0.117886
0.441057
0.341463
0.182927
0.105691
0.105691
0.046748
0
0.028059
0.371078
2,040
58
163
35.172414
0.738893
0
0
0.189189
0
0
0.00165
0
0
0
0
0
0
0
null
null
0
0
null
null
0.054054
0
0
0
null
0
0
0
0
0
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
89f528f5e531a05285acd01d8964cbea972a2353
182
py
Python
Notes/Euler12 Factors.py
cRohda/Comp-Sci
07e36fdcca242f5aa4f3e11440e9c77616973031
[ "Apache-2.0" ]
null
null
null
Notes/Euler12 Factors.py
cRohda/Comp-Sci
07e36fdcca242f5aa4f3e11440e9c77616973031
[ "Apache-2.0" ]
null
null
null
Notes/Euler12 Factors.py
cRohda/Comp-Sci
07e36fdcca242f5aa4f3e11440e9c77616973031
[ "Apache-2.0" ]
null
null
null
x = int(input('Enter a number: ')) index = 0 for i in range(1, int(x/2) +1): if x % i == 0: print(i) index += 1 print(x) print(f'There were {index + 1} divisors')
22.75
41
0.532967
34
182
2.852941
0.588235
0.123711
0
0
0
0
0
0
0
0
0
0.053435
0.28022
182
8
41
22.75
0.687023
0
0
0
0
0
0.256831
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
89fba5d81a430d809f1e1af210399e2a06375596
9,120
py
Python
sdk/python/pulumi_github/branch_protection.py
timmyers/pulumi-github
f45002226e4e9677579a0541817fbaa0d9c20326
[ "ECL-2.0", "Apache-2.0" ]
1
2020-04-16T22:17:33.000Z
2020-04-16T22:17:33.000Z
sdk/python/pulumi_github/branch_protection.py
timmyers/pulumi-github
f45002226e4e9677579a0541817fbaa0d9c20326
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_github/branch_protection.py
timmyers/pulumi-github
f45002226e4e9677579a0541817fbaa0d9c20326
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import json import warnings import pulumi import pulumi.runtime from typing import Union from . import utilities, tables class BranchP...
48.510638
300
0.680154
1,026
9,120
5.804094
0.176413
0.070193
0.060453
0.061125
0.667842
0.647187
0.631738
0.606213
0.5733
0.5733
0
0.000142
0.225439
9,120
187
301
48.770053
0.842865
0.439803
0
0.030303
1
0
0.167861
0.052922
0
0
0
0
0
1
0.060606
false
0.015152
0.090909
0.030303
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
89fc081f0998de19103f57e408eeafc764b0e5ad
2,607
py
Python
python-pscheduler/pscheduler/pscheduler/numericrange.py
krihal/pscheduler
e69e0357797d88d290c78b92b1d99048e73a63e8
[ "Apache-2.0" ]
47
2016-09-28T14:19:10.000Z
2022-03-21T13:26:47.000Z
python-pscheduler/pscheduler/pscheduler/numericrange.py
krihal/pscheduler
e69e0357797d88d290c78b92b1d99048e73a63e8
[ "Apache-2.0" ]
993
2016-07-07T19:30:32.000Z
2022-03-21T10:25:52.000Z
python-pscheduler/pscheduler/pscheduler/numericrange.py
mfeit-internet2/pscheduler-dev
d2cd4065a6fce88628b0ca63edc7a69f2672dad2
[ "Apache-2.0" ]
36
2016-09-15T09:39:45.000Z
2021-06-23T15:05:13.000Z
""" Range of numeric values """ from .jsonval import * from .psjson import * from .sinumber import * class NumericRange(object): "Range of numbers" def __init__(self, nrange): """Construct a range from a JSON NumericRange.""" # TODO: Would be nice if this class could treat missing #...
26.876289
87
0.534331
293
2,607
4.627986
0.368601
0.033186
0.022124
0.029499
0.038348
0
0
0
0
0
0
0.010651
0.351745
2,607
96
88
27.15625
0.791716
0.199847
0
0.083333
0
0
0.114522
0
0
0
0
0.010417
0
1
0.05
false
0
0.05
0
0.166667
0.05
0
0
0
null
0
0
0
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
d60280761a1f02912870d9179780a5379fce0c70
2,549
py
Python
models/messaging.py
awesome-archive/Wechat-Admin
6970ff4793bb57a864818011c3187370127fd0f9
[ "MIT" ]
null
null
null
models/messaging.py
awesome-archive/Wechat-Admin
6970ff4793bb57a864818011c3187370127fd0f9
[ "MIT" ]
null
null
null
models/messaging.py
awesome-archive/Wechat-Admin
6970ff4793bb57a864818011c3187370127fd0f9
[ "MIT" ]
null
null
null
from redis import Redis from sqlalchemy.ext.hybrid import hybrid_property from ext import db from .mixin import BaseMixin from .core import User, Group, MP from config import REDIS_URL from libs.consts import ID_TO_TYPE_MAP, MP as _MP from libs.utils import cached_hybrid_property NOTIFICATION_KEY = 'notification:{rec...
29.298851
79
0.669674
360
2,549
4.516667
0.244444
0.063961
0.079951
0.04428
0.268758
0.170972
0.076261
0.076261
0
0
0
0.007515
0.216948
2,549
86
80
29.639535
0.807114
0
0
0.161765
0
0
0.031777
0.0102
0
0
0
0
0
1
0.161765
false
0
0.117647
0.073529
0.691176
0
0
0
0
null
0
0
0
0
0
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
d60371004b82f03329e9f1556349961126b29a8b
999
py
Python
src/main.py
The-Automated-Centipede/varsagodvannen
daf2226600126019158248a0cf46a3b716f852d9
[ "MIT" ]
null
null
null
src/main.py
The-Automated-Centipede/varsagodvannen
daf2226600126019158248a0cf46a3b716f852d9
[ "MIT" ]
null
null
null
src/main.py
The-Automated-Centipede/varsagodvannen
daf2226600126019158248a0cf46a3b716f852d9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import tweepy, random def main(): CONSUMER_KEY = '' CONSUMER_SECRET = '' ACCESS_KEY = '' ACCESS_SECRET = '' auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET) auth.set_access_token(ACCESS_KEY, ACCESS_SECRET) api = tweepy.API(auth) tack_tweets = api.searc...
29.382353
116
0.605606
117
999
4.803419
0.452991
0.128114
0.128114
0.088968
0
0
0
0
0
0
0
0.004115
0.27027
999
34
117
29.382353
0.766804
0.021021
0
0
0
0
0.111566
0
0
0
0
0
0
0
null
null
0
0.037037
null
null
0.074074
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d60bbfcbfac71a5b70323981415b43cc8cc432ea
6,206
py
Python
server/facepp.py
obodroid/openface
39866481103fd405fa59bd47488f4a56070b0eac
[ "Apache-2.0" ]
null
null
null
server/facepp.py
obodroid/openface
39866481103fd405fa59bd47488f4a56070b0eac
[ "Apache-2.0" ]
null
null
null
server/facepp.py
obodroid/openface
39866481103fd405fa59bd47488f4a56070b0eac
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python2 # # Copyright 2015-2016 Carnegie Mellon University # Edited 2018 Obodroid Corporation by Lertlove # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apa...
39.278481
135
0.563165
673
6,206
5.138187
0.32838
0.023135
0.020821
0.015038
0.15963
0.15963
0.072874
0.072874
0.072874
0.072874
0
0.025817
0.319691
6,206
157
136
39.528662
0.793226
0.257815
0
0.06
0
0
0.126974
0.020614
0
0
0
0
0
0
null
null
0.01
0.03
null
null
0.01
0
0
0
null
0
0
0
0
0
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
d60bea88ab917cda65ab7233694781505ffc7336
1,139
py
Python
testcases/elichika_tests/node/Convolution2D.py
vermashresth/chainer-compiler
5f5ad365d14398d6ae0214fa012eb10360db8e7e
[ "MIT" ]
116
2019-01-25T03:54:44.000Z
2022-03-08T00:11:14.000Z
testcases/elichika_tests/node/Convolution2D.py
vermashresth/chainer-compiler
5f5ad365d14398d6ae0214fa012eb10360db8e7e
[ "MIT" ]
431
2019-01-25T10:18:44.000Z
2020-06-17T05:28:55.000Z
testcases/elichika_tests/node/Convolution2D.py
vermashresth/chainer-compiler
5f5ad365d14398d6ae0214fa012eb10360db8e7e
[ "MIT" ]
26
2019-01-25T07:21:09.000Z
2021-11-26T04:24:35.000Z
# coding: utf-8 import chainer import chainer.links as L from chainer import serializers class A(chainer.Chain): def __init__(self): super(A, self).__init__() with self.init_scope(): # TODO Add more tests self.l1 = L.Convolution2D(None, 6, (5, 7), stride=(2, 3)) def f...
22.78
91
0.608428
148
1,139
4.459459
0.445946
0.048485
0.113636
0.057576
0.348485
0.257576
0.09697
0.09697
0.09697
0.09697
0
0.039954
0.230904
1,139
49
92
23.244898
0.71347
0.063213
0
0.333333
0
0
0.036689
0
0
0
0
0.020408
0
1
0.166667
false
0
0.166667
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d611bdb5cc155233f6815cade3f3ca68f1f9463f
13,644
py
Python
projects/ipalm/ipalm/material_head.py
Hartvi/detectron2
d8999c5d4e0b398de90821d42b57f9558151e275
[ "Apache-2.0" ]
null
null
null
projects/ipalm/ipalm/material_head.py
Hartvi/detectron2
d8999c5d4e0b398de90821d42b57f9558151e275
[ "Apache-2.0" ]
null
null
null
projects/ipalm/ipalm/material_head.py
Hartvi/detectron2
d8999c5d4e0b398de90821d42b57f9558151e275
[ "Apache-2.0" ]
1
2021-11-22T12:45:07.000Z
2021-11-22T12:45:07.000Z
# Copyright (c) Facebook, Inc. and its affiliates. from typing import List import fvcore.nn.weight_init as weight_init import torch from torch import nn from torch.nn import functional as F from detectron2.config import configurable from detectron2.layers import Conv2d, ConvTranspose2d, ShapeSpec, cat, get_norm from ...
47.873684
183
0.701187
1,844
13,644
4.958243
0.201193
0.045937
0.049218
0.01575
0.290167
0.217215
0.168654
0.15356
0.131685
0.090999
0
0.009874
0.22061
13,644
284
184
48.042254
0.849915
0.368514
0
0.10828
0
0
0.043267
0.01264
0
0
0
0.014085
0.012739
1
0.044586
false
0
0.146497
0
0.242038
0.006369
0
0
0
null
0
0
0
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
d611c9cbeb17e581c3fb4670d04126a4f0757f05
563
py
Python
ex038.py
rafaelclemes81/Python
0e685b4e528a29bb23ecf11c9ccdbae8730b3ac3
[ "MIT" ]
null
null
null
ex038.py
rafaelclemes81/Python
0e685b4e528a29bb23ecf11c9ccdbae8730b3ac3
[ "MIT" ]
null
null
null
ex038.py
rafaelclemes81/Python
0e685b4e528a29bb23ecf11c9ccdbae8730b3ac3
[ "MIT" ]
null
null
null
"""038 - ESCREVA UM PROGRAMA QUE LEIA DOIS NÚMEROS INTEIROS E COMPARE-OS: MOSTRANDO NA TELA UMA MENSAGEM: - O PRIMEIRO VALOR É MAIOR - O SEGUNDO VALOR É MAIOR - NÃO EXISTE VALOR MAIOR, OS DOIS SÃO IGUAIS""" print('*' * 10, ' DESAFIO 038 ', '*' * 10) n1 = int(input('Informe o primeiro número: ')) n2 = int(input('Inf...
40.214286
73
0.676732
89
563
4.280899
0.47191
0.070866
0.057743
0.08399
0.146982
0.146982
0
0
0
0
0
0.039474
0.190053
563
14
74
40.214286
0.796053
0.35524
0
0
0
0
0.542373
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
0
0
0
0
0
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
d61246679f7b78bbcf15862ad86dd89ab508e1ef
1,538
py
Python
vyroute/basic_function/DeleteRoute.py
Hochikong/vyroute
d0c05cac70aabe6c347b44a0c69c3fab5cb40f96
[ "MIT" ]
8
2016-05-26T13:13:37.000Z
2018-06-29T03:01:34.000Z
vyroute/basic_function/DeleteRoute.py
Hochikong/vyroute
d0c05cac70aabe6c347b44a0c69c3fab5cb40f96
[ "MIT" ]
null
null
null
vyroute/basic_function/DeleteRoute.py
Hochikong/vyroute
d0c05cac70aabe6c347b44a0c69c3fab5cb40f96
[ "MIT" ]
3
2019-04-10T00:48:45.000Z
2020-06-08T06:09:17.000Z
# Copyright (c) 2016 Hochikong from Exscript.protocols import SSH2 from Exscript import Account def deleteroute(obj, data): """This method provide a router configuration delete function Parameter data example: {'config':'rip'/'static'/'ospf'/'all' } WARNING! When you use this function,please...
36.619048
101
0.645644
177
1,538
5.542373
0.418079
0.036697
0.097859
0.122324
0.238532
0.134557
0.134557
0
0
0
0
0.004329
0.249025
1,538
42
102
36.619048
0.845022
0.018205
0
0.181818
0
0
0.24307
0
0
0
0
0
0
0
null
null
0
0.090909
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
d618021334a1324224f649981c0ec0b5f300ac32
8,283
py
Python
app.py
nassermarafi/M9Download
5755f7dbae1ee73d82030510e16d3259686f3f61
[ "MIT" ]
null
null
null
app.py
nassermarafi/M9Download
5755f7dbae1ee73d82030510e16d3259686f3f61
[ "MIT" ]
null
null
null
app.py
nassermarafi/M9Download
5755f7dbae1ee73d82030510e16d3259686f3f61
[ "MIT" ]
null
null
null
from flask import Flask, request, render_template, Markup import markdown import os # from requests_toolbelt.adapters import appengine # appengine.monkeypatch() app = Flask(__name__) @app.route("/") def index(): content = "" with open('readme.md', 'r') as f: content = f.read() content = Markup(ma...
41.208955
139
0.612821
795
8,283
6.340881
0.189937
0.039675
0.044436
0.059512
0.714342
0.696092
0.656219
0.6463
0.613172
0.613172
0
0.011895
0.248944
8,283
200
140
41.415
0.798425
0.060848
0
0.655844
0
0.012987
0.154917
0.056579
0
0
0
0
0
1
0.077922
false
0
0.084416
0
0.266234
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
d61ace31e854c590eabcfa2fc231a65e931f2705
528
py
Python
backend_application/app/crawler/setting_language.py
cdeler/woogle
5774ce380947734bf0ed82bd27cdc5359bc1a646
[ "MIT" ]
null
null
null
backend_application/app/crawler/setting_language.py
cdeler/woogle
5774ce380947734bf0ed82bd27cdc5359bc1a646
[ "MIT" ]
54
2018-07-05T13:39:48.000Z
2018-09-24T09:58:40.000Z
backend_application/app/crawler/src/setting_language.py
cdeler/woogle
5774ce380947734bf0ed82bd27cdc5359bc1a646
[ "MIT" ]
null
null
null
LANGUAGE_SETTING = { 'ru': {'start_urls': 'https://ru.wikipedia.org/w/index.php?title=%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:%D0%92%D1%81%D0%B5_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D1%8B', 'allowed_domains': 'ru.wikipedia.org', 'next_page_words': "Следующа...
37.714286
180
0.577652
83
528
3.554217
0.493976
0.162712
0.094915
0.135593
0.169492
0
0
0
0
0
0
0.105769
0.212121
528
13
181
40.615385
0.603365
0
0
0
0
0.076923
0.670455
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
d620a2ed63f0522d7ea50881fbe6364151209dcf
2,670
py
Python
pylily/0409/0409/0710_road_latlng_cp.py
joannachuang/2019_summer_joanna
1773cbad88cc2b7ebf20cebbd97d2988919372e6
[ "Apache-2.0" ]
null
null
null
pylily/0409/0409/0710_road_latlng_cp.py
joannachuang/2019_summer_joanna
1773cbad88cc2b7ebf20cebbd97d2988919372e6
[ "Apache-2.0" ]
null
null
null
pylily/0409/0409/0710_road_latlng_cp.py
joannachuang/2019_summer_joanna
1773cbad88cc2b7ebf20cebbd97d2988919372e6
[ "Apache-2.0" ]
1
2019-07-09T08:39:47.000Z
2019-07-09T08:39:47.000Z
import Lily.ctao.database as cdb import Lily.crawler.url_string as url import requests import pandas as pd import numpy import io import json import sqlite3 import os import xlrd from xlutils.copy import copy from xlwt import Style df = pd.read_excel('''d:/pylily/0409/0409/data_opendata_tb_107lane_name.xls''', heade...
31.411765
125
0.587266
382
2,670
3.997382
0.32199
0.064833
0.072037
0.070727
0.310413
0.310413
0.208251
0.124427
0.049771
0.049771
0
0.035495
0.208614
2,670
85
126
31.411765
0.687175
0.483146
0
0
0
0
0.16963
0.084444
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d6253160b840f0f72de163132bc6ad6f5702336d
3,544
py
Python
multiagent/tf_ddpg/critic.py
baradist/multiagent-particle-envs
0e02ae9818927428275e83a356b4a0e0c24948e5
[ "MIT" ]
null
null
null
multiagent/tf_ddpg/critic.py
baradist/multiagent-particle-envs
0e02ae9818927428275e83a356b4a0e0c24948e5
[ "MIT" ]
null
null
null
multiagent/tf_ddpg/critic.py
baradist/multiagent-particle-envs
0e02ae9818927428275e83a356b4a0e0c24948e5
[ "MIT" ]
null
null
null
import os import numpy as np import tensorflow as tf from tensorflow.initializers import random_uniform class Critic(object): def __init__(self, lr, n_actions, name, input_dims, sess, fc1_dims, fc2_dims, batch_size=64, chkpt_dir='tmp/ddpg'): self.lr = lr self.n_actions = n_actions self.na...
44.860759
119
0.580982
418
3,544
4.739234
0.260766
0.045936
0.072691
0.033317
0.286219
0.154467
0.138819
0.103483
0.044422
0
0
0.023017
0.313488
3,544
78
120
45.435897
0.791204
0.011005
0
0.032787
0
0
0.018275
0
0
0
0
0.012821
0
1
0.114754
false
0
0.065574
0.04918
0.245902
0.016393
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d626598d1b6197e242092e93bce67f29cd3fcf18
995
py
Python
Documents/RacimoAire/ADC/Libreria/ADS1115-master/Python/ADS1115.py
JoseSalamancaCoy/RACIMO_AIRE
628d6ff184a30af0efd25bff675b0006500d4ba2
[ "MIT" ]
null
null
null
Documents/RacimoAire/ADC/Libreria/ADS1115-master/Python/ADS1115.py
JoseSalamancaCoy/RACIMO_AIRE
628d6ff184a30af0efd25bff675b0006500d4ba2
[ "MIT" ]
null
null
null
Documents/RacimoAire/ADC/Libreria/ADS1115-master/Python/ADS1115.py
JoseSalamancaCoy/RACIMO_AIRE
628d6ff184a30af0efd25bff675b0006500d4ba2
[ "MIT" ]
null
null
null
# Distributed with a free-will license. # Use it any way you want, profit or free, provided it fits in the licenses of its associated works. # ADS1115 # This code is designed to work with the ADS1115_I2CADC I2C Mini Module available from ControlEverything.com. # https://www.controleverything.com/content/Analog-Digital-...
28.428571
112
0.743719
164
995
4.420732
0.628049
0.049655
0.049655
0.055172
0
0
0
0
0
0
0
0.125149
0.156784
995
34
113
29.264706
0.738975
0.664322
0
0
0
0
0.107256
0
0
0
0.07571
0
0
0
null
null
0
0.181818
null
null
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d635e85f735f50546bb4ea59ac57853b901f8d80
8,269
py
Python
scripts/temizlik_robotu_engelden_sakinma_dugumu.py
inomuh/temizlik_robotu
ffd2ea18c5e1c19c910ab8a63ff8be5f00ca3a7a
[ "Apache-2.0" ]
null
null
null
scripts/temizlik_robotu_engelden_sakinma_dugumu.py
inomuh/temizlik_robotu
ffd2ea18c5e1c19c910ab8a63ff8be5f00ca3a7a
[ "Apache-2.0" ]
null
null
null
scripts/temizlik_robotu_engelden_sakinma_dugumu.py
inomuh/temizlik_robotu
ffd2ea18c5e1c19c910ab8a63ff8be5f00ca3a7a
[ "Apache-2.0" ]
1
2020-02-15T19:20:47.000Z
2020-02-15T19:20:47.000Z
#!/usr/bin/env python # coding=utf-8 import rospy from sensor_msgs.msg import Range from temizlik_robotu.srv import * #__________________________________________________________________________________________________ # # TemizlikRobotuEngeldenSakinma # # AMAÇ: Robotun engelden sakınması ve hareket emrini verm...
39.37619
196
0.650381
705
8,269
6.029787
0.343262
0.0988
0.131734
0.056457
0.323453
0.235709
0.203246
0.142555
0.142555
0.081393
0
0.002948
0.302576
8,269
209
197
39.564593
0.73227
0.674447
0
0.142857
0
0
0.06549
0.030588
0
0
0
0
0
0
null
null
0.02381
0.071429
null
null
0.047619
0
0
0
null
0
0
0
0
0
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
d63d8128c2dfb3d87d7c6f7a63d45d49f5afc25a
886
py
Python
apps/count/migrations/0008_auto_20190326_1600.py
lianxiaopang/camel-store-api
b8021250bf3d8cf7adc566deebdba55225148316
[ "Apache-2.0" ]
12
2020-02-01T01:52:01.000Z
2021-04-28T15:06:43.000Z
apps/count/migrations/0008_auto_20190326_1600.py
lianxiaopang/camel-store-api
b8021250bf3d8cf7adc566deebdba55225148316
[ "Apache-2.0" ]
5
2020-02-06T08:07:58.000Z
2020-06-02T13:03:45.000Z
apps/count/migrations/0008_auto_20190326_1600.py
lianxiaopang/camel-store-api
b8021250bf3d8cf7adc566deebdba55225148316
[ "Apache-2.0" ]
11
2020-02-03T13:07:46.000Z
2020-11-29T01:44:06.000Z
# Generated by Django 2.1.7 on 2019-03-26 08:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('count', '0007_wxuserstatistics_user_total'), ] operations = [ migrations.AddField( model_name='orderstatistics', nam...
30.551724
109
0.628668
87
886
6.218391
0.574713
0.049908
0.085028
0.099815
0.251386
0.170055
0.170055
0
0
0
0
0.041221
0.260722
886
28
110
31.642857
0.784733
0.05079
0
0.318182
1
0
0.18236
0.038141
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
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
d64953fd4486afd079a2646e88e97437a59b68a1
2,715
py
Python
backend/unpp_api/apps/partner/migrations/0009_auto_20170830_0134.py
unicef/un-partner-portal
73afa193a5f6d626928cae0025c72a17f0ef8f61
[ "Apache-2.0" ]
6
2017-11-21T10:00:44.000Z
2022-02-12T16:51:48.000Z
backend/unpp_api/apps/partner/migrations/0009_auto_20170830_0134.py
unicef/un-partner-portal
73afa193a5f6d626928cae0025c72a17f0ef8f61
[ "Apache-2.0" ]
995
2017-07-31T02:08:36.000Z
2022-03-08T22:44:03.000Z
backend/unpp_api/apps/partner/migrations/0009_auto_20170830_0134.py
unicef/un-partner-portal
73afa193a5f6d626928cae0025c72a17f0ef8f61
[ "Apache-2.0" ]
1
2021-07-21T10:45:15.000Z
2021-07-21T10:45:15.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-08-30 01:34 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import model_utils.fields class Migration(migrations.Migration): dependencies = [ ('part...
38.785714
147
0.598158
265
2,715
5.928302
0.320755
0.035646
0.053469
0.080204
0.50923
0.50923
0.50923
0.49077
0.315722
0.061108
0
0.027397
0.274033
2,715
69
148
39.347826
0.76966
0.025046
0
0.370968
1
0
0.159985
0.02534
0
0
0
0
0
1
0
false
0
0.080645
0
0.129032
0
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
d65251bb2db5bbc68bb9a871b666b053a9cf137d
1,485
py
Python
learning_object/collection/setup/create_default_learning_objects.py
dsvalenciah/ROAp
24cbff0e719c5009ec1f1e7190924d4d9297e992
[ "MIT" ]
4
2018-04-23T00:04:01.000Z
2018-10-28T22:56:51.000Z
learning_object/collection/setup/create_default_learning_objects.py
dsvalenciah/ROAp
24cbff0e719c5009ec1f1e7190924d4d9297e992
[ "MIT" ]
23
2017-12-22T08:27:35.000Z
2021-12-13T19:57:35.000Z
learning_object/collection/setup/create_default_learning_objects.py
dsvalenciah/ROAp
24cbff0e719c5009ec1f1e7190924d4d9297e992
[ "MIT" ]
1
2020-06-03T02:07:26.000Z
2020-06-03T02:07:26.000Z
""" Contains utility functions to populate database with a default learning objects. """ import glob import gettext from manager.insert_one import insert_one def create_default_learning_objects(db): """Populate database with default learning objects.""" # TODO: fix category list_files_path = glob.glob("se...
33.75
75
0.603367
154
1,485
5.493506
0.467532
0.165485
0.104019
0.042553
0.106383
0
0
0
0
0
0
0.01834
0.302357
1,485
43
76
34.534884
0.798263
0.100337
0
0
0
0
0.097506
0.054422
0
0
0
0.023256
0
1
0.030303
false
0
0.090909
0
0.121212
0
0
0
0
null
0
0
0
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
d6545a1b545d1c5a5f91089e4f6b99c4f0609416
1,130
py
Python
store/admin.py
dasundev/django-ecommerce-project
e6187e3f70f0e1f7b4cc0003b03696b4088534f8
[ "Apache-2.0" ]
null
null
null
store/admin.py
dasundev/django-ecommerce-project
e6187e3f70f0e1f7b4cc0003b03696b4088534f8
[ "Apache-2.0" ]
null
null
null
store/admin.py
dasundev/django-ecommerce-project
e6187e3f70f0e1f7b4cc0003b03696b4088534f8
[ "Apache-2.0" ]
1
2021-10-03T05:45:55.000Z
2021-10-03T05:45:55.000Z
from django.contrib import admin from store.models import Carousel, ContactMessage, Offer, Replay class CustomCarouselAdmin(admin.ModelAdmin): list_filter = ('active',) list_display = ('name', 'active') list_editable = ('active',) class ReplayTabularInline(admin.TabularInline): model = Replay ...
30.540541
85
0.707965
117
1,130
6.666667
0.410256
0.05641
0.057692
0.080769
0.244872
0.244872
0.144872
0.1
0
0
0
0.003109
0.146018
1,130
36
86
31.388889
0.805181
0
0
0.083333
0
0
0.19823
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.875
0
0
0
0
null
0
0
0
0
0
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
d6566cd4f7b74de3284bbc85f096cdc794850a1f
5,114
py
Python
nails_project/nails/views.py
borislavstoychev/nails_project
fd6efc82489f59ba2e16cddd26485843794453ec
[ "MIT" ]
null
null
null
nails_project/nails/views.py
borislavstoychev/nails_project
fd6efc82489f59ba2e16cddd26485843794453ec
[ "MIT" ]
null
null
null
nails_project/nails/views.py
borislavstoychev/nails_project
fd6efc82489f59ba2e16cddd26485843794453ec
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.views import generic from django.shortcuts import redirect from django.contrib.auth import mixins as auth_mixins from django.urls import reverse_lazy from nails_project.nails.forms import FeedbackForm, CommentForm from nails_project.nails.models import Feedback, Like, Com...
33.86755
98
0.684396
603
5,114
5.636816
0.172471
0.03707
0.050015
0.058841
0.603413
0.45278
0.311268
0.311268
0.280671
0.265078
0
0
0.208447
5,114
150
99
34.093333
0.839674
0.009582
0
0.447368
0
0
0.084535
0.043848
0
0
0
0
0
1
0.114035
false
0
0.061404
0
0.657895
0
0
0
0
null
0
0
0
0
0
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
d65b71eeb41ded1708e721a8dedae4a3c1179537
6,143
py
Python
src/decompress.py
ccooper21/mrimg-tools
e91fc3698de76e7292cec3dea90d0bbb866cc5b0
[ "MIT" ]
8
2017-12-27T18:40:46.000Z
2021-12-02T10:18:19.000Z
src/decompress.py
ccooper21/mrimg-tools
e91fc3698de76e7292cec3dea90d0bbb866cc5b0
[ "MIT" ]
null
null
null
src/decompress.py
ccooper21/mrimg-tools
e91fc3698de76e7292cec3dea90d0bbb866cc5b0
[ "MIT" ]
1
2019-11-19T04:04:49.000Z
2019-11-19T04:04:49.000Z
#!/usr/bin/python import sys class ImageDecompressor(object): IMAGE_PREAMBLE_LEN = 9 _file = None def __init__(self, file_name): self._file = open(file_name, 'rb') def __del__(self): if self._file is not None: self._file.close() def get_bytes(self): block...
41.506757
153
0.535895
705
6,143
4.307801
0.224113
0.076062
0.059928
0.065196
0.354297
0.265723
0.173856
0.089562
0.027
0
0
0.042593
0.392316
6,143
147
154
41.789116
0.770962
0.077649
0
0.078431
0
0.009804
0.034471
0
0
0
0.016263
0
0
0
null
null
0
0.009804
null
null
0.04902
0
0
0
null
0
0
0
0
0
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
c3834cd20cd2d85a9ea7121653e57cd8c708aca3
2,620
py
Python
halo_bian/bian/plugins/halo_bian_mixin_plugin.py
halo-framework/halo-bian
38fe577bf3e5e0fe57f5e3eb5809d609e3f880ac
[ "MIT" ]
null
null
null
halo_bian/bian/plugins/halo_bian_mixin_plugin.py
halo-framework/halo-bian
38fe577bf3e5e0fe57f5e3eb5809d609e3f880ac
[ "MIT" ]
null
null
null
halo_bian/bian/plugins/halo_bian_mixin_plugin.py
halo-framework/halo-bian
38fe577bf3e5e0fe57f5e3eb5809d609e3f880ac
[ "MIT" ]
null
null
null
class BianPlugin(): def ready(self): return True def run(self,core,*params): if len(params) != 4: raise Exception("missing params:"+str(params)) init = "from halo_bian.bian.exceptions import BianException\n\nfrom halo_bian.bian.bian import ActionTerms\n\nfrom botocore.exce...
47.636364
166
0.530153
263
2,620
5.125475
0.231939
0.160237
0.135015
0.135015
0.554154
0.50816
0.439169
0.439169
0.361276
0.285608
0
0.009551
0.320611
2,620
54
167
48.518519
0.747753
0
0
0.208333
0
0.020833
0.305694
0.017577
0
0
0
0
0
1
0.041667
false
0.0625
0.166667
0.020833
0.270833
0
0
0
0
null
0
0
0
0
0
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
c38b8697e1706e7b666828e8f392d89f8334b9f6
21,852
py
Python
mi/platform/util/network_util.py
ronkyo/mi-instrument
ad6188ea9d7d941292f078a58718d09b46cc4fed
[ "BSD-2-Clause" ]
1
2018-09-14T23:28:29.000Z
2018-09-14T23:28:29.000Z
mi/platform/util/network_util.py
ronkyo/mi-instrument
ad6188ea9d7d941292f078a58718d09b46cc4fed
[ "BSD-2-Clause" ]
33
2017-04-25T19:53:45.000Z
2022-03-18T17:42:18.000Z
mi/platform/util/network_util.py
ronkyo/mi-instrument
ad6188ea9d7d941292f078a58718d09b46cc4fed
[ "BSD-2-Clause" ]
31
2015-03-04T01:01:09.000Z
2020-10-28T14:42:12.000Z
#!/usr/bin/env python """ @package mi.platform.util.network_util @file ion/agents/platform/util/network_util.py @author Carlos Rueda @brief Utilities related with platform network definition """ __author__ = 'Carlos Rueda' __license__ = 'Apache 2.0' from mi.platform.util.network import PlatformNode from mi.pl...
38.951872
128
0.572259
2,375
21,852
5.046737
0.146947
0.05423
0.016019
0.012264
0.315702
0.247372
0.161856
0.133406
0.0856
0.0856
0
0.001745
0.344454
21,852
560
129
39.021429
0.834974
0.036793
0
0.293605
0
0
0.124964
0.014552
0
0
0
0.003571
0.031977
0
null
null
0
0.026163
null
null
0.014535
0
0
0
null
0
0
0
0
0
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
c39544fff440571616e6fb3b92bc4aa51c1264e3
1,874
py
Python
findthatrev.py
joshuabenuck/notebook
7dd06e2e5a08d8e12cea3226df75b633d263f84c
[ "MIT" ]
null
null
null
findthatrev.py
joshuabenuck/notebook
7dd06e2e5a08d8e12cea3226df75b633d263f84c
[ "MIT" ]
null
null
null
findthatrev.py
joshuabenuck/notebook
7dd06e2e5a08d8e12cea3226df75b633d263f84c
[ "MIT" ]
null
null
null
# vim: sw=4:ts=4:et:ai:hls import os, sys, subprocess # Helper taken from an adafuit LCD tutorial. def run_cmd(cmd): p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE) output = p.communicate()[0] return output if __name__ == "__main__": # set count of differences high distanc...
41.644444
91
0.574173
267
1,874
3.868914
0.35206
0.075508
0.085189
0.095837
0.404647
0.404647
0.373669
0.269119
0.141336
0.077444
0
0.013206
0.272679
1,874
44
92
42.590909
0.744681
0.403415
0
0
0
0
0.208531
0.109005
0
0
0
0
0
0
null
null
0
0.041667
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c39a77dd15f7b547128745de4765be28782e4ff3
2,248
py
Python
examples/plot_msd_1.py
malramsay64/tidynamics
0969c717882077d4735e475639f954a1c19da507
[ "BSD-3-Clause" ]
15
2018-06-27T01:04:23.000Z
2021-12-03T18:59:49.000Z
examples/plot_msd_1.py
malramsay64/tidynamics
0969c717882077d4735e475639f954a1c19da507
[ "BSD-3-Clause" ]
13
2018-06-29T09:10:58.000Z
2021-08-20T09:46:53.000Z
examples/plot_msd_1.py
malramsay64/tidynamics
0969c717882077d4735e475639f954a1c19da507
[ "BSD-3-Clause" ]
2
2018-10-24T12:13:23.000Z
2020-05-21T03:24:00.000Z
r""" =============================== Mean-square displacements (MSD) =============================== Generate a number of random walks and compute their MSD. Compute also the MSD for a constant velocity motion. For a random walk, the MSD is linear: :math:`MSD(\tau) \approx 2 D \tau` For a constant velocity motion, ...
27.084337
77
0.671263
352
2,248
4.272727
0.318182
0.039894
0.036569
0.049867
0.069149
0
0
0
0
0
0
0.032344
0.161032
2,248
82
78
27.414634
0.765111
0.454626
0
0
1
0
0.186104
0.01737
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0
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
c39dfa5d53869ef6c9bce02851794c9e6ac325ea
953
py
Python
SASpector/tandem_repeats.py
LoGT-KULeuven/SASpector
dbd3abf51c4e2c305276c06d9ad59c92c775355d
[ "MIT" ]
null
null
null
SASpector/tandem_repeats.py
LoGT-KULeuven/SASpector
dbd3abf51c4e2c305276c06d9ad59c92c775355d
[ "MIT" ]
null
null
null
SASpector/tandem_repeats.py
LoGT-KULeuven/SASpector
dbd3abf51c4e2c305276c06d9ad59c92c775355d
[ "MIT" ]
1
2022-02-16T10:22:51.000Z
2022-02-16T10:22:51.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Nov 9 19:02:15 2019 @author: alerojo, 0mician """ import glob import logging import os import shlex import shutil import subprocess def trf(prefix,outdir): """ Wraps TRF and generates tandem repeats reports for the missing regions Param...
25.756757
116
0.668416
127
953
5.007874
0.622047
0.037736
0.031447
0.050314
0.069182
0
0
0
0
0
0
0.035952
0.211962
953
36
117
26.472222
0.810919
0.281217
0
0
0
0
0.238924
0.061709
0
0
0
0
0
1
0.0625
false
0
0.375
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c3aa8e198f33a71a853ccda1431b7554b2027862
672
py
Python
feature/features_example_job.py
tahigash/examples
d72e369f0f0fd74be30e8fc7502869a2118e67fe
[ "Apache-2.0" ]
81
2019-08-07T09:00:15.000Z
2022-03-17T23:23:51.000Z
feature/features_example_job.py
tahigash/examples
d72e369f0f0fd74be30e8fc7502869a2118e67fe
[ "Apache-2.0" ]
2
2019-07-30T03:09:50.000Z
2021-09-28T13:08:00.000Z
feature/features_example_job.py
tahigash/examples
d72e369f0f0fd74be30e8fc7502869a2118e67fe
[ "Apache-2.0" ]
41
2019-08-21T22:43:11.000Z
2022-03-30T03:22:35.000Z
# To run the job: # pyats run job features_example_job.py # Description: This example shows an overview of the different features/flows # that pyATS supports like skipping testcases, looping, variants, # in addition to basic usage (passing/failing/etc) import os from pyats.easypy import run f...
37.333333
78
0.730655
95
672
5.021053
0.578947
0.037736
0
0
0
0
0
0
0
0
0
0.00367
0.188988
672
17
79
39.529412
0.87156
0.488095
0
0
0
0
0.195846
0.077151
0
0
0
0
0
1
0.125
false
0
0.375
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
c3ade1490c040bfb75a63e1b53ee9e9e6f20c16b
1,515
py
Python
fimed/app.py
dandobjim/FIMED2.0-BACKEND
1118a1afcf62a2d39de3464dce3929f008dba0ec
[ "MIT" ]
null
null
null
fimed/app.py
dandobjim/FIMED2.0-BACKEND
1118a1afcf62a2d39de3464dce3929f008dba0ec
[ "MIT" ]
2
2021-04-06T18:29:57.000Z
2021-06-02T03:57:43.000Z
fimed/app.py
dandobjim/FIMED2.0-BACKEND
1118a1afcf62a2d39de3464dce3929f008dba0ec
[ "MIT" ]
null
null
null
import uvicorn from fastapi import FastAPI from starlette import status from starlette.middleware.cors import CORSMiddleware from starlette.responses import Response from fimed import __version__ from fimed.config import settings from fimed.logger import logger from fimed.routes.authentication import router as auth_ro...
28.055556
108
0.767657
211
1,515
5.312796
0.345972
0.0562
0.053524
0.06066
0.044603
0.044603
0
0
0
0
0
0.008942
0.114191
1,515
53
109
28.584906
0.825633
0.007261
0
0
0
0
0.145237
0
0
0
0
0
0
1
0.027778
false
0
0.333333
0
0.388889
0
0
0
0
null
0
0
0
0
0
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
c3af3aad868096e120c1f3e0f5c695dbf3aee39a
373
py
Python
detection/migrations/0004_auto_20210115_1348.py
Kunal614/Pocket-Medical
855013d542f8460d633747564d2bc7a3edd7eb9c
[ "Apache-2.0" ]
1
2022-03-26T01:39:02.000Z
2022-03-26T01:39:02.000Z
detection/migrations/0004_auto_20210115_1348.py
Kunal614/Pocket-Medical
855013d542f8460d633747564d2bc7a3edd7eb9c
[ "Apache-2.0" ]
null
null
null
detection/migrations/0004_auto_20210115_1348.py
Kunal614/Pocket-Medical
855013d542f8460d633747564d2bc7a3edd7eb9c
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.7 on 2021-01-15 13:48 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('detection', '0003_auto_20210115_1344'), ] operations = [ migrations.RenameField( model_name='medical_record', old_name='clin...
19.631579
49
0.595174
40
373
5.375
0.85
0
0
0
0
0
0
0
0
0
0
0.117871
0.294906
373
18
50
20.722222
0.69962
0.120643
0
0
1
0
0.177914
0.070552
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
c3b3313ecfb57e9aa317d60326e3cbf28a1fb822
20,765
py
Python
sample/trashlib.py
Nurtal/RD
e3aaabb069d6a48ff3a91662e806bb2eeb6788bd
[ "MIT" ]
null
null
null
sample/trashlib.py
Nurtal/RD
e3aaabb069d6a48ff3a91662e806bb2eeb6788bd
[ "MIT" ]
null
null
null
sample/trashlib.py
Nurtal/RD
e3aaabb069d6a48ff3a91662e806bb2eeb6788bd
[ "MIT" ]
null
null
null
""" Grand bazar """ import matplotlib.pyplot as plt from sklearn import datasets import random import pandas as pd import numpy import pylab from sklearn.cluster import KMeans from sklearn.metrics import confusion_matrix from sklearn.decomposition import PCA from mpl_toolkits.mplot3d import Axes3D import glob impo...
25.57266
168
0.686251
2,474
20,765
5.689976
0.179466
0.003978
0.007672
0.014776
0.384883
0.343965
0.316118
0.306244
0.299425
0.299425
0
0.016455
0.168842
20,765
811
169
25.604192
0.799177
0.040549
0
0.427553
0
0
0.083459
0.020951
0
0
0
0.001233
0
0
null
null
0
0.04038
null
null
0.045131
0
0
0
null
0
0
0
0
0
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
c3b6c2474f022fbf368dc5cce5312b97a912ce3c
23,147
py
Python
Agents/DemandResponeAgent/demandresponse/agent.py
bopopescu/TP
72ae5654d04053810b502366f558e79407b6cea8
[ "Unlicense" ]
null
null
null
Agents/DemandResponeAgent/demandresponse/agent.py
bopopescu/TP
72ae5654d04053810b502366f558e79407b6cea8
[ "Unlicense" ]
null
null
null
Agents/DemandResponeAgent/demandresponse/agent.py
bopopescu/TP
72ae5654d04053810b502366f558e79407b6cea8
[ "Unlicense" ]
1
2020-07-22T19:58:44.000Z
2020-07-22T19:58:44.000Z
# -*- coding: utf-8 -*- {{{ # vim: set fenc=utf-8 ft=python sw=4 ts=4 sts=4 et: # # Copyright (c) 2013, Battelle Memorial Instituate # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistri...
38.707358
104
0.598825
2,720
23,147
4.986029
0.153676
0.047191
0.052647
0.065035
0.656762
0.631397
0.615691
0.597036
0.584943
0.564519
0
0.039735
0.276969
23,147
598
105
38.707358
0.770495
0.254504
0
0.58867
0
0
0.188957
0.093102
0
0
0
0.001672
0
0
null
null
0.002463
0.024631
null
null
0.12069
0
0
0
null
0
0
0
0
0
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
c3cec30e2d4d282b5d3b862ebb7b93600f86883f
4,059
py
Python
fhirclient/models/searchparameter.py
JamesSkane/smart_resources
85c362542b85ebc43ec00cd04915b114ee95f9c0
[ "Apache-2.0" ]
null
null
null
fhirclient/models/searchparameter.py
JamesSkane/smart_resources
85c362542b85ebc43ec00cd04915b114ee95f9c0
[ "Apache-2.0" ]
null
null
null
fhirclient/models/searchparameter.py
JamesSkane/smart_resources
85c362542b85ebc43ec00cd04915b114ee95f9c0
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 0.5.0.5149 (http://hl7.org/fhir/StructureDefinition/SearchParameter) on 2015-07-06. # 2015, SMART Health IT. from . import contactpoint from . import domainresource from . import fhirdate from . import fhirelement class SearchParameter(domainre...
30.75
106
0.550382
392
4,059
5.653061
0.321429
0.034747
0.044675
0.029783
0.192238
0.117329
0.092058
0.092058
0.049639
0.049639
0
0.007692
0.327421
4,059
131
107
30.984733
0.804029
0.123183
0
0.269231
1
0
0.100518
0.009491
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.269231
0
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
c3d94bcc08ade484b31d887662defd1ac8788237
1,440
py
Python
nucosMQ/nucosLogger.py
NuCOS/nucosMQ
a66d25bb71eaaa176710ab8da820de90421760b3
[ "MIT" ]
1
2017-10-10T17:56:57.000Z
2017-10-10T17:56:57.000Z
nucosMQ/nucosLogger.py
NuCOS/nucosMQ
a66d25bb71eaaa176710ab8da820de90421760b3
[ "MIT" ]
1
2021-01-15T12:38:15.000Z
2021-01-15T12:38:15.000Z
nucosMQ/nucosLogger.py
NuCOS/nucosMQ
a66d25bb71eaaa176710ab8da820de90421760b3
[ "MIT" ]
1
2018-04-08T07:56:22.000Z
2018-04-08T07:56:22.000Z
import logging class Logger(): def __init__(self, name, items): self.logger = logging.getLogger(name) self.name = name self.items = items def format(self, FORMAT): if self.logger.handlers: return handler = logging.StreamHandler() formatter = logging....
32.727273
89
0.575694
160
1,440
5.1125
0.38125
0.102689
0.046455
0.06357
0.171149
0.171149
0.171149
0.171149
0.171149
0.171149
0
0.001025
0.322222
1,440
43
90
33.488372
0.83709
0.076389
0
0.117647
0
0
0.039291
0
0
0
0
0.023256
0
1
0.117647
false
0
0.029412
0
0.205882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c3e1166a56742f98b3b214d0e09944637fb6b94a
1,099
py
Python
mlc_tools/base/validator.py
mlc-tools/mlc-tools
1ee8e82e438cda2cc1efd334d69773d1a29a0e0c
[ "MIT" ]
1
2018-05-07T09:32:57.000Z
2018-05-07T09:32:57.000Z
mlc_tools/base/validator.py
mlc-tools/mlc-tools
1ee8e82e438cda2cc1efd334d69773d1a29a0e0c
[ "MIT" ]
4
2019-09-27T09:33:34.000Z
2020-04-13T13:48:02.000Z
mlc_tools/base/validator.py
mlc-tools/mlc-tools
1ee8e82e438cda2cc1efd334d69773d1a29a0e0c
[ "MIT" ]
1
2018-02-23T01:04:44.000Z
2018-02-23T01:04:44.000Z
from ..utils.error import Error class Validator(object): def __init__(self): pass def validate(self, model): self.validate_php_functional(model) @staticmethod def validate_php_functional(model): for cls in model.classes: for member in cls.members: ...
40.703704
112
0.562329
130
1,099
4.515385
0.353846
0.132879
0.183986
0.136286
0.146508
0.146508
0.146508
0.146508
0.146508
0.146508
0
0.002789
0.347589
1,099
26
113
42.269231
0.8159
0
0
0
0
0
0.013649
0
0
0
0
0
0
1
0.142857
false
0.047619
0.047619
0
0.238095
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
c3e485350dd5ac7660ae7ac629720686d995710f
32,391
py
Python
ACME-oneM2M-CSE-master/tests/testMgmtObj.py
Romsi-Occi/Trash-tracker
4490fe181b4e3bdaa8575e83b87ac2d12472a9c7
[ "BSD-3-Clause" ]
10
2020-09-25T08:49:19.000Z
2022-03-30T01:29:22.000Z
ACME-oneM2M-CSE-master/tests/testMgmtObj.py
Romsi-Occi/Trash-tracker
4490fe181b4e3bdaa8575e83b87ac2d12472a9c7
[ "BSD-3-Clause" ]
14
2020-05-22T08:00:32.000Z
2020-12-24T23:38:05.000Z
ACME-oneM2M-CSE-master/tests/testMgmtObj.py
Romsi-Occi/Trash-tracker
4490fe181b4e3bdaa8575e83b87ac2d12472a9c7
[ "BSD-3-Clause" ]
5
2020-05-22T03:43:20.000Z
2021-05-25T06:54:59.000Z
# # testMgmtObj.py # # (c) 2020 by Andreas Kraft # License: BSD 3-Clause License. See the LICENSE file for further details. # # Unit tests for all kind of MgmtObj specialisations # import unittest, sys import requests sys.path.append('../acme') from typing import Tuple from Constants import Constants as C from Types i...
33.358393
108
0.677596
4,144
32,391
5.264237
0.082529
0.112308
0.146
0.147559
0.717763
0.679945
0.470548
0.378364
0.337428
0.328994
0
0.015613
0.135902
32,391
970
109
33.392784
0.7638
0.058226
0
0.400277
0
0
0.195134
0.010356
0
0
0
0
0.418283
1
0.081717
false
0
0.00831
0
0.119114
0.001385
0
0
0
null
0
0
0
0
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
c3e8c8c8e88ba24f5f1b5c4158ac5e16e970d14a
603
py
Python
filter_plugins/attr_or_default.py
serge-name/myansible
5bf2732afc568f448f20399136ac1c6a70063371
[ "MIT" ]
1
2021-04-20T09:50:57.000Z
2021-04-20T09:50:57.000Z
filter_plugins/attr_or_default.py
serge-name/myansible
5bf2732afc568f448f20399136ac1c6a70063371
[ "MIT" ]
null
null
null
filter_plugins/attr_or_default.py
serge-name/myansible
5bf2732afc568f448f20399136ac1c6a70063371
[ "MIT" ]
1
2017-09-18T08:41:47.000Z
2017-09-18T08:41:47.000Z
from jinja2.runtime import Undefined, StrictUndefined class FilterModule(object): ''' A comment ''' def filters(self): return { 'attr_or_default': self.attr_or_default, } def attr_or_default(self, input_value, name, default): if type(input_value) not in (StrictUndefine...
31.736842
98
0.620232
72
603
5.055556
0.583333
0.10989
0.107143
0.093407
0
0
0
0
0
0
0
0.006881
0.276949
603
18
99
33.5
0.827982
0.159204
0
0
0
0
0.03
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0.083333
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c3f57cc553e588daaddfc99075ebc17de9a456ef
1,911
py
Python
Assets/Python/Events.py
macaurther/DOCUSA
40586727c351d1b1130c05c2d4648cca3a8bacf5
[ "MIT" ]
1
2017-08-17T02:49:22.000Z
2017-08-17T02:49:22.000Z
Assets/Python/Events.py
macaurther/DOCUSA
40586727c351d1b1130c05c2d4648cca3a8bacf5
[ "MIT" ]
null
null
null
Assets/Python/Events.py
macaurther/DOCUSA
40586727c351d1b1130c05c2d4648cca3a8bacf5
[ "MIT" ]
1
2021-03-17T23:58:03.000Z
2021-03-17T23:58:03.000Z
from BugEventManager import g_eventManager as events import inspect from Core import * def handler(event): def handler_decorator(func): arg_names = inspect.getargspec(func)[0] def handler_func(args): return func(*args[:len(arg_names)]) handler_func.__name__ = func.__name__ handler_func.__module__ ...
23.592593
73
0.77551
209
1,911
6.889952
0.320574
0.097222
0.025
0.031944
0.127778
0.075
0.075
0.075
0.075
0
0
0.000585
0.105704
1,911
81
74
23.592593
0.842013
0
0
0.218182
0
0
0.121862
0
0
0
0
0
0
1
0.218182
false
0.018182
0.054545
0.018182
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c3f7ec8c345d6bdcb265e54b35f98791f9731fa3
374
py
Python
language_basics/exceptions.py
nebulx29/LearnPython
519a29b04c36bbd1feb2cda5a0c0669e15062ba4
[ "Apache-2.0" ]
null
null
null
language_basics/exceptions.py
nebulx29/LearnPython
519a29b04c36bbd1feb2cda5a0c0669e15062ba4
[ "Apache-2.0" ]
null
null
null
language_basics/exceptions.py
nebulx29/LearnPython
519a29b04c36bbd1feb2cda5a0c0669e15062ba4
[ "Apache-2.0" ]
null
null
null
class InvalidEmailException(Exception): pass def send_email(email, subject, content): if not "@" in email: raise InvalidEmailException("email does not contain '@'") try: send_email("xyz", "t11", "t22") except InvalidEmailException: print("Ungültige Email") finally: print(...
20.777778
66
0.620321
37
374
6.216216
0.72973
0.078261
0
0
0
0
0
0
0
0
0
0.014493
0.262032
374
17
67
22
0.818841
0
0
0
0
0
0.229692
0
0
0
0
0
0
1
0.090909
false
0.090909
0
0
0.181818
0.181818
0
0
0
null
0
0
0
0
0
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
c3facf499f558318dafd1ccff928ff6cd40ad4a0
1,156
py
Python
pydrop/main.py
telesoho/pydrop
ba9a0c9e7a6e825bb55bb2cfbb08db3d564ec727
[ "MIT" ]
null
null
null
pydrop/main.py
telesoho/pydrop
ba9a0c9e7a6e825bb55bb2cfbb08db3d564ec727
[ "MIT" ]
null
null
null
pydrop/main.py
telesoho/pydrop
ba9a0c9e7a6e825bb55bb2cfbb08db3d564ec727
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: UTF-8 -*- import cherrypy from pydrop.config import config from pydrop.app import app, register_blueprints def run_server(): register_blueprints() if config.env == "production": cherrypi_server() else: flask_server() def flask_server()...
23.12
65
0.58737
126
1,156
5.166667
0.404762
0.036866
0.092166
0.043011
0.122888
0.122888
0
0
0
0
0
0.001214
0.287197
1,156
49
66
23.591837
0.788835
0.036332
0
0.171429
0
0
0.158984
0.067733
0
0
0
0
0
1
0.085714
true
0
0.085714
0
0.171429
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
1
0
0
0
0
0
0
1
7f0387bbc256b0202350fd7e104496f1fc31ed8d
3,617
py
Python
generate_config_docs.py
hixio-mh/taskcat
a5d23a4b05592250c2ec0304d77571675628b00d
[ "Apache-2.0" ]
920
2016-12-03T01:41:25.000Z
2021-11-04T13:52:21.000Z
generate_config_docs.py
hixio-mh/taskcat
a5d23a4b05592250c2ec0304d77571675628b00d
[ "Apache-2.0" ]
544
2017-02-23T22:41:25.000Z
2021-11-03T23:02:25.000Z
generate_config_docs.py
hixio-mh/taskcat
a5d23a4b05592250c2ec0304d77571675628b00d
[ "Apache-2.0" ]
225
2016-12-11T13:36:21.000Z
2021-11-04T14:43:53.000Z
# flake8: noqa import json if __name__ == "__main__": schema = json.load(open("./taskcat/cfg/config_schema.json", "r")) def resolve_ref(props): if "$ref" in props: ref = props["$ref"].split("/")[-1] del props["$ref"] props.update(schema["definitions"][ref]) ...
45.78481
76
0.401438
349
3,617
4.017192
0.137536
0.144793
0.136947
0.068474
0.722539
0.674037
0.674037
0.674037
0.674037
0.612696
0
0.002529
0.453414
3,617
78
77
46.371795
0.706626
0.003318
0
0.630137
0
0
0.243408
0.046628
0
0
0
0
0
1
0.013699
false
0
0.013699
0
0.041096
0.082192
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
7f045e579aa70a3c05b2ec66b04531e3d9230182
1,470
py
Python
okl4_kernel/okl4_2.1.1-patch.9/tools/magpie/magpie/targets/shared/astgen.py
CyberQueenMara/baseband-research
e1605537e10c37e161fff1a3416b908c9894f204
[ "MIT" ]
77
2018-12-31T22:12:09.000Z
2021-12-31T22:56:13.000Z
okl4_kernel/okl4_2.1.1-patch.9/tools/magpie/magpie/targets/shared/astgen.py
CyberQueenMara/baseband-research
e1605537e10c37e161fff1a3416b908c9894f204
[ "MIT" ]
null
null
null
okl4_kernel/okl4_2.1.1-patch.9/tools/magpie/magpie/targets/shared/astgen.py
CyberQueenMara/baseband-research
e1605537e10c37e161fff1a3416b908c9894f204
[ "MIT" ]
24
2019-01-20T15:51:52.000Z
2021-12-25T18:29:13.000Z
""" Class to parse an IDL file and return an AST. Can be used as a library. """ from magpieparsers.types.builtin import create_basictype_ast from magpie.targets.shared.inputparser import construct as inputparser_construct class CLanguageAnnotator(object): # Annotate an AST with appropriate names for C output. # FIXM...
33.409091
80
0.75102
201
1,470
5.238806
0.38806
0.018993
0.034188
0.034188
0.077873
0
0
0
0
0
0
0
0.146259
1,470
43
81
34.186047
0.839044
0.141497
0
0.148148
0
0
0.041902
0
0
0
0
0.023256
0
1
0.185185
false
0
0.074074
0
0.37037
0
0
0
0
null
0
0
0
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
7f0545c31601b8a15b6b694f1e70019067cf40ba
3,817
py
Python
django_gramm/urls.py
Fan4ik20/DjangoGramm
ee23eea88633dc4bb96e3fe760982ebdc130f323
[ "MIT" ]
null
null
null
django_gramm/urls.py
Fan4ik20/DjangoGramm
ee23eea88633dc4bb96e3fe760982ebdc130f323
[ "MIT" ]
null
null
null
django_gramm/urls.py
Fan4ik20/DjangoGramm
ee23eea88633dc4bb96e3fe760982ebdc130f323
[ "MIT" ]
null
null
null
from django.urls import path from django_gramm.views import ( auth_views, post_views, user_views ) from django.views.generic import TemplateView from allauth.socialaccount.views import SignupView as SignUpOauth app_name = 'django_gramm' urlpatterns = [ path('', post_views.Index.as_view(), name='index'), ...
25.61745
79
0.622478
421
3,817
5.372922
0.225653
0.071618
0.110522
0.105217
0.225022
0.137931
0.10168
0.10168
0.10168
0.086207
0
0.000681
0.230024
3,817
148
80
25.790541
0.768969
0.019649
0
0.387931
0
0
0.310493
0.209582
0
0
0
0
0
1
0
false
0.103448
0.034483
0
0.034483
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7f0655cd75cb2c93636c2f5449e1ea0ad20ec5d9
219
py
Python
Codecademy/Python-2/Syntax/Comments.py
Josh-Luedke/Learning-Programming
eef20557268daa889503f79986e119d57ab6a39c
[ "MIT" ]
null
null
null
Codecademy/Python-2/Syntax/Comments.py
Josh-Luedke/Learning-Programming
eef20557268daa889503f79986e119d57ab6a39c
[ "MIT" ]
null
null
null
Codecademy/Python-2/Syntax/Comments.py
Josh-Luedke/Learning-Programming
eef20557268daa889503f79986e119d57ab6a39c
[ "MIT" ]
null
null
null
# Comments allow for programers to write reminders or create a better understanding of the code and program city_name = "St. Potatosburg" # The amount of people living in the city of St. Potatosburg: city_pop = 340000
43.8
107
0.785388
35
219
4.857143
0.771429
0.152941
0
0
0
0
0
0
0
0
0
0.033149
0.173516
219
5
108
43.8
0.906077
0.753425
0
0
0
0
0.294118
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7f0d1bc42289d27f355b31a7aab4a1801d994952
1,976
py
Python
observations/r/davis_thin.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
199
2017-07-24T01:34:27.000Z
2022-01-29T00:50:55.000Z
observations/r/davis_thin.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
46
2017-09-05T19:27:20.000Z
2019-01-07T09:47:26.000Z
observations/r/davis_thin.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
45
2017-07-26T00:10:44.000Z
2022-03-16T20:44:59.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import csv import numpy as np import os import sys from observations.util import maybe_download_and_extract def davis_thin(path): """Davis's Data on Drive for Thinness The `Davis...
25.662338
74
0.693826
281
1,976
4.768683
0.530249
0.041791
0.073134
0.034328
0.059701
0
0
0
0
0
0
0.019295
0.239372
1,976
76
75
26
0.87159
0.562247
0
0
0
0
0.102273
0
0
0
0
0
0
1
0.045455
false
0
0.409091
0
0.5
0.045455
0
0
0
null
0
0
0
0
0
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
7f13c0e1054b292e931d2020815a835101ab6a24
1,216
py
Python
scripts/generate_specializations.py
cxwx/VecGeom
c86c00bd7d4db08f4fc20a625020da329784aaac
[ "ECL-2.0", "Apache-2.0" ]
1
2020-06-27T18:43:36.000Z
2020-06-27T18:43:36.000Z
scripts/generate_specializations.py
cxwx/VecGeom
c86c00bd7d4db08f4fc20a625020da329784aaac
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
scripts/generate_specializations.py
cxwx/VecGeom
c86c00bd7d4db08f4fc20a625020da329784aaac
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Script to generate translation and rotation specializations of placed volumes, rotation = [0x1B1, 0x18E, 0x076, 0x16A, 0x155, 0x0AD, 0x0DC, 0x0E3, 0x11B, 0x0A1, 0x10A, 0x046, 0x062, 0x054, 0x111, 0x200] translation = ["translation::kGeneric", "translation::kIdentity"] header_string = """\ /// @file Tran...
27.636364
82
0.703947
137
1,216
6.080292
0.525547
0.060024
0.054022
0.072029
0.172869
0.172869
0.172869
0.172869
0.172869
0.172869
0
0.055828
0.160362
1,216
43
83
28.27907
0.760039
0.064145
0
0.323529
1
0
0.590669
0.162852
0
0
0.070423
0
0
1
0
false
0
0
0
0.058824
0
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
7f154c8efa0d09d5bafb64a9c30aa311679b44b4
2,720
py
Python
terminal.py
TheMasterVenom/Animasi
ffb8255781145c858e9a7b5fbb87f96789044bbe
[ "MIT" ]
1
2020-09-25T14:06:42.000Z
2020-09-25T14:06:42.000Z
terminal.py
TheMasterVenom/Animasi
ffb8255781145c858e9a7b5fbb87f96789044bbe
[ "MIT" ]
null
null
null
terminal.py
TheMasterVenom/Animasi
ffb8255781145c858e9a7b5fbb87f96789044bbe
[ "MIT" ]
null
null
null
import os,sys,random,string,time p = '\x1b[1;97m' m = '\x1b[1;91m' b = '\x1b[1;93m' h = '\033[1;92m' def muat(): m = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', ...
43.870968
600
0.479044
390
2,720
3.335897
0.482051
0.06226
0.069178
0.030746
0.428132
0.387394
0.3505
0.256726
0.256726
0.256726
0
0.125
0.252941
2,720
61
601
44.590164
0.515256
0.014706
0
0.240741
0
0
0.411721
0.011198
0
0
0
0
0
0
null
null
0
0.018519
null
null
0.148148
0
0
0
null
0
0
0
0
0
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
7f16dcb64bd4e55c260338f8c288f66c6c9ca81c
2,436
py
Python
baoming/webapp/migrations/0027_auto_20190711_0919.py
hanxiaoshun/RegistrationSystem
2f7310508fc1725e96fe941b1062ce7f26f265a4
[ "Apache-2.0" ]
null
null
null
baoming/webapp/migrations/0027_auto_20190711_0919.py
hanxiaoshun/RegistrationSystem
2f7310508fc1725e96fe941b1062ce7f26f265a4
[ "Apache-2.0" ]
14
2020-06-06T01:24:24.000Z
2022-03-12T00:17:22.000Z
baoming/webapp/migrations/0027_auto_20190711_0919.py
hanxiaoshun/RegistrationSystem
2f7310508fc1725e96fe941b1062ce7f26f265a4
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2.2 on 2019-07-11 01:19 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('webapp', '0026_studentinfo_course_hours'), ] operations = [ migrations.AddFiel...
56.651163
236
0.650657
273
2,436
5.615385
0.40293
0.07893
0.048924
0.049576
0.327462
0.206132
0.121331
0.121331
0
0
0
0.019497
0.199918
2,436
42
237
58
0.76706
0.018473
0
0.194444
1
0
0.235245
0.108414
0
0
0
0
0
1
0
false
0
0.083333
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7f18380e873350e3f8947c80ff76983b716cd410
3,205
py
Python
tests/test_command_index.py
wrenchzc/photomanagger
1111587762b6e71b9ffff06241cdcd537b8c96e9
[ "MIT" ]
null
null
null
tests/test_command_index.py
wrenchzc/photomanagger
1111587762b6e71b9ffff06241cdcd537b8c96e9
[ "MIT" ]
4
2019-09-18T14:58:16.000Z
2022-01-13T00:43:22.000Z
tests/test_command_index.py
wrenchzc/photomanager
1111587762b6e71b9ffff06241cdcd537b8c96e9
[ "MIT" ]
null
null
null
import os import time import shutil from photomanager.commands.index import CommandIndex from photomanager.lib.pmconst import PMDBNAME from photomanager.db.models import ImageMeta from photomanager.db.dbutils import close_db_session from tests.utils import remove_file, remove_tmp_files cmd_inx_test_root = 'tests/data'...
32.373737
94
0.743838
474
3,205
4.647679
0.151899
0.196096
0.086246
0.120744
0.72719
0.712665
0.664094
0.638675
0.638675
0.598729
0
0.010253
0.147894
3,205
98
95
32.704082
0.796412
0
0
0.472973
0
0
0.066167
0.040886
0
0
0
0
0.310811
1
0.121622
false
0
0.121622
0
0.243243
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
7f1f3c2409c4012c00d2c4bd792b41b3498c4f33
441
py
Python
language/python/python/magic_methods/getattr_magic_method.py
bigfoolliu/liu_aistuff
aa661d37c05c257ee293285dd0868fb7e8227628
[ "MIT" ]
1
2019-11-25T07:23:42.000Z
2019-11-25T07:23:42.000Z
language/python/python/magic_methods/getattr_magic_method.py
bigfoolliu/liu_aistuff
aa661d37c05c257ee293285dd0868fb7e8227628
[ "MIT" ]
13
2020-01-07T16:09:47.000Z
2022-03-02T12:51:44.000Z
language/python/python/magic_methods/getattr_magic_method.py
bigfoolliu/liu_aistuff
aa661d37c05c257ee293285dd0868fb7e8227628
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding:utf-8 -*- # author: bigfoolliu """ - getattr函数获取实例的属性 - __getattr__,当调用的属性或者方法不存在的时候,该方法会被调用 """ class A(object): def __init__(self, name): self.name = name def default_func(self): print("default func") def __getattr__(self, attr): return se...
15.206897
38
0.609977
52
441
4.75
0.596154
0.133603
0
0
0
0
0
0
0
0
0
0.008876
0.23356
441
28
39
15.75
0.721893
0.301587
0
0
0
0
0.090909
0
0
0
0
0
0
1
0.272727
false
0
0
0.090909
0.454545
0.181818
0
0
0
null
0
0
0
0
0
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
7f1fc2c94ecabfc726b62c5dd1b1a8913d738233
4,284
py
Python
cloudbuild-k8s-generator.py
rd4704/click-to-deploy
25347b39c60e508fed84f5f5019e5b1571afc627
[ "Apache-2.0" ]
null
null
null
cloudbuild-k8s-generator.py
rd4704/click-to-deploy
25347b39c60e508fed84f5f5019e5b1571afc627
[ "Apache-2.0" ]
null
null
null
cloudbuild-k8s-generator.py
rd4704/click-to-deploy
25347b39c60e508fed84f5f5019e5b1571afc627
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
27.113924
108
0.676004
537
4,284
5.292365
0.411546
0.015834
0.024631
0.019704
0.181914
0.158691
0.128431
0.128431
0.076707
0.076707
0
0.007941
0.176937
4,284
157
109
27.286624
0.798071
0.147059
0
0.295082
0
0.008197
0.747114
0.198736
0
0
0
0.006369
0
1
0.008197
false
0
0.008197
0
0.016393
0.016393
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7f20e366882158b318795939fa19abf6558adcd5
420
py
Python
src/hommmer/cleaners/group_weekly.py
hammer-mt/hommmer
a02cb87841395f30911242a019f28f6ac15f27ec
[ "MIT" ]
4
2021-11-09T21:27:30.000Z
2021-11-23T00:38:20.000Z
src/hommmer/cleaners/group_weekly.py
hammer-mt/hommmer
a02cb87841395f30911242a019f28f6ac15f27ec
[ "MIT" ]
null
null
null
src/hommmer/cleaners/group_weekly.py
hammer-mt/hommmer
a02cb87841395f30911242a019f28f6ac15f27ec
[ "MIT" ]
null
null
null
def group_weekly(df, date_col): weekly = df.copy() weekly['week'] = weekly[date_col].dt.isocalendar().week weekly['year'] = weekly[date_col].dt.isocalendar().year weekly['year_week'] = weekly['year'].astype(str) + "-" + weekly['week'].astype(str) weekly = weekly.groupby('year_week').sum() weekly...
46.666667
87
0.659524
57
420
4.736842
0.403509
0.077778
0.096296
0.111111
0.192593
0
0
0
0
0
0
0.002778
0.142857
420
9
88
46.666667
0.747222
0
0
0
0
0
0.102138
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61305185602b3fc2ca15b44910b2b53b1d12ac18
186
py
Python
python/1427_SortInsight.py
anothel/BOJ
cfc693322e609d319aaa8705d4375d098c034b76
[ "MIT" ]
null
null
null
python/1427_SortInsight.py
anothel/BOJ
cfc693322e609d319aaa8705d4375d098c034b76
[ "MIT" ]
null
null
null
python/1427_SortInsight.py
anothel/BOJ
cfc693322e609d319aaa8705d4375d098c034b76
[ "MIT" ]
null
null
null
from sys import stdin def main(): for s in sorted(list(map(int, stdin.readline().strip())), reverse=True): print("", end="".join(str(s))) if __name__ == "__main__": main()
16.909091
74
0.612903
27
186
3.925926
0.851852
0
0
0
0
0
0
0
0
0
0
0
0.177419
186
10
75
18.6
0.69281
0
0
0
0
0
0.043011
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1