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
bc2dd6c4d4320d586a2bd6ccd335e5c98876e09a
483
py
Python
ros2_control_demo_description/diffbot_description/launch/view_diff_drive.launch.py
roachhuang/r2
f4a7be7c5542146077e187d3b0706c21920f7cbf
[ "Apache-2.0" ]
null
null
null
ros2_control_demo_description/diffbot_description/launch/view_diff_drive.launch.py
roachhuang/r2
f4a7be7c5542146077e187d3b0706c21920f7cbf
[ "Apache-2.0" ]
null
null
null
ros2_control_demo_description/diffbot_description/launch/view_diff_drive.launch.py
roachhuang/r2
f4a7be7c5542146077e187d3b0706c21920f7cbf
[ "Apache-2.0" ]
null
null
null
from launch import LaunchDescription from launch_ros.actions import Node def generate_launch_description(): return LaunchDescription([ Node( package='diffbot_description', executable='simple_node', name='sim', output='screen', remappings=[ ...
30.1875
67
0.546584
40
483
6.425
0.675
0.077821
0
0
0
0
0
0
0
0
0
0.012539
0.339545
483
16
68
30.1875
0.793103
0
0
0
1
0
0.239669
0.105372
0
0
0
0
0
1
0.066667
true
0
0.133333
0.066667
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
70be115106910c95b59aafeb06faabdf8e822294
431
py
Python
unixtime.py
DBeath/python-snippets
c9642c37183d947eb8a1a781e47bd70b1306d5ca
[ "MIT" ]
null
null
null
unixtime.py
DBeath/python-snippets
c9642c37183d947eb8a1a781e47bd70b1306d5ca
[ "MIT" ]
2
2019-10-19T07:27:43.000Z
2021-03-22T16:58:21.000Z
unixtime.py
DBeath/python-snippets
c9642c37183d947eb8a1a781e47bd70b1306d5ca
[ "MIT" ]
null
null
null
from datetime import datetime import time dt = datetime.utcnow() print(dt) unix_dt = dt.strftime('%s') print(unix_dt) print(type(unix_dt)) unix_dt_2 = time.mktime(dt.timetuple()) print unix_dt_2 f = datetime.utcfromtimestamp(float(unix_dt)) print(f) f_unix = time.mktime(f.timetuple()) print(f_unix) print first = ...
17.24
45
0.75174
70
431
4.457143
0.328571
0.115385
0.051282
0
0
0
0
0
0
0
0
0.025974
0.106729
431
24
46
17.958333
0.784416
0
0
0
0
0
0.00464
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
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
1
0
0
0
0
0
0
1
0
2
70c8034de7b078ccc595802b534e7f3a2aad6e40
663
py
Python
tests/unit/conftest.py
galvo/karapace
fa4b455a7153a560d7cf0a3530b82f25bd6dd8a4
[ "Apache-2.0" ]
180
2019-01-16T15:35:36.000Z
2022-03-29T10:01:10.000Z
tests/unit/conftest.py
galvo/karapace
fa4b455a7153a560d7cf0a3530b82f25bd6dd8a4
[ "Apache-2.0" ]
175
2020-03-19T12:53:05.000Z
2022-03-31T16:26:55.000Z
tests/unit/conftest.py
galvo/karapace
fa4b455a7153a560d7cf0a3530b82f25bd6dd8a4
[ "Apache-2.0" ]
32
2019-01-16T16:12:25.000Z
2022-03-30T07:14:57.000Z
from karapace.schema_reader import SchemaType, TypedSchema from tests.utils import schema_avro_json import pytest class MockClient: # pylint: disable=W0613 def __init__(self, *args, **kwargs): pass async def get_schema_for_id(self, *args, **kwargs): return TypedSchema.parse(SchemaType.AV...
26.52
70
0.728507
85
663
5.411765
0.470588
0.069565
0.121739
0.130435
0.343478
0.343478
0.226087
0.226087
0.226087
0
0
0.010969
0.174962
663
24
71
27.625
0.829982
0.031674
0
0
0
0
0.03125
0
0
0
0
0
0
1
0.133333
false
0.066667
0.2
0.066667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
70d0c88563906e11580cfe5c56c6f22438a75531
280
py
Python
Python/find the Rhombus Area.py
Bijitakc/Hacktoberfest2021-2
167e7c81dc9c5cc83fd604ea1d4bce52aa882605
[ "MIT" ]
20
2021-10-06T13:51:46.000Z
2021-11-11T16:12:17.000Z
Python/find the Rhombus Area.py
Bijitakc/Hacktoberfest2021-2
167e7c81dc9c5cc83fd604ea1d4bce52aa882605
[ "MIT" ]
42
2021-10-08T09:49:17.000Z
2021-10-21T23:18:39.000Z
Python/find the Rhombus Area.py
Bijitakc/Hacktoberfest2021-2
167e7c81dc9c5cc83fd604ea1d4bce52aa882605
[ "MIT" ]
97
2021-10-06T13:04:34.000Z
2021-11-11T16:12:21.000Z
def calRhombusArea(d1, d2): return (d1 * d2)/2 rhombusD1 = float(input("Enter Rhombus First Diagonal = ")) rhombusD2 = float(input("Enter Rhombus Second Diagonal = ")) rhombusArea = calRhombusArea(rhombusD1, rhombusD2) print("The Area of a Rhombus = %.3f" %rhombusArea)
25.454545
60
0.710714
34
280
5.852941
0.647059
0.040201
0.150754
0.221106
0
0
0
0
0
0
0
0.042553
0.160714
280
10
61
28
0.804255
0
0
0
0
0
0.328571
0
0
0
0
0
0
1
0.166667
false
0
0
0.166667
0.333333
0.166667
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
0
0
0
2
70d47769b64789daa7e87768466311852d293dfa
519
py
Python
ex031a.py
emerfelippini/Curso_em_video-Aulas_Python
5b1d78b259732bb9bbad27cd30ce91bba77c5ef0
[ "MIT" ]
null
null
null
ex031a.py
emerfelippini/Curso_em_video-Aulas_Python
5b1d78b259732bb9bbad27cd30ce91bba77c5ef0
[ "MIT" ]
null
null
null
ex031a.py
emerfelippini/Curso_em_video-Aulas_Python
5b1d78b259732bb9bbad27cd30ce91bba77c5ef0
[ "MIT" ]
null
null
null
'''viagem = float(input('Quantos Kms serão percorridos nessa viagem? ')) if viagem <= 200: print('Como sua viagem é menor que 200km, você pagará R${:.2f}'.format(viagem * 0.50)) else: print('Como sua viagem passou de 200km, com a promoção, você pagará R${:.2f}'.format(viagem * 0.45))''' viagem = float(input('Qu...
64.875
107
0.687861
83
519
4.301205
0.457831
0.078431
0.07563
0.12605
0.442577
0.442577
0.442577
0.296919
0.296919
0
0
0.063781
0.154143
519
8
108
64.875
0.749431
0.55684
0
0
0
0
0.48
0
0
0
0
0
0
1
0
false
0.333333
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
70ee5942ea34b4ecea65d860d2798e997aada871
372
py
Python
SoyNLP/soynlp/utils/__init__.py
ChoiSeEun/Korean-NLP-Visual
adee5e45f3472b969f45e6e2e991d88df0e49dcd
[ "Apache-2.0" ]
1
2021-11-05T10:18:43.000Z
2021-11-05T10:18:43.000Z
SoyNLP/soynlp/utils/__init__.py
ChoiSeEun/Korean-NLP-Visual
adee5e45f3472b969f45e6e2e991d88df0e49dcd
[ "Apache-2.0" ]
5
2021-11-04T10:23:39.000Z
2021-12-13T13:03:31.000Z
SoyNLP/soynlp/utils/__init__.py
ChoiSeEun/Korean-NLP-Visual
adee5e45f3472b969f45e6e2e991d88df0e49dcd
[ "Apache-2.0" ]
2
2021-09-29T10:52:05.000Z
2021-09-29T11:05:33.000Z
from .utils import get_available_memory from .utils import get_process_memory from .utils import sort_by_alphabet from .utils import DoublespaceLineCorpus from .utils import EojeolCounter from .utils import LRGraph __all__ = [ # utils 'get_available_memory', 'get_process_memory', 'sort_by_alphabet', 'Doubl...
28.615385
49
0.784946
44
372
6.272727
0.318182
0.195652
0.326087
0.130435
0
0
0
0
0
0
0
0
0.139785
372
13
50
28.615385
0.8625
0.013441
0
0
0
0
0.259563
0.057377
0
0
0
0
0
1
0
false
0
0.545455
0
0.545455
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
70f179a14de6a12519a4c55aab691d94e68b6063
868
py
Python
users/source/adapters/controllers.py
elpapi42/reactive-microservices-with-kafka-python
e14cf09ea814244dc794522464ff2945f3a02c13
[ "MIT" ]
null
null
null
users/source/adapters/controllers.py
elpapi42/reactive-microservices-with-kafka-python
e14cf09ea814244dc794522464ff2945f3a02c13
[ "MIT" ]
null
null
null
users/source/adapters/controllers.py
elpapi42/reactive-microservices-with-kafka-python
e14cf09ea814244dc794522464ff2945f3a02c13
[ "MIT" ]
null
null
null
from typing import List from uuid import UUID from pydantic import BaseModel from fastapi import APIRouter from pydantic.networks import EmailStr from source.adapters.repositories import PostgresUserRepository from source.adapters.events import KafkaUserRegisteredEvent from source.application.register_user import Reg...
26.30303
69
0.796083
95
868
7.189474
0.494737
0.043924
0.052709
0.070278
0
0
0
0
0
0
0
0.003984
0.132488
868
32
70
27.125
0.903054
0
0
0.173913
0
0
0.006912
0
0
0
0
0
0
1
0
false
0
0.347826
0
0.695652
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
70f795f5dc201255856414a88523c6a20e17b58f
6,265
py
Python
intg/src/main/python/apache_atlas/client/typedef.py
alexwang789/atlas
b265f5e80e02d69ea7bbcfd9d0770361ca7fa185
[ "Apache-2.0" ]
4
2020-10-30T06:15:23.000Z
2022-02-18T09:56:27.000Z
intg/src/main/python/apache_atlas/client/typedef.py
alexwang789/atlas
b265f5e80e02d69ea7bbcfd9d0770361ca7fa185
[ "Apache-2.0" ]
null
null
null
intg/src/main/python/apache_atlas/client/typedef.py
alexwang789/atlas
b265f5e80e02d69ea7bbcfd9d0770361ca7fa185
[ "Apache-2.0" ]
4
2020-10-30T07:21:57.000Z
2021-10-21T16:07:02.000Z
#!/usr/bin/env/python # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # ...
42.331081
110
0.732003
811
6,265
5.307028
0.177559
0.048095
0.050186
0.055762
0.462361
0.420771
0.390102
0.34224
0.329229
0.329229
0
0.000988
0.192179
6,265
148
111
42.331081
0.849437
0.123703
0
0.148936
0
0
0.035988
0.008403
0
0
0
0
0
1
0.255319
false
0
0.031915
0.191489
0.787234
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
70fe139405a8aee8fa7d61eb277d3b8a2976c12e
1,074
py
Python
biodiversidade/wsgi.py
SamambaMan/biodiversidade
f7a72e5cd7373f391f259222ed58f9e533f1bd20
[ "MIT" ]
null
null
null
biodiversidade/wsgi.py
SamambaMan/biodiversidade
f7a72e5cd7373f391f259222ed58f9e533f1bd20
[ "MIT" ]
null
null
null
biodiversidade/wsgi.py
SamambaMan/biodiversidade
f7a72e5cd7373f391f259222ed58f9e533f1bd20
[ "MIT" ]
null
null
null
""" WSGI config for biodiversidade project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os import sys import site #site.addsitedir('/opt/envbioinfo/local/lib/python2.7/s...
22.851064
78
0.785847
151
1,074
5.456954
0.476821
0.033981
0.087379
0.041262
0.402913
0.300971
0.235437
0.235437
0.133495
0.133495
0
0.007239
0.099628
1,074
46
79
23.347826
0.844881
0.768156
0
0
0
0
0.200893
0.200893
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
cb045f38d8e83fe9629cada582ba59471cffd5d9
58
py
Python
Unit-2/assignment/testing.py
Ldude162/AP-CSP
5c6fa9382070b12d62386875479f46c867177f97
[ "MIT" ]
1
2021-10-13T03:31:40.000Z
2021-10-13T03:31:40.000Z
Unit-2/assignment/testing.py
Ldude162/AP-CSP
5c6fa9382070b12d62386875479f46c867177f97
[ "MIT" ]
25
2021-09-17T03:32:13.000Z
2022-03-11T18:08:15.000Z
Unit-2/assignment/testing.py
Ldude162/AP-CSP
5c6fa9382070b12d62386875479f46c867177f97
[ "MIT" ]
null
null
null
f = open('lol.txt', 'a') while True: f.write('lmao\n')
19.333333
24
0.551724
11
58
2.909091
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.172414
58
3
25
19.333333
0.666667
0
0
0
0
0
0.237288
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
cb35058c35f30f7d706dde33c43e0ded1a64aee9
4,433
py
Python
webtext/webtext/settings.py
stricoff92/webtext-analysis
9a6e5637e6695ee4ae68d182bb7a07c4beef7cca
[ "MIT" ]
null
null
null
webtext/webtext/settings.py
stricoff92/webtext-analysis
9a6e5637e6695ee4ae68d182bb7a07c4beef7cca
[ "MIT" ]
null
null
null
webtext/webtext/settings.py
stricoff92/webtext-analysis
9a6e5637e6695ee4ae68d182bb7a07c4beef7cca
[ "MIT" ]
null
null
null
""" Django settings for webtext project. Generated by 'django-admin startproject' using Django 3.1.7. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib...
25.331429
117
0.672908
490
4,433
5.955102
0.391837
0.066827
0.052776
0.059973
0.199452
0.193626
0.114119
0.091501
0.041124
0
0
0.008465
0.200541
4,433
174
118
25.477011
0.814898
0.191969
0
0.084112
1
0.009346
0.426566
0.303005
0
0
0
0
0
1
0
false
0.065421
0.046729
0
0.046729
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
cb3b810de4c7b88180a9539a9ade182dfd592cf8
320
py
Python
tests/settings.py
ydaniels/drf-django-flexible-subscriptions
689d54f693491ace6aaebaa1d44f2b2fa7e02485
[ "0BSD" ]
5
2020-03-25T07:54:05.000Z
2022-03-03T12:55:09.000Z
tests/settings.py
ydaniels/drf-django-flexible-subscriptions
689d54f693491ace6aaebaa1d44f2b2fa7e02485
[ "0BSD" ]
2
2021-01-20T12:48:26.000Z
2021-01-28T02:18:08.000Z
tests/settings.py
ydaniels/drf-django-flexible-subscriptions
689d54f693491ace6aaebaa1d44f2b2fa7e02485
[ "0BSD" ]
2
2020-09-22T01:14:13.000Z
2021-06-06T10:37:08.000Z
DEBUG = True SECRET_KEY = 'fake-key' INSTALLED_APPS = [ 'django.contrib.auth', 'django.contrib.contenttypes', 'subscriptions_api' ] SUBSCRIPTIONS_API_SUBSCRIPTIONTRANSACTION_MODEL = 'subscriptions_api.SubscriptionTransaction' SUBSCRIPTIONS_API_USERSUBSCRIPTION_MODEL = 'subscriptions_api.UserSubscription'
26.666667
93
0.809375
30
320
8.266667
0.533333
0.322581
0.314516
0
0
0
0
0
0
0
0
0
0.103125
320
11
94
29.090909
0.864112
0
0
0
0
0
0.45625
0.31875
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
cb456c580cbfd561345d2a98fad93796331110af
79
py
Python
examples/options.py
francois-vincent/clingon
9003314f49979d593a48ff7d0288f62aff8e3872
[ "BSD-3-Clause" ]
3
2015-03-27T14:27:59.000Z
2015-06-05T10:42:38.000Z
examples/options.py
francois-vincent/clingon
9003314f49979d593a48ff7d0288f62aff8e3872
[ "BSD-3-Clause" ]
4
2015-04-27T14:36:12.000Z
2016-07-20T08:23:21.000Z
examples/options.py
francois-vincent/clingon
9003314f49979d593a48ff7d0288f62aff8e3872
[ "BSD-3-Clause" ]
1
2018-03-04T18:16:08.000Z
2018-03-04T18:16:08.000Z
# encoding: utf-8 first_option = 'option from python file' second_option = 10
15.8
40
0.746835
12
79
4.75
0.833333
0
0
0
0
0
0
0
0
0
0
0.045455
0.164557
79
4
41
19.75
0.818182
0.189873
0
0
0
0
0.370968
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
cb461845807a43b2a95e51fc5455fcfefaf49535
676
py
Python
fastmri_recon/models/__init__.py
EiffL/fastmri-reproducible-benchmark
2adf60b04a92f902b8a309098219e03b5a674f22
[ "MIT" ]
null
null
null
fastmri_recon/models/__init__.py
EiffL/fastmri-reproducible-benchmark
2adf60b04a92f902b8a309098219e03b5a674f22
[ "MIT" ]
null
null
null
fastmri_recon/models/__init__.py
EiffL/fastmri-reproducible-benchmark
2adf60b04a92f902b8a309098219e03b5a674f22
[ "MIT" ]
null
null
null
"""Neural networks for MRI reconstruction References ---------- ..[A2017] Jonas Adler, Ozan Oktem (2017) Learned Primal-dual Reconstruction https://arxiv.org/abs/1707.06474 ..[C2019] Jing Cheng et al. (2019) Model Learning: Primal Dual Networks for Fast MR imaging https://arxiv.org/abs/1908.02426 .....
30.727273
114
0.724852
93
676
5.268817
0.688172
0.089796
0.104082
0.097959
0.122449
0
0
0
0
0
0
0.11775
0.158284
676
21
115
32.190476
0.743409
0.988166
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
cb4ccfdb5c87c3ee2ab07fb4c9ec484faf39b8ee
1,964
py
Python
bucky3/carbon.py
smarkets/bucky3
7bca15c28d3e55027b831923c43a811da9d62ecb
[ "Apache-2.0" ]
null
null
null
bucky3/carbon.py
smarkets/bucky3
7bca15c28d3e55027b831923c43a811da9d62ecb
[ "Apache-2.0" ]
null
null
null
bucky3/carbon.py
smarkets/bucky3
7bca15c28d3e55027b831923c43a811da9d62ecb
[ "Apache-2.0" ]
1
2022-03-26T12:11:29.000Z
2022-03-26T12:11:29.000Z
# -*- coding: utf-8 - # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software ...
37.769231
110
0.660387
265
1,964
4.784906
0.516981
0.047319
0.049685
0.016562
0
0
0
0
0
0
0
0.009132
0.21945
1,964
51
111
38.509804
0.818004
0.327902
0
0
0
0
0.037606
0
0
0
0
0.019608
0
1
0.230769
false
0
0.038462
0.038462
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
2
cb6205c8ec5e00de0d853e3a278cacc23319bf78
3,369
py
Python
tests/uuidtext_file.py
Nnidyu/UnifiedLogReader
f10d358789a792a92b58c1fb9c15995e564d312c
[ "MIT" ]
52
2019-01-30T03:45:46.000Z
2022-02-25T22:35:11.000Z
tests/uuidtext_file.py
Nnidyu/UnifiedLogReader
f10d358789a792a92b58c1fb9c15995e564d312c
[ "MIT" ]
15
2019-02-02T11:10:17.000Z
2020-09-14T01:21:35.000Z
tests/uuidtext_file.py
joachimmetz/UnifiedLogReader
d48f0a54a404642333ab6e89a177e4c09c495042
[ "MIT" ]
14
2019-02-02T08:13:18.000Z
2021-12-10T15:06:10.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- '''Tests for the uuidtext file parser.''' from __future__ import unicode_literals import os import unittest import uuid from UnifiedLog import uuidtext_file from UnifiedLog import virtual_file from tests import test_lib class UuidtextTest(test_lib.BaseTestCase): '...
38.724138
79
0.714159
348
3,369
6.66954
0.258621
0.062042
0.041361
0.039638
0.766911
0.723826
0.698837
0.671693
0.671693
0.671693
0
0.053986
0.180766
3,369
86
80
39.174419
0.786957
0.067676
0
0.636364
0
0
0.254656
0.227681
0
0
0.003211
0
0.2
1
0.054545
false
0
0.127273
0
0.2
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
cb654699668d7e03d26d3470d65b85654199fdb7
505
py
Python
serverless_tasks/_wrapper.py
cybojenix/serverless-tasks
af14606be2332844b7be70e72db609677f0b4bdf
[ "MIT" ]
null
null
null
serverless_tasks/_wrapper.py
cybojenix/serverless-tasks
af14606be2332844b7be70e72db609677f0b4bdf
[ "MIT" ]
1
2021-09-28T05:32:27.000Z
2021-09-28T05:32:27.000Z
serverless_tasks/_wrapper.py
cybojenix/serverless-tasks
af14606be2332844b7be70e72db609677f0b4bdf
[ "MIT" ]
null
null
null
from typing import Callable, Optional, Type, TYPE_CHECKING, TypeVar, cast from ._types import ITask _F = TypeVar("_F") def task(**kwargs) -> Callable[[_F], "ITask[_F]"]: # We're using ITask to spoof the callable type, so ignore # that Task behaves subtly different. # PEP612 should solve this for us. ...
22.954545
73
0.655446
70
505
4.528571
0.571429
0.056782
0
0
0
0
0
0
0
0
0
0.007692
0.227723
505
21
74
24.047619
0.805128
0.271287
0
0
0
0
0.030303
0
0
0
0
0
0
1
0.3
false
0
0.2
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
cb74413adb53524fa4c924f1688aeafebbede10f
11,071
py
Python
google/ads/google_ads/v6/proto/resources/detail_placement_view_pb2.py
jphanwebstaurant/google-ads-python
600812b2afcc4d57f00b47dfe436620ce50bfe9b
[ "Apache-2.0" ]
1
2021-04-09T04:28:47.000Z
2021-04-09T04:28:47.000Z
google/ads/google_ads/v6/proto/resources/detail_placement_view_pb2.py
jphanwebstaurant/google-ads-python
600812b2afcc4d57f00b47dfe436620ce50bfe9b
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v6/proto/resources/detail_placement_view_pb2.py
jphanwebstaurant/google-ads-python
600812b2afcc4d57f00b47dfe436620ce50bfe9b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v6/proto/resources/detail_placement_view.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection fr...
61.849162
1,451
0.789902
1,455
11,071
5.67079
0.165636
0.043995
0.050903
0.063023
0.692765
0.649133
0.524542
0.475458
0.390741
0.348564
0
0.037543
0.100172
11,071
178
1,452
62.196629
0.790705
0.028814
0
0.305732
1
0.019108
0.433225
0.288413
0
0
0
0
0
1
0
false
0
0.050955
0
0.050955
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
cb8161e83dd515054fe53dbb2834fbf7c7b3baf1
157
py
Python
Python/Learning-Python_Mark-Lutz/part1_getting-started/chapter4_introducing-python-object-types/list_comprehension_generator.py
yorks-dev/Learning-Software-Developement
4733f782705dda04cc790b0e16297241c23b2504
[ "MIT" ]
null
null
null
Python/Learning-Python_Mark-Lutz/part1_getting-started/chapter4_introducing-python-object-types/list_comprehension_generator.py
yorks-dev/Learning-Software-Developement
4733f782705dda04cc790b0e16297241c23b2504
[ "MIT" ]
null
null
null
Python/Learning-Python_Mark-Lutz/part1_getting-started/chapter4_introducing-python-object-types/list_comprehension_generator.py
yorks-dev/Learning-Software-Developement
4733f782705dda04cc790b0e16297241c23b2504
[ "MIT" ]
null
null
null
M = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] #Generate Generator Stream sum_stream = (sum(row) for row in M) for i in range(len(M)): print(next(sum_stream))
15.7
36
0.585987
31
157
2.903226
0.709677
0.2
0
0
0
0
0
0
0
0
0
0.072581
0.210191
157
9
37
17.444444
0.653226
0.159236
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
cb9547caadac2462f1d81a846e4378affe25ddbb
1,816
py
Python
fivegsim/graph/phybench.py
tud-ccc/mocasin-fivegsim
1944bb624b3d01aaa72c162503fbe68661f90086
[ "0BSD" ]
null
null
null
fivegsim/graph/phybench.py
tud-ccc/mocasin-fivegsim
1944bb624b3d01aaa72c162503fbe68661f90086
[ "0BSD" ]
null
null
null
fivegsim/graph/phybench.py
tud-ccc/mocasin-fivegsim
1944bb624b3d01aaa72c162503fbe68661f90086
[ "0BSD" ]
null
null
null
# Copyright (C) 2020 TU Dresden # Licensed under the ISC license (see LICENSE.txt) # # Authors: Julian Robledo class Phybench(object): """Phybench application structure. - micf : #Layers * #Antenna (#Antenna is base station parameter, so it would be independent of UE workload) - combwc :...
32.428571
77
0.645925
222
1,816
5.220721
0.432432
0.05522
0.062123
0.072476
0.227783
0.227783
0.227783
0.170837
0.103538
0.103538
0
0.008449
0.28304
1,816
55
78
33.018182
0.88172
0.649229
0
0.235294
0
0
0
0
0
0
0
0
0
1
0.235294
false
0
0
0
0.764706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
cba2f13fa8e744428c32256a0fd8d49f8d43afe5
11,822
py
Python
libs/coda/backend/python/gentransform.py
viridia/coda
40671b655c2d2368bdc5f3a9ae1a45b57305f7a3
[ "Apache-2.0" ]
1
2017-09-06T16:50:13.000Z
2017-09-06T16:50:13.000Z
libs/coda/backend/python/gentransform.py
viridia/coda
40671b655c2d2368bdc5f3a9ae1a45b57305f7a3
[ "Apache-2.0" ]
null
null
null
libs/coda/backend/python/gentransform.py
viridia/coda
40671b655c2d2368bdc5f3a9ae1a45b57305f7a3
[ "Apache-2.0" ]
null
null
null
from . import genvisitor from coda import types class Python3TransformGenerator(genvisitor.Python3VisitorGenerator): def __init__(self, options): super().__init__(options) self.visitorNames = set(cls.strip() for cls in options.getOption('transform').split(',')) def genStruct(self, fd, struct): '''@typ...
42.52518
107
0.635256
1,236
11,822
6.066343
0.100324
0.082155
0.044812
0.056015
0.738597
0.703388
0.697386
0.682449
0.660976
0.638437
0
0.002028
0.207664
11,822
277
108
42.6787
0.798441
0.058281
0
0.693548
0
0.016129
0.215736
0.117658
0
0
0
0
0
1
0.044355
false
0
0.008065
0
0.092742
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
cbb63ec7520201a01b60e9a949bf6ff66fdb2f50
4,318
py
Python
libs/vgc/core/tests/test_arithmetic.py
QtOpenGL/vgc
4c48e24884f0613cca5ff7094b7a1824cb44d97a
[ "ECL-2.0", "Apache-2.0" ]
218
2018-03-04T14:11:25.000Z
2022-03-25T01:19:47.000Z
libs/vgc/core/tests/test_arithmetic.py
QtOpenGL/vgc
4c48e24884f0613cca5ff7094b7a1824cb44d97a
[ "ECL-2.0", "Apache-2.0" ]
239
2018-02-21T11:26:04.000Z
2022-03-17T15:08:22.000Z
libs/vgc/core/tests/test_arithmetic.py
QtOpenGL/vgc
4c48e24884f0613cca5ff7094b7a1824cb44d97a
[ "ECL-2.0", "Apache-2.0" ]
21
2018-02-28T06:27:44.000Z
2022-03-02T15:31:53.000Z
#!/usr/bin/python3 # Copyright 2021 The VGC Developers # See the COPYRIGHT file at the top-level directory of this distribution # and at https://github.com/vgc/vgc/blob/master/COPYRIGHT # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License...
45.93617
74
0.656554
617
4,318
4.581848
0.181524
0.106473
0.178988
0.165547
0.679165
0.602759
0.577644
0.410329
0.350902
0.331447
0
0.063455
0.197082
4,318
93
75
46.430108
0.751947
0.162112
0
0.028571
0
0
0.002221
0
0
0
0
0
0.842857
1
0.028571
false
0
0.042857
0
0.085714
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
cbbdafe6a9e10c2e5d7ef5ada494ce44b28e5753
453
py
Python
simfin/revenue/__init__.py
CREEi-models/simfin
a7c632ac8bc8f795cd46028c1a49e65a1c1b44eb
[ "MIT" ]
1
2021-06-11T15:16:13.000Z
2021-06-11T15:16:13.000Z
simfin/revenue/__init__.py
CREEi-models/simfin
a7c632ac8bc8f795cd46028c1a49e65a1c1b44eb
[ "MIT" ]
1
2021-06-07T14:39:27.000Z
2021-06-07T14:39:27.000Z
simfin/revenue/__init__.py
CREEi-models/simfin
a7c632ac8bc8f795cd46028c1a49e65a1c1b44eb
[ "MIT" ]
1
2021-03-17T03:52:21.000Z
2021-03-17T03:52:21.000Z
from .consumption import consumption from .corporate_taxes import corporate_taxes from .corporate_credits import corporate_credits from .fss import fss from .gov_enterprises import gov_enterprises from .permits import permits from .personal_taxes import personal_taxes from .personal_credits import personal_credits ...
37.75
54
0.865342
58
453
6.517241
0.258621
0.087302
0
0
0
0
0
0
0
0
0
0
0.110375
453
11
55
41.181818
0.937965
0
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
0
0
0
2
cbcf05e9b3bd81e5cce970911ec679a89403bb05
387
py
Python
tsks24-sig/lab4/preamble.py
AxelGard/university-projects
0c9a6e785f1918c6ed0fd365b2d419c9f52edb50
[ "MIT" ]
2
2022-01-30T17:53:33.000Z
2022-02-03T23:34:36.000Z
tsks24-sig/lab4/preamble.py
AxelGard/university-projects
0c9a6e785f1918c6ed0fd365b2d419c9f52edb50
[ "MIT" ]
null
null
null
tsks24-sig/lab4/preamble.py
AxelGard/university-projects
0c9a6e785f1918c6ed0fd365b2d419c9f52edb50
[ "MIT" ]
null
null
null
import numpy as np from scipy import signal, misc, ndimage import cv2 from matplotlib import pyplot as plt plt.rcParams['image.interpolation'] = 'nearest' import jpeglab as jl class Error: # Also exists in preamble def __init__(self, original, altered): self.mse = np.mean((original-altered)**2) sel...
32.25
77
0.72093
59
387
4.661017
0.694915
0.109091
0
0
0
0
0
0
0
0
0
0.031447
0.178295
387
11
78
35.181818
0.833333
0.129199
0
0
0
0
0.077844
0
0
0
0
0
0
1
0.1
false
0
0.5
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
cbcff58eb1f0b014cce7d9222436f4a04116df83
3,358
py
Python
py_class/vec.py
StanLepunK/PYTHON_basics
da803bd72824de281677f3ba4c5d7bd44a7460fb
[ "MIT" ]
null
null
null
py_class/vec.py
StanLepunK/PYTHON_basics
da803bd72824de281677f3ba4c5d7bd44a7460fb
[ "MIT" ]
null
null
null
py_class/vec.py
StanLepunK/PYTHON_basics
da803bd72824de281677f3ba4c5d7bd44a7460fb
[ "MIT" ]
null
null
null
import numbers class vec: instance = 0 def __init__(self, elem): self.value = [] if isinstance(elem, list): self.value = elem self.size = len(elem) elif isinstance(elem, tuple): self.size = abs(elem[0] - elem[1]) index = 0 start = 0 if(elem[0] > elem[1]): start = elem[1] else: star...
21.525641
54
0.6352
482
3,358
4.317427
0.099585
0.073042
0.08073
0.103796
0.747237
0.727535
0.531475
0.504565
0.504565
0.504565
0
0.011873
0.222454
3,358
155
55
21.664516
0.78514
0.066706
0
0.568966
0
0
0.003845
0
0
0
0
0
0
1
0.163793
false
0
0.008621
0.103448
0.344828
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
cbd371e2ca97134e91ea400baa3a780ca1e35bfa
466
py
Python
pyalgo/test/test_fibonacci.py
4RCAN3/PyAlgo
284c98aa74b1d9d55b2c64ead6e100b5cc68aa4e
[ "MIT" ]
1
2021-03-06T15:35:08.000Z
2021-03-06T15:35:08.000Z
pyalgo/test/test_fibonacci.py
4RCAN3/PyAlgo
284c98aa74b1d9d55b2c64ead6e100b5cc68aa4e
[ "MIT" ]
null
null
null
pyalgo/test/test_fibonacci.py
4RCAN3/PyAlgo
284c98aa74b1d9d55b2c64ead6e100b5cc68aa4e
[ "MIT" ]
null
null
null
''' module for testing maths.fibonacci_numbers.py from pyalgo math module ''' import sys import os sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.realpath(__file__)))) import unittest from maths.fibonnaci_numbers import fibonacci class TestFibonacci(unittest.TestCase): def test_fibonacci(self): ...
17.259259
80
0.727468
61
466
5.311475
0.606557
0.055556
0.080247
0.092593
0.098765
0
0
0
0
0
0
0.017767
0.154506
466
27
81
17.259259
0.804569
0.148069
0
0
0
0
0.022472
0
0
0
0
0
0.090909
1
0.090909
false
0
0.363636
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
cbd56758df07ad3cd1c8908d0b217f9a330d5c97
135
py
Python
housing_ml_model/__init__.py
elroykanye/housing_ml_model-ek
a4a6ac4353d802c1a2236d7b21763291d6fc0a19
[ "MIT" ]
null
null
null
housing_ml_model/__init__.py
elroykanye/housing_ml_model-ek
a4a6ac4353d802c1a2236d7b21763291d6fc0a19
[ "MIT" ]
null
null
null
housing_ml_model/__init__.py
elroykanye/housing_ml_model-ek
a4a6ac4353d802c1a2236d7b21763291d6fc0a19
[ "MIT" ]
null
null
null
"""Top-level package for housing-ml-model.""" __author__ = """Elroy Kanye""" __email__ = 'elroykanye@gmail.com' __version__ = '0.1.0'
22.5
45
0.688889
18
135
4.5
0.944444
0
0
0
0
0
0
0
0
0
0
0.025
0.111111
135
5
46
27
0.65
0.288889
0
0
0
0
0.4
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1dac2aa85b340e3fdf6c570f8b5e2e8a4b774670
2,649
py
Python
dummy_vec_env.py
smearle/gym-micropolis
42b338ee050fb654e1c74dfe59bf5f03f03d39a4
[ "MIT" ]
8
2018-08-22T21:10:33.000Z
2019-07-08T05:39:37.000Z
dummy_vec_env.py
smearle/gym-micropolis
42b338ee050fb654e1c74dfe59bf5f03f03d39a4
[ "MIT" ]
4
2018-11-08T13:55:53.000Z
2019-07-07T17:49:12.000Z
dummy_vec_env.py
smearle/gym-micropolis
42b338ee050fb654e1c74dfe59bf5f03f03d39a4
[ "MIT" ]
8
2018-09-11T17:57:54.000Z
2019-07-05T21:32:25.000Z
import numpy as np import gym from baselines.common.vec_env import DummyVecEnv class DDummyVecEnv(DummyVecEnv): '''Deals with multiple environments sequentially. With extras.''' #TODO: test with multiple envs def __init__(self, env_fns): DummyVecEnv.__init__(self, env_fns) self.init_storage...
32.703704
137
0.607022
378
2,649
4.044974
0.214286
0.082407
0.052322
0.054938
0.340092
0.316547
0.291694
0.215827
0.183126
0.183126
0
0.003155
0.281993
2,649
80
138
33.1125
0.800736
0.033598
0
0.306452
0
0
0
0
0
0
0
0.0125
0
1
0.225806
false
0
0.048387
0.032258
0.354839
0.016129
0
0
0
null
0
0
0
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
0
0
0
2
1dcc337bea5da4061fb020c511f84b8aa0020ce1
1,527
py
Python
kontranto_igra/migrations/0001_initial.py
zd-mioc/Kontranto
928f8e6ca1c8c136878d0dd036321053ab461049
[ "MIT" ]
1
2020-07-19T11:11:08.000Z
2020-07-19T11:11:08.000Z
kontranto_igra/migrations/0001_initial.py
zd-mioc/Kontranto
928f8e6ca1c8c136878d0dd036321053ab461049
[ "MIT" ]
null
null
null
kontranto_igra/migrations/0001_initial.py
zd-mioc/Kontranto
928f8e6ca1c8c136878d0dd036321053ab461049
[ "MIT" ]
1
2021-03-01T08:39:41.000Z
2021-03-01T08:39:41.000Z
# Generated by Django 3.1.4 on 2020-12-22 20:34 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Game', fie...
38.175
119
0.559267
149
1,527
5.550336
0.422819
0.126965
0.152358
0.203144
0.470375
0.405079
0.322854
0.191052
0.191052
0.191052
0
0.032045
0.305174
1,527
39
120
39.153846
0.747408
0.02947
0
0.3125
1
0
0.115892
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.1875
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1de11b9fb02f0fc25f0298e9cc720ac39f5f8ba5
3,516
py
Python
wingback/db.py
Torvaney/wingback
c3112371841042199d59ec01c7867e5fff5d25e2
[ "MIT" ]
12
2021-06-10T11:11:33.000Z
2022-03-10T19:17:00.000Z
wingback/db.py
Torvaney/wingback
c3112371841042199d59ec01c7867e5fff5d25e2
[ "MIT" ]
null
null
null
wingback/db.py
Torvaney/wingback
c3112371841042199d59ec01c7867e5fff5d25e2
[ "MIT" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/db.ipynb (unless otherwise specified). __all__ = ['DB', 'queries', 'evolve_ignore', 'prefixed_snake_case', 'EVOLVE_IGNORE_TABLES', 'BaseModel', 'League', 'Season', 'Matches', 'Shots', 'Resimulation', 'Backtest'] # Cell import functools import peewee import p...
24.416667
114
0.670648
441
3,516
5.244898
0.396825
0.038046
0.044099
0.083009
0.249892
0.205361
0.130999
0.130999
0.10722
0.055339
0
0
0.23521
3,516
144
115
24.416667
0.860171
0.339875
0
0.423729
1
0
0.069665
0
0
0
0
0
0
1
0.033898
false
0
0.101695
0.016949
0.728814
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
1deb4dc5615c00aedb0287293fd6200a05b18c62
20,839
py
Python
python/lvmpwi/pwi/pwi4_client.py
sdss/lvmpwi
75ac69557c88da71d6be577e8f626c99ac5e6165
[ "BSD-3-Clause" ]
null
null
null
python/lvmpwi/pwi/pwi4_client.py
sdss/lvmpwi
75ac69557c88da71d6be577e8f626c99ac5e6165
[ "BSD-3-Clause" ]
10
2021-07-07T13:23:25.000Z
2021-12-02T14:05:24.000Z
python/lvmpwi/pwi/pwi4_client.py
sdss/lvmpwi
75ac69557c88da71d6be577e8f626c99ac5e6165
[ "BSD-3-Clause" ]
1
2021-12-14T00:31:19.000Z
2021-12-14T00:31:19.000Z
try: # Python 3.x version from urllib.parse import urlencode from urllib.request import urlopen from urllib.error import HTTPError except ImportError: # Python 2.7 version from urllib import urlencode from urllib2 import urlopen, HTTPError class PWI4: """ Client to the P...
42.184211
144
0.65579
2,796
20,839
4.66166
0.150215
0.032223
0.057388
0.067669
0.447292
0.359828
0.299294
0.202394
0.142704
0.115544
0
0.019522
0.245357
20,839
493
145
42.269777
0.809297
0.223859
0
0.078067
0
0
0.157535
0.083322
0
0
0
0.002028
0
1
0.219331
false
0.007435
0.022305
0.144981
0.475836
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
1dec3dcbca54892decaf35f9fe67ada384a18760
2,942
py
Python
schoolport/app_core/models_baseparams.py
yotink522/schoolport
c6cfd0230ca05fb44f77c2f27c7e200828547bd5
[ "MIT" ]
null
null
null
schoolport/app_core/models_baseparams.py
yotink522/schoolport
c6cfd0230ca05fb44f77c2f27c7e200828547bd5
[ "MIT" ]
null
null
null
schoolport/app_core/models_baseparams.py
yotink522/schoolport
c6cfd0230ca05fb44f77c2f27c7e200828547bd5
[ "MIT" ]
null
null
null
from django.db import models from django.conf import settings from django.utils.translation import gettext_lazy as _ # 어떤 경로를 통하여 이체계에 가입하게 되였는지를 가지고있는 기초파라메터 테이블 class TB_Param_SourceOfStudent(models.Model): source_name_en = models.CharField(_("Student Name EN"), max_length=255, null=True) source_name_zh = mo...
40.861111
148
0.645479
372
2,942
4.822581
0.247312
0.084727
0.053512
0.06243
0.43757
0.429208
0.394649
0.343924
0.343924
0.319955
0
0.021354
0.251869
2,942
71
149
41.43662
0.79373
0.10877
0
0.369565
0
0
0.041602
0
0
0
0
0
0
1
0.152174
false
0
0.065217
0.152174
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
1deddfc46c5c3059964a1daf3c88df49c4ef3707
1,482
py
Python
roster/factories.py
AmoleR/otis-web
afcb1f595675bd1478e231b9de2579d02234a076
[ "MIT" ]
null
null
null
roster/factories.py
AmoleR/otis-web
afcb1f595675bd1478e231b9de2579d02234a076
[ "MIT" ]
null
null
null
roster/factories.py
AmoleR/otis-web
afcb1f595675bd1478e231b9de2579d02234a076
[ "MIT" ]
null
null
null
from core.factories import SemesterFactory, UserFactory from django.contrib.auth import get_user_model from factory.declarations import LazyAttribute, SubFactory from factory.django import DjangoModelFactory from factory.faker import Faker from roster.models import Assistant, Invoice, RegistrationContainer, Student, S...
23.15625
118
0.794872
153
1,482
7.601307
0.45098
0.118659
0.139295
0.16509
0
0
0
0
0
0
0
0.004662
0.131579
1,482
63
119
23.52381
0.89899
0.002699
0
0.272727
0
0
0.023713
0
0
0
0
0
0
1
0
false
0.022727
0.136364
0
0.840909
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
380ed1878919c7296c45a2024e5bec83f673b569
557
py
Python
configs/self6dpp/ssYCBV/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_woDepth_edgeLower_refinePM10/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_woDepth_edgeLower_refinePM10_04_05TomatoSoupCan.py
THU-DA-6D-Pose-Group/self6dpp
c267cfa55e440e212136a5e9940598720fa21d16
[ "Apache-2.0" ]
33
2021-12-15T07:11:47.000Z
2022-03-29T08:58:32.000Z
configs/self6dpp/ssYCBV/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_woDepth_edgeLower_refinePM10/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_woDepth_edgeLower_refinePM10_04_05TomatoSoupCan.py
THU-DA-6D-Pose-Group/self6dpp
c267cfa55e440e212136a5e9940598720fa21d16
[ "Apache-2.0" ]
3
2021-12-15T11:39:54.000Z
2022-03-29T07:24:23.000Z
configs/self6dpp/ssYCBV/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_woDepth_edgeLower_refinePM10/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_woDepth_edgeLower_refinePM10_04_05TomatoSoupCan.py
THU-DA-6D-Pose-Group/self6dpp
c267cfa55e440e212136a5e9940598720fa21d16
[ "Apache-2.0" ]
null
null
null
_base_ = "./ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_woDepth_edgeLower_refinePM10_01_02MasterChefCan.py" OUTPUT_DIR = ( "output/self6dpp/ssYCBV/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_woDepth_edgeLower_refinePM10/04_05TomatoSoupCan" ) DATASETS = dict( TRAIN=("ycbv_005_tomato_soup_can_train_real_aligned_K...
46.416667
159
0.856373
71
557
6.056338
0.676056
0.032558
0.069767
0.116279
0.413953
0.413953
0.297674
0.297674
0.297674
0
0
0.08046
0.062837
557
11
160
50.636364
0.743295
0
0
0
0
0
0.782765
0.782765
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
381cd8f6223247fad0dc7b623b01a5fd933ee7b3
4,000
py
Python
saleor-env/lib/python3.7/site-packages/django_extensions/templatetags/text_tags.py
tadartefactorist/mask
7967dd4ad39e3d26ac516719faefb40e00a8cbff
[ "BSD-3-Clause" ]
null
null
null
saleor-env/lib/python3.7/site-packages/django_extensions/templatetags/text_tags.py
tadartefactorist/mask
7967dd4ad39e3d26ac516719faefb40e00a8cbff
[ "BSD-3-Clause" ]
10
2020-06-05T21:41:01.000Z
2022-02-10T07:33:38.000Z
Lib/site-packages/django_extensions/templatetags/text_tags.py
Vj-Ydv/jobs
9b1f65dfb91cf4d8d32b674cf4e14713b31beee1
[ "MIT" ]
null
null
null
import string from django import template from django.template.defaultfilters import stringfilter register = template.Library() @register.filter(is_safe=True) @stringfilter def capwords(value, sep=None): """ Split the argument into words using str.split(), capitalize each word using str.capitalize(), an...
20.20202
101
0.748
526
4,000
5.65019
0.209125
0.141319
0.107672
0.13459
0.461306
0.383244
0.362382
0.103297
0.032301
0
0
0.000582
0.141
4,000
197
102
20.304569
0.864377
0.15325
0
0.479675
0
0
0
0
0
0
0
0
0
1
0.243902
false
0
0.02439
0.219512
0.512195
0.01626
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
382088e3dd38c20a0b2a4743dee54f14f7db167f
3,255
py
Python
ocandata/_nbdev.py
ocan-data/ocandata
8334300e573de013584b7040b5c153352cc56f0e
[ "Apache-2.0" ]
null
null
null
ocandata/_nbdev.py
ocan-data/ocandata
8334300e573de013584b7040b5c153352cc56f0e
[ "Apache-2.0" ]
2
2021-05-20T12:10:26.000Z
2021-09-28T00:06:54.000Z
ocandata/_nbdev.py
ocan-data/ocandata
8334300e573de013584b7040b5c153352cc56f0e
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED BY NBDEV! DO NOT EDIT! __all__ = ["index", "modules", "custom_doc_links", "git_url"] index = {"FORMAT": "00_config.ipynb", "logging.basicConfig(format": "00_config.ipynb", "logger": "07_statscan.ipynb", "env": "00_config.ipynb", "CACHE_DIR": "00_config.ipynb", ...
40.185185
61
0.603687
349
3,255
5.292264
0.326648
0.06497
0.097455
0.049811
0.116946
0
0
0
0
0
0
0.049313
0.239939
3,255
80
62
40.6875
0.697251
0.01106
0
0
1
0
0.609885
0.084551
0
0
0
0
0
1
0.013699
false
0
0
0.013699
0.013699
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3824e96295a22e2b24ff89dda1d51b1e0005a118
80
py
Python
pypibot/__init__.py
fatmansaico/Pypi-Bot
87912c30e0493bdb5380c7ce40c2544a565d6acc
[ "MIT" ]
null
null
null
pypibot/__init__.py
fatmansaico/Pypi-Bot
87912c30e0493bdb5380c7ce40c2544a565d6acc
[ "MIT" ]
null
null
null
pypibot/__init__.py
fatmansaico/Pypi-Bot
87912c30e0493bdb5380c7ce40c2544a565d6acc
[ "MIT" ]
null
null
null
""" Pypi Bot Copyright 2021-present fatmansaico """ __author__ = "fatmansaioc"
11.428571
34
0.7375
8
80
6.875
1
0
0
0
0
0
0
0
0
0
0
0.057971
0.1375
80
7
35
11.428571
0.73913
0.5375
0
0
0
0
0.392857
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
382613ebea5a1d1ad5e9a0acb399e0b697974313
363,135
py
Python
pysnmp-with-texts/HUAWEI-BRAS-SBC-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/HUAWEI-BRAS-SBC-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/HUAWEI-BRAS-SBC-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module HUAWEI-BRAS-SBC-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HUAWEI-BRAS-SBC-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:43:26 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default...
148.097471
22,282
0.784719
39,362
363,135
7.239241
0.036533
0.064685
0.113198
0.01189
0.456468
0.324165
0.296391
0.281964
0.254932
0.241512
0
0.077509
0.079587
363,135
2,451
22,283
148.157895
0.775041
0.001027
0
0.005747
0
0.005337
0.194342
0.047603
0
0
0
0
0
1
0
false
0.011084
0.003284
0
0.015599
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3830ebc80711393268b14ec784c84d396e0763fa
516
py
Python
script/py_easy/basic_template.py
harshganatra111/products
8caa81fa9ae2f234cdf75325eb7b84cfbe15f60c
[ "MIT" ]
null
null
null
script/py_easy/basic_template.py
harshganatra111/products
8caa81fa9ae2f234cdf75325eb7b84cfbe15f60c
[ "MIT" ]
null
null
null
script/py_easy/basic_template.py
harshganatra111/products
8caa81fa9ae2f234cdf75325eb7b84cfbe15f60c
[ "MIT" ]
1
2020-10-01T07:14:16.000Z
2020-10-01T07:14:16.000Z
def prompt(q): que = q + ": " ans = input(que) return ans; def count(num): return range(num + 1) def printForrmated(text, format): if format.lower() == "curved brackets": print("(" + text + ")") elif format.lower() == "square brakets": print("[" + text + "]") elif format.lower() == "curly braket...
23.454545
42
0.544574
59
516
4.762712
0.457627
0.192171
0.185053
0.270463
0.391459
0.220641
0
0
0
0
0
0.002525
0.232558
516
21
43
24.571429
0.707071
0
0
0
0
0
0.155039
0
0
0
0
0
0
1
0.157895
false
0
0
0.052632
0.263158
0.368421
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
384706aa49ad367da81bc87de099e14f7a48da6e
240
py
Python
api_test.py
avryhof/ambient_aprs
6231a3f11fcc73937bef48c0202a96c5193c18a4
[ "MIT" ]
11
2018-12-29T18:38:54.000Z
2022-01-10T18:58:46.000Z
api_test.py
avryhof/ambient_aprs
6231a3f11fcc73937bef48c0202a96c5193c18a4
[ "MIT" ]
6
2018-12-29T18:42:25.000Z
2019-12-25T11:40:12.000Z
api_test.py
avryhof/ambient_aprs
6231a3f11fcc73937bef48c0202a96c5193c18a4
[ "MIT" ]
1
2019-06-14T18:54:39.000Z
2019-06-14T18:54:39.000Z
import pprint from ambient_api.ambientapi import AmbientAPI weather = AmbientAPI() devices = weather.get_devices() for device in devices: print(str(device)) pprint.pprint(device.last_data) pprint.pprint(device.get_data())
16
45
0.75
31
240
5.677419
0.516129
0.136364
0.204545
0
0
0
0
0
0
0
0
0
0.154167
240
14
46
17.142857
0.866995
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.5
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
3847e57c322cddd20e492e08f62336ff941c35db
1,104
py
Python
issue/migrations/0002_auto_20180329_1522.py
thinkt4nk/django-issue
4976e7c4d187cfedbc94fe3fcc4e4eacaed40ab3
[ "MIT" ]
8
2015-10-07T22:10:01.000Z
2020-01-30T16:48:32.000Z
issue/migrations/0002_auto_20180329_1522.py
thinkt4nk/django-issue
4976e7c4d187cfedbc94fe3fcc4e4eacaed40ab3
[ "MIT" ]
6
2015-03-27T17:46:13.000Z
2019-08-23T18:52:37.000Z
issue/migrations/0002_auto_20180329_1522.py
thinkt4nk/django-issue
4976e7c4d187cfedbc94fe3fcc4e4eacaed40ab3
[ "MIT" ]
9
2015-03-27T13:30:38.000Z
2020-03-12T21:13:00.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2018-03-29 15:22 from __future__ import unicode_literals import django.contrib.postgres.fields.jsonb from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('issue', '0001_initial'), ] operations = [ ...
29.837838
88
0.611413
110
1,104
6.036364
0.427273
0.097892
0.158133
0.203313
0.582831
0.534639
0.534639
0.465361
0.465361
0.465361
0
0.027194
0.26721
1,104
36
89
30.666667
0.793572
0.0625
0
0.482759
1
0
0.091085
0
0
0
0
0
0
1
0
false
0
0.103448
0
0.206897
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
69a65a173cbb21739c826c6d193d5f68bfc52ab4
891
py
Python
test.py
dmandge/Behavioral-Cloning
129d6428a083269f03c74adfbf4ebaf7c3aae669
[ "MIT" ]
null
null
null
test.py
dmandge/Behavioral-Cloning
129d6428a083269f03c74adfbf4ebaf7c3aae669
[ "MIT" ]
null
null
null
test.py
dmandge/Behavioral-Cloning
129d6428a083269f03c74adfbf4ebaf7c3aae669
[ "MIT" ]
null
null
null
#loading dataset provided Udacity from urllib.request import urlretrieve import os import cv2 import numpy as np import sklearn from sklearn.preprocessing import LabelBinarizer from zipfile import ZipFile from PIL import Image #change directory to where Udacity recorded data is saved import csv # os.chdir("/opt/carn...
24.081081
57
0.704826
124
891
4.935484
0.532258
0.044118
0.045752
0
0
0
0
0
0
0
0
0.034819
0.194164
891
36
58
24.75
0.817549
0.459035
0
0
0
0
0.074786
0.057692
0
0
0
0
0
1
0.066667
false
0
0.6
0
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
69b397bd7306e93f7fb05a14da2d0e9f2272ed26
285
py
Python
lib/windows/common/CommandHandler.py
ashiscs/Cinfo
7e8fa8ce19f323425fab6117e68ac2678b4e17dc
[ "MIT" ]
2
2019-08-04T17:07:15.000Z
2020-02-27T21:10:33.000Z
lib/windows/common/CommandHandler.py
ashiscs/Cinfo
7e8fa8ce19f323425fab6117e68ac2678b4e17dc
[ "MIT" ]
null
null
null
lib/windows/common/CommandHandler.py
ashiscs/Cinfo
7e8fa8ce19f323425fab6117e68ac2678b4e17dc
[ "MIT" ]
null
null
null
from subprocess import getoutput class CommandHandler: def __init__(self,command_text=""): self.command_text=command_text def getCmdOutput(self,cmdtext): try: return getoutput(cmdtext) except Exception as ex: return ex
23.75
39
0.635088
30
285
5.8
0.633333
0.189655
0.172414
0
0
0
0
0
0
0
0
0
0.301754
285
11
40
25.909091
0.874372
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
69cecac9423f33f416f8cdf6ac6df7c885cbbf45
4,132
py
Python
pyaz/openshift/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/openshift/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/openshift/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
1
2022-02-03T09:12:01.000Z
2022-02-03T09:12:01.000Z
''' Manage Azure Red Hat OpenShift 3.11 clusters. ''' from .. pyaz_utils import _call_az from . import monitor def create(name, resource_group, aad_client_app_id=None, aad_client_app_secret=None, aad_tenant_id=None, compute_count=None, compute_vm_size=None, customer_admin_group_id=None, location=None, no_wait=None, s...
39.730769
290
0.704743
559
4,132
5.08229
0.209302
0.082365
0.027103
0.049278
0.642027
0.600845
0.581837
0.560014
0.560014
0.517775
0
0.006339
0.198209
4,132
103
291
40.116505
0.851192
0.687076
0
0
0
0
0.105523
0
0
0
0
0
0
1
0.428571
false
0
0.142857
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
69e33f9a35ff9270546fcc6ae7125edc68ee1c8a
13,500
py
Python
pysnmp/WWP-LEOS-RADIUS-CLIENT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/WWP-LEOS-RADIUS-CLIENT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/WWP-LEOS-RADIUS-CLIENT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module WWP-LEOS-RADIUS-CLIENT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/WWP-LEOS-RADIUS-CLIENT-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:31:32 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version ...
142.105263
2,867
0.801259
1,290
13,500
8.383721
0.151938
0.011281
0.011096
0.014424
0.339991
0.251503
0.175312
0.169209
0.169209
0.169209
0
0.075787
0.072444
13,500
94
2,868
143.617021
0.787893
0.02563
0
0
0
0
0.092659
0.009585
0
0
0
0
0
1
0
false
0
0.093023
0
0.139535
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
69ee0192804ca4cbdfb0d054fbe4e92e37020bb9
2,548
py
Python
blsqpy/dhis2csv.py
BLSQ/blsqpy
52fcbd655780e78eccceb2a61280262194c2416c
[ "MIT" ]
null
null
null
blsqpy/dhis2csv.py
BLSQ/blsqpy
52fcbd655780e78eccceb2a61280262194c2416c
[ "MIT" ]
7
2018-12-18T10:11:34.000Z
2019-03-27T07:09:38.000Z
blsqpy/dhis2csv.py
BLSQ/blsqpy
52fcbd655780e78eccceb2a61280262194c2416c
[ "MIT" ]
2
2018-12-12T12:31:40.000Z
2019-02-25T12:34:48.000Z
""" Assume data is available in exported format on s3 for eg generated from Airflow export or manually by Dhis2 """ class Dhis2CsvHook: def __init__(self, s3_reports, dhis2_conn_id): self.s3_reports = s3_reports self.dhis2_conn_id = dhis2_conn_id def organisation_unit_structure(self): ...
42.466667
119
0.649137
313
2,548
5.086262
0.450479
0.028266
0.034548
0.028266
0
0
0
0
0
0
0
0.01487
0.260989
2,548
59
120
43.186441
0.830589
0.582025
0
0
1
0
0.138284
0.115237
0
0
0
0
0
1
0.333333
false
0
0
0.066667
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
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
0e159fe15e8a799d3ba255fb39263b66ef4a7f78
1,775
py
Python
tests/url_parsing_test.py
varju/awscurl
6d4b7bbc9a73bbf10a652bf917163a20bc88a061
[ "MIT" ]
491
2015-10-21T21:05:29.000Z
2022-03-31T14:40:08.000Z
tests/url_parsing_test.py
varju/awscurl
6d4b7bbc9a73bbf10a652bf917163a20bc88a061
[ "MIT" ]
85
2015-12-22T17:18:23.000Z
2022-03-03T17:07:28.000Z
tests/url_parsing_test.py
varju/awscurl
6d4b7bbc9a73bbf10a652bf917163a20bc88a061
[ "MIT" ]
84
2015-12-22T05:31:15.000Z
2022-02-11T18:55:46.000Z
#!/usr/bin/env python from unittest import TestCase from awscurl import awscurl __author__ = 'iokulist' class TestUriParsing(TestCase): maxDiff = None def test(self, *args, **kvargs): self.assertEqual(awscurl.url_path_to_dict("http://google.com"), {'host': 'google.com', ...
34.803922
97
0.376338
130
1,775
5.015385
0.284615
0.110429
0.134969
0.153374
0.711656
0.711656
0.533742
0.42638
0.42638
0.42638
0
0.008715
0.482817
1,775
50
98
35.5
0.701525
0.011268
0
0.684211
0
0
0.221335
0
0
0
0
0
0.105263
1
0.026316
false
0.157895
0.052632
0
0.131579
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
3856b03b1371a37ed370bb90556a20acc037b2ac
624
py
Python
music/models.py
bvermeulen/Django
e4ef21c2f1fb7d026207c25bd443252c6df354bf
[ "MIT" ]
4
2018-12-25T13:56:18.000Z
2019-12-22T16:04:50.000Z
music/models.py
bvermeulen/Django
e4ef21c2f1fb7d026207c25bd443252c6df354bf
[ "MIT" ]
15
2019-12-10T06:22:19.000Z
2022-03-11T23:46:49.000Z
music/models.py
bvermeulen/Django
e4ef21c2f1fb7d026207c25bd443252c6df354bf
[ "MIT" ]
2
2021-02-16T18:52:19.000Z
2021-03-30T16:40:46.000Z
# models for music app from django.db import models from django.contrib.auth.models import User from django.db.models.deletion import CASCADE class MusicTrack(models.Model): track_id = models.CharField(max_length=30) track_artist = models.CharField(max_length=100) track_name = models.CharField(max_length=...
31.2
92
0.730769
88
624
4.965909
0.488636
0.06865
0.12357
0.16476
0.12357
0
0
0
0
0
0
0.015209
0.157051
624
19
93
32.842105
0.815589
0.032051
0
0
0
0.076923
0.143095
0
0
0
0
0
0
1
0.076923
false
0
0.230769
0.076923
0.923077
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
386448bc4c9b23305d3ba65156168c0d693aea91
397
py
Python
zvt/domain/quotes/coin/coin_1d_kdata.py
manstiilin/zvt
5a37c19f4837c0250b04d9f41ead910f42b72ce4
[ "MIT" ]
1
2019-12-09T12:13:09.000Z
2019-12-09T12:13:09.000Z
zvt/domain/quotes/coin/coin_1d_kdata.py
manstiilin/zvt
5a37c19f4837c0250b04d9f41ead910f42b72ce4
[ "MIT" ]
2
2019-12-05T00:46:06.000Z
2019-12-15T12:22:07.000Z
zvt/domain/quotes/coin/coin_1d_kdata.py
manstiilin/zvt
5a37c19f4837c0250b04d9f41ead910f42b72ce4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from sqlalchemy.ext.declarative import declarative_base from zvdata.contract import register_schema from zvt.domain.quotes.coin import CoinKdataCommon Coin1dKdataBase = declarative_base() class Coin1dKdata(Coin1dKdataBase, CoinKdataCommon): __tablename__ = 'coin_1d_kdata' register_sche...
26.466667
89
0.806045
46
397
6.652174
0.608696
0.098039
0.071895
0
0
0
0
0
0
0
0
0.019553
0.098237
397
14
90
28.357143
0.835196
0.052897
0
0
0
0
0.080214
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
38719afcc01b477ec643c795a4d82dada574aa33
2,156
py
Python
mak/libs/pyxx/cxx/grammar/template/name.py
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
4
2015-05-13T16:28:36.000Z
2017-05-24T15:34:14.000Z
mak/libs/pyxx/cxx/grammar/template/name.py
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
null
null
null
mak/libs/pyxx/cxx/grammar/template/name.py
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
1
2017-03-21T08:28:07.000Z
2017-03-21T08:28:07.000Z
""" simple-template-id: template-name < template-argument-list? > template-id: simple-template-id operator-function-id < template-argument-list? > literal-operator-id < template-argument-list? > template-name: identifier template-argument-list: template-argument ...? template-argument-lis...
26.617284
103
0.707328
262
2,156
5.778626
0.129771
0.221929
0.15852
0.129458
0.629458
0.493395
0.449802
0.349406
0.273448
0.203435
0
0.007515
0.1359
2,156
81
104
26.617284
0.805153
0.37384
0
0.342857
0
0.028571
0.520927
0.168909
0
0
0
0
0
1
0.171429
false
0.171429
0.114286
0
0.285714
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
3874dc62ce9925359da971fee0da25f05b336844
594
py
Python
src/cython/clean.py
charleskawczynski/SCAMPy
b43c8a639b6b3e185ac667cb64359de9029bc3af
[ "Apache-2.0" ]
1
2019-04-09T21:29:53.000Z
2019-04-09T21:29:53.000Z
src/cython/clean.py
charleskawczynski/SCAMPy
b43c8a639b6b3e185ac667cb64359de9029bc3af
[ "Apache-2.0" ]
null
null
null
src/cython/clean.py
charleskawczynski/SCAMPy
b43c8a639b6b3e185ac667cb64359de9029bc3af
[ "Apache-2.0" ]
null
null
null
import os import shutil def get_all_files_in_path_recursive(root_path): f = [[subdir + os.sep + x for x in files] for subdir, dirs, files in os.walk(root_path) if files] return [item for sublist in f for item in sublist] root_path = "./" all_files = get_all_files_in_path_recursive("./") all_files = [x for x in al...
28.285714
99
0.708754
112
594
3.553571
0.3125
0.241206
0.050251
0.070352
0.409548
0.409548
0.278894
0.278894
0.278894
0.278894
0
0
0.16835
594
20
100
29.7
0.805668
0
0
0
0
0
0.03367
0
0
0
0
0
0
1
0.058824
false
0.058824
0.117647
0
0.235294
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
387b58d37cfcc1be11ee30c018d21ba4ceac28ef
472
py
Python
pycmx/__init__.py
iluvcapra/pycmx
0cbd01f418ad247bc1475b4f8fa62bd1c9bb7164
[ "MIT" ]
10
2019-11-18T08:31:40.000Z
2021-09-21T22:47:29.000Z
pycmx/__init__.py
iluvcapra/pycmx
0cbd01f418ad247bc1475b4f8fa62bd1c9bb7164
[ "MIT" ]
4
2018-12-01T22:00:19.000Z
2018-12-29T22:08:44.000Z
pycmx/__init__.py
iluvcapra/pycmx
0cbd01f418ad247bc1475b4f8fa62bd1c9bb7164
[ "MIT" ]
3
2019-12-07T06:28:29.000Z
2021-06-24T15:00:53.000Z
# -*- coding: utf-8 -*- """ pycmx is a module for parsing CMX 3600-style EDLs. For more information and examples see README.md This module (c) 2018 Jamie Hardt. For more information on your rights to copy and reuse this software, refer to the LICENSE file included with the distribution. """ __version__ = '1.1.1' __au...
26.222222
75
0.762712
74
472
4.716216
0.675676
0.040115
0.103152
0
0
0
0
0
0
0
0
0.040506
0.163136
472
17
76
27.764706
0.843038
0.599576
0
0
0
0
0.088398
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
38bbcc5d30148e5b9e6a77938934a54fb1d30a8b
1,093
py
Python
quantdsl/domain/model/perturbation_dependencies.py
johnbywater/quantdsl
81c1c69f27e094a6ed0542b28cf1ac8fcce5494a
[ "BSD-3-Clause" ]
269
2015-01-09T00:56:41.000Z
2022-03-30T17:09:46.000Z
quantdsl/domain/model/perturbation_dependencies.py
johnbywater/quantdsl
81c1c69f27e094a6ed0542b28cf1ac8fcce5494a
[ "BSD-3-Clause" ]
22
2017-04-01T13:44:56.000Z
2018-09-10T11:48:56.000Z
quantdsl/domain/model/perturbation_dependencies.py
johnbywater/quantdsl
81c1c69f27e094a6ed0542b28cf1ac8fcce5494a
[ "BSD-3-Clause" ]
59
2015-01-09T00:56:50.000Z
2022-03-13T23:52:27.000Z
from eventsourcing.domain.model.entity import EventSourcedEntity, EntityRepository from eventsourcing.domain.model.events import publish class PerturbationDependencies(EventSourcedEntity): """ Perturbation requirements are the names of the perturbed values required by call requirement with this entity ID. ...
32.147059
117
0.784081
101
1,093
8.267327
0.415842
0.053892
0.05509
0.067066
0
0
0
0
0
0
0
0
0.153705
1,093
33
118
33.121212
0.902703
0.103385
0
0.15
0
0
0
0
0
0
0
0
0
1
0.15
false
0.15
0.1
0.05
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
38bc0a1d453cf2bd32f18748fb7e79fe3040c73d
172
py
Python
agape/exceptions.py
harryscholes/agape
16422f54994da9adc674edc590dd6df20d4715f3
[ "MIT" ]
null
null
null
agape/exceptions.py
harryscholes/agape
16422f54994da9adc674edc590dd6df20d4715f3
[ "MIT" ]
8
2018-05-04T17:59:58.000Z
2018-07-13T11:29:05.000Z
agape/exceptions.py
harryscholes/agape
16422f54994da9adc674edc590dd6df20d4715f3
[ "MIT" ]
null
null
null
"""Exceptions. """ class AgapeException(Exception): """Base AGAPE exception. """ class GeneOntologyError(AgapeException): """Gene Ontology exception. """
15.636364
40
0.656977
13
172
8.692308
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.186047
172
10
41
17.2
0.807143
0.395349
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
38c5fb6a212ec868a0b50b5bd3f363c095f443f9
180
py
Python
Eva/Applicatie/Backend/PythonPrototypes/out/production/PythonPrototypes/VariableNode.py
triplejingle/cito
43abeec8a68b7e8791b0d125fc8026dd58a0f7aa
[ "MIT" ]
null
null
null
Eva/Applicatie/Backend/PythonPrototypes/out/production/PythonPrototypes/VariableNode.py
triplejingle/cito
43abeec8a68b7e8791b0d125fc8026dd58a0f7aa
[ "MIT" ]
null
null
null
Eva/Applicatie/Backend/PythonPrototypes/out/production/PythonPrototypes/VariableNode.py
triplejingle/cito
43abeec8a68b7e8791b0d125fc8026dd58a0f7aa
[ "MIT" ]
null
null
null
class VariableNode(object): def __init__(self, key): self.left = None self.right = None self.key = key self.height = 1 self.value = []
20
28
0.533333
21
180
4.380952
0.619048
0.152174
0
0
0
0
0
0
0
0
0
0.008696
0.361111
180
8
29
22.5
0.791304
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
38d482abe0b79065e8bcd431c5d9e2b8469881fe
239
py
Python
apps/wagtail/streams/translation.py
aadrm/breakoutwagtail
cf4ce09153adf2b5e14f15ffbc82bda754d427b3
[ "MIT" ]
null
null
null
apps/wagtail/streams/translation.py
aadrm/breakoutwagtail
cf4ce09153adf2b5e14f15ffbc82bda754d427b3
[ "MIT" ]
null
null
null
apps/wagtail/streams/translation.py
aadrm/breakoutwagtail
cf4ce09153adf2b5e14f15ffbc82bda754d427b3
[ "MIT" ]
null
null
null
from .models import ( Review ) from modeltranslation.translator import TranslationOptions from modeltranslation.decorators import register @register(Review) class ReviewTR(TranslationOptions): fields = ( 'review', )
17.071429
58
0.740586
21
239
8.428571
0.571429
0.225989
0
0
0
0
0
0
0
0
0
0
0.188285
239
13
59
18.384615
0.912371
0
0
0
0
0
0.02521
0
0
0
0
0
0
1
0
false
0
0.3
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
38e411b8e19c47563b6359fe0314a4ae704e341f
233
py
Python
cwApp/urls.py
cs-fullstack-2019-spring/django-fields-widgets-cw-Litterial
b85c7f0b32fe9bd0325f63de7c21ab7c7b3d2b26
[ "Apache-2.0" ]
null
null
null
cwApp/urls.py
cs-fullstack-2019-spring/django-fields-widgets-cw-Litterial
b85c7f0b32fe9bd0325f63de7c21ab7c7b3d2b26
[ "Apache-2.0" ]
null
null
null
cwApp/urls.py
cs-fullstack-2019-spring/django-fields-widgets-cw-Litterial
b85c7f0b32fe9bd0325f63de7c21ab7c7b3d2b26
[ "Apache-2.0" ]
null
null
null
from django.urls import path from . import views urlpatterns =[ path('',views.index,name='index'), path('application',views.application,name='application'), path('conformation',views.conformation,name='conformation'), ]
25.888889
64
0.72103
26
233
6.461538
0.423077
0
0
0
0
0
0
0
0
0
0
0
0.11588
233
9
65
25.888889
0.815534
0
0
0
0
0
0.217949
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
38e6372e9940e8bcb37b902fc653034d52942d30
798
py
Python
container/pyf/models/EventsRelated/EventRoomModel.py
Pompino/react-components-23KB
3201a417c5160e1b77f29fc1eac74ae9dc10d6ad
[ "MIT" ]
2
2021-10-30T18:18:33.000Z
2021-12-01T10:21:28.000Z
container/pyf/models/EventsRelated/EventRoomModel.py
Pompino/react-components-23KB
3201a417c5160e1b77f29fc1eac74ae9dc10d6ad
[ "MIT" ]
null
null
null
container/pyf/models/EventsRelated/EventRoomModel.py
Pompino/react-components-23KB
3201a417c5160e1b77f29fc1eac74ae9dc10d6ad
[ "MIT" ]
null
null
null
import types from sqlalchemy import Column, String, BigInteger, Integer, DateTime, ForeignKey, Sequence, Table import datetime from models.BaseModel import BaseModel #from models.FacilitiesRelated.RoomModel import RoomModel # EventRoomModel = Table('events_rooms', BaseModel.metadata, # Column('id', BigIntege...
36.272727
97
0.723058
94
798
5.925532
0.319149
0.10772
0.150808
0.114901
0.369838
0.369838
0.143627
0.143627
0
0
0
0
0.154135
798
21
98
38
0.825185
0.41604
0
0
0
0
0.084783
0
0
0
0
0
0
1
0
false
0
0.444444
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
0
0
1
0
1
0
0
2
38e92f0350bf42ffca958336338f5706b70ee06a
451
py
Python
packages/esp32_LoBo/master/esp32_LoBo/stubs/cmath.py
TheVinhLuong102/micropy-stubs
55ff1773008f7c4dfc3d70a403986486226eb6b3
[ "MIT" ]
18
2019-07-11T13:31:09.000Z
2022-01-27T06:38:40.000Z
packages/esp32_LoBo/master/esp32_LoBo/stubs/cmath.py
TheVinhLuong102/micropy-stubs
55ff1773008f7c4dfc3d70a403986486226eb6b3
[ "MIT" ]
9
2019-09-01T21:44:49.000Z
2022-02-04T20:55:08.000Z
packages/esp32_LoBo/master/esp32_LoBo/stubs/cmath.py
TheVinhLuong102/micropy-stubs
55ff1773008f7c4dfc3d70a403986486226eb6b3
[ "MIT" ]
6
2019-10-08T05:31:21.000Z
2021-04-22T10:21:01.000Z
""" Module: 'cmath' on esp32_LoBo 3.2.24 """ # MCU: (sysname='esp32_LoBo', nodename='esp32_LoBo', release='3.2.24', version='ESP32_LoBo_v3.2.24 on 2018-09-06', machine='ESP32 board with ESP32') # Stubber: 1.2.0 def cos(): pass e = 2.71828182845905 def exp(): pass def log(): pass def log10(): pass de...
12.885714
148
0.611973
71
451
3.816901
0.535211
0.154982
0.02952
0
0
0
0
0
0
0
0
0.190883
0.221729
451
34
149
13.264706
0.581197
0.441242
0
0.45
0
0
0
0
0
0
0
0
0
1
0.45
false
0.45
0
0
0.45
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
2a000f472cfcf8a17979b5d1371494268302356e
772
py
Python
My_NN/My_Net/Test_for_NN/Test_for_Attention_Decoder.py
nightinwhite/chinese_transform
6dbbe3b4ab6806722f18b072eac388834e7a4e14
[ "Apache-2.0" ]
1
2018-01-04T01:41:56.000Z
2018-01-04T01:41:56.000Z
My_Net/Test_for_NN/Test_for_Attention_Decoder.py
nightinwhite/DL_Tools
a9510eedc4746effc7ee073bb4af8ce185d28202
[ "Apache-2.0" ]
null
null
null
My_Net/Test_for_NN/Test_for_Attention_Decoder.py
nightinwhite/DL_Tools
a9510eedc4746effc7ee073bb4af8ce185d28202
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf from My_NN.My_Net.Attention_Decoder import Attention_Decoder batch_size = 64 num_char_classes = 27 img = tf.placeholder(tf.float32,[64,16,16,728]) lstm_cell = tf.contrib.rnn.LSTMCell( 256, state_is_tuple=True,) zero_label = tf.zeros([batch_size, num_char_classe...
32.166667
62
0.65544
102
772
4.666667
0.578431
0.235294
0.058824
0.12605
0
0
0
0
0
0
0
0.037102
0.266839
772
24
63
32.166667
0.803887
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.15
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
2a060ad6a33eb80c9f47593a667a79a4562b9bd7
1,167
py
Python
tests/non_statement_tests/test_args.py
burakuyar/simple-ddl-parser
f5714e0947a7cb48c202a91969b6e6d0d9a64d24
[ "MIT" ]
46
2021-03-07T02:21:29.000Z
2022-03-24T12:45:03.000Z
tests/non_statement_tests/test_args.py
burakuyar/simple-ddl-parser
f5714e0947a7cb48c202a91969b6e6d0d9a64d24
[ "MIT" ]
53
2021-03-08T08:50:00.000Z
2022-03-29T06:11:13.000Z
tests/non_statement_tests/test_args.py
burakuyar/simple-ddl-parser
f5714e0947a7cb48c202a91969b6e6d0d9a64d24
[ "MIT" ]
12
2021-06-21T16:14:17.000Z
2022-03-25T13:52:35.000Z
from simple_ddl_parser import DDLParser def test_json_dump_arg(): ddl = """ CREATE TABLE list_bucket_single (key STRING, value STRING) SKEWED BY (key) ON (1,5,6) STORED AS DIRECTORIES; """ parse_results = DDLParser(ddl).run(output_mode="hql", json_dump=True) expected = ( '[{"columns": ...
53.045455
108
0.597258
134
1,167
4.985075
0.5
0.071856
0.095808
0.020958
0.248503
0.224551
0.224551
0.224551
0.224551
0.224551
0
0.006369
0.192802
1,167
21
109
55.571429
0.70276
0
0
0
0
0.315789
0.730077
0.106255
0
0
0
0
0.052632
1
0.052632
false
0
0.052632
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2a07ca82ba9353ffd4d1edacc6897511af270f1e
891
py
Python
intro-python/part1/hands_on_exercise.py
AchourOussama/dne-dna-code
abb49ce518c13ac7a2947450b5713c4076ddf612
[ "MIT" ]
null
null
null
intro-python/part1/hands_on_exercise.py
AchourOussama/dne-dna-code
abb49ce518c13ac7a2947450b5713c4076ddf612
[ "MIT" ]
null
null
null
intro-python/part1/hands_on_exercise.py
AchourOussama/dne-dna-code
abb49ce518c13ac7a2947450b5713c4076ddf612
[ "MIT" ]
null
null
null
"""Intro to Python - Part 1 - Hands-On Exercise.""" import math import random # TODO: Write a print statement that displays both the type and value of `pi` pi = math.pi print(pi) # TODO: Write a conditional to print out if `i` is less than or greater than 50 i = random.randint(0, 100) if i<50 : print("i is le...
22.846154
79
0.691358
147
891
4.176871
0.496599
0.058632
0.065147
0.068404
0
0
0
0
0
0
0
0.071831
0.203143
891
38
80
23.447368
0.792958
0.497194
0
0
0
0
0.213303
0
0
0
0
0.026316
0
1
0.0625
false
0
0.125
0.0625
0.25
0.4375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
2
2a1271e5277656dce1cf570d101a13db96c7fe5b
2,159
py
Python
hpc-historias-clinicas/historias/forms.py
btenaglia/hpc-historias-clinicas
649d8660381381b1c591667760c122d73071d5ec
[ "BSD-3-Clause" ]
null
null
null
hpc-historias-clinicas/historias/forms.py
btenaglia/hpc-historias-clinicas
649d8660381381b1c591667760c122d73071d5ec
[ "BSD-3-Clause" ]
null
null
null
hpc-historias-clinicas/historias/forms.py
btenaglia/hpc-historias-clinicas
649d8660381381b1c591667760c122d73071d5ec
[ "BSD-3-Clause" ]
null
null
null
from django.forms import ModelForm from django import forms from .models import Historias from ..diagnosticos.models import Diagnosticos from ..anamnesis.models import Anamnesis from ..antecedentes_personales.models import AntecedentesPersonales from ..habitos.models import Habitos from ..antecedentes_familiares.model...
28.407895
124
0.672534
193
2,159
7.430052
0.393782
0.083682
0.112971
0.144351
0
0
0
0
0
0
0
0
0.252895
2,159
75
125
28.786667
0.889027
0.038444
0
0.1875
0
0
0.04187
0
0
0
0
0.013333
0
1
0.020833
false
0
0.25
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
2a12c76cee9bcd6bda38e2d8712b099056210623
666
py
Python
map_service/weather_map/models.py
berthakim/map-service
881647a4a2627c633094d45519b0cf6b2c7050b9
[ "MIT" ]
null
null
null
map_service/weather_map/models.py
berthakim/map-service
881647a4a2627c633094d45519b0cf6b2c7050b9
[ "MIT" ]
null
null
null
map_service/weather_map/models.py
berthakim/map-service
881647a4a2627c633094d45519b0cf6b2c7050b9
[ "MIT" ]
null
null
null
from django.db import models class City(models.Model): name = models.CharField(max_length=25) def __str__(self): # show the actual city name on the dashboard return self.name class Meta: # show the plural of city as cities instead of cities verbose_name_plural = 'cities' ''' This will create a table ...
26.64
67
0.74024
108
666
4.407407
0.481481
0.07563
0.113445
0.151261
0.172269
0
0
0
0
0
0
0.014599
0.177177
666
24
68
27.75
0.854015
0.141141
0
0.153846
0
0
0.01519
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0.153846
0.923077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
2a218d2a98920c72401557acbb97ce04a07b0ad0
961
py
Python
solutions/python3/676.py
sm2774us/amazon_interview_prep_2021
f580080e4a6b712b0b295bb429bf676eb15668de
[ "MIT" ]
42
2020-08-02T07:03:49.000Z
2022-03-26T07:50:15.000Z
solutions/python3/676.py
ajayv13/leetcode
de02576a9503be6054816b7444ccadcc0c31c59d
[ "MIT" ]
null
null
null
solutions/python3/676.py
ajayv13/leetcode
de02576a9503be6054816b7444ccadcc0c31c59d
[ "MIT" ]
40
2020-02-08T02:50:24.000Z
2022-03-26T15:38:10.000Z
class MagicDictionary: def __init__(self): """ Initialize your data structure here. """ from collections import defaultdict self.var = defaultdict(set) def buildDict(self, dict): """ Build a dictionary through a list of words :type dict: List[str...
29.121212
116
0.566077
127
961
4.244094
0.551181
0.038961
0.022263
0.040816
0.051948
0
0
0
0
0
0
0.004587
0.319459
961
33
117
29.121212
0.819572
0.408949
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
2a446280288044d2463c03fadf6db248210a5c31
9,736
py
Python
rusports.py
kosovojs/pywikibot-scripts
4a9bf5177ebcfbba719970f9f3b48fbd51831818
[ "MIT" ]
3
2021-10-03T17:27:43.000Z
2021-10-05T12:27:06.000Z
rusports.py
kosovojs/pywikibot-scripts
4a9bf5177ebcfbba719970f9f3b48fbd51831818
[ "MIT" ]
null
null
null
rusports.py
kosovojs/pywikibot-scripts
4a9bf5177ebcfbba719970f9f3b48fbd51831818
[ "MIT" ]
null
null
null
import pywikibot, re, os, time, sys, json import toolforge from datetime import date, datetime, timedelta, timezone from pytz import timezone conn = toolforge.connect('ruwiki_p','analytics') #connLabs = toolforge.connect_tools('s53143__mis_lists_p') #cursor1 = connLabs.cursor() cats = [{"id":7641522,"len":21...
109.393258
6,973
0.706861
1,260
9,736
5.306349
0.286508
0.103051
0.108884
0.124439
0.369429
0.343105
0.327251
0.208795
0.189052
0.019444
0
0.149347
0.048172
9,736
89
6,974
109.393258
0.572138
0.058854
0
0
0
0.052632
0.551313
0.12569
0
0
0
0
0
1
0.087719
false
0
0.070175
0.035088
0.245614
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2a4ee3dc0c18c37a8bec1e7d82aebfdce1fae264
7,709
py
Python
connect.py
bethjohnson/allezViens
c90280d88f645010426b1384b18ddf141e360afe
[ "MIT" ]
1
2015-01-13T03:37:48.000Z
2015-01-13T03:37:48.000Z
connect.py
bethjohnson/allezViens
c90280d88f645010426b1384b18ddf141e360afe
[ "MIT" ]
null
null
null
connect.py
bethjohnson/allezViens
c90280d88f645010426b1384b18ddf141e360afe
[ "MIT" ]
null
null
null
from models import * from run import db import sys import math import hashlib import time '''DATABASE INSERTION/UPDATE''' #Adds driver to database def addDriver(id, oLat, oLon, dLat, dLon, date): url = makeURL(id) driver = Driver(id, oLat, oLon, dLat, dLon, date, url) db.session.add(driver) save() #Adds passe...
29.200758
146
0.70982
995
7,709
5.492462
0.234171
0.013175
0.013175
0.017566
0.190302
0.159927
0.101372
0.090027
0.090027
0.077585
0
0.004051
0.167467
7,709
263
147
29.311787
0.84746
0.164224
0
0.331658
0
0
0.028472
0
0
0
0
0.003802
0
0
null
null
0.20603
0.030151
null
null
0.030151
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
2a4f3f462bd50b40619287185696b4efcb2a25a1
1,597
py
Python
naturtag/app/screens.py
JWCook/naturtag
1449025c306ca871d7551706c91b25a14b4c215c
[ "MIT" ]
12
2020-08-30T08:17:32.000Z
2022-02-01T19:46:23.000Z
naturtag/app/screens.py
JWCook/naturtag
1449025c306ca871d7551706c91b25a14b4c215c
[ "MIT" ]
83
2020-05-25T00:17:34.000Z
2022-03-27T17:55:35.000Z
naturtag/app/screens.py
JWCook/naturtag
1449025c306ca871d7551706c91b25a14b4c215c
[ "MIT" ]
null
null
null
""" Screen classes used by the app """ from logging import getLogger from os.path import join from typing import Any, Dict from kivy.lang import Builder from kivy.uix.boxlayout import BoxLayout from kivymd.uix.screen import MDScreen from naturtag.constants import KV_SRC_DIR HOME_SCREEN = 'image_selection' # TODO: Lo...
19.716049
80
0.705072
189
1,597
5.814815
0.439153
0.049136
0.077343
0.034577
0
0
0
0
0
0
0
0
0.196619
1,597
80
81
19.9625
0.856586
0.134627
0
0.14
0
0
0.090176
0
0
0
0
0.0125
0
1
0.04
false
0.14
0.14
0
0.34
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
2a4f72ec6cbd484c6b9044aced07750361aab347
1,064
py
Python
cajas/boxes/api/views/provisioning_detail.py
dmontoya1/cajas
5eb3d5835250d5dafae398082200b79c1ca8063b
[ "MIT" ]
null
null
null
cajas/boxes/api/views/provisioning_detail.py
dmontoya1/cajas
5eb3d5835250d5dafae398082200b79c1ca8063b
[ "MIT" ]
null
null
null
cajas/boxes/api/views/provisioning_detail.py
dmontoya1/cajas
5eb3d5835250d5dafae398082200b79c1ca8063b
[ "MIT" ]
null
null
null
from django.shortcuts import get_object_or_404 from rest_framework import generics from rest_framework.response import Response from rest_framework import status from cajas.movement.models.movement_provisioning import MovementProvisioning from cajas.boxes.api.serializers.provisioning_serializer import ProvisioningSer...
36.689655
86
0.753759
111
1,064
7.099099
0.504505
0.055838
0.064721
0.058376
0
0
0
0
0
0
0
0.006787
0.169173
1,064
28
87
38
0.884615
0
0
0
0
0
0.06485
0
0
0
0
0
0
1
0.045455
false
0
0.318182
0
0.590909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
2a585aef1b8001cf5303ffc50009d249e56a767b
73,341
py
Python
jams/sobol.py
MuellerSeb/jams_python
1bca04557da79d8f8a4c447f5ccc517c40ab7dfc
[ "MIT" ]
9
2019-06-03T03:24:16.000Z
2021-12-03T07:14:00.000Z
jams/sobol.py
MuellerSeb/jams_python
1bca04557da79d8f8a4c447f5ccc517c40ab7dfc
[ "MIT" ]
6
2020-03-25T21:56:59.000Z
2021-11-08T14:58:27.000Z
jams/sobol.py
MuellerSeb/jams_python
1bca04557da79d8f8a4c447f5ccc517c40ab7dfc
[ "MIT" ]
5
2019-10-17T12:04:33.000Z
2021-09-28T07:45:07.000Z
#!/usr/bin/env python from __future__ import division, absolute_import, print_function # # License # This file is part of the JAMS Python package, distributed under the MIT # License. The JAMS Python package originates from the former UFZ Python library, # Department of Computational Hydrosystems, Helmholtz Centre for ...
49.85792
96
0.55921
15,668
73,341
2.610991
0.187197
0.020973
0.01496
0.009973
0.143954
0.129067
0.110489
0.101934
0.097631
0.092889
0
0.585733
0.226272
73,341
1,470
97
49.891837
0.135181
0.150912
0
0.050154
0
0
0.00406
0
0
0
0
0
0
1
0.007165
false
0
0.002047
0
0.020471
0.011259
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2a7e3f07ce07ff47d99e69cb77686b514d11b279
67
py
Python
src/main/resources/resource/Shoutbox/Shoutbox.py
holgerfriedrich/myrobotlab
c6d6c9e564cb8e68844918fd713b8921171667d9
[ "Apache-2.0" ]
179
2015-01-13T17:39:13.000Z
2022-03-29T03:52:15.000Z
src/main/resources/resource/Shoutbox/Shoutbox.py
holgerfriedrich/myrobotlab
c6d6c9e564cb8e68844918fd713b8921171667d9
[ "Apache-2.0" ]
499
2015-01-11T15:26:23.000Z
2022-03-04T14:10:34.000Z
src/main/resources/resource/Shoutbox/Shoutbox.py
holgerfriedrich/myrobotlab
c6d6c9e564cb8e68844918fd713b8921171667d9
[ "Apache-2.0" ]
151
2015-01-03T18:55:54.000Z
2022-03-04T07:04:23.000Z
# start the service shoutbox = Runtime.start("shoutbox","Shoutbox")
33.5
47
0.761194
8
67
6.375
0.625
0
0
0
0
0
0
0
0
0
0
0
0.089552
67
2
47
33.5
0.836066
0.253731
0
0
0
0
0.326531
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2a801438905684746b6a61f86221a96e0871e122
1,804
py
Python
tests/test_logger_config.py
ONSdigital/response-operations-social-ui
9b34f8e3261e30d732a32438e67b288e0042ed7c
[ "MIT" ]
null
null
null
tests/test_logger_config.py
ONSdigital/response-operations-social-ui
9b34f8e3261e30d732a32438e67b288e0042ed7c
[ "MIT" ]
27
2018-09-26T08:46:07.000Z
2021-04-21T07:09:53.000Z
tests/test_logger_config.py
ONSdigital/response-operations-social-ui
9b34f8e3261e30d732a32438e67b288e0042ed7c
[ "MIT" ]
1
2021-04-11T08:02:48.000Z
2021-04-11T08:02:48.000Z
import json import logging import os import unittest from structlog import wrap_logger from response_operations_social_ui.logger_config import logger_initial_config class TestLoggerConfig(unittest.TestCase): def test_success(self): os.environ['JSON_INDENT_LOGGING'] = '1' logger_initial_config(s...
41.953488
95
0.624723
200
1,804
5.465
0.265
0.115279
0.153705
0.166514
0.702653
0.673376
0.618481
0.618481
0.618481
0.618481
0
0.002851
0.222284
1,804
42
96
42.952381
0.776194
0
0
0.514286
0
0
0.25388
0.09867
0
0
0
0
0.171429
1
0.085714
false
0
0.171429
0
0.285714
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2a8a182ebb0b351499fac4f823c59a07c897c907
3,685
py
Python
qiskit/qobj/models/qasm.py
lerongil/qiskit-terra
a25af2a2378bc3d4f5ec73b948d048d1b707454c
[ "Apache-2.0" ]
22
2019-08-15T04:39:15.000Z
2022-03-06T05:17:04.000Z
qiskit/qobj/models/qasm.py
lerongil/qiskit-terra
a25af2a2378bc3d4f5ec73b948d048d1b707454c
[ "Apache-2.0" ]
4
2019-05-13T15:28:46.000Z
2019-12-19T20:47:02.000Z
qiskit/qobj/models/qasm.py
lerongil/qiskit-terra
a25af2a2378bc3d4f5ec73b948d048d1b707454c
[ "Apache-2.0" ]
9
2019-09-05T05:33:00.000Z
2021-10-09T16:04:53.000Z
# -*- coding: utf-8 -*- # This code is part of Qiskit. # # (C) Copyright IBM 2017, 2019. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any...
33.198198
91
0.731072
382
3,685
6.989529
0.340314
0.033708
0.044944
0.051685
0.217978
0.2
0.2
0.176779
0.176779
0.176779
0
0.006991
0.184803
3,685
110
92
33.5
0.881824
0.46133
0
0.216216
0
0
0
0
0
0
0
0
0
1
0.054054
false
0.054054
0.108108
0
0.621622
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
2a9582b0d484cf7142cd718ff59fbdcab386c9fc
2,269
py
Python
ddd_shop/sales/views.py
Niceta-Nduku/ddd-shop-assesment
448dd67f476537a33067b2323116075780ee8beb
[ "MIT" ]
null
null
null
ddd_shop/sales/views.py
Niceta-Nduku/ddd-shop-assesment
448dd67f476537a33067b2323116075780ee8beb
[ "MIT" ]
1
2022-03-01T06:14:19.000Z
2022-03-01T06:14:19.000Z
ddd_shop/sales/views.py
Niceta-Nduku/ddd-shop-assesment
448dd67f476537a33067b2323116075780ee8beb
[ "MIT" ]
null
null
null
from ddd_shop.sales.models import * from django.shortcuts import render, redirect from django.contrib.auth import get_user_model from django.contrib.auth.mixins import LoginRequiredMixin, PermissionRequiredMixin, UserPassesTestMixin from django.contrib.messages.views import SuccessMessageMixin from django.urls import r...
28.012346
103
0.697223
257
2,269
6.070039
0.455253
0.044872
0.032692
0.067308
0.037179
0.037179
0
0
0
0
0
0
0.221684
2,269
80
104
28.3625
0.883352
0.159542
0
0.2
0
0
0.058075
0.017699
0
0
0
0
0
1
0.05
false
0.175
0.225
0.025
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
2a98be3e6cdda12c4d3e232e0b745300ffada88e
729
py
Python
test/test_example.py
talareq/selenium
302804aa34149ea38b42fe7b55d806211e9e4435
[ "Apache-2.0" ]
null
null
null
test/test_example.py
talareq/selenium
302804aa34149ea38b42fe7b55d806211e9e4435
[ "Apache-2.0" ]
null
null
null
test/test_example.py
talareq/selenium
302804aa34149ea38b42fe7b55d806211e9e4435
[ "Apache-2.0" ]
null
null
null
import pytest from selenium import webdriver from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.firefox.firefox_binary import FirefoxBinary @pytest.fixture def driver (request): #firefox_binary= FirefoxBinary("c:\\Prog...
33.136364
77
0.770919
94
729
5.829787
0.510638
0.087591
0.114964
0.10219
0.083942
0
0
0
0
0
0
0.003096
0.113855
729
22
78
33.136364
0.845201
0.17284
0
0
0
0
0.074751
0
0
0
0
0
0
1
0.133333
false
0
0.333333
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
aa530019cc40c51f797b04f0bde461d4d60ba799
297
py
Python
ex031.py
bruno-victor32/Curso-de-Python---Mundo-1-Fundamentos
4ff929a5e0137ee9d1bcbc36636a4c9b143a77fa
[ "MIT" ]
null
null
null
ex031.py
bruno-victor32/Curso-de-Python---Mundo-1-Fundamentos
4ff929a5e0137ee9d1bcbc36636a4c9b143a77fa
[ "MIT" ]
null
null
null
ex031.py
bruno-victor32/Curso-de-Python---Mundo-1-Fundamentos
4ff929a5e0137ee9d1bcbc36636a4c9b143a77fa
[ "MIT" ]
null
null
null
import math km = float(input('Digite a distância pretendida na viagem em km: ')) if km <= 200 : res = km * 0.50 print('O valor da passagem da viagem mais curta é R${:.2f}'.format(res)) else: res1 = km * 0.45 print('O valor da passagem da viagem mais longa é R${:.2f}'.format(res1))
37.125
77
0.643098
53
297
3.603774
0.603774
0.031414
0.115183
0.136126
0.34555
0.34555
0.34555
0.34555
0
0
0
0.055794
0.215488
297
8
77
37.125
0.763949
0
0
0
0
0
0.5
0
0
0
0
0
0
1
0
false
0.25
0.125
0
0.125
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
aa71ffc18dfa25cbfb05b95d8e92fb028e6a9281
1,208
py
Python
pLearn-JS/Week1/confparse.py
worko1/python_learn
2d93edd50835fa6229beb95efe308112ad172e4a
[ "Apache-2.0" ]
null
null
null
pLearn-JS/Week1/confparse.py
worko1/python_learn
2d93edd50835fa6229beb95efe308112ad172e4a
[ "Apache-2.0" ]
null
null
null
pLearn-JS/Week1/confparse.py
worko1/python_learn
2d93edd50835fa6229beb95efe308112ad172e4a
[ "Apache-2.0" ]
null
null
null
# pip install ciscoconfparse from ciscoconfparse import CiscoConfParse cisco_cfg = CiscoConfParse("cisco.txt") # load configuration from cisco.txt to variable intf = cisco_cfg.find_objects(r"interface") # find pattern interface # # print(intf) # print lines including 'interface' in a HTML-like format print("\n\n") fo...
30.974359
108
0.737583
188
1,208
4.62766
0.351064
0.032184
0.036782
0.065517
0.347126
0.347126
0.275862
0.275862
0.275862
0.098851
0
0.019474
0.149834
1,208
38
109
31.789474
0.827653
0.389073
0
0.2
0
0
0.209205
0
0
0
0
0
0
0
null
null
0
0.05
null
null
0.45
0
0
0
null
0
0
0
0
0
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
1
0
2
aa7e3c45dc69d283a55eb9b65fe3914e49de33bf
510
py
Python
python/testData/inspections/PyMethodFirstArgAssignmentInspection/src/first-args.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/inspections/PyMethodFirstArgAssignmentInspection/src/first-args.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/inspections/PyMethodFirstArgAssignmentInspection/src/first-args.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
def self(): # ok pass self = 1 # ok class A: def foo(self, a): (self, (a, b)) = 1, ((22, 23)) if 1: a = {} self = 23 for (self, a) in []: pass def boo(): self = 1 def moo(self): def inner_moo(): self =1 def self(): pass class self: ...
14.166667
80
0.488235
73
510
3.39726
0.493151
0.060484
0.064516
0
0
0
0
0
0
0
0
0.040881
0.376471
510
35
81
14.571429
0.738994
0.170588
0
0.346154
0
0
0
0
0
0
0
0
0
1
0.307692
false
0.153846
0
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
aa876e518e9fc78b0477a945f8f88213ad832680
296
py
Python
play-travis/test.py
Otus-DevOps-2021-11/andrew-kulikov_infra
af34934e11e835776a73b83df1a36a3be60f7ac0
[ "MIT" ]
null
null
null
play-travis/test.py
Otus-DevOps-2021-11/andrew-kulikov_infra
af34934e11e835776a73b83df1a36a3be60f7ac0
[ "MIT" ]
null
null
null
play-travis/test.py
Otus-DevOps-2021-11/andrew-kulikov_infra
af34934e11e835776a73b83df1a36a3be60f7ac0
[ "MIT" ]
null
null
null
import unittest class NumbersTest(unittest.TestCase): def test_multiply(self): self.assertEqual(2 * 2, 4) def test_divide(self): self.assertEqual(7 // 2, 3) def test_equal(self): self.assertEqual(1 + 1, 2) if __name__ == '__main__': unittest.main()
16.444444
37
0.625
38
296
4.578947
0.526316
0.12069
0.327586
0
0
0
0
0
0
0
0
0.040541
0.25
296
17
38
17.411765
0.743243
0
0
0
0
0
0.027027
0
0
0
0
0
0.3
1
0.3
false
0
0.1
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
aabe8e4d910a944f6f4876d38dcd7279deca4231
470
py
Python
chapter4/task6.py
nvnovitskiy/python_sstu_course
5de1830eb4430349df8ab1c65a9f16f82a9b91a6
[ "MIT" ]
null
null
null
chapter4/task6.py
nvnovitskiy/python_sstu_course
5de1830eb4430349df8ab1c65a9f16f82a9b91a6
[ "MIT" ]
null
null
null
chapter4/task6.py
nvnovitskiy/python_sstu_course
5de1830eb4430349df8ab1c65a9f16f82a9b91a6
[ "MIT" ]
null
null
null
from random import randint """ Заполнить список из 20 целых чисел случайными значениями из диапазона от –2 до 12. Преобразовать его таким образом, чтобы сначала шли отрицательные значения в порядке их появления в исходном списке, а затем нулевые, и, наконец, положительные значения """ array = [randint(-2, 12) for _...
36.153846
99
0.744681
75
470
4.666667
0.746667
0.034286
0.022857
0.028571
0.051429
0
0
0
0
0
0
0.038071
0.161702
470
12
100
39.166667
0.847716
0
0
0
0
0.25
0.538095
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
aacf485b646c36550a213405aab0f49fad384171
5,720
py
Python
tests/test_object_building.py
otovo/python-netsgiro
3c931f04e05cdb945ec74597fad6ade6d2c3bde6
[ "Apache-2.0" ]
31
2017-04-26T23:25:26.000Z
2021-11-29T09:43:45.000Z
tests/test_object_building.py
otovo/python-netsgiro
3c931f04e05cdb945ec74597fad6ade6d2c3bde6
[ "Apache-2.0" ]
9
2017-02-24T10:28:53.000Z
2022-02-25T14:05:13.000Z
tests/test_object_building.py
otovo/python-netsgiro
3c931f04e05cdb945ec74597fad6ade6d2c3bde6
[ "Apache-2.0" ]
6
2017-10-08T13:37:41.000Z
2020-06-30T09:51:07.000Z
from datetime import date from decimal import Decimal import pytest import netsgiro def test_transmission_with_single_payment_request_transaction(): transmission = netsgiro.Transmission( number='1703231', data_transmitter='01234567', data_recipient=netsgiro.NETS_ID, ) assignment ...
34.047619
100
0.692483
633
5,720
5.993681
0.170616
0.025303
0.028466
0.023722
0.796784
0.750923
0.659462
0.640749
0.615445
0.615445
0
0.104194
0.208042
5,720
167
101
34.251497
0.733333
0.021853
0
0.447761
0
0
0.135538
0
0
0
0
0
0.313433
1
0.022388
false
0
0.029851
0
0.052239
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
aad21694c945243ebea33fc0495ebf05fc044351
2,070
py
Python
gaia-sdk-python/gaia_sdk/graphql/request/type/Preservation.py
leftshiftone/gaia-sdk
7e0d1ce054fada8ae154da70b71e8a90347c9f97
[ "MIT" ]
null
null
null
gaia-sdk-python/gaia_sdk/graphql/request/type/Preservation.py
leftshiftone/gaia-sdk
7e0d1ce054fada8ae154da70b71e8a90347c9f97
[ "MIT" ]
10
2019-11-14T07:55:47.000Z
2022-02-26T19:36:45.000Z
gaia-sdk-python/gaia_sdk/graphql/request/type/Preservation.py
leftshiftone/gaia-sdk
7e0d1ce054fada8ae154da70b71e8a90347c9f97
[ "MIT" ]
2
2020-05-12T11:09:53.000Z
2020-12-25T14:03:04.000Z
from gaia_sdk.graphql.request.type.DeleteKnowledge import DeleteKnowledge from gaia_sdk.graphql.request.type.UpdateKnowledge import UpdateKnowledge from gaia_sdk.graphql.request.type.CreateKnowledge import CreateKnowledge from gaia_sdk.graphql.request.type.ConnectKnowledge import ConnectKnowledge from typing import C...
40.588235
82
0.702415
211
2,070
6.848341
0.265403
0.049827
0.068512
0.099654
0.417993
0.417993
0.113495
0
0
0
0
0
0.199517
2,070
50
83
41.4
0.872058
0.058454
0
0.324324
0
0
0.051349
0
0
0
0
0
0
1
0.243243
false
0
0.27027
0.027027
0.675676
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
aad45599187ae0a184bf42bfff061b1ab6ee466a
1,748
py
Python
service/company_smtp.py
YossyMejia/api-hacienda_python
82c83fbf7673c37005ded12f1787b5d65247c4aa
[ "MIT" ]
null
null
null
service/company_smtp.py
YossyMejia/api-hacienda_python
82c83fbf7673c37005ded12f1787b5d65247c4aa
[ "MIT" ]
null
null
null
service/company_smtp.py
YossyMejia/api-hacienda_python
82c83fbf7673c37005ded12f1787b5d65247c4aa
[ "MIT" ]
null
null
null
import json from infrastructure import company_smtp from infrastructure import companies def save_company_smtp(data, id_company): _host = data['host'] _user = data['user'] _password = data['password'] _port = data['port'] _encrypt_type = data['encrypt_type'] company_exist = companies.verify_c...
30.666667
110
0.671625
217
1,748
5.064516
0.170507
0.210191
0.070974
0.10919
0.66788
0.604186
0.5505
0.486806
0.486806
0.408553
0
0
0.23341
1,748
56
111
31.214286
0.820149
0
0
0.488372
0
0
0.169908
0
0
0
0
0
0
1
0.093023
false
0.093023
0.069767
0
0.372093
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
aad7b86d4640150515fe785fe7c774a9cda2b7cb
1,171
py
Python
dataxmissionprotocol/formats/baseformat.py
RobinBobin/data-transmission-protocol
b53f2157437eb59d53270b3acab3a325f7dfad28
[ "MIT" ]
null
null
null
dataxmissionprotocol/formats/baseformat.py
RobinBobin/data-transmission-protocol
b53f2157437eb59d53270b3acab3a325f7dfad28
[ "MIT" ]
null
null
null
dataxmissionprotocol/formats/baseformat.py
RobinBobin/data-transmission-protocol
b53f2157437eb59d53270b3acab3a325f7dfad28
[ "MIT" ]
null
null
null
class BaseFormat: __byteorder = { None: "=", "little": "<", "big": ">" } def __init__(self): self.__byteorder = None self._minPacketSize = None @property def byteorder(self): return self.__byteorder @byteorder.setter def byteorder(self, byteorder): ...
26.613636
78
0.648164
116
1,171
6.293103
0.318966
0.110959
0.106849
0.038356
0.224658
0.224658
0.112329
0
0
0
0
0.002268
0.246798
1,171
43
79
27.232558
0.825397
0
0
0.15625
0
0
0.010248
0
0
0
0
0
0
1
0.3125
false
0
0
0.125
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
2a9da5ab4bf779d5d2442cf9566b7041f1b087e0
330
py
Python
driver_station/setup.py
uwreact/frc_control
0efd7f3da8f42c3d8b8e7180631ec4a749b32555
[ "BSD-3-Clause" ]
9
2018-11-26T20:12:47.000Z
2020-03-08T03:30:03.000Z
driver_station/setup.py
uwreact/frc_control
0efd7f3da8f42c3d8b8e7180631ec4a749b32555
[ "BSD-3-Clause" ]
49
2018-10-18T13:44:59.000Z
2019-08-01T15:18:42.000Z
driver_station/setup.py
uwreact/frc_control
0efd7f3da8f42c3d8b8e7180631ec4a749b32555
[ "BSD-3-Clause" ]
3
2018-10-18T17:35:54.000Z
2019-02-10T19:43:55.000Z
# yapf: disable ## ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD from distutils.core import setup from catkin_pkg.python_setup import generate_distutils_setup d = generate_distutils_setup( packages=['driver_station', 'driver_station.utils', 'driver_station.widgets'], package_dir={'': 'src'} ) s...
23.571429
82
0.751515
44
330
5.409091
0.636364
0.163866
0.184874
0
0
0
0
0
0
0
0
0
0.133333
330
13
83
25.384615
0.832168
0.218182
0
0
1
0
0.232283
0.086614
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2a9dd84b5c5e9eed6d294df32edc6c9b33b8ac44
1,052
py
Python
setup.py
adaptivelab/twitter-text-python
aa6bf1acd0b1fa144bf212b184bfb6c947c9fc8f
[ "Unlicense" ]
11
2015-03-19T14:53:17.000Z
2021-01-28T07:34:47.000Z
setup.py
adaptivelab/twitter-text-python
aa6bf1acd0b1fa144bf212b184bfb6c947c9fc8f
[ "Unlicense" ]
null
null
null
setup.py
adaptivelab/twitter-text-python
aa6bf1acd0b1fa144bf212b184bfb6c947c9fc8f
[ "Unlicense" ]
2
2017-06-30T15:42:09.000Z
2021-01-28T07:34:48.000Z
from setuptools import setup setup( name='twitter-text-python', version='1.0.1', description='Twitter Tweet parser and formatter', long_description="Extract @users, #hashtags and URLs (and unwind shortened links) from tweets including entity locations, also generate HTML for output. Visit https://githu...
38.962963
228
0.672053
117
1,052
5.991453
0.74359
0.047076
0.072753
0.068474
0.116976
0.116976
0.116976
0
0
0
0
0.003559
0.198669
1,052
26
229
40.461538
0.827995
0.024715
0
0
0
0.041667
0.62439
0
0
0
0
0
0
1
0
true
0
0.041667
0
0.041667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
2aafc4efd19ea470533899bd6808920319924979
796
py
Python
lcc_web/web/interface/migrations/0006_auto_20170315_1023.py
mavrix93/LightCurvesClassifier
a0a51f033cb8adf45296913f0de0aa2568e0530c
[ "MIT" ]
12
2017-06-07T12:16:06.000Z
2021-02-28T10:06:44.000Z
lcc_web/web/interface/migrations/0006_auto_20170315_1023.py
mavrix93/LightCurvesClassifier
a0a51f033cb8adf45296913f0de0aa2568e0530c
[ "MIT" ]
6
2017-03-10T21:52:00.000Z
2021-08-25T15:02:35.000Z
lcc_web/web/interface/migrations/0006_auto_20170315_1023.py
mavrix93/LightCurvesClassifier
a0a51f033cb8adf45296913f0de0aa2568e0530c
[ "MIT" ]
3
2017-05-21T16:20:24.000Z
2019-06-10T11:06:42.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-03-15 09:23 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('interface', '0005_dbquery_queries'), ] operations = [ migrations.AlterField( ...
25.677419
64
0.585427
76
796
5.973684
0.578947
0.132159
0.165198
0.19163
0.348018
0.348018
0.259912
0.259912
0.259912
0.259912
0
0.035714
0.296482
796
30
65
26.533333
0.775
0.082915
0
0.391304
1
0
0.110041
0
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2ab3c4c5cd0fe4170b51c18b98f8b36b4014722e
1,511
py
Python
tests/integration/test_object_injection.py
fcracker79/yadi
e0327295b062c24cf85323c8fcc414c8dc4fe4a4
[ "MIT" ]
3
2018-03-09T09:12:32.000Z
2018-03-20T13:41:50.000Z
tests/integration/test_object_injection.py
fcracker79/yadi
e0327295b062c24cf85323c8fcc414c8dc4fe4a4
[ "MIT" ]
1
2018-03-09T09:11:43.000Z
2018-03-11T16:18:10.000Z
tests/integration/test_object_injection.py
fcracker79/yadi
e0327295b062c24cf85323c8fcc414c8dc4fe4a4
[ "MIT" ]
null
null
null
import abc import unittest from yadi import decorators from yadi import context_impl, types class TestObjectInjection(unittest.TestCase): def test_base_scopes_context_with_names(self): sut = context_impl.BaseScopesContext() class Component1I(metaclass=abc.ABCMeta): pass class...
29.627451
68
0.644606
162
1,511
5.833333
0.253086
0.050794
0.080423
0.097355
0.713228
0.713228
0.653968
0.55873
0.55873
0.55873
0
0.03252
0.267373
1,511
50
69
30.22
0.821138
0.033091
0
0.621622
0
0
0.0151
0
0
0
0
0
0.081081
1
0.108108
false
0.162162
0.108108
0
0.459459
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
2aba762da1a9b78beba93294cc485fe70c67158f
801
py
Python
pyclopedia/p01_beginner/p03_data_structure/p03_set/p02_method.py
MacHu-GWU/pyclopedia-project
c6ee156eb40bc5a4ac5f51aa735b6fd004cb68ee
[ "MIT" ]
null
null
null
pyclopedia/p01_beginner/p03_data_structure/p03_set/p02_method.py
MacHu-GWU/pyclopedia-project
c6ee156eb40bc5a4ac5f51aa735b6fd004cb68ee
[ "MIT" ]
null
null
null
pyclopedia/p01_beginner/p03_data_structure/p03_set/p02_method.py
MacHu-GWU/pyclopedia-project
c6ee156eb40bc5a4ac5f51aa735b6fd004cb68ee
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Set Methods ============================================================================== """ s1 = {1, 2, 3, 4} s2 = {3, 4, 5, 6} # Union assert s1 | s2 == {1, 2, 3, 4, 5, 6} assert set.union(s1, s2) == {1, 2, 3, 4, 5, 6} assert s1.union(s2) == {1, 2, 3, 4, 5, 6} as...
21.648649
78
0.498127
140
801
2.85
0.221429
0.050125
0.052632
0.050125
0.43609
0.315789
0.315789
0.160401
0.160401
0.120301
0
0.130233
0.194757
801
36
79
22.25
0.488372
0.285893
0
0.111111
0
0
0
0
0
0
0
0
0.666667
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
2ac12d1e2281837e3eba1894a19c6caad6f2ba83
161
py
Python
Curso_de_Python_ Curso_em_Video/PythonTeste/estruturaDeRepetiçãoWhileEx005.py
DanilooSilva/Cursos_de_Python
8f167a4c6e16f01601e23b6f107578aa1454472d
[ "MIT" ]
null
null
null
Curso_de_Python_ Curso_em_Video/PythonTeste/estruturaDeRepetiçãoWhileEx005.py
DanilooSilva/Cursos_de_Python
8f167a4c6e16f01601e23b6f107578aa1454472d
[ "MIT" ]
null
null
null
Curso_de_Python_ Curso_em_Video/PythonTeste/estruturaDeRepetiçãoWhileEx005.py
DanilooSilva/Cursos_de_Python
8f167a4c6e16f01601e23b6f107578aa1454472d
[ "MIT" ]
null
null
null
termo = int(input('Primeiro Termo: ')) razao = int(input('Razão: ')) decimo = 0 while decimo != 10: print(termo, end=' ') termo += razao decimo += 1
20.125
38
0.583851
21
161
4.47619
0.619048
0.170213
0
0
0
0
0
0
0
0
0
0.032258
0.229814
161
7
39
23
0.725806
0
0
0
0
0
0.149068
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2ac620f0a46016c0b2759dd6cb3b0cbfee3574cc
104
py
Python
electric_waltz/__init__.py
mgrabovsky/electric-waltz
e31dda53319aa3e9a44efad21347a84316a6bd41
[ "BlueOak-1.0.0" ]
null
null
null
electric_waltz/__init__.py
mgrabovsky/electric-waltz
e31dda53319aa3e9a44efad21347a84316a6bd41
[ "BlueOak-1.0.0" ]
1
2022-03-31T18:25:40.000Z
2022-03-31T18:25:40.000Z
electric_waltz/__init__.py
mgrabovsky/electric-waltz
e31dda53319aa3e9a44efad21347a84316a6bd41
[ "BlueOak-1.0.0" ]
1
2022-03-16T16:43:08.000Z
2022-03-16T16:43:08.000Z
""" A simple model of the eletric transmission system of the Czech Republic. """ __version__ = "0.1.0"
17.333333
72
0.711538
16
104
4.375
0.8125
0.142857
0
0
0
0
0
0
0
0
0
0.034884
0.173077
104
5
73
20.8
0.77907
0.692308
0
0
0
0
0.208333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2ac74e6cb87b963eaee313cec862fb929bea2d35
1,608
py
Python
blend2bam/blend2egg/blender_script.py
Clockwork-Muse/blend2bam
6680bc815b2c6dd1359949b7bcbe52a55de7301b
[ "MIT" ]
41
2019-11-14T07:42:37.000Z
2022-02-21T13:22:02.000Z
blend2bam/blend2egg/blender_script.py
Clockwork-Muse/blend2bam
6680bc815b2c6dd1359949b7bcbe52a55de7301b
[ "MIT" ]
58
2019-04-22T14:53:04.000Z
2022-03-15T10:04:36.000Z
blend2bam/blend2egg/blender_script.py
Clockwork-Muse/blend2bam
6680bc815b2c6dd1359949b7bcbe52a55de7301b
[ "MIT" ]
17
2019-08-24T13:59:01.000Z
2022-02-16T15:47:18.000Z
import os import sys import bpy #pylint: disable=import-error sys.path.append(os.path.join(os.path.dirname(__file__), '..', )) import blender_script_common as common #pylint: disable=import-error,wrong-import-position def export_egg(_, src, dst): print('Converting .blend file ({}) to .egg ({})'.format(src, dst)...
33.5
90
0.721393
216
1,608
4.944444
0.365741
0.255618
0.254682
0.067416
0.233146
0.233146
0.061798
0.061798
0
0
0
0.002276
0.180348
1,608
47
91
34.212766
0.808042
0.097015
0
0
0
0
0.049758
0
0
0
0
0
0
1
0.027027
false
0
0.135135
0
0.162162
0.027027
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2af9d0b179c20c78ae99e3e6c2d1d314e08ed82b
958
py
Python
disclosure_extractor/jef/filters.py
freelawproject/disclosure-extractor
edf371fa83ed6e5c26477810896113700c86c72c
[ "BSD-2-Clause" ]
6
2020-12-09T22:17:38.000Z
2021-11-27T20:15:42.000Z
disclosure_extractor/jef/filters.py
freelawproject/disclosure-extractor
edf371fa83ed6e5c26477810896113700c86c72c
[ "BSD-2-Clause" ]
15
2020-10-07T20:40:11.000Z
2021-12-16T00:54:02.000Z
disclosure_extractor/jef/filters.py
freelawproject/disclosure-extractor
edf371fa83ed6e5c26477810896113700c86c72c
[ "BSD-2-Clause" ]
3
2020-10-07T20:37:33.000Z
2022-03-06T20:36:14.000Z
from decimal import Decimal def filter_bold(obj): if ( obj["object_type"] == "char" and obj["fontname"] == "YUQOTN+OpenSans-Semibold" ): return True elif obj["object_type"] == "char" and obj["fontname"] == "UZGVXX+OpenSans": return True return False def header_text(ob...
21.288889
79
0.536534
120
958
4.183333
0.275
0.125498
0.181275
0.179283
0.545817
0.545817
0.49004
0.406375
0.350598
0.350598
0
0.013393
0.298539
958
44
80
21.772727
0.733631
0
0
0.676471
0
0
0.204593
0.025052
0
0
0
0
0
1
0.147059
false
0
0.029412
0
0.470588
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6305cf19e1cb644ed2ea25c6ee0dfb0dd27a2417
3,184
py
Python
Xana/ProcData/ArrangeModules.py
ClLov/Xana
83d880432a457cff0f1fab2801e2530ddecb4019
[ "MIT" ]
null
null
null
Xana/ProcData/ArrangeModules.py
ClLov/Xana
83d880432a457cff0f1fab2801e2530ddecb4019
[ "MIT" ]
null
null
null
Xana/ProcData/ArrangeModules.py
ClLov/Xana
83d880432a457cff0f1fab2801e2530ddecb4019
[ "MIT" ]
null
null
null
import numpy as np import sys def arrange_cspad_tiles(img, ntiles=32, tile_size=(185,388), inverse=False, common_mode=False): ffg = 0 ffg2 = 0 tile_location = np.array([[2,2], [3,2], [0,2], [0,3], [1,0], [0,0], [2,0], [2,1], [4,2], [4,3], [5,0], ...
43.027027
134
0.454774
485
3,184
2.921649
0.317526
0.052223
0.046577
0.047989
0.139732
0.067749
0.067749
0.067749
0.063514
0.05928
0
0.212062
0.354271
3,184
73
135
43.616438
0.47714
0.099246
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.037037
false
0
0.037037
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
630c922b2fca8c028e0c9e1c0d3a0dc48ddbed8b
970
py
Python
Projects/steam_games/steam_games/items.py
imsamy-d/Web_Scraping
23b6472bb11f3ecd4897526a0ca52cb23401f325
[ "Unlicense" ]
null
null
null
Projects/steam_games/steam_games/items.py
imsamy-d/Web_Scraping
23b6472bb11f3ecd4897526a0ca52cb23401f325
[ "Unlicense" ]
null
null
null
Projects/steam_games/steam_games/items.py
imsamy-d/Web_Scraping
23b6472bb11f3ecd4897526a0ca52cb23401f325
[ "Unlicense" ]
null
null
null
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy from itemloaders.processors import TakeFirst , MapCompose class SteamGamesItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() ...
23.658537
57
0.650515
100
970
6.2
0.46
0.159677
0.270968
0.209677
0.498387
0.216129
0.216129
0.216129
0.216129
0.216129
0
0
0.25567
970
40
58
24.25
0.858726
0.189691
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
false
0
0.074074
0
0.407407
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
630e005ff7a03ae3918aab33350a0a68c2b1d2ef
1,070
py
Python
tests/unit/Mesh/benchmarkVoroPP.py
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/Mesh/tests/benchmarkVoroPP.py
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/Mesh/tests/benchmarkVoroPP.py
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
from Spheral3d import * import random, time ngens = 50000 ngencheck = ngens nxcell = KeyTraits.maxKey1d/4 nxycell = nxcell*nxcell ncell = nxycell*nxcell dx = 1.0/nxcell # Randomly generate some generators in a unit cube. print "Creating %i generators." % ngens generators = vector_of_Vector() for i in random.sample(xr...
29.722222
77
0.620561
158
1,070
4.126582
0.43038
0.07362
0.107362
0.07362
0.138037
0
0
0
0
0
0
0.043587
0.249533
1,070
35
78
30.571429
0.768369
0.105607
0
0.071429
1
0
0.128931
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.178571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
631d62074a74f7a34ac88b1430e4676c04b62125
266
py
Python
physical_dualism.py
petarmaric/physical_dualism
f6147e80055bf9ac166d42d238d1af1e9e204db3
[ "BSD-3-Clause" ]
null
null
null
physical_dualism.py
petarmaric/physical_dualism
f6147e80055bf9ac166d42d238d1af1e9e204db3
[ "BSD-3-Clause" ]
null
null
null
physical_dualism.py
petarmaric/physical_dualism
f6147e80055bf9ac166d42d238d1af1e9e204db3
[ "BSD-3-Clause" ]
null
null
null
import numpy as np __version__ = '1.0.1' def approximate_natural_frequency_from_stress(m, a, sigma, ro): return m * np.pi / a * np.sqrt(sigma / ro) def approximate_stress_from_natural_frequency(m, a, omega, ro): return (omega * a / (m * np.pi))**2 * ro
22.166667
63
0.676692
45
266
3.733333
0.488889
0.166667
0.059524
0
0
0
0
0
0
0
0
0.018519
0.18797
266
11
64
24.181818
0.759259
0
0
0
0
0
0.018797
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.333333
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
2d51de8c0d784fb9a5d012130ba58abbe6d6adf5
559
py
Python
accounts/migrations/0003_auto_20200703_2233.py
jerryarciaga/TheHRClerk
329407e924bdcf5d3780f108d665d933ac490569
[ "MIT" ]
null
null
null
accounts/migrations/0003_auto_20200703_2233.py
jerryarciaga/TheHRClerk
329407e924bdcf5d3780f108d665d933ac490569
[ "MIT" ]
1
2021-04-08T21:05:18.000Z
2021-04-08T21:05:18.000Z
accounts/migrations/0003_auto_20200703_2233.py
jerryarciaga/TheHRClerk
329407e924bdcf5d3780f108d665d933ac490569
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-07-04 04:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0002_auto_20200703_1935'), ] operations = [ migrations.AlterField( model_name='profile', name='rank', ...
23.291667
61
0.577818
59
559
5.355932
0.644068
0.126582
0.158228
0.183544
0.436709
0.253165
0
0
0
0
0
0.087404
0.304114
559
23
62
24.304348
0.724936
0.080501
0
0.352941
1
0
0.103516
0.044922
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2d6ba892b3d7bf6c147550d463ebd2d842f0bab1
1,452
py
Python
gallery/models.py
dgkilolo/gallery
e66060d066ffb71fe0d150c3d6cf31055df1666f
[ "MIT" ]
null
null
null
gallery/models.py
dgkilolo/gallery
e66060d066ffb71fe0d150c3d6cf31055df1666f
[ "MIT" ]
6
2021-03-19T03:53:00.000Z
2021-09-22T19:04:00.000Z
gallery/models.py
dgkilolo/gallery
e66060d066ffb71fe0d150c3d6cf31055df1666f
[ "MIT" ]
null
null
null
from django.db import models import datetime as dt # Create your models here. class Location(models.Model): i_location = models.CharField(max_length=30, blank=True) def save_location(self): self.save() def delete_location(self): Location.objects.filter(pk=self.id).delete() def __str__(self): retur...
28.470588
81
0.752066
199
1,452
5.246231
0.291457
0.062261
0.051724
0.068966
0.348659
0.26341
0.172414
0.172414
0.172414
0.091954
0
0.004804
0.139807
1,452
51
82
28.470588
0.831065
0.016529
0
0.243902
0
0
0
0
0
0
0
0
0
1
0.268293
false
0
0.04878
0.04878
0.707317
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
2d88765d9a185b9a8b70af5926879f14415ac106
380
py
Python
src/birdhouse_toolbox/library/wordpress/get_footer_html.py
alexseitsinger/birdhouse-toolbox
2c7c725d143b02228365ed82f57f6fecca21a614
[ "BSD-2-Clause" ]
null
null
null
src/birdhouse_toolbox/library/wordpress/get_footer_html.py
alexseitsinger/birdhouse-toolbox
2c7c725d143b02228365ed82f57f6fecca21a614
[ "BSD-2-Clause" ]
null
null
null
src/birdhouse_toolbox/library/wordpress/get_footer_html.py
alexseitsinger/birdhouse-toolbox
2c7c725d143b02228365ed82f57f6fecca21a614
[ "BSD-2-Clause" ]
null
null
null
def get_footer_html(html, opening_tag="<p>"): opening_tag_start = html.rfind(opening_tag) opening_tag_end = opening_tag_start + len(opening_tag) closing_tag = opening_tag.replace("<", "</") closing_tag_start = html.rfind(closing_tag) closing_tag_end = closing_tag_start + len(closing_tag) result ...
42.222222
58
0.744737
55
380
4.690909
0.272727
0.310078
0.174419
0.131783
0
0
0
0
0
0
0
0
0.147368
380
8
59
47.5
0.796296
0
0
0
0
0
0.015789
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0
0
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
2