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
c575db31bc55b7d2a05ba2ee7431751f7b194cd8
1,235
py
Python
tests/test_coordinate_system.py
philschatz/manim
e3359a571d9a02a08979b3e037ddada3e874eb7c
[ "MIT" ]
2
2020-07-17T19:59:51.000Z
2020-10-14T16:38:23.000Z
tests/test_coordinate_system.py
philschatz/manim
e3359a571d9a02a08979b3e037ddada3e874eb7c
[ "MIT" ]
3
2021-04-28T14:44:39.000Z
2021-04-28T15:32:43.000Z
tests/test_coordinate_system.py
philschatz/manim
e3359a571d9a02a08979b3e037ddada3e874eb7c
[ "MIT" ]
1
2021-02-09T08:04:03.000Z
2021-02-09T08:04:03.000Z
import pytest import numpy as np from manim import CoordinateSystem as CS from manim import Axes, ThreeDAxes, NumberPlane, ComplexPlane from manim import config, tempconfig, ORIGIN, LEFT def test_initial_config(): """Check that all attributes are defined properly from the config.""" cs = CS() assert cs.x_...
30.875
73
0.680162
170
1,235
4.758824
0.352941
0.07911
0.044499
0.029666
0.103832
0.103832
0
0
0
0
0
0.022358
0.203239
1,235
39
74
31.666667
0.799797
0.133603
0
0.071429
0
0
0.093928
0
0
0
0
0
0.5
1
0.107143
false
0
0.178571
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
3d66cdd0e059d09fbed837b35b8ecf3eb0778ebb
1,940
py
Python
flask_core/middleware/AuthMiddleware.py
secedu/flask-core
3d8def8280613825f070d150372f9513f7727b69
[ "Apache-2.0" ]
3
2019-03-07T05:33:21.000Z
2019-04-22T22:29:34.000Z
flask_core/middleware/AuthMiddleware.py
secedu/flask-core
3d8def8280613825f070d150372f9513f7727b69
[ "Apache-2.0" ]
23
2019-03-10T15:03:14.000Z
2019-05-16T11:15:22.000Z
flask_core/middleware/AuthMiddleware.py
secedu/flask-core
3d8def8280613825f070d150372f9513f7727b69
[ "Apache-2.0" ]
3
2019-03-07T05:33:05.000Z
2021-02-17T16:39:18.000Z
#!/usr/bin/env python3 class AuthMiddleware(object): def __init__(self, wsgi_app): self.wsgi_app = wsgi_app self.app = wsgi_app.__self__ self.cse_endpoint = self.app.config["CSE_AUTH_ENDPOINT"] self.assertion_pub_key = self.app.config["CSE_AUTH_PUBKEY"] # Register the zID ...
32.881356
120
0.647423
239
1,940
5.037657
0.41841
0.046512
0.064784
0.049834
0.210963
0.107973
0
0
0
0
0
0.002764
0.254124
1,940
58
121
33.448276
0.829302
0.304124
0
0.090909
0
0
0.196831
0
0
0
0
0.017241
0.045455
1
0.181818
false
0
0.045455
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
3d683bafe82a989248c57288e563d905e34947f6
532
py
Python
triangular_lattice/save_data.py
ssh0/growing-string
2e43916e91157dfb4253775149b35ec9d81ef14d
[ "MIT" ]
null
null
null
triangular_lattice/save_data.py
ssh0/growing-string
2e43916e91157dfb4253775149b35ec9d81ef14d
[ "MIT" ]
1
2016-04-14T08:15:28.000Z
2016-04-27T02:57:13.000Z
triangular_lattice/save_data.py
ssh0/growing-string
2e43916e91157dfb4253775149b35ec9d81ef14d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- # # written by Shotaro Fujimoto # 2016-11-17 import numpy as np import time def save(base, after='', timestamp=True, **kwargs): if timestamp: current_time = time.strftime("%y%m%d_%H%M%S") else: current_time = '' fpath = base + current_time + af...
18.344828
53
0.541353
72
532
3.833333
0.708333
0.119565
0
0
0
0
0
0
0
0
0
0.043257
0.261278
532
28
54
19
0.659033
0.150376
0
0
0
0
0.089686
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3d71b0618fc612df51bf06d4a5d99972354ef843
8,507
py
Python
src/installer/src/tortuga/schema/__init__.py
sutasu/tortuga
48d7cde4fa652346600b217043b4a734fa2ba455
[ "Apache-2.0" ]
33
2018-03-02T17:07:39.000Z
2021-05-21T18:02:51.000Z
src/installer/src/tortuga/schema/__init__.py
sutasu/tortuga
48d7cde4fa652346600b217043b4a734fa2ba455
[ "Apache-2.0" ]
201
2018-03-05T14:28:24.000Z
2020-11-23T19:58:27.000Z
src/installer/src/tortuga/schema/__init__.py
sutasu/tortuga
48d7cde4fa652346600b217043b4a734fa2ba455
[ "Apache-2.0" ]
23
2018-03-02T17:21:59.000Z
2020-11-18T14:52:38.000Z
# Copyright 2008-2018 Univa Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
32.101887
76
0.69002
790
8,507
7.405063
0.270886
0.061538
0.046667
0.068205
0.165641
0.140513
0.111111
0.065983
0.046838
0.022564
0
0.002109
0.219819
8,507
264
77
32.223485
0.879313
0.08111
0
0.214689
0
0
0.139231
0.087692
0
0
0
0
0
1
0.011299
false
0.00565
0.129944
0
0.570621
0
0
0
0
null
0
0
0
0
0
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
3d7658f4e74a0a12a9fc380fa3056c0baf16f2dd
736
py
Python
poretools/readstats.py
ambro01/poretools
0746e4ed7e51dc1914834d4e2f9b2698dd19d1a8
[ "MIT" ]
202
2015-01-04T17:27:44.000Z
2022-01-25T02:29:51.000Z
poretools/readstats.py
ambro01/poretools
0746e4ed7e51dc1914834d4e2f9b2698dd19d1a8
[ "MIT" ]
137
2015-01-07T17:00:31.000Z
2021-05-13T07:54:30.000Z
poretools/readstats.py
ambro01/poretools
0746e4ed7e51dc1914834d4e2f9b2698dd19d1a8
[ "MIT" ]
88
2015-01-07T19:55:00.000Z
2021-12-08T03:04:50.000Z
import Fast5File def run(parser, args): print "start_time\tchannel_number\tread_number\ttemplate_events\tcomplement_events" for fast5 in Fast5File.Fast5FileSet(args.files): start_time = fast5.get_start_time() channel_number = fast5.get_channel_number() read_number = fast5.get_read_number() template_event...
26.285714
102
0.767663
106
736
5.018868
0.330189
0.075188
0.022556
0.022556
0.016917
0.016917
0.016917
0
0
0
0
0.018957
0.139946
736
27
103
27.259259
0.821485
0
0
0.105263
0
0
0.126359
0.101902
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.105263
0
0
0
null
0
0
0
0
0
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
3d76fb90c9f23157a9a5cbae74d7b3f45f030211
538
py
Python
src/main/migrations/0018_club_ctype.py
shashankmohabia/gymkhana-master
a0d399d781797a2f63fb81a1ae287714213d068b
[ "MIT" ]
1
2018-08-13T09:11:27.000Z
2018-08-13T09:11:27.000Z
src/main/migrations/0018_club_ctype.py
shashankmohabia/gymkhana-master
a0d399d781797a2f63fb81a1ae287714213d068b
[ "MIT" ]
null
null
null
src/main/migrations/0018_club_ctype.py
shashankmohabia/gymkhana-master
a0d399d781797a2f63fb81a1ae287714213d068b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-06-25 14:25 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0017_auto_20170625_1622'), ] operations = [ migrations.AddField( ...
25.619048
145
0.605948
65
538
4.846154
0.784615
0
0
0
0
0
0
0
0
0
0
0.083538
0.243494
538
20
146
26.9
0.690418
0.126394
0
0
1
0
0.162741
0.049251
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3d7a5ab99fb652a6cea60674f852c46293741509
26,445
py
Python
dls_powerpmacanalyse/ui_formAnalyseControl.py
Observatory-Sciences/dls-powerpmac-analyse
3b7ddfabd2367fb5f0a68980b05da85e1a969919
[ "Apache-2.0" ]
null
null
null
dls_powerpmacanalyse/ui_formAnalyseControl.py
Observatory-Sciences/dls-powerpmac-analyse
3b7ddfabd2367fb5f0a68980b05da85e1a969919
[ "Apache-2.0" ]
1
2022-03-09T13:02:45.000Z
2022-03-09T13:02:45.000Z
dls_powerpmacanalyse/ui_formAnalyseControl.py
Observatory-Sciences/dls-powerpmac-analyse
3b7ddfabd2367fb5f0a68980b05da85e1a969919
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file # 'dls_powerpmacanalyse/formAnalyseControl.ui' # # Created by: PyQt5 UI code generator 5.15.4 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing...
54.63843
88
0.679183
2,788
26,445
6.324605
0.11155
0.085068
0.05053
0.020416
0.503601
0.345545
0.212556
0.109964
0.08779
0.075313
0
0.045956
0.207601
26,445
483
89
54.751553
0.795514
0.011496
0
0.08547
1
0.004274
0.156016
0.008381
0
0
0
0
0
1
0.004274
false
0
0.002137
0
0.008547
0
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
3d85b184a6f9dfe8bbec9b59cfd6ab37332c8f16
1,835
py
Python
Chapter40.Metaclasses/5-metainstance.py
mindnhand/Learning-Python-5th
3dc1b28d6e048d512bf851de6c7f6445edfe7b84
[ "MIT" ]
null
null
null
Chapter40.Metaclasses/5-metainstance.py
mindnhand/Learning-Python-5th
3dc1b28d6e048d512bf851de6c7f6445edfe7b84
[ "MIT" ]
null
null
null
Chapter40.Metaclasses/5-metainstance.py
mindnhand/Learning-Python-5th
3dc1b28d6e048d512bf851de6c7f6445edfe7b84
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 #encoding=utf-8 #-------------------------------------------- # Usage: python3 5-metainstance.py # Description: metaclass' attribute can't be passed to the latter class' instance #-------------------------------------------- class MetaOne(type): def __new__(meta, classname, supers, class...
26.594203
130
0.592916
203
1,835
5.211823
0.438424
0.030246
0.068053
0.041588
0.232514
0
0
0
0
0
0
0.018369
0.258311
1,835
68
131
26.985294
0.759001
0.216349
0
0.193548
0
0
0.122137
0
0
0
0
0
0
1
0.129032
false
0
0.032258
0.096774
0.387097
0.419355
0
0
0
null
0
0
0
0
0
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
3d892a2ffad28af0e996f4454e604f63075e1df7
3,938
py
Python
Sketches/MPS/Experiments/DistPipe/PickleMarshall.py
sparkslabs/kamaelia_orig
24b5f855a63421a1f7c6c7a35a7f4629ed955316
[ "Apache-2.0" ]
12
2015-10-20T10:22:01.000Z
2021-07-19T10:09:44.000Z
Sketches/MPS/Experiments/DistPipe/PickleMarshall.py
sparkslabs/kamaelia_orig
24b5f855a63421a1f7c6c7a35a7f4629ed955316
[ "Apache-2.0" ]
2
2015-10-20T10:22:55.000Z
2017-02-13T11:05:25.000Z
Sketches/MPS/Experiments/DistPipe/PickleMarshall.py
sparkslabs/kamaelia_orig
24b5f855a63421a1f7c6c7a35a7f4629ed955316
[ "Apache-2.0" ]
6
2015-03-09T12:51:59.000Z
2020-03-01T13:06:21.000Z
#!/usr/bin/python import re import sys import pickle from Kamaelia.Util.Backplane import * from Kamaelia.Chassis.Pipeline import Pipeline from Kamaelia.Chassis.Graphline import Graphline from Kamaelia.Util.Marshalling import * from Kamaelia.Util.Console import * from Kamaelia.Internet.SingleServer import SingleServer ...
30.292308
103
0.591417
384
3,938
6.041667
0.341146
0.017241
0.021552
0.025862
0.117241
0.090517
0.036207
0.036207
0.036207
0.036207
0
0.052445
0.283393
3,938
129
104
30.527132
0.769667
0.031996
0
0.156863
0
0
0.09061
0.044073
0
0
0
0
0
0
null
null
0
0.117647
null
null
0.009804
0
0
0
null
0
0
0
0
0
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
3d92eff642938329b3c2de216550fba2875f5a25
1,565
py
Python
fin_model_course/gradetools/project_3/run.py
whoopnip/fin-model-course
e6c5ae313bba601c4aca0f334818b61cc0393118
[ "MIT" ]
5
2020-08-29T15:28:39.000Z
2021-12-01T16:53:25.000Z
fin_model_course/gradetools/project_3/run.py
whoopnip/fin-model-course
e6c5ae313bba601c4aca0f334818b61cc0393118
[ "MIT" ]
16
2020-02-26T16:03:47.000Z
2021-06-15T15:17:37.000Z
fin_model_course/gradetools/project_3/run.py
whoopnip/fin-model-course
e6c5ae313bba601c4aca0f334818b61cc0393118
[ "MIT" ]
3
2021-01-22T19:38:36.000Z
2021-09-28T08:14:00.000Z
from typing import Dict, List from gradetools.excel.io import get_inputs_outputs_sheet_from_file_path from gradetools.model_type import ModelType, get_excel_file_from_model_files from gradetools.project_3.calculate import run_model_extract_results_dict from gradetools.inputs import set_inputs from gradetools.project_3...
44.714286
101
0.716294
217
1,565
4.806452
0.336406
0.051774
0.049856
0.040268
0.162991
0.113135
0.063279
0
0
0
0
0.004068
0.214696
1,565
34
102
46.029412
0.844589
0.107987
0
0
0
0
0.005751
0
0
0
0
0.029412
0
1
0.041667
false
0
0.25
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
3d94e059f5958da37cc11104814884944616aebd
1,131
py
Python
molo/surveys/migrations/0021_surveyresponserule.py
praekelt/molo.surveys
c86d231f7cee669eb1c91db49ec05cf711984e30
[ "BSD-3-Clause" ]
null
null
null
molo/surveys/migrations/0021_surveyresponserule.py
praekelt/molo.surveys
c86d231f7cee669eb1c91db49ec05cf711984e30
[ "BSD-3-Clause" ]
88
2016-06-14T18:36:18.000Z
2018-09-21T07:33:58.000Z
molo/surveys/migrations/0021_surveyresponserule.py
praekeltfoundation/molo.surveys
c86d231f7cee669eb1c91db49ec05cf711984e30
[ "BSD-3-Clause" ]
1
2017-10-02T09:27:45.000Z
2017-10-02T09:27:45.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.13 on 2017-11-22 15:09 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import modelcluster.fields class Migration(migrations.Migration): dependencies = [ ('surveys', '0020_formfield_admin_...
37.7
242
0.659593
119
1,131
6.05042
0.579832
0.044444
0.058333
0.091667
0.102778
0.102778
0.102778
0
0
0
0
0.028121
0.21397
1,131
29
243
39
0.781777
0.060124
0
0
1
0
0.242453
0.150943
0
0
0
0
0
1
0
false
0
0.181818
0
0.318182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3d9b88fac7e6713d8119c5840f8d4b437e5a3edc
1,484
py
Python
Python/tdw/backend/platforms.py
felixbinder/tdw
eb2b00b74b9fcf8ef2dcba1baa62424640c520b1
[ "BSD-2-Clause" ]
307
2020-05-20T18:08:49.000Z
2022-03-21T19:55:08.000Z
Python/tdw/backend/platforms.py
felixbinder/tdw
eb2b00b74b9fcf8ef2dcba1baa62424640c520b1
[ "BSD-2-Clause" ]
92
2020-07-21T18:29:13.000Z
2022-03-28T07:25:54.000Z
Python/tdw/backend/platforms.py
felixbinder/tdw
eb2b00b74b9fcf8ef2dcba1baa62424640c520b1
[ "BSD-2-Clause" ]
53
2020-07-14T15:55:17.000Z
2022-03-20T16:20:01.000Z
from typing import Dict # Convert platform.system() to S3 URL infixes. SYSTEM_TO_S3: Dict[str, str] = {"Windows": "windows", "Darwin": "osx", "Linux": "linux"} # Convert S3 URL infixes to Unity build targets. S3_TO_UNITY: Dict[str, str] = {"windows...
51.172414
80
0.502695
133
1,484
5.488722
0.285714
0.065753
0.082192
0.116438
0.19726
0.19726
0.117808
0
0
0
0
0.021882
0.384097
1,484
28
81
53
0.776805
0.224394
0
0
0
0
0.276882
0
0
0
0
0
0
1
0
true
0
0.052632
0
0.052632
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
3d9f1268ca58b0d589ef8e07b00c5aeb7c3423de
8,266
py
Python
tests/backend/test_activity.py
plastr/extrasolar-game
1aad5971556d498e3617afe75f27e2f4132d4668
[ "MIT", "Unlicense" ]
null
null
null
tests/backend/test_activity.py
plastr/extrasolar-game
1aad5971556d498e3617afe75f27e2f4132d4668
[ "MIT", "Unlicense" ]
null
null
null
tests/backend/test_activity.py
plastr/extrasolar-game
1aad5971556d498e3617afe75f27e2f4132d4668
[ "MIT", "Unlicense" ]
null
null
null
# Copyright (c) 2010-2011 Lazy 8 Studios, LLC. # All rights reserved. from datetime import timedelta from front.models import species from front.lib import gametime, urls, db from front.backend import activity from front.tests import base from front.tests.base import SIX_HOURS, DELAYED_SPECIES_KEY, rects class TestAc...
57.006897
117
0.712557
1,121
8,266
5.023194
0.178412
0.102291
0.074587
0.08986
0.542532
0.509501
0.475404
0.421062
0.421062
0.40792
0
0.009559
0.190056
8,266
144
118
57.402778
0.831516
0.20421
0
0.474747
0
0
0.048237
0
0
0
0
0
0.444444
1
0.030303
false
0
0.060606
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
3da16df3047893ca7214963f7264e63d47e86699
713
py
Python
backend/health/health_recover.py
threefoldtech/zeroCI
851def4cbaebba681641ecb24c731de56277d6ed
[ "Apache-2.0" ]
null
null
null
backend/health/health_recover.py
threefoldtech/zeroCI
851def4cbaebba681641ecb24c731de56277d6ed
[ "Apache-2.0" ]
52
2019-11-14T09:39:04.000Z
2021-03-16T10:15:55.000Z
backend/health/health_recover.py
AhmedHanafy725/0-CI
ce73044eea2c15bcbb161a1d6f23e75e4f8d53a0
[ "Apache-2.0" ]
1
2019-10-30T09:51:25.000Z
2019-10-30T09:51:25.000Z
from utils.utils import Utils PATH = "/sandbox/code/github/threefoldtech/zeroCI/backend" TIMEOUT = 5 class Recover(Utils): def zeroci(self): cmd = f"/bin/bash -c 'cd {PATH}; python3 zeroci.py &>> zeroci.log &'" self.execute_cmd(cmd, timeout=TIMEOUT) def redis(self): cmd = "redis-serv...
31
86
0.631136
100
713
4.45
0.35
0.094382
0.125843
0.152809
0.510112
0.426966
0.426966
0.426966
0
0
0
0.005338
0.211781
713
22
87
32.409091
0.786477
0
0
0.1875
0
0.0625
0.375877
0.098177
0
0
0
0
0
1
0.25
false
0
0.0625
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
3da496224c13d2eace662a3117f44ecd5c4a042d
4,001
py
Python
pylark/lark_type.py
chyroc/pylark
a54cce6b814935fd3c72668b262b54c8ee461484
[ "Apache-2.0" ]
7
2021-08-18T00:42:05.000Z
2022-03-14T09:49:15.000Z
pylark/lark_type.py
chyroc/pylark
a54cce6b814935fd3c72668b262b54c8ee461484
[ "Apache-2.0" ]
null
null
null
pylark/lark_type.py
chyroc/pylark
a54cce6b814935fd3c72668b262b54c8ee461484
[ "Apache-2.0" ]
1
2022-03-14T09:49:20.000Z
2022-03-14T09:49:20.000Z
# coding: utf-8 from __future__ import absolute_import, division, print_function, unicode_literals import typing from enum import Enum import attr class MsgType(Enum): """MsgType 消息类型""" text = "text" # 文本 post = "post" # 富文本 image = "image" # 图片 file = "file" # 文件 audio = "audio" # 语音...
22.60452
135
0.63859
455
4,001
5.413187
0.432967
0.040601
0.026391
0.040601
0.125051
0.116119
0.09663
0.09663
0.065773
0
0
0.003587
0.233442
4,001
176
136
22.732955
0.799478
0.184454
0
0.156863
0
0
0.209755
0.007013
0
0
0
0
0
1
0
false
0
0.039216
0
0.95098
0.009804
0
0
0
null
0
0
0
0
0
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
3daeeae0d8f7b701527d2018c79900011d78bb82
11,011
py
Python
aperture/TEM_wqslit.py
rhambach/TEMareels
92a907f483baeb919dd485895c56454f0b552c76
[ "MIT" ]
null
null
null
aperture/TEM_wqslit.py
rhambach/TEMareels
92a907f483baeb919dd485895c56454f0b552c76
[ "MIT" ]
null
null
null
aperture/TEM_wqslit.py
rhambach/TEMareels
92a907f483baeb919dd485895c56454f0b552c76
[ "MIT" ]
1
2019-03-20T21:05:24.000Z
2019-03-20T21:05:24.000Z
""" Rectangular off-axis aperture for a w-q mapping in a TEM. The slit is defined by the width dqy in the energy-dispersive direction and the bin width dqx for each spectrum; q0 denotes the center of the aperture. USAGE The angular correction function for w-q mapping can be calculated as ...
37.838488
129
0.581146
1,815
11,011
3.441873
0.199449
0.017608
0.028174
0.014407
0.23003
0.155755
0.141508
0.109012
0.077317
0.072195
0
0.049534
0.259286
11,011
290
130
37.968966
0.716405
0.097357
0
0.115854
0
0.04878
0.234701
0.002824
0
0
0
0.003448
0.04878
0
null
null
0
0.060976
null
null
0.030488
0
0
0
null
0
0
0
0
0
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
3db27beabad864c1105bbf3bc0e394418fbd314e
1,380
py
Python
Python/multiple_linear_regression.py
rubelbd82/Udemy_Machine_Learning_A-Z_practice_codes
244949721d22d795e6f46e644b5bc7e5a8c17e49
[ "Apache-2.0" ]
null
null
null
Python/multiple_linear_regression.py
rubelbd82/Udemy_Machine_Learning_A-Z_practice_codes
244949721d22d795e6f46e644b5bc7e5a8c17e49
[ "Apache-2.0" ]
null
null
null
Python/multiple_linear_regression.py
rubelbd82/Udemy_Machine_Learning_A-Z_practice_codes
244949721d22d795e6f46e644b5bc7e5a8c17e49
[ "Apache-2.0" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import pandas as pd # Improting the dataset dataset = pd.read_csv('50_Startups.csv') X = dataset.iloc[:, :-1].values # print(X) y = dataset.iloc[:, 4].values # # from sklearn.preprocessing import LabelEncoder, OneHotEncoder # labelEncoder_X = LabelEncoder() # X[:,...
25.555556
88
0.769565
192
1,380
5.328125
0.338542
0.076246
0.063539
0.087977
0.27566
0.224829
0.158358
0.158358
0.158358
0.158358
0
0.011494
0.117391
1,380
53
89
26.037736
0.828407
0.336232
0
0
0
0
0.01992
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3dc3db1a2ddfb259e729112fc6392645dcbb2507
1,169
py
Python
tenable/cs/base.py
allenmichael/pyTenable
8372cfdf3ced99de50227f6fbb37d6db2b26291e
[ "MIT" ]
null
null
null
tenable/cs/base.py
allenmichael/pyTenable
8372cfdf3ced99de50227f6fbb37d6db2b26291e
[ "MIT" ]
1
2021-08-18T17:26:30.000Z
2021-08-18T17:26:30.000Z
tenable/cs/base.py
allenmichael/pyTenable
8372cfdf3ced99de50227f6fbb37d6db2b26291e
[ "MIT" ]
null
null
null
from tenable.base import APIResultsIterator, APIEndpoint class CSEndpoint(APIEndpoint): pass class CSIterator(APIResultsIterator): def _get_data(self): ''' Performs the actual page action and returns the response. ''' return None def _get_page(self): ''' Ge...
33.4
77
0.626176
154
1,169
4.642857
0.5
0.05035
0.022378
0
0
0
0
0
0
0
0
0.002454
0.302823
1,169
35
78
33.4
0.874847
0.419162
0
0
0
0
0.031949
0
0
0
0
0
0
1
0.133333
false
0.066667
0.066667
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3dc59f15620fef67a3db5d50fd8b054b561ebb83
302
py
Python
parkworker/asyncio/work.py
telminov/park-worker-base
35fa90939b68bd47f1c82ba49fc80d419a079964
[ "MIT" ]
1
2017-07-03T08:02:50.000Z
2017-07-03T08:02:50.000Z
parkworker/asyncio/work.py
telminov/park-worker-base
35fa90939b68bd47f1c82ba49fc80d419a079964
[ "MIT" ]
null
null
null
parkworker/asyncio/work.py
telminov/park-worker-base
35fa90939b68bd47f1c82ba49fc80d419a079964
[ "MIT" ]
null
null
null
# coding: utf-8 from parkworker.work import Work from parkworker.task_processor import TaskResult class AsyncWork(Work): def work(self, **kwargs): raise Exception('Use async_work() method instead.') async def async_work(self, **kwargs) -> TaskResult: raise NotImplemented()
23.230769
59
0.708609
37
302
5.702703
0.594595
0.132701
0.132701
0
0
0
0
0
0
0
0
0.004082
0.188742
302
12
60
25.166667
0.857143
0.043046
0
0
0
0
0.111498
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
3dca189d87dfdd1d878f8e318ab9a6342d866e31
335
py
Python
api/shop/urls.py
nschhina/Shopify-Dev-Challenge-2019-Winter
d471297788031709883b1ff097503c2cd04595b0
[ "MIT" ]
1
2019-06-10T17:21:14.000Z
2019-06-10T17:21:14.000Z
api/shop/urls.py
nschhina/Shopify-Dev-Challenge-2019-Winter
d471297788031709883b1ff097503c2cd04595b0
[ "MIT" ]
4
2020-02-11T23:13:30.000Z
2021-06-10T20:49:42.000Z
api/shop/urls.py
nschhina/Shopify-Dev-Challenge-2019-Winter
d471297788031709883b1ff097503c2cd04595b0
[ "MIT" ]
1
2020-09-07T01:57:09.000Z
2020-09-07T01:57:09.000Z
#!/usr/bin/python from django.contrib import admin from django.urls import path, include from .views import login from django.conf.urls import url urlpatterns = [ path('products/', include('product.urls')), path('login/', login), path('orders/', include('order.urls')), path('lineitem/', include('linei...
23.928571
48
0.686567
43
335
5.348837
0.488372
0.130435
0
0
0
0
0
0
0
0
0
0
0.143284
335
13
49
25.769231
0.801394
0.047761
0
0
0
0
0.207547
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3dcae34c9f23ece36fcbcad81bbc2d588363b242
511
py
Python
11/11-8(initialize).py
sukio-1024/codeitPy
43f4c6d5205eab9cb4780ceb8799b04ce7b10acb
[ "MIT" ]
null
null
null
11/11-8(initialize).py
sukio-1024/codeitPy
43f4c6d5205eab9cb4780ceb8799b04ce7b10acb
[ "MIT" ]
null
null
null
11/11-8(initialize).py
sukio-1024/codeitPy
43f4c6d5205eab9cb4780ceb8799b04ce7b10acb
[ "MIT" ]
null
null
null
class User: def initialize(self, name, email, password): self.name = name self.email = email self.password = password user1 = User() user1.initialize("Young", "young@codeit.kr", "123456") user2 = User() user2.initialize("Yoonsoo", "yoonsoo@codeit.kr", "abcdef") user3 = User() user3.initi...
22.217391
58
0.675147
65
511
5.307692
0.353846
0.092754
0
0
0
0
0
0
0
0
0
0.0553
0.150685
511
23
59
22.217391
0.739631
0
0
0
0
0
0.207031
0
0
0
0
0
0
1
0.058824
false
0.176471
0
0
0.117647
0.235294
0
0
0
null
0
0
0
0
0
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
3dcaec51b74e168586724fc3fbd708463f623432
546
py
Python
ivy/functional/backends/tensorflow/activations.py
sohil-hub/ivy
c3ecbc1a7e1429dcd9034f50d0250016290a6aff
[ "Apache-2.0" ]
null
null
null
ivy/functional/backends/tensorflow/activations.py
sohil-hub/ivy
c3ecbc1a7e1429dcd9034f50d0250016290a6aff
[ "Apache-2.0" ]
null
null
null
ivy/functional/backends/tensorflow/activations.py
sohil-hub/ivy
c3ecbc1a7e1429dcd9034f50d0250016290a6aff
[ "Apache-2.0" ]
null
null
null
""" Collection of TensorFlow activation functions, wrapped to fit Ivy syntax and signature. """ from typing import Optional # global import tensorflow as tf from tensorflow.python.types.core import Tensor def relu(x: Tensor)\ -> Tensor: return tf.nn.relu(x) def leaky_relu(x: Tensor, alpha: Optional[fl...
20.222222
87
0.70696
82
546
4.682927
0.5
0.072917
0.057292
0.083333
0
0
0
0
0
0
0
0.004464
0.179487
546
26
88
21
0.852679
0.173993
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.214286
0.142857
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
0
1
0
0
0
1
3dcc9a1b337e14a34b417cef087607862dbda677
426
py
Python
app/content/tests/test_signals.py
TIHLDE/Lepton
60ec0793381f1c1b222f305586e8c2d4345fb566
[ "MIT" ]
7
2021-03-04T18:49:12.000Z
2021-03-08T18:25:51.000Z
app/content/tests/test_signals.py
TIHLDE/Lepton
60ec0793381f1c1b222f305586e8c2d4345fb566
[ "MIT" ]
251
2021-03-04T19:19:14.000Z
2022-03-31T14:47:53.000Z
app/content/tests/test_signals.py
tihlde/Lepton
5cab3522c421b76373a5c25f49267cfaef7b826a
[ "MIT" ]
3
2021-10-05T19:03:04.000Z
2022-02-25T13:32:09.000Z
from unittest.mock import patch import pytest from ..factories import EventWithSignalsFactory @pytest.mark.django_db @patch("app.content.signals.run_celery_tasks_for_event") def test_event_reminders_is_called_after_event_save(mock_run_celery_tasks_for_event): """Event reminders should be sent after event is suc...
28.4
85
0.833333
59
426
5.627119
0.559322
0.081325
0.126506
0.153614
0.222892
0.156627
0
0
0
0
0
0
0.103286
426
14
86
30.428571
0.86911
0.152582
0
0
0
0
0.129577
0.129577
0
0
0
0
0.125
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
3dd2035878a1dbc3bc325ece5be719d42519716b
1,425
py
Python
shared/utils.py
florianm/wastd
e26bdd66fd082ae1ffbe7b72bc9e3b216fc24523
[ "MIT" ]
null
null
null
shared/utils.py
florianm/wastd
e26bdd66fd082ae1ffbe7b72bc9e3b216fc24523
[ "MIT" ]
56
2016-08-01T01:12:50.000Z
2016-10-09T04:55:12.000Z
shared/utils.py
florianm/wastd
e26bdd66fd082ae1ffbe7b72bc9e3b216fc24523
[ "MIT" ]
null
null
null
"""Shared utilities.""" import re from collections import namedtuple from collections.abc import Iterable Breadcrumb = namedtuple('Breadcrumb', ['name', 'url']) def sanitize_tag_label(label_string): """Return string slugified, uppercased and without dashes.""" return re.sub(r'[-\s]+', '-', (re.sub(r'[^\w\s]...
26.886792
105
0.609825
192
1,425
4.484375
0.510417
0.034843
0.013937
0.037166
0
0
0
0
0
0
0
0.003749
0.251228
1,425
52
106
27.403846
0.803187
0.329825
0
0.148148
0
0
0.04902
0
0
0
0
0
0
1
0.185185
false
0
0.111111
0.074074
0.518519
0
0
0
0
null
0
0
0
0
0
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
3dd5174ad8b8b9666027604c3c983b036d88f0d3
538
py
Python
src/indriya_robot_interface/behaviors/altts.py
praveenv4k/Indriya
a74a4b8bb9f04b5e858305769e892edfcab32df5
[ "MIT" ]
1
2017-07-12T15:30:58.000Z
2017-07-12T15:30:58.000Z
src/indriya_robot_interface/behaviors/altts.py
praveenv4k/Indriya
a74a4b8bb9f04b5e858305769e892edfcab32df5
[ "MIT" ]
null
null
null
src/indriya_robot_interface/behaviors/altts.py
praveenv4k/Indriya
a74a4b8bb9f04b5e858305769e892edfcab32df5
[ "MIT" ]
1
2016-03-09T12:34:19.000Z
2016-03-09T12:34:19.000Z
import sys from naoqi import ALProxy #if (len(sys.argv) < 2): # print "Usage: 'python texttospeech_getavailablelanguages.py IP [PORT]'" # sys.exit(1) #IP = sys.argv[1] #PORT = 9559 IP = '127.0.0.1' PORT = 57105 if (len(sys.argv) > 2): PORT = sys.argv[2] try: tts = ALProxy("ALTextToSpeech", IP, PORT) e...
20.692308
76
0.66171
79
538
4.493671
0.544304
0.078873
0.067606
0.067606
0.073239
0
0
0
0
0
0
0.047945
0.185874
538
26
77
20.692308
0.762557
0.260223
0
0
0
0
0.274112
0
0
0
0
0
0
0
null
null
0
0.133333
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3dda3434ecfd945cb2cb02b5eea78d7d02d53f07
1,073
py
Python
setup.py
gantzgraf/index_bam_by_read_id
801bc3c3f73a999ca65e4195927e9659ee2e64af
[ "MIT" ]
1
2019-07-26T14:36:48.000Z
2019-07-26T14:36:48.000Z
setup.py
david-a-parry/index_bam_by_read_id
801bc3c3f73a999ca65e4195927e9659ee2e64af
[ "MIT" ]
null
null
null
setup.py
david-a-parry/index_bam_by_read_id
801bc3c3f73a999ca65e4195927e9659ee2e64af
[ "MIT" ]
null
null
null
try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup setup( name = "index_bam_by_read_id", packages=[""], #packages=find_packages(), version = "0.1.8", description = "Sort, index and search BAM files by read ID", author = "David A. Parry"...
32.515152
92
0.625349
128
1,073
5.070313
0.617188
0.03698
0.049307
0.064715
0.154083
0.12943
0.12943
0.12943
0.12943
0.12943
0
0.015739
0.230196
1,073
32
93
33.53125
0.769976
0.023299
0
0.066667
0
0.033333
0.507163
0.021012
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
3ddb558807b37955a7c1c3c831c967d0330fd659
23,912
py
Python
BarrierMethod.py
neu-spiral/UtilityMaximizationProbCaching
7dea7001c428a54b9d4dc3622f5d272ae571bd49
[ "MIT" ]
1
2022-03-11T05:18:10.000Z
2022-03-11T05:18:10.000Z
BarrierMethod.py
neu-spiral/UtilityMaximizationProbCaching
7dea7001c428a54b9d4dc3622f5d272ae571bd49
[ "MIT" ]
null
null
null
BarrierMethod.py
neu-spiral/UtilityMaximizationProbCaching
7dea7001c428a54b9d4dc3622f5d272ae571bd49
[ "MIT" ]
3
2021-04-02T07:18:13.000Z
2022-03-11T05:18:17.000Z
from helpers import Project2Box, ProjOperator, squaredNorm, clearFile import logging import random import math import sys from topologyGenerator import Problem import numpy as np import argparse from SparseVector import SparseVector import time import pickle class boxOptimizer(): def __init__(self): """T...
41.950877
174
0.553404
2,774
23,912
4.593727
0.140952
0.02417
0.015538
0.008789
0.379895
0.278192
0.244762
0.194538
0.159225
0.137566
0
0.015148
0.356725
23,912
569
175
42.024605
0.813288
0.134368
0
0.242938
0
0
0.063644
0
0
0
0
0
0
0
null
null
0
0.031073
null
null
0.039548
0
0
0
null
0
0
0
0
0
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
3ddde545ef20f3e54df2a3acc5d41f6d51f20364
2,188
py
Python
rdftools/tools/raptor.py
cosminbasca/rdftools
5a9516e1a3bb52cbfc61ec546795a3b73fd82f48
[ "Apache-2.0" ]
4
2015-11-18T18:44:59.000Z
2021-05-04T18:35:11.000Z
rdftools/tools/raptor.py
cosminbasca/rdftools
5a9516e1a3bb52cbfc61ec546795a3b73fd82f48
[ "Apache-2.0" ]
1
2015-09-17T11:52:45.000Z
2015-09-17T11:52:45.000Z
rdftools/tools/raptor.py
cosminbasca/rdftools
5a9516e1a3bb52cbfc61ec546795a3b73fd82f48
[ "Apache-2.0" ]
2
2015-07-13T15:44:26.000Z
2015-11-16T21:23:04.000Z
# # author: Cosmin Basca # # Copyright 2010 University of Zurich # # 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 a...
27.35
102
0.598263
265
2,188
4.856604
0.550943
0.04662
0.020202
0.024864
0
0
0
0
0
0
0
0.007859
0.302102
2,188
80
103
27.35
0.834971
0.265539
0
0.148148
0
0
0.109434
0
0
0
0
0
0
0
null
null
0.018519
0.111111
null
null
0.018519
0
0
0
null
0
0
0
0
0
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
3dde5d69bcfae2dbe5e87854f6fe4e13c827aec4
399
py
Python
utils/generate_marker.py
Whillikers/archimedes-whiteboard
2b493bff665412507c04b80d200b6dc4bfed2ce2
[ "MIT" ]
2
2017-12-22T13:32:11.000Z
2018-08-28T00:46:38.000Z
utils/generate_marker.py
Whillikers/archimedes-whiteboard
2b493bff665412507c04b80d200b6dc4bfed2ce2
[ "MIT" ]
16
2017-12-22T12:55:40.000Z
2019-01-15T05:47:49.000Z
utils/generate_marker.py
Whillikers/archimedes-whiteboard
2b493bff665412507c04b80d200b6dc4bfed2ce2
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 ''' generate_marker.py Generates an ArUco marker image from the 6X6_250 OpenCV dictionary of a given id with 700 border pixels. See: www.philipzucker.com/aruco-in-opencv/ ''' import cv2 aruco_dict = cv2.aruco.Dictionary_get(cv2.aruco.DICT_6X6_250) id = input('Enter ArUco id: ') img = cv2.aruco...
26.6
75
0.741855
66
399
4.378788
0.621212
0.110727
0.083045
0
0
0
0
0
0
0
0
0.063037
0.125313
399
14
76
28.5
0.765043
0.473684
0
0
1
0
0.128713
0
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
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
3de1191735bc8135c06178afde810f50d95da077
439
py
Python
core/imagelib/draw.py
chuanli11/GFPGAN
4adbf820cef782c7d33113be35e5f1a49f2a3793
[ "BSD-3-Clause" ]
null
null
null
core/imagelib/draw.py
chuanli11/GFPGAN
4adbf820cef782c7d33113be35e5f1a49f2a3793
[ "BSD-3-Clause" ]
null
null
null
core/imagelib/draw.py
chuanli11/GFPGAN
4adbf820cef782c7d33113be35e5f1a49f2a3793
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import cv2 def draw_polygon (image, points, color, thickness = 1): points_len = len(points) for i in range (0, points_len): p0 = tuple( points[i] ) p1 = tuple( points[ (i+1) % points_len] ) cv2.line (image, p0, p1, color, thickness=thickness) def draw_rect(image, rec...
31.357143
75
0.6082
70
439
3.728571
0.4
0.214559
0.122605
0
0
0
0
0
0
0
0
0.029762
0.234624
439
13
76
33.769231
0.747024
0
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.363636
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3df0b3e2f63e2da23109cf47697609c218f0b3dc
419
py
Python
MonaLIA/data/target_transforms.py
Wimmics/MonaLIA
448cbcf08ddcd837f63cd959a5b7f1ff393e60d3
[ "CC0-1.0" ]
null
null
null
MonaLIA/data/target_transforms.py
Wimmics/MonaLIA
448cbcf08ddcd837f63cd959a5b7f1ff393e60d3
[ "CC0-1.0" ]
null
null
null
MonaLIA/data/target_transforms.py
Wimmics/MonaLIA
448cbcf08ddcd837f63cd959a5b7f1ff393e60d3
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Jul 9 18:02:18 2019 @author: abobashe """ class OneClassToOneHot (object): def __init__(self, class_num): self.class_num = class_num def __call__(self, target): if isinstance(target, int): new_target = [0] * self.class_num ...
22.052632
45
0.558473
50
419
4.38
0.58
0.146119
0.164384
0
0
0
0
0
0
0
0
0.05036
0.336516
419
19
46
22.052632
0.73741
0.183771
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.555556
0
0
0
0
null
0
0
0
0
0
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
3df20eb0d5ab8269cb5dcb13f25db920d00f6743
4,878
py
Python
Project-2/Problem1.py
imsaksham-c/Udacity-DataStructures-Aglorithms
80cc6a11c906ef5c9e1a8b44b16c11f8545e4b7c
[ "MIT" ]
null
null
null
Project-2/Problem1.py
imsaksham-c/Udacity-DataStructures-Aglorithms
80cc6a11c906ef5c9e1a8b44b16c11f8545e4b7c
[ "MIT" ]
null
null
null
Project-2/Problem1.py
imsaksham-c/Udacity-DataStructures-Aglorithms
80cc6a11c906ef5c9e1a8b44b16c11f8545e4b7c
[ "MIT" ]
null
null
null
class Node(object): def __init__(self, key, value): self.next_ptr = None self.previous_ptr = None self.key = key self.value = value def get_next_ptr(self): return self.next_ptr def set_next_ptr(self, node): self.next_ptr = node def get_p...
29.563636
148
0.580771
700
4,878
3.878571
0.147143
0.044199
0.056722
0.025783
0.280295
0.247145
0.226519
0.184899
0.184899
0.153959
0
0.014436
0.318368
4,878
164
149
29.743902
0.802105
0.154982
0
0.175
0
0
0.034365
0
0
0
0
0
0
1
0.225
false
0.05
0
0.091667
0.416667
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
3df631e450c21b9be7885d371a5918e23ad0ed84
483
py
Python
non-linearities/LeakyReLU/LeakyReLU.py
harshikaninawe/Machine-Learning-concepts
b1f22003939ac4440b406c08d53da6b6ba358348
[ "MIT" ]
10
2020-10-14T07:48:24.000Z
2021-12-13T11:40:01.000Z
non-linearities/LeakyReLU/LeakyReLU.py
harshikaninawe/Machine-Learning-concepts
b1f22003939ac4440b406c08d53da6b6ba358348
[ "MIT" ]
3
2020-10-14T15:19:57.000Z
2020-12-29T13:47:30.000Z
non-linearities/LeakyReLU/LeakyReLU.py
harshikaninawe/Machine-Learning-concepts
b1f22003939ac4440b406c08d53da6b6ba358348
[ "MIT" ]
3
2020-10-03T14:57:06.000Z
2020-12-24T16:55:43.000Z
import numpy as np import matplotlib.pyplot as plt def LeakyReLU(x): return np.where(x>0, x, x*0.01) def generate_graph(x, save_graph=False): plt.plot(x, LeakyReLU(x)) if save_graph: plt.savefig("LeakyReLU.jpg") else: plt.show() def main(): print("Generating graph") save_g...
18.576923
68
0.648033
73
483
4.082192
0.479452
0.151007
0.09396
0
0
0
0
0
0
0
0
0.029178
0.219462
483
25
69
19.32
0.761273
0.076605
0
0
1
0
0.083333
0
0
0
0
0
0
1
0.1875
false
0
0.125
0.0625
0.375
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3dfa067bacf799ccaedcae2754ac27f7b38b680b
4,129
py
Python
client/client.py
Mjcanson/TCP-UDP-Centralized-Client-Server-Network
ae500d7b1565c10e8cb6ffb31a4af691408ce314
[ "FTL" ]
null
null
null
client/client.py
Mjcanson/TCP-UDP-Centralized-Client-Server-Network
ae500d7b1565c10e8cb6ffb31a4af691408ce314
[ "FTL" ]
null
null
null
client/client.py
Mjcanson/TCP-UDP-Centralized-Client-Server-Network
ae500d7b1565c10e8cb6ffb31a4af691408ce314
[ "FTL" ]
null
null
null
######################################################################################################################## # Class: Computer Networks # Date: 02/03/2020 # Lab3: TCP Client Socket # Goal: Learning Networking in Python with TCP sockets # Student Name: Michael Canson # Student ID:920601003 # Student Github U...
33.844262
129
0.568661
480
4,129
4.772917
0.3625
0.048014
0.039284
0.036665
0.092536
0.070711
0.070711
0.070711
0
0
0
0.013793
0.262533
4,129
122
130
33.844262
0.738588
0.397433
0
0.051282
0
0
0.090126
0
0
0
0
0.040984
0
1
0.179487
false
0
0.076923
0
0.307692
0.102564
0
0
0
null
0
0
0
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
9a7397b5a3f713ecc5eb7ca0185d8f984eef36b3
3,601
py
Python
scripts/bayesian_opt_script.py
AndreaSottana/bayesian_ml
7dbefa6c8926b07d4e123ef3c443c90f5c25cd81
[ "MIT" ]
1
2021-03-27T12:10:14.000Z
2021-03-27T12:10:14.000Z
scripts/bayesian_opt_script.py
AndreaSottana/bayesian_ml
7dbefa6c8926b07d4e123ef3c443c90f5c25cd81
[ "MIT" ]
null
null
null
scripts/bayesian_opt_script.py
AndreaSottana/bayesian_ml
7dbefa6c8926b07d4e123ef3c443c90f5c25cd81
[ "MIT" ]
null
null
null
import numpy as np from matplotlib import pyplot as plt from src.bayesian_opt import generate_points, generate_noise, GaussianProcess, BayesianOptimization from sklearn import datasets if __name__ == '__main__': x_points, y_points = generate_points(func=np.sin) x_points_no_noise, y_points_no_noise = generate_...
43.914634
103
0.690641
499
3,601
4.757515
0.234469
0.047178
0.050548
0.053917
0.635215
0.577085
0.504634
0.47936
0.443976
0.412805
0
0.018407
0.17023
3,601
81
104
44.45679
0.776104
0.096084
0
0.393939
1
0
0.200801
0
0
0
0
0
0
1
0
false
0
0.060606
0
0.060606
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9a75f54901a2dfea3d804381c9123612dab1652e
1,558
py
Python
comingsoon/static/urls.py
ha1065/GroupShop3
ec2d161ca2ba40fe6e4d95641465c6a668a9960c
[ "MIT" ]
null
null
null
comingsoon/static/urls.py
ha1065/GroupShop3
ec2d161ca2ba40fe6e4d95641465c6a668a9960c
[ "MIT" ]
null
null
null
comingsoon/static/urls.py
ha1065/GroupShop3
ec2d161ca2ba40fe6e4d95641465c6a668a9960c
[ "MIT" ]
null
null
null
from django.urls import path from . import views from django.conf import settings from django.conf.urls.static import static app_name = 'comingsoon' urlpatterns = [ path('', views.home, name='home'), path('comingsoon/milk.html/', views.milk, name='milk'), path('comingsoon/eggs.html/', views.eggs, name='eg...
51.933333
95
0.728498
201
1,558
5.482587
0.119403
0.215971
0.095281
0.052632
0
0
0
0
0
0
0
0
0.101412
1,558
29
96
53.724138
0.787143
0
0
0
0
0
0.430315
0.306358
0
0
0
0
0
1
0
false
0
0.16
0
0.16
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9a7d5693677b6feedba6a5f3d0d3446570e43f8a
400
py
Python
saleor/product/migrations/0099_auto_20190722_1647.py
Chhunneng/VKBA
1f09867719d955d05abca42c104203f1810155e4
[ "BSD-3-Clause" ]
null
null
null
saleor/product/migrations/0099_auto_20190722_1647.py
Chhunneng/VKBA
1f09867719d955d05abca42c104203f1810155e4
[ "BSD-3-Clause" ]
null
null
null
saleor/product/migrations/0099_auto_20190722_1647.py
Chhunneng/VKBA
1f09867719d955d05abca42c104203f1810155e4
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.2.3 on 2019-07-22 09:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('product', '0098_auto_20190722_1644'), ] operations = [ migrations.AlterField( model_name='request', name='create_tim...
21.052632
58
0.6125
44
400
5.409091
0.818182
0
0
0
0
0
0
0
0
0
0
0.107266
0.2775
400
18
59
22.222222
0.716263
0.1125
0
0
1
0
0.135977
0.065156
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
9a7df7993b01d8b7d6fa0f617b62bc3a5d8f8cc6
1,041
py
Python
myProxy.py
Amirhf1/myProxy
673abf99c41cba38dbeafd1235e146a56cdebdff
[ "Apache-2.0" ]
1
2018-10-20T16:14:24.000Z
2018-10-20T16:14:24.000Z
myProxy.py
Amirhf1/myProxy
673abf99c41cba38dbeafd1235e146a56cdebdff
[ "Apache-2.0" ]
null
null
null
myProxy.py
Amirhf1/myProxy
673abf99c41cba38dbeafd1235e146a56cdebdff
[ "Apache-2.0" ]
1
2018-10-20T16:15:02.000Z
2018-10-20T16:15:02.000Z
#!/usr/bin/env python import json import urllib.request from urllib.request import Request, urlopen from urllib.error import URLError, HTTPError import requests from pprint import pprint BASE_URL = "https://api.getproxylist.com/proxy" COLOR_RED = '\33[31m' COLOR_GREEN = '\33[92m' COLOR_YELLOW = '\33[93m' request = ...
32.53125
72
0.638809
125
1,041
5.24
0.44
0.085496
0
0
0
0
0
0
0
0
0
0.017794
0.190202
1,041
31
73
33.580645
0.759193
0.019212
0
0
0
0
0.235294
0
0
0
0
0
0
1
0
false
0
0.230769
0
0.230769
0.461538
0
0
0
null
0
0
0
0
0
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
9a8b3fc911c6407663134c03db385652deb220c9
645
py
Python
examples/ComputeAngles.py
Ellis0817/Introduction-to-Programming-Using-Python
1882a2a846162d5ff56d4d56c3940b638ef408bd
[ "MIT" ]
null
null
null
examples/ComputeAngles.py
Ellis0817/Introduction-to-Programming-Using-Python
1882a2a846162d5ff56d4d56c3940b638ef408bd
[ "MIT" ]
4
2019-11-07T12:32:19.000Z
2020-07-19T14:04:44.000Z
examples/ComputeAngles.py
Ellis0817/Introduction-to-Programming-Using-Python
1882a2a846162d5ff56d4d56c3940b638ef408bd
[ "MIT" ]
5
2019-12-04T15:56:55.000Z
2022-01-14T06:19:18.000Z
import math x1, y1, x2, y2, x3, y3 = eval(input("Enter six coordinates of three points \ separated by commas like x1, y1, x2, y2, x3, y3: ")) a = math.sqrt((x2 - x3) * (x2 - x3) + (y2 - y3) * (y2 - y3)) b = math.sqrt((x1 - x3) * (x1 - x3) + (y1 - y3) * (y1 - y3)) c = math.sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1...
35.833333
76
0.494574
121
645
2.636364
0.280992
0.025078
0.141066
0.178683
0.075235
0.075235
0
0
0
0
0
0.125786
0.260465
645
17
77
37.941176
0.542977
0
0
0
0
0
0.032659
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.090909
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
9a92166e0d359634b003346e1dd42038c8e14e9f
1,588
py
Python
sender/VcdWriter.py
joanrieu/vcd-chainsaw
aa04c90d75ea6554c28c93265e8ee9d8434b8a34
[ "MIT" ]
null
null
null
sender/VcdWriter.py
joanrieu/vcd-chainsaw
aa04c90d75ea6554c28c93265e8ee9d8434b8a34
[ "MIT" ]
null
null
null
sender/VcdWriter.py
joanrieu/vcd-chainsaw
aa04c90d75ea6554c28c93265e8ee9d8434b8a34
[ "MIT" ]
null
null
null
import serial import sys import time # Open serial port ser = serial.Serial('/dev/ttyACM0', 2000000) # Initialize wires and wire count wires = [-1 for i in range(2)] # Open output file (if given) if len(sys.argv) > 1: file = open(sys.argv[1], "w") else: file = sys.stdout def wireName(wireId): """Compute...
26.466667
78
0.63665
233
1,588
4.339056
0.424893
0.031652
0.015826
0.025717
0.06726
0.06726
0.06726
0.06726
0.06726
0
0
0.016878
0.253778
1,588
59
79
26.915254
0.836287
0.374055
0
0.137931
0
0
0.079137
0
0
0
0
0.016949
0
1
0.034483
false
0
0.103448
0
0.172414
0
0
0
0
null
0
0
0
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
9a9ea91b4c48fcb85d65a32cef3b350537ba8739
1,547
py
Python
todo/views.py
maazfarrukh/django-todolist
d0ab71c44d5f9560b32bc2863e4d675ac76839b0
[ "MIT" ]
1
2021-03-16T16:39:48.000Z
2021-03-16T16:39:48.000Z
todo/views.py
maazfarrukh/django-todolist
d0ab71c44d5f9560b32bc2863e4d675ac76839b0
[ "MIT" ]
null
null
null
todo/views.py
maazfarrukh/django-todolist
d0ab71c44d5f9560b32bc2863e4d675ac76839b0
[ "MIT" ]
null
null
null
from .models import Todo from django.shortcuts import render from .forms import TodoForm from rest_framework.generics import (CreateAPIView, DestroyAPIView, ListAPIView, UpdateAPIView) from .serializer import TodoSerializer, TodoUpdateSerializer class TodoCreateApiView(CreateAPIVi...
30.333333
78
0.681319
168
1,547
6.208333
0.369048
0.063279
0.05465
0.063279
0.196548
0.142857
0.107383
0.107383
0
0
0
0
0.215255
1,547
50
79
30.94
0.859143
0
0
0.216216
0
0
0.04137
0
0
0
0
0
0
1
0.054054
false
0
0.135135
0.027027
0.567568
0.027027
0
0
0
null
0
0
0
0
0
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
9aa1d56ea7ec8b7df5c0894cd64289c187365741
4,773
py
Python
submit-order/submit-order.py
singwin/sample-api-scripts
30f69acbb69927be45e1132548beeacc4ecdb90b
[ "MIT" ]
8
2020-10-30T09:59:18.000Z
2022-02-04T21:16:24.000Z
submit-order/submit-order.py
singwin/sample-api-scripts
30f69acbb69927be45e1132548beeacc4ecdb90b
[ "MIT" ]
47
2020-10-04T03:01:24.000Z
2022-03-30T10:18:08.000Z
submit-order/submit-order.py
singwin/sample-api-scripts
30f69acbb69927be45e1132548beeacc4ecdb90b
[ "MIT" ]
27
2020-10-22T07:31:46.000Z
2022-03-31T09:12:05.000Z
#!/usr/bin/python3 """ Script language: Python3 Talks to: - Vega wallet (REST) - Vega node (REST) Apps/Libraries: - REST (wallet): requests (https://pypi.org/project/requests/) - REST (node): requests (https://pypi.org/project/requests/) """ # Note: this file uses smart-tags in comments to section parts of the code...
30.018868
78
0.721559
647
4,773
5.149923
0.292117
0.046819
0.026411
0.067227
0.313025
0.251501
0.177671
0.159664
0.159664
0.138055
0
0.011551
0.147496
4,773
159
79
30.018868
0.807324
0.253509
0
0.270833
0
0
0.279387
0.070982
0
0
0
0
0.03125
1
0
false
0.052083
0.041667
0
0.041667
0.15625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9aa4417b1f3ff7dcd06403c85a0da4dfd46e43a0
418
py
Python
recipeProject/recipeApp/migrations/0005_auto_20190311_1704.py
cs-fullstack-2019-spring/django-mini-project5-cgarciapieto
a0ecae33fab68c50a72a7b87f53dc77fc9b6d53a
[ "Apache-2.0" ]
null
null
null
recipeProject/recipeApp/migrations/0005_auto_20190311_1704.py
cs-fullstack-2019-spring/django-mini-project5-cgarciapieto
a0ecae33fab68c50a72a7b87f53dc77fc9b6d53a
[ "Apache-2.0" ]
null
null
null
recipeProject/recipeApp/migrations/0005_auto_20190311_1704.py
cs-fullstack-2019-spring/django-mini-project5-cgarciapieto
a0ecae33fab68c50a72a7b87f53dc77fc9b6d53a
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2 on 2019-03-11 17:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('recipeApp', '0004_auto_20190311_1702'), ] operations = [ migrations.AlterField( model_name='recipemodel', name='direct...
22
73
0.617225
45
418
5.622222
0.822222
0
0
0
0
0
0
0
0
0
0
0.104918
0.270335
418
18
74
23.222222
0.72459
0.102871
0
0
1
0
0.142091
0.061662
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
9aa5c957fb64243ac5995d26919e7a33bb1688a0
1,334
py
Python
test.py
nijatmursali/scheduler-app
fa14e803360b8b6cb4a742d1124ca0345fb260ad
[ "Apache-2.0" ]
null
null
null
test.py
nijatmursali/scheduler-app
fa14e803360b8b6cb4a742d1124ca0345fb260ad
[ "Apache-2.0" ]
null
null
null
test.py
nijatmursali/scheduler-app
fa14e803360b8b6cb4a742d1124ca0345fb260ad
[ "Apache-2.0" ]
null
null
null
import psycopg2 from datetime import datetime import pandas as pd from pandas import DataFrame import numpy as np import os import fileinput # database hostname = 'localhost' username = 'manifestsync' password = 'fmD384jaFdUKJSAV' database = 'hermia' portdb = 5433 cnn = psycopg2.connect( host=hostname, user=user...
30.318182
111
0.676912
185
1,334
4.772973
0.481081
0.161948
0.07248
0.07248
0.14043
0.056625
0.056625
0.056625
0
0
0
0.016544
0.184408
1,334
43
112
31.023256
0.795037
0.005997
0
0
0
0.027027
0.209215
0.021148
0
0
0
0
0
1
0
false
0.081081
0.189189
0
0.189189
0.027027
0
0
0
null
0
0
0
0
0
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
9aa85c63e92a2824a89403ac6ada89f09fe6ca86
1,135
py
Python
io3d/connector.py
vlukes/io3d
34d048b7f737a5e56610879f6ab103128e8f0750
[ "MIT" ]
8
2016-09-26T01:35:15.000Z
2022-02-23T04:05:23.000Z
io3d/connector.py
vlukes/io3d
34d048b7f737a5e56610879f6ab103128e8f0750
[ "MIT" ]
4
2016-05-18T11:04:56.000Z
2018-10-24T11:03:03.000Z
io3d/connector.py
vlukes/io3d
34d048b7f737a5e56610879f6ab103128e8f0750
[ "MIT" ]
6
2017-03-24T20:43:21.000Z
2021-08-23T06:05:34.000Z
#! /usr/bin/env python # -*- coding: utf-8 -*- """ Module for readin 3D dicom data """ # import funkcí z jiného adresáře import sys import os.path # path_to_script = os.path.dirname(os.path.abspath(__file__)) # sys.path.append(os.path.join(path_to_script, "../extern/pyseg_base/src")) # sys.path.append(os.path.join(pa...
24.673913
75
0.681938
151
1,135
4.993377
0.463576
0.083554
0.06366
0.06366
0.159151
0.159151
0.159151
0.159151
0.159151
0.108753
0
0.022199
0.16652
1,135
45
76
25.222222
0.774841
0.503965
0
0.095238
0
0
0.1171
0
0
0
0
0
0
1
0
false
0.095238
0.285714
0
0.285714
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
0
0
0
1
0
0
0
0
0
1
9aa8fd89fc725382485ae56bcdee7938b61423b1
2,865
py
Python
reader/clubhouse.py
goncalovalverde/seshat
deff5cdd985f81ac2b4ebd077eea11f7c4f4118f
[ "MIT" ]
1
2020-12-22T13:23:00.000Z
2020-12-22T13:23:00.000Z
reader/clubhouse.py
goncalovalverde/seshat
deff5cdd985f81ac2b4ebd077eea11f7c4f4118f
[ "MIT" ]
5
2020-12-22T13:36:30.000Z
2021-02-27T05:42:18.000Z
reader/clubhouse.py
goncalovalverde/seshat
deff5cdd985f81ac2b4ebd077eea11f7c4f4118f
[ "MIT" ]
null
null
null
from datetime import datetime import logging import reader.cache import hashlib import dateutil.parser from pandas import DataFrame, NaT from clubhouse import ClubhouseClient class Clubhouse: def __init__(self, clubhouse_config: dict, workflow: dict) -> None: super().__init__() self.clubhouse_conf...
34.107143
90
0.616405
326
2,865
5.226994
0.260736
0.079225
0.078052
0.042254
0.127934
0.083333
0.052817
0.052817
0.052817
0.052817
0
0.001935
0.278534
2,865
83
91
34.518072
0.822448
0.027923
0
0.090909
0
0
0.12253
0.012217
0
0
0
0.012048
0
1
0.106061
false
0
0.106061
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9aaba2b9219a8cb2b5831d133015d9e501ba3eac
2,506
py
Python
immigrationOfficer/views.py
ananthan-123/react-django
5305649f1d39e1f5b62eb17a4f40f67fe7cfd14b
[ "MIT" ]
null
null
null
immigrationOfficer/views.py
ananthan-123/react-django
5305649f1d39e1f5b62eb17a4f40f67fe7cfd14b
[ "MIT" ]
null
null
null
immigrationOfficer/views.py
ananthan-123/react-django
5305649f1d39e1f5b62eb17a4f40f67fe7cfd14b
[ "MIT" ]
null
null
null
from django.shortcuts import render, get_object_or_404 # Create your views here. from rest_framework import viewsets, generics, permissions from rest_framework.response import Response from knox.models import AuthToken from django.contrib.auth.models import User from django.contrib.auth.password_validation import pass...
32.545455
102
0.719074
261
2,506
6.720307
0.40613
0.027366
0.028506
0.026226
0.141391
0.141391
0.141391
0.051311
0
0
0
0.002503
0.202713
2,506
76
103
32.973684
0.875375
0.103751
0
0.222222
0
0
0.047096
0
0
0
0
0
0
1
0.044444
false
0.022222
0.222222
0
0.711111
0
0
0
0
null
0
0
0
0
0
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
9aae8a1a545fc4578f6e5dd4f33e0ff0cd55bbf9
7,409
py
Python
modules/tests/photons_canvas_tests/test_font.py
Djelibeybi/photons
bc0aa91771d8e88fd3c691fb58f18cb876f292ec
[ "MIT" ]
51
2020-07-03T08:34:48.000Z
2022-03-16T10:56:08.000Z
modules/tests/photons_canvas_tests/test_font.py
delfick/photons
bc0aa91771d8e88fd3c691fb58f18cb876f292ec
[ "MIT" ]
81
2020-07-03T08:13:59.000Z
2022-03-31T23:02:54.000Z
modules/tests/photons_canvas_tests/test_font.py
Djelibeybi/photons
bc0aa91771d8e88fd3c691fb58f18cb876f292ec
[ "MIT" ]
8
2020-07-24T23:48:20.000Z
2021-05-24T17:20:16.000Z
# coding: spec from photons_canvas.points import helpers as php from photons_canvas.points.canvas import Canvas from photons_canvas import font import pytest describe "Space": it "is a character with a particular width": s = font.Space(5) layer = s.layer(0, 0, (20, 1, 1, 3500)) canvas = ...
29.995951
89
0.497908
917
7,409
3.873501
0.115594
0.059122
0.073198
0.032939
0.718468
0.64161
0.583896
0.543356
0.525901
0.508446
0
0.092476
0.357808
7,409
246
90
30.117886
0.654056
0.00162
0
0.426136
0
0
0.047693
0
0
0
0
0
0.181818
0
null
null
0
0.022727
null
null
0.011364
0
0
0
null
0
0
0
0
0
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
9aaf25efeede11209192ef2f5873b5601a733adf
465
py
Python
test.py
AndrewZStore/private_proxy_pool
e603a3c432f55547b24b24f281b9a72f9f4d6cae
[ "MIT" ]
null
null
null
test.py
AndrewZStore/private_proxy_pool
e603a3c432f55547b24b24f281b9a72f9f4d6cae
[ "MIT" ]
null
null
null
test.py
AndrewZStore/private_proxy_pool
e603a3c432f55547b24b24f281b9a72f9f4d6cae
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ ------------------------------------------------- File Name: test.py Description : Author : JHao date: 2017/3/7 ------------------------------------------------- Change Activity: 2017/3/7: ---------------------------------------------...
20.217391
49
0.35914
37
465
4.405405
0.783784
0.122699
0.07362
0
0
0
0
0
0
0
0
0.071038
0.212903
465
22
50
21.136364
0.374317
0.686022
0
0
0
0
0.154412
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
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
9ab069c0e5c9be74e373bfea9e1a2d9acb37bf3b
411
py
Python
store/app/migrations/0002_bought_good_name.py
Beepyy/store
25c00667cad8118c8e020df284be4283dff2e25a
[ "Apache-2.0" ]
null
null
null
store/app/migrations/0002_bought_good_name.py
Beepyy/store
25c00667cad8118c8e020df284be4283dff2e25a
[ "Apache-2.0" ]
null
null
null
store/app/migrations/0002_bought_good_name.py
Beepyy/store
25c00667cad8118c8e020df284be4283dff2e25a
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2.7 on 2021-12-06 02:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0001_initial'), ] operations = [ migrations.AddField( model_name='bought', name='good_name', fiel...
21.631579
89
0.596107
47
411
5.12766
0.829787
0
0
0
0
0
0
0
0
0
0
0.070707
0.277372
411
18
90
22.833333
0.740741
0.109489
0
0
1
0
0.093407
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9ab08edd0fe75c005f7f81a41d2b7d1c5eb71d74
24,750
py
Python
balloon_learning_environment/env/features.py
taodav/balloon-learning-environment
4beb45f52ab7127a4c051df25894738420e8e691
[ "Apache-2.0" ]
null
null
null
balloon_learning_environment/env/features.py
taodav/balloon-learning-environment
4beb45f52ab7127a4c051df25894738420e8e691
[ "Apache-2.0" ]
null
null
null
balloon_learning_environment/env/features.py
taodav/balloon-learning-environment
4beb45f52ab7127a4c051df25894738420e8e691
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2021 The Balloon Learning Environment Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
39.410828
85
0.721495
3,303
24,750
5.225855
0.178928
0.048954
0.015642
0.020856
0.359075
0.265975
0.211459
0.154916
0.15283
0.122704
0
0.013962
0.201293
24,750
627
86
39.473684
0.859217
0.396162
0
0.135231
0
0
0.030368
0.00416
0
0
0
0.011164
0.046263
1
0.092527
false
0
0.071174
0.017794
0.252669
0
0
0
0
null
0
0
0
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
9ab2cd4ecdf9711a7fa2222a59917fa7da60562a
5,196
py
Python
a7_include.py
EJLada/HashMap
23a0566740eb070a55b9767135f08a3e306218fa
[ "MIT" ]
null
null
null
a7_include.py
EJLada/HashMap
23a0566740eb070a55b9767135f08a3e306218fa
[ "MIT" ]
null
null
null
a7_include.py
EJLada/HashMap
23a0566740eb070a55b9767135f08a3e306218fa
[ "MIT" ]
null
null
null
# Course: CS261 - Data Structures # Assignment: 7 # Description: 'Helper' data structures class SLNode: def __init__(self, key: str, value: object) -> None: """ Singly Linked List Node class DO NOT CHANGE THIS CLASS IN ANY WAY """ self.next = None self.key = key ...
30.385965
76
0.55485
660
5,196
4.283333
0.230303
0.031128
0.017687
0.018394
0.372126
0.321542
0.303856
0.261408
0.240538
0.207287
0
0.002657
0.348152
5,196
170
77
30.564706
0.832005
0.363549
0
0.2625
0
0
0.00478
0
0
0
0
0
0
1
0.25
false
0.0125
0
0
0.4625
0
0
0
0
null
0
0
0
0
0
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
9ac22d78072397b38202c5c12ac761dfa0cfad6f
929
py
Python
website/citations/models.py
lbanner/osf.io
1898ef0ff8bd91713e94c60e7463b5f81ac62caa
[ "Apache-2.0" ]
null
null
null
website/citations/models.py
lbanner/osf.io
1898ef0ff8bd91713e94c60e7463b5f81ac62caa
[ "Apache-2.0" ]
13
2020-03-24T15:29:41.000Z
2022-03-11T23:15:28.000Z
website/citations/models.py
lbanner/osf.io
1898ef0ff8bd91713e94c60e7463b5f81ac62caa
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import datetime from modularodm import fields from framework.mongo import StoredObject class CitationStyle(StoredObject): """Persistent representation of a CSL style. These are parsed from .csl files, so that metadata fields can be indexed. """ # The name of the citation f...
25.805556
77
0.642626
106
929
5.566038
0.528302
0.115254
0.127119
0.101695
0
0
0
0
0
0
0
0.001475
0.270183
929
35
78
26.542857
0.868732
0.265877
0
0
0
0
0.037651
0
0
0
0
0
0
1
0.058824
false
0
0.176471
0.058824
0.647059
0
0
0
0
null
0
0
0
0
0
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
9ac2df197375c684792cece2d04b879963c6fe59
1,388
py
Python
ipyaggrid/display.py
DGothrek/ipyaggrid
1a237dd147111ac729a1e3722c446202c87d746d
[ "MIT" ]
10
2019-05-12T14:58:31.000Z
2022-02-17T18:38:15.000Z
ipyaggrid/display.py
DGothrek/ipyaggrid
1a237dd147111ac729a1e3722c446202c87d746d
[ "MIT" ]
6
2020-04-04T13:25:25.000Z
2021-06-27T09:50:38.000Z
ipyaggrid/display.py
DGothrek/ipyaggrid
1a237dd147111ac729a1e3722c446202c87d746d
[ "MIT" ]
null
null
null
from ipywidgets.embed import embed_data, dependency_state import os import json def export_html_code(widget): data = embed_data(views=[widget], state=dependency_state(widget)) script_tags = """<!-- Load RequireJS, used by the IPywidgets for dependency management --> <script src="https://cdnjs.cloudflare....
30.173913
94
0.693084
183
1,388
5.103825
0.437158
0.06424
0.029979
0.051392
0.079229
0.079229
0
0
0
0
0
0.011925
0.154179
1,388
45
95
30.844444
0.783646
0
0
0.216216
0
0.054054
0.606628
0.164986
0
0
0
0
0
1
0.027027
false
0
0.081081
0
0.135135
0
0
0
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
9ac5a1335d267b1903bf2b27ff26ef88b0d8873b
664
py
Python
tests/test_profiling.py
dfds-data/dfds-ds-toolbox
905f27461b43dd3fb1a67597db6f00fbb9acb4ec
[ "MIT" ]
6
2022-02-01T09:05:30.000Z
2022-02-03T09:40:10.000Z
tests/test_profiling.py
dfds-data/dfds-ds-toolbox
905f27461b43dd3fb1a67597db6f00fbb9acb4ec
[ "MIT" ]
14
2022-01-31T13:33:48.000Z
2022-03-28T12:30:39.000Z
tests/test_profiling.py
dfds-data/dfds-ds-toolbox
905f27461b43dd3fb1a67597db6f00fbb9acb4ec
[ "MIT" ]
null
null
null
import time import pytest from dfds_ds_toolbox.profiling.profiling import profileit def test_profiling_successful(tmp_path): @profileit(path=tmp_path, name="test") def dummy_function(): time.sleep(0.1) dummy_function() def test_profiling_invalid_path(): with pytest.raises(TypeError): ...
19.529412
57
0.670181
83
664
5.108434
0.313253
0.183962
0.113208
0.141509
0.700472
0.627358
0.627358
0.429245
0.429245
0.334906
0
0.013592
0.224398
664
33
58
20.121212
0.809709
0
0
0.55
0
0
0.02259
0
0
0
0
0
0
1
0.3
false
0
0.15
0
0.45
0
0
0
0
null
0
0
0
0
0
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
9ad113b3b936c60efc1d7e7e78d828be92effb21
3,259
py
Python
code/find_most_volatile_stocks.py
nateGeorge/stock_prediction
e7520c24d1174b197188f198d5e2e9487b7a2d0c
[ "Apache-2.0" ]
null
null
null
code/find_most_volatile_stocks.py
nateGeorge/stock_prediction
e7520c24d1174b197188f198d5e2e9487b7a2d0c
[ "Apache-2.0" ]
null
null
null
code/find_most_volatile_stocks.py
nateGeorge/stock_prediction
e7520c24d1174b197188f198d5e2e9487b7a2d0c
[ "Apache-2.0" ]
null
null
null
# core import time import sys from concurrent.futures import ProcessPoolExecutor # custom sys.path.append('../code') import dl_quandl_EOD as dq import data_processing as dp import short_squeeze_eda as sse from utils import get_home_dir HOME_DIR = get_home_dir(repo_name='scrape_stocks') # installed import numpy as np ...
34.670213
129
0.700522
513
3,259
4.22807
0.329435
0.051637
0.038728
0.052559
0.252651
0.209313
0.197326
0.197326
0.197326
0.13278
0
0.017341
0.15066
3,259
93
130
35.043011
0.766257
0.129794
0
0.033333
0
0
0.177347
0.030179
0
0
0
0
0
0
null
null
0
0.216667
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
9ad34f1a6e82d15899f0f247af63d7a57f1864ce
1,113
py
Python
sims/TrickHLA/SIM_sine/Modified_data/sine_init.py
jiajlin/TrickHLA
ae704b97049579e997593ae6d8dd016010b8fa1e
[ "NASA-1.3" ]
18
2020-03-04T14:23:08.000Z
2022-03-17T10:47:21.000Z
sims/TrickHLA/SIM_sine/Modified_data/sine_init.py
jiajlin/TrickHLA
ae704b97049579e997593ae6d8dd016010b8fa1e
[ "NASA-1.3" ]
57
2020-06-04T16:03:44.000Z
2021-05-17T20:54:35.000Z
sims/TrickHLA/SIM_sine/Modified_data/sine_init.py
jiajlin/TrickHLA
ae704b97049579e997593ae6d8dd016010b8fa1e
[ "NASA-1.3" ]
5
2020-08-25T05:51:05.000Z
2021-10-01T18:37:38.000Z
############################################################################## # PURPOSE: # (This is an input file python routine to setup the initial values of the # sine state.) # # REFERENCE: # (Trick 10 documentation.) # # ASSUMPTIONS AND LIMITATIONS: # ((Assumes that trick is available globally.)) # #...
25.295455
78
0.59389
172
1,113
3.726744
0.296512
0.109204
0.062403
0.068643
0.436817
0
0
0
0
0
0
0.093122
0.150943
1,113
43
79
25.883721
0.585185
0.354897
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
9ad586eea886e8f64bf7b8f4ff6497c1cb462494
2,022
py
Python
Google It-Cert-Automation/d-Troubleshooting-and-Debugging-Techniques/get_employees_by_date.py
JAL-code/google
3989af94bb72b6fabde95ed50bac1493640d4cf6
[ "MIT" ]
null
null
null
Google It-Cert-Automation/d-Troubleshooting-and-Debugging-Techniques/get_employees_by_date.py
JAL-code/google
3989af94bb72b6fabde95ed50bac1493640d4cf6
[ "MIT" ]
null
null
null
Google It-Cert-Automation/d-Troubleshooting-and-Debugging-Techniques/get_employees_by_date.py
JAL-code/google
3989af94bb72b6fabde95ed50bac1493640d4cf6
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import csv import datetime import requests FILE_URL = "http://marga.com.ar/employees-with-date.csv" # FILE_URL="./employees-with-date.csv" def get_start_date(): """Interactively get the start date to query for.""" print() print('Getting the first start date to query for.') prin...
28.885714
77
0.653808
298
2,022
4.244966
0.33557
0.106719
0.052174
0.056917
0.244269
0.18419
0.18419
0
0
0
0
0.007697
0.228981
2,022
70
78
28.885714
0.80372
0.108309
0
0.111111
0
0
0.176576
0.012485
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.133333
0
0
0
null
0
0
0
0
0
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
9adbeae71a06c5f9cc18ecd2e1a7f60b0c2e4ffa
3,805
py
Python
pyplusplus/code_repository/indexing_suite/pair_header.py
electronicvisions/pyplusplus
4d88bb8754d22654a61202ae8adc222807953e38
[ "BSL-1.0" ]
9
2016-06-07T19:14:53.000Z
2020-02-28T09:06:19.000Z
pyplusplus/code_repository/indexing_suite/pair_header.py
electronicvisions/pyplusplus
4d88bb8754d22654a61202ae8adc222807953e38
[ "BSL-1.0" ]
1
2018-08-15T11:33:40.000Z
2018-08-15T11:33:40.000Z
pyplusplus/code_repository/indexing_suite/pair_header.py
electronicvisions/pyplusplus
4d88bb8754d22654a61202ae8adc222807953e38
[ "BSL-1.0" ]
5
2016-06-23T09:37:00.000Z
2019-12-18T13:51:29.000Z
# Copyright 2004-2008 Roman Yakovenko. # Distributed under the Boost Software License, Version 1.0. (See # accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) """ This file contains indexing suite v2 code """ file_name = "indexing_suite/pair.hpp" code = """// Header file pair.hpp //...
31.708333
101
0.64862
456
3,805
5.118421
0.317982
0.034276
0.015424
0.020566
0.290488
0.236075
0.236075
0.131534
0.131534
0.131534
0
0.024518
0.249671
3,805
119
102
31.97479
0.792995
0.059396
0
0.078652
0
0
0.989316
0.25296
0
0
0
0
0
1
0
false
0
0
0
0.078652
0
0
0
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
9adcbdaa33be634655b9fc0871e51635fb8d0c05
1,088
py
Python
apps/marks/migrations/0006_auto_20210825_0313.py
Ev1dentSnow/ArtemisAPI_django
ca7ef0ccc97114f2c5439b7b1bbc0e635facf020
[ "MIT" ]
null
null
null
apps/marks/migrations/0006_auto_20210825_0313.py
Ev1dentSnow/ArtemisAPI_django
ca7ef0ccc97114f2c5439b7b1bbc0e635facf020
[ "MIT" ]
null
null
null
apps/marks/migrations/0006_auto_20210825_0313.py
Ev1dentSnow/ArtemisAPI_django
ca7ef0ccc97114f2c5439b7b1bbc0e635facf020
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2021-08-25 01:13 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('students', '0004_student_primary_contact_email'), ('classes', '0006_rename_student_studentclasses_student_id'), ...
32.969697
110
0.637868
114
1,088
5.885965
0.438596
0.059613
0.083458
0.131148
0.438152
0.438152
0.268256
0.268256
0.268256
0.268256
0
0.03744
0.238971
1,088
32
111
34
0.772947
0.04136
0
0.346154
1
0
0.25072
0.152738
0
0
0
0
0
1
0
false
0
0.076923
0
0.192308
0
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
9addb1692dc2da2a3d960ca7467f99d519393aed
1,056
py
Python
rest_framework/cctv_prediction/views.py
star10919/drf
77c005794087484d72ffc0d76612a6ac9845821e
[ "BSD-3-Clause" ]
null
null
null
rest_framework/cctv_prediction/views.py
star10919/drf
77c005794087484d72ffc0d76612a6ac9845821e
[ "BSD-3-Clause" ]
null
null
null
rest_framework/cctv_prediction/views.py
star10919/drf
77c005794087484d72ffc0d76612a6ac9845821e
[ "BSD-3-Clause" ]
null
null
null
from rest_framework.cctv_prediction.services import Service import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "project.settings") class CrimeViews(object): @staticmethod def main(): crimeService = Service() while 1: menu = input('0-Exit\n1-서울CCTV DF\n2-서울범죄 DF\n' ...
36.413793
84
0.517992
109
1,056
4.908257
0.559633
0.074766
0.149533
0.194393
0.231776
0
0
0
0
0
0
0.018131
0.321023
1,056
29
85
36.413793
0.728033
0
0
0
0
0
0.257332
0.020814
0
0
0
0
0
1
0.04
false
0
0.08
0
0.16
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
9ae1fd07ba143f523cf6ec0b09ff7db797b76542
4,448
py
Python
scratch/parse_flexible_args.py
strukovsv/PyHAML
75d7774f30809f755dad2867e9ab55cea3019046
[ "BSD-3-Clause" ]
21
2015-01-27T13:32:46.000Z
2022-03-12T21:45:12.000Z
scratch/parse_flexible_args.py
strukovsv/PyHAML
75d7774f30809f755dad2867e9ab55cea3019046
[ "BSD-3-Clause" ]
2
2017-05-23T11:30:01.000Z
2019-07-29T01:21:27.000Z
scratch/parse_flexible_args.py
strukovsv/PyHAML
75d7774f30809f755dad2867e9ab55cea3019046
[ "BSD-3-Clause" ]
8
2015-07-13T17:46:24.000Z
2021-12-08T18:13:22.000Z
import re import ast import operator def parse_args(input, end=')'): chunks = re.split(r'(,|%s)' % re.escape(end), input) output = [] # Continue processing chunks as long as we keep getting something. last_output = -1 while len(output) != last_output: last_output = len(output) ...
29.263158
80
0.510342
510
4,448
4.343137
0.339216
0.069526
0.069074
0.075847
0.056885
0.035214
0.035214
0.035214
0
0
0
0.007387
0.360836
4,448
151
81
29.456954
0.77172
0.027653
0
0.064815
0
0
0.106765
0.018696
0
0
0
0
0
0
null
null
0
0.027778
null
null
0.046296
0
0
0
null
0
0
0
0
0
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
9ae839a3d06a8b0294cda740046a4a3edc406b8c
3,333
py
Python
fixipy/Message.py
Jaydabi/pyfix
289e9d2e6e541b2b92efc4009d400238683b478e
[ "MIT" ]
null
null
null
fixipy/Message.py
Jaydabi/pyfix
289e9d2e6e541b2b92efc4009d400238683b478e
[ "MIT" ]
null
null
null
fixipy/Message.py
Jaydabi/pyfix
289e9d2e6e541b2b92efc4009d400238683b478e
[ "MIT" ]
null
null
null
import re ''' fixipy Message provides methods for parsing, composing, modifying and analyzing FIX messages ''' class Message(): def __init__(self): self.raw_message = '' self.message = [] self.valid_checksum = None self.checksum_calculation = True def __checks...
34.010204
106
0.483948
344
3,333
4.482558
0.25
0.110246
0.072633
0.033074
0.077173
0.044747
0.044747
0.044747
0.044747
0
0
0.016529
0.419142
3,333
97
107
34.360825
0.779959
0
0
0.367816
0
0
0.04051
0
0
0
0
0
0
1
0.126437
false
0.08046
0.011494
0
0.206897
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9aebaa61d96a8dac81d0337fe9c8863a25b577c1
1,611
py
Python
src/python/backends/py/compiler/synthesis/nodeinfo.py
andyjost/Sprite
7ecd6fc7d48d7f62da644e48c12c7b882e1a2929
[ "MIT" ]
1
2022-03-16T16:37:11.000Z
2022-03-16T16:37:11.000Z
src/python/backends/py/compiler/synthesis/nodeinfo.py
andyjost/Sprite
7ecd6fc7d48d7f62da644e48c12c7b882e1a2929
[ "MIT" ]
null
null
null
src/python/backends/py/compiler/synthesis/nodeinfo.py
andyjost/Sprite
7ecd6fc7d48d7f62da644e48c12c7b882e1a2929
[ "MIT" ]
null
null
null
from ..... import icurry from .....common import T_CTOR, T_FUNC def synthesize_constructor_info(interp, itype, icons, extern): # For builtins, the 'all.tag' metadata contains the tag. builtin = 'all.tag' in icons.metadata metadata = icurry.metadata.getmd(icons, extern, itype=itype) InfoTable = interp.context.r...
30.396226
77
0.697703
214
1,611
5.17757
0.411215
0.054152
0.046029
0.048736
0.191336
0.191336
0.191336
0.099278
0
0
0
0.001542
0.19491
1,611
52
78
30.980769
0.852737
0.194289
0
0.263158
0
0
0.053906
0
0
0
0
0.019231
0.026316
1
0.131579
false
0.026316
0.052632
0
0.263158
0
0
0
0
null
0
0
0
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
9aee52794a2ed0015a4cda411cc3774f4c78c53f
4,017
py
Python
copy_posts.py
dhui/tumblr-migrate
b76dde62f411f5779d5647b921b749ccf2318e11
[ "BSD-3-Clause" ]
null
null
null
copy_posts.py
dhui/tumblr-migrate
b76dde62f411f5779d5647b921b749ccf2318e11
[ "BSD-3-Clause" ]
null
null
null
copy_posts.py
dhui/tumblr-migrate
b76dde62f411f5779d5647b921b749ccf2318e11
[ "BSD-3-Clause" ]
null
null
null
import argparse import collections import copy import json from auth import load_session from constants import GET_POSTS_URL_BASE, CREATE_POST_URL_BASE, POST_LIMIT, POST_ATTRS_TO_FILTER, SUPPORTED_POST_IMPORT_TYPES, DEFAULT_SESSION_FILE def export_posts(session, api_key, blog_name, export_notes=False, export_reblogs...
33.475
147
0.664675
555
4,017
4.612613
0.277477
0.021094
0.009375
0.008203
0.148828
0.107031
0.071875
0.071875
0.071875
0.071875
0
0.005175
0.230271
4,017
119
148
33.756303
0.822768
0.060991
0
0.072289
0
0
0.163553
0
0
0
0
0
0
0
null
null
0.012048
0.120482
null
null
0.144578
0
0
0
null
0
0
0
0
0
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
9aef50c777ec84ef7dc3a5b73310084058991610
2,110
py
Python
EV/DEV/3Daemon-framework.py
nomeycoin/extinction-event-
515676e6ea725c9f5a79f8bfc04f34052b975085
[ "WTFPL" ]
null
null
null
EV/DEV/3Daemon-framework.py
nomeycoin/extinction-event-
515676e6ea725c9f5a79f8bfc04f34052b975085
[ "WTFPL" ]
null
null
null
EV/DEV/3Daemon-framework.py
nomeycoin/extinction-event-
515676e6ea725c9f5a79f8bfc04f34052b975085
[ "WTFPL" ]
null
null
null
# 3 daemon parallel processing with text file communication ' (BTS) litepresence1 ' # unlicensed - WTFPL v0 March 1765 from multiprocessing import Process from random import random import time def clock(): # 24 hour clock formatted HH:MM:SS return str(time.ctime())[11:19] def sub_a(): a = 0 while 1: ...
21.979167
59
0.466825
264
2,110
3.708333
0.280303
0.04903
0.028601
0.061287
0.52094
0.47191
0.47191
0.47191
0.40858
0.335036
0
0.03062
0.411848
2,110
95
60
22.210526
0.758259
0.06872
0
0.474359
0
0
0.111447
0
0
0
0
0
0
1
0.051282
false
0.051282
0.038462
0.012821
0.102564
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9af120a174baf9289cc1b33c8b6bc5ecf67215e2
6,136
py
Python
geotrek/land/migrations/0001_initial.py
pierreloicq/Geotrek-admin
00cd29f29843f2cc25e5a3c7372fcccf14956887
[ "BSD-2-Clause" ]
50
2016-10-19T23:01:21.000Z
2022-03-28T08:28:34.000Z
geotrek/land/migrations/0001_initial.py
pierreloicq/Geotrek-admin
00cd29f29843f2cc25e5a3c7372fcccf14956887
[ "BSD-2-Clause" ]
1,422
2016-10-27T10:39:40.000Z
2022-03-31T13:37:10.000Z
geotrek/land/migrations/0001_initial.py
pierreloicq/Geotrek-admin
00cd29f29843f2cc25e5a3c7372fcccf14956887
[ "BSD-2-Clause" ]
46
2016-10-27T10:59:10.000Z
2022-03-22T15:55:56.000Z
from django.db import migrations, models import mapentity.models import geotrek.authent.models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('common', '0001_initial'), ('authent', '0001_initial'), ('core', '0001_initial'), ] operations ...
50.710744
228
0.59648
596
6,136
5.934564
0.172819
0.087079
0.051456
0.080859
0.715013
0.688437
0.665253
0.665253
0.665253
0.642352
0
0.004007
0.267927
6,136
120
229
51.133333
0.783393
0
0
0.5
0
0
0.235495
0.007334
0
0
0
0
0
1
0
false
0.008621
0.034483
0
0.060345
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
9af45128bf37ea3bd39d8e26ebf651786a364c30
1,027
py
Python
gc3_query/lib/open_api/swagger_formats/boolean_formats.py
ericmharris/gc3-query
0bf5226130aafbb1974aeb96d93ee1996833e87d
[ "MIT" ]
null
null
null
gc3_query/lib/open_api/swagger_formats/boolean_formats.py
ericmharris/gc3-query
0bf5226130aafbb1974aeb96d93ee1996833e87d
[ "MIT" ]
null
null
null
gc3_query/lib/open_api/swagger_formats/boolean_formats.py
ericmharris/gc3-query
0bf5226130aafbb1974aeb96d93ee1996833e87d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ gc3-query.boolean_formats [9/2/2018 2:02 PM] ~~~~~~~~~~~~~~~~ <DESCR SHORT> <DESCR> """ ################################################################################ ## Standard Library Imports ################################################################################ ## Thi...
27.026316
80
0.570594
112
1,027
4.910714
0.535714
0.072727
0.087273
0.109091
0
0
0
0
0
0
0
0.017429
0.106134
1,027
37
81
27.756757
0.581699
0.167478
0
0
0
0
0.105
0
0
0
0
0
0
1
0
false
0
0.461538
0
0.461538
0
0
0
0
null
0
0
0
0
0
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
9af6c2868a4a2ae424997c64e5e132f0c6736e04
1,015
py
Python
surveys/admin/admin.py
GeorgeVelikov/Surffee
1d89f423d9275aa34c5b51ebbf5457078cdc4d71
[ "MIT" ]
null
null
null
surveys/admin/admin.py
GeorgeVelikov/Surffee
1d89f423d9275aa34c5b51ebbf5457078cdc4d71
[ "MIT" ]
null
null
null
surveys/admin/admin.py
GeorgeVelikov/Surffee
1d89f423d9275aa34c5b51ebbf5457078cdc4d71
[ "MIT" ]
null
null
null
from django.contrib import admin from nested_admin.nested import NestedModelAdmin from django.contrib.auth.admin import UserAdmin from .inline import Question, Choice from ..models import Survey, Researcher from ..forms.users import ResearcherCreationForm, ResearcherChangeForm class QuestionAdmin(NestedModelAdmin): ...
28.194444
79
0.721182
100
1,015
7.18
0.46
0.066852
0.047354
0
0
0
0
0
0
0
0
0
0.171429
1,015
35
80
29
0.853746
0.037438
0
0
0
0
0.114872
0
0
0
0
0
0
1
0
false
0
0.24
0
0.84
0
0
0
0
null
0
0
0
0
0
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
9af7b04daf39e6c6457be9bacc7d0ebe7738e308
388
py
Python
3day/Func15.py
jsjang93/joony
62f7a325094c887212b894932263bf84500e0f03
[ "MIT" ]
null
null
null
3day/Func15.py
jsjang93/joony
62f7a325094c887212b894932263bf84500e0f03
[ "MIT" ]
null
null
null
3day/Func15.py
jsjang93/joony
62f7a325094c887212b894932263bf84500e0f03
[ "MIT" ]
null
null
null
# Func15.py - zip, base a = ['콜라','사이다','씨그램','우유','활명수'] b = [1000,900,600,700,800] c = list(zip(a,b)) # a와 b의 칸수가 같으면 1대1 대응으로 묶어줌 print(c) d = dict(zip(a,b)) print(d) e = '1001' print(e,type(e)) f = int(e,base=10) print(f,type(f)) g = int(e,base=2) # 2진법으로보고 int형변환 print(g,type(g)) from functools import...
13.37931
47
0.618557
76
388
3.171053
0.578947
0.033195
0.041494
0
0
0
0
0
0
0
0
0.101227
0.159794
388
28
48
13.857143
0.634969
0.162371
0
0
0
0
0.065625
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.4
0
0
0
null
0
0
0
0
0
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
9afb0621200b2a9b0c30d392df4c712af1150690
14,564
py
Python
orb_simulator/simulation/orbsim_simulation_structs/quadtree.py
dmguezjaviersnet/IA-Sim-Comp-Project
8165b9546efc45f98091a3774e2dae4f45942048
[ "MIT" ]
1
2022-01-19T22:49:09.000Z
2022-01-19T22:49:09.000Z
orb_simulator/simulation/orbsim_simulation_structs/quadtree.py
dmguezjaviersnet/IA-Sim-Comp-Project
8165b9546efc45f98091a3774e2dae4f45942048
[ "MIT" ]
15
2021-11-10T14:25:02.000Z
2022-02-12T19:17:11.000Z
orb_simulator/simulation/orbsim_simulation_structs/quadtree.py
dmguezjaviersnet/IA-Sim-Comp-Project
8165b9546efc45f98091a3774e2dae4f45942048
[ "MIT" ]
null
null
null
from enum import Enum, IntEnum from typing import Tuple, List from simulation.orbsim_simulation_entities import Point from sprites_and_graph_ent.orbit_obj import OrbitObj from sprites_and_graph_ent.space_agent import SpaceAgent from sprites_and_graph_ent.space_debris import SpaceDebris from sprites_and_graph_ent.satel...
33.40367
149
0.677698
2,036
14,564
4.671906
0.085462
0.103869
0.083263
0.106392
0.727187
0.709209
0.634777
0.610597
0.589045
0.533431
0
0.014247
0.209626
14,564
436
150
33.40367
0.812093
0.045798
0
0.567398
0
0
0.002307
0
0
0
0
0
0
1
0.056426
false
0
0.031348
0.009404
0.310345
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
9afdf4cea93cef564d0af88b527d9d3d11075062
1,280
py
Python
FreeNOS/support/scons/checksum.py
magic428/src_code_read
2db267cb86bfb62f7343ac7590a0ab1fe43f9b2a
[ "MIT" ]
null
null
null
FreeNOS/support/scons/checksum.py
magic428/src_code_read
2db267cb86bfb62f7343ac7590a0ab1fe43f9b2a
[ "MIT" ]
null
null
null
FreeNOS/support/scons/checksum.py
magic428/src_code_read
2db267cb86bfb62f7343ac7590a0ab1fe43f9b2a
[ "MIT" ]
1
2018-11-18T06:41:11.000Z
2018-11-18T06:41:11.000Z
# # Copyright (C) 2010 Niek Linnenbank # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed...
27.234043
71
0.686719
187
1,280
4.700535
0.582888
0.037543
0.044369
0.064846
0.093288
0.063709
0
0
0
0
0
0.011964
0.216406
1,280
46
72
27.826087
0.864407
0.613281
0
0
0
0
0.06383
0
0
0
0
0
0
0
null
null
0
0.133333
null
null
0.133333
0
0
0
null
0
0
0
0
0
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
b1027ed119f1e8628f2f25fcf13a9de913bbb9e3
330
py
Python
services/users/urls.py
mrubio-chavarria/nonSpot
1bae76dffc1a8ae124537230bcc5599b7b0d30c2
[ "MIT" ]
1
2020-04-13T11:58:49.000Z
2020-04-13T11:58:49.000Z
services/users/urls.py
mrubio-chavarria/nonSpot
1bae76dffc1a8ae124537230bcc5599b7b0d30c2
[ "MIT" ]
3
2020-04-09T20:33:54.000Z
2020-04-09T20:34:01.000Z
services/users/urls.py
mrubio-chavarria/nonSpot
1bae76dffc1a8ae124537230bcc5599b7b0d30c2
[ "MIT" ]
1
2020-04-18T17:07:31.000Z
2020-04-18T17:07:31.000Z
from django.conf.urls import url, include from django.urls import path from rest_framework import routers from services.users import views as users router = routers.SimpleRouter() router.register('users', users.UserViewSet, base_name='users') urlpatterns = [ url(r'^', include(router.urls)), url(r'^$', users.l...
25.384615
62
0.745455
45
330
5.422222
0.533333
0.081967
0
0
0
0
0
0
0
0
0
0
0.130303
330
12
63
27.5
0.850174
0
0
0
0
0
0.039394
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b102dcc5c0ca4e46cfbf18e0727827fe33c8cf11
1,615
py
Python
crawlers/crawlers/spiders/jd_special_local_product.py
jackliusr/scrapy-crawlers
f3af825bf240c4b53aa9fa61903d89f09386c6a2
[ "Apache-2.0" ]
3
2015-02-18T21:03:27.000Z
2019-06-27T13:23:25.000Z
crawlers/crawlers/spiders/jd_special_local_product.py
jackliusr/scrapy-crawlers
f3af825bf240c4b53aa9fa61903d89f09386c6a2
[ "Apache-2.0" ]
3
2021-03-24T11:34:33.000Z
2021-03-24T11:34:33.000Z
crawlers/crawlers/spiders/jd_special_local_product.py
jackliusr/scrapy-crawlers
f3af825bf240c4b53aa9fa61903d89f09386c6a2
[ "Apache-2.0" ]
null
null
null
import scrapy from scrapy.selector import Selector from scrapy.linkextractors import LinkExtractor from scrapy.spiders import CrawlSpider, Rule from crawlers.items import JdItem class JdSpecialLocalProductSpider(CrawlSpider): name = 'jd-special-local-product' allowed_domains = ['jd.com'] start_urls = ['htt...
48.939394
93
0.605573
301
1,615
3.232558
0.249169
0.098664
0.12333
0.131552
0.361768
0.361768
0.340185
0.340185
0.340185
0.340185
0
0.183273
0.148607
1,615
32
94
50.46875
0.524364
0
0
0
0
0.285714
0.512392
0.113383
0
0
0
0
0
1
0.035714
false
0
0.178571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b1072c2c960a13f0957877eea0c016fe1d36993d
571
py
Python
airmozilla/main/migrations/0019_auto_20160420_1035.py
mozilla/airmozilla
fa6acbbbacc1e22553457807bcea7ce7a9ef6fe3
[ "BSD-3-Clause" ]
115
2015-01-06T18:45:39.000Z
2022-02-07T10:56:49.000Z
airmozilla/main/migrations/0019_auto_20160420_1035.py
april/airmozilla
ee357f5396cdcb50147c72ff1e81a610f9cb292c
[ "BSD-3-Clause" ]
321
2015-01-02T15:19:25.000Z
2018-07-05T14:58:50.000Z
airmozilla/main/migrations/0019_auto_20160420_1035.py
april/airmozilla
ee357f5396cdcb50147c72ff1e81a610f9cb292c
[ "BSD-3-Clause" ]
101
2015-01-13T17:59:15.000Z
2020-12-15T02:58:38.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0018_auto_20160325_1951'), ] operations = [ migrations.AlterField( model_name='suggestedevent', ...
28.55
213
0.633975
61
571
5.754098
0.655738
0.148148
0.045584
0.165242
0.133903
0
0
0
0
0
0
0.042411
0.215412
571
19
214
30.052632
0.741071
0.036778
0
0
0
0
0.255474
0.041971
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
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
b1094dac26931117ef15520794e50031e5844eda
2,231
py
Python
server/apps/comments/views.py
multifunc/test_task_magnit
9cccf687319ea91085b9ba9b8335ad758e20ab3a
[ "MIT" ]
null
null
null
server/apps/comments/views.py
multifunc/test_task_magnit
9cccf687319ea91085b9ba9b8335ad758e20ab3a
[ "MIT" ]
null
null
null
server/apps/comments/views.py
multifunc/test_task_magnit
9cccf687319ea91085b9ba9b8335ad758e20ab3a
[ "MIT" ]
null
null
null
from core.app import Response, JsonResponse from core.shortcuts import redirect from core.views import TemplateView, View from server.apps.comments.services import ( get_cities, delete_comment, get_comment_view_content, get_statistic_content, check_validate_form_data, insert_comment, get_comment_add_con...
28.240506
92
0.66069
255
2,231
5.6
0.313725
0.10084
0.063025
0.088235
0.318627
0.313025
0.268908
0.173669
0.173669
0.173669
0
0.003474
0.225908
2,231
78
93
28.602564
0.823393
0.090542
0
0.146341
0
0
0.050052
0
0
0
0
0
0
1
0.146341
false
0
0.097561
0.073171
0.658537
0
0
0
0
null
0
0
0
0
0
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
b10ac69d0758ce54e74e522179be152175f5764a
3,229
py
Python
flexget/components/sites/sites/wordpress.py
metaMMA/Flexget
a38986422461d7935ead1e2b4ed4c88bcd0a90f5
[ "MIT" ]
null
null
null
flexget/components/sites/sites/wordpress.py
metaMMA/Flexget
a38986422461d7935ead1e2b4ed4c88bcd0a90f5
[ "MIT" ]
1
2017-10-09T23:06:44.000Z
2017-10-09T23:06:44.000Z
flexget/components/sites/sites/wordpress.py
metaMMA/Flexget
a38986422461d7935ead1e2b4ed4c88bcd0a90f5
[ "MIT" ]
null
null
null
from __future__ import unicode_literals, division, absolute_import from builtins import * # noqa pylint: disable=unused-import, redefined-builtin from future.moves.urllib.parse import urlencode import logging import re from flexget import plugin from flexget.event import event from flexget.plugin import PluginError ...
32.616162
111
0.635801
365
3,229
5.49863
0.473973
0.03986
0.025411
0.026906
0.018934
0
0
0
0
0
0
0.015071
0.239703
3,229
98
112
32.94898
0.802444
0.089501
0
0
0
0.013889
0.199725
0.022727
0
0
0
0
0
1
0.083333
false
0.083333
0.138889
0.013889
0.305556
0
0
0
0
null
0
0
0
0
0
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
b10c409d37bd6c961abe0854cee623b7e329a761
1,483
py
Python
Chapter 3/03/recipe20b.py
robert0714/Python-Testing-Cookbook-Second-Edition
c7c5d59e42e9ca2874faf12a6dd201736a45ca83
[ "MIT" ]
null
null
null
Chapter 3/03/recipe20b.py
robert0714/Python-Testing-Cookbook-Second-Edition
c7c5d59e42e9ca2874faf12a6dd201736a45ca83
[ "MIT" ]
null
null
null
Chapter 3/03/recipe20b.py
robert0714/Python-Testing-Cookbook-Second-Edition
c7c5d59e42e9ca2874faf12a6dd201736a45ca83
[ "MIT" ]
null
null
null
def convert_to_basen(value, base): """Convert a base10 number to basen. >>> [convert_to_basen(i, 16) for i in range(1,16)] #doctest: +NORMALIZE_WHITESPACE ['1/16', '2/16', '3/16', '4/16', '5/16', '6/16', '7/16', '8/16', '9/16', 'a/16', 'b/16', 'c/16', 'd/16', 'e/16', 'f/16'] FUTURE: Binary may s...
32.23913
86
0.519218
189
1,483
3.931217
0.42328
0.113055
0.07537
0.067295
0.114401
0
0
0
0
0
0
0.069459
0.339852
1,483
45
87
32.955556
0.689479
0.339852
0
0.12
0
0
0.016164
0
0
0
0
0.022222
0
1
0.12
false
0
0.08
0
0.44
0
0
0
0
null
0
0
0
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
b10c7a3f88bdaec548708975dd6da1be142bcc80
498
py
Python
keypit/kpis/migrations/0026_auto_20200824_1544.py
katyjg/KeyPIT
252eb9e0178d0eb3e1e567abb64ffafab790eb8d
[ "BSD-3-Clause" ]
null
null
null
keypit/kpis/migrations/0026_auto_20200824_1544.py
katyjg/KeyPIT
252eb9e0178d0eb3e1e567abb64ffafab790eb8d
[ "BSD-3-Clause" ]
null
null
null
keypit/kpis/migrations/0026_auto_20200824_1544.py
katyjg/KeyPIT
252eb9e0178d0eb3e1e567abb64ffafab790eb8d
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.0.7 on 2020-08-24 21:44 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('kpis', '0025_auto_20200824_1542'), ] operations = [ migrations.RenameField( model_name='kpientry', old_name='beamline', ...
21.652174
55
0.560241
48
498
5.666667
0.791667
0.088235
0
0
0
0
0
0
0
0
0
0.090643
0.313253
498
22
56
22.636364
0.704678
0.090361
0
0.125
1
0
0.148559
0.050998
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
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
b10db9f53e673d7f708bdafafb3d18775e80f6b9
3,265
py
Python
src/scs_core/osio/data/device_summary.py
south-coast-science/scs_core
81ad4010abb37ca935f3a31ac805639ef53b1bcf
[ "MIT" ]
3
2019-03-12T01:59:58.000Z
2020-09-12T07:27:42.000Z
src/scs_core/osio/data/device_summary.py
south-coast-science/scs_core
81ad4010abb37ca935f3a31ac805639ef53b1bcf
[ "MIT" ]
1
2018-04-20T07:58:38.000Z
2021-03-27T08:52:45.000Z
src/scs_core/osio/data/device_summary.py
south-coast-science/scs_core
81ad4010abb37ca935f3a31ac805639ef53b1bcf
[ "MIT" ]
4
2017-09-29T13:08:43.000Z
2019-10-09T09:13:58.000Z
""" Created on 9 Nov 2016 @author: Bruno Beloff (bruno.beloff@southcoastscience.com) example: { "client-id": "5891", "description": "BB development platform", "name": "Praxis/BGB 000000", "tags": [ "pm1", "pm2.5", "pm10", "co", "no", "no2", "o3", "temp...
25.310078
118
0.432772
264
3,265
5.17803
0.32197
0.081931
0.05267
0.03365
0.051207
0.051207
0
0
0
0
0
0.015926
0.269219
3,265
128
119
25.507813
0.556999
0.374885
0
0.102041
0
0.020408
0.074018
0.014099
0
0
0
0
0
1
0.183673
false
0
0.061224
0.122449
0.44898
0
0
0
0
null
0
0
0
0
0
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
b112cc915afd106dac8c0af183b57cef058ff045
2,313
py
Python
deletemsgsfromgrps.py
jizizr/PagerMaid_Plugins
4805ecfd5035cb6b423894c140acbefc4d61136c
[ "MIT" ]
153
2020-10-31T06:54:11.000Z
2022-02-18T08:44:47.000Z
deletemsgsfromgrps.py
jizizr/PagerMaid_Plugins
4805ecfd5035cb6b423894c140acbefc4d61136c
[ "MIT" ]
82
2020-11-17T14:40:49.000Z
2022-01-23T12:20:11.000Z
deletemsgsfromgrps.py
jizizr/PagerMaid_Plugins
4805ecfd5035cb6b423894c140acbefc4d61136c
[ "MIT" ]
81
2020-11-18T16:15:08.000Z
2022-02-23T07:24:20.000Z
""" Pagermaid plugin delete messages from groups """ # ______ _ # | ___ \ | | # | |_/ /__ _ __ | |_ __ _ ___ ___ _ __ ___ # | __/ _ \ '_ \| __/ _` |/ __/ _ \ '_ \ / _ \ # | | | __/ | | | || (_| | (_| __/ | | | __/ # \_| \___|_| |_|\__\__,_|\___\___|_| |_|\___| # from asyncio import ...
38.55
93
0.546909
238
2,313
4.92437
0.268908
0.102389
0.109215
0.064846
0.619454
0.619454
0.619454
0.619454
0.549488
0.549488
0
0.01616
0.331172
2,313
59
94
39.20339
0.741435
0.12019
0
0.708333
0
0
0.085559
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.104167
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b11722698a2ec2667ff0ace53d9b6ce93762b973
576
py
Python
m2det/errors.py
sarrrrry/M2Det
ab3b87f207953b2c128ef74b1f787525426b9105
[ "MIT" ]
null
null
null
m2det/errors.py
sarrrrry/M2Det
ab3b87f207953b2c128ef74b1f787525426b9105
[ "MIT" ]
null
null
null
m2det/errors.py
sarrrrry/M2Det
ab3b87f207953b2c128ef74b1f787525426b9105
[ "MIT" ]
null
null
null
from pathlib import PosixPath, Path class Errors: LINE = "="*25 BASE_MSG = "\n{line}\n".format(line=LINE) def __call__(self, msg, exception): return exception(msg) def FileNotFound(self, path: PosixPath): path = Path(path) msg = self.BASE_MSG msg += "NOT Exists Path:\...
27.428571
87
0.604167
71
576
4.732394
0.422535
0.154762
0.10119
0
0
0
0
0
0
0
0
0.009456
0.265625
576
21
88
27.428571
0.78487
0
0
0
0
0
0.081456
0
0
0
0
0
0
1
0.133333
false
0
0.066667
0.066667
0.533333
0
0
0
0
null
0
0
0
0
0
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
b11ba01f8d0b10a534e319f57ea917738ea5206a
929
py
Python
letterCombinations.py
quake0day/oj
c09333d1738f8735de0d5d825db6f4b707585670
[ "MIT" ]
null
null
null
letterCombinations.py
quake0day/oj
c09333d1738f8735de0d5d825db6f4b707585670
[ "MIT" ]
null
null
null
letterCombinations.py
quake0day/oj
c09333d1738f8735de0d5d825db6f4b707585670
[ "MIT" ]
null
null
null
class Solution: # @return a list of strings, [s1, s2] def letterCombinations(self, digits): if len(digits) <= 0: return [] map = { "0": (), "1": (), "2": ("a", "b", "c"), "3": ("d", "e", "f"), "4": ("g", "h", "i"), ...
29.03125
48
0.321851
92
929
3.25
0.663043
0.093645
0
0
0
0
0
0
0
0
0
0.047521
0.47901
929
32
49
29.03125
0.570248
0.037675
0
0.066667
0
0
0.041433
0
0
0
0
0
0
0
null
null
0
0
null
null
0.033333
0
0
0
null
0
0
0
0
0
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
b12878d5c0afb6a183ccced1b83b5da35ebf1520
4,132
py
Python
cipher/components/substitution.py
kinshuk-h/ModesOfOperation
11fd797f4b6811cdcd767c3043ef51c714e14ccb
[ "Unlicense", "MIT" ]
null
null
null
cipher/components/substitution.py
kinshuk-h/ModesOfOperation
11fd797f4b6811cdcd767c3043ef51c714e14ccb
[ "Unlicense", "MIT" ]
null
null
null
cipher/components/substitution.py
kinshuk-h/ModesOfOperation
11fd797f4b6811cdcd767c3043ef51c714e14ccb
[ "Unlicense", "MIT" ]
null
null
null
""" substitution ~~~~~~~~~~~~ This module provides component ciphers for substitution operations, such as S-Boxes. - Classes - SBox: Defines a common S-Box which utilizes a substitution table to encrypt data. Author: Kinshuk Vasisht Dated : 11/03/2022 """ import typing from .. impor...
42.597938
118
0.628509
466
4,132
5.474249
0.283262
0.093297
0.04312
0.0588
0.29753
0.235202
0.132889
0.092905
0.079969
0.044688
0
0.004723
0.282672
4,132
97
119
42.597938
0.855938
0.423282
0
0.051282
0
0
0.114405
0
0
0
0
0.020619
0
1
0.076923
false
0
0.051282
0
0.25641
0
0
0
0
null
0
0
0
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
b128b182cc2c5faf2e89af2cdf71fd50170b77bb
5,369
py
Python
lifecycle/connectors/atos/sla_manager.py
mF2C/LifecycleManagement
a9661c6dcaad94564c3e00d6059b9c0713b3f3c0
[ "Apache-2.0" ]
null
null
null
lifecycle/connectors/atos/sla_manager.py
mF2C/LifecycleManagement
a9661c6dcaad94564c3e00d6059b9c0713b3f3c0
[ "Apache-2.0" ]
18
2017-10-25T08:17:24.000Z
2019-12-10T08:43:45.000Z
lifecycle/connectors/atos/sla_manager.py
mF2C/LifecycleManagement
a9661c6dcaad94564c3e00d6059b9c0713b3f3c0
[ "Apache-2.0" ]
null
null
null
""" Interactions with other mF2C components This is being developed for the MF2C Project: http://www.mf2c-project.eu/ Copyright: Roi Sucasas Font, Atos Research and Innovation, 2017. This code is licensed under an Apache 2.0 license. Please, refer to the LICENSE.TXT file for more information Created on 09 may. 2019 ...
53.158416
174
0.677407
672
5,369
5.205357
0.172619
0.082905
0.138079
0.156089
0.761864
0.751001
0.694397
0.666381
0.61721
0.590909
0
0.015794
0.17452
5,369
101
175
53.158416
0.773466
0.151425
0
0.396825
0
0
0.466402
0.242344
0
0
0
0
0
1
0.063492
false
0
0.047619
0
0.238095
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
b1301016a77767d7768215b08866fc9ab427602d
346
py
Python
trinitee/accounts/urls.py
chaosk/trinitee
30190c7e8ff2164c1127e26e733e0b65a9cd1f57
[ "BSD-3-Clause" ]
1
2017-04-20T18:39:48.000Z
2017-04-20T18:39:48.000Z
trinitee/accounts/urls.py
chaosk/trinitee
30190c7e8ff2164c1127e26e733e0b65a9cd1f57
[ "BSD-3-Clause" ]
null
null
null
trinitee/accounts/urls.py
chaosk/trinitee
30190c7e8ff2164c1127e26e733e0b65a9cd1f57
[ "BSD-3-Clause" ]
null
null
null
from django.conf.urls.defaults import patterns, url urlpatterns = patterns('accounts.views', url(r'^login/$', 'login', name='login'), url(r'^logout/$', 'logout', name='logout'), url(r'^register/$', 'register', name='register'), url(r'^list/$', 'userlist', name='userlist'), url(r'^profile/(?P<user_id>\d+)/$', 'pro...
34.6
64
0.641618
46
346
4.804348
0.5
0.090498
0
0
0
0
0
0
0
0
0
0
0.086705
346
9
65
38.444444
0.699367
0
0
0
0
0
0.416185
0.078035
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
b1312099e2bbe16e700723dd71096506609abd3a
343
py
Python
py_codes/003variable.py
fusugz/lifeisshort
46bb2cf7fcdba57df5f9247c4d45dac83cb526d7
[ "MIT" ]
2
2017-05-23T10:22:18.000Z
2017-07-03T15:14:55.000Z
py_codes/003variable.py
fusugz/lifeisshort
46bb2cf7fcdba57df5f9247c4d45dac83cb526d7
[ "MIT" ]
null
null
null
py_codes/003variable.py
fusugz/lifeisshort
46bb2cf7fcdba57df5f9247c4d45dac83cb526d7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # "\"用来转义,输入特殊符号 print('I\'m OK.') print('I\'m learning \nPython.') print('\\\n\\') # '''...'''表示多行内容 print('''line1 line2 line3''') print(r'''line1 line2 line3''') # 变量 a = 1 t_007 = 't007' Answer = True # 等号=是赋值语句,可以把任意数据类型赋值给变量,同一个变量可以反复赋值,而且可## 以是不同类型的变量 a = 111 # a是整数 print(a) a = 'a...
11.433333
53
0.586006
50
343
4
0.7
0.06
0.07
0
0
0
0
0
0
0
0
0.059028
0.16035
343
29
54
11.827586
0.635417
0.341108
0
0.375
0
0
0.237209
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
b1331f437597e834097eb0fb71cac73419f34d8a
1,774
py
Python
gits/ui/main_display/image_viewer.py
BabyCakes13/GlacierImagePredictor
07665dee1a6f77cf5b10da81df5cca880e2e8551
[ "Apache-2.0" ]
null
null
null
gits/ui/main_display/image_viewer.py
BabyCakes13/GlacierImagePredictor
07665dee1a6f77cf5b10da81df5cca880e2e8551
[ "Apache-2.0" ]
38
2021-03-08T16:03:56.000Z
2021-06-28T12:46:22.000Z
gits/ui/main_display/image_viewer.py
BabyCakes13/GlacierImagePredictor
07665dee1a6f77cf5b10da81df5cca880e2e8551
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 from PyQt5 import QtGui from PyQt5 import QtCore from ui.PyQtImageViewer.QtImageViewer import QtImageViewer from utils import logging logger = logging.getLogger(__name__) class ImageViewer: def __init__(self): self.__viewer = self.__set_image_viewer() self.__image_name = N...
31.122807
90
0.662345
194
1,774
5.742268
0.376289
0.035907
0.035009
0.032316
0.050269
0
0
0
0
0
0
0.010566
0.2531
1,774
56
91
31.678571
0.830189
0.029876
0
0
0
0
0.020942
0
0
0
0
0.017857
0
1
0.142857
false
0
0.095238
0.071429
0.380952
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
b135472450a502b628f83630f1aca416c883c597
2,252
py
Python
project/source/base/management/initial_data.py
mverleg/mu3
8c9b952db1cceb890290b8ff93cc043af597ba41
[ "BSD-3-Clause" ]
null
null
null
project/source/base/management/initial_data.py
mverleg/mu3
8c9b952db1cceb890290b8ff93cc043af597ba41
[ "BSD-3-Clause" ]
null
null
null
project/source/base/management/initial_data.py
mverleg/mu3
8c9b952db1cceb890290b8ff93cc043af597ba41
[ "BSD-3-Clause" ]
null
null
null
""" create initial data for this model, on syncdb make sure to check if it doesn't yet exist """ from admin_settings import Setting from statix.models.page import Page INITIAL_USER = 'mark.verleg@gmail.com' def initial_data(verbosity, *args, **kwargs): """ initialize display parameters (as settings) """ if ...
38.169492
156
0.662078
322
2,252
4.608696
0.453416
0.013477
0.040431
0.053908
0.234501
0.219003
0.201482
0.137466
0.088949
0.088949
0
0.009636
0.170515
2,252
58
157
38.827586
0.784797
0.058615
0
0.166667
0
0.119048
0.604056
0.023177
0
0
0
0
0
1
0.02381
false
0
0.047619
0
0.071429
0.095238
0
0
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
b137c7ca509f77e6ccbe4bdc0426f1ea5cf1b76f
3,449
py
Python
tests/test_monolayergraphene.py
gholdman1/Graphene-Modeling
61fdf5941f4c43866e846902a21e58e5e1b2a47e
[ "MIT" ]
1
2020-06-16T01:35:26.000Z
2020-06-16T01:35:26.000Z
tests/test_monolayergraphene.py
gholdman1/Graphene-Modeling
61fdf5941f4c43866e846902a21e58e5e1b2a47e
[ "MIT" ]
null
null
null
tests/test_monolayergraphene.py
gholdman1/Graphene-Modeling
61fdf5941f4c43866e846902a21e58e5e1b2a47e
[ "MIT" ]
2
2020-03-25T19:37:09.000Z
2020-07-24T13:23:45.000Z
import os,sys import pytest sys.path.append(os.path.dirname(os.path.dirname(__file__))) import graphenemodeling.graphene.monolayer as mlg import graphenemodeling.graphene._constants as _c from scipy import constants as sc import numpy as np class TestHamiltonian: def test_Hamiltonian_LowEnergy(self): eF = 0.4 ...
26.128788
84
0.757321
497
3,449
5.114688
0.199195
0.055075
0.076711
0.049567
0.545633
0.448859
0.412667
0.332022
0.332022
0.286782
0
0.08547
0.118005
3,449
132
85
26.128788
0.750164
0.011888
0
0.296296
0
0
0.059877
0
0
0
0
0
0.222222
1
0.246914
false
0
0.074074
0
0.395062
0
0
0
0
null
0
0
0
0
0
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
b1414bdb10d0ecd5a22a33f206b3d4ff82b60ea3
841
py
Python
CrowdCop_test/crowdcop/crowdcop_web/migrations/0033_auto_20160525_1427.py
bocaaust/CrowdCop
8234855d7a3405623828db6c6c966298ede45737
[ "Apache-2.0" ]
2
2016-03-01T21:31:38.000Z
2016-04-17T01:12:11.000Z
CrowdCop_test/crowdcop/crowdcop_web/migrations/0033_auto_20160525_1427.py
bocaaust/CrowdCop
8234855d7a3405623828db6c6c966298ede45737
[ "Apache-2.0" ]
43
2016-02-23T20:51:27.000Z
2022-03-11T23:12:51.000Z
CrowdCop_test/crowdcop/crowdcop_web/migrations/0033_auto_20160525_1427.py
bocaaust/CrowdCop
8234855d7a3405623828db6c6c966298ede45737
[ "Apache-2.0" ]
3
2015-09-22T20:23:34.000Z
2017-02-24T16:01:21.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.1 on 2016-05-25 18:27 from __future__ import unicode_literals import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('crowdcop_web', '0032_auto_20160502_1413...
28.033333
130
0.631391
94
841
5.468085
0.62766
0.093385
0.023346
0.105058
0.167315
0.167315
0
0
0
0
0
0.088283
0.259215
841
29
131
29
0.736758
0.079667
0
0.363636
1
0
0.101167
0.029831
0
0
0
0
0
1
0
false
0
0.181818
0
0.318182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b1430372aefa331d60f24a1c47f68a80d13a09a6
567
py
Python
paps/crowd/__init__.py
the01/python-paps
2dde5a71913e4c7b22901cf05c6ecedd890919c4
[ "MIT" ]
null
null
null
paps/crowd/__init__.py
the01/python-paps
2dde5a71913e4c7b22901cf05c6ecedd890919c4
[ "MIT" ]
null
null
null
paps/crowd/__init__.py
the01/python-paps
2dde5a71913e4c7b22901cf05c6ecedd890919c4
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals __author__ = "d01" __email__ = "jungflor@gmail.com" __copyright__ = "Copyright (C) 2015-16, Florian JUNG" __license__ = "MIT" __version__ = "0.2.0...
24.652174
53
0.776014
69
567
5.637681
0.695652
0.102828
0.164524
0
0
0
0
0
0
0
0
0.064386
0.123457
567
22
54
25.772727
0.71831
0.082892
0
0
0
0
0.191489
0
0
0
0
0
0
1
0
false
0
0.466667
0
0.466667
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b144c38f459d5b312a00623a83561abe675f19c1
4,665
py
Python
solo/devices/base.py
stevenwdv/solo-python
2098535646c9ba280bd385c4957df03b9a8633bc
[ "Apache-2.0", "MIT" ]
null
null
null
solo/devices/base.py
stevenwdv/solo-python
2098535646c9ba280bd385c4957df03b9a8633bc
[ "Apache-2.0", "MIT" ]
null
null
null
solo/devices/base.py
stevenwdv/solo-python
2098535646c9ba280bd385c4957df03b9a8633bc
[ "Apache-2.0", "MIT" ]
null
null
null
import struct from cryptography import x509 from cryptography.hazmat.backends import default_backend from fido2.attestation import Attestation from fido2.ctap2 import CTAP2, CredentialManagement from fido2.hid import CTAPHID from fido2.utils import hmac_sha256 from fido2.webauthn import PublicKeyCredentialCreationOpti...
28.10241
92
0.614362
566
4,665
4.862191
0.318021
0.043605
0.050872
0.041424
0.170422
0.146076
0.114099
0.090116
0.037064
0.037064
0
0.016939
0.291318
4,665
165
93
28.272727
0.815487
0.096892
0
0.312
0
0
0.036127
0
0
0
0.001927
0
0
1
0.184
false
0.088
0.08
0.008
0.32
0.008
0
0
0
null
0
0
0
0
0
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
b148235f23ce762fa5aa7ea6f5e3ad458f8a1b61
876
py
Python
honeybot/plugins/date.py
marceloyb/honeybot
b2b92af54d01228ec150185eaa08a4baf55f1c88
[ "MIT" ]
null
null
null
honeybot/plugins/date.py
marceloyb/honeybot
b2b92af54d01228ec150185eaa08a4baf55f1c88
[ "MIT" ]
null
null
null
honeybot/plugins/date.py
marceloyb/honeybot
b2b92af54d01228ec150185eaa08a4baf55f1c88
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ [date.py] Date Plugin [Author] Gico Carlo Evangelista, https://gicocarlo.me/ [About] Will post the current date [Commands] >>> .date today returns the current date """ from datetime import date class Plugin: def __init__(self): pass # Date attribut...
23.052632
82
0.555936
103
876
4.61165
0.61165
0.067368
0.101053
0
0
0
0
0
0
0
0
0.003247
0.296804
876
37
83
23.675676
0.767857
0.267123
0
0
0
0
0.12437
0
0
0
0
0
0
1
0.1875
false
0.0625
0.0625
0
0.375
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b14be8c17aef7ef4e5b3419506b716bac0b0df9a
589
py
Python
main.py
Tsukinome/Scraper_225
3a4b723e12279ba6b27710e4c4e50c84eac1eb0f
[ "MIT" ]
null
null
null
main.py
Tsukinome/Scraper_225
3a4b723e12279ba6b27710e4c4e50c84eac1eb0f
[ "MIT" ]
null
null
null
main.py
Tsukinome/Scraper_225
3a4b723e12279ba6b27710e4c4e50c84eac1eb0f
[ "MIT" ]
null
null
null
from functions import scraping_functions from connect import database_functions def main(): keywords = ["masks", "rings", "anime"] items = 3026 scraped_data = scraping_functions.scraper(items, keywords) database_functions.connect_database() database_functions.drop_tables() database_functions....
29.45
67
0.764007
67
589
6.313433
0.507463
0.281324
0.118203
0
0
0
0
0
0
0
0
0.007984
0.149406
589
19
68
31
0.836327
0
0
0
0
0
0.13073
0
0
0
0
0
0
1
0.066667
false
0
0.2
0
0.266667
0.066667
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b154c557c16a1dc08e22ad7f581c43a44d276b7b
327
py
Python
bin/print_data_structure_agn.py
JohanComparat/pyEmerge
9b5bfa01959d48ea41221609b8f375f27e3e39ff
[ "Unlicense" ]
null
null
null
bin/print_data_structure_agn.py
JohanComparat/pyEmerge
9b5bfa01959d48ea41221609b8f375f27e3e39ff
[ "Unlicense" ]
null
null
null
bin/print_data_structure_agn.py
JohanComparat/pyEmerge
9b5bfa01959d48ea41221609b8f375f27e3e39ff
[ "Unlicense" ]
null
null
null
import sys ii = int(sys.argv[1]) env = sys.argv[2] # python3 print_data_structure.py 22 MD10 import glob import os import numpy as n import EmergeIterate iterate = EmergeIterate.EmergeIterate(ii, env) iterate.open_snapshots() print(ii,iterate.f0.attrs['aexp']) print(iterate.f0['/agn_properties/log_lambda_sar'].value[...
20.4375
62
0.770642
52
327
4.730769
0.653846
0.056911
0
0
0
0
0
0
0
0
0
0.037415
0.100917
327
15
63
21.8
0.79932
0.119266
0
0
0
0
0.119298
0.105263
0
0
0
0
0
1
0
false
0
0.454545
0
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
0
0
0
1
0
0
0
0
1
b155375a30b0fd436541e0ef215594702506cbf0
513
py
Python
playbooks/roles/createresources/molecule/fiaas01/tests/test_useraccess.py
sejo/fiaas
d6fc17429146932571e49cc64556d3f6da353606
[ "MIT" ]
25
2016-09-16T05:45:53.000Z
2017-11-24T10:02:29.000Z
playbooks/roles/createresources/molecule/fiaas01/tests/test_useraccess.py
sejo/fiaas
d6fc17429146932571e49cc64556d3f6da353606
[ "MIT" ]
8
2016-09-19T16:37:10.000Z
2018-12-16T10:37:55.000Z
playbooks/roles/createresources/molecule/fiaas01/tests/test_useraccess.py
sejo/fiaas
d6fc17429146932571e49cc64556d3f6da353606
[ "MIT" ]
4
2016-09-16T05:46:05.000Z
2017-06-21T07:45:07.000Z
import os import testinfra.utils.ansible_runner testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all') def test_authorized_keys(host): with host.sudo(): keyfile = host.file('/home/devuser1/.ssh/authorized_keys') assert keyfile....
30.176471
66
0.707602
61
513
5.803279
0.57377
0.183616
0.118644
0.152542
0
0
0
0
0
0
0
0.019048
0.181287
513
16
67
32.0625
0.82381
0
0
0
0
0
0.204678
0.11306
0
0
0
0
0.416667
1
0.083333
false
0
0.166667
0
0.25
0
0
0
0
null
0
0
0
0
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
b15829971f63f68f3a645faf8dcb4a67b9fd6a85
14,204
py
Python
gendergap.py
anitaokoh/Streamlit_Python_Viz_App
959a225722318672c7935a1d35144a9461fc6258
[ "MIT" ]
5
2020-01-20T10:57:44.000Z
2021-08-21T21:04:41.000Z
gendergap.py
apoorvareddy612/Streamlit_Python_Viz_App
959a225722318672c7935a1d35144a9461fc6258
[ "MIT" ]
null
null
null
gendergap.py
apoorvareddy612/Streamlit_Python_Viz_App
959a225722318672c7935a1d35144a9461fc6258
[ "MIT" ]
6
2020-02-08T11:32:46.000Z
2021-11-20T13:04:30.000Z
import streamlit as st import pandas as pd import plotly as py import numpy as np import plotly.graph_objs as go from plotly.subplots import make_subplots # Data Source gap_index = pd.read_csv('data/gender_gap_2010_2020_complete.csv') new_df = gap_index[['2010', '2011', '2012', '2013', '2014', '2015', '2016', '...
50.014085
192
0.543157
1,798
14,204
4.200222
0.210234
0.042373
0.032442
0.033898
0.633077
0.608713
0.608713
0.608713
0.598385
0.586732
0
0.06252
0.333357
14,204
283
193
50.190813
0.733235
0.036891
0
0.576763
0
0.087137
0.653753
0.051337
0
0
0
0
0
1
0.024896
false
0
0.024896
0
0.062241
0
0
0
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
b15dfb2bd9dfbcc9126ae2b57ee066516bca084d
7,155
py
Python
tests/openapi/test_validators.py
stortiz-lifeworks/chocs-openapi
34588af81b4328c45872e6a8c7c8f04ac13cd3f5
[ "MIT" ]
null
null
null
tests/openapi/test_validators.py
stortiz-lifeworks/chocs-openapi
34588af81b4328c45872e6a8c7c8f04ac13cd3f5
[ "MIT" ]
null
null
null
tests/openapi/test_validators.py
stortiz-lifeworks/chocs-openapi
34588af81b4328c45872e6a8c7c8f04ac13cd3f5
[ "MIT" ]
null
null
null
import datetime from typing import Type import pytest from chocs import HttpRequest, HttpMethod, Route, HttpHeaders from chocs_middleware.openapi.error import RequestBodyValidationError, RequestValidationError, \ RequestQueryValidationError, RequestPathValidationError, RequestHeadersValidationError, \ Request...
27.413793
116
0.583368
627
7,155
6.54067
0.132376
0.053645
0.048281
0.064375
0.727384
0.704706
0.627896
0.574494
0.538161
0.519386
0
0.01297
0.256464
7,155
260
117
27.519231
0.757895
0.020266
0
0.654255
0
0
0.179605
0.014179
0
0
0
0
0.031915
1
0.06383
false
0.026596
0.031915
0
0.095745
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
b15fe6e6f7d019bb78812ae85eaab1d7e07638cc
910
py
Python
CH8/commonCar.py
yancqS/Python-tourial
6d5e91a5fe5dc22a807e375eb444553a20837d5a
[ "MIT" ]
null
null
null
CH8/commonCar.py
yancqS/Python-tourial
6d5e91a5fe5dc22a807e375eb444553a20837d5a
[ "MIT" ]
null
null
null
CH8/commonCar.py
yancqS/Python-tourial
6d5e91a5fe5dc22a807e375eb444553a20837d5a
[ "MIT" ]
null
null
null
from battery import Battery class Car: def __init__(self, make, model, year): self.make = make self.model = model self.year = year self.meter = 0 def get_descriptive_name(self): long_name = f"{self.year} {self.make} {self.model}" return long_name def get_m...
24.594595
71
0.602198
123
910
4.260163
0.317073
0.103053
0.074427
0.053435
0.381679
0.381679
0.381679
0.278626
0.148855
0
0
0.001546
0.289011
910
36
72
25.277778
0.808346
0
0
0.153846
0
0
0.163916
0
0
0
0
0
0
1
0.269231
false
0
0.038462
0
0.461538
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1