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
2fca179feb0de0c1d57483fe05574771c53f2038
195
py
Python
scripts/launch_image.py
rf972/lisa-qemu
c1a7f01451e01ff2503956f636306ec1000581dc
[ "Apache-2.0" ]
2
2020-12-11T02:16:34.000Z
2020-12-12T06:39:59.000Z
scripts/launch_image.py
rf972/lisa-qemu
c1a7f01451e01ff2503956f636306ec1000581dc
[ "Apache-2.0" ]
2
2020-12-08T12:05:54.000Z
2020-12-30T02:09:15.000Z
scripts/launch_image.py
rf972/lisa-qemu
c1a7f01451e01ff2503956f636306ec1000581dc
[ "Apache-2.0" ]
6
2020-04-03T10:40:32.000Z
2021-07-06T15:03:00.000Z
# # Copyright 2020 Linaro # # Launches an image created via build_image.py. # import build_image if __name__ == "__main__": inst_obj = build_image.BuildImage(ssh=True) inst_obj.run()
19.5
51
0.712821
27
195
4.666667
0.740741
0.238095
0
0
0
0
0
0
0
0
0
0.025157
0.184615
195
10
52
19.5
0.767296
0.34359
0
0
0
0
0.065041
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
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
2
2fe11660b327d276e28a4b526b8a76a6d5d3ec6c
1,620
py
Python
castellan/common/objects/key.py
vakwetu/castellan
040466c2a613f6e382fd0a00268bd25d907d25e2
[ "Apache-2.0" ]
null
null
null
castellan/common/objects/key.py
vakwetu/castellan
040466c2a613f6e382fd0a00268bd25d907d25e2
[ "Apache-2.0" ]
null
null
null
castellan/common/objects/key.py
vakwetu/castellan
040466c2a613f6e382fd0a00268bd25d907d25e2
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2015 The Johns Hopkins University/Applied Physics Laboratory # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/...
30.566038
79
0.698148
238
1,620
4.735294
0.47479
0.037267
0.04614
0.049689
0.221828
0.094055
0.053239
0.053239
0
0
0
0.006446
0.233951
1,620
52
80
31.153846
0.901692
0.74321
0
0.363636
0
0
0
0
0
0
0
0
0
1
0.181818
false
0.181818
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
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
1
0
0
2
2fea00bb538b3f6030d1c60d1ee4605b3928bfb4
226
py
Python
lesson16n3_projects/wcsc/auto_gen/code/states1/reply_agree.py
muzudho/py-state-machine-practice
e31c066f4cf142b6b6c5ff273b56a0f89428c59e
[ "MIT" ]
null
null
null
lesson16n3_projects/wcsc/auto_gen/code/states1/reply_agree.py
muzudho/py-state-machine-practice
e31c066f4cf142b6b6c5ff273b56a0f89428c59e
[ "MIT" ]
null
null
null
lesson16n3_projects/wcsc/auto_gen/code/states1/reply_agree.py
muzudho/py-state-machine-practice
e31c066f4cf142b6b6c5ff273b56a0f89428c59e
[ "MIT" ]
null
null
null
class ReplyAgreeState(): def update(self, req): # TODO 入力 msg = "" # 分岐 if msg == 'start': return ['Game'] else: raise ValueError("Unexpected condition")
16.142857
52
0.464602
20
226
5.25
0.95
0
0
0
0
0
0
0
0
0
0
0
0.420354
226
13
53
17.384615
0.801527
0.044248
0
0
0
0
0.13615
0
0
0
0
0.076923
0
1
0.142857
false
0
0
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
2fef92fcb60ed9e9fffc9d184756f98c22ffdf72
372
py
Python
service2/application/routes.py
K1610174/Multi-service-QA-SFIA2
abea7337ffafda8ff07f0a84a892b86b297b6e86
[ "MIT" ]
null
null
null
service2/application/routes.py
K1610174/Multi-service-QA-SFIA2
abea7337ffafda8ff07f0a84a892b86b297b6e86
[ "MIT" ]
null
null
null
service2/application/routes.py
K1610174/Multi-service-QA-SFIA2
abea7337ffafda8ff07f0a84a892b86b297b6e86
[ "MIT" ]
null
null
null
from flask import redirect, url_for, Response, request from application import app import requests import random @app.route('/') @app.route('/color', methods=['GET']) def color(): color_list=["red","orange","yellow","green","blue","indigo","violet","ivory","gray","black","pink"] color = random.choice(color_lis...
33.818182
103
0.701613
49
372
5.265306
0.693878
0.062016
0
0
0
0
0
0
0
0
0
0
0.104839
372
11
104
33.818182
0.774775
0
0
0
0
0
0.198391
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
2ff99ffd969913c24a2bb37d27fd183f27400225
3,998
py
Python
tests/integration/client_test.py
superdosh/betterreads
58374feb1336587c7709960bc1a6b9da71c58cab
[ "MIT" ]
null
null
null
tests/integration/client_test.py
superdosh/betterreads
58374feb1336587c7709960bc1a6b9da71c58cab
[ "MIT" ]
null
null
null
tests/integration/client_test.py
superdosh/betterreads
58374feb1336587c7709960bc1a6b9da71c58cab
[ "MIT" ]
null
null
null
"""Client is the primary interface for interacting with the Goodreads API. This integration test makes live API calls and affirms that the correct objects are being returned. For a more comprehensive test that each of the interface objects is created and functions properly when given the correct inputs, check the unit ...
41.645833
119
0.736368
499
3,998
5.639279
0.252505
0.110163
0.187278
0.11194
0.323383
0.283227
0.215707
0.215707
0.184435
0.184435
0
0.013387
0.196598
3,998
95
120
42.084211
0.862702
0.082041
0
0.123288
0
0
0.054585
0
0
0
0
0
0.246575
1
0.219178
false
0
0.123288
0.013699
0.369863
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
2ffe8eb4fdd50c947c2953bf3cd556b194ec47e4
4,249
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/NV/transform_feedback.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/NV/transform_feedback.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/NV/transform_feedback.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GL import _types as _cs # End users want this... from OpenGL.raw.GL._types import * from OpenGL.raw.GL import _errors from OpenGL.constant import Constant as _C import...
52.45679
128
0.845611
641
4,249
5.068643
0.234009
0.028624
0.047707
0.037242
0.489997
0.352108
0.218221
0.106802
0.087104
0.068021
0
0.025565
0.051777
4,249
80
129
53.1125
0.780839
0.023535
0
0.157895
1
0
0.225505
0.196209
0
0
0.038405
0
0
1
0.171053
false
0.157895
0.078947
0.013158
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
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
640db2e476b51599a3536b748006cad071e754b2
612
py
Python
fancy/trainer/configs/model_config.py
susautw/fancy-trainer
eeb7ba1a541a8070171f1be972f8d99f81a4bff9
[ "MIT" ]
null
null
null
fancy/trainer/configs/model_config.py
susautw/fancy-trainer
eeb7ba1a541a8070171f1be972f8d99f81a4bff9
[ "MIT" ]
null
null
null
fancy/trainer/configs/model_config.py
susautw/fancy-trainer
eeb7ba1a541a8070171f1be972f8d99f81a4bff9
[ "MIT" ]
null
null
null
from cached_property import cached_property from torch.nn import Module from fancy import config as cfg from . import ImporterConfig class ModelConfig(ImporterConfig): param: dict = cfg.Option(default={}, type=cfg.process.flag_container) @cached_property def model(self) -> Module: if not isinsta...
29.142857
106
0.697712
80
612
5.275
0.5375
0.099526
0.07109
0
0
0
0
0
0
0
0
0
0.220588
612
20
107
30.6
0.884696
0
0
0
0
0
0.156863
0
0
0
0
0
0
1
0.071429
false
0
0.5
0
0.785714
0
0
0
0
null
0
0
0
0
0
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
1
0
0
2
641319349a9e17626c9d02b0e717b8d32e92a0d3
143
py
Python
py_test/voice/voice_python.py
GotoRen/notify-me
de185f99a59a300ec5091237b67952537330c25c
[ "MIT" ]
null
null
null
py_test/voice/voice_python.py
GotoRen/notify-me
de185f99a59a300ec5091237b67952537330c25c
[ "MIT" ]
null
null
null
py_test/voice/voice_python.py
GotoRen/notify-me
de185f99a59a300ec5091237b67952537330c25c
[ "MIT" ]
null
null
null
import urllib.request as req import subprocess s = '侵入者あり' print(s) # 読み上げ subprocess.check_output('./jtalk.sh "' +s + '"', shell=True)
13
60
0.664336
20
143
4.7
0.8
0
0
0
0
0
0
0
0
0
0
0
0.174825
143
10
61
14.3
0.79661
0.027972
0
0
0
0
0.131387
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
641afbc1cf93abee24cbd52aa852ed4aaec7ee73
394
py
Python
myapp/forms.py
quinchoponcho/helloworld
89d019fe45520a49dc8b4b625e802a2030608554
[ "MIT" ]
null
null
null
myapp/forms.py
quinchoponcho/helloworld
89d019fe45520a49dc8b4b625e802a2030608554
[ "MIT" ]
5
2021-03-19T02:34:36.000Z
2021-09-22T18:56:49.000Z
myapp/forms.py
quinchoponcho/helloworld
89d019fe45520a49dc8b4b625e802a2030608554
[ "MIT" ]
null
null
null
from django import forms from django.forms import ModelForm from .models import Customer, Order from myapp.models import Name class NameForm(forms.ModelForm): name_value = forms.CharField(max_length=100, help_text = "Enter a name") class Meta: model = Name fields = ('name_value',) clas...
23.176471
76
0.703046
51
394
5.27451
0.509804
0.074349
0.104089
0
0
0
0
0
0
0
0
0.009677
0.213198
394
16
77
24.625
0.858065
0
0
0.153846
0
0
0.073604
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.692308
0
0
0
0
null
0
0
0
0
0
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
1
0
0
2
641b2f4c734fbb4e78de6aec9c35d333db08cd69
351
py
Python
elementary/best-stock.py
vargad/exercises
1a2fc2557672749d590ebdf596f99f53405320a1
[ "MIT" ]
1
2018-02-24T10:51:07.000Z
2018-02-24T10:51:07.000Z
elementary/best-stock.py
vargad/exercises
1a2fc2557672749d590ebdf596f99f53405320a1
[ "MIT" ]
null
null
null
elementary/best-stock.py
vargad/exercises
1a2fc2557672749d590ebdf596f99f53405320a1
[ "MIT" ]
1
2019-02-13T21:41:07.000Z
2019-02-13T21:41:07.000Z
#!/usr/bin/env python3 def best_stock(data): return sorted(data.items(), key=lambda x: x[1])[-1][0] if __name__ == '__main__': print(best_stock({ "CAL": 42.0, "GOG": 190.5, "DAG": 32.2 })) assert best_stock({ "CAL": 42.0, "GOG": 190.5, "DAG": 32.2 }) == "GOG" assert best_stock({ "CAL": 31.4, "GOG": 3...
31.909091
75
0.561254
60
351
3.083333
0.583333
0.194595
0.194595
0.151351
0.302703
0.302703
0.302703
0.302703
0.302703
0.302703
0
0.121107
0.176638
351
10
76
35.1
0.519031
0.059829
0
0
0
0
0.12462
0
0
0
0
0
0.333333
1
0.166667
false
0
0
0.166667
0.333333
0.166667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
642153106e1112d2529ce028ccdb0893733eacdc
3,316
py
Python
hawkweed/monads/either.py
hellerve/hawkweed
0cdb378f7dac5ab76ad53d6c1917f0ac5687793c
[ "MIT" ]
20
2016-06-13T19:24:20.000Z
2022-01-26T14:08:11.000Z
hawkweed/monads/either.py
hellerve/hawkweed
0cdb378f7dac5ab76ad53d6c1917f0ac5687793c
[ "MIT" ]
null
null
null
hawkweed/monads/either.py
hellerve/hawkweed
0cdb378f7dac5ab76ad53d6c1917f0ac5687793c
[ "MIT" ]
null
null
null
"""The Either monad""" from hawkweed.monads.monad import Monad class Either(Monad): """The Either abstract base class""" def __init__(self, value): raise NotImplementedError("please use the type instances Left or Right") class Left(Either): """The Left instance of the Either monad""" def __ini...
24.932331
80
0.624246
463
3,316
4.423326
0.198704
0.04834
0.046875
0.061523
0.489258
0.462891
0.443848
0.411621
0.389648
0.280273
0
0.003441
0.298854
3,316
132
81
25.121212
0.877419
0.543426
0
0.21875
0
0
0.078662
0
0
0
0
0
0
1
0.375
false
0
0.03125
0
0.8125
0
0
0
0
null
0
0
0
0
0
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
1
0
0
2
642d5a170ce9f73b1e8010f8426f575236910456
877
py
Python
stackoverflow/question/models.py
vivekdhinoja/stackoverflow
d5eca525259bc77b516d2edeef7ce1cede3dd5da
[ "MIT" ]
null
null
null
stackoverflow/question/models.py
vivekdhinoja/stackoverflow
d5eca525259bc77b516d2edeef7ce1cede3dd5da
[ "MIT" ]
1
2022-03-30T14:25:21.000Z
2022-03-30T14:25:21.000Z
stackoverflow/question/models.py
vivekdhinoja/stackoverflow
d5eca525259bc77b516d2edeef7ce1cede3dd5da
[ "MIT" ]
null
null
null
from ckeditor_uploader.fields import RichTextUploadingField from django.conf import settings from django.db import models from django.urls import reverse_lazy from django_extensions.db.models import TimeStampedModel from taggit.managers import TaggableManager # Create your models here. class Question(TimeStampedModel...
33.730769
108
0.758267
104
877
6.221154
0.576923
0.061824
0.037094
0.055641
0.068006
0
0
0
0
0
0
0.008108
0.156214
877
25
109
35.08
0.866216
0.027366
0
0
0
0
0.063455
0.028202
0
0
0
0
0
1
0.105263
false
0
0.315789
0.105263
0.894737
0
0
0
0
null
0
0
0
0
0
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
1
0
0
0
2
64320c7b3dc4b8ef24ac30ad7fb9f80b23ba634d
918
py
Python
helper_functions/test.py
cleveranjos/Rapid-ML-Gateway
10a14abfce3351791331642c47eddfbf622e76d2
[ "MIT" ]
3
2020-07-15T19:45:31.000Z
2020-09-30T16:15:48.000Z
helper_functions/test.py
cleveranjos/Rapid-ML-Gateway
10a14abfce3351791331642c47eddfbf622e76d2
[ "MIT" ]
12
2020-07-15T17:00:24.000Z
2021-01-19T21:02:00.000Z
helper_functions/test.py
cleveranjos/Rapid-ML-Gateway
10a14abfce3351791331642c47eddfbf622e76d2
[ "MIT" ]
2
2020-07-15T18:59:02.000Z
2020-10-07T17:22:52.000Z
import python_finance as pf def main(): tickers = ['AAPL', 'MSFT', 'NFLX', 'AMZN', 'GOOG'] tickers_b = ['DOCU', 'SHOP', 'WMT'] start = '20200101' end = '20201007' attrib = 'Adj Close' #print(pf.get_tickers(tickers, start, end, attrib)) #print(pf.get_Percent_change(tickers, start, end,...
35.307692
90
0.679739
129
918
4.542636
0.333333
0.068259
0.191126
0.226962
0.580205
0.474403
0.308874
0.150171
0.150171
0
0
0.030585
0.180828
918
26
91
35.307692
0.74867
0.239651
0
0
0
0
0.092086
0
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.111111
0.277778
0
0
0
null
0
1
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
2
643f5cf5151e3caf84be22e0a52ff83638953dd8
311
py
Python
OpenGLCffi/GL/EXT/ARB/transform_feedback_instanced.py
cydenix/OpenGLCffi
c78f51ae5e6b655eb2ea98f072771cf69e2197f3
[ "MIT" ]
null
null
null
OpenGLCffi/GL/EXT/ARB/transform_feedback_instanced.py
cydenix/OpenGLCffi
c78f51ae5e6b655eb2ea98f072771cf69e2197f3
[ "MIT" ]
null
null
null
OpenGLCffi/GL/EXT/ARB/transform_feedback_instanced.py
cydenix/OpenGLCffi
c78f51ae5e6b655eb2ea98f072771cf69e2197f3
[ "MIT" ]
null
null
null
from OpenGLCffi.GL import params @params(api='gl', prms=['mode', 'id', 'instancecount']) def glDrawTransformFeedbackInstanced(mode, id, instancecount): pass @params(api='gl', prms=['mode', 'id', 'stream', 'instancecount']) def glDrawTransformFeedbackStreamInstanced(mode, id, stream, instancecount): pass
25.916667
76
0.73955
33
311
6.969697
0.454545
0.104348
0.095652
0.130435
0.182609
0.182609
0
0
0
0
0
0
0.096463
311
11
77
28.272727
0.818505
0
0
0.285714
0
0
0.15534
0
0
0
0
0
0
1
0.285714
false
0.285714
0.142857
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
ff237c2f9c624ec7e5e48a604588f7501981dac8
730
py
Python
solutions/439_ternary_expression_parser.py
YiqunPeng/leetcode_pro
7e6376984f9baec49a5e827d98330fe3d1b656f0
[ "MIT" ]
null
null
null
solutions/439_ternary_expression_parser.py
YiqunPeng/leetcode_pro
7e6376984f9baec49a5e827d98330fe3d1b656f0
[ "MIT" ]
null
null
null
solutions/439_ternary_expression_parser.py
YiqunPeng/leetcode_pro
7e6376984f9baec49a5e827d98330fe3d1b656f0
[ "MIT" ]
null
null
null
class Solution: def parseTernary(self, expression: str) -> str: c, values = expression.split('?', 1) cnt = 0 p = 0 for i in range(len(values)): if values[i] == ':': if cnt > 0: cnt -= 1 else: p = i ...
28.076923
51
0.354795
73
730
3.547945
0.383562
0.030888
0.084942
0.200772
0
0
0
0
0
0
0
0.025641
0.519178
730
25
52
29.2
0.712251
0
0
0.16
0
0
0.008219
0
0
0
0
0
0
1
0.04
false
0
0
0
0.24
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
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
2
ff3a9d0bfb77952893194de6adb72034fc238c35
490
py
Python
removeKthNodeFromEnd.py
rramnani/LeetCode
89efa7ee9dcf119121ca63678689b83710a5b3d2
[ "Apache-2.0" ]
null
null
null
removeKthNodeFromEnd.py
rramnani/LeetCode
89efa7ee9dcf119121ca63678689b83710a5b3d2
[ "Apache-2.0" ]
null
null
null
removeKthNodeFromEnd.py
rramnani/LeetCode
89efa7ee9dcf119121ca63678689b83710a5b3d2
[ "Apache-2.0" ]
null
null
null
def removeKthNodeFromEnd(head, k): # Write your code here. #length = len(head) counter = 1 first = head second = head while counter <= k: second = second.next counter+=1 if second is None: # second is pointing to None => First is at the head of linked list head.value = head.next.value head.next = h...
24.5
87
0.685714
77
490
4.363636
0.428571
0.089286
0.095238
0.107143
0
0
0
0
0
0
0
0.005263
0.22449
490
19
88
25.789474
0.878947
0
0
0.125
0
0
0
0
0
0
0
0.052632
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
ff41cefc77efc3e921129790dadcc5f24fd2e3c2
427
py
Python
{{cookiecutter.github_repository_name}}/{{cookiecutter.app_name}}/apps/common/views.py
powerdefy/cookiecutter-django-rest
8841d7c959e588f34f260405af167206eaf47376
[ "MIT" ]
null
null
null
{{cookiecutter.github_repository_name}}/{{cookiecutter.app_name}}/apps/common/views.py
powerdefy/cookiecutter-django-rest
8841d7c959e588f34f260405af167206eaf47376
[ "MIT" ]
null
null
null
{{cookiecutter.github_repository_name}}/{{cookiecutter.app_name}}/apps/common/views.py
powerdefy/cookiecutter-django-rest
8841d7c959e588f34f260405af167206eaf47376
[ "MIT" ]
null
null
null
import asyncio from django.db import transaction from django.utils.decorators import classonlymethod, method_decorator from django.views import View @method_decorator(transaction.non_atomic_requests, name='dispatch') class AsyncView(View): @classonlymethod def as_view(cls, **initkwargs): view = super...
28.466667
69
0.763466
51
427
6.196078
0.568627
0.094937
0
0
0
0
0
0
0
0
0
0
0.154567
427
14
70
30.5
0.875346
0
0
0
0
0
0.018735
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.636364
0
0
0
0
null
0
0
0
0
0
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
1
0
0
2
ff539276270304bba9a2a9a6fb5b2b719064be81
195
py
Python
test/test_dummy.py
darnir/firefly-cli
2c6e5a917135efd3b3f6e7cf6bae989457d9b0c1
[ "Apache-2.0" ]
13
2020-11-22T18:30:48.000Z
2022-02-28T10:26:38.000Z
test/test_dummy.py
darnir/firefly-cli
2c6e5a917135efd3b3f6e7cf6bae989457d9b0c1
[ "Apache-2.0" ]
7
2021-01-05T14:17:33.000Z
2022-02-28T01:45:11.000Z
test/test_dummy.py
darnir/firefly-cli
2c6e5a917135efd3b3f6e7cf6bae989457d9b0c1
[ "Apache-2.0" ]
3
2021-01-28T14:55:05.000Z
2021-11-21T15:24:55.000Z
import unittest class TestCase(unittest.TestCase): def test_dummy(self): self.assertEqual('tests to be added', 'tests to be added') if __name__ == '__main__': unittest.main()
17.727273
66
0.682051
25
195
4.96
0.64
0.112903
0.145161
0.225806
0
0
0
0
0
0
0
0
0.2
195
10
67
19.5
0.794872
0
0
0
0
0
0.215385
0
0
0
0
0
0.166667
1
0.166667
false
0
0.166667
0
0.5
0
1
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
2
ff5a3fbef184ced3120cc38ffedb5bb6e3e3ba37
5,525
py
Python
src/OTLMOW/OTLModel/Datatypes/KlVerlichtingstoestelVerlichtGebied.py
davidvlaminck/OTLClassPython
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
2
2022-02-01T08:58:11.000Z
2022-02-08T13:35:17.000Z
src/OTLMOW/OTLModel/Datatypes/KlVerlichtingstoestelVerlichtGebied.py
davidvlaminck/OTLMOW
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
null
null
null
src/OTLMOW/OTLModel/Datatypes/KlVerlichtingstoestelVerlichtGebied.py
davidvlaminck/OTLMOW
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
null
null
null
# coding=utf-8 from OTLMOW.OTLModel.Datatypes.KeuzelijstField import KeuzelijstField from OTLMOW.OTLModel.Datatypes.KeuzelijstWaarde import KeuzelijstWaarde # Generated with OTLEnumerationCreator. To modify: extend, do not edit class KlVerlichtingstoestelVerlichtGebied(KeuzelijstField): """Het gebied op de wegbaa...
87.698413
440
0.624977
393
5,525
8.78626
0.26972
0.093542
0.113235
0.162467
0.448016
0.448016
0.424558
0.424558
0.424558
0.042282
0
0.000254
0.286516
5,525
62
441
89.112903
0.875698
0.030769
0
0
1
0.017857
0.510193
0.025248
0
0
0
0
0
1
0
false
0
0.035714
0
0.160714
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ff64edf927d57d32d75d1acff3322146be1f796c
3,883
py
Python
hangman.py
VersatileVishal/Hanging-The-Man
4129b098a015f5af39e3dd62ac72acd161f1187f
[ "MIT" ]
5
2020-01-18T18:35:51.000Z
2020-01-23T08:54:51.000Z
hangman.py
VersatileVishal/Hanging-The-Man
4129b098a015f5af39e3dd62ac72acd161f1187f
[ "MIT" ]
null
null
null
hangman.py
VersatileVishal/Hanging-The-Man
4129b098a015f5af39e3dd62ac72acd161f1187f
[ "MIT" ]
null
null
null
import random def hangman(): word=random.choice(["pugger","tiger","lion","cheetah","thor","ironman","superman","blackwidow","hawkeye","mother","country","pegion", "carrot","cricket","hockey","technical","human","bad","amazing","hulk","god","picture","air","laptop", ...
35.953704
146
0.342004
294
3,883
4.506803
0.377551
0.128302
0.074717
0.096604
0.210566
0.179623
0.160755
0.139623
0.139623
0
0
0.013437
0.501674
3,883
108
147
35.953704
0.671318
0
0
0.346939
0
0
0.293355
0.012444
0
0
0
0
0
1
0.010204
false
0
0.010204
0
0.020408
0.571429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
2
ff6ff6aa3f22e8e6b09ebeebea32a23db22e09a9
1,212
py
Python
Research/imitate_experiments/001/imitateOptimizer.py
RockmanZheng/AgentSteve
7b28fdd571056f802ff674c1cdebe66710e295c4
[ "MIT" ]
1
2020-01-27T17:41:37.000Z
2020-01-27T17:41:37.000Z
Research/imitate_experiments/001/imitateOptimizer.py
RockmanZheng/AgentSteve
7b28fdd571056f802ff674c1cdebe66710e295c4
[ "MIT" ]
null
null
null
Research/imitate_experiments/001/imitateOptimizer.py
RockmanZheng/AgentSteve
7b28fdd571056f802ff674c1cdebe66710e295c4
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function from tensorflow.python.eager import context from tensorflow.python.framework import ops from tensorflow.python.ops import math_ops from tensorflow.python.ops import resource_variable_ops from tensorflow.python.t...
37.875
110
0.731848
151
1,212
5.602649
0.463576
0.115839
0.165485
0.108747
0.156028
0.07565
0
0
0
0
0
0
0.212871
1,212
32
111
37.875
0.886792
0
0
0
0
0
0.008642
0
0
0
0
0
0
0
null
null
0
0.625
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
1
0
0
0
0
2
ff7145a647bdd8fac9c302bdac723d6e22c99674
374
py
Python
Aula_60/ForTwo/r2/embarque.py
Mateus-Silva11/AulasPython
d34dc4f62ade438e68b0a80e0baac4d6ec0d378e
[ "MIT" ]
null
null
null
Aula_60/ForTwo/r2/embarque.py
Mateus-Silva11/AulasPython
d34dc4f62ade438e68b0a80e0baac4d6ec0d378e
[ "MIT" ]
null
null
null
Aula_60/ForTwo/r2/embarque.py
Mateus-Silva11/AulasPython
d34dc4f62ade438e68b0a80e0baac4d6ec0d378e
[ "MIT" ]
null
null
null
def embarque(motorista:str, passageiro:str, saida:dict): fortwo = {'motorista': motorista, 'passageiro': passageiro} saida['pessoas'].remove(motorista) print(f"{fortwo['motorista']} embarcou como motorista") if passageiro != '': saida['pessoas'].remove(passageiro) print(f"{fortwo['passa...
37.4
65
0.679144
39
374
6.512821
0.410256
0.11811
0.173228
0.220472
0
0
0
0
0
0
0
0
0.168449
374
10
66
37.4
0.81672
0
0
0
0
0
0.333333
0.114667
0
0
0
0
0
1
0.125
false
0.625
0
0
0.25
0.25
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
1
0
0
0
0
0
2
ff77bbd252e7e8fc5862fade7e832a9d54d6a0fb
701
py
Python
sources/lib.py
qnguyen2atb/MUL
45d7f03a032a72ac4ba4bad4447ff86913e2bb07
[ "Apache-2.0" ]
null
null
null
sources/lib.py
qnguyen2atb/MUL
45d7f03a032a72ac4ba4bad4447ff86913e2bb07
[ "Apache-2.0" ]
null
null
null
sources/lib.py
qnguyen2atb/MUL
45d7f03a032a72ac4ba4bad4447ff86913e2bb07
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sat Jan 22 14:56:14 2022 @author: quang """ import os import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns import numpy as np import pandas as pd from pyparsing import col # Import train_test_split function from sklearn.m...
21.242424
56
0.771755
101
701
5.257426
0.524752
0.103578
0.052731
0.060264
0.079096
0
0
0
0
0
0
0.022767
0.185449
701
32
57
21.90625
0.90718
0.225392
0
0.235294
0
0
0
0
0
0
0
0
0
1
0
true
0
1
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
1
0
0
0
0
2
ff835d4d92bb158a9ce84610cd6bec10e4fc582f
252
py
Python
apps/puestos/models.py
Monse200599/sistema_medico
c220c5278d96bb9cd86f92fbac1bc66d6eebfd56
[ "MIT" ]
null
null
null
apps/puestos/models.py
Monse200599/sistema_medico
c220c5278d96bb9cd86f92fbac1bc66d6eebfd56
[ "MIT" ]
null
null
null
apps/puestos/models.py
Monse200599/sistema_medico
c220c5278d96bb9cd86f92fbac1bc66d6eebfd56
[ "MIT" ]
1
2021-11-30T06:02:11.000Z
2021-11-30T06:02:11.000Z
from django.db import models from django.db.models.base import Model class Puesto(models.Model): nombre = models.CharField(max_length=255) created_at = models.DateTimeField(auto_now_add=True) def __str__(self): return self.nombre
25.2
56
0.746032
36
252
5
0.694444
0.111111
0.133333
0
0
0
0
0
0
0
0
0.014286
0.166667
252
10
57
25.2
0.842857
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
ff911f997c5a3842c257d85ea4e02e84624a6a43
941
py
Python
webapp-flask/app/src/models/user.py
didYouUpdateCode/iot_monitoring
84fd215758aa6bfbe8d11589231ab8c60d0f6a0d
[ "MIT" ]
null
null
null
webapp-flask/app/src/models/user.py
didYouUpdateCode/iot_monitoring
84fd215758aa6bfbe8d11589231ab8c60d0f6a0d
[ "MIT" ]
null
null
null
webapp-flask/app/src/models/user.py
didYouUpdateCode/iot_monitoring
84fd215758aa6bfbe8d11589231ab8c60d0f6a0d
[ "MIT" ]
null
null
null
from marshmallow import fields, validate from .. import db, ma class User(db.Model): id = db.Column(db.Integer, primary_key=True) email = db.Column(db.String, unique=True, nullable=False) password = db.Column(db.String, nullable=False) creation_date = db.Column(db.TIMESTAMP, ...
37.64
71
0.58661
100
941
5.44
0.39
0.073529
0.091912
0.121324
0.279412
0.279412
0.191176
0.191176
0.191176
0.191176
0
0.004608
0.308183
941
24
72
39.208333
0.831029
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0
false
0.1
0.1
0
0.7
0
0
0
0
null
0
0
0
0
0
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
1
0
0
2
ff92b6e11b5ea824dfa506c98e897445c3a308ee
4,223
py
Python
pyqtsocius/ui_elements/misc_ui/system_tray.py
Giddius/PyQt_Socius
6d0ee2fe65e5ca181677fbcbae7f59a5c1952b74
[ "MIT" ]
null
null
null
pyqtsocius/ui_elements/misc_ui/system_tray.py
Giddius/PyQt_Socius
6d0ee2fe65e5ca181677fbcbae7f59a5c1952b74
[ "MIT" ]
null
null
null
pyqtsocius/ui_elements/misc_ui/system_tray.py
Giddius/PyQt_Socius
6d0ee2fe65e5ca181677fbcbae7f59a5c1952b74
[ "MIT" ]
1
2021-01-19T17:24:32.000Z
2021-01-19T17:24:32.000Z
# region [Imports] # * Standard Library Imports --> import gc import os import re import sys import json import lzma import time import queue import logging import platform import subprocess from enum import Enum, Flag, auto from time import sleep from pprint import pprint, pformat from typing import Union from dateti...
37.705357
144
0.698792
448
4,223
6.424107
0.537946
0.024322
0.02606
0.010424
0.020153
0.020153
0.020153
0.020153
0
0
0
0.0106
0.218091
4,223
111
145
38.045045
0.860993
0.059436
0
0.025316
0
0
0.017429
0
0
0
0
0
0
1
0.063291
false
0
0.455696
0
0.531646
0.012658
0
0
0
null
0
0
0
0
0
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
1
0
0
2
ffa756d39650ce69175895cee74f376e82a8d789
353
py
Python
jab/admin.py
pythonanywhere/jab
babc0ecc4622a58f787f8f81b5ecbffbbcd9777c
[ "MIT" ]
13
2015-04-30T16:25:37.000Z
2020-07-20T01:14:44.000Z
jab/admin.py
pythonanywhere/jab
babc0ecc4622a58f787f8f81b5ecbffbbcd9777c
[ "MIT" ]
1
2016-07-22T03:48:43.000Z
2016-07-22T03:48:43.000Z
jab/admin.py
pythonanywhere/jab
babc0ecc4622a58f787f8f81b5ecbffbbcd9777c
[ "MIT" ]
7
2015-04-30T16:34:31.000Z
2021-08-10T05:48:24.000Z
from django.contrib import admin from jab.models import Post, SidebarItem class PostAdmin(admin.ModelAdmin): list_display = ('publication_date', 'title', 'status',) ordering = ('-publication_date',) admin.site.register(Post, PostAdmin) class SidebarItemAdmin(admin.ModelAdmin): pass admin.site.registe...
20.764706
59
0.759207
39
353
6.794872
0.589744
0.113208
0.128302
0
0
0
0
0
0
0
0
0
0.127479
353
16
60
22.0625
0.86039
0
0
0
0
0
0.124646
0
0
0
0
0
0
1
0
false
0.111111
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
ffa7873b004c758fd26cac7b0e9c6113c37e492e
287
py
Python
graphbrain/commands/info.py
nicolamelluso/graphbrain
c0740ab89df60d709ee2914beb5379619e4e1470
[ "MIT" ]
1
2021-04-24T04:52:31.000Z
2021-04-24T04:52:31.000Z
graphbrain/commands/info.py
nicolamelluso/graphbrain
c0740ab89df60d709ee2914beb5379619e4e1470
[ "MIT" ]
null
null
null
graphbrain/commands/info.py
nicolamelluso/graphbrain
c0740ab89df60d709ee2914beb5379619e4e1470
[ "MIT" ]
1
2020-12-23T11:20:43.000Z
2020-12-23T11:20:43.000Z
from graphbrain import * def run(args): hg = hgraph(args.hg) print('atoms: {}'.format(hg.atom_count())) print('edges: {}'.format(hg.edge_count())) print('primary atoms: {}'.format(hg.primary_atom_count())) print('primary edges: {}'.format(hg.primary_edge_count()))
28.7
62
0.648084
38
287
4.736842
0.421053
0.177778
0.144444
0
0
0
0
0
0
0
0
0
0.142857
287
9
63
31.888889
0.731707
0
0
0
0
0
0.181185
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0.571429
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
1
0
2
ffaad8f2dadb84b3e602ea092f354d06b07d0d27
1,143
py
Python
tests/utils/test_get_laplacian.py
BUPT-GAMMA/GammaGL
2b9f32e1ac3533cb75a063243e8a2fa654466d18
[ "Apache-2.0" ]
null
null
null
tests/utils/test_get_laplacian.py
BUPT-GAMMA/GammaGL
2b9f32e1ac3533cb75a063243e8a2fa654466d18
[ "Apache-2.0" ]
null
null
null
tests/utils/test_get_laplacian.py
BUPT-GAMMA/GammaGL
2b9f32e1ac3533cb75a063243e8a2fa654466d18
[ "Apache-2.0" ]
null
null
null
# !/usr/bin/env python3 # -*- coding:utf-8 -*- # @Time : 2022/05/00 16:47 # @Author : clear # @FileName: test_get_laplacian.py import tensorlayerx as tlx from gammagl.utils.get_laplacian import get_laplacian def test_get_laplacian(): edge_index = tlx.convert_to_tensor([[0, 1, 1, 2], [1, 0, 2, 1]], dtype=tlx....
43.961538
98
0.653543
201
1,143
3.502488
0.248756
0.142045
0.170455
0.193182
0.549716
0.549716
0.47017
0.298295
0.170455
0.170455
0
0.082559
0.152231
1,143
25
99
45.72
0.643963
0.104987
0
0
0
0
0.004916
0
0
0
0
0
0.428571
1
0.071429
false
0
0.142857
0
0.214286
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
1
0
0
0
0
0
0
0
0
0
2
ffae0c5cbb3febf1c1bff8577af97628886fbe31
198
py
Python
neochain/_release_info.py
dharif23/neochain
c53043e4ae90666c58dee0f74d3695990be68c0c
[ "MIT" ]
1
2021-03-17T13:53:31.000Z
2021-03-17T13:53:31.000Z
neochain/_release_info.py
dalwar23/neochain
c53043e4ae90666c58dee0f74d3695990be68c0c
[ "MIT" ]
null
null
null
neochain/_release_info.py
dalwar23/neochain
c53043e4ae90666c58dee0f74d3695990be68c0c
[ "MIT" ]
1
2018-12-05T02:02:41.000Z
2018-12-05T02:02:41.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Source code meta data __author__ = 'Dalwar Hossain' __email__ = 'dalwar.hossain@protonmail.com' # Version __version__ = '1.1' __release__ = '1.1'
15.230769
43
0.676768
26
198
4.538462
0.769231
0.220339
0
0
0
0
0
0
0
0
0
0.02994
0.156566
198
12
44
16.5
0.676647
0.363636
0
0
0
0
0.401639
0.237705
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
44071691754ff9ad51c692ff06758a9c4ae2e70f
1,576
py
Python
library/Custom/python_2_template.py
sarafanshul/KACTL
fa14ed34e93cd32d8625ed3729ba2eee55838340
[ "MIT" ]
4
2021-01-05T09:25:59.000Z
2021-09-27T03:57:28.000Z
library/Custom/python_2_template.py
sarafanshul/KACTL
fa14ed34e93cd32d8625ed3729ba2eee55838340
[ "MIT" ]
null
null
null
library/Custom/python_2_template.py
sarafanshul/KACTL
fa14ed34e93cd32d8625ed3729ba2eee55838340
[ "MIT" ]
null
null
null
from __future__ import division, print_function import bisect import math import heapq import itertools import sys from collections import deque from atexit import register from collections import Counter from functools import reduce sys.setrecursionlimit(10000000) if sys.version_info[0] < 3: from io import BytesIO...
26.711864
79
0.645305
211
1,576
4.753555
0.507109
0.035892
0.047856
0.059821
0.123629
0.123629
0.087737
0.063809
0.063809
0.063809
0
0.011111
0.257614
1,576
59
80
26.711864
0.846154
0.254442
0
0.108108
0
0
0.003527
0
0
0
0
0
0
1
0.108108
false
0
0.324324
0
0.540541
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
1
0
1
0
0
2
440f80cd0f88f066cd38e0cba68b7c076b01c3c0
425
py
Python
users/views/logout.py
thulasi-ram/logistika
a9a7b649f0e15bf8cdad43fdab2a8bd61326f83d
[ "MIT" ]
null
null
null
users/views/logout.py
thulasi-ram/logistika
a9a7b649f0e15bf8cdad43fdab2a8bd61326f83d
[ "MIT" ]
null
null
null
users/views/logout.py
thulasi-ram/logistika
a9a7b649f0e15bf8cdad43fdab2a8bd61326f83d
[ "MIT" ]
null
null
null
from django.contrib.auth import logout from django.http import HttpResponseRedirect from django.urls import reverse from django.views.generic import TemplateView class Logout(TemplateView): template_name = '' def get(self, request, *args, **kwargs): referrer = request.build_absolute_uri(reverse('land...
30.357143
65
0.729412
48
425
6.395833
0.625
0.130293
0
0
0
0
0
0
0
0
0
0
0.188235
425
14
66
30.357143
0.889855
0
0
0
0
0
0.016432
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.727273
0
0
0
0
null
0
0
0
0
0
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
1
0
0
2
441f9034e3cc734a4c8e58a17c869d59580e373d
6,558
py
Python
bltk/langtools/taggertools.py
saimoncse19/bltk
c2f4159eaead0e6a080813d0d3d9ca8f4cdb9fd0
[ "MIT" ]
12
2020-03-12T13:32:06.000Z
2021-11-22T18:46:05.000Z
bltk/langtools/taggertools.py
saimoncse19/bltk
c2f4159eaead0e6a080813d0d3d9ca8f4cdb9fd0
[ "MIT" ]
1
2021-11-22T18:47:59.000Z
2021-11-22T18:47:59.000Z
bltk/langtools/taggertools.py
saimoncse19/bltk
c2f4159eaead0e6a080813d0d3d9ca8f4cdb9fd0
[ "MIT" ]
5
2020-03-12T15:15:22.000Z
2021-03-23T15:26:12.000Z
noun_suffix = ['াই', 'াটা', 'াটাই', 'াটাও', 'াটাকে', 'াটাকেও', 'াটি', 'ামি', 'িক', 'িকা', 'ের', 'েরই', 'েরও', 'েরা', 'েরাও', 'েরে', 'ও', 'আবলি', 'আলা', 'এরা', 'এরে', 'কারী', 'কুলের', 'কে', 'কেই', 'কেও', 'খানা', 'খানি', 'গণ', 'গণে', 'গন', 'গাছা', 'গাছি', 'গিরি', 'গুচ্ছ', 'গুলা', 'গুলি', 'গু...
63.057692
116
0.339738
2,165
6,558
1.460046
0.075289
0.045555
0.046504
0.025308
0.354951
0.247074
0.170832
0.074976
0.027839
0
0
0.005773
0.260445
6,558
103
117
63.669903
0.445567
0.102165
0
0
0
0
0.395168
0
0
0
0
0
0
1
0.014085
false
0
0
0
0.028169
0
0
0
1
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
2
4422e54f5e907c8befbd2938040187a3fc6a1385
17,945
py
Python
Fluid/io/fluid-cloudnative/module/alluxio_runtime_spec.py
Rui-Tang/fluid-client-python
cfe6e981ad5092c3ba9ba15760858572e914f6d6
[ "Apache-2.0" ]
1
2021-11-18T11:10:48.000Z
2021-11-18T11:10:48.000Z
Fluid/io/fluid-cloudnative/module/alluxio_runtime_spec.py
Rui-Tang/fluid-client-python
cfe6e981ad5092c3ba9ba15760858572e914f6d6
[ "Apache-2.0" ]
null
null
null
Fluid/io/fluid-cloudnative/module/alluxio_runtime_spec.py
Rui-Tang/fluid-client-python
cfe6e981ad5092c3ba9ba15760858572e914f6d6
[ "Apache-2.0" ]
2
2021-05-19T06:35:55.000Z
2022-03-16T09:48:59.000Z
# coding: utf-8 """ fluid client for fluid # noqa: E501 OpenAPI spec version: v0.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from Fluid.io.fluid-cloudnative.module.alluxio_comp_template_spec import AlluxioCompTempla...
32.8663
409
0.633157
2,085
17,945
5.321343
0.101679
0.059847
0.138441
0.121136
0.588463
0.50356
0.471744
0.387111
0.263722
0.190717
0
0.023397
0.285483
17,945
545
410
32.926606
0.841912
0.008805
0
0.079646
1
0
0.082702
0.014048
0
0
0
0
0
0
null
null
0
0.044248
null
null
0.00885
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
1
0
0
0
0
0
0
0
0
2
44282075c12a6c1ce6ada399ebd0081582f74c21
412
py
Python
cx_Freeze/initscripts/SharedLib.py
TechnicalPirate/cx_Freeze
0b97566ed62cf0cddccadce574c4f53bcf6baa5a
[ "PSF-2.0" ]
358
2020-07-02T13:00:02.000Z
2022-03-29T10:03:57.000Z
cx_Freeze/initscripts/SharedLib.py
TechnicalPirate/cx_Freeze
0b97566ed62cf0cddccadce574c4f53bcf6baa5a
[ "PSF-2.0" ]
372
2020-07-02T20:47:57.000Z
2022-03-31T19:35:05.000Z
cx_Freeze/initscripts/SharedLib.py
TechnicalPirate/cx_Freeze
0b97566ed62cf0cddccadce574c4f53bcf6baa5a
[ "PSF-2.0" ]
78
2020-07-09T14:24:03.000Z
2022-03-22T19:06:52.000Z
""" Initialization script for cx_Freeze which behaves similarly to the one for console based applications but must handle the case where Python has already been initialized and another DLL of this kind has been loaded. As such it does not block the path unless sys.frozen is not already set. """ import sys if not hasa...
24.235294
76
0.740291
68
412
4.470588
0.75
0.088816
0
0
0
0
0
0
0
0
0
0.003021
0.196602
412
16
77
25.75
0.915408
0.696602
0
0
0
0
0.051282
0
0
0
0
0
0
1
0.166667
true
0.166667
0.166667
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
1
1
0
0
0
0
0
2
443233a9cef966959fb6823a2cd8040249f0b764
8,969
py
Python
third_party/libSBML-5.9.0-Source/src/bindings/python/test/sbml/TestL3Model.py
0u812/roadrunner
f464c2649e388fa1f5a015592b0b29b65cc84b4b
[ "Apache-2.0" ]
5
2015-04-16T14:27:38.000Z
2021-11-30T14:54:39.000Z
third_party/libSBML-5.9.0-Source/src/bindings/python/test/sbml/TestL3Model.py
0u812/roadrunner
f464c2649e388fa1f5a015592b0b29b65cc84b4b
[ "Apache-2.0" ]
95
2015-03-06T12:14:06.000Z
2015-03-20T11:15:54.000Z
third_party/libSBML-5.9.0-Source/src/bindings/python/test/sbml/TestL3Model.py
0u812/roadrunner
f464c2649e388fa1f5a015592b0b29b65cc84b4b
[ "Apache-2.0" ]
7
2016-05-29T08:12:59.000Z
2019-05-02T13:39:25.000Z
# # @file TestL3Model.py # @brief L3 Model unit tests # # @author Akiya Jouraku (Python conversion) # @author Sarah Keating # # ====== WARNING ===== WARNING ===== WARNING ===== WARNING ===== WARNING ====== # # DO NOT EDIT THIS FILE. # # This file was generated automatically by converting the file located at # ...
35.035156
109
0.640874
1,023
8,969
5.520039
0.212121
0.086772
0.120418
0.110501
0.533203
0.399858
0.323003
0.068178
0.014167
0
0
0.006669
0.197458
8,969
255
110
35.172549
0.777855
0.145167
0
0.331683
0
0
0.018206
0
0
0
0
0
0.410891
1
0.079208
false
0.168317
0.014851
0
0.108911
0
0
0
0
null
0
0
0
0
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
1
0
0
0
0
0
2
4433cf226caf2f635dc6d87ca52ed7064e9bc9e8
212
py
Python
backend/conf/__about__.py
alexhermida/pinecone
efbe9d8a9b98c7191c16fc4c8cbe7ed344015542
[ "BSD-3-Clause" ]
2
2018-11-02T14:11:02.000Z
2019-05-07T07:54:36.000Z
backend/conf/__about__.py
alexhermida/pinecone
efbe9d8a9b98c7191c16fc4c8cbe7ed344015542
[ "BSD-3-Clause" ]
17
2020-02-11T22:38:18.000Z
2022-03-08T22:04:57.000Z
backend/conf/__about__.py
alexhermida/pinecone
efbe9d8a9b98c7191c16fc4c8cbe7ed344015542
[ "BSD-3-Clause" ]
1
2019-01-15T17:52:57.000Z
2019-01-15T17:52:57.000Z
__title__ = 'pinecone-backend' __summary__ = 'Domain.' __version__ = '0.0.1-dev' __license__ = 'All rights reserved.' __uri__ = 'http://vigotech.org/' __author__ = 'VigoTech' __email__ = 'alliance@vigotech.org'
23.555556
36
0.726415
24
212
5.25
0.833333
0.174603
0
0
0
0
0
0
0
0
0
0.015957
0.113208
212
8
37
26.5
0.654255
0
0
0
0
0
0.476415
0.099057
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
443abadec27014a8bfcbc8ed63e4089bad656319
758
py
Python
python_solutions/chapter_08_recursion_and_dynamic_programming/problem_08_08_permutations_with_dups.py
isayapin/cracking-the-coding-interview
dce288e3aa4107ff84b95ae0f8bf1b4a92422587
[ "BSD-3-Clause" ]
560
2017-08-24T22:26:31.000Z
2022-03-30T17:46:55.000Z
python_solutions/chapter_08_recursion_and_dynamic_programming/problem_08_08_permutations_with_dups.py
Seraph9/cracking-the-coding-interview
3866868c9a336c87602b8e722d0be01b111f757b
[ "BSD-2-Clause-FreeBSD" ]
6
2017-07-31T23:19:11.000Z
2021-12-02T18:43:47.000Z
python_solutions/chapter_08_recursion_and_dynamic_programming/problem_08_08_permutations_with_dups.py
Seraph9/cracking-the-coding-interview
3866868c9a336c87602b8e722d0be01b111f757b
[ "BSD-2-Clause-FreeBSD" ]
160
2017-08-15T21:47:43.000Z
2022-03-17T09:57:43.000Z
def permutations_with_dups(string): hash_table = {} permutations = [] for character in string: if character in hash_table: hash_table[character] += 1 else: hash_table[character] = 1 helper('', hash_table, permutations) return permutations def helper(string, ...
31.583333
70
0.614776
84
758
5.297619
0.27381
0.283146
0.157303
0.170787
0.177528
0
0
0
0
0
0
0.009399
0.298153
758
23
71
32.956522
0.827068
0
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.095238
false
0
0
0
0.142857
0
0
0
0
null
1
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
2
443bedb7364ca277b9d6392918453285e01ce511
255
py
Python
debugger.py
AndyCyberSec/dextractor
f6873bed166488f92de89095e91eef2c00c771fa
[ "MIT" ]
3
2021-02-07T14:40:41.000Z
2022-02-22T01:59:40.000Z
debugger.py
AndyCyberSec/dextractor
f6873bed166488f92de89095e91eef2c00c771fa
[ "MIT" ]
null
null
null
debugger.py
AndyCyberSec/dextractor
f6873bed166488f92de89095e91eef2c00c771fa
[ "MIT" ]
1
2021-02-07T14:41:05.000Z
2021-02-07T14:41:05.000Z
import subprocess def debug(pid): cmd = ['adb', "forward", "tcp:1234", "jdwp:{}".format(pid)] stream = subprocess.Popen(cmd) stream.wait() jdb = ["jdb", "-attach", "localhost:1234"] stream = subprocess.Popen(jdb) stream.wait()
19.615385
63
0.6
30
255
5.1
0.6
0.20915
0.27451
0
0
0
0
0
0
0
0
0.039216
0.2
255
12
64
21.25
0.710784
0
0
0.25
0
0
0.192157
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
444e0c717e8f915e6817ea2b46bf235780f3bb76
30,719
py
Python
lib/comm_struct.py
yiding-zhou/UFT
de0fb1048d06acc6f9a3ff21745817598a733369
[ "Apache-2.0" ]
null
null
null
lib/comm_struct.py
yiding-zhou/UFT
de0fb1048d06acc6f9a3ff21745817598a733369
[ "Apache-2.0" ]
null
null
null
lib/comm_struct.py
yiding-zhou/UFT
de0fb1048d06acc6f9a3ff21745817598a733369
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/ python # Copyright(c) 2021 Intel 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 ...
49.071885
141
0.759432
4,950
30,719
4.013535
0.08303
0.200131
0.19102
0.101928
0.71727
0.514874
0.385816
0.31887
0.254291
0.146524
0
0.029058
0.13962
30,719
625
142
49.1504
0.722626
0.156646
0
0.017857
0
0.010204
0.162895
0.054544
0
0
0.014092
0
0
1
0.002551
false
0.002551
0.007653
0
0.364796
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4458241a4ba437dc19518229efe7ca3fd613a74f
417
py
Python
other/dingding/dingtalk/api/rest/OapiEduFaceSearchRequest.py
hth945/pytest
83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc
[ "Apache-2.0" ]
null
null
null
other/dingding/dingtalk/api/rest/OapiEduFaceSearchRequest.py
hth945/pytest
83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc
[ "Apache-2.0" ]
null
null
null
other/dingding/dingtalk/api/rest/OapiEduFaceSearchRequest.py
hth945/pytest
83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc
[ "Apache-2.0" ]
null
null
null
''' Created by auto_sdk on 2020.01.09 ''' from dingtalk.api.base import RestApi class OapiEduFaceSearchRequest(RestApi): def __init__(self,url=None): RestApi.__init__(self,url) self.class_id = None self.height = None self.synchronous = None self.url = None self.userid = None self.width = None def getHt...
20.85
40
0.729017
59
417
4.983051
0.576271
0.136054
0.07483
0
0
0
0
0
0
0
0
0.022727
0.155875
417
19
41
21.947368
0.8125
0.079137
0
0
0
0
0.087766
0.077128
0
0
0
0
0
1
0.214286
false
0
0.071429
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
1
0
0
0
1
0
0
0
2
446b29ee08bfcde1aa20c7308a334b5cac3b8274
66
py
Python
paper_rq/__init__.py
dldevinc/paper-rq
641ce605115cec46ea484217727490fe4c41d0ef
[ "BSD-3-Clause" ]
null
null
null
paper_rq/__init__.py
dldevinc/paper-rq
641ce605115cec46ea484217727490fe4c41d0ef
[ "BSD-3-Clause" ]
null
null
null
paper_rq/__init__.py
dldevinc/paper-rq
641ce605115cec46ea484217727490fe4c41d0ef
[ "BSD-3-Clause" ]
null
null
null
__version__ = "0.3.3" default_app_config = "paper_rq.apps.Config"
22
43
0.757576
11
66
3.909091
0.818182
0
0
0
0
0
0
0
0
0
0
0.05
0.090909
66
2
44
33
0.666667
0
0
0
0
0
0.378788
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
446b31de78ca8fc98a934dfcc2a722ff2a7def4d
710
py
Python
python/python-algorithm-intervew/8-linked-list/19-reverse-linked-list2-1.py
bum12ark/algorithm
b6e262b0c29a8b5fb551db5a177a40feebc411b4
[ "MIT" ]
1
2022-03-06T03:49:31.000Z
2022-03-06T03:49:31.000Z
python/python-algorithm-intervew/8-linked-list/19-reverse-linked-list2-1.py
bum12ark/algorithm
b6e262b0c29a8b5fb551db5a177a40feebc411b4
[ "MIT" ]
null
null
null
python/python-algorithm-intervew/8-linked-list/19-reverse-linked-list2-1.py
bum12ark/algorithm
b6e262b0c29a8b5fb551db5a177a40feebc411b4
[ "MIT" ]
null
null
null
""" 인덱스 m에서 n까지를 역순으로 만들어라. 인덱스 m은 1부터 시작한다. - 입력 1->2->3->4->5->None, m = 2, n = 4 - 출력 1->4->3->2->5->None """ class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next def print_list(self): cur = self while cur: print(cur.val, end='->...
20.285714
73
0.515493
94
710
3.840426
0.414894
0.110803
0.088643
0.105263
0
0
0
0
0
0
0
0.030568
0.35493
710
35
74
20.285714
0.757642
0
0
0.095238
0
0
0.003339
0
0
0
0
0
0
0
null
null
0.095238
0
null
null
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
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
447c9d71e05a02fe1827c308a3ad240caa03e690
2,575
py
Python
SemiSupervisedLearning/Autoencoder.py
martahal/DeepLearning
c3a70a117c2f3417832c7caecd3baf6cd9862ae2
[ "MIT" ]
null
null
null
SemiSupervisedLearning/Autoencoder.py
martahal/DeepLearning
c3a70a117c2f3417832c7caecd3baf6cd9862ae2
[ "MIT" ]
null
null
null
SemiSupervisedLearning/Autoencoder.py
martahal/DeepLearning
c3a70a117c2f3417832c7caecd3baf6cd9862ae2
[ "MIT" ]
null
null
null
#from Encoder import Encoder #from Decoder import Decoder #from Trainer import Trainer #from Dataloader import load_fashion_mnist from torch import nn class Autoencoder(nn.Module): def __init__(self, encoder, decoder, reconstructed_image_shape): super()...
33.441558
110
0.643107
291
2,575
5.378007
0.343643
0.057508
0.073482
0.051757
0.136741
0.100958
0.100958
0
0
0
0
0.014941
0.272233
2,575
76
111
33.881579
0.820171
0.617864
0
0
0
0
0.089385
0
0
0
0
0.013158
0.052632
1
0.157895
false
0.052632
0.052632
0
0.315789
0
0
0
0
null
0
0
0
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
1
0
0
0
0
0
2
4482ac9467a510cac8302c73865d7edd9b597210
365
py
Python
blog/signals.py
Vicky-Rathod/django-blog
1c15210376c9e365052dd5c106dbd903a9717bba
[ "MIT" ]
null
null
null
blog/signals.py
Vicky-Rathod/django-blog
1c15210376c9e365052dd5c106dbd903a9717bba
[ "MIT" ]
null
null
null
blog/signals.py
Vicky-Rathod/django-blog
1c15210376c9e365052dd5c106dbd903a9717bba
[ "MIT" ]
null
null
null
from django.db.models.signals import post_save, pre_save from django.dispatch import receiver from .models import Post from .utils import random_string_generator @receiver(post_save, sender=Post) def create_user_profile(sender, instance, created, **kwargs): if not instance.slug: instance.slug = random_stri...
36.5
61
0.778082
51
365
5.392157
0.54902
0.072727
0.152727
0
0
0
0
0
0
0
0
0.006369
0.139726
365
10
62
36.5
0.869427
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.444444
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
0
0
0
1
0
1
0
0
2
448e0b23b2802fd343cd54eaea132ac0ec38b481
1,088
py
Python
Crypto/Encryption.py
alouks/utilities
1c5edaee2ac2316b9e22058a77fd08ce00991b3a
[ "MIT" ]
null
null
null
Crypto/Encryption.py
alouks/utilities
1c5edaee2ac2316b9e22058a77fd08ce00991b3a
[ "MIT" ]
null
null
null
Crypto/Encryption.py
alouks/utilities
1c5edaee2ac2316b9e22058a77fd08ce00991b3a
[ "MIT" ]
null
null
null
import base64 import hashlib from Crypto import Random from Crypto.Cipher import AES ''' Encryption @description For arbitrary encryption and decryption of data @author Aaron Louks Usage: e = Encryption() encrypted_string = e.encrypt("Encrypt me!", "password") decrypted = e.decrypt(encrypte...
24.177778
75
0.690257
150
1,088
4.953333
0.366667
0.048452
0.028264
0.064603
0.20996
0.20996
0.072678
0.072678
0
0
0
0.029801
0.167279
1,088
44
76
24.727273
0.790287
0
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.208333
false
0.166667
0.166667
0.083333
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
92259bab71cff124481e4755a107476a1768a39c
181
py
Python
setup.py
steveharwell1/linearGraph-flask
baa0d8a083c93033509ff8170fc000d09895d97d
[ "MIT" ]
null
null
null
setup.py
steveharwell1/linearGraph-flask
baa0d8a083c93033509ff8170fc000d09895d97d
[ "MIT" ]
null
null
null
setup.py
steveharwell1/linearGraph-flask
baa0d8a083c93033509ff8170fc000d09895d97d
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='graphs', packages=['graphs'], include_package_data=True, install_requires=[ 'flask', 'matplotlib', ] )
16.454545
30
0.60221
17
181
6.235294
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.270718
181
11
31
16.454545
0.80303
0
0
0
0
0
0.148352
0
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
922628f0507842c4a425b60cda917e8aa7fd7317
99
py
Python
src/units/__init__.py
sunoru/units
78e97a3a625676c1d89acba8377bf78a8fbd1b80
[ "Apache-2.0" ]
1
2016-12-28T08:16:44.000Z
2016-12-28T08:16:44.000Z
src/units/__init__.py
sunoru/units
78e97a3a625676c1d89acba8377bf78a8fbd1b80
[ "Apache-2.0" ]
1
2015-11-17T02:59:00.000Z
2015-11-17T04:39:03.000Z
src/units/__init__.py
sunoru/units
78e97a3a625676c1d89acba8377bf78a8fbd1b80
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- # filename: units/__init__.py # by スノル __version__ = "0.2.0" __all__ = []
12.375
29
0.59596
14
99
3.357143
0.928571
0
0
0
0
0
0
0
0
0
0
0.049383
0.181818
99
7
30
14.142857
0.530864
0.555556
0
0
0
0
0.125
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
922815f0a9ef8591bd1da93a3438cfbc9d234478
602
py
Python
day2-4.py
Par1Na/Twowaits
65678ba98e8a8787fd442d57609a330148805fec
[ "Unlicense" ]
2
2020-05-09T22:52:20.000Z
2020-05-18T17:23:01.000Z
day2-4.py
Par1Na/Twowaits
65678ba98e8a8787fd442d57609a330148805fec
[ "Unlicense" ]
null
null
null
day2-4.py
Par1Na/Twowaits
65678ba98e8a8787fd442d57609a330148805fec
[ "Unlicense" ]
null
null
null
# Twowaits Twowaits Problem def upPattern(n): for i in range(n): for j in range(i,n): print('* ',end='') for m in range(0,4*i+1): print(end=' ') for p in range(i,n): print('* ',end='') print('\r') def lowPattern(n): s=4*n-3 for i in range(...
20.066667
32
0.44186
88
602
3.022727
0.272727
0.210526
0.120301
0.112782
0.503759
0.37594
0.180451
0.180451
0.180451
0.180451
0
0.024064
0.378738
602
29
33
20.758621
0.687166
0.013289
0
0.4
0
0
0.023649
0
0
0
0
0
0
0
null
null
0
0
null
null
0.32
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
1
0
0
0
0
0
0
0
0
2
9236ffad05d2401d39ab91d2d7fac67cabd525ce
1,564
py
Python
setup.py
TylerTemp/docpie
e8da3e0cc2e930b2b7dd51d7c7f26102ff64bc0f
[ "MIT" ]
18
2015-09-25T19:37:00.000Z
2019-12-19T11:18:19.000Z
setup.py
TylerTemp/docpie
e8da3e0cc2e930b2b7dd51d7c7f26102ff64bc0f
[ "MIT" ]
17
2015-08-30T23:32:21.000Z
2020-10-22T01:26:35.000Z
setup.py
TylerTemp/docpie
e8da3e0cc2e930b2b7dd51d7c7f26102ff64bc0f
[ "MIT" ]
3
2018-03-06T19:10:32.000Z
2020-10-02T16:38:46.000Z
# from distutils.core import setup from setuptools import setup import os from docpie import __version__ setup( name="docpie", packages=["docpie"], package_data={ '': [ 'README.rst', 'LICENSE', 'CHANGELOG.md' ], 'docpie': [ 'example/*...
31.918367
81
0.579923
155
1,564
5.722581
0.580645
0.192785
0.253664
0.146561
0.060879
0
0
0
0
0
0
0.013228
0.274936
1,564
48
82
32.583333
0.768959
0.02046
0
0.066667
0
0
0.517647
0.014379
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
923758f06d4f1fec179474b292bbd2ef65d0e2df
52
py
Python
venv/Lib/site-packages/PIL/_version.py
deerajnagothu/pyenf_extraction
f5c3ebc9657133e1bea102b41768152ba0b30e1b
[ "MIT" ]
6
2021-10-30T09:00:55.000Z
2022-03-07T16:33:25.000Z
venv/Lib/site-packages/PIL/_version.py
deerajnagothu/pyenf_extraction
f5c3ebc9657133e1bea102b41768152ba0b30e1b
[ "MIT" ]
null
null
null
venv/Lib/site-packages/PIL/_version.py
deerajnagothu/pyenf_extraction
f5c3ebc9657133e1bea102b41768152ba0b30e1b
[ "MIT" ]
1
2022-03-16T11:33:50.000Z
2022-03-16T11:33:50.000Z
# Master version for Pillow __version__ = '5.3.0'
17.333333
28
0.692308
8
52
4
0.875
0
0
0
0
0
0
0
0
0
0
0.071429
0.192308
52
2
29
26
0.690476
0.480769
0
0
0
0
0.217391
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
92400bee5849d4fbc901c02515403d8394d4d59b
232
py
Python
ospath/ospath_abspath.py
dineshkumar2509/learning-python
e8af11ff0b396da4c3f2cfe21d14131bae4b2adb
[ "MIT" ]
86
2015-06-13T16:53:55.000Z
2022-03-24T20:56:42.000Z
ospath/ospath_abspath.py
pei-zheng-yi/learning-python
55e350dfe44cf04f7d4408e76e72d2f467bd42ce
[ "MIT" ]
9
2015-05-27T07:52:44.000Z
2022-03-29T21:52:40.000Z
ospath/ospath_abspath.py
pei-zheng-yi/learning-python
55e350dfe44cf04f7d4408e76e72d2f467bd42ce
[ "MIT" ]
124
2015-12-10T01:17:18.000Z
2021-11-08T04:03:38.000Z
#!/usr/bin/env python # encoding: utf-8 """Compute an absolute path from a relative path. """ import os.path for path in ['.', '..', './one/two/three', '../one/two/three']: print '"%s" : "%s"' % (path, os.path.abspath(path))
21.090909
63
0.586207
35
232
3.885714
0.685714
0.088235
0.161765
0
0
0
0
0
0
0
0
0.005128
0.159483
232
10
64
23.2
0.692308
0.155172
0
0
0
0
0.319149
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
9258e2f8315263ec17083bc656021fea43883663
106
py
Python
run.py
LauryneL/Pipographe-v2
33e1bfafc5936029b76cf17aa39fd51a101010b5
[ "CC0-1.0" ]
1
2021-09-28T09:43:48.000Z
2021-09-28T09:43:48.000Z
run.py
LauryneL/Pipographe-v2
33e1bfafc5936029b76cf17aa39fd51a101010b5
[ "CC0-1.0" ]
null
null
null
run.py
LauryneL/Pipographe-v2
33e1bfafc5936029b76cf17aa39fd51a101010b5
[ "CC0-1.0" ]
null
null
null
from app.app import config_app if __name__ == "__main__": app = config_app() app.run(debug=True)
17.666667
30
0.679245
16
106
3.875
0.625
0.193548
0
0
0
0
0
0
0
0
0
0
0.198113
106
5
31
21.2
0.729412
0
0
0
0
0
0.075472
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
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
2
926997228b90c2021fbf66c94de64d53aacc700b
738
py
Python
src/utils.py
SpirinEgor/gnn_pretraining
116017cfad3548a1f36d1c2ffd1e1881c99d4768
[ "MIT" ]
2
2021-06-11T09:22:18.000Z
2021-07-14T03:16:54.000Z
src/utils.py
SpirinEgor/gnn_pretraining
116017cfad3548a1f36d1c2ffd1e1881c99d4768
[ "MIT" ]
null
null
null
src/utils.py
SpirinEgor/gnn_pretraining
116017cfad3548a1f36d1c2ffd1e1881c99d4768
[ "MIT" ]
1
2021-07-30T04:02:55.000Z
2021-07-30T04:02:55.000Z
from warnings import filterwarnings PAD = "<PAD>" UNK = "<UNK>" MASK = "<MASK>" BOS = "<BOS>" EOS = "<EOS>" def filter_warnings(): # "The dataloader does not have many workers which may be a bottleneck." filterwarnings("ignore", category=UserWarning, module="pytorch_lightning.trainer.data_loading", lineno=10...
43.411765
111
0.737127
92
738
5.847826
0.565217
0.148699
0.208178
0.289963
0.494424
0.494424
0.494424
0.267658
0.267658
0.267658
0
0.017241
0.135501
738
16
112
46.125
0.826019
0.233062
0
0
0
0
0.299465
0.210339
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.181818
0
0
0
0
null
0
1
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
2
929081ef97feb499ffd0e57100dc64e88ee67b36
202
py
Python
curso/aula_29.py
ealgarve/GUI-Python
86c1e2ff762f76d4e614e87bec492f7f4fc7f9f7
[ "MIT" ]
null
null
null
curso/aula_29.py
ealgarve/GUI-Python
86c1e2ff762f76d4e614e87bec492f7f4fc7f9f7
[ "MIT" ]
null
null
null
curso/aula_29.py
ealgarve/GUI-Python
86c1e2ff762f76d4e614e87bec492f7f4fc7f9f7
[ "MIT" ]
null
null
null
Carros = ['HRV', 'Polo', 'Jetta', 'Palio', 'Fusca'] itCarros = iter(Carros) while itCarros: try: print(next(itCarros)) except StopIteration: print('Fim da Lista.') break
22.444444
51
0.584158
22
202
5.363636
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.257426
202
9
52
22.444444
0.786667
0
0
0
0
0
0.172414
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
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
2
2b8f2c12cb64a74414d35b315b012a0a2ab89f32
759
py
Python
plugins/example/models.py
collingreen/yaib_ludumdare
5ff7ad5c35c7217cac3e72c4f97fd88d6da1d7e7
[ "MIT" ]
1
2015-01-20T19:37:41.000Z
2015-01-20T19:37:41.000Z
plugins/example/models.py
collingreen/yaib_ludumdare
5ff7ad5c35c7217cac3e72c4f97fd88d6da1d7e7
[ "MIT" ]
2
2015-06-06T06:26:53.000Z
2019-06-10T18:38:53.000Z
plugins/example/models.py
collingreen/yaib_ludumdare
5ff7ad5c35c7217cac3e72c4f97fd88d6da1d7e7
[ "MIT" ]
null
null
null
from sqlalchemy import Table, Column, String, Integer from modules.persistence import Base, getModelBase """ Specify custom database tables for your plugins by creating classes here that subclass Base and the custom ModelBase and include sqlalchemy fields. See the sqlalchemy docs about declarative schema for more in...
33
80
0.798419
107
759
5.654206
0.560748
0.064463
0.052893
0
0
0
0
0
0
0
0
0.00625
0.156785
759
22
81
34.5
0.939063
0
0
0
0
0
0.029915
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
2b9a8f8fae7ed3987fc28958b1bbae3f7acfe0d3
220
py
Python
backups/urls.py
TheEdu/python-mysql-backups-django-admin
d92ce1fe5a8cbdb8256d9fb0ab87d91c9d8d43ec
[ "MIT" ]
null
null
null
backups/urls.py
TheEdu/python-mysql-backups-django-admin
d92ce1fe5a8cbdb8256d9fb0ab87d91c9d8d43ec
[ "MIT" ]
null
null
null
backups/urls.py
TheEdu/python-mysql-backups-django-admin
d92ce1fe5a8cbdb8256d9fb0ab87d91c9d8d43ec
[ "MIT" ]
1
2019-06-24T15:39:00.000Z
2019-06-24T15:39:00.000Z
from django.urls import path from . import views app_name = 'backups' urlpatterns = [ path('', views.index, name='index'), path('task/<int:task_id>/command', views.get_task_command, name='command'), ]
22
80
0.659091
29
220
4.862069
0.551724
0
0
0
0
0
0
0
0
0
0
0
0.181818
220
9
81
24.444444
0.783333
0
0
0
0
0
0.21327
0.123223
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
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
2
2ba0fc403beb006068e23b2d5aeca493a3fe8b63
240
py
Python
CursoEmVideo-Python3-Mundo1/desafio014.py
martinsnathalia/Python
0cabf894dc9c0d0307bd1136831e011580b497c5
[ "MIT" ]
null
null
null
CursoEmVideo-Python3-Mundo1/desafio014.py
martinsnathalia/Python
0cabf894dc9c0d0307bd1136831e011580b497c5
[ "MIT" ]
null
null
null
CursoEmVideo-Python3-Mundo1/desafio014.py
martinsnathalia/Python
0cabf894dc9c0d0307bd1136831e011580b497c5
[ "MIT" ]
null
null
null
# Escreva um programa que converta uma temperatura digitando em graus Celsius e converta para graus Fahrenheit. t = float(input('Digite a temperatura em °C: ')) print('A temperatura {}ºC equivale a {}°F'.format(t,((( 9 / 5 ) * t) + 32)))
40
111
0.691667
39
240
4.307692
0.74359
0.142857
0
0
0
0
0
0
0
0
0
0.020101
0.170833
240
5
112
48
0.81407
0.454167
0
0
0
0
0.484375
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
2
2bbe991ab504610d4d2b0916c79589b9545ede63
8,224
py
Python
src/devicegroup.py
nlitz88/ipmifan
0c479298d8e7e8c9cd2a439e96dc182eca4866af
[ "MIT" ]
null
null
null
src/devicegroup.py
nlitz88/ipmifan
0c479298d8e7e8c9cd2a439e96dc182eca4866af
[ "MIT" ]
null
null
null
src/devicegroup.py
nlitz88/ipmifan
0c479298d8e7e8c9cd2a439e96dc182eca4866af
[ "MIT" ]
null
null
null
class DeviceGroup: def __init__(self, name): self.name = name self.devices = [] def addDevice(self, newDevice): self.devices.append(newDevice) # Just thinking through how I want the program to work. # A diskgroup should be initialized once every time the service is started. ...
78.32381
198
0.732369
1,290
8,224
4.660465
0.323256
0.017964
0.004491
0.005323
0.021956
0.009315
0
0
0
0
0
0
0.222519
8,224
105
199
78.32381
0.940256
0.93215
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
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
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
2bc49414fbe231e370f12d2c292a8209145a12ce
384
py
Python
project/apps/keller/inlines.py
barberscore/archive-api
206dff719ba6f868dda0da64cc217b1ed8208d26
[ "BSD-2-Clause" ]
null
null
null
project/apps/keller/inlines.py
barberscore/archive-api
206dff719ba6f868dda0da64cc217b1ed8208d26
[ "BSD-2-Clause" ]
18
2020-06-05T23:18:53.000Z
2022-01-14T20:36:08.000Z
project/apps/keller/inlines.py
barberscore/archive-api
206dff719ba6f868dda0da64cc217b1ed8208d26
[ "BSD-2-Clause" ]
null
null
null
# Django from django.contrib import admin # Local from .models import Flat class FlatInline(admin.TabularInline): model = Flat fields = [ 'selection', 'complete', 'score', ] extra = 0 show_change_link = True classes = [ 'collapse', ] raw_id_fields = [ ...
14.769231
38
0.533854
35
384
5.742857
0.742857
0.149254
0.228856
0.278607
0
0
0
0
0
0
0
0.004065
0.359375
384
25
39
15.36
0.813008
0.03125
0
0.315789
0
0
0.141304
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.473684
0
0
0
0
null
0
1
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
2
2bd7b058bdbb27cbdce3a48cb4a1be3227888276
305
py
Python
Modules/mystuff.py
Keerti-Gautam/PythonLearning
ed91b737e424ad87e75af987b53971d3ba5d073b
[ "MIT" ]
null
null
null
Modules/mystuff.py
Keerti-Gautam/PythonLearning
ed91b737e424ad87e75af987b53971d3ba5d073b
[ "MIT" ]
1
2017-07-11T15:36:50.000Z
2017-07-11T15:36:50.000Z
Modules/mystuff.py
Keerti-Gautam/PythonLearning
ed91b737e424ad87e75af987b53971d3ba5d073b
[ "MIT" ]
null
null
null
def apple(): print "I AM APPLES!" # this is just a variable tangerine = "Living reflection of a dream" def addition(): x = int(raw_input("Please enter the first number to be added: ")) y = int(raw_input("Please enter the second number to be added: ")) #return x+y z = x+y return z
23.461538
70
0.64918
51
305
3.843137
0.647059
0.061224
0.112245
0.173469
0.255102
0.255102
0
0
0
0
0
0
0.242623
305
12
71
25.416667
0.848485
0.108197
0
0
0
0
0.472119
0
0
0
0
0
0
0
null
null
0
0
null
null
0.125
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
1
0
0
0
0
0
0
0
0
2
2be2083f3238a12a2b7ae27e98a0b879158d089c
3,895
py
Python
studies/handwriting-all-digits/NPQC/JOB_SPECIFICATION.py
chris-n-self/large-scale-qml
0358bf9fac9cc418af5c573ae80f580aeeef7765
[ "MIT" ]
6
2021-08-17T13:21:15.000Z
2021-09-09T19:44:25.000Z
studies/handwriting-all-digits/NPQC/JOB_SPECIFICATION.py
chris-n-self/large-scale-qml
0358bf9fac9cc418af5c573ae80f580aeeef7765
[ "MIT" ]
null
null
null
studies/handwriting-all-digits/NPQC/JOB_SPECIFICATION.py
chris-n-self/large-scale-qml
0358bf9fac9cc418af5c573ae80f580aeeef7765
[ "MIT" ]
null
null
null
""" """ import numpy as np # # Set all run arguments # BACKEND_NAME = 'aer_simulator' N_QUBITS = 8 DEPTH = 8 TYPE_CIRCUIT = 1 TYPE_DATASET = 4 APPLY_STRATIFY = True RESCALE_FACTOR = 1. N_PCA_FEATURES = 36 N_BOOTSTRAPS = 0 CIRCUIT_RANDOM_SEED = None DATA_RANDOM_SEED = 0 CROSSFID_RANDOM_SEED = None CIRCUIT_INITIAL_ANG...
29.961538
61
0.455969
442
3,895
3.936652
0.466063
0.041379
0.016092
0
0
0
0
0
0
0
0
0.50518
0.380488
3,895
129
62
30.193798
0.215914
0.033633
0
0.079646
0
0
0.039221
0
0
0
0
0
0
1
0
false
0
0.00885
0
0.00885
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
2
2be6f71d5fab12c459fd8663a39cd164dd4e1b83
63
py
Python
library/__init__.py
DanielLevy0705/algosec-ansible-role
d3734c81b402b67fff88add6143ead686105340b
[ "MIT" ]
13
2018-01-30T04:54:03.000Z
2022-01-27T03:58:42.000Z
library/__init__.py
DanielLevy0705/algosec-ansible-role
d3734c81b402b67fff88add6143ead686105340b
[ "MIT" ]
8
2018-02-08T06:54:47.000Z
2021-09-21T14:50:30.000Z
library/__init__.py
DanielLevy0705/algosec-ansible-role
d3734c81b402b67fff88add6143ead686105340b
[ "MIT" ]
8
2018-02-08T05:55:25.000Z
2021-09-25T13:15:16.000Z
__author__ = 'Almog Cohen (@AlmogCohen)' __version__ = '0.0.1'
21
40
0.698413
8
63
4.5
0.875
0
0
0
0
0
0
0
0
0
0
0.054545
0.126984
63
2
41
31.5
0.6
0
0
0
0
0
0.47619
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
2bee930f2b38918113ad529ee657eb6adcf63cf5
260
py
Python
tests/test_table_input.py
abcnishant007/sklearn-evaluation
77ff2da43097b0451d8cf6f95c534409f612bf6a
[ "MIT" ]
351
2016-01-27T19:15:27.000Z
2022-03-09T15:40:56.000Z
tests/test_table_input.py
abcnishant007/sklearn-evaluation
77ff2da43097b0451d8cf6f95c534409f612bf6a
[ "MIT" ]
37
2016-03-16T03:57:59.000Z
2021-06-26T14:02:33.000Z
tests/test_table_input.py
abcnishant007/sklearn-evaluation
77ff2da43097b0451d8cf6f95c534409f612bf6a
[ "MIT" ]
30
2016-01-27T19:27:08.000Z
2022-03-31T06:09:59.000Z
from unittest import TestCase from sklearn_evaluation import table class TestMissingInput(TestCase): def test_feature_importances(self): with self.assertRaisesRegex(ValueError, "needed to tabulate"): table.feature_importances(None)
23.636364
70
0.761538
28
260
6.928571
0.75
0.185567
0
0
0
0
0
0
0
0
0
0
0.176923
260
10
71
26
0.906542
0
0
0
0
0
0.069231
0
0
0
0
0
0.166667
1
0.166667
false
0
0.666667
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
2bfea86577b8ed2922d2e215adcd1bad07f70954
5,329
py
Python
utils.py
Air-Fighter/KnowledgeEnhancedTE
d7c23e2e19cb8923c93dfc42ec42923b514b6e56
[ "Apache-2.0" ]
1
2019-04-05T09:31:30.000Z
2019-04-05T09:31:30.000Z
utils.py
Air-Fighter/KnowledgeEnhancedTE
d7c23e2e19cb8923c93dfc42ec42923b514b6e56
[ "Apache-2.0" ]
null
null
null
utils.py
Air-Fighter/KnowledgeEnhancedTE
d7c23e2e19cb8923c93dfc42ec42923b514b6e56
[ "Apache-2.0" ]
null
null
null
""" Utility functions. """ import argparse # list comprehension operator # COMP = require("pl.comprehension").new() def printerr(msg): print '\033[1;31;40m', print msg, print '\033[0m' def get_args(): parser = argparse.ArgumentParser(description='Structured Attention PyTorch Version') p...
24.004505
97
0.604992
702
5,329
4.51567
0.324786
0.045426
0.085804
0.014196
0.108517
0.045426
0.045426
0.045426
0.025237
0
0
0.011934
0.245262
5,329
221
98
24.113122
0.776231
0.033965
0
0.108108
0
0
0.225469
0.007998
0
0
0
0
0
0
null
null
0.108108
0.013514
null
null
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
920934c56c2cec840359da574cfbfed413fb21f2
512
py
Python
mundo_1/desafios/desafio_027.py
lvfds/Curso_Python3
1afb7706553a1d21d3d97e061144c5f019ca9391
[ "MIT" ]
null
null
null
mundo_1/desafios/desafio_027.py
lvfds/Curso_Python3
1afb7706553a1d21d3d97e061144c5f019ca9391
[ "MIT" ]
null
null
null
mundo_1/desafios/desafio_027.py
lvfds/Curso_Python3
1afb7706553a1d21d3d97e061144c5f019ca9391
[ "MIT" ]
null
null
null
""" Faça um programa que leia o nome completo de uma pessoa, mostrando em seguida o primeiro e o último nome separadamente. Ex: Ana Maria de Sousa primeiro = Ana último = Sousa """ valor_digitado = input('Digite seu nome completo: ') transformar_valor_digitado_em_lista = valor_digitado.split() primei...
36.571429
124
0.765625
77
512
4.857143
0.467532
0.173797
0.192513
0.208556
0.270053
0.187166
0
0
0
0
0
0.004608
0.152344
512
14
125
36.571429
0.857143
0.337891
0
0
0
0
0.298413
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
1
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
2
921b749edef9b52f6b48d178fb62e92b28611849
99
py
Python
app/constants.py
trongdth/python-flask
a9db95a93d828e984399dc40735fe9db9aea974c
[ "MIT" ]
null
null
null
app/constants.py
trongdth/python-flask
a9db95a93d828e984399dc40735fe9db9aea974c
[ "MIT" ]
3
2021-06-08T21:35:53.000Z
2022-03-12T00:02:30.000Z
app/constants.py
trongdth/python-flask
a9db95a93d828e984399dc40735fe9db9aea974c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- USER_ROLE = { 'USER': 0, 'MODERATOR': 1, 'ADMINISTRATOR': 2, }
14.142857
23
0.484848
11
99
4.272727
0.909091
0
0
0
0
0
0
0
0
0
0
0.055556
0.272727
99
7
24
14.142857
0.597222
0.212121
0
0
0
0
0.337662
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
921e3a65d9e743506c4891f1823202ce89a6484d
4,402
py
Python
Project1/entertainment_center.py
Lluna89/full-stack-web-developer-nanodegree
573f80e8be1b1ec5c39f17951791cb367f96af84
[ "Apache-2.0" ]
9
2017-03-09T12:53:42.000Z
2020-04-16T14:03:07.000Z
Project1/entertainment_center.py
Lluna89/full-stack-web-developer-nanodegree
573f80e8be1b1ec5c39f17951791cb367f96af84
[ "Apache-2.0" ]
null
null
null
Project1/entertainment_center.py
Lluna89/full-stack-web-developer-nanodegree
573f80e8be1b1ec5c39f17951791cb367f96af84
[ "Apache-2.0" ]
9
2017-06-22T08:12:02.000Z
2021-01-29T15:08:10.000Z
import fresh_tomatoes import media # Movie local variables storyline = '''A nameless disillusioned young urban male (Edward Norton) fights insomnia by attending disease support groups until he meets a kindred spirit -and soap salesman (Brad Pitt). Together they form Fight Club, where young men can exert their frustrat...
50.022727
160
0.788732
673
4,402
5.111441
0.439822
0.02093
0.027907
0.043605
0.380523
0.371512
0.363663
0.305814
0.254651
0.254651
0
0.024948
0.125852
4,402
87
161
50.597701
0.869023
0.056111
0
0
0
0.096774
0.81794
0
0
0
0
0
0
0
null
null
0
0.048387
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
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
a604a63b20b8c668d6e4c29f6373428a85ef60a1
10,693
py
Python
ml/code/svm/classifiers/HpNGram.py
cyberdeception/deepdig
482061bc5039181a95631fcb8515d990eb2e16a9
[ "Apache-2.0" ]
5
2020-03-07T21:28:51.000Z
2022-03-11T06:03:46.000Z
ml/code/svm/classifiers/HpNGram.py
cyberdeception/deepdig
482061bc5039181a95631fcb8515d990eb2e16a9
[ "Apache-2.0" ]
null
null
null
ml/code/svm/classifiers/HpNGram.py
cyberdeception/deepdig
482061bc5039181a95631fcb8515d990eb2e16a9
[ "Apache-2.0" ]
4
2019-10-18T18:32:35.000Z
2021-07-16T11:52:38.000Z
import wekaAPI import arffWriter from statlib import stats from Trace import Trace from Packet import Packet import math import numpy as np from sklearn.decomposition import PCA import config from Utils import Utils from EventTrace import EventTrace class HpNGram: @staticmethod def traceToInstance( event...
41.933333
143
0.533901
845
10,693
6.712426
0.181065
0.18653
0.074048
0.056241
0.691114
0.685473
0.676834
0.654267
0.616537
0.605254
0
0.05
0.356588
10,693
254
144
42.098425
0.774419
0.14112
0
0.444444
0
0
0.071023
0.044248
0
0
0
0
0
0
null
null
0
0.135802
null
null
0.024691
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
1
0
0
0
0
0
0
0
0
2
a60e174ead520c4cc7fbeb6d89949c55bcea08ea
16,313
py
Python
pysnmp-with-texts/ZYXEL-MES2110-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/ZYXEL-MES2110-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/ZYXEL-MES2110-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ZYXEL-MES2110-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ZYXEL-MES2110-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:50:49 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Ma...
129.468254
1,462
0.769509
2,096
16,313
5.955153
0.132156
0.063451
0.11104
0.014421
0.612242
0.435507
0.346499
0.318218
0.313171
0.304438
0
0.0899
0.094465
16,313
125
1,463
130.504
0.755077
0.020107
0
0
0
0.084746
0.241487
0.002754
0
0
0
0
0
1
0
false
0
0.050847
0
0.050847
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a615097d579196db0c098860f928f07e0d504782
2,054
py
Python
tests/unit/test_cab.py
2js855/symstore
cb40f9d41778e7e730a584e5cd70dd0531de394a
[ "MIT" ]
null
null
null
tests/unit/test_cab.py
2js855/symstore
cb40f9d41778e7e730a584e5cd70dd0531de394a
[ "MIT" ]
null
null
null
tests/unit/test_cab.py
2js855/symstore
cb40f9d41778e7e730a584e5cd70dd0531de394a
[ "MIT" ]
null
null
null
import mock import importlib import unittest orig_import = __import__ # # handle differences between python 2.7 and 3 # # 'builtins' used to be named '__builtin__' in python 2.7 try: import builtins # noqa IMPORT_MODULE = "builtins.__import__" except ImportError: IMPORT_MODULE = "__builtin__.__import_...
26.333333
65
0.666018
269
2,054
4.881041
0.3829
0.067022
0.031988
0.052551
0.234577
0.19802
0.172125
0.121858
0.121858
0.121858
0
0.003232
0.246835
2,054
77
66
26.675325
0.845507
0.33739
0
0.324324
0
0
0.043582
0.017433
0
0
0
0
0.054054
1
0.135135
false
0
0.540541
0
0.783784
0
0
0
0
null
0
0
0
0
0
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
1
0
0
2
a61b571e5e5d7e20faff974a0a30fdba959ed6df
108
py
Python
manualunload.py
peppelorum/Pianobaren
192ed28180a122225e05e4d2431b77ea5b4c7877
[ "MIT" ]
null
null
null
manualunload.py
peppelorum/Pianobaren
192ed28180a122225e05e4d2431b77ea5b4c7877
[ "MIT" ]
null
null
null
manualunload.py
peppelorum/Pianobaren
192ed28180a122225e05e4d2431b77ea5b4c7877
[ "MIT" ]
null
null
null
import rpyc conn = rpyc.connect("localhost", 12345) unload = rpyc.async_(conn.root.unload) unload()
15.428571
40
0.694444
14
108
5.285714
0.642857
0
0
0
0
0
0
0
0
0
0
0.055556
0.166667
108
6
41
18
0.766667
0
0
0
0
0
0.089109
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
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
2
a6256e48ccf1ff584289f865ed806bed6e5d4bf1
131
py
Python
cap6/ex12.py
felipesch92/livroPython
061b1c095c3ec2d25fb1d5fdfbf9e9dbe10b3307
[ "MIT" ]
null
null
null
cap6/ex12.py
felipesch92/livroPython
061b1c095c3ec2d25fb1d5fdfbf9e9dbe10b3307
[ "MIT" ]
null
null
null
cap6/ex12.py
felipesch92/livroPython
061b1c095c3ec2d25fb1d5fdfbf9e9dbe10b3307
[ "MIT" ]
null
null
null
d = {} palavra = 'Felipe Schmaedecke' for l in palavra: if l in d: d[l] = d[l] + 1 else: d[l] = 1 print(d)
14.555556
30
0.473282
23
131
2.695652
0.478261
0.096774
0.096774
0
0
0
0
0
0
0
0
0.02439
0.374046
131
8
31
16.375
0.731707
0
0
0
0
0
0.137405
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
1
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
2
a62af74f205990aa79db821c875232541d6b0b18
393
py
Python
src/genie/libs/parser/iosxe/tests/ShowEthernetServiceInstance/cli/equal/golden_output_1_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
204
2018-06-27T00:55:27.000Z
2022-03-06T21:12:18.000Z
src/genie/libs/parser/iosxe/tests/ShowEthernetServiceInstance/cli/equal/golden_output_1_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
468
2018-06-19T00:33:18.000Z
2022-03-31T23:23:35.000Z
src/genie/libs/parser/iosxe/tests/ShowEthernetServiceInstance/cli/equal/golden_output_1_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
309
2019-01-16T20:21:07.000Z
2022-03-30T12:56:41.000Z
expected_output = { "service_instance": { 501: { "interfaces": { "TenGigabitEthernet0/3/0": {"state": "Up", "type": "Static"}, "TenGigabitEthernet0/1/0": {"state": "Up", "type": "Static"}, } }, 502: { "interfaces": {"TenGiga...
28.071429
88
0.435115
29
393
5.827586
0.517241
0.106509
0.142012
0.213018
0.674556
0.568047
0.568047
0.568047
0
0
0
0.059289
0.356234
393
13
89
30.230769
0.608696
0
0
0
0
0
0.396947
0.175573
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
a633cf2de5e68aec2b089e36b659e5a9f50ab637
477
py
Python
scimitar/core/modules/HeaderModule.py
aloheac/scimitar
b37424699600fbdf4677edccf26d5c782aa794c3
[ "BSD-3-Clause" ]
null
null
null
scimitar/core/modules/HeaderModule.py
aloheac/scimitar
b37424699600fbdf4677edccf26d5c782aa794c3
[ "BSD-3-Clause" ]
null
null
null
scimitar/core/modules/HeaderModule.py
aloheac/scimitar
b37424699600fbdf4677edccf26d5c782aa794c3
[ "BSD-3-Clause" ]
null
null
null
from scimitar.core.modules.BaseModules import PreExecutionModule class HeaderModule( PreExecutionModule ): def __init__( self, run ): PreExecutionModule.__init__( self, "Header Module", 1, run ) def getScriptContribution( self ): contribution = "# ***** PreExecution: Print Log Header *****\n" ...
47.7
129
0.712788
47
477
7
0.638298
0.048632
0
0
0
0
0
0
0
0
0
0.002538
0.174004
477
10
130
47.7
0.832487
0
0
0
0
0.125
0.338912
0.108787
0
0
0
0
0
1
0.25
false
0
0.125
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
a63e0f769632e64ade30a4f062ba00ca8d818f47
255
py
Python
knn_classifier.py
artemnaumchuk/kNN-classifier-python
17627961d8e14cc1e1f7eb8407d9a08bbd3a4d61
[ "MIT" ]
null
null
null
knn_classifier.py
artemnaumchuk/kNN-classifier-python
17627961d8e14cc1e1f7eb8407d9a08bbd3a4d61
[ "MIT" ]
null
null
null
knn_classifier.py
artemnaumchuk/kNN-classifier-python
17627961d8e14cc1e1f7eb8407d9a08bbd3a4d61
[ "MIT" ]
null
null
null
class KNNClassifier(object): def __init__(self, k=3, distance=None): self.k = k self.distance = distance def fit(self, x, y): pass def predict(self, x): pass def __decision_function(self): pass
15.9375
43
0.564706
32
255
4.28125
0.53125
0.072993
0
0
0
0
0
0
0
0
0
0.005882
0.333333
255
15
44
17
0.8
0
0
0.3
0
0
0
0
0
0
0
0
0
1
0.4
false
0.3
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
a649322c7ce448216babf0d921c41826a40d7a3e
689
py
Python
No_11_sunPro/No_11_sunPro/pipelines.py
a904919863/Spiders_Collection
970aef563971eba5c9dca5dfe1cd8790561941be
[ "MIT" ]
3
2022-02-23T02:44:47.000Z
2022-02-28T06:41:26.000Z
No_11_sunPro/No_11_sunPro/pipelines.py
a904919863/Spiders_Collection
970aef563971eba5c9dca5dfe1cd8790561941be
[ "MIT" ]
null
null
null
No_11_sunPro/No_11_sunPro/pipelines.py
a904919863/Spiders_Collection
970aef563971eba5c9dca5dfe1cd8790561941be
[ "MIT" ]
null
null
null
# Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html # useful for handling different item types with a single interface from itemadapter import ItemAdapter class No11SunproPipeline: fp = None ...
29.956522
66
0.664731
94
689
4.734043
0.617021
0.089888
0.07191
0.089888
0.098876
0
0
0
0
0
0
0.00738
0.213353
689
22
67
31.318182
0.813653
0.32656
0
0
0
0
0.09607
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0
0.538462
0
0
0
0
null
0
0
0
0
0
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
1
0
0
2
a65d743be070196bfb5d6f3b0e96c1439cbce584
518
py
Python
peartree/__init__.py
yiyange/peartree
eb4fdab7a8484a621a0ee78d7723858b5ca2ac27
[ "MIT" ]
null
null
null
peartree/__init__.py
yiyange/peartree
eb4fdab7a8484a621a0ee78d7723858b5ca2ac27
[ "MIT" ]
null
null
null
peartree/__init__.py
yiyange/peartree
eb4fdab7a8484a621a0ee78d7723858b5ca2ac27
[ "MIT" ]
null
null
null
from . import parallel # noqa: F401 from peartree.__version__ import __version__ # noqa: F401 from peartree.paths import ( load_feed_as_graph, get_representative_feed, load_synthetic_network_as_graph) # noqa: F401 from peartree.plot import generate_plot # noqa: F401 from peartree.toolkit im...
25.9
58
0.722008
62
518
5.451613
0.33871
0.118343
0.142012
0.236686
0.159763
0
0
0
0
0
0
0.036232
0.200772
518
19
59
27.263158
0.780193
0.104247
0
0
0
0
0.229258
0.117904
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
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
1
0
0
0
0
2
a65d826c9caf0fb56b6fb8ed9b6c867043ecb057
2,033
py
Python
typeform_viz/migrations/0001_initial.py
jacobs-hack/jh16_typeform_wrapper
89df4eee65edb291c426f8be9d76c52a3811ef45
[ "MIT" ]
null
null
null
typeform_viz/migrations/0001_initial.py
jacobs-hack/jh16_typeform_wrapper
89df4eee65edb291c426f8be9d76c52a3811ef45
[ "MIT" ]
null
null
null
typeform_viz/migrations/0001_initial.py
jacobs-hack/jh16_typeform_wrapper
89df4eee65edb291c426f8be9d76c52a3811ef45
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-09-18 21:46 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='JHAPP'...
39.862745
114
0.528283
164
2,033
6.371951
0.54878
0.258373
0.036364
0.057416
0
0
0
0
0
0
0
0.015827
0.316281
2,033
50
115
40.66
0.735971
0.033448
0
0
1
0
0.153925
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.142857
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a666c3556994dc9c2ef8a20141b11e3bc12993ac
1,349
py
Python
gaphor/C4Model/c4model.py
mrmonkington/gaphor
f0fcd4deb90d24b14723840a689fac901f645a43
[ "Apache-2.0" ]
867
2018-01-09T00:19:09.000Z
2022-03-31T02:49:23.000Z
gaphor/C4Model/c4model.py
mrmonkington/gaphor
f0fcd4deb90d24b14723840a689fac901f645a43
[ "Apache-2.0" ]
790
2018-01-13T23:47:07.000Z
2022-03-31T16:04:27.000Z
gaphor/C4Model/c4model.py
mrmonkington/gaphor
f0fcd4deb90d24b14723840a689fac901f645a43
[ "Apache-2.0" ]
117
2018-01-09T02:24:49.000Z
2022-03-23T08:07:42.000Z
# This file is generated by profile_coder.py. DO NOT EDIT! from __future__ import annotations from gaphor.core.modeling.properties import ( association, attribute, relation_many, relation_one, ) from gaphor.UML import Actor, Package class C4Container(Package): description: attribute[str] loc...
29.326087
94
0.770941
137
1,349
7.525547
0.372263
0.069835
0.044617
0.060136
0.159069
0.083414
0
0
0
0
0
0.017827
0.126761
1,349
45
95
29.977778
0.857385
0.081542
0
0.117647
1
0
0.089069
0
0
0
0
0
0
1
0
true
0.029412
0.088235
0
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
a679761723e47de51f7a734d95e6ab818a4f4fda
638
py
Python
tests/integration/relation_name_tests/test_relation_name.py
dlb8685/dbt-redshift
c1f02a1931ad6bd9cf0c2eb28bee9bf9e7da3dcf
[ "Apache-2.0" ]
18
2021-10-03T09:15:30.000Z
2022-03-31T20:32:12.000Z
tests/integration/relation_name_tests/test_relation_name.py
dlb8685/dbt-redshift
c1f02a1931ad6bd9cf0c2eb28bee9bf9e7da3dcf
[ "Apache-2.0" ]
42
2021-10-05T17:03:10.000Z
2022-03-31T14:26:25.000Z
tests/integration/relation_name_tests/test_relation_name.py
dlb8685/dbt-redshift
c1f02a1931ad6bd9cf0c2eb28bee9bf9e7da3dcf
[ "Apache-2.0" ]
10
2021-11-02T13:16:26.000Z
2022-03-29T07:44:24.000Z
from tests.integration.base import DBTIntegrationTest, use_profile class TestAdapterDDL(DBTIntegrationTest): def setUp(self): DBTIntegrationTest.setUp(self) self.run_dbt(["seed"]) @property def schema(self): return "adapter_ddl" @property def models(self): return ...
22
66
0.595611
64
638
5.75
0.59375
0.089674
0.059783
0.076087
0
0
0
0
0
0
0
0.002227
0.296238
638
28
67
22.785714
0.817372
0
0
0.136364
0
0
0.100313
0
0
0
0
0
0
1
0.227273
false
0.045455
0.045455
0.136364
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
a67d7467944c699718c7e0159e5b01f962bd7120
154
py
Python
desafio005.py
RickChaves29/Desafios-Python
9d67036ca2ba9c6db2a649a381cac832ac83035f
[ "MIT" ]
null
null
null
desafio005.py
RickChaves29/Desafios-Python
9d67036ca2ba9c6db2a649a381cac832ac83035f
[ "MIT" ]
null
null
null
desafio005.py
RickChaves29/Desafios-Python
9d67036ca2ba9c6db2a649a381cac832ac83035f
[ "MIT" ]
null
null
null
numero = int(input('Digite um número: ')) a = numero - 1 s = numero + 1 print('Seu número é {} o antecessor é {} e o sucessor é {}'.format(numero, a, s))
30.8
81
0.623377
27
154
3.555556
0.62963
0.145833
0
0
0
0
0
0
0
0
0
0.01626
0.201299
154
4
82
38.5
0.764228
0
0
0
0
0
0.448052
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
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
2
a68d5238e29691b8453bb6d60dbd7c6f27175f62
510
py
Python
Day66-75/code/douban/douban/pipelines.py
EngrSaad2/Python-100-Days
ab0b26714b1df50d02a1433dc82f2a3fb025be5c
[ "Apache-2.0" ]
37
2017-10-12T01:50:42.000Z
2022-02-24T02:44:45.000Z
Day61-65/code/douban/douban/pipelines.py
2462612540/Python-Language
a676d1274a04ff03f1aea0de9c58019d6ef8f5fe
[ "Apache-2.0" ]
null
null
null
Day61-65/code/douban/douban/pipelines.py
2462612540/Python-Language
a676d1274a04ff03f1aea0de9c58019d6ef8f5fe
[ "Apache-2.0" ]
12
2018-07-31T10:04:56.000Z
2022-02-07T00:08:06.000Z
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html class DoubanPipeline(object): # def __init__(self, server, port): # pass # @classmethod # def from_craw...
24.285714
65
0.647059
64
510
5.015625
0.671875
0.080997
0.124611
0
0
0
0
0
0
0
0
0.002545
0.229412
510
20
66
25.5
0.814249
0.715686
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
a68e808f5f4a996d9abe9e64d1a6ba194d9ea91c
582
py
Python
reproschema/models/tests/test_schema.py
sanuann/reproschema-py
ece78068b185018ec3d7f56ef9498e6e366d1e70
[ "Apache-2.0" ]
3
2020-06-22T06:58:46.000Z
2021-04-19T03:59:47.000Z
reproschema/models/tests/test_schema.py
sanuann/reproschema-py
ece78068b185018ec3d7f56ef9498e6e366d1e70
[ "Apache-2.0" ]
10
2020-07-02T08:56:21.000Z
2021-08-03T15:38:25.000Z
reproschema/models/tests/test_schema.py
Remi-Gau/reproschema-py
9597b24d0a63210508911d152f1e94175138c32e
[ "Apache-2.0" ]
3
2020-06-21T19:28:40.000Z
2020-07-03T06:53:08.000Z
from .. import Protocol, Activity, Item def test_constructors(): Protocol() Activity() Item() version = "1.0.0-rc2" proto = Protocol(version=version) assert proto.schema["schemaVersion"] == version act = Activity(version) assert act.schema["schemaVersion"] == version item = Item(ve...
27.714286
57
0.676976
64
582
6.046875
0.328125
0.082687
0.20155
0.178295
0
0
0
0
0
0
0
0.008282
0.170103
582
20
58
29.1
0.792961
0
0
0
0
0
0.206186
0
0
0
0
0
0.1875
1
0.125
false
0
0.0625
0
0.1875
0
0
0
0
null
0
1
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
2
a6ba9b90a087e9e3ebfc2077831014c9db397a3f
512
py
Python
setup.py
ariestiyansyah/SpotiPy
405941c46fe4d055fc943058e59beebe3fff5128
[ "WTFPL" ]
5
2017-11-15T09:44:07.000Z
2019-05-20T15:58:11.000Z
setup.py
ariestiyansyah/SpotiPy
405941c46fe4d055fc943058e59beebe3fff5128
[ "WTFPL" ]
null
null
null
setup.py
ariestiyansyah/SpotiPy
405941c46fe4d055fc943058e59beebe3fff5128
[ "WTFPL" ]
null
null
null
from distutils.core import setup from setuptools import find_packages setup( name='SpotiPy', version='1.0.0', scripts=['SpotiPy'], packages=find_packages(exclude=['tests*']), license='WTFPL', description='Spotify player using Python and AppleScript', long_description='Spotify player using P...
30.117647
67
0.714844
58
512
6.224138
0.637931
0.066482
0.132964
0.160665
0.271468
0.271468
0.271468
0
0
0
0
0.006912
0.152344
512
16
68
32
0.824885
0.042969
0
0
0
0
0.422131
0.061475
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
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
1
0
0
0
0
0
0
2
a6bf1e39c12e12bab5a352297bd3c48cdacf415a
261
py
Python
main.py
nishantchy/python-starter
ba4fbf5371a70e47161f0566c31c2295498a2d3e
[ "MIT" ]
null
null
null
main.py
nishantchy/python-starter
ba4fbf5371a70e47161f0566c31c2295498a2d3e
[ "MIT" ]
null
null
null
main.py
nishantchy/python-starter
ba4fbf5371a70e47161f0566c31c2295498a2d3e
[ "MIT" ]
null
null
null
mylist = ["banana", "apple", "pineapple"] print(mylist) item = mylist[2] print(item) if "banana" in mylist: print("yes") else: print("no") mylist.append("lemon") print(mylist) mylist.insert(2, "grapes") print(mylist) # /item = [0] * 5 # print(item)
14.5
41
0.632184
36
261
4.583333
0.5
0.2
0.181818
0
0
0
0
0
0
0
0
0.018265
0.16092
261
17
42
15.352941
0.73516
0.10728
0
0.25
0
0
0.183406
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
a6bfde9b771fd660f7b339a237c9ac0e61e786b6
164
py
Python
app/urls.py
brianbrunner/cheddar-oauth-demo
7768023a355d9cdc2e861aded2c05ebe3246c930
[ "MIT" ]
1
2015-05-26T18:21:32.000Z
2015-05-26T18:21:32.000Z
app/urls.py
brianbrunner/cheddar-oauth-demo
7768023a355d9cdc2e861aded2c05ebe3246c930
[ "MIT" ]
null
null
null
app/urls.py
brianbrunner/cheddar-oauth-demo
7768023a355d9cdc2e861aded2c05ebe3246c930
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, include, url urlpatterns = patterns('app.views', (r'^$', 'home'), (r'^account/(?P<account_id>.+)$', 'account'), )
18.222222
51
0.609756
20
164
4.95
0.8
0
0
0
0
0
0
0
0
0
0
0
0.152439
164
8
52
20.5
0.71223
0
0
0
0
0
0.304878
0.170732
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
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
2
a6c01f891b019b1f90d6abb333adc61fd359cf79
621
py
Python
tech/__init__.py
A1eXFei/StockMarket3
01000d0731395868c4477982c6ed6c632c9a7427
[ "Apache-2.0" ]
null
null
null
tech/__init__.py
A1eXFei/StockMarket3
01000d0731395868c4477982c6ed6c632c9a7427
[ "Apache-2.0" ]
null
null
null
tech/__init__.py
A1eXFei/StockMarket3
01000d0731395868c4477982c6ed6c632c9a7427
[ "Apache-2.0" ]
null
null
null
import logging from logging.config import fileConfig from util import DatabaseUtil as dbu class StockTechIndicator(object): def __init__(self): self.logger = logging.getLogger(__name__) pass def save_tech_data(self, stock_code, date, dict): update_tech_sql = "update pdtb_stock_tech_dat...
32.684211
116
0.652174
81
621
4.641975
0.469136
0.18617
0.242021
0.151596
0.210106
0.138298
0
0
0
0
0
0.002119
0.239936
621
18
117
34.5
0.794492
0.035427
0
0
0
0
0.10906
0
0
0
0
0
0
1
0.153846
false
0.076923
0.230769
0
0.461538
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
a6d2e9c62f4b50c93c7543b9d406891fec35576b
2,559
py
Python
app/hook_details/push_hook_details.py
futuresimple/triggear
d6b8511ba8550225e7c34bd52232327b2b89d972
[ "MIT" ]
14
2017-08-17T16:48:26.000Z
2019-07-10T12:11:49.000Z
app/hook_details/push_hook_details.py
futuresimple/triggear
d6b8511ba8550225e7c34bd52232327b2b89d972
[ "MIT" ]
null
null
null
app/hook_details/push_hook_details.py
futuresimple/triggear
d6b8511ba8550225e7c34bd52232327b2b89d972
[ "MIT" ]
null
null
null
from typing import Dict, Set, Union from app.clients.github_client import GithubClient from app.enums.event_types import EventType from app.hook_details.hook_details import HookDetails from app.mongo.registration_cursor import RegistrationCursor from app.request_schemes.register_request_data import RegisterRequestData...
40.619048
130
0.634623
272
2,559
5.746324
0.301471
0.026871
0.06142
0.023033
0.067818
0
0
0
0
0
0
0
0.289566
2,559
62
131
41.274194
0.859736
0
0
0.058824
0
0
0.044549
0
0
0
0
0
0
1
0.156863
false
0
0.137255
0.117647
0.509804
0
0
0
0
null
0
0
0
0
0
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
1
0
0
2
a6e0e2ada590b3f1324d8850e70b5b483ac9d1ec
574
py
Python
expenda_api/expenses/serializers.py
ihsaro/Expenda
5eb9115da633b025bd7d2f294deaecdc20674281
[ "Apache-2.0" ]
null
null
null
expenda_api/expenses/serializers.py
ihsaro/Expenda
5eb9115da633b025bd7d2f294deaecdc20674281
[ "Apache-2.0" ]
null
null
null
expenda_api/expenses/serializers.py
ihsaro/Expenda
5eb9115da633b025bd7d2f294deaecdc20674281
[ "Apache-2.0" ]
null
null
null
from rest_framework.serializers import ModelSerializer from expenses.models import Expense class ListRetrieveExpenseSerializer(ModelSerializer): class Meta: model = Expense fields = '__all__' class CreateExpenseSerializer(ModelSerializer): class Meta: model = Expense fields ...
26.090909
93
0.702091
49
574
8.081633
0.489796
0.151515
0.181818
0.219697
0.550505
0.550505
0.444444
0.444444
0.444444
0.444444
0
0
0.198606
574
21
94
27.333333
0.86087
0
0
0.428571
0
0
0.184669
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
0
0
0
0
null
0
1
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
2
a6e512d8d93376e5cb9cde6f091a8c13689396f2
188
py
Python
microgrid/control/__init__.py
bcornelusse/microgrid-bench
3f9a8a99f12b580c81f52bb146a5f47f08a032c0
[ "BSD-2-Clause" ]
10
2017-10-11T11:50:30.000Z
2021-08-02T20:44:42.000Z
microgrid/control/__init__.py
bcornelusse/microgrid-bench
3f9a8a99f12b580c81f52bb146a5f47f08a032c0
[ "BSD-2-Clause" ]
null
null
null
microgrid/control/__init__.py
bcornelusse/microgrid-bench
3f9a8a99f12b580c81f52bb146a5f47f08a032c0
[ "BSD-2-Clause" ]
1
2017-10-11T11:49:52.000Z
2017-10-11T11:49:52.000Z
""" The control module provides an interface for designing microgrid operational planning controllers. """ from .idle_controller import IdleController __all__ = [ 'IdleController' ]
18.8
98
0.776596
19
188
7.421053
0.947368
0
0
0
0
0
0
0
0
0
0
0
0.154255
188
9
99
20.888889
0.886792
0.521277
0
0
0
0
0.170732
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
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
2
a6ebd7d71de53d277191e64e442ebaebd156db3e
32,138
py
Python
test.py
hearteam/Linebot_project
532b81d3c8bd1a658e0ec8f1bf473ee3fa4d232d
[ "MIT" ]
null
null
null
test.py
hearteam/Linebot_project
532b81d3c8bd1a658e0ec8f1bf473ee3fa4d232d
[ "MIT" ]
null
null
null
test.py
hearteam/Linebot_project
532b81d3c8bd1a658e0ec8f1bf473ee3fa4d232d
[ "MIT" ]
2
2021-08-24T13:21:24.000Z
2021-08-25T02:18:51.000Z
# # # coding: utf-8 # # # import re # # # import inverted_index # # # # # # msg = '我覺得我眼睛有點乾' # # # # # # pattern = '我覺得' # # # # # # txt = re.match(pattern,msg) # # # # # # # if txt != None: # # # # print(msg.split(pattern)) # # # keyword ='' # # # # # # if msg[0:3] == '我覺得': # # # sentence = msg.split('我覺得')[...
32.49545
535
0.481704
3,610
32,138
4.232687
0.187535
0.017539
0.015838
0.025916
0.632657
0.623757
0.593717
0.593717
0.544045
0.544045
0
0.121971
0.302788
32,138
989
536
32.49545
0.559245
0.931763
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
4700370cf481c386b71ea999e9d4f2ec6913bb96
2,522
py
Python
tests/boards/utils.py
trickeydan/j5-dev
ba9e2adcb6d9ed766e4be048cb77cf3fa6592b5f
[ "MIT" ]
10
2019-01-19T13:09:37.000Z
2021-06-18T13:40:10.000Z
tests/boards/utils.py
trickeydan/j5-dev
ba9e2adcb6d9ed766e4be048cb77cf3fa6592b5f
[ "MIT" ]
681
2019-01-22T18:12:23.000Z
2022-03-25T14:14:31.000Z
tests/boards/utils.py
trickeydan/j5-dev
ba9e2adcb6d9ed766e4be048cb77cf3fa6592b5f
[ "MIT" ]
8
2019-02-22T21:45:47.000Z
2021-11-17T19:43:33.000Z
"""Utility classes for testing.""" from typing import Optional, Set, Type from j5.backends import Backend from j5.boards import Board from j5.components import Component class MockBoard(Board): """A testing board with little to no functionality.""" def __init__(self, serial: str): self._serial = ser...
26
67
0.637986
287
2,522
5.498258
0.25784
0.076046
0.038023
0.065906
0.408745
0.370722
0.370722
0.34474
0.34474
0.34474
0
0.00318
0.251784
2,522
96
68
26.270833
0.833068
0.252181
0
0.480769
0
0
0.025556
0
0
0
0
0
0
1
0.25
false
0
0.076923
0
0.673077
0
0
0
0
null
0
0
0
0
0
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
1
0
0
2
47036b99eebfef43f4538463c99d0c0073c598d6
2,815
py
Python
automatewithpython/.practiceprojects/fantasygamedictionary.py
Coalemus/Python-Projects
4b0e0c12a2fdcfbaf491df5715885c61f44bdb1c
[ "MIT" ]
null
null
null
automatewithpython/.practiceprojects/fantasygamedictionary.py
Coalemus/Python-Projects
4b0e0c12a2fdcfbaf491df5715885c61f44bdb1c
[ "MIT" ]
null
null
null
automatewithpython/.practiceprojects/fantasygamedictionary.py
Coalemus/Python-Projects
4b0e0c12a2fdcfbaf491df5715885c61f44bdb1c
[ "MIT" ]
null
null
null
#!/bin/zsh ''' Fantasy Game Inventory You are creating a fantasy video game. The data structure to model the player’s inventory will be a dictionary where the keys are string values describing the item in the inventory and the value is an integer value detailing how many of that item the player has. For example, the ...
30.597826
363
0.712256
417
2,815
4.784173
0.302158
0.07619
0.025063
0.03609
0.439599
0.439599
0.414536
0.414536
0.362406
0.318296
0
0.02124
0.180462
2,815
92
364
30.597826
0.84352
0.019183
0
0.133333
0
0
0.242326
0
0
0
0
0.01087
0
0
null
null
0
0
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
470bb795dbc0c20828bbb9978f1a6f39679484aa
259
py
Python
src/events/pygame_events/click.py
ArcosJuan/Get-out-of-my-fucking-maze
ca2cfeaaeecb6c6f583ad647d020f25176170805
[ "MIT" ]
2
2021-09-09T14:03:40.000Z
2021-11-03T03:35:55.000Z
src/events/pygame_events/click.py
ArcosJuan/Get-out-of-my-fucking-maze
ca2cfeaaeecb6c6f583ad647d020f25176170805
[ "MIT" ]
null
null
null
src/events/pygame_events/click.py
ArcosJuan/Get-out-of-my-fucking-maze
ca2cfeaaeecb6c6f583ad647d020f25176170805
[ "MIT" ]
null
null
null
from src.events import Event class Click(Event): def __init__(self, pos, button): super().__init__() self.pos = pos self.button = button def get_pos(self): return self.pos def get_button(self): return self.button
17.266667
44
0.625483
35
259
4.342857
0.428571
0.138158
0.144737
0
0
0
0
0
0
0
0
0
0.274131
259
15
44
17.266667
0.808511
0
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0.125
0.25
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
470fbc406f6371796e28e2326b20d2cc1fbcd293
167
py
Python
backend/cbt/urls.py
harryface/cbt-django-react
3af2774ac7e67e561a2583f45fe7c48290305442
[ "MIT" ]
null
null
null
backend/cbt/urls.py
harryface/cbt-django-react
3af2774ac7e67e561a2583f45fe7c48290305442
[ "MIT" ]
null
null
null
backend/cbt/urls.py
harryface/cbt-django-react
3af2774ac7e67e561a2583f45fe7c48290305442
[ "MIT" ]
null
null
null
from django.urls import path, include urlpatterns = [ path('api/examiner/', include('core.examiner.urls')), path('api/taker/', include('core.taker.urls')), ]
23.857143
57
0.670659
21
167
5.333333
0.52381
0.125
0
0
0
0
0
0
0
0
0
0
0.131737
167
6
58
27.833333
0.772414
0
0
0
0
0
0.335329
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
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
2
472afa8149de91550465d7f63d9f14aa3d088aad
677
py
Python
watch/forms.py
moharick/KaaRadaMtaani
20e805925d07f1be4406aae2ea100b85c82b0262
[ "MIT" ]
null
null
null
watch/forms.py
moharick/KaaRadaMtaani
20e805925d07f1be4406aae2ea100b85c82b0262
[ "MIT" ]
3
2020-02-12T03:16:51.000Z
2021-06-10T22:10:51.000Z
watch/forms.py
moharick/KaaRadaMtaani
20e805925d07f1be4406aae2ea100b85c82b0262
[ "MIT" ]
null
null
null
from django import forms from django.forms import ModelForm from django.core import validators from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from .models import * class MtaaForm(ModelForm): class Meta: model = Mtaa fields = ('mtaa_name',) class ...
26.038462
56
0.682422
78
677
5.846154
0.397436
0.109649
0.157895
0.201754
0
0
0
0
0
0
0
0
0.217134
677
26
57
26.038462
0.860377
0
0
0.181818
0
0
0.116519
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.636364
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
1
0
0
2
5b3197305617b45a541727edd618c8e5abecad72
269
py
Python
pkgs/anaconda-navigator-1.1.0-py27_0/lib/python2.7/site-packages/anaconda_navigator/utils/errors.py
wangyum/anaconda
6e5a0dbead3327661d73a61e85414cf92aa52be6
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
pkgs/anaconda-navigator-1.1.0-py27_0/lib/python2.7/site-packages/anaconda_navigator/utils/errors.py
wangyum/anaconda
6e5a0dbead3327661d73a61e85414cf92aa52be6
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
pkgs/anaconda-navigator-1.1.0-py27_0/lib/python2.7/site-packages/anaconda_navigator/utils/errors.py
wangyum/anaconda
6e5a0dbead3327661d73a61e85414cf92aa52be6
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright 2016 Continuum Analytics, Inc. # May be copied and distributed freely only as part of an Anaconda or # Miniconda installation. # """ Custom errors on Anaconda Navigator. """ class AnacondaNavigatorException(Exception): pass
17.933333
69
0.724907
32
269
6.09375
0.96875
0
0
0
0
0
0
0
0
0
0
0.022523
0.174721
269
14
70
19.214286
0.855856
0.713755
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
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
1
1
0
0
0
0
0
2
5b4e0e1af38d954d1a60acf9e2a39ae82aea928f
200
py
Python
k8svimdriver/service/k8s.py
accanto-systems/k8s-vim-driver
642021ea6c32662185ac3f0b7131263e75c709f6
[ "Apache-2.0" ]
null
null
null
k8svimdriver/service/k8s.py
accanto-systems/k8s-vim-driver
642021ea6c32662185ac3f0b7131263e75c709f6
[ "Apache-2.0" ]
7
2019-09-23T10:58:48.000Z
2020-05-27T16:14:45.000Z
k8svimdriver/service/k8s.py
accanto-systems/k8s-vim-driver
642021ea6c32662185ac3f0b7131263e75c709f6
[ "Apache-2.0" ]
1
2020-05-27T17:39:28.000Z
2020-05-27T17:39:28.000Z
from ignition.service.config import ConfigurationPropertiesGroup class K8sProperties(ConfigurationPropertiesGroup): def __init__(self): super().__init__('k8s') self.tmpdir = "./"
28.571429
64
0.73
17
200
8.117647
0.823529
0
0
0
0
0
0
0
0
0
0
0.011976
0.165
200
6
65
33.333333
0.814371
0
0
0
0
0
0.025
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
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
2
5b676bcba774d002a354ebd15129b3fc1ff62ec8
65,122
py
Python
libapparmor/utils/test/test-dbus.py
pyronia-sys/libpyronia
02ccf1d832754f771d1f9a60e5e91819ec878757
[ "Apache-2.0" ]
null
null
null
libapparmor/utils/test/test-dbus.py
pyronia-sys/libpyronia
02ccf1d832754f771d1f9a60e5e91819ec878757
[ "Apache-2.0" ]
2
2020-02-05T01:26:55.000Z
2020-02-05T01:31:32.000Z
libapparmor/utils/test/test-dbus.py
pyronia-sys/libpyronia
02ccf1d832754f771d1f9a60e5e91819ec878757
[ "Apache-2.0" ]
1
2021-12-05T19:53:32.000Z
2021-12-05T19:53:32.000Z
#!/usr/bin/python3 # ---------------------------------------------------------------------- # Copyright (C) 2015 Christian Boltz <apparmor@cboltz.de> # # This program is free software; you can redistribute it and/or # modify it under the terms of version 2 of the GNU General Public # License as published by...
75.025346
463
0.44627
5,882
65,122
4.859402
0.056443
0.158836
0.144841
0.083966
0.765385
0.731029
0.699297
0.661337
0.636462
0.60445
0
0.004416
0.408879
65,122
867
464
75.11188
0.738096
0.103652
0
0.356707
0
0.006098
0.213601
0.012286
0
0
0
0
0.121951
1
0.071646
false
0
0.012195
0
0.16311
0
0
0
0
null
0
0
0
0
1
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
2