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
1c621269f027420052a3f02263586abb44802fed
1,850
py
Python
odoo-13.0/addons/l10n_es/__manifest__.py
VaibhavBhujade/Blockchain-ERP-interoperability
b5190a037fb6615386f7cbad024d51b0abd4ba03
[ "MIT" ]
null
null
null
odoo-13.0/addons/l10n_es/__manifest__.py
VaibhavBhujade/Blockchain-ERP-interoperability
b5190a037fb6615386f7cbad024d51b0abd4ba03
[ "MIT" ]
null
null
null
odoo-13.0/addons/l10n_es/__manifest__.py
VaibhavBhujade/Blockchain-ERP-interoperability
b5190a037fb6615386f7cbad024d51b0abd4ba03
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. # List of contributors: # Jordi Esteve <jesteve@zikzakmedia.com> # Ignacio Ibeas <ignacio@acysos.com> # Dpto. Consultoría Grupo Opentia <consultoria@opentia.es> # Pedro M. Baeza <pedro.baeza@tecnativa.com> # Carlos Liéba...
35.576923
79
0.666486
219
1,850
5.52968
0.474886
0.099917
0.069364
0.059455
0.227911
0.086705
0.059455
0
0
0
0
0.021651
0.201081
1,850
51
80
36.27451
0.7977
0.260541
0
0.055556
0
0
0.786716
0.327675
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
1c63651b998275cab39273dd8e25b0400010f487
828
py
Python
Python_Exercicios/funcoes_error.py
thalles-dreissig20/Quebra_Cabeca
eeb9458dbabac72d9867e5ec5d7f1aa9b5993d79
[ "MIT" ]
null
null
null
Python_Exercicios/funcoes_error.py
thalles-dreissig20/Quebra_Cabeca
eeb9458dbabac72d9867e5ec5d7f1aa9b5993d79
[ "MIT" ]
1
2021-11-29T18:37:14.000Z
2021-11-29T18:37:14.000Z
Python_Exercicios/funcoes_error.py
thalles-dreissig20/Quebra_Cabeca
eeb9458dbabac72d9867e5ec5d7f1aa9b5993d79
[ "MIT" ]
null
null
null
def leiaInt(msg): while True: try: n = int(input(msg)) except (ValueError, TypeError): print('Erro: Por favor, digite um numero valido') continue except (KeyboardInterrupt): print('Entrada interromepida pelo usuario') return 0 else: ...
26.709677
60
0.541063
83
828
5.39759
0.421687
0.071429
0.125
0.066964
0.763393
0.691964
0.691964
0.691964
0.691964
0.691964
0
0.011561
0.373188
828
31
61
26.709677
0.851638
0
0
0.740741
0
0
0.237636
0
0
0
0
0
0
1
0.074074
false
0
0
0
0.222222
0.185185
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1c66055157dc1ad25ea0a9603aa062b4d0d7f944
338
py
Python
setup.py
efornaciari/keras-mixed-scale-dense-net
e4401b64d93a92b0660805062c327fded6a9461a
[ "Apache-2.0" ]
3
2018-04-21T11:43:42.000Z
2018-05-07T12:36:53.000Z
setup.py
efornaciari/keras-mixed-scale-dense-net
e4401b64d93a92b0660805062c327fded6a9461a
[ "Apache-2.0" ]
null
null
null
setup.py
efornaciari/keras-mixed-scale-dense-net
e4401b64d93a92b0660805062c327fded6a9461a
[ "Apache-2.0" ]
3
2018-04-26T03:08:28.000Z
2019-08-12T12:47:58.000Z
import setuptools setuptools.setup( name='keras-mixed-scale-dense-net', version='0.0.2', url='https://github.com/efornaciari/keras-mixed-scale-dense-net', author='Eric Fornaciari', maintainer='Eric Fornaciari', packages=setuptools.find_packages(), install_requires=['keras', 'keras-resnet', ...
30.727273
69
0.692308
41
338
5.658537
0.682927
0.086207
0.12931
0.172414
0.198276
0
0
0
0
0
0
0.010204
0.130178
338
11
70
30.727273
0.778912
0
0
0
0
0
0.427729
0.079646
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
1c70b2a0219ae3583c7f51ca814ffeab5f6c404a
14,522
py
Python
PX4-Autopilot/src/modules/mavlink/mavlink/doc/mavlink_gitbook.py
JinRIIS/Custom-PX4
1d11a5c944ae02d9b8f14cb42b1f99e0ab2916a8
[ "BSD-3-Clause" ]
3
2021-04-28T15:27:04.000Z
2021-05-03T16:23:24.000Z
PX4-Autopilot/src/modules/mavlink/mavlink/doc/mavlink_gitbook.py
JinRIIS/Custom-PX4
1d11a5c944ae02d9b8f14cb42b1f99e0ab2916a8
[ "BSD-3-Clause" ]
4
2021-05-03T16:58:53.000Z
2021-12-21T21:01:02.000Z
PX4-Autopilot/src/modules/mavlink/mavlink/doc/mavlink_gitbook.py
JinRIIS/Custom-PX4
1d11a5c944ae02d9b8f14cb42b1f99e0ab2916a8
[ "BSD-3-Clause" ]
9
2021-04-28T15:26:34.000Z
2021-12-21T20:41:30.000Z
#! /usr/bin/python """ This script generates markdown files for all the MAVLink message definition XML at: https://github.com/mavlink/mavlink/tree/master/message_definitions/v1.0 The files can be imported into a gitbook to display the messages as HTML The script runs on both Python2 and Python 3. The following li...
45.099379
267
0.727655
2,090
14,522
4.925359
0.211005
0.022732
0.0204
0.02652
0.223043
0.14999
0.121624
0.110744
0.110744
0.094618
0
0.004157
0.171739
14,522
321
268
45.239875
0.851679
0.133935
0
0.114583
1
0.1875
0.611222
0.045255
0
0
0
0
0
1
0.052083
false
0
0.03125
0.005208
0.135417
0.03125
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
1c7419dfc7215bc92a8f661c8add619eb0cded10
254
py
Python
exercicios/Lista1/Q32.py
AlexandrePeBrito/CursoUdemyPython
3de58cb30c9f333b32078309847179ff3f9d7e22
[ "MIT" ]
null
null
null
exercicios/Lista1/Q32.py
AlexandrePeBrito/CursoUdemyPython
3de58cb30c9f333b32078309847179ff3f9d7e22
[ "MIT" ]
null
null
null
exercicios/Lista1/Q32.py
AlexandrePeBrito/CursoUdemyPython
3de58cb30c9f333b32078309847179ff3f9d7e22
[ "MIT" ]
null
null
null
#leia um numero inteiro e #imprima a soma do sucessor de seu triplo com #o antecessor de seu dobro num=int(input("Informe um numero: ")) valor=((num*3)+1)+((num*2)-1) print(f"A soma do sucessor de seu triplo com o antecessor de seu dobro eh {valor}")
28.222222
83
0.712598
49
254
3.693878
0.571429
0.110497
0.077348
0.165746
0.552486
0.552486
0.552486
0.552486
0.552486
0.552486
0
0.018868
0.165354
254
9
83
28.222222
0.834906
0.370079
0
0
0
0
0.582278
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1c750efd51ec4b035096058af77ff6b8b8067c0f
1,816
py
Python
02_pygame_intro/1_hourglass.py
NickKaramoff/DjangoClasses
32c275d6d49888626375140070c83dca4cd67982
[ "Unlicense" ]
null
null
null
02_pygame_intro/1_hourglass.py
NickKaramoff/DjangoClasses
32c275d6d49888626375140070c83dca4cd67982
[ "Unlicense" ]
null
null
null
02_pygame_intro/1_hourglass.py
NickKaramoff/DjangoClasses
32c275d6d49888626375140070c83dca4cd67982
[ "Unlicense" ]
null
null
null
import pygame import sys pygame.init() clock = pygame.time.Clock() black = (0, 0, 0) white = (255, 255, 255) light_gray = (220, 220, 220) states = [ [ (100, 50), (250, 50), (250, 100), (180, 170), (180, 180), (250, 250), (250, 300), (100, 300), ...
18.916667
74
0.430617
214
1,816
3.593458
0.285047
0.062419
0.046814
0.031209
0.309493
0.189857
0.189857
0.189857
0.189857
0.189857
0
0.298997
0.395925
1,816
95
75
19.115789
0.402005
0.011013
0
0.494253
0
0
0
0
0
0
0
0
0
1
0
false
0
0.022989
0
0.022989
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
1c7a7bce98e422d8ac9be27f328cfb148518559e
262
py
Python
python3/2021/01-Sonar-Sweep/part2.py
DavidPesta/AdventOfCode
edd82fbc2776added6ae741d5318f97fc0c62e9f
[ "MIT" ]
3
2021-12-02T04:03:53.000Z
2021-12-30T20:31:30.000Z
python3/2021/01-Sonar-Sweep/part2.py
DavidPesta/AdventOfCode
edd82fbc2776added6ae741d5318f97fc0c62e9f
[ "MIT" ]
null
null
null
python3/2021/01-Sonar-Sweep/part2.py
DavidPesta/AdventOfCode
edd82fbc2776added6ae741d5318f97fc0c62e9f
[ "MIT" ]
null
null
null
input = open('input.txt', 'r').read().split("\n") depths = list(map(lambda s: int(s), input)) increases = 0; for i in range(1, len(depths)): if depths[i-2] + depths[i-1] + depths[i] > depths[i-3] + depths[i-2] + depths[i-1]: increases += 1 print(increases)
26.2
84
0.614504
47
262
3.425532
0.531915
0.26087
0.099379
0.173913
0.198758
0.198758
0
0
0
0
0
0.035874
0.148855
262
10
85
26.2
0.686099
0
0
0
0
0
0.045627
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1c84ba00009c76455935ccae860cd58401928946
207
py
Python
packages/nasm.py
mhutch/bockbuild
0d989e2d0259d17d41a195f8d28b3844a4652e7b
[ "MIT" ]
null
null
null
packages/nasm.py
mhutch/bockbuild
0d989e2d0259d17d41a195f8d28b3844a4652e7b
[ "MIT" ]
null
null
null
packages/nasm.py
mhutch/bockbuild
0d989e2d0259d17d41a195f8d28b3844a4652e7b
[ "MIT" ]
null
null
null
class NasmPackage (Package): def __init__ (self): Package.__init__ (self, 'nasm', '2.10.07', sources = [ 'http://www.nasm.us/pub/nasm/releasebuilds/2.10.07/nasm-%{version}.tar.xz' ]) NasmPackage ()
25.875
77
0.666667
29
207
4.482759
0.655172
0.123077
0.076923
0
0
0
0
0
0
0
0
0.055249
0.125604
207
7
78
29.571429
0.662983
0
0
0
0
0.166667
0.400966
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1c8966ef9744804113dd28211bc02088b98632ea
543
py
Python
core/migrations/0008_auto_20200212_1114.py
StateArchivesOfNorthCarolina/ratom_server
7fc2c179f1baee85c4b95cdf64a2d5d690d2482e
[ "MIT" ]
1
2020-02-24T03:47:17.000Z
2020-02-24T03:47:17.000Z
core/migrations/0008_auto_20200212_1114.py
StateArchivesOfNorthCarolina/ratom_server
7fc2c179f1baee85c4b95cdf64a2d5d690d2482e
[ "MIT" ]
21
2020-01-20T13:29:51.000Z
2022-03-12T00:11:12.000Z
core/migrations/0008_auto_20200212_1114.py
StateArchivesOfNorthCarolina/ratom_server
7fc2c179f1baee85c4b95cdf64a2d5d690d2482e
[ "MIT" ]
3
2020-08-27T09:20:34.000Z
2022-01-24T06:20:14.000Z
# Generated by Django 2.2.10 on 2020-02-12 16:14 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0007_auto_20200206_0844'), ] operations = [ migrations.RenameField( model_name='historicalmessageaudit', old_name='...
22.625
48
0.587477
50
543
6.2
0.66
0.135484
0.167742
0.193548
0.23871
0.23871
0
0
0
0
0
0.085106
0.307551
543
23
49
23.608696
0.739362
0.084715
0
0.470588
1
0
0.216162
0.090909
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
1c953938d67ef95a85d06372c6dca9c5424049ae
5,348
py
Python
connect/eaas/extension.py
bdjilka/connect-extension-runner
7930b34dae92addb3807984fd553debc2b78ac23
[ "Apache-2.0" ]
5
2021-05-13T10:07:04.000Z
2021-11-18T10:11:05.000Z
connect/eaas/extension.py
bdjilka/connect-extension-runner
7930b34dae92addb3807984fd553debc2b78ac23
[ "Apache-2.0" ]
4
2021-06-08T21:14:23.000Z
2022-03-31T08:29:52.000Z
connect/eaas/extension.py
bdjilka/connect-extension-runner
7930b34dae92addb3807984fd553debc2b78ac23
[ "Apache-2.0" ]
4
2021-07-01T10:50:29.000Z
2022-03-25T13:13:47.000Z
# # This file is part of the Ingram Micro CloudBlue Connect EaaS Extension Runner. # # Copyright (c) 2021 Ingram Micro. All Rights Reserved. # import json import pkg_resources from connect.eaas.dataclasses import ResultType class _Response: def __init__(self, status): self.status = status class Proces...
28.752688
82
0.680441
584
5,348
6.006849
0.172945
0.047891
0.077822
0.108324
0.632269
0.559578
0.526796
0.495154
0.47919
0.446123
0
0.006605
0.235602
5,348
185
83
28.908108
0.851517
0.091436
0
0.393701
0
0
0.00745
0
0
0
0
0
0
1
0.307087
false
0.015748
0.023622
0.102362
0.496063
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
98cebd1857b8b0e07f4dfa19a068d91fa7a54035
374
py
Python
tests/test_screener.py
ericwbzhang/yahooquery
a30cc310bf5eb4b5ce5eadeafe51d589995ea9fd
[ "MIT" ]
417
2019-12-20T05:19:29.000Z
2022-03-31T16:15:54.000Z
tests/test_screener.py
ericwbzhang/yahooquery
a30cc310bf5eb4b5ce5eadeafe51d589995ea9fd
[ "MIT" ]
93
2020-01-09T03:23:58.000Z
2022-03-27T05:02:15.000Z
tests/test_screener.py
ericwbzhang/yahooquery
a30cc310bf5eb4b5ce5eadeafe51d589995ea9fd
[ "MIT" ]
89
2020-03-23T02:18:30.000Z
2022-03-07T21:58:14.000Z
import pytest from yahooquery import Screener def test_screener(): s = Screener() assert s.get_screeners("most_actives") is not None def test_available_screeners(): s = Screener() assert s.available_screeners is not None def test_bad_screener(): with pytest.raises(ValueError): s = Scr...
18.7
54
0.703209
49
374
5.163265
0.44898
0.083004
0.177866
0.189723
0.379447
0.252964
0.252964
0
0
0
0
0
0.208556
374
19
55
19.684211
0.85473
0
0
0.25
0
0
0.061497
0
0
0
0
0
0.25
1
0.25
false
0
0.166667
0
0.416667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
98d38374272bc72a12de43609ee82724a2b600a0
128
py
Python
python_100/Level1/30.set_use.py
relax-space/python-cy
eaf4650756e7ece5ec97894b65a7495b5c964eb3
[ "Apache-2.0" ]
1
2020-04-27T03:31:23.000Z
2020-04-27T03:31:23.000Z
python_100/Level1/30.set_use.py
relax-space/python-cy
eaf4650756e7ece5ec97894b65a7495b5c964eb3
[ "Apache-2.0" ]
1
2020-04-14T23:55:19.000Z
2020-04-15T03:29:37.000Z
python_100/Level1/30.set_use.py
relax-space/python-cy
eaf4650756e7ece5ec97894b65a7495b5c964eb3
[ "Apache-2.0" ]
null
null
null
# 30.python代码实现删除一个list里面的重复元素 a = [1,2,3,4,5,6,5,4,3,2,0] b = list(set(a)) print(b) # 或者可以考虑创建一个新的 空列表,然后遍历原列表,不在新列表中的进行append
21.333333
42
0.710938
24
128
3.791667
0.75
0
0
0
0
0
0
0
0
0
0
0.112069
0.09375
128
6
42
21.333333
0.672414
0.539063
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
98da3ca6e4d6c98538d484778108b91496caf3be
2,556
py
Python
django_odesk/auth/views.py
solex/django-odesk
c545e320d3cab51b7c81121234ebd62918eec0ac
[ "BSD-3-Clause" ]
null
null
null
django_odesk/auth/views.py
solex/django-odesk
c545e320d3cab51b7c81121234ebd62918eec0ac
[ "BSD-3-Clause" ]
1
2020-02-21T16:05:04.000Z
2020-02-21T16:05:04.000Z
django_odesk/auth/views.py
solex/django-odesk
c545e320d3cab51b7c81121234ebd62918eec0ac
[ "BSD-3-Clause" ]
1
2019-09-01T09:25:16.000Z
2019-09-01T09:25:16.000Z
import logging import datetime from django.http import HttpResponseRedirect from django.contrib.auth import authenticate as django_authenticate from django.contrib.auth import login, REDIRECT_FIELD_NAME from django_odesk.core.clients import DefaultClient from django_odesk.auth import ODESK_REDIRECT_SESSION_KEY, \ ...
41.901639
106
0.656103
299
2,556
5.374582
0.337793
0.037337
0.028002
0.042937
0.240199
0.133167
0.133167
0.073429
0.073429
0.073429
0
0.005391
0.274257
2,556
60
107
42.6
0.860916
0.094679
0
0.137255
0
0
0.02382
0
0
0
0
0.016667
0
0
null
null
0.019608
0.176471
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
98e08f2b7673c3df79e57cd8d8106c9bcb338cb4
314
py
Python
mess/funcs.py
alexandershov/mess
7b0d956c1fd39cca2e4adcd5dc35952ec3ed3fd5
[ "MIT" ]
null
null
null
mess/funcs.py
alexandershov/mess
7b0d956c1fd39cca2e4adcd5dc35952ec3ed3fd5
[ "MIT" ]
null
null
null
mess/funcs.py
alexandershov/mess
7b0d956c1fd39cca2e4adcd5dc35952ec3ed3fd5
[ "MIT" ]
null
null
null
import operator # TODO: allow to pass extra args: e.g call.count.args('a') class _Call(object): def __getattr__(self, method_name): """ Return a callable object that calls the specified method name on its operand. """ return operator.methodcaller(method_name) call = _Call()
24.153846
85
0.665605
42
314
4.785714
0.714286
0.149254
0
0
0
0
0
0
0
0
0
0
0.238854
314
13
86
24.153846
0.841004
0.429936
0
0
0
0
0
0
0
0
0
0.076923
0
1
0.2
false
0
0.2
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
98e7886c9db47902d44f403f461cb4396a518864
460
py
Python
spaCY_examples/entity_recognition.py
mark-watson/cognitive-computing-book
d097e049a8ce6392dd338f88d48b5d07e26f1489
[ "Apache-2.0" ]
10
2016-05-14T21:58:21.000Z
2021-05-27T17:55:52.000Z
spaCY_examples/entity_recognition.py
mark-watson/cognitive-computing-book
d097e049a8ce6392dd338f88d48b5d07e26f1489
[ "Apache-2.0" ]
null
null
null
spaCY_examples/entity_recognition.py
mark-watson/cognitive-computing-book
d097e049a8ce6392dd338f88d48b5d07e26f1489
[ "Apache-2.0" ]
5
2017-11-02T00:34:38.000Z
2021-06-01T10:50:27.000Z
import spacy nlp = spacy.load('en') doc = nlp(u'President Trump has a dispute with Mexico over immigration. IBM and Apple are cooperating on marketing in 2014. Pepsi and Coke sell well to Asian and South American customers. He bought a Ford Escort for $20,000 and drove to the lake for the weekend. The parade was last S...
65.714286
294
0.730435
75
460
4.453333
0.76
0.065868
0.101796
0
0
0
0
0
0
0
0
0.023747
0.176087
460
6
295
76.666667
0.85752
0
0
0
0
0.166667
0.680435
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
98f134deb05bf88654d179028ccf44b60c37fa62
1,232
py
Python
libactors/actor/messages.py
DanielSolomon/libactors
b4e7147ccb3cee2e52bac7cefc65a51a549d5dd7
[ "MIT" ]
1
2021-10-03T19:33:33.000Z
2021-10-03T19:33:33.000Z
libactors/actor/messages.py
DanielSolomon/libactors
b4e7147ccb3cee2e52bac7cefc65a51a549d5dd7
[ "MIT" ]
null
null
null
libactors/actor/messages.py
DanielSolomon/libactors
b4e7147ccb3cee2e52bac7cefc65a51a549d5dd7
[ "MIT" ]
null
null
null
import dataclasses from typing import Any from ..message import ( Message, ) @dataclasses.dataclass(frozen=True) class ActletDoneMessage(Message): """Framework-level message sent internally when Actlet execution ends """ result: Any @dataclasses.dataclass(frozen=True) class TimerConfiguration(Messa...
26.212766
94
0.707792
147
1,232
5.931973
0.530612
0.091743
0.119266
0.137615
0.16055
0
0
0
0
0
0
0.00103
0.211851
1,232
46
95
26.782609
0.897013
0.534091
0
0.285714
0
0
0
0
0
0
0
0
0
1
0
true
0.095238
0.142857
0
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
2
98f1f23e9a762f6c92869b93dada4592ac5e358a
149
py
Python
src/py/util/nth.py
cgnik/euler
fe70459a0e0d0272980300a4782872f2e545fea5
[ "MIT" ]
null
null
null
src/py/util/nth.py
cgnik/euler
fe70459a0e0d0272980300a4782872f2e545fea5
[ "MIT" ]
null
null
null
src/py/util/nth.py
cgnik/euler
fe70459a0e0d0272980300a4782872f2e545fea5
[ "MIT" ]
null
null
null
def nth(test, items): if test > 0: test -= 1 else: test = 0 for i, v in enumerate(items): if i == test: return v
18.625
33
0.47651
23
149
3.086957
0.608696
0.197183
0
0
0
0
0
0
0
0
0
0.034091
0.409396
149
7
34
21.285714
0.772727
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
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
98f30ebf87d5c5691a0defa8d25f27381495a27d
1,321
py
Python
tests/experimental_tests/links_tests/model_tests/pspnet_tests/test_convolution_crop.py
souravsingh/chainercv
8f76510472bc95018c183e72f37bc6c34a89969c
[ "MIT" ]
1,600
2017-06-01T15:37:52.000Z
2022-03-09T08:39:09.000Z
tests/experimental_tests/links_tests/model_tests/pspnet_tests/test_convolution_crop.py
souravsingh/chainercv
8f76510472bc95018c183e72f37bc6c34a89969c
[ "MIT" ]
547
2017-06-01T06:43:16.000Z
2021-05-28T17:14:05.000Z
tests/experimental_tests/links_tests/model_tests/pspnet_tests/test_convolution_crop.py
souravsingh/chainercv
8f76510472bc95018c183e72f37bc6c34a89969c
[ "MIT" ]
376
2017-06-02T01:29:10.000Z
2022-03-13T11:19:59.000Z
import numpy as np import unittest from chainer import testing from chainercv.experimental.links.model.pspnet import convolution_crop class TestConvolutionCrop(unittest.TestCase): def test_convolution_crop(self): size = (8, 6) stride = (8, 6) n_channel = 3 img = np.random.uniform...
36.694444
76
0.588191
178
1,321
4.185393
0.331461
0.201342
0.214765
0.048322
0.373154
0.348993
0.348993
0.260403
0
0
0
0.032529
0.278577
1,321
35
77
37.742857
0.749213
0
0
0.071429
0
0
0.063588
0
0
0
0
0
0.357143
1
0.035714
false
0
0.142857
0
0.214286
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
98f8d3b0b34f59c641d19c37d7c30c9f634f2000
2,102
py
Python
PyStationB/libraries/ABEX/abex/gpy/priors.py
BrunoKM/station-b-libraries
ea3591837e4a33f0bef789d905467754c27913b3
[ "MIT" ]
6
2021-09-29T15:46:55.000Z
2021-12-14T18:39:51.000Z
PyStationB/libraries/ABEX/abex/gpy/priors.py
BrunoKM/station-b-libraries
ea3591837e4a33f0bef789d905467754c27913b3
[ "MIT" ]
null
null
null
PyStationB/libraries/ABEX/abex/gpy/priors.py
BrunoKM/station-b-libraries
ea3591837e4a33f0bef789d905467754c27913b3
[ "MIT" ]
3
2021-09-27T10:35:20.000Z
2021-10-02T17:53:07.000Z
# ------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. # ----------------------------------------------------------------------...
43.791667
116
0.592769
282
2,102
4.375887
0.425532
0.028363
0.026742
0.04376
0.200162
0.180713
0.149919
0.149919
0.100486
0.100486
0
0.01421
0.19648
2,102
47
117
44.723404
0.7164
0.501427
0
0
0
0
0.026612
0
0
0
0
0
0
1
0.263158
false
0
0.210526
0
0.789474
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
98fa52edadc2babf106b7224c5ba7e835ffc6d6d
302
py
Python
gallery/admin.py
OjureFred/WebView-Gallery
7e08ffc02a3d6ae173b651997db882a6a44db713
[ "MIT" ]
null
null
null
gallery/admin.py
OjureFred/WebView-Gallery
7e08ffc02a3d6ae173b651997db882a6a44db713
[ "MIT" ]
7
2021-03-30T14:13:40.000Z
2021-09-22T19:33:23.000Z
gallery/admin.py
OjureFred/WebView-Gallery
7e08ffc02a3d6ae173b651997db882a6a44db713
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Gallery, Location, categories # Register your models here. class GalleryAdmin(admin.ModelAdmin): filter_horizontal = ('categories',) admin.site.register(Gallery, GalleryAdmin) admin.site.register(Location) admin.site.register(categories)
25.166667
49
0.788079
35
302
6.771429
0.514286
0.113924
0.21519
0
0
0
0
0
0
0
0
0
0.115894
302
11
50
27.454545
0.88764
0.086093
0
0
0
0
0.036496
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
c70f42303c894e415686dec261653e184b61ace7
2,108
py
Python
jsonlog_cli/colours.py
borntyping/legere
df26b01bb922b88c6674299ffe5ce62df226bddd
[ "MIT" ]
1
2019-09-25T07:59:39.000Z
2019-09-25T07:59:39.000Z
jsonlog_cli/colours.py
borntyping/legere
df26b01bb922b88c6674299ffe5ce62df226bddd
[ "MIT" ]
3
2020-03-24T17:28:20.000Z
2020-10-01T09:40:26.000Z
jsonlog_cli/colours.py
borntyping/jsonlog-cli
df26b01bb922b88c6674299ffe5ce62df226bddd
[ "MIT" ]
null
null
null
from __future__ import annotations import collections import dataclasses import typing import click from jsonlog_cli.record import RecordValue K = typing.TypeVar("K") V = typing.TypeVar("V") @dataclasses.dataclass() class Alias(typing.Generic[K]): name: K class AliasedDict(collections.UserDict, typing.Mappi...
25.39759
86
0.62334
243
2,108
5.288066
0.312757
0.009339
0.058366
0.034241
0
0
0
0
0
0
0
0
0.25
2,108
82
87
25.707317
0.812777
0
0
0.160714
0
0
0.055028
0
0
0
0
0
0
1
0.160714
false
0
0.107143
0.107143
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
c71c0ecbc7b812fba9210d33941da55f4100fab8
390
py
Python
faver_site/faver_app/migrations/0004_remove_faveruser_password.py
Zylphrex/friendly-octo-meme
526763473b6d89f613d9f58232cf937f336f269d
[ "MIT" ]
null
null
null
faver_site/faver_app/migrations/0004_remove_faveruser_password.py
Zylphrex/friendly-octo-meme
526763473b6d89f613d9f58232cf937f336f269d
[ "MIT" ]
null
null
null
faver_site/faver_app/migrations/0004_remove_faveruser_password.py
Zylphrex/friendly-octo-meme
526763473b6d89f613d9f58232cf937f336f269d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-01-22 00:23 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('faver_app', '0003_contract'), ] operations = [ migrations.RemoveField( ...
19.5
48
0.610256
42
390
5.47619
0.833333
0
0
0
0
0
0
0
0
0
0
0.073944
0.271795
390
19
49
20.526316
0.735915
0.174359
0
0
1
0
0.122257
0
0
0
0
0
0
1
0
false
0.083333
0.166667
0
0.416667
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
c71cb94612c01fad654373c0dc003f9cb4a8651c
325
py
Python
run_api.py
JyLIU-emma/Projet_flask_RESTful_API_final
a5b7afc217f75df1db01b492bc06260970dedde6
[ "CC0-1.0" ]
null
null
null
run_api.py
JyLIU-emma/Projet_flask_RESTful_API_final
a5b7afc217f75df1db01b492bc06260970dedde6
[ "CC0-1.0" ]
null
null
null
run_api.py
JyLIU-emma/Projet_flask_RESTful_API_final
a5b7afc217f75df1db01b492bc06260970dedde6
[ "CC0-1.0" ]
1
2021-07-09T18:30:47.000Z
2021-07-09T18:30:47.000Z
from flask import Flask from werkzeug.middleware.dispatcher import DispatcherMiddleware from backend.api_sep import app as back # from frontend.app import app as front back if __name__=='__main__': back.run(host='0.0.0.0', port=5000, use_evalex=True, use_reloader=True, use_debugger=...
27.083333
64
0.716923
47
325
4.702128
0.595745
0.027149
0.099548
0
0
0
0
0
0
0
0
0.030769
0.2
325
12
65
27.083333
0.819231
0.113846
0
0
0
0
0.054348
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
c722d6d57b73a8c5f5e0b71951c86a933bb6a3ea
714
py
Python
spark_auto_mapper_fhir/value_sets/document_section_type.py
imranq2/SparkAutoMapper.FHIR
dd23b218fb0097d1edc2f3e688e8d6d4d7278bd2
[ "Apache-2.0" ]
1
2020-10-31T23:25:07.000Z
2020-10-31T23:25:07.000Z
spark_auto_mapper_fhir/value_sets/document_section_type.py
icanbwell/SparkAutoMapper.FHIR
98f368e781b46523142c7cb513c670d659a93c9b
[ "Apache-2.0" ]
null
null
null
spark_auto_mapper_fhir/value_sets/document_section_type.py
icanbwell/SparkAutoMapper.FHIR
98f368e781b46523142c7cb513c670d659a93c9b
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations from spark_auto_mapper_fhir.value_sets.generic_type import GenericTypeCode from spark_auto_mapper.type_definitions.defined_types import AutoMapperTextInputType # This file is auto-generated by generate_classes so do not edit manually # noinspection PyPep8Naming class DocumentSecti...
35.7
90
0.788515
83
714
6.518072
0.722892
0.033272
0.048059
0.07024
0
0
0
0
0
0
0
0.00821
0.147059
714
19
91
37.578947
0.880131
0.47619
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c724cdb5aa54906a87530e152d215a9600d1b5c6
285
py
Python
icbd/compiler/tests/94.py
kmod/icbd
9636564eb3993afa07c6220d589bbd1991923d74
[ "MIT" ]
7
2015-04-06T15:17:13.000Z
2020-10-21T04:57:00.000Z
icbd/compiler/tests/94.py
kmod/icbd
9636564eb3993afa07c6220d589bbd1991923d74
[ "MIT" ]
null
null
null
icbd/compiler/tests/94.py
kmod/icbd
9636564eb3993afa07c6220d589bbd1991923d74
[ "MIT" ]
4
2016-05-16T17:53:08.000Z
2020-11-28T17:18:50.000Z
""" collections.deque """ def main(): from collections import deque d = deque() for i in xrange(25): d.append(i) print list(d) print d.popleft() print list(d) d.appendleft(55) for i in xrange(5): print d.pop() print list(d) main()
15
33
0.557895
42
285
3.785714
0.47619
0.169811
0.188679
0.150943
0
0
0
0
0
0
0
0.025253
0.305263
285
18
34
15.833333
0.777778
0
0
0.230769
0
0
0
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.384615
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
1
0
0
0
0
0
0
0
0
2
c74d5a905b8d49d334ec0bcb1796557201f713b1
4,445
py
Python
release/stubs.min/Rhino/Geometry/__init___parts/Vector2d.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Rhino/Geometry/__init___parts/Vector2d.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Rhino/Geometry/__init___parts/Vector2d.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
class Vector2d( object, ISerializable, IEquatable[Vector2d], IComparable[Vector2d], IComparable, IEpsilonComparable[Vector2d], ): """ Represents the two components of a vector in two-dimensional space, using System.Double-precision floating point numbers. Vector2d(x...
19.755556
221
0.597075
545
4,445
4.688073
0.27156
0.041096
0.032877
0.029354
0.260274
0.207045
0.196086
0.196086
0.138943
0.138943
0
0.010652
0.303037
4,445
224
222
19.84375
0.814074
0.457143
0
0.346939
0
0
0
0
0
0
0
0
0
1
0.346939
false
0.346939
0
0
0.489796
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
c7529d536131764161f2d47f6647dec191054197
2,039
py
Python
authentik/admin/api/metrics.py
BeryJu/passbook
350f0d836580f4411524614f361a76c4f27b8a2d
[ "MIT" ]
15
2020-01-05T09:09:57.000Z
2020-11-28T05:27:39.000Z
authentik/admin/api/metrics.py
BeryJu/passbook
350f0d836580f4411524614f361a76c4f27b8a2d
[ "MIT" ]
302
2020-01-21T08:03:59.000Z
2020-12-04T05:04:57.000Z
authentik/admin/api/metrics.py
BeryJu/passbook
350f0d836580f4411524614f361a76c4f27b8a2d
[ "MIT" ]
3
2020-03-04T08:21:59.000Z
2020-08-01T20:37:18.000Z
"""authentik administration metrics""" from drf_spectacular.utils import extend_schema, extend_schema_field from guardian.shortcuts import get_objects_for_user from rest_framework.fields import IntegerField, SerializerMethodField from rest_framework.permissions import IsAdminUser from rest_framework.request import Requ...
34.559322
71
0.728298
228
2,039
6.280702
0.320175
0.024441
0.059358
0.035615
0.297486
0.25838
0.25838
0.25838
0.25838
0.178771
0
0.008429
0.185385
2,039
58
72
35.155172
0.853703
0.108877
0
0.263158
0
0
0.037058
0.03032
0
0
0
0
0
1
0.078947
false
0.078947
0.236842
0
0.605263
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
c75b2c7297e63e397681613f3d65a5607c279642
2,302
py
Python
softdelete/views.py
BehaviorCloud/django-softdelete
f74fb5a2ef2c3777d1c2a30513cf57c641649096
[ "BSD-2-Clause" ]
null
null
null
softdelete/views.py
BehaviorCloud/django-softdelete
f74fb5a2ef2c3777d1c2a30513cf57c641649096
[ "BSD-2-Clause" ]
null
null
null
softdelete/views.py
BehaviorCloud/django-softdelete
f74fb5a2ef2c3777d1c2a30513cf57c641649096
[ "BSD-2-Clause" ]
null
null
null
from django.http import HttpResponse, Http404, HttpResponseRedirect from django.conf import settings from django.shortcuts import render_to_response, get_object_or_404, redirect from django.core.urlresolvers import reverse from django.core import serializers from django.contrib import auth from django.contrib.auth.deco...
36.539683
80
0.735013
268
2,302
6.171642
0.302239
0.078597
0.019952
0.025393
0.191052
0.160822
0.125756
0.082225
0.082225
0.082225
0
0.006286
0.170721
2,302
62
81
37.129032
0.860136
0
0
0.22
0
0
0.056473
0.031712
0
0
0
0
0
1
0.18
false
0
0.32
0.14
0.86
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
0
0
0
2
c7625c7eb0f13c1cf1ef14f3c1cc3bff22b519e2
711
py
Python
src/old-verbio/tools.py
jasondraether/verbio
0db543ebdee05e5cc24556d2239b7eaf215361a2
[ "MIT" ]
null
null
null
src/old-verbio/tools.py
jasondraether/verbio
0db543ebdee05e5cc24556d2239b7eaf215361a2
[ "MIT" ]
null
null
null
src/old-verbio/tools.py
jasondraether/verbio
0db543ebdee05e5cc24556d2239b7eaf215361a2
[ "MIT" ]
null
null
null
from typing import List def combine_dicts(data_map1: dict, data_map2: dict) -> dict: return {**data_map1, **data_map2} def is_pt_valid(data_map: dict, exp_features: List[str], exp_sessions: List[str]) -> bool: """Searches for (feature, session) pairs in data map for participant Args: data_map (dict): Dictionar...
32.318182
90
0.746835
107
711
4.813084
0.411215
0.054369
0.042718
0.069903
0
0
0
0
0
0
0
0.006723
0.16315
711
21
91
33.857143
0.858824
0.530239
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
c7649ce2cbf3a49e2d9974e2aff71ea1225a1b10
625
py
Python
grammar/models.py
andyfangdzarchive/My-SAT-Life
789b556c603d1ca59173f99a86399397135f483d
[ "Unlicense" ]
null
null
null
grammar/models.py
andyfangdzarchive/My-SAT-Life
789b556c603d1ca59173f99a86399397135f483d
[ "Unlicense" ]
null
null
null
grammar/models.py
andyfangdzarchive/My-SAT-Life
789b556c603d1ca59173f99a86399397135f483d
[ "Unlicense" ]
null
null
null
from django.db import models # Create your models here. class Grammar(models.Model): nick = models.CharField('Nick name',max_length=200) question_1st = models.CharField('First part of question',max_length=200) question_2nd = models.CharField('Second part of question',max_length=200) pub_date = models.DateTim...
31.25
75
0.7632
86
625
5.337209
0.488372
0.130719
0.104575
0.087146
0.217865
0.11329
0
0
0
0
0
0.025878
0.1344
625
19
76
32.894737
0.822551
0.0384
0
0.142857
0
0
0.156928
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0.142857
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
c76e13a088d71a1fbb7fe6f15ab10548482edf8b
508
py
Python
sunblaze_envs/base.py
llucid-97/rl-generalization
5561067d6fe0f8873a1e83b2479a6a6faa820dfa
[ "MIT" ]
84
2018-10-31T19:45:03.000Z
2022-02-17T17:29:12.000Z
sunblaze_envs/base.py
llucid-97/rl-generalization
5561067d6fe0f8873a1e83b2479a6a6faa820dfa
[ "MIT" ]
9
2018-11-29T13:29:59.000Z
2021-05-11T23:54:20.000Z
sunblaze_envs/base.py
llucid-97/rl-generalization
5561067d6fe0f8873a1e83b2479a6a6faa820dfa
[ "MIT" ]
15
2018-10-31T19:45:29.000Z
2022-03-25T16:06:11.000Z
from abc import ABC, abstractmethod import gym class BaseGymEnvironment(gym.Env): """Base class for all Gym environments.""" @property def parameters(self): """Return environment parameters.""" return { 'id': self.spec.id, } class EnvBinarySuccessMixin(ABC): """...
20.32
79
0.635827
53
508
6.075472
0.660377
0
0
0
0
0
0
0
0
0
0
0
0.261811
508
24
80
21.166667
0.858667
0.344488
0
0
0
0
0.006431
0
0
0
0
0
0
1
0.166667
false
0.083333
0.166667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
c775207c06053963492d92c714c9735b516b1198
414
py
Python
sandbox/core/system.py
xe1gyq/EekMex
dbe5c39a7fca92b7f3e734ae729176024149edf7
[ "Apache-2.0" ]
null
null
null
sandbox/core/system.py
xe1gyq/EekMex
dbe5c39a7fca92b7f3e734ae729176024149edf7
[ "Apache-2.0" ]
2
2015-06-16T13:38:55.000Z
2015-06-17T02:05:17.000Z
sandbox/core/system.py
xe1gyq/eekmex
dbe5c39a7fca92b7f3e734ae729176024149edf7
[ "Apache-2.0" ]
null
null
null
import commands import logging import numpy import math import psutil from utilities import BytesToHuman class System(object): def __init__(self): pass def cpu(mode): output = psutil.cpu_times_percent(interval=1, percpu=False) return "%.1f" % output.system def memory(self): ...
18
67
0.683575
51
414
5.411765
0.647059
0.086957
0
0
0
0
0
0
0
0
0
0.006329
0.236715
414
22
68
18.818182
0.867089
0.02657
0
0
0
0
0.009975
0
0
0
0
0
0
1
0.2
false
0.066667
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
c77c3c06c0d22b5c72807917b4d4c2d20c303cd3
14,678
py
Python
pysnmp-with-texts/AGG-TRAP-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/AGG-TRAP-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/AGG-TRAP-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 AGG-TRAP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/AGG-TRAP-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:15:43 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019,...
222.393939
762
0.773675
1,919
14,678
5.916623
0.147473
0.069843
0.085961
0.006341
0.661793
0.585697
0.566849
0.55857
0.528184
0.514973
0
0.033109
0.111051
14,678
65
763
225.815385
0.837063
0.021665
0
0
0
0.241379
0.581702
0.008292
0
0
0
0
0
1
0
false
0
0.12069
0
0.12069
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c77f898d76cf8e18e8e2eb890fe0b72eaf3ee59f
597
py
Python
libvirt_ebs/handlers/az.py
elprans/libvirt-ebs
a414711248db21de250d7740af06f8106cee57b8
[ "Apache-2.0" ]
null
null
null
libvirt_ebs/handlers/az.py
elprans/libvirt-ebs
a414711248db21de250d7740af06f8106cee57b8
[ "Apache-2.0" ]
null
null
null
libvirt_ebs/handlers/az.py
elprans/libvirt-ebs
a414711248db21de250d7740af06f8106cee57b8
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations import asyncio import textwrap from typing import Any, Dict, Tuple import libvirt from . import _routing from .. import objects @_routing.handler("DescribeAvailabilityZones") async def describe_availability_zones( args: _routing.HandlerArgs, app: _routing.App, ) -> Dict[...
22.111111
49
0.626466
60
597
6.066667
0.666667
0.049451
0.043956
0
0
0
0
0
0
0
0
0.006696
0.249581
597
27
50
22.111111
0.805804
0
0
0
0
0
0.244147
0.041806
0
0
0
0
0
1
0
true
0
0.333333
0
0.380952
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
c7830cb60d63f7fff72b04c0fea72b104f294e4d
1,567
py
Python
plugins/google_directory/icon_google_directory/actions/get_all_domain_users/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/google_directory/icon_google_directory/actions/get_all_domain_users/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/google_directory/icon_google_directory/actions/get_all_domain_users/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
# GENERATED BY KOMAND SDK - DO NOT EDIT import komand import json class Component: DESCRIPTION = "Get all domain users" class Input: DOMAIN = "domain" class Output: USERS = "users" class GetAllDomainUsersInput(komand.Input): schema = json.loads(""" { "type": "object", "title": "Va...
17.806818
57
0.494576
137
1,567
5.474453
0.372263
0.042667
0.06
0.050667
0.245333
0.245333
0.245333
0.245333
0.114667
0.114667
0
0.003813
0.330568
1,567
87
58
18.011494
0.711153
0.023612
0
0.337838
1
0
0.698298
0
0
0
0
0
0
1
0.027027
false
0
0.027027
0
0.189189
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
c793f9e0f6348ffedfbebb3f715d8f0ed101e40b
213
py
Python
plugins/wikipedia/config.py
su226/IdhagnBot
a5db1b6ab69fdf67fd6e53a63b34c6bc863d6609
[ "MIT" ]
2
2022-02-14T06:37:05.000Z
2022-03-30T12:18:15.000Z
plugins/wikipedia/config.py
su226/IdhagnBot
a5db1b6ab69fdf67fd6e53a63b34c6bc863d6609
[ "MIT" ]
null
null
null
plugins/wikipedia/config.py
su226/IdhagnBot
a5db1b6ab69fdf67fd6e53a63b34c6bc863d6609
[ "MIT" ]
null
null
null
from util.config import BaseConfig class Config(BaseConfig): __file__ = "wikipedia" zim: str = "" page_size: int = 10 width: int = 800 scale: float = 1 use_opencc: bool = True CONFIG = Config.load()
17.75
34
0.676056
29
213
4.758621
0.827586
0
0
0
0
0
0
0
0
0
0
0.035928
0.215962
213
11
35
19.363636
0.790419
0
0
0
0
0
0.042254
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.888889
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
c79927c9f7f33f50a571792c9557b81f38a7a935
5,982
py
Python
prediction_codes/prior_generating.py
yiminghu/post-GWAS-pipeline
2c8a52ccf491e07c09b7e0826197ae0e6b959b53
[ "MIT" ]
8
2018-12-10T17:57:43.000Z
2021-04-16T18:47:39.000Z
prediction_codes/prior_generating.py
yiminghu/post-GWAS-pipeline
2c8a52ccf491e07c09b7e0826197ae0e6b959b53
[ "MIT" ]
1
2019-10-21T22:46:12.000Z
2019-10-24T13:16:19.000Z
prediction_codes/prior_generating.py
yiminghu/post-GWAS-pipeline
2c8a52ccf491e07c09b7e0826197ae0e6b959b53
[ "MIT" ]
6
2019-04-12T18:05:15.000Z
2021-10-31T05:19:50.000Z
#!/usr/bin/env python ### generate prior file from h5py file directly ### ### generate_h2_pT generates two prior files from the results of LDSC and a fixed annotation file ### ### generate_h2_from_user generates one prior file from the user provided prior file ### import h5py import os from collections import Counter ...
33.233333
113
0.609662
913
5,982
3.808324
0.240964
0.018694
0.025884
0.018982
0.231234
0.173713
0.113316
0.063273
0.063273
0.063273
0
0.039578
0.239719
5,982
179
114
33.418994
0.724934
0.124206
0
0.089552
1
0
0.140058
0.019011
0
0
0
0
0
0
null
null
0
0.074627
null
null
0.059701
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
c79e5485b6cb8d4607bab71ef9eec7f55fc6c45e
685
py
Python
odoo/base-addons/website_event/__manifest__.py
LucasBorges-Santos/docker-odoo
53987bbd61f6119669b5f801ee2ad54695084a21
[ "MIT" ]
null
null
null
odoo/base-addons/website_event/__manifest__.py
LucasBorges-Santos/docker-odoo
53987bbd61f6119669b5f801ee2ad54695084a21
[ "MIT" ]
null
null
null
odoo/base-addons/website_event/__manifest__.py
LucasBorges-Santos/docker-odoo
53987bbd61f6119669b5f801ee2ad54695084a21
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- { 'name': 'Events', 'category': 'Website/Website', 'sequence': 166, 'summary': 'Publish events, sell tickets', 'website': 'https://www.odoo.com/page/events', 'description': "", 'depends': ['website', 'website_partner', 'website_mail', 'event'], 'data': [ ...
26.346154
71
0.566423
72
685
5.236111
0.583333
0.084881
0.103448
0
0
0
0
0
0
0
0
0.00956
0.236496
685
25
72
27.4
0.711281
0.030657
0
0.086957
0
0
0.607251
0.241692
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
c79eb0ecef7a94222031bc0c2b1b579c378be92d
516
py
Python
tests/r/test_cholera.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
199
2017-07-24T01:34:27.000Z
2022-01-29T00:50:55.000Z
tests/r/test_cholera.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
46
2017-09-05T19:27:20.000Z
2019-01-07T09:47:26.000Z
tests/r/test_cholera.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
45
2017-07-26T00:10:44.000Z
2022-03-16T20:44:59.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import shutil import sys import tempfile from observations.r.cholera import cholera def test_cholera(): """Test module cholera.py by downloading cholera.csv and testing shape of extracted data has 38...
21.5
44
0.753876
72
516
5.125
0.569444
0.081301
0.130081
0
0
0
0
0
0
0
0
0.018913
0.180233
516
23
45
22.434783
0.853428
0.217054
0
0
0
0
0
0
0
0
0
0
0.066667
1
0.066667
false
0
0.466667
0
0.533333
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c7ad388ff9c32dd07fdb4577cfbe55f8e794c606
244
py
Python
ejercicio1.py
Javifdz12/ejercicios_agregacion_y_composicionn
72010cbd530945702654c0a5b010b2e23e5dffcf
[ "Apache-2.0" ]
1
2022-03-27T17:29:34.000Z
2022-03-27T17:29:34.000Z
ejercicio1.py
emherraiz/ejercicios_agregacion_y_composicionn
cda40b33f0cd7578c1f6af1eca2f68c60db1d4e2
[ "Apache-2.0" ]
null
null
null
ejercicio1.py
emherraiz/ejercicios_agregacion_y_composicionn
cda40b33f0cd7578c1f6af1eca2f68c60db1d4e2
[ "Apache-2.0" ]
1
2022-03-22T12:01:50.000Z
2022-03-22T12:01:50.000Z
class lista: def __init__(self,list): self.list=list def tamaño(self): for i in range(len(self.list)): print(f'{i+1}- {self.list[i]}') print(len(self.list)) lista1=[1,2,3,4,5] lista(lista1).tamaño()
22.181818
43
0.561475
39
244
3.410256
0.512821
0.300752
0.165414
0
0
0
0
0
0
0
0
0.043716
0.25
244
11
44
22.181818
0.68306
0
0
0
0
0
0.085714
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.333333
0.222222
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
c7b5917aab065023a847e54afd5e9a3dbfcdf913
143
py
Python
toughio/_io/output/csv/__init__.py
keurfonluu/ToughMeshio
9f374f5c72df4d76bf63ae4f87f2f2d4e52c81e0
[ "BSD-3-Clause-LBNL" ]
21
2020-03-05T20:03:58.000Z
2022-03-14T23:17:42.000Z
toughio/_io/output/csv/__init__.py
keurfonluu/ToughMeshio
9f374f5c72df4d76bf63ae4f87f2f2d4e52c81e0
[ "BSD-3-Clause-LBNL" ]
60
2020-02-14T22:53:01.000Z
2022-03-26T07:24:19.000Z
toughio/_io/output/csv/__init__.py
keurfonluu/ToughMeshio
9f374f5c72df4d76bf63ae4f87f2f2d4e52c81e0
[ "BSD-3-Clause-LBNL" ]
6
2020-02-28T08:15:36.000Z
2022-03-13T23:26:24.000Z
from .._helpers import register from ._csv import read, write __all__ = [ "read", "write", ] register("csv", [".csv"], read, write)
13
38
0.615385
17
143
4.823529
0.470588
0.329268
0
0
0
0
0
0
0
0
0
0
0.20979
143
10
39
14.3
0.725664
0
0
0
0
0
0.111888
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
c7cb250e0d45bae405797291c5218a9c2bdeaf3d
684
py
Python
Desafios/Mundo 1/ex022.py
lucasllimati/CursoEmVideo
01d75626baf8b82f141d62f681e55a9bda0099fd
[ "MIT" ]
null
null
null
Desafios/Mundo 1/ex022.py
lucasllimati/CursoEmVideo
01d75626baf8b82f141d62f681e55a9bda0099fd
[ "MIT" ]
null
null
null
Desafios/Mundo 1/ex022.py
lucasllimati/CursoEmVideo
01d75626baf8b82f141d62f681e55a9bda0099fd
[ "MIT" ]
null
null
null
# EXERCÍCIO 22 # Crie um programa que leia o nome completo de uma pessoa e mostre: # O nome com todas as letras maiúsculas e minúsculas. # Quantas letras ao todo (sem considerar espaços). # Quantas letras tem o primeiro nome. #strip - remove espaços desnecessários nome = str(input('Digite o seu nome completo: ')).stri...
40.235294
90
0.707602
103
684
4.699029
0.495146
0.099174
0.061983
0.061983
0
0
0
0
0
0
0
0.006791
0.138889
684
16
91
42.75
0.814941
0.368421
0
0
0
0
0.417453
0
0
0
0
0.0625
0
1
0
false
0
0
0
0
0.714286
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
c7d8beecfc2105f1a3a7f2cf084937801f5eb9e2
956
py
Python
ciphey/basemods/Checkers/format.py
AlexandruValeanu/Ciphey
58323db4443b0d29d7797dadab88955a02da8812
[ "MIT" ]
9,908
2020-06-06T01:06:50.000Z
2022-03-31T21:22:57.000Z
ciphey/basemods/Checkers/format.py
AlexandruValeanu/Ciphey
58323db4443b0d29d7797dadab88955a02da8812
[ "MIT" ]
423
2020-05-30T11:44:37.000Z
2022-03-18T03:15:30.000Z
ciphey/basemods/Checkers/format.py
sthagen/python-ciphey
ba045142ec3b5183c46ff5e241924091f1281033
[ "MIT" ]
714
2020-06-09T20:24:41.000Z
2022-03-29T15:28:53.000Z
import json from typing import Dict, Optional import logging from rich.logging import RichHandler from ciphey.iface import Checker, Config, ParamSpec, T, registry @registry.register class JsonChecker(Checker[str]): """ This object is effectively a prebuilt quorum (with requirement 1) of common patterns ...
23.9
88
0.633891
111
956
5.387387
0.621622
0.026756
0.0301
0
0
0
0
0
0
0
0
0.008608
0.270921
956
39
89
24.512821
0.849354
0.194561
0
0.086957
0
0
0.025266
0
0
0
0
0.025641
0
1
0.173913
false
0.043478
0.217391
0.043478
0.608696
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
c7d92fa5c1230715f8a7253b3eb522d1492661ee
78,164
py
Python
colour/colorimetry/datasets/illuminants/sds.py
MaxSchambach/colour
3f3685d616fda4be58cec20bc1e16194805d7e2d
[ "BSD-3-Clause" ]
null
null
null
colour/colorimetry/datasets/illuminants/sds.py
MaxSchambach/colour
3f3685d616fda4be58cec20bc1e16194805d7e2d
[ "BSD-3-Clause" ]
null
null
null
colour/colorimetry/datasets/illuminants/sds.py
MaxSchambach/colour
3f3685d616fda4be58cec20bc1e16194805d7e2d
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Illuminants Spectral Distributions ================================== Defines *CIE* illuminants spectral distributions for the *CIE 1931 2 Degree Standard Observer*. The *CIE* illuminants data is in the form of a *dict* of :class:`colour.SpectralDistribution` classes as follows:: {'na...
20.966738
78
0.389553
11,124
78,164
2.72438
0.091694
0.019798
0.02554
0.051409
0.039794
0.008315
0.005675
0.005675
0.005675
0.005675
0
0.630168
0.462771
78,164
3,727
79
20.972364
0.091541
0.021199
0
0.019094
0
0
0.015766
0.001752
0
0
0
0
0
1
0
false
0
0.001091
0
0.001091
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
c7df86e933383976a45c7e6d0993c1ac361acf0e
143
py
Python
50-desafio.py
SweydAbdul/EstudosPythonCeV
5eb61d4e1d47b99d57de776c835aa9f3c2bcee3b
[ "MIT" ]
null
null
null
50-desafio.py
SweydAbdul/EstudosPythonCeV
5eb61d4e1d47b99d57de776c835aa9f3c2bcee3b
[ "MIT" ]
null
null
null
50-desafio.py
SweydAbdul/EstudosPythonCeV
5eb61d4e1d47b99d57de776c835aa9f3c2bcee3b
[ "MIT" ]
null
null
null
s = 0 for c in range(0, 6): n = int(input('Digite numero inteiro: ')) if n%2==0: s += n print(f'A soma dos valores par e {s}')
23.833333
45
0.531469
29
143
2.62069
0.793103
0
0
0
0
0
0
0
0
0
0
0.049505
0.293706
143
6
46
23.833333
0.70297
0
0
0
0
0
0.354167
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
c7e59d5fdf9819003da5019edeb0ff6bb6661297
10,500
py
Python
heimdallr/configuration/heimdallr_settings.py
aivclab/heimdallr
145111cb46f8cb1767d3d3adc78baa3d10be33fb
[ "Apache-2.0" ]
2
2020-03-28T12:58:00.000Z
2021-12-08T13:13:10.000Z
heimdallr/configuration/heimdallr_settings.py
aivclab/heimdallr
145111cb46f8cb1767d3d3adc78baa3d10be33fb
[ "Apache-2.0" ]
null
null
null
heimdallr/configuration/heimdallr_settings.py
aivclab/heimdallr
145111cb46f8cb1767d3d3adc78baa3d10be33fb
[ "Apache-2.0" ]
2
2020-12-04T12:31:38.000Z
2021-08-09T11:48:34.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = "Christian Heider Nielsen" __doc__ = r""" Created on 17/03/2020 """ import getpass import inspect import os import shelve from enum import Enum from typing import Optional try: import sh except: pass from sorcery import assi...
35.472973
183
0.622667
1,208
10,500
5.108444
0.135762
0.050559
0.056717
0.05218
0.703614
0.667315
0.666667
0.660347
0.660347
0.660347
0
0.001341
0.289619
10,500
295
184
35.59322
0.825982
0.09381
0
0.484018
0
0
0.053537
0.005083
0
0
0
0.00339
0.004566
1
0.073059
false
0.059361
0.050228
0
0.255708
0.009132
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
c7ea2d6b2b01f0201d70ff9af30234e2f4c3789b
1,488
py
Python
rdr_service/alembic/versions/4a9ceee64d0b_add_obsolete_columns.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
39
2017-10-13T19:16:27.000Z
2021-09-24T16:58:21.000Z
rdr_service/alembic/versions/4a9ceee64d0b_add_obsolete_columns.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
312
2017-09-08T15:42:13.000Z
2022-03-23T18:21:40.000Z
rdr_service/alembic/versions/4a9ceee64d0b_add_obsolete_columns.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
19
2017-09-15T13:58:00.000Z
2022-02-07T18:33:20.000Z
"""add obsolete columns Revision ID: 4a9ceee64d0b Revises: 69453413dfc3 Create Date: 2018-07-13 09:52:49.048544 """ import model.utils import sqlalchemy as sa from alembic import op from rdr_service.model.site_enums import ObsoleteStatus # revision identifiers, used by Alembic. revision = "4a9ceee64d0b" down_revisi...
27.054545
108
0.699597
184
1,488
5.51087
0.342391
0.059172
0.08284
0.09073
0.510848
0.426036
0.426036
0.426036
0.426036
0.333333
0
0.038431
0.160618
1,488
54
109
27.555556
0.773419
0.306452
0
0.083333
0
0
0.155119
0
0
0
0
0
0
1
0.25
false
0.083333
0.166667
0
0.416667
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
1becdd83609e0dd94e3051f6fb367e2cbc652221
178
py
Python
Textbook/Chapter 1/stringCaps.py
hunterluepke/Learn-Python-for-Stats-and-Econ
d580a8e27ba937fc8401ac6d0714b6488ac8bbb6
[ "MIT" ]
16
2019-01-10T18:54:13.000Z
2022-01-28T20:07:20.000Z
Textbook/Chapter 1/stringCaps.py
hunterluepke/Learn-Python-for-Stats-and-Econ
d580a8e27ba937fc8401ac6d0714b6488ac8bbb6
[ "MIT" ]
null
null
null
Textbook/Chapter 1/stringCaps.py
hunterluepke/Learn-Python-for-Stats-and-Econ
d580a8e27ba937fc8401ac6d0714b6488ac8bbb6
[ "MIT" ]
15
2019-01-24T17:11:20.000Z
2021-12-11T01:53:57.000Z
#stringCaps.py msg = "john nash" print(msg) # ALL CAPS msg_upper = msg.upper() print(msg_upper) # First Letter Of Each Word Capitalized msg_title = msg.title() print(msg_title)
16.181818
39
0.741573
29
178
4.413793
0.551724
0.1875
0
0
0
0
0
0
0
0
0
0
0.140449
178
11
40
16.181818
0.836601
0.337079
0
0
0
0
0.077586
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
1befd9d1dad7ce0bcc65296a7c4ae9419da7632a
177
bzl
Python
source/bazel/rules/system/create_500M_file.bzl
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
33
2019-05-30T07:43:32.000Z
2021-12-30T13:12:32.000Z
source/bazel/rules/system/create_500M_file.bzl
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
371
2019-05-16T15:23:50.000Z
2021-09-04T15:45:27.000Z
source/bazel/rules/system/create_500M_file.bzl
UniLang/compiler
c338ee92994600af801033a37dfb2f1a0c9ca897
[ "MIT" ]
6
2019-08-22T17:37:36.000Z
2020-11-07T07:15:32.000Z
def create_500M_file(name): native.genrule( name = name + "_target", outs = [name], output_to_bindir = 1, cmd = "truncate -s 500M $@", )
22.125
36
0.519774
20
177
4.35
0.8
0
0
0
0
0
0
0
0
0
0
0.060345
0.344633
177
7
37
25.285714
0.689655
0
0
0
0
0
0.146893
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
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
1bf20c62b26af50002fd19b60ca2d532ffddee06
1,360
py
Python
src/model/connection.py
volpatto/sloth
7f622c5afe74a9be198024b8554519f5759b25ac
[ "MIT" ]
null
null
null
src/model/connection.py
volpatto/sloth
7f622c5afe74a9be198024b8554519f5759b25ac
[ "MIT" ]
null
null
null
src/model/connection.py
volpatto/sloth
7f622c5afe74a9be198024b8554519f5759b25ac
[ "MIT" ]
null
null
null
""" Define Connection class. - Special type of Equation that are used as source or sink terms (process inlet or outlet, respectively) or to connect two different Model objects. """ from core.Equation import * class base_(object): pass class Connection(base_,Equation): def __init__(self, name, description...
36.756757
408
0.699265
183
1,360
5.081967
0.393443
0.060215
0.027957
0.045161
0
0
0
0
0
0
0
0
0.227941
1,360
37
409
36.756757
0.885714
0.126471
0
0
0
0
0.01875
0
0
0
0
0
0
1
0.142857
false
0.142857
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
4006df7024821643c98746d05f6225c90ba980a0
40,265
py
Python
nexus_api_python_client/models/create_ldap_server_xo.py
simonebruzzechesse/nexus-api-python-client
eaa1098dbd8778f6f3bda948268953b742f2ab64
[ "MIT" ]
1
2021-11-14T12:43:38.000Z
2021-11-14T12:43:38.000Z
nexus_api_python_client/models/create_ldap_server_xo.py
simonebruzzechesse/nexus-api-python-client
eaa1098dbd8778f6f3bda948268953b742f2ab64
[ "MIT" ]
null
null
null
nexus_api_python_client/models/create_ldap_server_xo.py
simonebruzzechesse/nexus-api-python-client
eaa1098dbd8778f6f3bda948268953b742f2ab64
[ "MIT" ]
null
null
null
# coding: utf-8 """ Nexus Repository Manager REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 3.20.1-01 Generated by: https://openapi-generator.tech """ import pprint import re # n...
40.024851
752
0.67093
5,092
40,265
5.048704
0.052239
0.06286
0.112027
0.098024
0.783958
0.707484
0.65925
0.57873
0.526762
0.418469
0
0.02227
0.258388
40,265
1,005
753
40.064677
0.838652
0.383162
0
0.114094
1
0
0.157299
0.041591
0
0
0
0
0
1
0.147651
false
0.049217
0.008949
0
0.246085
0.004474
0
0
0
null
0
0
0
0
1
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
400ef3de7a04b6fcc00bb269966f563bba9d3435
11,701
py
Python
src/pycal/healpix.py
cmbgroundbased/libcal
9e8bf0cea4d36c76ec4444efd0c8d3ffffca2c0b
[ "BSD-2-Clause" ]
2
2020-12-15T11:11:37.000Z
2021-01-04T10:10:06.000Z
src/pycal/healpix.py
cmbgroundbased/libcal
9e8bf0cea4d36c76ec4444efd0c8d3ffffca2c0b
[ "BSD-2-Clause" ]
20
2020-07-11T09:33:10.000Z
2022-03-17T09:24:56.000Z
src/pycal/healpix.py
cmbgroundbased/libcal
9e8bf0cea4d36c76ec4444efd0c8d3ffffca2c0b
[ "BSD-2-Clause" ]
3
2020-07-29T16:48:17.000Z
2020-12-12T09:27:47.000Z
# Copyright (c) 2015-2020 by the parties listed in the AUTHORS file. # All rights reserved. Use of this source code is governed by # a BSD-style license that can be found in the LICENSE file. from .utils import ( Logger, AlignedF64, AlignedI64, ensure_buffer_f64, ensure_buffer_i64, object_ndim...
27.926014
79
0.563883
1,426
11,701
4.563815
0.145161
0.039951
0.023971
0.035341
0.740166
0.73571
0.698371
0.674401
0.658574
0.638599
0
0.021825
0.34997
11,701
418
80
27.992823
0.833815
0.399111
0
0.683673
0
0
0.022091
0
0
0
0
0
0
1
0.081633
false
0
0.020408
0
0.311224
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
4012833e026d2ef87d8f082fc9d4e5cf625739d9
9,064
py
Python
scripts/to_echse.py
heistermann/trmmlib
b32cf623737285073e4c61bd0e01a0fe8b26c329
[ "MIT" ]
null
null
null
scripts/to_echse.py
heistermann/trmmlib
b32cf623737285073e4c61bd0e01a0fe8b26c329
[ "MIT" ]
null
null
null
scripts/to_echse.py
heistermann/trmmlib
b32cf623737285073e4c61bd0e01a0fe8b26c329
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #------------------------------------------------------------------------------- # Name: to_echse # Purpose: # # Authors: Maik Heistermann # # Created: 2015-11-6 # Copyright: (c) Maik Heistermann # Licence: The MIT License #----------------------------------------------...
41.577982
100
0.605803
1,197
9,064
4.409357
0.186299
0.068208
0.128837
0.071997
0.75161
0.750853
0.722622
0.636415
0.61709
0.582986
0
0.104413
0.234996
9,064
217
101
41.769585
0.656764
0.154568
0
0.5
0
0
0.3647
0.267972
0
0
0
0
0
1
0.006944
false
0
0.020833
0
0.034722
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
401c77f0fa2312410ea47eaff070aca03ed2b86e
1,380
py
Python
Source/RenderPasses/PixelInspectorPass/Data/GBufferRasterInspector.py
guiqi134/Falcor
480c0c0ac4633c5b60ff533eea2902da76112df7
[ "BSD-3-Clause" ]
2
2021-12-19T08:26:31.000Z
2022-01-24T09:17:32.000Z
Source/RenderPasses/PixelInspectorPass/Data/GBufferRasterInspector.py
shill-lucasfilm/Falcor
5236495554f57a734cc815522d95ae9a7dfe458a
[ "BSD-3-Clause" ]
null
null
null
Source/RenderPasses/PixelInspectorPass/Data/GBufferRasterInspector.py
shill-lucasfilm/Falcor
5236495554f57a734cc815522d95ae9a7dfe458a
[ "BSD-3-Clause" ]
null
null
null
from falcor import * def render_graph_DefaultRenderGraph(): g = RenderGraph('DefaultRenderGraph') loadRenderPassLibrary('GBuffer.dll') loadRenderPassLibrary('PixelInspectorPass.dll') GBufferRaster = createPass('GBufferRaster', {'samplePattern': SamplePattern.Center}) g.addPass(GBufferRaster, 'GBuff...
49.285714
88
0.776812
114
1,380
9.368421
0.324561
0.082397
0.216292
0
0
0
0
0
0
0
0
0
0.1
1,380
27
89
51.111111
0.859903
0
0
0
0
0
0.485507
0.347826
0
0
0
0
0
1
0.04
false
0.68
0.04
0
0.12
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
4023a98ffd490d12efefa6c1c6c1fd928cbca707
1,874
py
Python
src/corpus/corpus_emerge_xray.py
uw-bionlp/ards
e9fc27f7034cc6b54f0ccdba4a58377948cf0258
[ "BSD-3-Clause" ]
null
null
null
src/corpus/corpus_emerge_xray.py
uw-bionlp/ards
e9fc27f7034cc6b54f0ccdba4a58377948cf0258
[ "BSD-3-Clause" ]
null
null
null
src/corpus/corpus_emerge_xray.py
uw-bionlp/ards
e9fc27f7034cc6b54f0ccdba4a58377948cf0258
[ "BSD-3-Clause" ]
null
null
null
import math import json import os import joblib import re import shutil import pandas as pd from multiprocessing import Pool import traceback from tqdm import tqdm import numpy as np from collections import OrderedDict, Counter import logging from pathlib import Path from datetime import datetime from corpus.corp...
19.726316
76
0.64301
243
1,874
4.794239
0.349794
0.066094
0.075536
0.046352
0.11588
0.042918
0
0
0
0
0
0.005626
0.241195
1,874
94
77
19.93617
0.813643
0.161686
0
0
0
0
0.055296
0
0
0
0
0
0
1
0.152174
false
0
0.347826
0.021739
0.652174
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
40367342a13b1cb1c461cecc9c36da2ab408b945
649
py
Python
zcode/plot/__init__.py
lzkelley/zcode
55a63693fe3ad744957d7ce2d74fb4c8e09ea8ba
[ "MIT" ]
1
2021-02-11T03:24:55.000Z
2021-02-11T03:24:55.000Z
zcode/plot/__init__.py
lzkelley/zcode
55a63693fe3ad744957d7ce2d74fb4c8e09ea8ba
[ "MIT" ]
null
null
null
zcode/plot/__init__.py
lzkelley/zcode
55a63693fe3ad744957d7ce2d74fb4c8e09ea8ba
[ "MIT" ]
null
null
null
"""Plotting methods. """ # flake8: noqa --- ignore imported but unused flake8 warnings LW_CONF = 1.0 LW_OUTLINE = 0.6 COL_CORR = 'royalblue' _PAD = 0.01 from . import plot_core from .plot_core import * from . import Hist2D from .Hist2D import * from . import CorrelationGrid from .CorrelationGrid import * from . im...
20.28125
62
0.762712
88
649
4.954545
0.352273
0.137615
0.165138
0
0
0
0
0
0
0
0
0.026738
0.135593
649
31
63
20.935484
0.750446
0.121726
0
0
0
0
0.015986
0
0
0
0
0
0
1
0
false
0
0.521739
0
0.521739
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
403b997f94c0584496dff1f0c9dc1b3f51729849
609
py
Python
apps/__manifest__.py
marionumza/it-projects-llc-access-addons
421fb60b25bfea67ccf0309f3cf7385dafafc350
[ "MIT" ]
null
null
null
apps/__manifest__.py
marionumza/it-projects-llc-access-addons
421fb60b25bfea67ccf0309f3cf7385dafafc350
[ "MIT" ]
null
null
null
apps/__manifest__.py
marionumza/it-projects-llc-access-addons
421fb60b25bfea67ccf0309f3cf7385dafafc350
[ "MIT" ]
1
2021-02-15T03:14:52.000Z
2021-02-15T03:14:52.000Z
{ "name": "Custom Apps", "summary": """Simplify Apps Interface""", "images": [], "vesion": "12.0.1.0.0", "application": False, "author": "IT-Projects LLC, Dinar Gabbasov", "support": "apps@itpp.dev", "website": "https://twitter.com/gabbasov_dinar", "category": "Access", "license"...
30.45
84
0.600985
71
609
5
0.732394
0.04507
0.067606
0
0
0
0
0
0
0
0
0.01222
0.19376
609
19
85
32.052632
0.710794
0.004926
0
0
0
0
0.600993
0.046358
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
4040d9c5ab0c0ce801144826cad72f8b65b187b9
1,027
py
Python
test/integration/mock_network.py
DaveSawyer/box-python-sdk
6a5134ff9bbbbc0478bb39d7f622fe3829048cbf
[ "Apache-2.0" ]
null
null
null
test/integration/mock_network.py
DaveSawyer/box-python-sdk
6a5134ff9bbbbc0478bb39d7f622fe3829048cbf
[ "Apache-2.0" ]
null
null
null
test/integration/mock_network.py
DaveSawyer/box-python-sdk
6a5134ff9bbbbc0478bb39d7f622fe3829048cbf
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 from mock import Mock import requests from boxsdk.network.default_network import DefaultNetworkResponse from boxsdk.network.network_interface import Network class MockNetwork(Network): """Mock implementation of the network interface for testing purposes.""" def __init__(self): super(...
31.121212
97
0.682571
116
1,027
5.862069
0.396552
0.076471
0.075
0.101471
0.082353
0
0
0
0
0
0
0.001245
0.218111
1,027
32
98
32.09375
0.845579
0.223953
0
0
0
0
0
0
0
0
0
0
0
1
0.235294
false
0
0.235294
0.058824
0.705882
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
40468847dab2a375a6c33b591dc6abfdcf2a37d1
221
py
Python
SageMakerHelpers/__logging__.py
kevinpmcgee14/sagemaker-helpers
16e6f7592779edc94f9bb1d944d8ad7d7ba8ad5b
[ "MIT" ]
null
null
null
SageMakerHelpers/__logging__.py
kevinpmcgee14/sagemaker-helpers
16e6f7592779edc94f9bb1d944d8ad7d7ba8ad5b
[ "MIT" ]
null
null
null
SageMakerHelpers/__logging__.py
kevinpmcgee14/sagemaker-helpers
16e6f7592779edc94f9bb1d944d8ad7d7ba8ad5b
[ "MIT" ]
null
null
null
import logging logging_format = ' %(name)s :: %(levelname)-8s :: %(message)s' logging.basicConfig(level=logging.WARNING, format=logging_format) logging.getLogger().setLevel(logging.WARNING) logger = logging.getLogger()
27.625
65
0.760181
26
221
6.384615
0.538462
0.156627
0
0
0
0
0
0
0
0
0
0.004926
0.081448
221
8
66
27.625
0.812808
0
0
0
0
0
0.193694
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
40489d3296cf335f16f683a363510c709d9094d8
2,143
py
Python
ietf/secr/meetings/models.py
ekr/ietfdb
8d936836b0b9ff31cda415b0a423e3f5b33ab695
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-11-20T03:40:40.000Z
2021-11-20T03:40:42.000Z
ietf/secr/meetings/models.py
ekr/ietfdb
8d936836b0b9ff31cda415b0a423e3f5b33ab695
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ietf/secr/meetings/models.py
ekr/ietfdb
8d936836b0b9ff31cda415b0a423e3f5b33ab695
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
#from sec.core.models import Meeting """ import datetime class GeneralInfo(models.Model): id = models.IntegerField(primary_key=True) info_name = models.CharField(max_length=150, blank=True) info_text = models.TextField(blank=True) info_header = models.CharField(max_length=765, blank=True) class Met...
40.433962
167
0.689221
283
2,143
4.971731
0.275618
0.056859
0.063966
0.085288
0.383085
0.363184
0.326226
0.204691
0.204691
0.204691
0
0.010423
0.19412
2,143
53
168
40.433962
0.804285
0.995334
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
404c494881a83942a891d0612b177a4c3ea34dbe
253
py
Python
ps2/src/stability/temp.py
Ziggareto/cs229
10b03b68b24d252dad3e3437561976d9509ebdd0
[ "MIT" ]
null
null
null
ps2/src/stability/temp.py
Ziggareto/cs229
10b03b68b24d252dad3e3437561976d9509ebdd0
[ "MIT" ]
null
null
null
ps2/src/stability/temp.py
Ziggareto/cs229
10b03b68b24d252dad3e3437561976d9509ebdd0
[ "MIT" ]
null
null
null
import os import sys print(f'cwd: {os.getcwd()}') #print(f'pythonpath: {os.environ["PYTHONPATH"]}') try: print(f'\nenvirons: {os.environ["ASDF"]}') except Exception as e: print(f'exception: {e}, {type(e)}') print(f'\nsys.path: {sys.path}')
23
49
0.632411
38
253
4.210526
0.5
0.1875
0.0875
0
0
0
0
0
0
0
0
0
0.130435
253
11
50
23
0.727273
0.189723
0
0
0
0
0.473171
0
0
0
0
0
0
1
0
true
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
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
2
405e551b698e3c29c86fb1f195bf540d313f6175
206
py
Python
zerojudge/a004.py
x06lan/mt
3e4ddacc7717595acbfd689e22cd1e154843b99e
[ "MIT" ]
null
null
null
zerojudge/a004.py
x06lan/mt
3e4ddacc7717595acbfd689e22cd1e154843b99e
[ "MIT" ]
null
null
null
zerojudge/a004.py
x06lan/mt
3e4ddacc7717595acbfd689e22cd1e154843b99e
[ "MIT" ]
null
null
null
import sys out=[] for x in sys.stdin: x=int(x) if x%4==0 : if x%100!=0 or x%400==0: out.append("閏年") else: out.append("平年") else: out.append("平年") if x=="": break for i in out: print(i)
12.117647
26
0.553398
43
206
2.651163
0.488372
0.078947
0.22807
0.263158
0
0
0
0
0
0
0
0.063291
0.23301
206
16
27
12.875
0.658228
0
0
0.266667
0
0
0.029126
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.066667
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
4076807eb3962bcb81fd0738654f1011e2a98bde
541
py
Python
src/Unique Binary Search Trees.py
xiaonanln/myleetcode-python
95d282f21a257f937cd22ef20c3590a69919e307
[ "Apache-2.0" ]
null
null
null
src/Unique Binary Search Trees.py
xiaonanln/myleetcode-python
95d282f21a257f937cd22ef20c3590a69919e307
[ "Apache-2.0" ]
null
null
null
src/Unique Binary Search Trees.py
xiaonanln/myleetcode-python
95d282f21a257f937cd22ef20c3590a69919e307
[ "Apache-2.0" ]
null
null
null
class Solution: # @return an integer def numTrees(self, n): R = [0] * max((n + 1), 3) R[0] = 1 R[1] = 1 R[2] = 2 for i in xrange(3, n+1): tr = 0 for h in xrange(0, i): ln = h rn = i - h - 1 # ...
24.590909
47
0.375231
76
541
2.671053
0.315789
0.192118
0.310345
0.059113
0
0
0
0
0
0
0
0.060932
0.484288
541
22
48
24.590909
0.666667
0.118299
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.176471
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
1
0
0
0
0
0
0
0
0
2
4076cfce92a39fbc804cea492ff7f7cbabc72749
584
py
Python
problem_31.py
MasterScott/project-euler
643df8258bf9ac84b14b648a3a5a254bc682c473
[ "MIT" ]
null
null
null
problem_31.py
MasterScott/project-euler
643df8258bf9ac84b14b648a3a5a254bc682c473
[ "MIT" ]
null
null
null
problem_31.py
MasterScott/project-euler
643df8258bf9ac84b14b648a3a5a254bc682c473
[ "MIT" ]
1
2019-10-28T23:33:46.000Z
2019-10-28T23:33:46.000Z
from time import time TARGET_SUM = 200 COINS = [1, 2, 5, 10, 20, 50, 100, 200] DYNAMIC_TABLE = {} def calculate(point, coinset): if point - coinset[0] < 0: return 0 elif point == coinset[0]: return 1 else: if (point, str(coinset)) in DYNAMIC_TABLE: return DYNAMIC_TABL...
25.391304
115
0.626712
80
584
4.4875
0.3625
0.167131
0.167131
0.167131
0.259053
0.183844
0
0
0
0
0
0.055679
0.231164
584
22
116
26.545455
0.743875
0
0
0.117647
0
0
0.008562
0
0
0
0
0
0
0
null
null
0
0.058824
null
null
0.117647
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
407caab0cf29a4393d473aa6fc12860a1a1c421b
459
py
Python
app/webapps/base.py
ardihikaru/login-boilerplate
e10d077de0aefa9cb7a4633f915304e805c3f982
[ "MIT" ]
null
null
null
app/webapps/base.py
ardihikaru/login-boilerplate
e10d077de0aefa9cb7a4633f915304e805c3f982
[ "MIT" ]
null
null
null
app/webapps/base.py
ardihikaru/login-boilerplate
e10d077de0aefa9cb7a4633f915304e805c3f982
[ "MIT" ]
null
null
null
from fastapi import APIRouter from app.webapps.dashboard import route as route_dashboard from app.webapps.auth import route as route_login from app.webapps.user import route as route_user api_router = APIRouter() api_router.include_router(route_dashboard.router, prefix="", tags=["dashboard-webapp"]) api_router.include...
45.9
87
0.8061
67
459
5.328358
0.268657
0.10084
0.117647
0.151261
0.260504
0.184874
0
0
0
0
0
0
0.076253
459
9
88
51
0.841981
0
0
0
0
0
0.082789
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
4082e30e850479d1639107eca6ba5198f4f52643
1,015
py
Python
src/injecta/service/resolved/ResolvedArgument.py
DataSentics/injecta
090eeac6c76c43d40be71df678222a07b0a3c783
[ "MIT" ]
3
2021-09-27T12:55:00.000Z
2022-01-31T19:13:23.000Z
src/injecta/service/resolved/ResolvedArgument.py
DataSentics/injecta
090eeac6c76c43d40be71df678222a07b0a3c783
[ "MIT" ]
null
null
null
src/injecta/service/resolved/ResolvedArgument.py
DataSentics/injecta
090eeac6c76c43d40be71df678222a07b0a3c783
[ "MIT" ]
1
2021-03-04T09:12:05.000Z
2021-03-04T09:12:05.000Z
from typing import Optional from injecta.service.argument.ArgumentInterface import ArgumentInterface from injecta.service.class_.InspectedArgument import InspectedArgument class ResolvedArgument: def __init__( self, name: str, argument: Optional[ArgumentInterface], # nullable in case of s...
32.741935
97
0.719212
100
1,015
7
0.35
0.121429
0.081429
0.062857
0
0
0
0
0
0
0
0.00123
0.199015
1,015
30
98
33.833333
0.859779
0.04335
0
0.125
0
0
0.065015
0
0
0
0
0
0
1
0.208333
false
0
0.125
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
40868371578192d2c8569f770b332019746f2eff
1,007
py
Python
simulation/env_99.py
liaojh1998/cross-modal-concept2robot
2a00937eb2ac02cbe3d5d5fa0f5868e85d194f6e
[ "MIT" ]
4
2021-08-04T08:14:36.000Z
2022-03-14T05:59:46.000Z
simulation/env_99.py
liaojh1998/cross-modal-concept2robot
2a00937eb2ac02cbe3d5d5fa0f5868e85d194f6e
[ "MIT" ]
null
null
null
simulation/env_99.py
liaojh1998/cross-modal-concept2robot
2a00937eb2ac02cbe3d5d5fa0f5868e85d194f6e
[ "MIT" ]
2
2021-08-28T13:19:31.000Z
2021-09-17T17:48:41.000Z
#!/usr/bin/env python3 import time import math from datetime import datetime from time import sleep import numpy as np import random import cv2 import os import argparse import torch import sys sys.path.append('./') from env_98 import Engine98 from utils_env import get_view,safe_path,cut_frame,point2traj,get_gripper_...
30.515152
126
0.714995
152
1,007
4.552632
0.493421
0.021676
0.034682
0.037572
0.060694
0.060694
0
0
0
0
0
0.028221
0.190665
1,007
32
127
31.46875
0.820859
0.020854
0
0
0
0
0.00203
0
0
0
0
0
0
1
0.074074
false
0
0.481481
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
4097350ac87a0e79e1f60f219bec49f388de8ef9
191
py
Python
domainfinder.py
CRTL-C/8IP
ff2b4477b7a54f2bf2c0645781377431648b5835
[ "MIT" ]
1
2021-04-15T03:57:40.000Z
2021-04-15T03:57:40.000Z
domainfinder.py
CRTL-C/8IP
ff2b4477b7a54f2bf2c0645781377431648b5835
[ "MIT" ]
null
null
null
domainfinder.py
CRTL-C/8IP
ff2b4477b7a54f2bf2c0645781377431648b5835
[ "MIT" ]
null
null
null
import socket IP = input("Enter target's Address : ") if __name__ == "__main__": domain = socket.gethostbyaddr(IP) print("Domain name of {} address is {}.".format(IP, domain))
23.875
64
0.643979
24
191
4.791667
0.708333
0
0
0
0
0
0
0
0
0
0
0
0.204188
191
8
65
23.875
0.756579
0
0
0
0
0
0.338542
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4099055b7e724a04cb33a936eecf18badf74ef32
165
py
Python
Curso em Video/Desafio_025.py
tonmarcondes/UNIVESP
a66a623d4811e8f3f9e2999f09e38a4470035ae2
[ "MIT" ]
null
null
null
Curso em Video/Desafio_025.py
tonmarcondes/UNIVESP
a66a623d4811e8f3f9e2999f09e38a4470035ae2
[ "MIT" ]
null
null
null
Curso em Video/Desafio_025.py
tonmarcondes/UNIVESP
a66a623d4811e8f3f9e2999f09e38a4470035ae2
[ "MIT" ]
null
null
null
nome = input('\nInsira seu nome: \n') if 'SILVA' in nome.upper(): print('O seu nome tem SILAVA\n') else: print('Você não faz parte da família SILVA\n')
27.5
50
0.630303
28
165
3.714286
0.714286
0.134615
0
0
0
0
0
0
0
0
0
0
0.218182
165
6
50
27.5
0.806202
0
0
0
0
0
0.534161
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
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
4099ec031cfaea198c8fc8d0c0e4542076257979
2,826
py
Python
basis_set_exchange/__init__.py
BasisSetExchange/basis_set_exchange
1054817a0a898800897354b003e23b5222d54d21
[ "BSD-3-Clause" ]
4
2018-03-21T20:33:56.000Z
2018-05-28T02:07:39.000Z
basis_set_exchange/__init__.py
BasisSetExchange/basis_set_exchange
1054817a0a898800897354b003e23b5222d54d21
[ "BSD-3-Clause" ]
20
2018-02-15T15:15:40.000Z
2018-05-22T19:54:58.000Z
basis_set_exchange/__init__.py
BasisSetExchange/basis_set_exchange
1054817a0a898800897354b003e23b5222d54d21
[ "BSD-3-Clause" ]
1
2018-03-15T02:12:55.000Z
2018-03-15T02:12:55.000Z
# Copyright (c) 2017-2022 The Molecular Sciences Software Institute, Virginia Tech # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, this l...
44.15625
119
0.800071
406
2,826
5.394089
0.487685
0.038356
0.024658
0.021005
0.084018
0.0621
0.0621
0.0621
0.0621
0.0621
0
0.006245
0.150035
2,826
63
120
44.857143
0.905495
0.61288
0
0
0
0
0.049289
0
0
0
0
0
0
1
0
false
0
0.529412
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
40a0ac9ef1f0942324ba2dd8c8677bdc56cbdcb2
3,525
py
Python
cswor/runner_us_data.py
satvikmashkaria/CS748_project
57185b6a467e638d6db96cf1c7d3dbe8d6bf5032
[ "BSD-3-Clause" ]
1
2021-05-16T18:39:51.000Z
2021-05-16T18:39:51.000Z
cswor/runner_us_data.py
satvikmashkaria/CS748_project
57185b6a467e638d6db96cf1c7d3dbe8d6bf5032
[ "BSD-3-Clause" ]
null
null
null
cswor/runner_us_data.py
satvikmashkaria/CS748_project
57185b6a467e638d6db96cf1c7d3dbe8d6bf5032
[ "BSD-3-Clause" ]
null
null
null
from mod_copeland_yateesh import sample_complexity args = {} # args['heuristic'] = 'random' args['heuristic'] = 'greedy' # args['heuristic'] = 'mod_dcb' args['n_voters'] = 4639 args['alpha'] = 0.05 args['seed'] = 42 args['ques_limit'] = 5 args['gamma'] = 0.5 args['probs'] = [0.05, 0.1, 0.2, 0.4] q_limits = [1, 2, 3, ...
34.90099
296
0.616454
604
3,525
3.521523
0.347682
0.042313
0.029619
0.03385
0.245416
0.201693
0.179126
0.171603
0.088858
0.088858
0
0.249913
0.182695
3,525
101
297
34.90099
0.488372
0.450496
0
0
0
0
0.089267
0
0
0
0
0
0
1
0.027778
false
0
0.111111
0
0.166667
0.083333
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
40ae26d9296d39f88716bb6def1ea8272856e139
5,845
py
Python
supertokens_python/recipe/session/syncio/__init__.py
SKOOTUK/supertokens-python
c0751dd5af911835199223efbe5a91e7c1f1f954
[ "Apache-2.0" ]
null
null
null
supertokens_python/recipe/session/syncio/__init__.py
SKOOTUK/supertokens-python
c0751dd5af911835199223efbe5a91e7c1f1f954
[ "Apache-2.0" ]
3
2022-02-21T18:42:06.000Z
2022-03-04T11:54:15.000Z
supertokens_python/recipe/session/syncio/__init__.py
SKOOTUK/supertokens-python
c0751dd5af911835199223efbe5a91e7c1f1f954
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2021, VRAI Labs and/or its affiliates. All rights reserved. # # This software is licensed under the Apache License, Version 2.0 (the # "License") as published by the Apache Software Foundation. # # You may not use this file except in compliance with the License. You may # obtain a copy of the License at...
51.27193
229
0.78272
803
5,845
5.389788
0.160648
0.071165
0.046211
0.054991
0.573013
0.449168
0.394409
0.351664
0.25439
0.204945
0
0.001587
0.137553
5,845
113
230
51.725664
0.856973
0.112062
0
0.202899
0
0
0
0
0
0
0
0
0
1
0.202899
false
0
0.275362
0
0.681159
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
40afa7d9bfe96b52a30cc2644f2ba9fde48ed84a
556
py
Python
tests/data/example_2.py
kataev/flake8-rst
53ee9906661b001a6aecc06ce09cf093ce6e82df
[ "MIT" ]
18
2018-08-27T11:39:14.000Z
2021-12-10T08:48:29.000Z
tests/data/example_2.py
kataev/flake8-rst
53ee9906661b001a6aecc06ce09cf093ce6e82df
[ "MIT" ]
18
2018-10-26T12:32:16.000Z
2021-11-17T06:01:34.000Z
tests/data/example_2.py
kataev/flake8-rst
53ee9906661b001a6aecc06ce09cf093ce6e82df
[ "MIT" ]
7
2018-10-19T10:28:05.000Z
2021-04-09T15:44:16.000Z
class Test: """ Lorem ipsum dolor sit amet, consectetur adipiscing elit, deserunt mollit anim id est laborum. .. sourcecode:: pycon >>> # extract 100 LDA topics, using default parameters >>> lda = LdaModel(corpus=mm, id2word=id2word, num_topics=100, distributed=True) using distrib...
27.8
99
0.679856
69
556
5.449275
0.826087
0
0
0
0
0
0
0
0
0
0
0.0625
0.251799
556
19
100
29.263158
0.841346
0.839928
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
40b10e4dc364eb531205474a641f94da599e263a
1,373
py
Python
src/Node.py
LiamDuncan/DH-V_Cryptosystem
cb661f1aec92de420d3fc555dd38d2dd2034bc3a
[ "MIT" ]
null
null
null
src/Node.py
LiamDuncan/DH-V_Cryptosystem
cb661f1aec92de420d3fc555dd38d2dd2034bc3a
[ "MIT" ]
null
null
null
src/Node.py
LiamDuncan/DH-V_Cryptosystem
cb661f1aec92de420d3fc555dd38d2dd2034bc3a
[ "MIT" ]
null
null
null
import random import nodeIO class Node: def __init__( self, g, p): self.g = g self.p = p self.privateKey = random.randrange(100) self.publicKey = (g^self.privateKey)%p def getEncryptedMessage( self): #message = input( "Type a message... \nSender: ") ...
28.020408
63
0.567371
136
1,373
5.698529
0.330882
0.054194
0.04129
0.043871
0.165161
0.103226
0.103226
0
0
0
0
0.009825
0.332848
1,373
48
64
28.604167
0.836245
0.056082
0
0
0
0
0.016051
0
0
0
0
0
0
1
0.257143
false
0
0.057143
0.085714
0.514286
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
40b41d38c7767deb1cf702eb7c84fc4cd1f71a00
5,051
py
Python
RecoParticleFlow/Configuration/python/RecoParticleFlow_EventContent_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
4
2020-06-27T23:27:21.000Z
2020-11-19T09:17:01.000Z
RecoParticleFlow/Configuration/python/RecoParticleFlow_EventContent_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
524
2018-01-29T15:50:45.000Z
2021-08-04T14:03:21.000Z
RecoParticleFlow/Configuration/python/RecoParticleFlow_EventContent_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
7
2018-02-19T11:17:13.000Z
2020-10-12T21:57:00.000Z
import FWCore.ParameterSet.Config as cms # AOD content RecoParticleFlowAOD = cms.PSet( outputCommands = cms.untracked.vstring( 'keep recoPFRecHits_particleFlowClusterECAL_Cleaned_*', 'keep recoPFRecHits_particleFlowClusterHCAL_Cleaned_*', 'keep recoPFRecHits_particleFlowClusterHO_Cleaned_*', 'keep ...
52.614583
120
0.749555
326
5,051
11.003067
0.294479
0.061611
0.060217
0.020072
0.141065
0.079175
0.024533
0
0
0
0
0.001921
0.175411
5,051
95
121
53.168421
0.859304
0.031677
0
0.02439
0
0
0.563562
0.49826
0
0
0
0
0
1
0
false
0
0.060976
0
0.060976
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
40b701f7a453c3fce622b02325be5d22ae420923
763
py
Python
algo.py
shayanng/Trading_Algorithm_Strategy
247a28817a85f341ad341e6ee2a9d4b065c746e8
[ "MIT" ]
null
null
null
algo.py
shayanng/Trading_Algorithm_Strategy
247a28817a85f341ad341e6ee2a9d4b065c746e8
[ "MIT" ]
null
null
null
algo.py
shayanng/Trading_Algorithm_Strategy
247a28817a85f341ad341e6ee2a9d4b065c746e8
[ "MIT" ]
null
null
null
import pandas as pd from alpha_vantage.timeseries import TimeSeries from utils import data_call as dc from utils import tech_indicators as ti from utils import preprocessing from utils import trading TICKERS = ["IBM", "AAPL", "TSLA", "NVDA"] AV_KEY = "3R9JOE98DJOXYHKJ" # alpha-vantage demo api ts = TimeSeries(key=AV_K...
30.52
97
0.72346
108
763
4.953704
0.518519
0.06729
0.11215
0
0
0
0
0
0
0
0
0.011076
0.171691
763
24
98
31.791667
0.835443
0.538663
0
0
0
0
0.110119
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
40c5371752d46922fda61fe4b20a96100ef00f47
19,133
py
Python
tests.py
detkov/Convolution-from-scratch
9fb976f72d80a8512b3fd1e35d61bf0ea8869113
[ "MIT" ]
10
2021-07-17T07:25:43.000Z
2022-03-08T12:18:57.000Z
tests.py
detkov/Convolution-from-scratch
9fb976f72d80a8512b3fd1e35d61bf0ea8869113
[ "MIT" ]
null
null
null
tests.py
detkov/Convolution-from-scratch
9fb976f72d80a8512b3fd1e35d61bf0ea8869113
[ "MIT" ]
1
2021-11-26T09:38:06.000Z
2021-11-26T09:38:06.000Z
import numpy as np import unittest from convolution import conv2d, add_padding class TestConvolution(unittest.TestCase): def test_paddings_shape(self, N: int = 1000): for _ in range(N): m_h = np.random.randint(3, 100) m_w = np.random.randint(3, 100) random_matrix = np....
55.944444
142
0.445356
2,594
19,133
3.116423
0.075559
0.036368
0.080158
0.093518
0.628525
0.527462
0.428501
0.362197
0.343023
0.326324
0
0.224495
0.373961
19,133
341
143
56.108504
0.450409
0.060733
0
0.221374
0
0
0.000446
0
0
0
0
0
0.160305
1
0.019084
false
0
0.01145
0
0.034351
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
40c957ed6a9f82b10eaf8bc8f5534d2cbb7e9e79
2,650
py
Python
praw/models/listing/mixins/subreddit.py
Theonefoster/praw
3d79b43a5193387974455f3d3ccdfff644714d09
[ "BSD-2-Clause" ]
4
2018-09-28T01:47:53.000Z
2021-02-13T20:21:14.000Z
praw/models/listing/mixins/subreddit.py
Theonefoster/praw
3d79b43a5193387974455f3d3ccdfff644714d09
[ "BSD-2-Clause" ]
4
2018-09-19T06:27:24.000Z
2018-09-22T00:44:41.000Z
praw/models/listing/mixins/subreddit.py
Theonefoster/praw
3d79b43a5193387974455f3d3ccdfff644714d09
[ "BSD-2-Clause" ]
1
2022-03-15T22:52:53.000Z
2022-03-15T22:52:53.000Z
"""Provide the SubredditListingMixin class.""" from ....const import urljoin from ...base import PRAWBase from ..generator import ListingGenerator from .base import BaseListingMixin from .gilded import GildedListingMixin from .rising import RisingListingMixin class SubredditListingMixin(BaseListingMixin, GildedListin...
32.317073
79
0.649057
272
2,650
6.1875
0.352941
0.016637
0.016637
0.020202
0.185383
0.185383
0.185383
0.185383
0.185383
0.185383
0
0.003562
0.258491
2,650
81
80
32.716049
0.852926
0.450943
0
0.071429
0
0
0.012116
0
0
0
0
0
0
1
0.214286
false
0
0.214286
0.035714
0.642857
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
40ccbc09815f68d0178685212200fc523a166c98
57
py
Python
codes/01_Variables_Constants_Keywords_Typecasting/constants.py
kunchalavikram1427/python_made_easy
63d9b5ba4666646d1f932755712ad791d29c0192
[ "Apache-2.0" ]
null
null
null
codes/01_Variables_Constants_Keywords_Typecasting/constants.py
kunchalavikram1427/python_made_easy
63d9b5ba4666646d1f932755712ad791d29c0192
[ "Apache-2.0" ]
null
null
null
codes/01_Variables_Constants_Keywords_Typecasting/constants.py
kunchalavikram1427/python_made_easy
63d9b5ba4666646d1f932755712ad791d29c0192
[ "Apache-2.0" ]
2
2022-02-20T07:45:20.000Z
2022-03-12T17:30:20.000Z
SPEED_LIMIT_IN_KMPH = 80 PI = 3.14 FILE_SIZE_LIMIT = 2000
19
24
0.789474
12
57
3.333333
0.916667
0
0
0
0
0
0
0
0
0
0
0.183673
0.140351
57
3
25
19
0.632653
0
0
0
0
0
0
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
40cd7f5aa0ccb4e9dbdfd609d159a147b11aee7a
698
py
Python
cogbot/extensions/groups/error.py
Arcensoth/cogbot
ef9d935ae8c8fbe00fb9370c75e0e6d9189141d0
[ "MIT" ]
8
2016-12-26T14:10:38.000Z
2021-01-02T03:50:05.000Z
cogbot/extensions/groups/error.py
Arcensoth/cogbot
ef9d935ae8c8fbe00fb9370c75e0e6d9189141d0
[ "MIT" ]
28
2016-12-12T04:06:53.000Z
2020-04-23T06:18:55.000Z
cogbot/extensions/groups/error.py
Arcensoth/cogbot
ef9d935ae8c8fbe00fb9370c75e0e6d9189141d0
[ "MIT" ]
9
2017-06-03T00:33:57.000Z
2020-10-29T18:16:02.000Z
class GroupDirectoryError(Exception): pass class NoSuchRoleIdError(GroupDirectoryError): def __init__(self, *args, role_id, **kwargs): super().__init__(*args, **kwargs) self.role_id = role_id class NoSuchRoleNameError(GroupDirectoryError): def __init__(self, *args, role_name, **kwargs): ...
24.068966
56
0.706304
66
698
7.015152
0.287879
0.142549
0.168467
0.194384
0.442765
0.36933
0.142549
0
0
0
0
0
0.181948
698
28
57
24.928571
0.810858
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
40d6bac5ec2dd005662ed6641ed9069238138a7c
464
py
Python
odp/api/dependencies/catalogue.py
SAEONData/Open-Data-Platform
cfd2a53e145ec86e187d7c4e1260df17ec6dcb03
[ "MIT" ]
2
2021-03-04T07:09:47.000Z
2022-01-02T19:23:41.000Z
odp/api/dependencies/catalogue.py
SAEONData/Open-Data-Platform
cfd2a53e145ec86e187d7c4e1260df17ec6dcb03
[ "MIT" ]
18
2020-09-16T09:16:45.000Z
2022-01-25T14:17:42.000Z
odp/api/dependencies/catalogue.py
SAEONData/Open-Data-Platform
cfd2a53e145ec86e187d7c4e1260df17ec6dcb03
[ "MIT" ]
1
2021-06-25T13:02:57.000Z
2021-06-25T13:02:57.000Z
from typing import Union from pydantic import UUID4, constr from odp.api.models.metadata import DOI_REGEX from odp.config import config def get_metadata_landing_page_url(record_id_or_doi: Union[UUID4, constr(regex=DOI_REGEX)]) -> str: """ Gets the redirect target for a metadata record in the catalogue. ...
30.933333
98
0.769397
74
464
4.608108
0.527027
0.035191
0.111437
0.076246
0.093842
0
0
0
0
0
0
0.005115
0.157328
464
14
99
33.142857
0.867008
0.252155
0
0
0
0
0.207951
0.207951
0
0
0
0
0
1
0.166667
false
0
0.666667
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
40df99a3e12895ae2c96ab304beb8ca8227dc206
473
py
Python
test/controllers/foo.py
kovalewvladimir/falcon-openapi
8fd3af74bdbda200b5b201bb60da8546a57e434b
[ "MIT" ]
null
null
null
test/controllers/foo.py
kovalewvladimir/falcon-openapi
8fd3af74bdbda200b5b201bb60da8546a57e434b
[ "MIT" ]
null
null
null
test/controllers/foo.py
kovalewvladimir/falcon-openapi
8fd3af74bdbda200b5b201bb60da8546a57e434b
[ "MIT" ]
null
null
null
import falcon class Foo(object): def on_get(self, req, resp): """Handles GET requests""" resp.status = falcon.HTTP_200 resp.json = {"method": "get"} def on_post(self, req, resp): """Handles POST requests""" resp.status = falcon.HTTP_200 resp.json = {"method": "p...
26.277778
38
0.566596
60
473
4.35
0.383333
0.08046
0.126437
0.206897
0.452107
0.344828
0.344828
0.344828
0.344828
0
0
0.026471
0.281184
473
17
39
27.823529
0.741176
0.133192
0
0.181818
0
0
0.071066
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0
0.454545
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
40e8317fc94ca6781f5bc0ba7431cb6cc0769a1f
280
py
Python
nomnom/management/commands/dbdelete.py
tluderer/nomnom-server
0cdfe9a6d873d87edda56fad27b8dae99b317ab7
[ "MIT" ]
null
null
null
nomnom/management/commands/dbdelete.py
tluderer/nomnom-server
0cdfe9a6d873d87edda56fad27b8dae99b317ab7
[ "MIT" ]
4
2021-04-14T15:40:03.000Z
2021-04-14T15:40:36.000Z
nomnom/management/commands/dbdelete.py
tluderer/nomnom-server
0cdfe9a6d873d87edda56fad27b8dae99b317ab7
[ "MIT" ]
null
null
null
from django.core.management.base import BaseCommand, CommandError from nomnom.models import Ingredient, Recipe class Command(BaseCommand): help = 'Creates mock data and fills database with it.' def handle(self, *args, **options): Recipe.objects.all().delete()
25.454545
65
0.732143
35
280
5.857143
0.885714
0
0
0
0
0
0
0
0
0
0
0
0.167857
280
10
66
28
0.879828
0
0
0
0
0
0.160714
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
40eb125adf51359f95265fe4f0d0fd29474064ca
556
py
Python
powx-n/powx-n.py
Atri10/Leet-code---Atri_Patel
49fc59b9147a44ab04a66128fbb2ef259b5f7b7c
[ "MIT" ]
1
2021-10-10T20:21:18.000Z
2021-10-10T20:21:18.000Z
powx-n/powx-n.py
Atri10/Leet-code---Atri_Patel
49fc59b9147a44ab04a66128fbb2ef259b5f7b7c
[ "MIT" ]
null
null
null
powx-n/powx-n.py
Atri10/Leet-code---Atri_Patel
49fc59b9147a44ab04a66128fbb2ef259b5f7b7c
[ "MIT" ]
null
null
null
class Solution: def myPow(self, x: float, n: int) -> float: memo = {} def power(x,n): if n in memo:return memo[n] if n==0: return 1 elif n==1:return x elif n < 0: memo[n] = power(1/x,-n) return memo[n]...
26.47619
49
0.366906
75
556
2.72
0.253333
0.171569
0.215686
0.107843
0
0
0
0
0
0
0
0.036232
0.503597
556
21
50
26.47619
0.702899
0
0
0.176471
0
0
0
0
0
0
0
0
0
1
0.117647
false
0
0
0
0.411765
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
40f04db460968ec549b4ff945a0b68a70bd64909
549
py
Python
tetrahedron/solid_effect.py
mayhem/led-tetrahedron
bed314d0db3c4fe355cd047434b04108e19265cf
[ "BSD-2-Clause" ]
null
null
null
tetrahedron/solid_effect.py
mayhem/led-tetrahedron
bed314d0db3c4fe355cd047434b04108e19265cf
[ "BSD-2-Clause" ]
null
null
null
tetrahedron/solid_effect.py
mayhem/led-tetrahedron
bed314d0db3c4fe355cd047434b04108e19265cf
[ "BSD-2-Clause" ]
null
null
null
import effect class SolidEffect(effect.Effect): def __init__(self, led_art, name): effect.Effect.__init__(self, led_art, name) self.color = (255, 255, 255) self.done = False self.effect_name = "solid color" def setup(self): self.done = False def set_color(self,...
18.3
51
0.571949
71
549
4.211268
0.323944
0.133779
0.133779
0.093645
0.120401
0
0
0
0
0
0
0.024324
0.326047
549
29
52
18.931034
0.783784
0
0
0.166667
0
0
0.020036
0
0
0
0
0
0
1
0.222222
false
0.055556
0.055556
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
40f1ebf8973618f184fa7cf3e8ad4fb7414a2c1a
208
py
Python
Recursion/sum_natural.py
Joisha02/DataStructure-in-C
fc8c5876e763a56747934c39c1fa396b0ab7ef21
[ "MIT" ]
null
null
null
Recursion/sum_natural.py
Joisha02/DataStructure-in-C
fc8c5876e763a56747934c39c1fa396b0ab7ef21
[ "MIT" ]
null
null
null
Recursion/sum_natural.py
Joisha02/DataStructure-in-C
fc8c5876e763a56747934c39c1fa396b0ab7ef21
[ "MIT" ]
1
2021-10-17T19:33:01.000Z
2021-10-17T19:33:01.000Z
def sum_Natural(n): if n == 0: return 0 else: return sum_Natural(n - 1) + n n = int(input()) result = sum_Natural(n) print(f"Sum of first {n} natural numbers -> {result}")
18.909091
55
0.548077
32
208
3.46875
0.53125
0.27027
0.297297
0
0
0
0
0
0
0
0
0.020979
0.3125
208
10
56
20.8
0.755245
0
0
0
0
0
0.222222
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
0.125
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
40fa2ac7344d8f5ef65954b8ee8836031dec94f4
2,419
py
Python
Mecanica/cinematica/ultrapassagem.py
VictorArnaud/Fisica
081c0b358339ad2dbe615fb43bb1a792cc360442
[ "MIT" ]
2
2020-07-20T13:00:44.000Z
2022-01-11T10:55:29.000Z
Mecanica/cinematica/ultrapassagem.py
VictorArnaud/Fisica
081c0b358339ad2dbe615fb43bb1a792cc360442
[ "MIT" ]
null
null
null
Mecanica/cinematica/ultrapassagem.py
VictorArnaud/Fisica
081c0b358339ad2dbe615fb43bb1a792cc360442
[ "MIT" ]
null
null
null
class Ultrapassagem(object): """ Métodos para resolução de tópicos de física: Ultrapassagem Obs: Utilize parâmetros nomeados """ ERROR = "Argumentos invalidos, verifique a documentação do método." @classmethod def velocidade_relativa(cls, V1: float=None, V2: float=None, sentidos_opostos: ...
28.458824
107
0.607689
286
2,419
5.101399
0.276224
0.049349
0.10281
0.054832
0.361206
0.309801
0.115147
0.115147
0.05209
0.05209
0
0.006101
0.322447
2,419
84
108
28.797619
0.884076
0.443158
0
0.275862
0
0
0.051865
0
0
0
0
0.011905
0
1
0.137931
false
0.103448
0
0
0.344828
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
dc0a7f55243ee7a4ca8b2df209db44a5c9bc99f2
284
py
Python
tests/unit/test_example.py
lypant/penv
cf0a598c691f1b877a5140359b41605822f3c2f4
[ "MIT" ]
null
null
null
tests/unit/test_example.py
lypant/penv
cf0a598c691f1b877a5140359b41605822f3c2f4
[ "MIT" ]
null
null
null
tests/unit/test_example.py
lypant/penv
cf0a598c691f1b877a5140359b41605822f3c2f4
[ "MIT" ]
null
null
null
"""Unit tests for 'example' module""" from unittest import TestCase from penv.example import add class TestExample(TestCase): """Tests of example module""" def test_add_positive(self): """Test addition of positive numbers""" self.assertEqual(5, add(2, 3))
21.846154
47
0.679577
37
284
5.162162
0.648649
0.136126
0
0
0
0
0
0
0
0
0
0.013216
0.200704
284
12
48
23.666667
0.828194
0.31338
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
dc0e72c4ed93a111308dc1e8c16d3053c07c2b11
10,778
py
Python
equip/bytecode/decl.py
neuroo/equip
470c168cf26d1d8340aa5ab37a5364d999a0b2f4
[ "Apache-2.0" ]
102
2015-01-03T13:51:03.000Z
2022-02-28T03:56:26.000Z
equip/bytecode/decl.py
neuroo/equip
470c168cf26d1d8340aa5ab37a5364d999a0b2f4
[ "Apache-2.0" ]
4
2016-12-09T00:31:39.000Z
2019-07-28T09:48:18.000Z
equip/bytecode/decl.py
neuroo/equip
470c168cf26d1d8340aa5ab37a5364d999a0b2f4
[ "Apache-2.0" ]
9
2015-05-08T12:17:28.000Z
2020-12-17T08:20:00.000Z
# -*- coding: utf-8 -*- """ equip.bytecode.decl ~~~~~~~~~~~~~~~~~~~ Structured representation of Module, Types, Method, Imports. :copyright: (c) 2014 by Romain Gaucher (@rgaucher) :license: Apache 2, see LICENSE for more details. """ import dis from operator import attrgetter, \ methodc...
24.111857
90
0.663296
1,378
10,778
4.942671
0.140784
0.052856
0.04111
0.022023
0.180003
0.101454
0.089708
0.062693
0.022904
0.022904
0
0.002423
0.234181
10,778
446
91
24.165919
0.822753
0.158193
0
0.166667
0
0
0.022777
0.009385
0.003546
0
0
0
0
1
0.22695
false
0
0.117021
0.085106
0.549645
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
dc0fb30ff45fc45aa3b47400ad7bc72b515f7a74
1,418
py
Python
accounts/admin.py
Gerard-007/musicalpacks
ef12c7281b395268ac53247fd34c3499f7a0569a
[ "MIT" ]
null
null
null
accounts/admin.py
Gerard-007/musicalpacks
ef12c7281b395268ac53247fd34c3499f7a0569a
[ "MIT" ]
7
2020-06-05T20:23:21.000Z
2022-03-11T23:45:33.000Z
accounts/admin.py
Gerard-007/musicalpacks
ef12c7281b395268ac53247fd34c3499f7a0569a
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import User from .forms import UserCreateForm from django.contrib.auth.models import Group from django.contrib.auth.admin import UserAdmin # Register your models here. class MyAdmin(UserAdmin): # The forms to add and change user instances # form = UserChangeForm ...
34.585366
80
0.6622
168
1,418
5.511905
0.505952
0.032397
0.055076
0.045356
0
0
0
0
0
0
0
0.001791
0.212271
1,418
40
81
35.45
0.827216
0.358251
0
0
0
0
0.206013
0
0
0
0
0
0
1
0
false
0.08
0.2
0
0.56
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
dc129448ec9bcba2fab95831fb90c2155c83c51a
146
py
Python
test4.py
brautaset/Test
6ecbc436b08835b8a7d195cee701b8d639fd5bd2
[ "Apache-2.0" ]
null
null
null
test4.py
brautaset/Test
6ecbc436b08835b8a7d195cee701b8d639fd5bd2
[ "Apache-2.0" ]
null
null
null
test4.py
brautaset/Test
6ecbc436b08835b8a7d195cee701b8d639fd5bd2
[ "Apache-2.0" ]
null
null
null
import numpy as np x = np.arange(18).reshape(6,3) print(x) y = np.array_split(x, 3) y = np.delete(y, 1, axis=0).reshape(-1,3) print(y) print(x)
14.6
41
0.643836
33
146
2.818182
0.545455
0.129032
0
0
0
0
0
0
0
0
0
0.072
0.143836
146
9
42
16.222222
0.672
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
90531220a9376a7c1ca55e17cea625726dc1dc64
413
py
Python
src/lib/etc.py
project-pitomi/pitomi-batch
58f4b6b154e47d451721d18076f7aebc7e1c33c4
[ "Apache-2.0" ]
null
null
null
src/lib/etc.py
project-pitomi/pitomi-batch
58f4b6b154e47d451721d18076f7aebc7e1c33c4
[ "Apache-2.0" ]
null
null
null
src/lib/etc.py
project-pitomi/pitomi-batch
58f4b6b154e47d451721d18076f7aebc7e1c33c4
[ "Apache-2.0" ]
null
null
null
import glob import os def extract_new_item_list(fresh_list, last_id): return list(reversed(fresh_list[: fresh_list.index(last_id)])) def clean_resource(): files_to_clean = glob.glob("resource/*") for f in files_to_clean: os.remove(f) def extract_missing_galleries(fresh_list, owned_ids): ow...
22.944444
67
0.733656
66
413
4.272727
0.454545
0.159574
0.092199
0
0
0
0
0
0
0
0
0
0.164649
413
17
68
24.294118
0.817391
0
0
0
0
0
0.024213
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0.090909
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
90549c2ba14202d138b8dd6a883e2147a4e14802
2,245
py
Python
.leetcode/503.next-greater-element-ii.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
.leetcode/503.next-greater-element-ii.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
.leetcode/503.next-greater-element-ii.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
# @lc app=leetcode id=503 lang=python3 # # [503] Next Greater Element II # # https://leetcode.com/problems/next-greater-element-ii/description/ # # algorithms # Medium (60.08%) # Likes: 3257 # Dislikes: 108 # Total Accepted: 164.6K # Total Submissions: 273.2K # Testcase Example: '[1,2,1]' # # Given a circular in...
19.867257
78
0.578174
334
2,245
3.859281
0.359281
0.013964
0.079131
0.00931
0.163693
0.126455
0.074476
0.074476
0
0
0
0.056954
0.257016
2,245
113
79
19.867257
0.715827
0.523831
0
0.30303
0
0
0.133599
0
0
0
0
0
0
1
0.030303
false
0.060606
0.030303
0
0.121212
0.484848
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
1
0
2
905df271575e9954534ed0d0af7e6fed09e7232d
2,662
py
Python
fbhack.py
Mr-Devil-007/REVERSE-INGINEERING
1691308a66c6bc19adb70f73deef565d35920b22
[ "Apache-2.0", "MIT" ]
1
2022-03-08T18:48:31.000Z
2022-03-08T18:48:31.000Z
fbhack.py
Mr-Devil-007/REVERSE-INGINEERING
1691308a66c6bc19adb70f73deef565d35920b22
[ "Apache-2.0", "MIT" ]
null
null
null
fbhack.py
Mr-Devil-007/REVERSE-INGINEERING
1691308a66c6bc19adb70f73deef565d35920b22
[ "Apache-2.0", "MIT" ]
null
null
null
#-*-coding:utf8;-*- #qpy:3 #qpy:console import os A='\033[1;31m' B='\033[1;32m' C='\033[1;33m' D='\033[1;34m' E='\033[1;35m' F='\033[1;36m' grb='''@:[1864140940265166]''' print(B) os.system('cowsay -f eyes "@Termux@ Hack Facebook" ') print(A) ok=""" ================================================== = ...
23.147826
191
0.592036
393
2,662
3.946565
0.452926
0.033527
0.01354
0.015474
0.009671
0.009671
0.009671
0.009671
0.009671
0.009671
0
0.075875
0.173178
2,662
114
192
23.350877
0.627896
0.045079
0
0.025
0
0.0375
0.399209
0.039526
0
0
0
0
0
0
null
null
0.1625
0.0625
null
null
0.125
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
907d71fafa6af9209a7e4991063887e1a741afd8
3,522
py
Python
src/misc.py
hkimaf/unixmd
616634c720d0589fd600e3268afab9da957e18bb
[ "MIT" ]
9
2021-04-18T08:03:50.000Z
2022-03-22T03:29:54.000Z
src/misc.py
hkimaf/unixmd
616634c720d0589fd600e3268afab9da957e18bb
[ "MIT" ]
23
2021-04-14T08:43:02.000Z
2022-03-31T10:26:42.000Z
src/misc.py
hkimaf/unixmd
616634c720d0589fd600e3268afab9da957e18bb
[ "MIT" ]
16
2021-04-14T05:59:45.000Z
2022-02-02T03:05:23.000Z
from functools import wraps import sys, time, os import numpy as np # Atomic weight data = { "xx" : 1.00794, "H" : 1.00794, "He" : 4.00260, "Li" : 6.941, "Be" : 9.012187, "B" : 10.811, "C" : 12.0107, "N" : 14.00674, "O" : 15.9994, "F" : 18.99840, "Ne" : 20.1797, "Na" : 22.98977, "Mg" : 24.3050, "Al" : ...
42.433735
107
0.532084
609
3,522
2.996716
0.65353
0.021918
0.013699
0.015342
0.044932
0
0
0
0
0
0
0.287009
0.248154
3,522
82
108
42.95122
0.40219
0.100227
0
0
0
0
0.090734
0
0
0
0
0
0
1
0.087719
false
0
0.052632
0.017544
0.210526
0.017544
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
907ed92c7e599f667818de7238e7b59016331705
624
py
Python
modules/misc.py
cd-con/lenta
e75f62e4f33fc051e5ffc0cd2a4bfae69ac2cf0d
[ "MIT" ]
null
null
null
modules/misc.py
cd-con/lenta
e75f62e4f33fc051e5ffc0cd2a4bfae69ac2cf0d
[ "MIT" ]
null
null
null
modules/misc.py
cd-con/lenta
e75f62e4f33fc051e5ffc0cd2a4bfae69ac2cf0d
[ "MIT" ]
1
2021-10-09T19:53:11.000Z
2021-10-09T19:53:11.000Z
import random import string import settings def cleanup_array(array): bad_words = ["", " ", " "] output = [] for a_word in array: if a_word not in bad_words: output.append(a_word) return output def generate_random_color(): colors = ["🟥", "🟧", "🟨", "🟩", "...
22.285714
81
0.610577
84
624
4.416667
0.52381
0.040431
0.075472
0
0
0
0
0
0
0
0
0.025424
0.24359
624
27
82
23.111111
0.747881
0
0
0
0
0
0.015075
0
0
0
0
0
0
1
0.222222
false
0
0.166667
0.055556
0.611111
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
909f5a1524a236ed5e6091fa12675ddea0f974e8
989
py
Python
pyclesperanto_prototype/_tier4/_exclude_large_labels.py
DrLachie/pyclesperanto_prototype
56843fac2543265c40f108fd40eac3ecf85c8458
[ "BSD-3-Clause" ]
null
null
null
pyclesperanto_prototype/_tier4/_exclude_large_labels.py
DrLachie/pyclesperanto_prototype
56843fac2543265c40f108fd40eac3ecf85c8458
[ "BSD-3-Clause" ]
null
null
null
pyclesperanto_prototype/_tier4/_exclude_large_labels.py
DrLachie/pyclesperanto_prototype
56843fac2543265c40f108fd40eac3ecf85c8458
[ "BSD-3-Clause" ]
null
null
null
from .._tier0 import plugin_function from .._tier0 import Image from .._tier0 import create_none @plugin_function(output_creator=create_none, categories=['label processing', 'in assistant']) def exclude_large_labels(source: Image, destination: Image = None, minimum_size: float = 100) -> Image: """Removes labels fr...
34.103448
103
0.658241
114
989
5.473684
0.526316
0.070513
0.072115
0.086538
0.086538
0.086538
0
0
0
0
0
0.013459
0.248736
989
28
104
35.321429
0.82638
0.379171
0
0
0
0
0.05045
0
0
0
0
0
0
1
0.111111
false
0
0.444444
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
90a4734259a8c283ccf1a30bc8b7f53049059157
4,281
py
Python
cradmin_legacy/viewhelpers/listfilter/basefilters/single/abstracttextinput.py
appressoas/cradmin_legacy
b9d024299333dd04c87c1031bd5be5778aa7f1f1
[ "BSD-3-Clause" ]
null
null
null
cradmin_legacy/viewhelpers/listfilter/basefilters/single/abstracttextinput.py
appressoas/cradmin_legacy
b9d024299333dd04c87c1031bd5be5778aa7f1f1
[ "BSD-3-Clause" ]
17
2018-03-07T15:52:42.000Z
2022-03-12T01:07:06.000Z
cradmin_legacy/viewhelpers/listfilter/basefilters/single/abstracttextinput.py
appressoas/cradmin_legacy
b9d024299333dd04c87c1031bd5be5778aa7f1f1
[ "BSD-3-Clause" ]
1
2018-07-23T22:13:45.000Z
2018-07-23T22:13:45.000Z
from django.utils.translation import gettext_lazy, pgettext, pgettext_lazy from cradmin_legacy.viewhelpers.listfilter.base.abstractfilter import AbstractFilter class AbstractInputFilter(AbstractFilter): """ Abstract base class for any filter that uses a single text input field. """ template_name = 'c...
33.186047
100
0.673908
522
4,281
5.350575
0.275862
0.030075
0.025063
0.048693
0.305406
0.277837
0.240602
0.157537
0.128894
0.128894
0
0.000925
0.242467
4,281
128
101
33.445313
0.860315
0.364634
0
0.208333
0
0
0.14071
0.092276
0
0
0
0
0
1
0.291667
false
0
0.041667
0.083333
0.770833
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
90a5e1215be8d675f58028e2b50f5124f8133bdd
103
py
Python
jp.atcoder/abc081/abc081_a/8081239.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/abc081/abc081_a/8081239.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/abc081/abc081_a/8081239.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
ls = list(input().split()) count = 0 for l in ls: if l == 1: count += 1 print(count)
14.714286
27
0.485437
17
103
2.941176
0.705882
0
0
0
0
0
0
0
0
0
0
0.044776
0.349515
103
6
28
17.166667
0.701493
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
90aa323d986c6514e0e11d4bac09f4f514d6e494
15,993
py
Python
src/sage/combinat/subword.py
hsm207/sage
020bd59ec28717bfab9af44d2231c53da1ff99f1
[ "BSL-1.0" ]
1,742
2015-01-04T07:06:13.000Z
2022-03-30T11:32:52.000Z
src/sage/combinat/subword.py
Ivo-Maffei/sage
467fbc70a08b552b3de33d9065204ee9cbfb02c7
[ "BSL-1.0" ]
66
2015-03-19T19:17:24.000Z
2022-03-16T11:59:30.000Z
src/sage/combinat/subword.py
dimpase/sage
468f23815ade42a2192b0a9cd378de8fdc594dcd
[ "BSL-1.0" ]
495
2015-01-10T10:23:18.000Z
2022-03-24T22:06:11.000Z
r""" Subwords A subword of a word `w` is a word obtained by deleting the letters at some (non necessarily adjacent) positions in `w`. It is not to be confused with the notion of factor where one keeps adjacent positions in `w`. Sometimes it is useful to allow repeated uses of the same letter of `w` in a "generalized" ...
29.23766
104
0.489089
2,157
15,993
3.541493
0.130274
0.021992
0.026312
0.064799
0.456866
0.421914
0.385914
0.36222
0.31889
0.2842
0
0.063019
0.33721
15,993
546
105
29.291209
0.657642
0.605077
0
0.188034
0
0
0.012538
0
0
0
0
0.001832
0
1
0.205128
false
0
0.068376
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2