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
c4144f7c7ee736955fed7cc2830741feb6c1fbab
9,271
py
Python
python/payer/payer/nodes.py
bracket/payer
63169d03badd9b0473d7f0e8eb144e5a9a725886
[ "BSD-2-Clause" ]
null
null
null
python/payer/payer/nodes.py
bracket/payer
63169d03badd9b0473d7f0e8eb144e5a9a725886
[ "BSD-2-Clause" ]
null
null
null
python/payer/payer/nodes.py
bracket/payer
63169d03badd9b0473d7f0e8eb144e5a9a725886
[ "BSD-2-Clause" ]
null
null
null
import traceback __all__ = [ 'Concat', 'Epsilon', 'Node', 'Null', 'Output', 'Repeat', 'Terminal', 'Union', 'dot', 'epsilon', 'null', ] regular_sentinel = object() class Node(object): "Base Class representing one node in a grammar graph" # Class variable intended...
21.411085
88
0.565635
1,010
9,271
4.972277
0.085149
0.087615
0.031063
0.035046
0.702907
0.627439
0.548984
0.480287
0.414576
0.405416
0
0
0.327257
9,271
432
89
21.460648
0.805195
0.069895
0
0.568421
0
0
0.059512
0
0
0
0
0
0
1
0.252632
false
0
0.003509
0.192982
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
1
0
0
0
1
1
0
0
3
c426c68652c24e41e8a79b72d00bbf36bd041f05
249
py
Python
docs/conf.py
engelchrisi/pysma
1878af2c8efba949b0bd9ceb28a4f2bf14e05183
[ "MIT" ]
null
null
null
docs/conf.py
engelchrisi/pysma
1878af2c8efba949b0bd9ceb28a4f2bf14e05183
[ "MIT" ]
null
null
null
docs/conf.py
engelchrisi/pysma
1878af2c8efba949b0bd9ceb28a4f2bf14e05183
[ "MIT" ]
null
null
null
"""Config for pysma documentation.""" project = "PySMA" copyright = "2021, Johann Kellerman, René Klomp" author = "Johann Kellerman, René Klomp" extensions = [ "sphinx.ext.autodoc", "sphinx.ext.napoleon", ] html_theme = "sphinx_rtd_theme"
20.75
48
0.702811
29
249
5.931034
0.689655
0.174419
0.22093
0.27907
0
0
0
0
0
0
0
0.019048
0.156627
249
11
49
22.636364
0.8
0.124498
0
0
0
0
0.566038
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
3
c442a0ef784fd4cc1f4449dca410b8d2e102143e
1,266
py
Python
out/python/openapi_client/__init__.py
energychain/corrently-api
757b31214b1a82fed3bac4fcd1f51b54a58e7f8f
[ "MIT" ]
null
null
null
out/python/openapi_client/__init__.py
energychain/corrently-api
757b31214b1a82fed3bac4fcd1f51b54a58e7f8f
[ "MIT" ]
null
null
null
out/python/openapi_client/__init__.py
energychain/corrently-api
757b31214b1a82fed3bac4fcd1f51b54a58e7f8f
[ "MIT" ]
null
null
null
# flake8: noqa """ Corrently.io *Corrently - from italian corrente, which is energy* # Introduction The Corrently ecosystem gets maintained by [STROMDAO GmbH](https://www.stromdao.de/) to support green energy services for prosumers, grid operators, regulators, integrators or any other party with an emerging n...
43.655172
589
0.809637
162
1,266
6.246914
0.549383
0.086957
0.134387
0.160079
0.195652
0
0
0
0
0
0
0.009042
0.126382
1,266
28
590
45.214286
0.905967
0.619273
0
0
0
0
0.011086
0
0
0
0
0
0
1
0
false
0
0.888889
0
0.888889
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
1
0
0
3
c45078929d4ec888cf9dae4dca02b15fb2bd6c49
95
py
Python
ex_027.py
antonioravila/Exercicios-CEV-Python
aef19b7872b90b8ad40b0b1b54f7e063832181e3
[ "MIT" ]
null
null
null
ex_027.py
antonioravila/Exercicios-CEV-Python
aef19b7872b90b8ad40b0b1b54f7e063832181e3
[ "MIT" ]
null
null
null
ex_027.py
antonioravila/Exercicios-CEV-Python
aef19b7872b90b8ad40b0b1b54f7e063832181e3
[ "MIT" ]
null
null
null
nome = str(input("digite seu nome")).split() nome_separado = nome.split() print(nome_separado)
23.75
44
0.736842
14
95
4.857143
0.571429
0.264706
0
0
0
0
0
0
0
0
0
0
0.094737
95
3
45
31.666667
0.790698
0
0
0
0
0
0.157895
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
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
3
c451859944b9796c2e5ee7e579ecf95612e033f6
247
py
Python
niconico_dl/__init__.py
tasuren/niconico_dl
fdf08cd6b6b1dc675e5a748455b4764d02bec866
[ "MIT" ]
15
2021-04-06T07:53:10.000Z
2022-02-19T12:36:17.000Z
niconico_dl/__init__.py
tasuren/niconico_dl
fdf08cd6b6b1dc675e5a748455b4764d02bec866
[ "MIT" ]
3
2021-06-22T08:56:06.000Z
2022-02-05T07:34:56.000Z
niconico_dl/__init__.py
tasuren/niconico_dl
fdf08cd6b6b1dc675e5a748455b4764d02bec866
[ "MIT" ]
7
2021-06-17T22:46:57.000Z
2021-12-15T11:59:46.000Z
""" .. include:: ../README.md """ from .async_video_manager import * from .video_manager import * __all__ = ("HEADERS", "NicoNicoAcquisitionFailed", "NicoNicoVideoAsync", "NicoNicoVideo") __author__ = "tasuren" __version__ = "2.2.7"
19
50
0.680162
23
247
6.652174
0.782609
0.156863
0.235294
0
0
0
0
0
0
0
0
0.014423
0.157895
247
12
51
20.583333
0.721154
0.101215
0
0
0
0
0.350467
0.116822
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
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
1
0
0
0
0
3
c451f3d47453c5ba65c30cd9dae14e9d08aa0c8c
244
py
Python
run.py
cxz13797090526/Random_Choose_Play
29f04a73ad22444d1d850ff6b0a294bcde66aaed
[ "MIT" ]
null
null
null
run.py
cxz13797090526/Random_Choose_Play
29f04a73ad22444d1d850ff6b0a294bcde66aaed
[ "MIT" ]
null
null
null
run.py
cxz13797090526/Random_Choose_Play
29f04a73ad22444d1d850ff6b0a294bcde66aaed
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- """ @Project :Random_Choose_Play @File :run.py @Author :ChengXiaozhao @Date :2021/7/28 下午6:45 @Desc : """ from pages.home_page import create_main_window if __name__ == '__main__': create_main_window()
16.266667
46
0.659836
33
244
4.424242
0.878788
0.136986
0.219178
0
0
0
0
0
0
0
0
0.055556
0.188525
244
14
47
17.428571
0.681818
0.540984
0
0
0
0
0.076923
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
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
1
0
0
0
0
3
c4803dfe5055455ad77e0c03b228d2237d640a30
2,575
py
Python
tests/functional/codegen/test_struct_return.py
abdullathedruid/vyper
02b1b207f453b704cf1c491741bc85be9168a373
[ "Apache-2.0" ]
2
2021-11-01T22:34:33.000Z
2022-02-02T02:16:52.000Z
tests/functional/codegen/test_struct_return.py
abdullathedruid/vyper
02b1b207f453b704cf1c491741bc85be9168a373
[ "Apache-2.0" ]
4
2018-12-06T23:21:02.000Z
2022-02-07T15:28:01.000Z
tests/functional/codegen/test_struct_return.py
charles-cooper/vyper
bbbd8618f8427d416d6751214dd560872f8848f3
[ "Apache-2.0" ]
null
null
null
import pytest def test_nested_struct(get_contract): code = """ struct Animal: location: address fur: String[32] struct Human: location: address animal: Animal @external def modify_nested_struct(_human: Human) -> Human: human: Human = _human # do stuff, edit the structs # (13 is the ...
22.391304
94
0.641165
320
2,575
5.009375
0.20625
0.043668
0.07486
0.07486
0.761073
0.733624
0.648784
0.636307
0.636307
0.575172
0
0.068898
0.210874
2,575
114
95
22.587719
0.71998
0.034175
0
0.767442
0
0.023256
0.623742
0.102616
0
0
0.033803
0
0.046512
1
0.046512
false
0
0.011628
0
0.127907
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c48395f69403c6cdd0d273a56f8644db3fec0e7f
921
py
Python
ex/ex109.py
Ozcry/PythonExercicio
b4d4a4fbd6467d1ced0815677ecbd78c2613c4c9
[ "MIT" ]
null
null
null
ex/ex109.py
Ozcry/PythonExercicio
b4d4a4fbd6467d1ced0815677ecbd78c2613c4c9
[ "MIT" ]
null
null
null
ex/ex109.py
Ozcry/PythonExercicio
b4d4a4fbd6467d1ced0815677ecbd78c2613c4c9
[ "MIT" ]
null
null
null
'''Modifique as funções que foram criadas no DESAFIO 107 para que elas aceitem um parâmetro a mais, informando se o valor retornado por elas vai ser ou não formatado pela função moeda(), desenvolvidada no DESAFIO 108.''' from utilidadesCeV import moeda print('\033[1;33m-=\033[m' * 20) n1 = float(input('\033[34mDigite o...
54.176471
115
0.693811
161
921
3.968944
0.453416
0.062598
0.070423
0.037559
0.338028
0.262911
0.262911
0.206573
0.112676
0.112676
0
0.129353
0.127036
921
16
116
57.5625
0.665423
0.232356
0
0.142857
0
0.285714
0.693295
0.03281
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.571429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
6703ffaf45b39cdddeb0d6a6a52081d86a1d9594
1,082
py
Python
api/app/schemas/user_schema.py
KiharaTakahiro/share-media
17a6b5d443af81f7a1ef6b6f5551077c193a7f89
[ "MIT" ]
null
null
null
api/app/schemas/user_schema.py
KiharaTakahiro/share-media
17a6b5d443af81f7a1ef6b6f5551077c193a7f89
[ "MIT" ]
6
2020-12-27T07:30:17.000Z
2020-12-30T05:15:42.000Z
api/app/schemas/user_schema.py
KiharaTakahiro/share-media
17a6b5d443af81f7a1ef6b6f5551077c193a7f89
[ "MIT" ]
null
null
null
from pydantic import BaseModel, Field, EmailStr class UserCreate(BaseModel): username: str = Field(..., max_length=10, title='ユーザ名', description='ユーザ名') password: str = Field(..., min_length=8, max_length=20, title='パスワード', description='8文字以上で20文字以内のパスワード') email: EmailStr = Field(..., title='メールアドレス', descripti...
36.066667
114
0.696858
133
1,082
5.533835
0.278195
0.043478
0.040761
0.065217
0.612772
0.543478
0.369565
0.369565
0.369565
0.369565
0
0.017112
0.13586
1,082
29
115
37.310345
0.770053
0.014787
0
0.35
0
0.1
0.318182
0
0
0
0
0
0
1
0.15
false
0.2
0.05
0.15
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
1
0
1
1
0
0
3
670a057251cdf925ad6f958d5f512921e3cd76ef
1,624
py
Python
fastestimator/architecture/tensorflow/__init__.py
DwijayDS/fastestimator
9b288cb2bd870f971ec4cee09d0b3205e1316a94
[ "Apache-2.0" ]
null
null
null
fastestimator/architecture/tensorflow/__init__.py
DwijayDS/fastestimator
9b288cb2bd870f971ec4cee09d0b3205e1316a94
[ "Apache-2.0" ]
null
null
null
fastestimator/architecture/tensorflow/__init__.py
DwijayDS/fastestimator
9b288cb2bd870f971ec4cee09d0b3205e1316a94
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 The FastEstimator Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
50.75
97
0.610837
162
1,624
5.987654
0.549383
0.061856
0.149485
0.201031
0
0
0
0
0
0
0
0.010213
0.276478
1,624
31
98
52.387097
0.815319
0.408251
0
0
0
0
0.093023
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
1
0
0
0
0
3
67148029fe9aa3ecb1a91a1481c3a42a7a8f6eb8
1,188
py
Python
events/search_indexes.py
naderm/farnsworth
f7a635a82eae20ca395a939966bfa1e296d4e3a2
[ "BSD-2-Clause" ]
null
null
null
events/search_indexes.py
naderm/farnsworth
f7a635a82eae20ca395a939966bfa1e296d4e3a2
[ "BSD-2-Clause" ]
null
null
null
events/search_indexes.py
naderm/farnsworth
f7a635a82eae20ca395a939966bfa1e296d4e3a2
[ "BSD-2-Clause" ]
null
null
null
''' Project: Farnsworth Author: Karandeep Singh Nagra Search indexes for the requests app. ''' from datetime import datetime from haystack import indexes from events.models import Event class EventIndex(indexes.SearchIndex, indexes.Indexable): ''' Index for Events. ''' text = indexes.EdgeNgramField(document...
37.125
87
0.751684
147
1,188
5.911565
0.401361
0.103567
0.149597
0.172612
0.193326
0.059839
0
0
0
0
0
0.003902
0.137205
1,188
31
88
38.322581
0.843902
0.090067
0
0
0
0
0.074977
0
0
0
0
0
0
1
0.105263
false
0
0.157895
0.105263
1
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
1
1
0
0
3
6727d4b467ab735abaa7dc6ee408e4954e662327
932
py
Python
relatives/tests/admin.py
realmhamdy/django-relatives
d7b54128af343b01470be28196a77ffdb44b57db
[ "MIT" ]
null
null
null
relatives/tests/admin.py
realmhamdy/django-relatives
d7b54128af343b01470be28196a77ffdb44b57db
[ "MIT" ]
null
null
null
relatives/tests/admin.py
realmhamdy/django-relatives
d7b54128af343b01470be28196a77ffdb44b57db
[ "MIT" ]
null
null
null
from django.contrib import admin from . import models class ShapeAdmin(admin.ModelAdmin): readonly_fields = ['name', 'lower_name', 'upper_name'] def upper_name(self, obj): return obj.name.upper() admin.site.register(models.Shape, ShapeAdmin) class ShipAdmin(admin.ModelAdmin): change_form_tem...
19.020408
58
0.75
114
932
6.026316
0.359649
0.117904
0.222707
0.30131
0
0
0
0
0
0
0
0
0.125536
932
48
59
19.416667
0.842945
0
0
0
0
0
0.082618
0.027897
0
0
0
0
0
1
0.041667
false
0
0.083333
0.041667
0.625
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
1
0
0
3
6731c49a50cfb265cceb4b99a8faa236a6a79392
406
py
Python
core/__init__.py
Liu-Taiting/facial-expression-recognition
1ff03ffeca71dfcbc0354f6aacc902a825e1c75b
[ "MIT" ]
null
null
null
core/__init__.py
Liu-Taiting/facial-expression-recognition
1ff03ffeca71dfcbc0354f6aacc902a825e1c75b
[ "MIT" ]
null
null
null
core/__init__.py
Liu-Taiting/facial-expression-recognition
1ff03ffeca71dfcbc0354f6aacc902a825e1c75b
[ "MIT" ]
null
null
null
''' @description: @author: liutaiting @lastEditors: liutaiting @Date: 2020-04-02 23:22:22 @LastEditTime: 2020-04-04 22:31:13 ''' from core.model.alexnet import Alexnet from core.model.vgg16 import VGG16, VGG16_dw from core.model.vgg19 import VGG19 from core.load_data import fer2013_load_data, ck_load_data from core.p...
29
58
0.810345
66
406
4.818182
0.454545
0.150943
0.122642
0
0
0
0
0
0
0
0
0.115068
0.100985
406
14
59
29
0.756164
0.29803
0
0
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
1
0
0
3
675aa3b11a06700847b715490707ee2aace7c936
2,703
bzl
Python
tests/core/nuget_single/workspace.in.bzl
Perilynn/rules_dotnet
0c80abcfe023fe32f8908d6cac6dbab5c4455ee6
[ "Apache-2.0" ]
null
null
null
tests/core/nuget_single/workspace.in.bzl
Perilynn/rules_dotnet
0c80abcfe023fe32f8908d6cac6dbab5c4455ee6
[ "Apache-2.0" ]
null
null
null
tests/core/nuget_single/workspace.in.bzl
Perilynn/rules_dotnet
0c80abcfe023fe32f8908d6cac6dbab5c4455ee6
[ "Apache-2.0" ]
null
null
null
load("@io_bazel_rules_dotnet//dotnet:defs.bzl", "dotnet_nuget_new", "nuget_package") dotnet_nuget_new( name = "npgsql", package="Npgsql", version="3.2.7", sha256="683bbe42cd585f28beb23822a113db5731bce44020fd0af2ac827e642fe7e301", build_file_content=""" package(default_visibility = [ "//visi...
28.755319
85
0.63559
304
2,703
5.447368
0.180921
0.126812
0.094203
0.076087
0.658213
0.623188
0.440821
0.440821
0.440821
0.365942
0
0.06381
0.205697
2,703
93
86
29.064516
0.707499
0
0
0.590909
0
0
0.629119
0.536782
0
0
0
0
0
1
0
true
0
0.045455
0
0.045455
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
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
6789a52fd433facc8f155c7d9b28399799e8dea2
5,276
py
Python
src/sage/plot/plot3d/introduction.py
bopopescu/sage
2d495be78e0bdc7a0a635454290b27bb4f5f70f0
[ "BSL-1.0" ]
3
2016-06-19T14:48:31.000Z
2022-01-28T08:46:01.000Z
src/sage/plot/plot3d/introduction.py
bopopescu/sage
2d495be78e0bdc7a0a635454290b27bb4f5f70f0
[ "BSL-1.0" ]
2
2018-10-30T13:40:20.000Z
2020-07-23T12:13:30.000Z
src/sage/plot/plot3d/introduction.py
bopopescu/sage
2d495be78e0bdc7a0a635454290b27bb4f5f70f0
[ "BSL-1.0" ]
7
2021-11-08T10:01:59.000Z
2022-03-03T11:25:52.000Z
r""" Introduction Sage has a wide support for 3D graphics, from basic shapes to implicit and parametric plots. The following graphics functions are supported: - :func:`~plot3d` - plot a 3d function - :func:`~sage.plot.plot3d.parametric_plot3d.parametric_plot3d` - a parametric three-dimensional space curve or sur...
39.969697
169
0.746778
795
5,276
4.92327
0.261635
0.104241
0.182422
0.128769
0.470107
0.247828
0.212059
0.197241
0.154318
0.154318
0
0.025164
0.133814
5,276
131
170
40.274809
0.831291
0.997915
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
1
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
3
678fac8d5addceaf8c88b0b9db63370de75a99a1
656
py
Python
xibless/formatter.py
hsoft/xibless
a7393d28b4a31698869b2203d4d8b3398de1de7f
[ "BSD-3-Clause" ]
2
2016-09-13T12:34:34.000Z
2018-05-15T01:06:53.000Z
xibless/formatter.py
hsoft/xibless
a7393d28b4a31698869b2203d4d8b3398de1de7f
[ "BSD-3-Clause" ]
null
null
null
xibless/formatter.py
hsoft/xibless
a7393d28b4a31698869b2203d4d8b3398de1de7f
[ "BSD-3-Clause" ]
null
null
null
from .base import GeneratedItem, const class NumberStyle(object): NoStyle = const.NSNumberFormatterNoStyle Decimal = const.NSNumberFormatterDecimalStyle Currency = const.NSNumberFormatterCurrencyStyle Percent = const.NSNumberFormatterPercentStyle Scientific = const.NSNumberFormatterScientificStyle ...
34.526316
84
0.772866
47
656
10.595745
0.595745
0.032129
0
0
0
0
0
0
0
0
0
0
0.16311
656
18
85
36.444444
0.907104
0
0
0
1
0
0.074695
0.032012
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.857143
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
67a08aa1b6b9539e129917a8bccd20b96fc77f61
621
py
Python
content/lessons/14/Now-You-Code/NYC3-Amazon-Deals.py
MahopacHS/spring-2020-neubauerc
36a2edffac420bd5592fc75a95c6e4fef2e295d2
[ "MIT" ]
1
2019-09-18T20:32:13.000Z
2019-09-18T20:32:13.000Z
content/lessons/14/Now-You-Code/NYC3-Amazon-Deals.py
MahopacHS/spring-2020-neubauerc
36a2edffac420bd5592fc75a95c6e4fef2e295d2
[ "MIT" ]
null
null
null
content/lessons/14/Now-You-Code/NYC3-Amazon-Deals.py
MahopacHS/spring-2020-neubauerc
36a2edffac420bd5592fc75a95c6e4fef2e295d2
[ "MIT" ]
5
2018-09-17T03:54:06.000Z
2019-10-17T02:47:20.000Z
''' Now You Code 3: Amazon Deals Create a program that downloads and prints Today's Deals from amazon.com (https://www.amazon.com/gp/goldbox) Hint: You will need to use selenium to scrape this page, it is loaded with JavaScript! Example Run: Here are Amazon.com deals! 1.) Shower Hose 79 inch (6.5 Ft.) for Hand Held...
24.84
108
0.705314
103
621
4.252427
0.76699
0.061644
0
0
0
0
0
0
0
0
0
0.038697
0.20934
621
24
109
25.875
0.85336
0.974235
0
null
0
null
0
0
null
0
0
0.083333
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
1
0
0
0
1
0
0
0
0
0
0
3
67a52b4197a17853445570f21c9f06b06a7d299e
2,720
py
Python
gs/group/groups/list/membergroups.py
groupserver/-gs.group.groups.list
b92141467106a10478caa350de3d21450373a02b
[ "ZPL-2.1" ]
null
null
null
gs/group/groups/list/membergroups.py
groupserver/-gs.group.groups.list
b92141467106a10478caa350de3d21450373a02b
[ "ZPL-2.1" ]
null
null
null
gs/group/groups/list/membergroups.py
groupserver/-gs.group.groups.list
b92141467106a10478caa350de3d21450373a02b
[ "ZPL-2.1" ]
null
null
null
# -*- coding: utf-8 -*- ############################################################################ # # Copyright © 2014, 2016 OnlineGroups.net and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany th...
30.561798
96
0.650368
334
2,720
5.200599
0.338323
0.041451
0.029937
0.039148
0.364997
0.364997
0.364997
0.364997
0.34312
0.268854
0
0.007867
0.205515
2,720
88
97
30.909091
0.795465
0.275368
0
0.387755
0
0
0.013348
0.013348
0
0
0
0.011364
0
1
0.204082
false
0
0.102041
0.040816
0.591837
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
1
0
0
0
0
1
0
0
3
67a5e52160e1a17280e52e9cffdcbc5d23ef12db
197
py
Python
tapqir/__init__.py
gelles-brandeis/tapqir
60da3fda1632d4309ff7d0ffeeab5940a020963a
[ "Apache-2.0" ]
2
2021-06-24T20:44:10.000Z
2022-03-24T20:01:18.000Z
tapqir/__init__.py
gelles-brandeis/tapqir
60da3fda1632d4309ff7d0ffeeab5940a020963a
[ "Apache-2.0" ]
12
2021-06-04T03:38:47.000Z
2022-02-22T14:59:46.000Z
tapqir/__init__.py
gelles-brandeis/tapqir
60da3fda1632d4309ff7d0ffeeab5940a020963a
[ "Apache-2.0" ]
1
2021-05-30T21:54:37.000Z
2021-05-30T21:54:37.000Z
# Copyright Contributors to the Tapqir project. # SPDX-License-Identifier: Apache-2.0 from ._version import get_versions name = "tapqir" __version__ = get_versions()["version"] del get_versions
19.7
47
0.77665
26
197
5.576923
0.730769
0.227586
0
0
0
0
0
0
0
0
0
0.011628
0.126904
197
9
48
21.888889
0.831395
0.411168
0
0
0
0
0.115044
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
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
3
67aa60696bdf736e9f909ce64b27a9a6f07895f1
50
py
Python
python3/partition/__init__.py
CostaBru/knapsack
cdd95de759c20b0cdeef4064fbbed10df1ab76d0
[ "MIT" ]
1
2021-03-06T16:38:28.000Z
2021-03-06T16:38:28.000Z
python3/partition/__init__.py
CostaBru/knapsack
cdd95de759c20b0cdeef4064fbbed10df1ab76d0
[ "MIT" ]
null
null
null
python3/partition/__init__.py
CostaBru/knapsack
cdd95de759c20b0cdeef4064fbbed10df1ab76d0
[ "MIT" ]
null
null
null
__all__ = ["partitionN"] from partition import *
12.5
24
0.72
5
50
6.4
1
0
0
0
0
0
0
0
0
0
0
0
0.16
50
3
25
16.666667
0.761905
0
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
3
67bc7b72f89d838f2125440f848804c343902f3e
6,311
py
Python
hospital/models.py
AD0100/hms
6bfe32012b38d1a48f548033b37f4498faf69e13
[ "MIT" ]
3
2022-01-21T17:49:20.000Z
2022-02-21T16:17:36.000Z
hospital/models.py
AD0100/hms
6bfe32012b38d1a48f548033b37f4498faf69e13
[ "MIT" ]
null
null
null
hospital/models.py
AD0100/hms
6bfe32012b38d1a48f548033b37f4498faf69e13
[ "MIT" ]
1
2022-01-24T20:15:26.000Z
2022-01-24T20:15:26.000Z
from django.db import models from django.contrib.auth.models import User departments=[('Cardiologist','Cardiologist'), ('Dermatologists','Dermatologists'), ('Emergency Medicine Specialists','Emergency Medicine Specialists'), ('Allergists/Immunologists','Allergists/Immunologists'), ('Anesthesiologists','Anesthesiolog...
38.018072
102
0.745841
769
6,311
5.990897
0.174252
0.107445
0.125027
0.166703
0.614934
0.54287
0.521381
0.470805
0.470805
0.470805
0
0.013191
0.123118
6,311
165
103
38.248485
0.819299
0.014895
0
0.442857
0
0
0.133752
0.033317
0
0
0
0
0
1
0.107143
false
0
0.014286
0.107143
0.75
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
1
1
0
0
3
67c5823ec574d2fe8069ecbed961637e521e5c68
500
py
Python
alpyro_msgs/control_msgs/singlejointpositionfeedback.py
rho2/alpyro_msgs
b5a680976c40c83df70d61bb2db1de32a1cde8d3
[ "MIT" ]
1
2020-12-13T13:07:10.000Z
2020-12-13T13:07:10.000Z
alpyro_msgs/control_msgs/singlejointpositionfeedback.py
rho2/alpyro_msgs
b5a680976c40c83df70d61bb2db1de32a1cde8d3
[ "MIT" ]
null
null
null
alpyro_msgs/control_msgs/singlejointpositionfeedback.py
rho2/alpyro_msgs
b5a680976c40c83df70d61bb2db1de32a1cde8d3
[ "MIT" ]
null
null
null
from alpyro_msgs import RosMessage, float64 from alpyro_msgs.std_msgs.header import Header class SingleJointPositionFeedback(RosMessage): __msg_typ__ = "control_msgs/SingleJointPositionFeedback" __msg_def__ = "c3RkX21zZ3MvSGVhZGVyIGhlYWRlcgogIHVpbnQzMiBzZXEKICB0aW1lIHN0YW1wCiAgc3RyaW5nIGZyYW1lX2lkCmZsb2F0NjQgcG9z...
35.714286
174
0.868
36
500
11.527778
0.583333
0.048193
0.06747
0
0
0
0
0
0
0
0
0.10989
0.09
500
13
175
38.461538
0.802198
0
0
0
0
0
0.456
0.456
0
0
0
0
0
1
0
false
0
0.2
0
1
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
67d6aea025eff63614e9bb675e1bf6bc09fd1d3f
197
py
Python
database.py
FlorianLeveil/FOOTBALLPROJECT_SCHEDULER
a43c9de4d4526a2809c9b9c3c06e210da7998bf8
[ "MIT" ]
null
null
null
database.py
FlorianLeveil/FOOTBALLPROJECT_SCHEDULER
a43c9de4d4526a2809c9b9c3c06e210da7998bf8
[ "MIT" ]
null
null
null
database.py
FlorianLeveil/FOOTBALLPROJECT_SCHEDULER
a43c9de4d4526a2809c9b9c3c06e210da7998bf8
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (C) 2013-2019: # This file is part of Shinken Enterprise, all rights reserved. from flask_mongoengine import MongoEngine db = MongoEngine()
21.888889
63
0.715736
27
197
5.185185
0.925926
0
0
0
0
0
0
0
0
0
0
0.053892
0.152284
197
8
64
24.625
0.784431
0.634518
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
3
67d70c95e488fbfcde49f57986b1628c034218ec
1,927
py
Python
splat/tests/test_plot.py
brackham/splat
5ee0da82f19017e900ee83af94609dbe9f8a0ea4
[ "MIT" ]
null
null
null
splat/tests/test_plot.py
brackham/splat
5ee0da82f19017e900ee83af94609dbe9f8a0ea4
[ "MIT" ]
null
null
null
splat/tests/test_plot.py
brackham/splat
5ee0da82f19017e900ee83af94609dbe9f8a0ea4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import print_function # this is the test function set for splat plot functions # imports - internal import copy import glob import os # # imports - external import numpy from astropy import units as u # standard units from astropy import constants as const # p...
27.927536
124
0.731707
262
1,927
5.263359
0.389313
0.052212
0.065265
0.090645
0.264685
0.137781
0.053662
0.053662
0
0
0
0.010702
0.127141
1,927
68
125
28.338235
0.809156
0.153607
0
0.102564
0
0
0.133121
0.092357
0
0
0
0
0.025641
0
null
null
0.102564
0.333333
null
null
0.025641
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
3
67f40109bb3febb44b89112f565ee265240ff717
944
py
Python
ue4/visibility.py
m2u/m2u
121a9cded0ff10d10a438c8510ece7f6b0cb6176
[ "MIT" ]
30
2015-07-24T19:10:33.000Z
2021-01-07T15:22:30.000Z
ue4/visibility.py
m2u/m2u
121a9cded0ff10d10a438c8510ece7f6b0cb6176
[ "MIT" ]
2
2016-10-06T21:49:06.000Z
2017-08-24T12:32:40.000Z
ue4/visibility.py
m2u/m2u
121a9cded0ff10d10a438c8510ece7f6b0cb6176
[ "MIT" ]
20
2015-02-14T12:14:42.000Z
2020-05-11T07:07:37.000Z
"""Commands for object visibility. """ import logging from . import connection _lg = logging.getLogger(__name__) def hide_selected(): """Hide currently selected objects.""" msg = "HideSelected" connection.send_message(msg) def unhide_selected(): """Show currently selected objects.""" msg = "...
20.521739
54
0.685381
112
944
5.553571
0.330357
0.135048
0.202572
0.231511
0.413183
0.326367
0.205788
0
0
0
0
0
0.1875
944
45
55
20.977778
0.810952
0.253178
0
0.285714
0
0
0.115442
0
0.095238
0
0
0
0
1
0.285714
false
0
0.095238
0
0.380952
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
1
0
0
0
0
0
0
0
3
db1202609e0305b77c48c6e752ab18cd71e63709
23,042
py
Python
building_blocks.py
yangdaowu/source-separation
5eff9992f7407985f5b701fe89d4e2e2688a1da6
[ "MIT" ]
null
null
null
building_blocks.py
yangdaowu/source-separation
5eff9992f7407985f5b701fe89d4e2e2688a1da6
[ "MIT" ]
null
null
null
building_blocks.py
yangdaowu/source-separation
5eff9992f7407985f5b701fe89d4e2e2688a1da6
[ "MIT" ]
null
null
null
import math import torch import torch.nn as nn import torch.nn.functional as F from source_separation.utils.weight_initialization import WI_Module, init_weights_functional # class dense(nn.Module): # def __init__(self, c, gr, kt, kf, activation): # super(dense, self).__init__() # # self.conv1 = n...
35.779503
118
0.552903
3,148
23,042
3.847205
0.060038
0.063579
0.009578
0.00867
0.792833
0.76864
0.720915
0.687474
0.656098
0.61473
0
0.020628
0.322541
23,042
644
119
35.779503
0.755221
0.340075
0
0.448598
0
0
0.004065
0
0
0
0
0
0.006231
1
0.109034
false
0
0.015576
0.012461
0.224299
0
0
0
0
null
0
0
0
0
1
1
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
3
e1e3d8d6bfdf47ba425262202a48e239c3b131d1
1,161
py
Python
haigha/message.py
ask/haigha
1f87bbb37371f5ae6212c5af32ab4e8c5cebe34c
[ "BSD-3-Clause" ]
1
2022-02-18T05:41:30.000Z
2022-02-18T05:41:30.000Z
haigha/message.py
ask/haigha
1f87bbb37371f5ae6212c5af32ab4e8c5cebe34c
[ "BSD-3-Clause" ]
null
null
null
haigha/message.py
ask/haigha
1f87bbb37371f5ae6212c5af32ab4e8c5cebe34c
[ "BSD-3-Clause" ]
null
null
null
#from cStringIO import StringIO class Message(object): ''' Represents an AMQP message. ''' def __init__(self, body=None, delivery_info=None, **properties): if isinstance(body, unicode): if properties.get('content_encoding', None) is None: properties['content_encoding'] = 'utf-8' body ...
24.702128
88
0.67528
140
1,161
5.278571
0.342857
0.113667
0.064953
0.070365
0
0
0
0
0
0
0
0.001091
0.210164
1,161
46
89
25.23913
0.804798
0.090439
0
0.1
0
0
0.11368
0
0
0
0
0
0
1
0.266667
false
0
0
0.166667
0.566667
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
1
0
0
3
e1f4e9c7905bd41a8341a26e2324fcf1c41851cf
353
py
Python
Scripts/python/scripts mundo 1/Desafios/Desafio007.py
BrenoNAlmeida/Scripts-Escola
20d886d0401ef7f40a4a46e307eadbf5b1c0a5eb
[ "Apache-2.0" ]
null
null
null
Scripts/python/scripts mundo 1/Desafios/Desafio007.py
BrenoNAlmeida/Scripts-Escola
20d886d0401ef7f40a4a46e307eadbf5b1c0a5eb
[ "Apache-2.0" ]
null
null
null
Scripts/python/scripts mundo 1/Desafios/Desafio007.py
BrenoNAlmeida/Scripts-Escola
20d886d0401ef7f40a4a46e307eadbf5b1c0a5eb
[ "Apache-2.0" ]
null
null
null
print(' \033[4;31mCalcule a sua media anual\033[m ') n1=float(input('\033[34;1mnota do primeiro bimestre =')) n2=float(input('nota do segundo bimestre = ')) n3=float(input('Nota do terceiro bimestre = ')) n4=float(input('Nota do quarto bimestre = \033[m')) m=(n1+n2+n3+n4)/4 print('\033[1;32mA sua media é de :\...
29.416667
64
0.657224
62
353
3.741935
0.483871
0.172414
0.181034
0.206897
0
0
0
0
0
0
0
0.135762
0.144476
353
11
65
32.090909
0.63245
0
0
0
0
0
0.633238
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e1f9beaee6c447ab8beebea0871c6bd0f98bc741
5,320
py
Python
server/src/controllers/user_case_controllers/user_food_controller.py
minhman727/miao-nutrition-assistant-
9cdd54d932f2018d404236bbc5874003e0c6f666
[ "MIT" ]
null
null
null
server/src/controllers/user_case_controllers/user_food_controller.py
minhman727/miao-nutrition-assistant-
9cdd54d932f2018d404236bbc5874003e0c6f666
[ "MIT" ]
null
null
null
server/src/controllers/user_case_controllers/user_food_controller.py
minhman727/miao-nutrition-assistant-
9cdd54d932f2018d404236bbc5874003e0c6f666
[ "MIT" ]
null
null
null
from flask_restful import Resource from mongoengine import DoesNotExist, ValidationError from werkzeug import exceptions from mongoengine.queryset.visitor import Q from src.controllers.abstract_controllers.food_controller import food_args_parser from src.models.implement_models.general_case_models.user_model import Use...
35
415
0.603759
527
5,320
6.032258
0.174573
0.011324
0.033973
0.060396
0.772885
0.742686
0.692356
0.676313
0.676313
0.676313
0
0.012346
0.269173
5,320
152
416
35
0.805298
0.022556
0
0.75
0
0
0.082742
0
0
0
0
0
0
1
0.037037
false
0
0.064815
0
0.268519
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e1fb20d76fa663ee25d0f91c54be89c41f622777
6,962
py
Python
server/app/Models.py
mygs/babilonia
6cf122e6ef7b30e5d5bce9ecbc6a386610ee9538
[ "MIT" ]
null
null
null
server/app/Models.py
mygs/babilonia
6cf122e6ef7b30e5d5bce9ecbc6a386610ee9538
[ "MIT" ]
10
2018-01-14T11:52:49.000Z
2018-06-16T13:00:44.000Z
server/app/Models.py
mygs/babilonia
6cf122e6ef7b30e5d5bce9ecbc6a386610ee9538
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- import json from flask_sqlalchemy import SQLAlchemy from sqlalchemy.ext.declarative import declarative_base from flask_login import UserMixin DB = SQLAlchemy() class SupportData(DB.Model): __tablename__ = "SUPPORT" TYPE = DB.Column(DB.String(16), nullable=True) T...
29.129707
118
0.625539
889
6,962
4.697413
0.115861
0.065134
0.081418
0.084291
0.474617
0.405651
0.341475
0.256466
0.233956
0.1784
0
0.009643
0.240305
6,962
238
119
29.252101
0.779921
0.019535
0
0.297753
0
0
0.08927
0
0
0
0
0
0
1
0.213483
false
0.02809
0.022472
0.162921
0.691011
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
1
0
0
3
c037a08e1129a8ac2db35c114c92dea6e3e14712
738
py
Python
lego/apps/action_handlers/handler.py
ollfkaih/lego
b15aacaf09efe90e7f984d25b0e7bddbe12647e8
[ "MIT" ]
45
2017-10-24T12:09:06.000Z
2021-11-03T21:21:03.000Z
lego/apps/action_handlers/handler.py
ollfkaih/lego
b15aacaf09efe90e7f984d25b0e7bddbe12647e8
[ "MIT" ]
980
2017-10-24T12:29:07.000Z
2022-03-31T04:04:31.000Z
lego/apps/action_handlers/handler.py
wahello/lego
a0b02f3abc997fe96326e9c9c05b49847170041b
[ "MIT" ]
23
2018-04-11T16:34:22.000Z
2021-11-23T12:28:30.000Z
class Handler: """ The handler is responsible for running special events based on an instance. Typical use-cases: Feed updates, email and push notifications. Implement the handle_{action} function in order to execute code. Default actions: create, update, delete """ model = None def ...
26.357143
79
0.650407
89
738
5.337079
0.606742
0.101053
0.113684
0.138947
0.130526
0.130526
0
0
0
0
0
0
0.258808
738
27
80
27.333333
0.868373
0.331978
0
0.230769
0
0
0.126882
0
0
0
0
0
0
1
0.307692
false
0.230769
0
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
1
0
0
1
0
0
3
c0470b9af961289929fb8005deb78ae429ee61f0
6,719
py
Python
onadata/apps/data_migration/tests/fixtures/case2.py
qedsoftware/kobocat
273e06a352350d69a8fb4624bcab74d601e35ba6
[ "BSD-2-Clause" ]
1
2019-12-05T14:29:23.000Z
2019-12-05T14:29:23.000Z
onadata/apps/data_migration/tests/fixtures/case2.py
qedsoftware/kobocat
273e06a352350d69a8fb4624bcab74d601e35ba6
[ "BSD-2-Clause" ]
4
2018-01-20T12:06:00.000Z
2020-01-21T23:13:37.000Z
onadata/apps/data_migration/tests/fixtures/case2.py
qedsoftware/kobocat
273e06a352350d69a8fb4624bcab74d601e35ba6
[ "BSD-2-Clause" ]
null
null
null
""" Second test case of example xml files to parse and compare with each other. Differences between form_xml_case_1 and form_xml_case_1_after: - Rename 'name' to 'your_name' - Add 'mood' field XML of Surevey instance (answer to xform) """ DEFAULT_MOOD = 'good' FIELDS_2 = [ 'name', 'age', 'picture', 'has_childre...
31.397196
254
0.596071
805
6,719
4.910559
0.18882
0.036175
0.018214
0.024285
0.75917
0.696939
0.663041
0.663041
0.633443
0.633443
0
0.04872
0.221015
6,719
213
255
31.544601
0.706534
0.034529
0
0.741117
0
0.030457
0.961099
0.231862
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c04883113427506f7d691a196dd64e41961e72e1
1,063
py
Python
serializers.py
Discord-Dwarf/dwarf
7b23e411198cc1b73c3923325d2cb84a2d3da53b
[ "MIT" ]
2
2016-11-11T10:26:53.000Z
2016-11-14T19:31:38.000Z
serializers.py
Dwarf-Community/dwarf
7b23e411198cc1b73c3923325d2cb84a2d3da53b
[ "MIT" ]
null
null
null
serializers.py
Dwarf-Community/dwarf
7b23e411198cc1b73c3923325d2cb84a2d3da53b
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import Guild, Channel, Role, Member, Message, String class GuildSerializer(serializers.ModelSerializer): """Serializes the Guild model""" class Meta: model = Guild fields = '__all__' class ChannelSerializer(serializers.ModelSerializer): ...
20.442308
65
0.665099
98
1,063
6.959184
0.265306
0.228739
0.316716
0.343109
0
0
0
0
0
0
0
0
0.244591
1,063
51
66
20.843137
0.849315
0.156162
0
0.461538
0
0
0.048499
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.538462
0
0
0
0
null
1
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
3
c0587bb9f0625a1bca78bad0a3dc44b14116d431
284
py
Python
yunionclient/api/dnsrecordsets.py
tb365/mcclient_python
06647e7496b9e2c3aeb5ade1276c81871063159b
[ "Apache-2.0" ]
3
2021-09-22T11:34:08.000Z
2022-03-13T04:55:17.000Z
yunionclient/api/dnsrecordsets.py
tb365/mcclient_python
06647e7496b9e2c3aeb5ade1276c81871063159b
[ "Apache-2.0" ]
13
2019-06-06T08:25:41.000Z
2021-07-16T07:26:10.000Z
yunionclient/api/dnsrecordsets.py
tb365/mcclient_python
06647e7496b9e2c3aeb5ade1276c81871063159b
[ "Apache-2.0" ]
7
2019-03-31T05:43:36.000Z
2021-03-04T09:59:05.000Z
from yunionclient.common import base class DnsRecordset(base.ResourceBase): pass class DnsRecordsetManager(base.StandaloneManager): resource_class = DnsRecordset keyword = "dns_recordset" keyword_plural = "dns_recordsets" _columns = [] _admin_columns = []
21.846154
50
0.739437
27
284
7.518519
0.703704
0.167488
0
0
0
0
0
0
0
0
0
0
0.183099
284
12
51
23.666667
0.875
0
0
0
0
0
0.09507
0
0
0
0
0
0
1
0
false
0.111111
0.111111
0
0.888889
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
1
0
0
1
0
0
3
fbf6ff9f84569df0ea1884f0f6057a298ef6afe9
145
py
Python
flag/urls.py
FranciscodeMaussion/django-flag-app
1c556ddf3982bed337017085f755fb6e0bac3495
[ "MIT" ]
13
2020-11-11T09:22:55.000Z
2022-03-05T11:01:14.000Z
flag/urls.py
FranciscodeMaussion/django-flag-app
1c556ddf3982bed337017085f755fb6e0bac3495
[ "MIT" ]
24
2021-03-09T03:34:41.000Z
2021-10-14T12:25:37.000Z
flag/urls.py
abhiabhi94/idea-fare
9b0819fc999c6f923346b4ac0399bafe58207ab1
[ "Apache-2.0" ]
8
2021-01-05T14:03:23.000Z
2022-02-28T20:00:32.000Z
from django.urls import path from flag.views import SetFlag app_name = 'flag' urlpatterns = [ path('', SetFlag.as_view(), name='flag'), ]
14.5
45
0.682759
20
145
4.85
0.65
0.164948
0
0
0
0
0
0
0
0
0
0
0.172414
145
9
46
16.111111
0.808333
0
0
0
0
0
0.055172
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
3
fbf78437b9339e61e3c555ac60100ed6eccdfc8e
101
py
Python
app/tests/reviews.py
lavylipesh/News-Highlight
c273c99bf5f3d9fa40731054b3c287f6c3df01bc
[ "MIT" ]
2
2019-09-15T16:58:43.000Z
2019-09-15T16:58:48.000Z
app/tests/reviews.py
lavylipesh/News-Highlight
c273c99bf5f3d9fa40731054b3c287f6c3df01bc
[ "MIT" ]
null
null
null
app/tests/reviews.py
lavylipesh/News-Highlight
c273c99bf5f3d9fa40731054b3c287f6c3df01bc
[ "MIT" ]
null
null
null
class Review: all_reviews = [] def __init__(self,sources_id,title,image_url,review):
25.25
57
0.663366
13
101
4.615385
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.227723
101
4
58
25.25
0.769231
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
2204613c9b83fb703512baf239e280c783180ec9
608
py
Python
memos/python/argparse_test.py
Bingwen-Hu/hackaway
69727d76fd652390d9660e9ea4354ba5cc76dd5c
[ "BSD-2-Clause" ]
null
null
null
memos/python/argparse_test.py
Bingwen-Hu/hackaway
69727d76fd652390d9660e9ea4354ba5cc76dd5c
[ "BSD-2-Clause" ]
null
null
null
memos/python/argparse_test.py
Bingwen-Hu/hackaway
69727d76fd652390d9660e9ea4354ba5cc76dd5c
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ argparse test @author: Mory """ import argparse parser = argparse.ArgumentParser() parser.add_argument('--host', help='mysql host') parser.add_argument('--user', help='mysql username') parser.add_argument('--passwd', help='mysql password') parser.add_argument('--port', help='mysql port') ...
26.434783
60
0.730263
79
608
5.493671
0.341772
0.145161
0.274194
0.172811
0.142857
0
0
0
0
0
0
0.001786
0.078947
608
23
61
26.434783
0.773214
0.083882
0
0
0
0
0.276364
0
0
0
0
0
0
1
0
false
0.214286
0.071429
0
0.071429
0.285714
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
1
0
0
0
0
0
3
220e25f0f8034a919154fec07c456a8d8aef6ec6
167
py
Python
examples/calculate_training_load.py
spelap/sport-activities-features
c9d99b94509d8f0dd988b41be6ef45eec291ef7d
[ "MIT" ]
null
null
null
examples/calculate_training_load.py
spelap/sport-activities-features
c9d99b94509d8f0dd988b41be6ef45eec291ef7d
[ "MIT" ]
null
null
null
examples/calculate_training_load.py
spelap/sport-activities-features
c9d99b94509d8f0dd988b41be6ef45eec291ef7d
[ "MIT" ]
null
null
null
import sys sys.path.append('../') from sport_activities_features.training_loads import BanisterTRIMP TRIMP = BanisterTRIMP(50, 120) print (TRIMP.calculate_TRIMP())
18.555556
66
0.790419
21
167
6.095238
0.761905
0
0
0
0
0
0
0
0
0
0
0.033113
0.095808
167
8
67
20.875
0.81457
0
0
0
0
0
0.017964
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
224bf998b37d57f120b38020b7acb021e4f7f6aa
238
py
Python
uu/formlibrary/series.py
mostscript/uu.formlibrary
a7f5819abac7c1ddea69ddee8fce465d45f4d1d5
[ "BSD-4-Clause-UC" ]
null
null
null
uu/formlibrary/series.py
mostscript/uu.formlibrary
a7f5819abac7c1ddea69ddee8fce465d45f4d1d5
[ "BSD-4-Clause-UC" ]
null
null
null
uu/formlibrary/series.py
mostscript/uu.formlibrary
a7f5819abac7c1ddea69ddee8fce465d45f4d1d5
[ "BSD-4-Clause-UC" ]
null
null
null
from plone.dexterity.content import Container from zope.interface import implements from uu.formlibrary.interfaces import IFormSeries, SERIES_TYPE class FormSeries(Container): implements(IFormSeries) portal_type = SERIES_TYPE
21.636364
62
0.819328
28
238
6.857143
0.642857
0.104167
0
0
0
0
0
0
0
0
0
0
0.130252
238
10
63
23.8
0.927536
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.833333
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
1
0
0
3
2263206dec3a80244c2fcb5c26670d61b7cc8ae4
938
py
Python
pyprolog/pyprolog.py
NFiedler/pyprolog
8c46cc4eb9df5618c3ed67136c8743ab62241013
[ "MIT" ]
null
null
null
pyprolog/pyprolog.py
NFiedler/pyprolog
8c46cc4eb9df5618c3ed67136c8743ab62241013
[ "MIT" ]
null
null
null
pyprolog/pyprolog.py
NFiedler/pyprolog
8c46cc4eb9df5618c3ed67136c8743ab62241013
[ "MIT" ]
null
null
null
import pexpect class Prolog: def __init__(self, import_path=None): self._import_path = import_path self._swipl_command = 'swipl' self._instance = self._init_swipl_instance() def _init_swipl_instance(self): if self._import_path: # TODO: verify, this is a real path and no comm...
29.3125
81
0.647122
118
938
4.847458
0.305085
0.125874
0.097902
0.09965
0.386364
0.244755
0.125874
0
0
0
0
0
0.230277
938
31
82
30.258065
0.792244
0.051173
0
0.090909
0
0
0.054054
0
0
0
0
0.032258
0.181818
1
0.318182
false
0
0.227273
0
0.681818
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
1
0
0
0
0
1
0
0
3
22697f8c0f8378b31e95ca3eabb68a93817d80c9
146
py
Python
main/model/transaction.py
sbarnabas/gowhere
e12bdeb1642f00367b7878b8ed4d252b75bac625
[ "MIT" ]
null
null
null
main/model/transaction.py
sbarnabas/gowhere
e12bdeb1642f00367b7878b8ed4d252b75bac625
[ "MIT" ]
null
null
null
main/model/transaction.py
sbarnabas/gowhere
e12bdeb1642f00367b7878b8ed4d252b75bac625
[ "MIT" ]
null
null
null
from google.appengine.ext import ndb import model class Transaction(model.Base): user_key = ndb.KeyProperty(kind=model.User, required=True)
20.857143
62
0.780822
21
146
5.380952
0.761905
0
0
0
0
0
0
0
0
0
0
0
0.123288
146
6
63
24.333333
0.882813
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
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
1
0
0
0
0
3
2271f9298af36a8913c964e2e141399f95a874c8
170
py
Python
mess/paginations.py
HALLOWe3n/DBToLim
e281e8bf3ce4cdd2277876ea3e3dd1de9db392ee
[ "MIT" ]
null
null
null
mess/paginations.py
HALLOWe3n/DBToLim
e281e8bf3ce4cdd2277876ea3e3dd1de9db392ee
[ "MIT" ]
8
2020-02-12T02:43:17.000Z
2022-02-10T10:49:16.000Z
mess/paginations.py
HALLOWe3n/DBToLim
e281e8bf3ce4cdd2277876ea3e3dd1de9db392ee
[ "MIT" ]
null
null
null
from rest_framework.pagination import PageNumberPagination class MessagesPageNumberPagination(PageNumberPagination): page_size = 10 page_query_param = 'm_page'
24.285714
58
0.823529
17
170
7.941176
0.823529
0
0
0
0
0
0
0
0
0
0
0.013514
0.129412
170
6
59
28.333333
0.898649
0
0
0
0
0
0.035294
0
0
0
0
0
0
1
0
false
0
0.25
0
1
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
1
0
0
3
2273e09089513602dd132a83b6124fce1c8da806
75
py
Python
src/rubrix/_version.py
leireropl/rubrix
c1e14f79b0284300a27be482f6edcc6d4c9a220d
[ "Apache-2.0" ]
null
null
null
src/rubrix/_version.py
leireropl/rubrix
c1e14f79b0284300a27be482f6edcc6d4c9a220d
[ "Apache-2.0" ]
null
null
null
src/rubrix/_version.py
leireropl/rubrix
c1e14f79b0284300a27be482f6edcc6d4c9a220d
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 version = "0.15.0.dev0" version_tuple = (0, 15, 0, "dev0")
18.75
34
0.613333
14
75
3.214286
0.571429
0.133333
0.177778
0.355556
0
0
0
0
0
0
0
0.174603
0.16
75
3
35
25
0.539683
0.173333
0
0
0
0
0.25
0
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
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
3
97d7ac6c87cb23ec5570daf5a9f07b8204f28f85
144
py
Python
src/xadmin/apps.py
2375452377/django-xadmin
5bb3ecdfe1c0eed44c45fd3c13bf657fdf9182df
[ "MIT" ]
null
null
null
src/xadmin/apps.py
2375452377/django-xadmin
5bb3ecdfe1c0eed44c45fd3c13bf657fdf9182df
[ "MIT" ]
null
null
null
src/xadmin/apps.py
2375452377/django-xadmin
5bb3ecdfe1c0eed44c45fd3c13bf657fdf9182df
[ "MIT" ]
null
null
null
from django.apps import AppConfig class XAdminConfig(AppConfig): name = 'xadmin' def ready(self): self.module.autodiscover()
16
34
0.6875
16
144
6.1875
0.875
0
0
0
0
0
0
0
0
0
0
0
0.215278
144
8
35
18
0.876106
0
0
0
0
0
0.041667
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
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
1
0
0
3
97de88a3ba6fffc1b4d69ed657c3b0053d5d7f07
203
py
Python
cowsay/lib/cows/tux.py
Ovlic/cowsay_py
1ee8d11d6d895d7695d57e26003d71ce18379d3b
[ "MIT" ]
null
null
null
cowsay/lib/cows/tux.py
Ovlic/cowsay_py
1ee8d11d6d895d7695d57e26003d71ce18379d3b
[ "MIT" ]
null
null
null
cowsay/lib/cows/tux.py
Ovlic/cowsay_py
1ee8d11d6d895d7695d57e26003d71ce18379d3b
[ "MIT" ]
null
null
null
def Tux(thoughts, eyes, eye, tongue): return f""" {thoughts} {thoughts} .--. |{eye}_{eye} | |:_/ | // \\ \\ (| | ) /'\\_ _/\`\\ \\___)=(___/ """
15.615385
37
0.325123
12
203
4.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.403941
203
13
38
15.615385
0.46281
0
0
0.166667
0
0
0.730392
0
0
0
0
0
0
1
0.083333
false
0
0
0.083333
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
97eec345df1910f2191093a59a06aee5803d1c34
24
py
Python
app/mod_base/__init__.py
kilauea/FSND-capstone
0a50c6d2a70eae45c3022385cf4cb66bac813b6e
[ "MIT" ]
null
null
null
app/mod_base/__init__.py
kilauea/FSND-capstone
0a50c6d2a70eae45c3022385cf4cb66bac813b6e
[ "MIT" ]
4
2020-07-18T08:22:34.000Z
2021-04-30T21:24:32.000Z
app/mod_base/__init__.py
kilauea/FSND-capstone
0a50c6d2a70eae45c3022385cf4cb66bac813b6e
[ "MIT" ]
null
null
null
__all__ = ['base_model']
24
24
0.708333
3
24
4
1
0
0
0
0
0
0
0
0
0
0
0
0.083333
24
1
24
24
0.545455
0
0
0
0
0
0.4
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
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
3
3f0b721fae8e64c8c337d224b5bcbf318a72c7d6
1,169
py
Python
examples/sellar/disc2.py
OneraHub/WhatsOpt-Tutorial
12d14e04defa1d44e43c47486801af4bf1284987
[ "MIT" ]
4
2019-03-29T20:36:27.000Z
2021-09-14T23:34:30.000Z
examples/sellar/disc2.py
OneraHub/WhatsOpt-Tutorial
12d14e04defa1d44e43c47486801af4bf1284987
[ "MIT" ]
null
null
null
examples/sellar/disc2.py
OneraHub/WhatsOpt-Tutorial
12d14e04defa1d44e43c47486801af4bf1284987
[ "MIT" ]
1
2021-07-01T09:10:56.000Z
2021-07-01T09:10:56.000Z
# -*- coding: utf-8 -*- """ disc2.py generated by WhatsOpt 1.10.4 """ import numpy as np from disc2_base import Disc2Base class Disc2(Disc2Base): """ An OpenMDAO component to encapsulate Disc2 discipline """ def compute(self, inputs, outputs): """ Disc2 computation """ outputs...
28.512195
93
0.598802
137
1,169
5.065693
0.583942
0.028818
0.023055
0
0
0
0
0
0
0
0
0.033372
0.25663
1,169
40
94
29.225
0.765247
0.777588
0
0
1
0
0.009662
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3f2d787407860e10be6d8bef4a39b773f11bf0df
985
py
Python
biosteam/units/design_tools/geometry.py
EVBiotechBV/biosteam
c31c5998c6f6a52f9e06daba0ddc73bdee78a07a
[ "MIT" ]
73
2020-03-04T20:14:07.000Z
2022-03-14T00:35:18.000Z
biosteam/units/design_tools/geometry.py
EVBiotechBV/biosteam
c31c5998c6f6a52f9e06daba0ddc73bdee78a07a
[ "MIT" ]
74
2020-03-06T11:47:32.000Z
2022-03-31T17:55:24.000Z
biosteam/units/design_tools/geometry.py
EVBiotechBV/biosteam
c31c5998c6f6a52f9e06daba0ddc73bdee78a07a
[ "MIT" ]
19
2020-03-06T13:59:27.000Z
2022-02-22T15:24:21.000Z
# -*- coding: utf-8 -*- # BioSTEAM: The Biorefinery Simulation and Techno-Economic Analysis Modules # Copyright (C) 2020-2021, Yoel Cortes-Pena <yoelcortes@gmail.com> # # This module is under the UIUC open-source license. See # github.com/BioSTEAMDevelopmentGroup/biosteam/blob/master/LICENSE.txt # for license details...
30.78125
75
0.730964
126
985
5.507937
0.47619
0.051873
0.074928
0.092219
0.103746
0
0
0
0
0
0
0.016827
0.15533
985
32
76
30.78125
0.817308
0.311675
0
0.222222
0
0
0.126506
0.087349
0
0
0
0
0
1
0.222222
false
0
0.111111
0.222222
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3f4463acb5e0b2acb427214a13885bf067e8a3b4
5,699
py
Python
meraki/models/__init__.py
dexterlabora/meraki-python-sdk
f6e6d61bd8694548169cd872b0642def69115bcb
[ "MIT" ]
null
null
null
meraki/models/__init__.py
dexterlabora/meraki-python-sdk
f6e6d61bd8694548169cd872b0642def69115bcb
[ "MIT" ]
null
null
null
meraki/models/__init__.py
dexterlabora/meraki-python-sdk
f6e6d61bd8694548169cd872b0642def69115bcb
[ "MIT" ]
1
2021-01-27T00:05:25.000Z
2021-01-27T00:05:25.000Z
__all__ = [ 'update_network_static_route_model', 'rule11_model', 'rule10_model', 'update_network_content_filtering_model', 'rule8_model', 'update_network_ssid_traffic_shaping_model', 'rule7_model', 'update_organization_snmp_model', 'move_network_sm_devices_model', 'lock_...
34.539394
65
0.741709
646
5,699
5.791022
0.278638
0.141139
0.18765
0.032077
0.12216
0.052125
0.020048
0
0
0
0
0.006569
0.17196
5,699
165
66
34.539394
0.786184
0
0
0
0
0
0.762008
0.609787
0
0
0
0
0
1
0
false
0
0
0
0
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3f5afefbb9134897e8111b667aa4c4bfb39ab5e1
8,074
py
Python
feedshare/feedlists/migrations/0002_auto__add_feedlistfeed__del_field_feed_feedlist__del_field_feed_tags__.py
holzenburg/feedshare
44e9bfb7d92ed0707b6dd196ead4387bf8cfb588
[ "MIT" ]
10
2015-01-04T20:22:34.000Z
2017-08-17T17:45:36.000Z
feedshare/feedlists/migrations/0002_auto__add_feedlistfeed__del_field_feed_feedlist__del_field_feed_tags__.py
holzenburg/feedshare
44e9bfb7d92ed0707b6dd196ead4387bf8cfb588
[ "MIT" ]
2
2015-09-18T01:29:19.000Z
2016-10-25T18:34:17.000Z
feedshare/feedlists/migrations/0002_auto__add_feedlistfeed__del_field_feed_feedlist__del_field_feed_tags__.py
holzenburg/feedshare
44e9bfb7d92ed0707b6dd196ead4387bf8cfb588
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'FeedListFeed' db.create_table(u'feedlists_feedlistfeed', ...
57.262411
180
0.626827
954
8,074
5.198113
0.131027
0.075822
0.129865
0.185521
0.792297
0.749143
0.69631
0.688849
0.659004
0.659004
0
0.011463
0.189621
8,074
141
181
57.262411
0.746447
0.133391
0
0.125
0
0
0.467423
0.255023
0
0
0
0
0
1
0.025
false
0
0.05
0
0.1125
0
0
0
0
null
0
0
1
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
3
3f67ce39d60527fcb642e1f7d567b96c419de48f
449
py
Python
Dataset/Leetcode/train/38/558.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/38/558.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/38/558.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, n: int) -> str: if n == 1: return '1' a = '1' while n > 1: m = '' c = 1 for i in range(len(a) - 1): if a[i] == a[i + 1]: c = c + 1 else: m = ...
23.631579
46
0.260579
59
449
1.983051
0.355932
0.051282
0.136752
0.136752
0.153846
0
0
0
0
0
0
0.061798
0.603563
449
18
47
24.944444
0.595506
0
0
0.117647
0
0
0.004464
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
1
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
1
0
0
0
0
0
0
0
0
3
3f74154624bb2a5feccada1e8c746863e70d0bfa
269
py
Python
tests/test_core_recorder.py
PyCN/derrick
3d86bc2970add85e0328af0e09425a159da74747
[ "Apache-2.0" ]
1
2017-12-13T06:16:36.000Z
2017-12-13T06:16:36.000Z
tests/test_core_recorder.py
PyCN/derrick
3d86bc2970add85e0328af0e09425a159da74747
[ "Apache-2.0" ]
null
null
null
tests/test_core_recorder.py
PyCN/derrick
3d86bc2970add85e0328af0e09425a159da74747
[ "Apache-2.0" ]
1
2020-10-11T12:17:26.000Z
2020-10-11T12:17:26.000Z
#! /usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function import unittest class TestRecorderTestCasse(unittest.TestCase): def setUp(self): pass def test_application_recorder(self): pass
17.933333
64
0.70632
31
269
5.870968
0.806452
0.087912
0
0
0
0
0
0
0
0
0
0.00463
0.197026
269
14
65
19.214286
0.837963
0.159851
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.285714
0.285714
0
0.714286
0.142857
0
0
0
null
0
0
0
0
0
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
1
0
0
3
58acc2921ecadeaaffa6afbf2564d985bde9d33c
622
py
Python
django_base/recommend/models.py
Windsooon/best-channels
f82a9b51be6292945e3d4ef2cd2702ac4fdbe0cf
[ "MIT" ]
10
2017-11-12T19:14:36.000Z
2019-08-05T08:07:55.000Z
django_base/recommend/models.py
Windsooon/best-channels
f82a9b51be6292945e3d4ef2cd2702ac4fdbe0cf
[ "MIT" ]
3
2020-02-11T22:03:33.000Z
2021-06-10T19:56:27.000Z
django_base/recommend/models.py
Windsooon/best-channels
f82a9b51be6292945e3d4ef2cd2702ac4fdbe0cf
[ "MIT" ]
1
2019-12-26T19:30:21.000Z
2019-12-26T19:30:21.000Z
from django.db import models class Recommend(models.Model): TYPE_CHOICES = ( ('N', 'New'), ('A', 'Added'), ('L', 'Not Good Enough'), ('I', 'Ignore'), ('O', 'Others'), ) email = models.CharField(max_length=100, unique=True, blank=True) category = models.CharField(max...
29.619048
79
0.641479
77
622
4.987013
0.623377
0.15625
0.1875
0.25
0.15625
0
0
0
0
0
0
0.022403
0.210611
622
20
80
31.1
0.759674
0
0
0
0
0
0.065916
0
0
0
0
0
0
1
0.058824
false
0
0.058824
0.058824
0.647059
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
1
0
0
3
58b34525bb0de1defd38f72cf685d42442229edc
451
py
Python
problems/twopointers/Solution844.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
problems/twopointers/Solution844.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
problems/twopointers/Solution844.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
""" Given two strings S and T, return if they are equal when both are typed into empty text editors. # means a backspace character. Note that after backspacing an empty text, the text will continue empty. Example 1: Input: S = "ab#c", T = "ad#c" Output: true Explanation: Both S and T become "ac". ...
32.214286
87
0.687361
68
451
4.558824
0.808824
0.025806
0.032258
0
0
0
0
0
0
0
0
0.011628
0.237251
451
13
88
34.692308
0.889535
0.858093
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
58cd18319213505d9621cf76d4a55652ce1375d7
1,182
py
Python
app/logic/gitrepo/migrations/0005_auto_20191123_1904.py
imvu/bluesteel
ab52133249a693b3cd2d8593c5d47408a3b0fce6
[ "MIT" ]
10
2017-01-13T06:28:04.000Z
2020-11-18T13:00:26.000Z
app/logic/gitrepo/migrations/0005_auto_20191123_1904.py
imvu/bluesteel
ab52133249a693b3cd2d8593c5d47408a3b0fce6
[ "MIT" ]
null
null
null
app/logic/gitrepo/migrations/0005_auto_20191123_1904.py
imvu/bluesteel
ab52133249a693b3cd2d8593c5d47408a3b0fce6
[ "MIT" ]
2
2018-03-29T14:10:53.000Z
2019-11-20T08:21:57.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2019-11-24 03:04 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gitrepo', '0004_auto_20160723_1739'), ] operations = [ migrations.AlterFiel...
28.829268
102
0.58291
105
1,182
6.4
0.485714
0.14881
0.186012
0.215774
0.270833
0.270833
0.166667
0.166667
0
0
0
0.095066
0.296954
1,182
40
103
29.55
0.713598
0.05753
0
0.454545
1
0
0.161116
0.056706
0
0
0
0
0
1
0
false
0
0.060606
0
0.151515
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
58cdce1d8503a86466b4956d94656e302673dad6
54
py
Python
Course 1 Getting Started With Python/Week 4/Assignment2_2.py
AsadGondal/Coursera_Python_For_Everybody
bfa8a2d17b95cf923f5283fd04f825c6dcf55497
[ "MIT" ]
19
2019-07-05T10:32:59.000Z
2022-02-08T13:21:48.000Z
Course 1 Getting Started With Python/Week 4/Assignment2_2.py
AsadGondal/Coursera_Python_For_Everybody
bfa8a2d17b95cf923f5283fd04f825c6dcf55497
[ "MIT" ]
null
null
null
Course 1 Getting Started With Python/Week 4/Assignment2_2.py
AsadGondal/Coursera_Python_For_Everybody
bfa8a2d17b95cf923f5283fd04f825c6dcf55497
[ "MIT" ]
11
2019-05-16T17:40:54.000Z
2021-09-28T00:02:08.000Z
name = input('Enter your name') print('Hello',name)
18
32
0.666667
8
54
4.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.148148
54
2
33
27
0.782609
0
0
0
0
0
0.384615
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
3
45060b8924e74bdd76f8034d470ec8595d00150f
468
py
Python
tests/kyu_6_tests/test_english_to_enigeliisohe.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
tests/kyu_6_tests/test_english_to_enigeliisohe.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
tests/kyu_6_tests/test_english_to_enigeliisohe.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
import unittest from katas.kyu_6.english_to_enigeliisohe import toexuto class ToexutoTestCase(unittest.TestCase): def test_equals(self): self.assertEqual(toexuto('little'), 'liitotolie') def test_equals_2(self): self.assertEqual(toexuto('BIG'), 'BaIGe') def test_equals_3(self): ...
27.529412
68
0.67735
60
468
5.15
0.533333
0.067961
0.126214
0.252427
0
0
0
0
0
0
0
0.008197
0.217949
468
16
69
29.25
0.836066
0
0
0
0
0
0.241453
0
0
0
0
0
0.272727
1
0.272727
false
0
0.181818
0
0.545455
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
1
0
0
0
0
1
0
0
3
4538cf0b15231eb2d132c1ea2d3ea209ab05cdf3
1,067
py
Python
pca.py
joshuawallace/bitcoin
4d5d21ca4da5d259b447f55f1b86fc902113feff
[ "MIT" ]
null
null
null
pca.py
joshuawallace/bitcoin
4d5d21ca4da5d259b447f55f1b86fc902113feff
[ "MIT" ]
null
null
null
pca.py
joshuawallace/bitcoin
4d5d21ca4da5d259b447f55f1b86fc902113feff
[ "MIT" ]
null
null
null
# Created by JJW Apr 17 2016 # This performs an LDA analysis on the data # for COS 424 Assignment 3 # Found help at http://scikit-learn.org/stable/modules/generated/sklearn.decomposition.PCA.html import general_functions as general_f import matplotlib.pyplot as plt import numpy as np from sklearn.decomposition import...
31.382353
151
0.764761
192
1,067
4.109375
0.510417
0.04436
0.032953
0.035488
0.035488
0
0
0
0
0
0
0.019824
0.149016
1,067
33
152
32.333333
0.849119
0.396439
0
0
1
0
0.023697
0
0
0
0
0
0
0
null
null
0
0.384615
null
null
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
189b2217e7456691725e9030f9d5a9fe7e814be3
233
py
Python
hood/admin.py
mzambia70/-Neighborhood
7d7ea9afed91da052c9da86857b9c076bab5fc2d
[ "MIT" ]
null
null
null
hood/admin.py
mzambia70/-Neighborhood
7d7ea9afed91da052c9da86857b9c076bab5fc2d
[ "MIT" ]
5
2020-06-05T21:43:25.000Z
2021-09-08T01:06:34.000Z
hood/admin.py
mzambia70/-Neighborhood
7d7ea9afed91da052c9da86857b9c076bab5fc2d
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import * admin.site.register(Neighbourhood) admin.site.register(User) admin.site.register(Business) admin.site.register(Category) admin.site.register(News) admin.site.register(Service)
21.181818
34
0.815451
32
233
5.9375
0.4375
0.284211
0.536842
0
0
0
0
0
0
0
0
0
0.06867
233
10
35
23.3
0.875576
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
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
1
0
0
0
0
0
0
3
18a8104597552160eec7c184fc721b478d3807c5
1,457
py
Python
huobi/model/market/market_detail.py
xujunhuii/huobi_Python
958df8b22ce774329c7e15a1ecf2f52eea5f6af8
[ "Apache-2.0" ]
null
null
null
huobi/model/market/market_detail.py
xujunhuii/huobi_Python
958df8b22ce774329c7e15a1ecf2f52eea5f6af8
[ "Apache-2.0" ]
null
null
null
huobi/model/market/market_detail.py
xujunhuii/huobi_Python
958df8b22ce774329c7e15a1ecf2f52eea5f6af8
[ "Apache-2.0" ]
null
null
null
class MarketDetail: """ The summary of trading in the market for the last 24 hours :member id: response ID open: The opening price of last 24 hours. close: The last price of last 24 hours. amount: The aggregated trading volume in USDT. high: The high price of last 24...
36.425
71
0.631434
199
1,457
4.492462
0.246231
0.111857
0.201342
0.241611
0.080537
0
0
0
0
0
0
0.025641
0.277282
1,457
39
72
37.358974
0.823362
0.348662
0
0
0
0
0.039194
0
0
0
0
0
0
1
0.095238
false
0
0.047619
0
0.190476
0.47619
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
1
0
3
18b173cc75eac55a08dd5adfbdc0acf5ac41f10f
28,172
py
Python
quara/objects/state_typical.py
tknrsgym/quara
8f3337af83cdd02bb85632bb1e297902b1fff8fb
[ "Apache-2.0" ]
3
2021-05-19T11:44:30.000Z
2022-03-30T07:13:49.000Z
quara/objects/state_typical.py
tknrsgym/quara
8f3337af83cdd02bb85632bb1e297902b1fff8fb
[ "Apache-2.0" ]
2
2021-06-02T01:24:59.000Z
2021-06-02T12:20:31.000Z
quara/objects/state_typical.py
tknrsgym/quara
8f3337af83cdd02bb85632bb1e297902b1fff8fb
[ "Apache-2.0" ]
1
2021-10-14T13:21:27.000Z
2021-10-14T13:21:27.000Z
from itertools import product from typing import List, Union import numpy as np from quara.objects.state import State from quara.objects.matrix_basis import MatrixBasis, convert_vec from quara.objects.matrix_basis import ( get_normalized_pauli_basis, calc_hermitian_matrix_expansion_coefficient_hermitian_basis,...
29.74868
145
0.632046
4,045
28,172
4.168356
0.05241
0.06779
0.0943
0.065121
0.835004
0.785422
0.731511
0.677955
0.635253
0.592907
0
0.038532
0.228028
28,172
946
146
29.780127
0.736757
0.375692
0
0.339031
0
0
0.068372
0.012855
0
0
0
0.001057
0
1
0.165242
false
0
0.022792
0.011396
0.387464
0
0
0
0
null
0
0
0
1
1
1
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
3
18bc0cebbcde489cd5dca2e9b515a0aaa9fd09cd
161
py
Python
aewl/__init__.py
SigJig/aewl
cbcf1a635503f53536d2cb32b88415b221e84bf1
[ "MIT" ]
null
null
null
aewl/__init__.py
SigJig/aewl
cbcf1a635503f53536d2cb32b88415b221e84bf1
[ "MIT" ]
2
2021-04-22T19:00:11.000Z
2021-05-02T19:06:26.000Z
aewl/__init__.py
SigJig/aewl
cbcf1a635503f53536d2cb32b88415b221e84bf1
[ "MIT" ]
null
null
null
from .main import ( file_to_file, file_to_str, file_to_cfg, str_to_file, str_to_str, str_to_cfg, open_file, read, Context )
12.384615
19
0.614907
25
161
3.44
0.4
0.209302
0
0
0
0
0
0
0
0
0
0
0.31677
161
12
20
13.416667
0.781818
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
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
1
0
0
0
0
0
0
3
18d2de13aab4889ce51fbf32cd324f6146d16aed
350
py
Python
python/ostype.py
Dragonsight91/Weird-Scripts
3a795b1c1ed88262f74520d40b62f9b6f32c842f
[ "MIT" ]
5
2021-03-20T19:54:40.000Z
2022-02-05T08:20:38.000Z
python/ostype.py
Dragonsight91/Random-Scripts
e9de17ad364b95eec3ed7beaa789f2048e5822d6
[ "MIT" ]
null
null
null
python/ostype.py
Dragonsight91/Random-Scripts
e9de17ad364b95eec3ed7beaa789f2048e5822d6
[ "MIT" ]
null
null
null
#!/usr/bin/python import random, string """ this one was simply a joke about people correcting "Linux" with "Oh but it is actually GNU/Linux or GNU+Linux" so i present to you, THIS. GNU{punctuation}Linux I added this script to my neofetch config to make it show the output as OS """ print(random.choice(string.punct...
29.166667
75
0.74
60
350
4.316667
0.733333
0.092664
0
0
0
0
0
0
0
0
0
0
0.151429
350
12
76
29.166667
0.872054
0.045714
0
0
0
0
0.089888
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
0
0
0
null
0
0
0
0
0
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
1
0
3
18d46f2e45f8be074c460f3777887ededd5d68ba
142
py
Python
16/16.py
cjm00/project-euler
10f186aafda2ed13bf93cf3e3ba6cff63c85fbd0
[ "CC-BY-3.0" ]
1
2015-08-16T20:30:40.000Z
2015-08-16T20:30:40.000Z
16/16.py
cjm00/project-euler
10f186aafda2ed13bf93cf3e3ba6cff63c85fbd0
[ "CC-BY-3.0" ]
1
2016-08-11T13:06:12.000Z
2016-08-11T13:06:12.000Z
16/16.py
cjm00/project-euler
10f186aafda2ed13bf93cf3e3ba6cff63c85fbd0
[ "CC-BY-3.0" ]
null
null
null
bigstring = str(2**1000) #Luckily we can represent this exactly sum = 0 for x in range(len(bigstring)): sum += int(bigstring[x]) print sum
17.75
63
0.704225
24
142
4.166667
0.791667
0
0
0
0
0
0
0
0
0
0
0.050847
0.169014
142
7
64
20.285714
0.79661
0.260563
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
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
1
0
0
0
0
0
0
0
0
3
18dbc180ea5a44fbe1334c1e2f04acdbc4a785be
61
py
Python
Contest/ABC142/a/main.py
mpses/AtCoder
9c101fcc0a1394754fcf2385af54b05c30a5ae2a
[ "CC0-1.0" ]
null
null
null
Contest/ABC142/a/main.py
mpses/AtCoder
9c101fcc0a1394754fcf2385af54b05c30a5ae2a
[ "CC0-1.0" ]
null
null
null
Contest/ABC142/a/main.py
mpses/AtCoder
9c101fcc0a1394754fcf2385af54b05c30a5ae2a
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python3 n = int(input()) print(-(-n // 2) / n)
20.333333
22
0.540984
11
61
3
0.818182
0
0
0
0
0
0
0
0
0
0
0.038462
0.147541
61
3
23
20.333333
0.596154
0.344262
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
3
18e08702c56bc4d8d05964e77c0f27098fc32b2c
863
py
Python
mysolution/migrations/0007_auto_20191019_1150.py
PrinceSingh-123/solutiontube-2020
01b756a7e1cf78d112c58a7ac52906255bcb252c
[ "MIT" ]
null
null
null
mysolution/migrations/0007_auto_20191019_1150.py
PrinceSingh-123/solutiontube-2020
01b756a7e1cf78d112c58a7ac52906255bcb252c
[ "MIT" ]
null
null
null
mysolution/migrations/0007_auto_20191019_1150.py
PrinceSingh-123/solutiontube-2020
01b756a7e1cf78d112c58a7ac52906255bcb252c
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2019-10-19 06:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mysolution', '0006_auto_20191018_1844'), ] operations = [ migrations.AlterField( model_name='examsolution', name='answ...
25.382353
50
0.560834
76
863
6.276316
0.486842
0.167715
0.209644
0.243187
0.578616
0.51782
0.42348
0.42348
0.310273
0.310273
0
0.051635
0.326767
863
33
51
26.151515
0.769363
0.049826
0
0.555556
1
0
0.130807
0.028117
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
18e3131190ae9c2b1a0a38360fe4effa9e5157dc
175
py
Python
autovirt/action/interface/virtonomica/shopgateway.py
xlam/autovirt
a19f9237c8b1123ce4f4b8b396dc88122019d4f8
[ "MIT" ]
null
null
null
autovirt/action/interface/virtonomica/shopgateway.py
xlam/autovirt
a19f9237c8b1123ce4f4b8b396dc88122019d4f8
[ "MIT" ]
null
null
null
autovirt/action/interface/virtonomica/shopgateway.py
xlam/autovirt
a19f9237c8b1123ce4f4b8b396dc88122019d4f8
[ "MIT" ]
null
null
null
from typing import Protocol from autovirt.domain.shopboard import ShopBoard class ShopGateway(Protocol): def get_shopboard(self, shop_id: int) -> ShopBoard: ...
21.875
55
0.737143
21
175
6.047619
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.177143
175
7
56
25
0.881944
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
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
1
0
0
0
0
3
18f17a00b4107e9f1125556d94e247029e4f3bd6
429
py
Python
app/tttt.py
lsm1103/flask_movie_spider
3758b2783e26bfaf9db10d9becd1a14da9181a06
[ "Apache-2.0" ]
1
2019-07-01T00:36:55.000Z
2019-07-01T00:36:55.000Z
app/tttt.py
lsm1103/flask_movie_spider
3758b2783e26bfaf9db10d9becd1a14da9181a06
[ "Apache-2.0" ]
null
null
null
app/tttt.py
lsm1103/flask_movie_spider
3758b2783e26bfaf9db10d9becd1a14da9181a06
[ "Apache-2.0" ]
1
2021-03-12T14:25:59.000Z
2021-03-12T14:25:59.000Z
# from werkzeug.security import generate_password_hash # # print(generate_password_hash('1242')) import uuid a = [(1, " 你好"), (2, "不错"), (3, "加油")] l=[] for x in a: print(x[0], type(x[0])) l.append(x[0]) print(l, type(l)) print("***************************") # list(map(lambda x:x[0])for x in a) print(list...
23.833333
66
0.547786
74
429
3.121622
0.405405
0.051948
0.155844
0.233766
0.4329
0.350649
0.272727
0
0
0
0
0.043478
0.142191
429
17
67
25.235294
0.584239
0.291375
0
0
1
0
0.137124
0.090301
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.5
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
1
0
3
e1353bbef5eac1281aa36122453480f1dfa9eb98
153
py
Python
dictionary.py
BernardoAguayoOrtega/CS50-s-Python-2020
66fc60d584220c81b03f4157f2da99a2b2910234
[ "MIT" ]
null
null
null
dictionary.py
BernardoAguayoOrtega/CS50-s-Python-2020
66fc60d584220c81b03f4157f2da99a2b2910234
[ "MIT" ]
null
null
null
dictionary.py
BernardoAguayoOrtega/CS50-s-Python-2020
66fc60d584220c81b03f4157f2da99a2b2910234
[ "MIT" ]
null
null
null
person = { "name": "Bernardo", "age": 21 } print(person) print(person.items()) print(person["name"]) person["wright"] = "78kg" print(person)
10.928571
25
0.601307
18
153
5.111111
0.5
0.478261
0
0
0
0
0
0
0
0
0
0.031746
0.176471
153
14
26
10.928571
0.698413
0
0
0.222222
0
0
0.188312
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
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
1
0
3
e15a4fd97a30250002a6bbd42e9c89f0deec203e
28,977
py
Python
tang_feat.py
ilyakava/pyfst
7c8daa5493e22a12bf0c37201c0887550036ab25
[ "MIT" ]
3
2021-03-26T12:34:25.000Z
2022-02-23T09:35:44.000Z
tang_feat.py
ilyakava/pyfst
7c8daa5493e22a12bf0c37201c0887550036ab25
[ "MIT" ]
7
2020-02-18T21:26:59.000Z
2020-03-22T12:58:14.000Z
tang_feat.py
ilyakava/pyfst
7c8daa5493e22a12bf0c37201c0887550036ab25
[ "MIT" ]
5
2020-02-17T18:24:42.000Z
2022-02-23T09:34:19.000Z
"""WST-svm """ from collections import namedtuple import itertools import time import os import h5py import hdf5storage import numpy as np import tensorflow as tf from tqdm import tqdm import scipy.io as sio from sklearn.metrics import confusion_matrix from sklearn.svm import SVC from lib.libsvm.python.svmutil import...
57.954
561
0.739172
4,201
28,977
4.671269
0.12378
0.13509
0.052996
0.084081
0.800448
0.725438
0.650071
0.542448
0.513555
0.503007
0
0.076144
0.137523
28,977
499
562
58.07014
0.709067
0.544259
0
0.504348
0
0
0.079023
0.03849
0
0
0
0
0
0
null
null
0
0.069565
null
null
0.052174
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
e15dcd7fe0ca9a1642a575558046599a5ff45c6c
250
py
Python
Zoocmd/cmdline/commands/sync.py
helicontech/zoo
a33ba547f553bcce415f7a54bd89c444f82e48ee
[ "Apache-2.0" ]
2
2017-05-01T07:35:24.000Z
2018-04-12T13:36:03.000Z
Zoocmd/cmdline/commands/sync.py
helicontech/zoo
a33ba547f553bcce415f7a54bd89c444f82e48ee
[ "Apache-2.0" ]
2
2017-03-23T17:28:37.000Z
2018-06-07T06:38:08.000Z
Zoocmd/cmdline/commands/sync.py
helicontech/zoo
a33ba547f553bcce415f7a54bd89c444f82e48ee
[ "Apache-2.0" ]
3
2016-06-22T11:11:16.000Z
2019-10-25T15:09:46.000Z
# -*- coding: utf-8 -*- class SyncCommand(object): """ Helper class to call core sync """ def __init__(self, core): self.core = core def do(self): """ Do core sync """ self.core.sync()
13.888889
34
0.476
28
250
4.107143
0.535714
0.208696
0
0
0
0
0
0
0
0
0
0.00641
0.376
250
17
35
14.705882
0.730769
0.264
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0
0.6
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
1
0
0
0
0
0
0
0
3
e15ff305d292abc32fb2a00c190dea89d33ae4cd
185
py
Python
helloworld/greet_py2/greeting_py2.py
jsirois/example-python
7c17c5d003adc2f25d56159e84361c051a1c131e
[ "Apache-2.0" ]
null
null
null
helloworld/greet_py2/greeting_py2.py
jsirois/example-python
7c17c5d003adc2f25d56159e84361c051a1c131e
[ "Apache-2.0" ]
null
null
null
helloworld/greet_py2/greeting_py2.py
jsirois/example-python
7c17c5d003adc2f25d56159e84361c051a1c131e
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Pants project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). def greet_py2(name): exec "x = 'hello, {}'.format(name)" return x
23.125
63
0.691892
26
185
4.884615
0.884615
0
0
0
0
0
0
0
0
0
0
0.046667
0.189189
185
7
64
26.428571
0.8
0.562162
0
0
0
0
0.358974
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
e160511d6161e843cca3abb7b042a96a3467ab5a
12,236
py
Python
src/sims4communitylib/utils/sims/common_sim_skill_utils.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
src/sims4communitylib/utils/sims/common_sim_skill_utils.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
src/sims4communitylib/utils/sims/common_sim_skill_utils.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
""" The Sims 4 Community Library is licensed under the Creative Commons Attribution 4.0 International public license (CC BY 4.0). https://creativecommons.org/licenses/by/4.0/ https://creativecommons.org/licenses/by/4.0/legalcode Copyright (c) COLONOLNUTTY """ from typing import Union from sims.sim_info import SimInfo ...
47.426357
158
0.693854
1,737
12,236
4.659758
0.079447
0.057944
0.077835
0.046701
0.792809
0.761675
0.708302
0.64937
0.639239
0.614282
0
0.0033
0.232184
12,236
257
159
47.610895
0.858222
0.489866
0
0.310811
0
0
0.002513
0
0
0
0
0
0
1
0.162162
false
0
0.081081
0
0.486486
0
0
0
0
null
0
0
0
0
1
1
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
3
e16e696f22e9a00f369b3ce723168050937b436a
69
py
Python
0-buggy.py
Isaevnikita/hometask
2e76fe60c4e1eccd2ba224edcbdbad57f6b74558
[ "MIT" ]
null
null
null
0-buggy.py
Isaevnikita/hometask
2e76fe60c4e1eccd2ba224edcbdbad57f6b74558
[ "MIT" ]
null
null
null
0-buggy.py
Isaevnikita/hometask
2e76fe60c4e1eccd2ba224edcbdbad57f6b74558
[ "MIT" ]
null
null
null
first_num = 2 secord_num = 3 sum = first_num + secord_num print(sum)
13.8
28
0.73913
13
69
3.615385
0.538462
0.340426
0
0
0
0
0
0
0
0
0
0.035088
0.173913
69
4
29
17.25
0.789474
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
1
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
3
e183393cd3efc5c0e81fde727131da4e36c4c36b
138
py
Python
gamestatus.py
kaytruck/jjg2
b80a05a8fdad948c2a549e69ed79231b5611ca7a
[ "MIT" ]
null
null
null
gamestatus.py
kaytruck/jjg2
b80a05a8fdad948c2a549e69ed79231b5611ca7a
[ "MIT" ]
6
2020-09-25T12:40:18.000Z
2020-09-29T12:36:29.000Z
gamestatus.py
kaytruck/jjg2
b80a05a8fdad948c2a549e69ed79231b5611ca7a
[ "MIT" ]
null
null
null
from enum import Enum class GameStatus(Enum): """ ゲーム状態を示すenum """ WAITING = 1 GAMING = 2 GAME_OVER = 3
13.8
24
0.536232
15
138
4.866667
0.866667
0
0
0
0
0
0
0
0
0
0
0.034884
0.376812
138
9
25
15.333333
0.813953
0.086957
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
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
1
0
0
3
e18ecb65169d986a321fd03d408bd9d6643b291f
2,421
py
Python
boringWords.py
acadien/pdfAnalyse
518e7ef694c5738add9816c5f01127806a30140b
[ "Apache-2.0" ]
null
null
null
boringWords.py
acadien/pdfAnalyse
518e7ef694c5738add9816c5f01127806a30140b
[ "Apache-2.0" ]
null
null
null
boringWords.py
acadien/pdfAnalyse
518e7ef694c5738add9816c5f01127806a30140b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python #300 most common words according to google #Source: https://github.com/first20hours/google-10000-english #Some words that might refer to scientific information have been removed boringWords=set(['the','of','and','to','a','in','for','is','on','that','by','this','with','i','you','it','not','or','be','a...
345.857143
2,223
0.613796
328
2,421
4.530488
0.966463
0
0
0
0
0
0
0
0
0
0
0.00417
0.0095
2,421
6
2,224
403.5
0.615513
0.077654
0
0
0
0
0.589502
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e192e02a5228324131a88ade566f4f0fbbd5419c
225
py
Python
django/browser/api/serializers.py
DCGenomics/vcf_parsing_hackathon_v002
0f0469b297a25cd59a38752ce845ab03a373ce4e
[ "CC0-1.0" ]
2
2015-12-03T17:58:02.000Z
2019-09-06T02:00:41.000Z
django/browser/api/serializers.py
DCGenomics/vcf_parsing_hackathon_v002
0f0469b297a25cd59a38752ce845ab03a373ce4e
[ "CC0-1.0" ]
4
2020-02-11T22:52:05.000Z
2021-06-10T17:50:26.000Z
django/browser/api/serializers.py
DCGenomics/vcf_parsing_hackathon_v002
0f0469b297a25cd59a38752ce845ab03a373ce4e
[ "CC0-1.0" ]
1
2015-10-14T20:47:56.000Z
2015-10-14T20:47:56.000Z
from rest_framework import serializers as drf_serialiazers from browser.models import Gene class GeneSerializer(drf_serialiazers.ModelSerializer): """ `Gene` serializer. """ class Meta: model = Gene
20.454545
58
0.72
24
225
6.625
0.708333
0.188679
0
0
0
0
0
0
0
0
0
0
0.208889
225
10
59
22.5
0.893258
0.08
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
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
1
0
0
3
e19a1f177b936fdc1ed40d5e21ebb1a34818454c
251
py
Python
tr_domain_email/setup.py
necoak/necmd
5d3f9596cee4cb04a973c9703cecffdc6981e5ba
[ "MIT" ]
null
null
null
tr_domain_email/setup.py
necoak/necmd
5d3f9596cee4cb04a973c9703cecffdc6981e5ba
[ "MIT" ]
null
null
null
tr_domain_email/setup.py
necoak/necmd
5d3f9596cee4cb04a973c9703cecffdc6981e5ba
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='tr_domain_email', version='0.1', py_modules=[''], install_requires=[ 'Click', ], entry_points=''' [cnosole_scripts] tr_domain_email=tr_domain_email:cli ''' )
19.307692
43
0.593625
28
251
4.964286
0.75
0.172662
0.280576
0
0
0
0
0
0
0
0
0.01087
0.266932
251
13
44
19.307692
0.744565
0
0
0
0
0
0.388889
0.138889
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
1
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
3
e19e584042286862293ab4bd4131759b65f59cd2
13,127
gyp
Python
binding.gyp
patilswapnilv/appjs
003a0d9615e34855460761139554218ba2c2942d
[ "MIT" ]
934
2015-01-02T03:29:12.000Z
2022-02-28T07:10:04.000Z
binding.gyp
patilswapnilv/appjs
003a0d9615e34855460761139554218ba2c2942d
[ "MIT" ]
3
2016-04-24T17:10:21.000Z
2016-05-26T04:46:47.000Z
binding.gyp
patilswapnilv/appjs
003a0d9615e34855460761139554218ba2c2942d
[ "MIT" ]
159
2015-01-04T15:20:49.000Z
2021-09-25T22:25:37.000Z
{ 'targets': [ { 'target_name': 'publish', 'type':'none', 'dependencies': [ 'appjs' ], 'copies':[ { 'destination': '<(module_root_dir)/app/data/node_modules/appjs/', 'files': [ '<(module_root_dir)/README.md', '<(module_root_...
35.768392
109
0.464082
1,183
13,127
4.880812
0.152156
0.164531
0.21389
0.114825
0.722376
0.673017
0.580707
0.553862
0.499134
0.474714
0
0.010081
0.372819
13,127
366
110
35.86612
0.691243
0.011122
0
0.368852
0
0.008197
0.536997
0.413134
0
0
0
0
0
1
0
true
0
0
0
0
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
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e1cab0c5a9c9512278570aa42fc127f941636cd0
493
py
Python
invenio_communities/fetchers.py
ppanero/invenio-communities
4145e2e35d8df103183aed5787d14e235b2a43da
[ "MIT" ]
null
null
null
invenio_communities/fetchers.py
ppanero/invenio-communities
4145e2e35d8df103183aed5787d14e235b2a43da
[ "MIT" ]
null
null
null
invenio_communities/fetchers.py
ppanero/invenio-communities
4145e2e35d8df103183aed5787d14e235b2a43da
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # This file is part of Invenio. # Copyright (C) 2020 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. from __future__ import absolute_import, print_function from invenio_pidstore.fetchers impo...
30.8125
76
0.744422
73
493
4.876712
0.794521
0
0
0
0
0
0
0
0
0
0
0.01199
0.154158
493
15
77
32.866667
0.841727
0.501014
0
0
0
0
0.029915
0
0
0
0
0
0
1
0.25
false
0
0.5
0
1
0.25
0
0
0
null
0
0
0
0
0
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
1
0
1
0
0
3
bed1216e764692cdc5023e3e300db591a3e3ab40
923
py
Python
fabric_cf/orchestrator/swagger_server/controllers/resources_controller.py
fabric-testbed/ActorBase
3c7dd040ee79fef0759e66996c93eeec57c790b2
[ "MIT" ]
null
null
null
fabric_cf/orchestrator/swagger_server/controllers/resources_controller.py
fabric-testbed/ActorBase
3c7dd040ee79fef0759e66996c93eeec57c790b2
[ "MIT" ]
67
2020-12-21T15:39:49.000Z
2022-02-27T17:55:00.000Z
fabric_cf/orchestrator/swagger_server/controllers/resources_controller.py
fabric-testbed/ControlFramework
95ab745e32f15c993bc7a017aa97a5a0f67f210f
[ "MIT" ]
null
null
null
import connexion import six from fabric_cf.orchestrator.swagger_server.models.success import Success # noqa: E501 from fabric_cf.orchestrator.swagger_server import util from fabric_cf.orchestrator.swagger_server.response import resources_controller as rc def portalresources_get(graph_format): # noqa: E501 """R...
27.969697
86
0.758397
121
923
5.661157
0.338843
0.058394
0.093431
0.110949
0.50365
0.50365
0.341606
0.341606
0.268613
0.268613
0
0.019868
0.182015
923
32
87
28.84375
0.887417
0.495125
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.555556
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
bee161f60dceb3da90499b0f4ebcbd23556da264
1,473
py
Python
Abstraction.py
UcheOlisa312/josephcsc102
933263dd88c8729711a6a0612279880ce8ee2369
[ "MIT" ]
null
null
null
Abstraction.py
UcheOlisa312/josephcsc102
933263dd88c8729711a6a0612279880ce8ee2369
[ "MIT" ]
null
null
null
Abstraction.py
UcheOlisa312/josephcsc102
933263dd88c8729711a6a0612279880ce8ee2369
[ "MIT" ]
null
null
null
# Abstraction example 1 # from abc import ABC, abstractmethod # class Shape(ABC): # @abstractmethod # def calculate_area(self): # pass # class Rectangle(Shape): # length = 5 # breadth = 3 # def calculate_area(self): # return self.length * self.breadth # # class Circle(Shape): # r...
25.396552
81
0.64019
190
1,473
4.921053
0.278947
0.11123
0.085562
0.106952
0.587166
0.463102
0.425668
0.425668
0.254545
0.254545
0
0.010638
0.234216
1,473
57
82
25.842105
0.818262
0.708079
0
0.2
0
0
0.146907
0
0
0
0
0
0
1
0.266667
false
0.066667
0.066667
0.133333
0.666667
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
beee834ac1a77455d319ce39a1c17b58a96c40af
350
py
Python
backend/app/api/api.py
mkbeh/fastapi-admin-panel
ba12ad16fe1fdd0f9ec2282b8aa9965bce858cda
[ "MIT" ]
7
2020-12-04T17:45:31.000Z
2022-02-08T02:12:58.000Z
backend/app/api/api.py
mkbeh/fastapi-admin-panel
ba12ad16fe1fdd0f9ec2282b8aa9965bce858cda
[ "MIT" ]
null
null
null
backend/app/api/api.py
mkbeh/fastapi-admin-panel
ba12ad16fe1fdd0f9ec2282b8aa9965bce858cda
[ "MIT" ]
1
2020-12-04T17:38:44.000Z
2020-12-04T17:38:44.000Z
from fastapi import APIRouter from api.endpoints.general import accounts, auth, webhooks api_router = APIRouter() api_router.include_router(auth.router, prefix="/auth", tags=["Auth"]) api_router.include_router(accounts.router, prefix="/accounts", tags=["Accounts"]) api_router.include_router(webhooks.router, prefix="/...
38.888889
81
0.782857
45
350
5.933333
0.311111
0.134831
0.179775
0.247191
0
0
0
0
0
0
0
0
0.068571
350
8
82
43.75
0.819018
0
0
0
0
0
0.122857
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
1
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
1
0
0
0
0
3
bef7335cdbed4b03dc19a03308becbfa5e93346d
2,426
py
Python
python_modules/dagster/dagster/core/origin.py
JPeer264/dagster-fork
32cc87a36134be7c442fa85d6867eb1d3301aea0
[ "Apache-2.0" ]
1
2020-09-19T16:35:59.000Z
2020-09-19T16:35:59.000Z
python_modules/dagster/dagster/core/origin.py
JPeer264/dagster-fork
32cc87a36134be7c442fa85d6867eb1d3301aea0
[ "Apache-2.0" ]
null
null
null
python_modules/dagster/dagster/core/origin.py
JPeer264/dagster-fork
32cc87a36134be7c442fa85d6867eb1d3301aea0
[ "Apache-2.0" ]
null
null
null
from collections import namedtuple from dagster import check from dagster.core.code_pointer import CodePointer from dagster.serdes import create_snapshot_id, whitelist_for_serdes @whitelist_for_serdes class RepositoryPythonOrigin( namedtuple('_RepositoryPythonOrigin', 'executable_path code_pointer'), ): ''' ...
32.346667
99
0.725062
277
2,426
5.960289
0.220217
0.135675
0.059358
0.08722
0.538462
0.482132
0.407026
0.407026
0.407026
0.407026
0
0
0.197857
2,426
74
100
32.783784
0.848407
0.068013
0
0.538462
0
0
0.107988
0.029005
0
0
0
0
0
1
0.25
false
0
0.076923
0.25
0.634615
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
1
0
0
3
83398670d56da563d22aee66b728bcef8ed54982
694
py
Python
test/product/test_products.py
vibe13/pnc-cli
9020462cac5254bdd40cc7d8fa239433242cce45
[ "Apache-2.0" ]
2
2016-05-18T15:01:34.000Z
2016-08-11T14:04:17.000Z
test/product/test_products.py
vibe13/pnc-cli
9020462cac5254bdd40cc7d8fa239433242cce45
[ "Apache-2.0" ]
47
2016-06-23T19:58:40.000Z
2020-03-10T17:58:11.000Z
test/product/test_products.py
vibe13/pnc-cli
9020462cac5254bdd40cc7d8fa239433242cce45
[ "Apache-2.0" ]
21
2016-05-30T20:34:17.000Z
2021-09-07T13:22:20.000Z
from pnc_cli import makemead import random import string def test_eap(): makemead.make_mead(config="cfg/eap.cfg", product_name="Test pnc-cli eap", product_version="7.1", suffix=get_suffix(), external=True) def test_sso(): makemead.make_mead(config="cfg/sso.cfg", product_name="Test pnc-cli sso", product_versio...
40.823529
152
0.713256
106
694
4.471698
0.349057
0.050633
0.101266
0.139241
0.635021
0.476793
0.324895
0.244726
0.244726
0.244726
0
0.013333
0.135447
694
16
153
43.375
0.776667
0
0
0
0
0
0.131124
0
0
0
0
0
0
1
0.333333
true
0
0.25
0.083333
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
1
1
0
0
0
1
0
0
3
833dfaee1d26187f74e4401fe547068134d71a27
1,191
py
Python
pyfr/integrators/dual/steppers.py
NauticalMile64/PyFR
dcb16f01f7a68098efc9d043e77befd076b3eab5
[ "BSD-3-Clause" ]
1
2020-08-21T02:50:20.000Z
2020-08-21T02:50:20.000Z
pyfr/integrators/dual/steppers.py
NauticalMile64/PyFR
dcb16f01f7a68098efc9d043e77befd076b3eab5
[ "BSD-3-Clause" ]
null
null
null
pyfr/integrators/dual/steppers.py
NauticalMile64/PyFR
dcb16f01f7a68098efc9d043e77befd076b3eab5
[ "BSD-3-Clause" ]
1
2020-08-21T02:50:17.000Z
2020-08-21T02:50:17.000Z
# -*- coding: utf-8 -*- from pyfr.integrators.dual.base import BaseDualIntegrator class BaseDualStepper(BaseDualIntegrator): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) elementscls = self.system.elementscls self._subdims = [elementscls.convarmap[self.system.ndi...
22.471698
76
0.650714
142
1,191
5.211268
0.366197
0.104054
0.097297
0.093243
0.278378
0.278378
0.144595
0.097297
0
0
0
0.035165
0.235936
1,191
52
77
22.903846
0.778022
0.017632
0
0.382353
0
0
0.018836
0
0
0
0
0
0
1
0.235294
false
0
0.029412
0.205882
0.676471
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
1
0
0
3
8352da364ac1d76a955f332d747ffd5b1602d177
205
py
Python
hc2002/resource/load_balancer.py
biochimia/hc2000
ec12df0326f368dde424bab861fc8fd1c673c010
[ "Apache-2.0" ]
null
null
null
hc2002/resource/load_balancer.py
biochimia/hc2000
ec12df0326f368dde424bab861fc8fd1c673c010
[ "Apache-2.0" ]
null
null
null
hc2002/resource/load_balancer.py
biochimia/hc2000
ec12df0326f368dde424bab861fc8fd1c673c010
[ "Apache-2.0" ]
null
null
null
import hc2002.aws.elb def _setup_elb_connection(): global elb elb = hc2002.aws.elb.get_connection() def list(names=None): _setup_elb_connection() return elb.get_all_load_balancers(names)
20.5
44
0.746341
30
205
4.766667
0.533333
0.125874
0.167832
0
0
0
0
0
0
0
0
0.046243
0.156098
205
9
45
22.777778
0.780347
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
8353deabf2a3c4176717a9a40fa8471cc61d40ab
832
py
Python
discordbotmanager/bots/models.py
thisguyistotallyben/discord-bot-manager
7c5aa41893d595c1ca48d103c949570aeefbef56
[ "MIT" ]
null
null
null
discordbotmanager/bots/models.py
thisguyistotallyben/discord-bot-manager
7c5aa41893d595c1ca48d103c949570aeefbef56
[ "MIT" ]
null
null
null
discordbotmanager/bots/models.py
thisguyistotallyben/discord-bot-manager
7c5aa41893d595c1ca48d103c949570aeefbef56
[ "MIT" ]
null
null
null
from django.db import models class Bot(models.Model): name = models.CharField(max_length=200, default='') class Server(models.Model): server_id = models.IntegerField(default=0) name = models.CharField(max_length=200, default='') bot = models.ForeignKey(Bot, on_delete=models.CASCADE) class Channel(...
29.714286
66
0.730769
105
832
5.67619
0.285714
0.151007
0.181208
0.241611
0.493289
0.40604
0.348993
0.221477
0.221477
0.221477
0
0.02933
0.139423
832
27
67
30.814815
0.803073
0
0
0.176471
0
0
0.010843
0
0
0
0
0
0
1
0
false
0
0.058824
0
1
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
1
0
0
3
55c566b5b4ba9b26db990a9c994250decfaf7f00
1,413
py
Python
tests/sqlalchemy/test_session.py
stufisher/ispyb-api
c8e488274d565abd8387a485a3b5b80e1b2cedc9
[ "Apache-2.0" ]
3
2019-07-17T22:09:40.000Z
2021-12-08T23:42:26.000Z
tests/sqlalchemy/test_session.py
stufisher/ispyb-api
c8e488274d565abd8387a485a3b5b80e1b2cedc9
[ "Apache-2.0" ]
137
2017-10-09T09:30:23.000Z
2022-03-31T11:31:12.000Z
tests/sqlalchemy/test_session.py
stufisher/ispyb-api
c8e488274d565abd8387a485a3b5b80e1b2cedc9
[ "Apache-2.0" ]
9
2016-10-06T14:58:06.000Z
2021-02-18T06:38:37.000Z
import configparser import pytest import sqlalchemy.orm import ispyb.sqlalchemy def test_session_from_dict(testconfig): config = configparser.RawConfigParser(allow_no_value=True) config.read(testconfig) with pytest.warns(PendingDeprecationWarning): session = ispyb.sqlalchemy.session( ...
34.463415
82
0.760793
164
1,413
6.396341
0.280488
0.100095
0.026692
0.034318
0.882745
0.842707
0.842707
0.65205
0.65205
0.402288
0
0
0.144374
1,413
40
83
35.325
0.867659
0.068648
0
0.5
0
0
0.092917
0
0
0
0
0
0.142857
1
0.142857
false
0
0.142857
0
0.285714
0
0
0
0
null
0
0
0
1
1
1
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
3
55c9f700cb5f5bf92342bfcd2e13e997e375c6b0
146
py
Python
inc/write.py
Damian89/commonCrawlParser
086c69555c78cd82385015957a1873090a6d69e5
[ "MIT" ]
29
2018-07-16T14:31:39.000Z
2022-03-27T05:39:15.000Z
inc/write.py
Damian89/commonCrawlParser
086c69555c78cd82385015957a1873090a6d69e5
[ "MIT" ]
null
null
null
inc/write.py
Damian89/commonCrawlParser
086c69555c78cd82385015957a1873090a6d69e5
[ "MIT" ]
11
2019-10-27T14:43:39.000Z
2021-08-17T21:12:34.000Z
#!/usr/bin/env python # coding: utf8 def writeResults(links, outfile): fw = open(outfile, "w") for link in links: fw.write(link)
18.25
33
0.623288
21
146
4.333333
0.809524
0
0
0
0
0
0
0
0
0
0
0.008929
0.232877
146
7
34
20.857143
0.803571
0.226027
0
0
0
0
0.009009
0
0
0
0
0
0
1
0.25
false
0
0
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
1
0
0
0
0
0
0
0
3
55d3a3ac6bcef554c73fccb90480b1ad10702f96
328
py
Python
Pygal/die.py
faizkhan12/Data-Visualizations
b590489b2da9d0cfa7ae8632b78bc38119eeedd6
[ "MIT" ]
2
2018-12-18T13:18:53.000Z
2018-12-25T06:04:04.000Z
Pygal/die.py
faizkhan12/Data-Visualizations
b590489b2da9d0cfa7ae8632b78bc38119eeedd6
[ "MIT" ]
null
null
null
Pygal/die.py
faizkhan12/Data-Visualizations
b590489b2da9d0cfa7ae8632b78bc38119eeedd6
[ "MIT" ]
null
null
null
from random import randint class Die(): """A class representing a single die""" def __init__(self,num_sides=6): """Assume a six-sided die""" self.num_sides=num_sides def roll(self): """Return a random value between 1 amd number of sides""" return randint(1,self.num_...
29.818182
66
0.621951
47
328
4.170213
0.553191
0.163265
0.183673
0
0
0
0
0
0
0
0
0.0125
0.268293
328
10
67
32.8
0.804167
0.329268
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.833333
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
1
0
0
3
55d853643b4a404bbd61fbf1408993fa30fc19ce
709
py
Python
Computer science/Programming languages/Python/Working with data/Data types and operations/Strings/Basic string methods/latin_equivalents.py
chanchanchong/PYTHON-TRACK-IN-HYPERSKILL
462fe08ff4a2b183fd45a0235ab1ec7a788bd54c
[ "MIT" ]
null
null
null
Computer science/Programming languages/Python/Working with data/Data types and operations/Strings/Basic string methods/latin_equivalents.py
chanchanchong/PYTHON-TRACK-IN-HYPERSKILL
462fe08ff4a2b183fd45a0235ab1ec7a788bd54c
[ "MIT" ]
null
null
null
Computer science/Programming languages/Python/Working with data/Data types and operations/Strings/Basic string methods/latin_equivalents.py
chanchanchong/PYTHON-TRACK-IN-HYPERSKILL
462fe08ff4a2b183fd45a0235ab1ec7a788bd54c
[ "MIT" ]
null
null
null
# Imagine you're working at IMDb and your new task is to write a # program that will replace all the letters with ligatures and # diacritic marks with their equivalents from the Latin alphabet in # the celebrities' names. The list of replacements is the following: # é -> e # ë -> e # á -> a # å -> a # œ -> oe # æ -> a...
30.826087
129
0.685472
118
709
4.101695
0.584746
0.008264
0
0
0
0
0
0
0
0
0
0
0.188999
709
23
130
30.826087
0.841739
0.675599
0
0
0
0
0.064815
0
0
0
0
0.043478
0
1
0.25
false
0
0
0.25
0.5
0.25
0
0
0
null
0
0
0
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
1
0
0
0
1
0
0
0
3
55f0def4aa5da609e3d567f7ca375cdf1a8abc44
3,135
py
Python
maml_examples/oldLaunchers/expert_traj_generator.py
RussellM2020/maml_gps
631560dfd4e23dc2da9bfbbd2e3c5252aa9775c5
[ "MIT" ]
null
null
null
maml_examples/oldLaunchers/expert_traj_generator.py
RussellM2020/maml_gps
631560dfd4e23dc2da9bfbbd2e3c5252aa9775c5
[ "MIT" ]
null
null
null
maml_examples/oldLaunchers/expert_traj_generator.py
RussellM2020/maml_gps
631560dfd4e23dc2da9bfbbd2e3c5252aa9775c5
[ "MIT" ]
null
null
null
# # TO DELETE THIS FILE: # # # We should be using batch_polopt and normal non-maml experiments to generate the trajectories # # And then use batch_maml_polopt with the added options around goals_to_load, expert_trajs to load # # the expert policy's trajectories. # # # # Intended to work with batch_maml_polopt. Use else...
40.714286
121
0.69697
453
3,135
4.637969
0.377483
0.04712
0.030938
0.025702
0.277963
0.262732
0.23227
0.175155
0.175155
0.175155
0
0.030315
0.210845
3,135
76
122
41.25
0.818917
0.94386
0
null
1
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
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
36035b18062be6459d5baf69cb4e6087a88668bd
198
py
Python
bridgekeeper/conftest.py
edly-io/bridgekeeper
ac2e57bb7716001e6816fc761315944311f8ea82
[ "MIT" ]
21
2019-05-04T12:56:13.000Z
2022-02-09T10:52:30.000Z
bridgekeeper/conftest.py
edly-io/bridgekeeper
ac2e57bb7716001e6816fc761315944311f8ea82
[ "MIT" ]
18
2019-07-18T11:35:00.000Z
2021-10-05T21:52:32.000Z
bridgekeeper/conftest.py
edly-io/bridgekeeper
ac2e57bb7716001e6816fc761315944311f8ea82
[ "MIT" ]
7
2019-07-24T15:59:23.000Z
2022-02-10T08:59:41.000Z
import bridgekeeper import pytest @pytest.yield_fixture(autouse=True) def clean_global_permissions_map(): for k in list(bridgekeeper.perms.keys()): del bridgekeeper.perms[k] yield
19.8
45
0.747475
26
198
5.538462
0.730769
0.236111
0
0
0
0
0
0
0
0
0
0
0.161616
198
9
46
22
0.86747
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
0
1
0
0
null
1
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
3
3604a4393445c927b0693fce1a191af991a9cc1b
550
py
Python
app/toolbox/playlist.py
Kbman99/PlayMeThis
bc4fe1d1392d164ce78356383e9ada0a94fe0fbb
[ "MIT" ]
null
null
null
app/toolbox/playlist.py
Kbman99/PlayMeThis
bc4fe1d1392d164ce78356383e9ada0a94fe0fbb
[ "MIT" ]
null
null
null
app/toolbox/playlist.py
Kbman99/PlayMeThis
bc4fe1d1392d164ce78356383e9ada0a94fe0fbb
[ "MIT" ]
null
null
null
# playlist.py from collections import deque class SongPlaylist: def __init__(self): self.current_song = None self.next_song = None self.entries = deque() def __iter__(self): return iter(self.entries) def add_entry(self, entry): self.entries.append(entry) def ...
21.153846
61
0.605455
68
550
4.705882
0.455882
0.240625
0.075
0
0
0
0
0
0
0
0
0.002625
0.307273
550
25
62
22
0.83727
0.107273
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.0625
0.0625
0.5625
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
36166bf1454b4e2a6fd49d1cef8bfcc52df05b3b
11,189
py
Python
flatql/parser/ast.py
Agile-Data/flat-ql
3212ae9d0ec4ba822c065bb5e4beccf9e936971b
[ "MIT" ]
3
2022-03-21T05:03:39.000Z
2022-03-23T01:32:51.000Z
flatql/parser/ast.py
Agile-Data/flat-ql
3212ae9d0ec4ba822c065bb5e4beccf9e936971b
[ "MIT" ]
null
null
null
flatql/parser/ast.py
Agile-Data/flat-ql
3212ae9d0ec4ba822c065bb5e4beccf9e936971b
[ "MIT" ]
null
null
null
from abc import ABCMeta, abstractmethod, ABC from re import L from typing import Union, Optional, List from ..rewriter import sql_rewriter from ..rewriter.sql_generic import SqlNode LITERAL_TYPE_STRING = "STRING" LITERAL_TYPE_INTEGER = "INTEGER" LITERAL_TYPE_DECIMAL = "DECIMAL" LITERAL_TYPE_ARRAY = "ARRAY" class No...
29.214099
114
0.680043
1,322
11,189
5.45764
0.096823
0.025225
0.03964
0.073181
0.475676
0.431739
0.411088
0.373527
0.319751
0.304505
0
0.000908
0.212798
11,189
382
115
29.290576
0.818233
0
0
0.309917
0
0.004132
0.060148
0.006167
0
0
0
0
0
1
0.31405
false
0.004132
0.020661
0.181818
0.661157
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
1
0
0
3
3619e6191b2069060fa40be5c7c11660a2e40cfc
4,407
py
Python
gradient/api_sdk/repositories/models.py
kolin789/gradient-cli
fe69377df3daee0090f5394e45de5a0098f0b835
[ "0BSD" ]
null
null
null
gradient/api_sdk/repositories/models.py
kolin789/gradient-cli
fe69377df3daee0090f5394e45de5a0098f0b835
[ "0BSD" ]
null
null
null
gradient/api_sdk/repositories/models.py
kolin789/gradient-cli
fe69377df3daee0090f5394e45de5a0098f0b835
[ "0BSD" ]
null
null
null
import gradient.api_sdk.config from .. import serializers, s3_uploader from ..repositories.common import ListResources, DeleteResource, CreateResource, GetResource from ..sdk_exceptions import ResourceFetchingError class ParseModelDictMixin(object): def _parse_object(self, model_dict, **kwargs): """ ...
30.393103
102
0.661902
486
4,407
5.73251
0.216049
0.032304
0.06066
0.047739
0.310122
0.274587
0.226849
0.183058
0.154343
0.120603
0
0.002072
0.233492
4,407
144
103
30.604167
0.822676
0.008169
0
0.26
0
0
0.07375
0.026273
0
0
0
0
0
1
0.22
false
0
0.04
0.12
0.58
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
1
0
0
3
36316f4e5f96ff14bab38a4cb9668d47abd0e0ff
336
py
Python
spectrumdevice/devices/__init__.py
KCL-BMEIS/spectrumdevice
f0eecbd1d3b58dc9a9f226c4c75d7f398b1ea551
[ "MIT" ]
4
2022-01-10T08:35:23.000Z
2022-01-19T12:06:05.000Z
spectrumdevice/devices/__init__.py
KCL-BMEIS/spectrumdevice
f0eecbd1d3b58dc9a9f226c4c75d7f398b1ea551
[ "MIT" ]
8
2022-01-05T14:07:10.000Z
2022-03-17T20:03:27.000Z
spectrumdevice/devices/__init__.py
KCL-BMEIS/spectrumdevice
f0eecbd1d3b58dc9a9f226c4c75d7f398b1ea551
[ "MIT" ]
null
null
null
"""Provides classes for connecting to and controlling real and mock Spectrum digitiser cards and StarHubs.""" # Christian Baker, King's College London # Copyright (c) 2021 School of Biomedical Engineering & Imaging Sciences, King's College London # Licensed under the MIT. You may obtain a copy at https://opensource.or...
56
109
0.782738
49
336
5.367347
0.857143
0.038023
0.091255
0.136882
0
0
0
0
0
0
0
0.013889
0.142857
336
5
110
67.2
0.899306
0.96131
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
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
3636541c920ada950bc66b8893d2a6211c22a188
1,577
py
Python
optimizer/replaymemory/memoryproxy.py
lgasyou/spark-scheduler-configuration-optimizer
05c0ea9411db642c7c7e675a6949ffcc6814947a
[ "MIT" ]
1
2019-11-26T08:10:52.000Z
2019-11-26T08:10:52.000Z
optimizer/replaymemory/memoryproxy.py
lgasyou/spark-scheduler-configuration-optimizer
05c0ea9411db642c7c7e675a6949ffcc6814947a
[ "MIT" ]
1
2019-12-24T06:40:07.000Z
2019-12-24T06:40:07.000Z
optimizer/replaymemory/memoryproxy.py
lgasyou/spark-scheduler-configuration-optimizer
05c0ea9411db642c7c7e675a6949ffcc6814947a
[ "MIT" ]
2
2019-08-28T15:10:10.000Z
2019-11-26T08:10:36.000Z
from typing import Optional from optimizer.replaymemory.memory import ReplayMemory class ReplayMemoryProxy(object): """ The proxy of Replay Memory. To solve a problem which is caused when StateInvalidException raises. """ def __init__(self, args, capacity): self._mem = ReplayMemory(args,...
26.728814
73
0.658212
189
1,577
5.190476
0.354497
0.06422
0.079511
0.101937
0.147808
0.118247
0.04893
0
0
0
0
0.000852
0.255549
1,577
58
74
27.189655
0.834753
0.106531
0
0.162162
0
0
0
0
0
0
0
0
0
1
0.324324
false
0
0.054054
0.162162
0.567568
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
1
0
0
3
363e55f1fc36cfaa36d2209e92814bf615d50b70
181
py
Python
python/ql/test/library-tests/frameworks/pymysql/pep249.py
timoles/codeql
2d24387e9e300bf03be35694816b1e76ae88a50c
[ "MIT" ]
4,036
2020-04-29T00:09:57.000Z
2022-03-31T14:16:38.000Z
python/ql/test/library-tests/frameworks/pymysql/pep249.py
baby636/codeql
097b6e5e3364ecc7103586d6feb308861e15538e
[ "MIT" ]
2,970
2020-04-28T17:24:18.000Z
2022-03-31T22:40:46.000Z
python/ql/test/library-tests/frameworks/pymysql/pep249.py
ScriptBox99/github-codeql
2ecf0d3264db8fb4904b2056964da469372a235c
[ "MIT" ]
794
2020-04-29T00:28:25.000Z
2022-03-30T08:21:46.000Z
import pymysql connection = pymysql.connect(host="localhost", user="user", password="passwd") cursor = connection.cursor() cursor.execute("some sql", (42,)) # $ getSql="some sql"
30.166667
78
0.712707
22
181
5.863636
0.681818
0.108527
0
0
0
0
0
0
0
0
0
0.012346
0.104972
181
5
79
36.2
0.783951
0.104972
0
0
0
0
0.16875
0
0
0
0
0
0
1
0
false
0.25
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
1
0
0
0
0
0
3