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
eccea77ed3a68c101e71d8c442d82954ddf5ff1d
506
py
Python
src/Models/type_declaration.py
PqES/ArchPython
142b02f2c7fff9a3fb375a338af2de2e688f4004
[ "MIT" ]
6
2020-07-13T23:41:49.000Z
2022-02-01T21:02:46.000Z
src/Models/type_declaration.py
LimaEduardo/ArchPython
5a81d0c79d7933f06c26175b1958d604b4c248df
[ "MIT" ]
null
null
null
src/Models/type_declaration.py
LimaEduardo/ArchPython
5a81d0c79d7933f06c26175b1958d604b4c248df
[ "MIT" ]
1
2020-09-07T13:04:25.000Z
2020-09-07T13:04:25.000Z
class TypeDeclaration: def __init__(self, file_path): self.file_path = file_path self.types_declared = set() def add_type_declared(self, new_type): if type(new_type) == set: self.types_declared = self.types_declared.union(new_type) else: self.types_d...
29.764706
69
0.614625
61
506
4.721311
0.344262
0.138889
0.295139
0.111111
0.138889
0
0
0
0
0
0
0
0.29249
506
17
70
29.764706
0.804469
0
0
0
0
0
0.043393
0
0
0
0
0
0
1
0.214286
false
0
0
0.071429
0.357143
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
ecedefaeda349c0ce2f0f8d89b6f5a68deaab86e
807
py
Python
aragwas_server/gwasdb/migrations/0011_auto_20170809_0946.py
1001genomes/AraGWAS
be02c0480bf18228b07853740e63f249fe31d7e5
[ "MIT" ]
11
2017-08-03T07:17:56.000Z
2020-08-26T06:23:45.000Z
aragwas_server/gwasdb/migrations/0011_auto_20170809_0946.py
grimmlab/AraGWAS
447db9bff377085a65aea05c0f09545e9405cc6c
[ "MIT" ]
138
2017-02-27T18:33:49.000Z
2022-03-02T04:25:23.000Z
aragwas_server/gwasdb/migrations/0011_auto_20170809_0946.py
grimmlab/AraGWAS
447db9bff377085a65aea05c0f09545e9405cc6c
[ "MIT" ]
9
2017-10-05T08:45:37.000Z
2020-11-06T06:48:58.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11b1 on 2017-08-09 09:46 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gwasdb', '0010_study_n_hits_fdr'), ] operations = [ migrations.AddField( ...
26.032258
59
0.589839
82
807
5.621951
0.52439
0.117137
0.149675
0.175705
0.54013
0.54013
0.462039
0.462039
0.360087
0.360087
0
0.036842
0.29368
807
30
60
26.9
0.77193
0.084263
0
0.521739
1
0
0.129076
0.057065
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
01a01198e4228bd97570d060e85af1489bc81a96
8,347
py
Python
tests/unit/test_str.py
matthewgdv/subtypes
52caa785f2861c6a9b867ed9b6c3756f8015689b
[ "MIT" ]
1
2019-11-20T00:25:45.000Z
2019-11-20T00:25:45.000Z
tests/unit/test_str.py
matthewgdv/subtypes
52caa785f2861c6a9b867ed9b6c3756f8015689b
[ "MIT" ]
null
null
null
tests/unit/test_str.py
matthewgdv/subtypes
52caa785f2861c6a9b867ed9b6c3756f8015689b
[ "MIT" ]
null
null
null
import pytest from subtypes import Str @pytest.fixture def default_string(): return Str("Hello World!") @pytest.fixture def casing_test_string(): return Str("| HiThis_is a CASINGTest-case &") class TestCase: pass class TestReprMixin: pass class TestRegexAccessor: class TestSettings: ...
27.367213
109
0.63412
1,053
8,347
4.765432
0.166192
0.112993
0.168992
0.199283
0.640694
0.597449
0.390594
0.314069
0.296532
0.106417
0
0.001445
0.253864
8,347
304
110
27.457237
0.80395
0.067809
0
0.338235
0
0
0.095207
0.028575
0
0
0
0
0.397059
1
0.406863
false
0.02451
0.009804
0.009804
0.490196
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
01a0326727c89692ffd2543b096f3891a37e14ea
50
py
Python
xtrabackupcloud/__init__.py
kynx/xtrabackupcloud
3f0c0deffa126499b10f683b1c6cd96bb984d04e
[ "MIT" ]
null
null
null
xtrabackupcloud/__init__.py
kynx/xtrabackupcloud
3f0c0deffa126499b10f683b1c6cd96bb984d04e
[ "MIT" ]
null
null
null
xtrabackupcloud/__init__.py
kynx/xtrabackupcloud
3f0c0deffa126499b10f683b1c6cd96bb984d04e
[ "MIT" ]
null
null
null
__all__ = ["main", "backup", "restore", "shell"]
16.666667
48
0.58
5
50
5
1
0
0
0
0
0
0
0
0
0
0
0
0.14
50
2
49
25
0.581395
0
0
0
0
0
0.44898
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
01bffc534f3d43764fdfef6d7a7f4d4d8d92011a
67
py
Python
segmentation_models/__version__.py
dmitro-nazarenko/segmentation_models
fed515e33144ec2b65f886a21aa950e07459da8e
[ "MIT" ]
2
2019-10-03T10:23:16.000Z
2020-03-19T16:23:44.000Z
segmentation_models/__version__.py
dmitro-nazarenko/segmentation_models
fed515e33144ec2b65f886a21aa950e07459da8e
[ "MIT" ]
null
null
null
segmentation_models/__version__.py
dmitro-nazarenko/segmentation_models
fed515e33144ec2b65f886a21aa950e07459da8e
[ "MIT" ]
1
2020-03-18T09:02:44.000Z
2020-03-18T09:02:44.000Z
VERSION = (1, 0, '0b1') __version__ = '.'.join(map(str, VERSION))
16.75
41
0.597015
9
67
4
0.777778
0
0
0
0
0
0
0
0
0
0
0.070175
0.149254
67
3
42
22.333333
0.561404
0
0
0
0
0
0.059701
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
01e2a8f49fe085e08a473f10595c7f62e24e1ea8
355
py
Python
chat_project/account/admin.py
crisreame/CapstoneProject
caf660bd1f7067822f8778244b56097d1e018f3c
[ "MIT" ]
1
2022-02-10T12:29:22.000Z
2022-02-10T12:29:22.000Z
chat_project/account/admin.py
crisreame/CapstoneProject
caf660bd1f7067822f8778244b56097d1e018f3c
[ "MIT" ]
null
null
null
chat_project/account/admin.py
crisreame/CapstoneProject
caf660bd1f7067822f8778244b56097d1e018f3c
[ "MIT" ]
3
2021-04-25T01:52:31.000Z
2021-10-09T04:18:56.000Z
from django.contrib import admin # Register your models here. from .models import Profile from .models import Message @admin.register(Profile) class ProfileAdmin(admin.ModelAdmin): list_display = ['user', 'date_of_birth', 'photo'] @admin.register(Message) class MessageAdmin(admin.ModelAdmin): list_display ...
23.666667
53
0.752113
43
355
6.116279
0.55814
0.148289
0.121673
0.197719
0
0
0
0
0
0
0
0
0.126761
355
15
54
23.666667
0.848387
0.073239
0
0
0
0
0.131098
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.777778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
01e6c727e10718c0aa1775b44ff7eba79b8ec5fd
71,385
py
Python
TestInterface/sendNW.py
luoyefeiwu/learn_python
e888537c538309d2600a302c0c6e92456dd785c0
[ "Apache-2.0" ]
null
null
null
TestInterface/sendNW.py
luoyefeiwu/learn_python
e888537c538309d2600a302c0c6e92456dd785c0
[ "Apache-2.0" ]
null
null
null
TestInterface/sendNW.py
luoyefeiwu/learn_python
e888537c538309d2600a302c0c6e92456dd785c0
[ "Apache-2.0" ]
null
null
null
# 保存 import requests import json headers = { 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36', 'Content-Type': 'application/json; charset=UTF-8' } data = [ { "projectDeclare": { "id": "61be814b-faff...
33.033318
142
0.388317
4,910
71,385
5.645418
0.247251
0.010823
0.007576
0.020924
0.64389
0.605072
0.560879
0.455572
0.423356
0.359537
0
0.249654
0.453359
71,385
2,160
143
33.048611
0.460663
0.000028
0
0.628479
0
0.000464
0.394307
0.181883
0
0
0
0
0
1
0
false
0
0.000928
0
0.000928
0.000464
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
01f2e390ab68abdfe2ce3704a931b7d3f13cac4c
3,417
py
Python
ryu/app/load_tt_schedule_tb.py
TT-openvswitch/ryu
7b2fd3cb7ae116cadae25ddea7ac227bd63c1c66
[ "Apache-2.0" ]
1
2019-01-16T09:59:01.000Z
2019-01-16T09:59:01.000Z
ryu/app/load_tt_schedule_tb.py
thurtsdn/ryu
7b2fd3cb7ae116cadae25ddea7ac227bd63c1c66
[ "Apache-2.0" ]
null
null
null
ryu/app/load_tt_schedule_tb.py
thurtsdn/ryu
7b2fd3cb7ae116cadae25ddea7ac227bd63c1c66
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2016 Nippon Telegraph and Telephone Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
44.960526
80
0.534972
408
3,417
4.25
0.301471
0.031142
0.040369
0.056517
0.589965
0.577855
0.577855
0.577855
0.532872
0.532872
0
0.009355
0.374305
3,417
75
81
45.56
0.801684
0.197542
0
0.730769
0
0
0.024229
0.012482
0
0
0
0
0
0
null
null
0
0.019231
null
null
0.019231
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
01ff5688a61c85d321773098fb0342781ca02f74
10,950
py
Python
homePage/cached_templates/templates/hotspots.html.py
bmackley/history
cddf1405f23c98702f2c5b4c02571b5cc20a449a
[ "Apache-2.0" ]
null
null
null
homePage/cached_templates/templates/hotspots.html.py
bmackley/history
cddf1405f23c98702f2c5b4c02571b5cc20a449a
[ "Apache-2.0" ]
null
null
null
homePage/cached_templates/templates/hotspots.html.py
bmackley/history
cddf1405f23c98702f2c5b4c02571b5cc20a449a
[ "Apache-2.0" ]
null
null
null
# -*- coding:ascii -*- from mako import runtime, filters, cache UNDEFINED = runtime.UNDEFINED STOP_RENDERING = runtime.STOP_RENDERING __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 _modified_time = 1455063597.584958 _enable_loop = True _template_filename = '/Users/benmackley/Projects/history/hom...
96.052632
4,397
0.569406
1,520
10,950
3.956579
0.261184
0.027935
0.014965
0.011972
0.416196
0.354506
0.315763
0.27702
0.227802
0.169937
0
0.035924
0.252603
10,950
113
4,398
96.902655
0.698925
0.001826
0
0.373737
0
0.080808
0.659855
0.163277
0
0
0
0
0
1
0.070707
false
0.010101
0.020202
0.020202
0.161616
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bf11b1cf9b95eba254cc89adaa3c829d00533ea1
14,056
py
Python
apps/test/test_role.py
Cyberia-ecode/summer-of-code-meg
02fb6a0e12d29be00b99d64bf91ab4b008fa756d
[ "MIT" ]
null
null
null
apps/test/test_role.py
Cyberia-ecode/summer-of-code-meg
02fb6a0e12d29be00b99d64bf91ab4b008fa756d
[ "MIT" ]
null
null
null
apps/test/test_role.py
Cyberia-ecode/summer-of-code-meg
02fb6a0e12d29be00b99d64bf91ab4b008fa756d
[ "MIT" ]
null
null
null
from apps.a_common.constants import UserIdentity from apps.a_common.scheme import PageInfo from apps.crud.role import get_users_by_role_id from apps.model.user import UserDB from apps.model.user2role import User2RoleDB from apps.model.role import RoleDB from apps.test import assert_response_fail, assert_response_...
39.931818
191
0.603586
1,693
14,056
4.77023
0.076196
0.078009
0.09101
0.12209
0.787395
0.736132
0.700966
0.66159
0.636825
0.589277
0
0.028861
0.277746
14,056
351
192
40.045584
0.766647
0.011525
0
0.584559
0
0
0.066894
0.055424
0
0
0
0
0.294118
1
0.058824
false
0
0.036765
0
0.095588
0.007353
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
bf29c3f5ba5c73fc299457cc46f2f1e8a6daed88
940
py
Python
DEFCON_Core.py
tlear/DEFCON
6f24c1585a877e8668157a93a8153502b3ddc246
[ "MIT" ]
null
null
null
DEFCON_Core.py
tlear/DEFCON
6f24c1585a877e8668157a93a8153502b3ddc246
[ "MIT" ]
null
null
null
DEFCON_Core.py
tlear/DEFCON
6f24c1585a877e8668157a93a8153502b3ddc246
[ "MIT" ]
null
null
null
################################################################ # DEFCON_GM_Server # (C) Tom Moore 2017 ################################################################ ################################################################ # IMPORTS ################################################################ # Python ...
25.405405
64
0.330851
52
940
5.788462
0.461538
0.119601
0.126246
0.166113
0
0
0
0
0
0
0
0.005848
0.090426
940
37
65
25.405405
0.346199
0.101064
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
171a22768ef061beb981c1a4dd1dc1031d412a14
142
py
Python
hackerrank/DesignerPDFViewer.py
0x8b/HackerRank
45e1a0e2be68950505c0a75218715bd3132a428b
[ "MIT" ]
3
2019-12-04T01:22:34.000Z
2020-12-10T15:31:00.000Z
hackerrank/DesignerPDFViewer.py
0x8b/HackerRank
45e1a0e2be68950505c0a75218715bd3132a428b
[ "MIT" ]
null
null
null
hackerrank/DesignerPDFViewer.py
0x8b/HackerRank
45e1a0e2be68950505c0a75218715bd3132a428b
[ "MIT" ]
1
2019-12-04T01:24:01.000Z
2019-12-04T01:24:01.000Z
h = list(map(int, input().rstrip().split())) word = input() h = [h[ord(l) - ord("a")] for l in set(word)] print(max(h) * len(word))
17.75
46
0.528169
25
142
3
0.68
0
0
0
0
0
0
0
0
0
0
0
0.204225
142
7
47
20.285714
0.663717
0
0
0
0
0
0.007407
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
171bfe21947e3dcf4f6354858029db2684a66ae6
2,994
py
Python
base_python/tests/test_flatten.py
cogment/cogment-verse
b7e3eddac57021ec77912a5d38e09f8202dc352f
[ "Apache-2.0" ]
23
2021-10-01T01:33:15.000Z
2022-03-10T18:18:50.000Z
base_python/tests/test_flatten.py
cogment/cogment-verse
b7e3eddac57021ec77912a5d38e09f8202dc352f
[ "Apache-2.0" ]
35
2021-11-06T04:37:07.000Z
2022-03-18T18:05:28.000Z
base_python/tests/test_flatten.py
cogment/cogment-verse
b7e3eddac57021ec77912a5d38e09f8202dc352f
[ "Apache-2.0" ]
4
2021-12-14T15:24:50.000Z
2022-01-17T11:06:34.000Z
# Copyright 2021 AI Redefined Inc. <dev+cogment@ai-r.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
31.515789
115
0.546426
312
2,994
5.176282
0.352564
0.152941
0.139319
0.167183
0.580186
0.580186
0.580186
0.541796
0.541796
0.504644
0
0.021148
0.336673
2,994
94
116
31.851064
0.792044
0.206079
0
0.323529
0
0
0.045301
0
0
0
0
0
0.132353
1
0.044118
true
0
0.029412
0
0.073529
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
173abe40d39e6ead9d3fd95272b7aed18b7d3975
1,005
py
Python
pidmin.py
salman1410/pidmin
2a5b231d16b5381c7f0018bedf087e888fd068b8
[ "Apache-2.0" ]
null
null
null
pidmin.py
salman1410/pidmin
2a5b231d16b5381c7f0018bedf087e888fd068b8
[ "Apache-2.0" ]
null
null
null
pidmin.py
salman1410/pidmin
2a5b231d16b5381c7f0018bedf087e888fd068b8
[ "Apache-2.0" ]
null
null
null
import requests r = "\033[1;31m" g = "\033[1;32m" y = "\033[1;33m" b = "\033[1;34m" x = "\033[0;0m" banner=""" _______________________________________ | .__ .___ .__ | | ______ |__| __| _/_____ |__| ____ | | \____ \| |/ __ |/ \| |/ \ | | | |_> > / /_/ | Y Y \ | | \ | | | _...
23.928571
43
0.507463
105
1,005
3.561905
0.571429
0.042781
0.048128
0.053476
0
0
0
0
0
0
0
0.049931
0.282587
1,005
41
44
24.512195
0.468793
0
0
0
0
0
0.581095
0.077612
0
0
0
0
0
0
null
null
0
0.027027
null
null
0.135135
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
1745fb56c91e0dfff83f18721a91b6de5da4c33c
746
py
Python
CloudJudge/info.py
zhuxiyulu/CloudJudge
62ef8d75b0ddd194ea9813ec9df1f7baaa768f69
[ "Apache-2.0" ]
1
2018-02-07T05:14:28.000Z
2018-02-07T05:14:28.000Z
CloudJudge/info.py
zhuxiyulu/CloudJudge
62ef8d75b0ddd194ea9813ec9df1f7baaa768f69
[ "Apache-2.0" ]
null
null
null
CloudJudge/info.py
zhuxiyulu/CloudJudge
62ef8d75b0ddd194ea9813ec9df1f7baaa768f69
[ "Apache-2.0" ]
null
null
null
# 前台信息编码表 FrontMessageCode = {} # 后台信息编码表 BackMessageCode = {} # 编码、语言 FrontMessageCode['1'] = {"Help": "Username_Empty", "Zh": "用户不能为空"} FrontMessageCode['2'] = {"Help": "Password_Empty", "Zh": "密码不能为空"} FrontMessageCode['3'] = {"Help": "Username_NotEqual_Password", "Zh": "用户名和密码不匹配"} FrontMessageCode['4'] = {"Help...
29.84
81
0.675603
73
746
6.808219
0.534247
0.042254
0
0
0
0
0
0
0
0
0
0.010622
0.116622
746
25
82
29.84
0.743551
0.02815
0
0
0
0
0.277393
0.036061
0
0
0
0
0
1
0.133333
false
0.133333
0
0.133333
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
0
0
0
2
174a2f83755fe2447a56675e6c03a8f0c156ee18
354
py
Python
month04/Django/django5/mysite3/mtm/models.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
4
2021-01-07T14:25:10.000Z
2021-02-01T10:36:01.000Z
month04/Django/django5/mysite3/mtm/models.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
null
null
null
month04/Django/django5/mysite3/mtm/models.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here. class Book(models.Model): title = models.CharField('书名', max_length=50) def __str__(self): return self.title class Author(models.Model): name = models.CharField('作者', max_length=50) books = models.ManyToManyField(Book) def __str_...
18.631579
49
0.677966
47
354
4.893617
0.553191
0.095652
0.095652
0.13913
0.173913
0
0
0
0
0
0
0.014337
0.211864
354
18
50
19.666667
0.810036
0.067797
0
0.2
0
0
0.012195
0
0
0
0
0
0
1
0.2
false
0
0.1
0.2
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
175741c38e8bd4c02e4b20b753229bc910942acc
2,927
py
Python
itdtool/tasks.py
nikoskal/itd_tool
9c378a8949b6b8c45764a06a33f0f534ed70d58a
[ "Apache-2.0" ]
null
null
null
itdtool/tasks.py
nikoskal/itd_tool
9c378a8949b6b8c45764a06a33f0f534ed70d58a
[ "Apache-2.0" ]
null
null
null
itdtool/tasks.py
nikoskal/itd_tool
9c378a8949b6b8c45764a06a33f0f534ed70d58a
[ "Apache-2.0" ]
null
null
null
# from __future__ import absolute_import # # from itdtool.celeryapp import app # # from lxml import etree # # import xmltodict # import sys # # from passlib.hash import md5_crypt # from django.conf import settings # # # # # @app.task # def get_query_params_id(id): # # from itdtool.models import QueryParameters # ...
34.034884
103
0.639563
303
2,927
5.933993
0.250825
0.163515
0.03059
0.035595
0.36485
0.300334
0.262514
0.262514
0.262514
0.262514
0
0.0027
0.240861
2,927
85
104
34.435294
0.806481
0.934404
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
17620ff1224dfef0583aa6c9e851f0b278762fb4
158
py
Python
PIP/Minor Assignment 6/A6Q5.py
ankitrajbiswal/SEM_5
db716e242e77149a4091e0e564356ddc724aeff0
[ "Apache-2.0" ]
10
2021-04-24T11:46:48.000Z
2022-01-17T05:14:37.000Z
PIP/Minor Assignment 6/A6Q5.py
ankitrajbiswal/SEM_5
db716e242e77149a4091e0e564356ddc724aeff0
[ "Apache-2.0" ]
2
2021-06-28T11:51:50.000Z
2021-11-01T08:21:53.000Z
PIP/Minor Assignment 6/A6Q5.py
ankitrajbiswal/SEM_5
db716e242e77149a4091e0e564356ddc724aeff0
[ "Apache-2.0" ]
16
2021-04-24T11:46:58.000Z
2022-03-02T05:08:19.000Z
def countWords(s): count=1 for i in s: if i==" ": count+=1 return count print(countWords("Hello World This is Rituraj"))
22.571429
48
0.537975
22
158
3.863636
0.727273
0.141176
0
0
0
0
0
0
0
0
0
0.019417
0.348101
158
7
48
22.571429
0.805825
0
0
0
0
0
0.183007
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
176cff588620ff8799d97d9ef7a9f606b83791b6
300
py
Python
face/serializers.py
huachao2017/goodsdl
3616d53b90696a97a5d56a064e2a14d484b821d7
[ "Apache-2.0" ]
3
2018-10-16T09:36:12.000Z
2019-04-15T03:12:49.000Z
face/serializers.py
huachao2017/goodsdl
3616d53b90696a97a5d56a064e2a14d484b821d7
[ "Apache-2.0" ]
null
null
null
face/serializers.py
huachao2017/goodsdl
3616d53b90696a97a5d56a064e2a14d484b821d7
[ "Apache-2.0" ]
null
null
null
from rest_framework import serializers from face.models import Image class ImageSerializer(serializers.ModelSerializer): class Meta: model = Image fields = ('pk', 'picurl', 'image_path', 'index', 'create_time') read_only_fields = ('image_path', 'index', 'create_time',)
30
71
0.69
34
300
5.882353
0.647059
0.09
0.14
0.2
0.24
0
0
0
0
0
0
0
0.19
300
9
72
33.333333
0.823045
0
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1790b6dc23ebaf34d4be18ffcca5ff633a98577d
554
py
Python
json_to_models/dynamic_typing/__init__.py
bogdandm/attrs-api-client
ebf9d0a72795f8a5f4667e4c41bca031a5ee798c
[ "MIT" ]
111
2019-04-24T16:05:43.000Z
2022-03-21T19:06:43.000Z
json_to_models/dynamic_typing/__init__.py
bogdandm/attrs-api-client
ebf9d0a72795f8a5f4667e4c41bca031a5ee798c
[ "MIT" ]
31
2018-11-18T12:39:09.000Z
2022-03-12T19:30:19.000Z
json_to_models/dynamic_typing/__init__.py
bogdandm/attrs-api-client
ebf9d0a72795f8a5f4667e4c41bca031a5ee798c
[ "MIT" ]
5
2020-09-22T16:06:29.000Z
2021-06-27T10:13:25.000Z
from .base import ( BaseType, ImportPathList, MetaData, Null, Unknown, get_hash_string ) from .complex import ComplexType, DDict, DList, DOptional, DTuple, DUnion, SingleType, StringLiteral from .models_meta import AbsoluteModelRef, ModelMeta, ModelPtr from .string_datetime import IsoDateString, IsoDatetimeString, ...
50.363636
103
0.833935
57
554
7.929825
0.736842
0.044248
0
0
0
0
0
0
0
0
0
0
0.106498
554
10
104
55.4
0.913131
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.7
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
bd56918f3a9e7c2a91d29f2786cbe090b4e81956
120
py
Python
kili/mutations/user/fragments.py
ASonay/kili-playground
9624073703b5e6151cf496f44f17f531576875b7
[ "Apache-2.0" ]
214
2019-08-05T14:55:01.000Z
2022-03-28T21:02:22.000Z
kili/mutations/user/fragments.py
x213212/kili-playground
dfb94c2d54bedfd7fec452b91f811587a2156c13
[ "Apache-2.0" ]
10
2020-05-14T10:44:16.000Z
2022-03-08T09:39:24.000Z
kili/mutations/user/fragments.py
x213212/kili-playground
dfb94c2d54bedfd7fec452b91f811587a2156c13
[ "Apache-2.0" ]
19
2019-11-26T22:41:09.000Z
2022-01-16T19:17:38.000Z
""" Fragments of user mutations """ AUTH_PAYLOAD_FRAGMENT = ''' id token user { id } ''' USER_FRAGMENT = ''' id '''
7.5
27
0.608333
14
120
5
0.642857
0.285714
0
0
0
0
0
0
0
0
0
0
0.208333
120
15
28
8
0.736842
0.225
0
0.5
0
0
0.329412
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bd6282402107d187e9dd75aadd183c20555e845b
414
py
Python
misc/vulnpwn/lib/core/payload.py
all3g/pieces
bc378fd22ddc700891fe7f34ab0d5b341141e434
[ "CNRI-Python" ]
34
2016-10-31T02:05:24.000Z
2018-11-08T14:33:13.000Z
misc/vulnpwn/lib/core/payload.py
join-us/python-programming
bc378fd22ddc700891fe7f34ab0d5b341141e434
[ "CNRI-Python" ]
2
2017-05-11T03:00:31.000Z
2017-11-01T23:37:37.000Z
misc/vulnpwn/lib/core/payload.py
join-us/python-programming
bc378fd22ddc700891fe7f34ab0d5b341141e434
[ "CNRI-Python" ]
21
2016-08-19T09:05:45.000Z
2018-11-08T14:33:16.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- ## # Current source: https://github.com/open-security/vulnpwn/ ## from lib.base import module class Payload(module.Module): def __init__(self): module.Module.__init__(self) self.shellcode = '' def generate_shellcode(self): pass def do_...
18.818182
59
0.628019
49
414
5.081633
0.632653
0.096386
0
0
0
0
0
0
0
0
0
0.003125
0.227053
414
21
60
19.714286
0.775
0.304348
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.111111
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
bd6a7753c9f07a2da9b97fc9e065a239f0ef1e99
4,357
py
Python
zoo/services/migrations/0001_initial.py
uliana291/the-zoo
a15a4162c39553abe91224f4feff5d3b66f9413e
[ "MIT" ]
null
null
null
zoo/services/migrations/0001_initial.py
uliana291/the-zoo
a15a4162c39553abe91224f4feff5d3b66f9413e
[ "MIT" ]
null
null
null
zoo/services/migrations/0001_initial.py
uliana291/the-zoo
a15a4162c39553abe91224f4feff5d3b66f9413e
[ "MIT" ]
null
null
null
# Generated by Django 2.0b1 on 2017-10-30 13:56 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name="DataCenter", fields=[ ...
33.515385
86
0.366078
265
4,357
5.90566
0.275472
0.115016
0.061342
0.107348
0.555911
0.466454
0.424281
0.424281
0.424281
0.424281
0
0.02457
0.532936
4,357
129
87
33.775194
0.744472
0.010328
0
0.647541
1
0
0.085151
0
0
0
0
0
0
1
0
false
0
0.016393
0
0.04918
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
bd724601922549d0baea907dc39942717e169eb7
477
py
Python
blog/views.py
jinjf553/mysite
e6c936ba6cd3e89d13434ff3f42a858e96231cae
[ "MIT" ]
1
2020-01-20T14:49:44.000Z
2020-01-20T14:49:44.000Z
blog/views.py
jinjf553/mysite
e6c936ba6cd3e89d13434ff3f42a858e96231cae
[ "MIT" ]
null
null
null
blog/views.py
jinjf553/mysite
e6c936ba6cd3e89d13434ff3f42a858e96231cae
[ "MIT" ]
null
null
null
from django.shortcuts import render, get_object_or_404 # Create your views here. from blog.models import BlogArticles def blog_title(request): blogs = BlogArticles.objects.all() return render(request, "blog/title.html", {"blogs": blogs}) def blog_article(request, article_id): # article = BlogArticles.o...
29.8125
69
0.748428
64
477
5.40625
0.421875
0.104046
0.063584
0.080925
0
0
0
0
0
0
0
0.014563
0.136268
477
15
70
31.8
0.825243
0.15304
0
0
0
0
0.109726
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
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
bd7e651de7d462dd4c7cfb1fac01abd31441480c
231
py
Python
setup.py
jdoepfert/PyRM
5def07e937ebc475dc925dbb9ad3820f853e4986
[ "MIT" ]
null
null
null
setup.py
jdoepfert/PyRM
5def07e937ebc475dc925dbb9ad3820f853e4986
[ "MIT" ]
null
null
null
setup.py
jdoepfert/PyRM
5def07e937ebc475dc925dbb9ad3820f853e4986
[ "MIT" ]
null
null
null
from setuptools import setup import pyrm setup( name='PyRM2', version=pyrm.__version__, packages=['pyrm'], long_description=open('README.md').read(), test_suite='nose.collector', tests_require=['nose'], )
17.769231
46
0.670996
27
231
5.481481
0.777778
0
0
0
0
0
0
0
0
0
0
0.005236
0.17316
231
12
47
19.25
0.769634
0
0
0
0
0
0.155844
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
bd8183375c5213bf89f6f2ed3cd5e529442dba4a
776
py
Python
tests/test_memory.py
antfu/two-way-configs.py
8dcf00abf2920d7619da36bbfba33b473656f2a6
[ "MIT" ]
2
2016-09-28T10:50:25.000Z
2022-03-24T18:41:18.000Z
tests/test_memory.py
antfu/two-way-configs.py
8dcf00abf2920d7619da36bbfba33b473656f2a6
[ "MIT" ]
1
2016-09-30T20:24:16.000Z
2019-04-20T12:58:25.000Z
tests/test_memory.py
antfu/biconfigs
8dcf00abf2920d7619da36bbfba33b473656f2a6
[ "MIT" ]
null
null
null
import biconfigs import json class TestMemoryStorage(object): def setup_class(self): self.change_count = 0 def onchanged(config): self.change_count += 1 self.config = biconfigs.Biconfigs( default_value={'default':'value'}, onchanged=onchanged ) ...
27.714286
64
0.588918
83
776
5.385542
0.325301
0.201342
0.134228
0.170022
0.223714
0
0
0
0
0
0
0.010582
0.26933
776
27
65
28.740741
0.777778
0
0
0.095238
0
0
0.096649
0
0
0
0
0
0.285714
1
0.142857
false
0
0.095238
0
0.285714
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bd941779a5af0ec81b3f47a6dc7950caaaa59f65
96
py
Python
cropmask/__init__.py
ecohydro/CropMask_RCNN
4657ed1d103acb37dc974aa6af2f0d3a3398e987
[ "MIT" ]
13
2019-03-01T23:41:27.000Z
2021-07-12T06:28:31.000Z
cropmask/__init__.py
ecohydro/CropMask_RCNN
4657ed1d103acb37dc974aa6af2f0d3a3398e987
[ "MIT" ]
32
2019-02-21T21:14:18.000Z
2020-12-31T19:48:41.000Z
cropmask/__init__.py
ecohydro/CropMask_RCNN
4657ed1d103acb37dc974aa6af2f0d3a3398e987
[ "MIT" ]
3
2018-11-19T23:02:01.000Z
2021-12-01T15:52:06.000Z
"""AI for Earth project to map center pivots and monitor crop water use.""" __version__ = '0.1'
32
75
0.71875
16
96
4.0625
1
0
0
0
0
0
0
0
0
0
0
0.025
0.166667
96
3
76
32
0.7875
0.71875
0
0
0
0
0.136364
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
bd9a9648386371b2fe0f9f03731e1c012964056f
614
py
Python
run_all.py
LiuTianen/AppiumTestDemo
8bd4a64a8e2fec28cfcedb52d9a3a05ab279b1ff
[ "MIT" ]
null
null
null
run_all.py
LiuTianen/AppiumTestDemo
8bd4a64a8e2fec28cfcedb52d9a3a05ab279b1ff
[ "MIT" ]
null
null
null
run_all.py
LiuTianen/AppiumTestDemo
8bd4a64a8e2fec28cfcedb52d9a3a05ab279b1ff
[ "MIT" ]
null
null
null
# import time # from common.HTMLTestRunner import HTMLTestRunner # from unittest import defaultTestLoader # # test_dir = './TestCase' # suit = defaultTestLoader.discover(test_dir, # pattern='test_*.py') # # if __name__ == '__main__': # # now_time = time.strftime("%Y-%m-%d %h_%M_%S")...
32.315789
60
0.576547
63
614
5.333333
0.698413
0.041667
0
0
0
0
0
0
0
0
0
0.002257
0.278502
614
18
61
34.111111
0.756208
0.941368
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
bdb0dc844a3d316fdf138ed1702c4fe6fc9e35db
909
py
Python
bokeh/sampledata/degrees.py
pyjsdev/googlemap_flask
9d0dd899a9cbf756b3d83c33e3d8a47e7db40cc5
[ "BSD-3-Clause" ]
6
2018-02-13T11:06:40.000Z
2020-10-23T09:30:46.000Z
bokeh/sampledata/degrees.py
pyjsdev/googlemap_flask
9d0dd899a9cbf756b3d83c33e3d8a47e7db40cc5
[ "BSD-3-Clause" ]
6
2018-11-29T15:40:20.000Z
2021-05-07T14:59:30.000Z
bokeh/sampledata/degrees.py
pyjsdev/googlemap_flask
9d0dd899a9cbf756b3d83c33e3d8a47e7db40cc5
[ "BSD-3-Clause" ]
3
2018-06-20T11:43:40.000Z
2021-12-21T06:51:56.000Z
''' This module provides a table of data regarding bachelors degrees earned by women, broken down by field for any given year. It exposes an attribute 'data' which is a pandas dataframe with the following fields: Year Agriculture Architecture Art and Performance Biology Business Communicati...
26.735294
95
0.745875
114
909
5.842105
0.745614
0.048048
0
0
0
0
0
0
0
0
0
0
0.20242
909
33
96
27.545455
0.918621
0.612761
0
0
0
0
0.358601
0.113703
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
bdb425d07d16f8aa23948e1bc372f43d28ec7b53
743
py
Python
api/migrations/0001_initial.py
maravger/central-controller
fa3b7bb20dd1ebd81538b6732c3748f825925a48
[ "MIT" ]
1
2021-01-10T22:16:08.000Z
2021-01-10T22:16:08.000Z
api/migrations/0001_initial.py
maravger/central-controller
fa3b7bb20dd1ebd81538b6732c3748f825925a48
[ "MIT" ]
4
2018-09-05T15:14:49.000Z
2021-06-10T20:33:41.000Z
api/migrations/0001_initial.py
maravger/central-controller
fa3b7bb20dd1ebd81538b6732c3748f825925a48
[ "MIT" ]
1
2019-05-13T18:03:06.000Z
2019-05-13T18:03:06.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.14 on 2018-07-06 10:00 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='App',...
27.518519
114
0.584118
78
743
5.397436
0.666667
0.07601
0.178147
0.185273
0.142518
0
0
0
0
0
0
0.041353
0.283984
743
26
115
28.576923
0.75
0.092867
0
0
1
0
0.070045
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.333333
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
bdbaa2b4f38384b7d15c1080fedc09e57e4d90fe
701
py
Python
tests/integration_tests/boolean_tests/sweep_line_keys_tests/test_pickle.py
skrat/martinez
86db48324cb50ecb52be8ab2e4278a6d5cdd562b
[ "MIT" ]
7
2020-05-07T08:13:44.000Z
2021-12-17T07:33:51.000Z
tests/integration_tests/boolean_tests/sweep_line_keys_tests/test_pickle.py
skrat/martinez
86db48324cb50ecb52be8ab2e4278a6d5cdd562b
[ "MIT" ]
17
2019-11-29T23:17:26.000Z
2020-12-20T15:47:17.000Z
tests/integration_tests/boolean_tests/sweep_line_keys_tests/test_pickle.py
skrat/martinez
86db48324cb50ecb52be8ab2e4278a6d5cdd562b
[ "MIT" ]
1
2020-12-17T22:44:21.000Z
2020-12-17T22:44:21.000Z
from typing import Tuple from hypothesis import given from tests.bind_tests.hints import BoundSweepLineKey from tests.integration_tests.utils import ( are_bound_ported_sweep_line_keys_equal) from tests.port_tests.hints import PortedSweepLineKey from tests.utils import pickle_round_trip from . import strategies ...
35.05
77
0.728959
85
701
5.635294
0.364706
0.093946
0.135699
0.125261
0.183716
0.133612
0.133612
0
0
0
0
0
0.225392
701
19
78
36.894737
0.882136
0
0
0
0
0
0
0
0
0
0
0
0.071429
1
0.071429
false
0
0.5
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
bdc099d9866d6aac54bd6f342f3871be49429125
576
py
Python
src/sipe/config/models/clients.py
whardier/sipe
2abd7894d12aeeb94e49dd691c90231cd0c01021
[ "MIT" ]
null
null
null
src/sipe/config/models/clients.py
whardier/sipe
2abd7894d12aeeb94e49dd691c90231cd0c01021
[ "MIT" ]
null
null
null
src/sipe/config/models/clients.py
whardier/sipe
2abd7894d12aeeb94e49dd691c90231cd0c01021
[ "MIT" ]
null
null
null
# ┏━┓╻┏━┓┏━╸ ┏━╸┏━┓┏┓╻┏━╸╻┏━╸ ┏┳┓┏━┓╺┳┓┏━╸╻ ┏━┓ ┏━╸╻ ╻┏━╸┏┓╻╺┳╸┏━┓ # ┗━┓┃┣━┛┣╸ ┃ ┃ ┃┃┗┫┣╸ ┃┃╺┓ ┃┃┃┃ ┃ ┃┃┣╸ ┃ ┗━┓ ┃ ┃ ┃┣╸ ┃┗┫ ┃ ┗━┓ # ┗━┛╹╹ ┗━╸╹┗━╸┗━┛╹ ╹╹ ╹┗━┛╹╹ ╹┗━┛╺┻┛┗━╸┗━╸┗━┛╹┗━╸┗━╸╹┗━╸╹ ╹ ╹ ┗━┛ # SPDX-License-Identifier: MIT # Author: Shane R. Spencer <spencersr@gmail.com> # Standard Library from typing...
26.181818
68
0.503472
73
576
6.191781
0.726027
0.00885
0
0
0
0
0
0
0
0
0
0
0.154514
576
21
69
27.428571
0.595483
0.638889
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
bdcc1b8f600ad6af23e5e088ecd489d70b9930d8
876
py
Python
data/lcx/convert.py
MrZixi/SentiPrompt
e213c39350cd996bc795b6612cdb4b9a5baec983
[ "MIT" ]
13
2021-11-14T07:41:47.000Z
2022-03-18T06:17:42.000Z
data/lcx/convert.py
MrZixi/SentiPrompt
e213c39350cd996bc795b6612cdb4b9a5baec983
[ "MIT" ]
3
2021-12-27T05:04:12.000Z
2022-03-01T03:22:49.000Z
data/lcx/convert.py
MrZixi/SentiPrompt
e213c39350cd996bc795b6612cdb4b9a5baec983
[ "MIT" ]
4
2021-11-01T02:00:22.000Z
2022-03-15T05:42:43.000Z
import json def convert(path:str): with open(path, 'r') as f: data = json.load(f) output_path = path.replace('convert', 'triplets').replace('json', 'txt') with open(output_path, 'w') as f: for ins in data: temp_ins = [] for a, o in zip(ins['aspects'], ins['opinions']...
38.086957
128
0.600457
123
876
4.097561
0.382114
0.174603
0.25
0.18254
0.047619
0
0
0
0
0
0
0.023155
0.211187
876
23
129
38.086957
0.706223
0
0
0
0
0
0.307868
0.214367
0
0
0
0
0
1
0.047619
false
0
0.047619
0
0.142857
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bde89d84d6608fc9a28457500ae75683b873d730
5,140
py
Python
geometry/point.py
ldacosta/geometry2D
9be0df6544777d29740991234bc92a7004ef775e
[ "MIT" ]
null
null
null
geometry/point.py
ldacosta/geometry2D
9be0df6544777d29740991234bc92a7004ef775e
[ "MIT" ]
null
null
null
geometry/point.py
ldacosta/geometry2D
9be0df6544777d29740991234bc92a7004ef775e
[ "MIT" ]
null
null
null
"""Point and Rectangle classes. This code is in the public domain. Point -- point with (x,y) coordinates Rect -- two points, forming a rectangle Taken from https://wiki.python.org/moin/PointsAndRectangles """ import math from typing import Tuple class Point: """A point identified by (x,y) coordinates. s...
28.876404
93
0.58249
741
5,140
3.887989
0.241565
0.048594
0.029157
0.027768
0.240541
0.212079
0.170427
0.160014
0.131552
0.088511
0
0.011761
0.288716
5,140
177
94
29.039548
0.776258
0.350778
0
0.115385
0
0
0.020205
0
0
0
0
0
0
1
0.333333
false
0
0.025641
0.076923
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
bdfade1b34bb0238d1bf2368604d973f617872df
4,850
py
Python
praeteritum/settings.py
NoMariusz/Praeteritum
c32fa017e23de7255224fcf72cd04abdfc3ebff4
[ "MIT" ]
3
2021-03-07T21:43:55.000Z
2021-09-21T08:24:26.000Z
praeteritum/settings.py
NoMariusz/Praeteritum
c32fa017e23de7255224fcf72cd04abdfc3ebff4
[ "MIT" ]
null
null
null
praeteritum/settings.py
NoMariusz/Praeteritum
c32fa017e23de7255224fcf72cd04abdfc3ebff4
[ "MIT" ]
null
null
null
""" Django settings for praeteritum project. Generated by 'django-admin startproject' using Django 3.1.5. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ import o...
26.502732
79
0.67567
519
4,850
6.169557
0.373796
0.060899
0.048095
0.054653
0.180512
0.164585
0.115865
0.083385
0.037477
0
0
0.010377
0.185361
4,850
182
80
26.648352
0.800051
0.225567
0
0.105263
1
0
0.486059
0.367828
0
0
0
0
0
1
0
false
0.070175
0.026316
0
0.026316
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
da01a6c996b016c13ea505174a703f53e3807493
392
py
Python
corehq/apps/userreports/ui/widgets.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
471
2015-01-10T02:55:01.000Z
2022-03-29T18:07:18.000Z
corehq/apps/userreports/ui/widgets.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
14,354
2015-01-01T07:38:23.000Z
2022-03-31T20:55:14.000Z
corehq/apps/userreports/ui/widgets.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
175
2015-01-06T07:16:47.000Z
2022-03-29T13:27:01.000Z
import json from django import forms class JsonWidget(forms.Textarea): def render(self, name, value, attrs=None, renderer=None): if isinstance(value, str): # It's probably invalid JSON return super(JsonWidget, self).render(name, value, attrs, renderer) return super(JsonW...
28
97
0.678571
50
392
5.32
0.56
0.067669
0.105263
0.18797
0.263158
0.263158
0
0
0
0
0
0.003247
0.214286
392
13
98
30.153846
0.86039
0.066327
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.857143
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
da0460b75bef099045c7b6c1e7778ac8768acf81
97
py
Python
Python Class ---- Manipulando Strings/Exercicio 5.py
DouglasCarvalhoPereira/Python-Class---Versionado
03b8f5a8a69553f733056586988f9840040959d7
[ "MIT" ]
1
2021-08-22T13:40:20.000Z
2021-08-22T13:40:20.000Z
Python Class ---- Manipulando Strings/Exercicio 5.py
DouglasCarvalhoPereira/Python-Class---Versionado
03b8f5a8a69553f733056586988f9840040959d7
[ "MIT" ]
null
null
null
Python Class ---- Manipulando Strings/Exercicio 5.py
DouglasCarvalhoPereira/Python-Class---Versionado
03b8f5a8a69553f733056586988f9840040959d7
[ "MIT" ]
null
null
null
name = str(input('Digite seu nome: ')).upper() for i in range(0, len(name)): print(name[i:])
24.25
46
0.608247
17
97
3.470588
0.823529
0
0
0
0
0
0
0
0
0
0
0.012346
0.164948
97
4
47
24.25
0.716049
0
0
0
0
0
0.173469
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
da0c4b71b187ab49cfa6bfd7c409b4036ec1e875
1,861
py
Python
macvendorupdate/modules/database_settings.py
MikelSan/macvendorupdate
b8a820467e81d102a38d5fd4aa420d7c0890f18d
[ "MIT" ]
null
null
null
macvendorupdate/modules/database_settings.py
MikelSan/macvendorupdate
b8a820467e81d102a38d5fd4aa420d7c0890f18d
[ "MIT" ]
105
2020-04-03T15:49:24.000Z
2022-03-28T09:19:58.000Z
macvendorupdate/modules/database_settings.py
MikelSan/macvendorupdate
b8a820467e81d102a38d5fd4aa420d7c0890f18d
[ "MIT" ]
1
2020-03-02T11:11:56.000Z
2020-03-02T11:11:56.000Z
""" Module for the database settings """ import sys from getpass import getpass import mysql.connector MYSQL_ERROR_MESSAGES = { 1036: "I don't know how to write in here, I can only read this table", 1037: "Server is about to explode, no memory left, restart it", 1045: "I did not get access with, do I ...
30.016129
85
0.576034
240
1,861
4.366667
0.479167
0.068702
0.028626
0
0
0
0
0
0
0
0
0.019721
0.346051
1,861
61
86
30.508197
0.841413
0.196131
0
0
0
0
0.310893
0
0
0
0
0.016393
0
1
0.088235
false
0.147059
0.088235
0
0.235294
0.029412
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
da1108f21cd47fd0f2472323c3e240c9306d4ade
386
py
Python
ex029.py
vinisantos7/PythonExercicios
bc8f38e03a606d6b0216632a93affeab0792e534
[ "MIT" ]
2
2021-11-04T21:09:11.000Z
2021-11-08T09:42:10.000Z
ex029.py
vinisantos7/PythonExercicios
bc8f38e03a606d6b0216632a93affeab0792e534
[ "MIT" ]
null
null
null
ex029.py
vinisantos7/PythonExercicios
bc8f38e03a606d6b0216632a93affeab0792e534
[ "MIT" ]
null
null
null
print("======================") print("RADAR ELETRÔNICO!") print("======================") limite = 80.0 multa = 7 velocidade = float(input("Qual a sua velocidade: ")) if velocidade <= limite: print("Boa Tarde, cuidado na estrada, siga viagem!") else: valor = (velocidade - limite) * 7 print(f"Você ultrap...
27.571429
89
0.598446
48
386
4.8125
0.729167
0.138528
0
0
0
0
0
0
0
0
0
0.018519
0.160622
386
14
89
27.571429
0.694444
0
0
0.181818
0
0
0.521964
0.113695
0
0
0
0
0
1
0
false
0.090909
0
0
0
0.454545
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
da2d7d86f48f55c5c7038a26a44c9387f2965c12
1,196
py
Python
conduit/domain/user/module.py
utilmeta/utilmeta-py-realworld-example-app-
cf6d9e83e72323a830b2fcdb5c5eae3ebd800103
[ "MIT" ]
null
null
null
conduit/domain/user/module.py
utilmeta/utilmeta-py-realworld-example-app-
cf6d9e83e72323a830b2fcdb5c5eae3ebd800103
[ "MIT" ]
null
null
null
conduit/domain/user/module.py
utilmeta/utilmeta-py-realworld-example-app-
cf6d9e83e72323a830b2fcdb5c5eae3ebd800103
[ "MIT" ]
null
null
null
from utilmeta.utils import * from .models import User from .schema import UserSchema, ProfileSchema class UserCurrent(Module): model = User schema = UserSchema option = Option( filters={ 'id': Filter(auto_user_id=True) } ) method = Method( get=Auth(relate='self'...
24.916667
71
0.632943
142
1,196
5.232394
0.394366
0.032301
0.064603
0.076716
0.38358
0.313594
0.169583
0.169583
0.169583
0.169583
0
0
0.244983
1,196
47
72
25.446809
0.822813
0.013378
0
0.236842
0
0
0.019525
0
0
0
0
0
0
1
0.131579
false
0.052632
0.078947
0.026316
0.552632
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
da2fc2d45ddd9158811a14029d018a6b4fb81246
1,663
py
Python
raleigh/algebra/dense_matrix.py
evgueni-ovtchinnikov/raleigh
620cff4a848cb98034671edc1ebdc6b108fe88b4
[ "BSD-3-Clause" ]
5
2019-09-25T13:45:36.000Z
2021-05-28T15:16:51.000Z
raleigh/algebra/dense_matrix.py
evgueni-ovtchinnikov/raleigh
620cff4a848cb98034671edc1ebdc6b108fe88b4
[ "BSD-3-Clause" ]
null
null
null
raleigh/algebra/dense_matrix.py
evgueni-ovtchinnikov/raleigh
620cff4a848cb98034671edc1ebdc6b108fe88b4
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2019 United Kingdom Research and Innovation # Author: Evgueni Ovtchinnikov (evgueni.ovtchinnikov@stfc.ac.uk) """Architecture-aware wrap for a dense matrix. """ import numpy class AMatrix: def __init__(self, a, arch='cpu', copy_data=False): self.__arch = arch self.__gpu = None ...
25.584615
68
0.556224
201
1,663
4.298507
0.328358
0.0625
0.12963
0.092593
0.046296
0.046296
0
0
0
0
0
0.006428
0.345159
1,663
64
69
25.984375
0.786961
0.097414
0
0.086957
0
0
0.014066
0
0
0
0
0
0
1
0.217391
false
0
0.086957
0.173913
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
1
0
0
0
1
0
0
0
2
da2ff7ee87bb56c52ebbbb617bf8e08d03951ab9
337
py
Python
homeauto.py
genethurston5/zodacare1
44409509c7bc5b49f8e2c5e39ca5a08b216b9d68
[ "MIT" ]
8
2020-05-25T13:56:26.000Z
2022-01-27T04:46:32.000Z
homeauto.py
genethurston5/zodacare1
44409509c7bc5b49f8e2c5e39ca5a08b216b9d68
[ "MIT" ]
null
null
null
homeauto.py
genethurston5/zodacare1
44409509c7bc5b49f8e2c5e39ca5a08b216b9d68
[ "MIT" ]
3
2020-05-25T07:12:24.000Z
2021-04-15T12:20:46.000Z
import time import RPi.GPIO as GPIO ## Import GPIO library GPIO.setmode(GPIO.BOARD) ## Use board pin numbering GPIO.setup(3, GPIO.OUT) GPIO.setup(5, GPIO.OUT) def fanl(): GPIO.output(5,GPIO.LOW) def fanh(): GPIO.output(5,GPIO.HIGH) def lightl(): GPIO.output(3,GPIO.LOW) def lighth(): GPIO.out...
22.466667
56
0.670623
56
337
4.035714
0.410714
0.176991
0.097345
0.132743
0
0
0
0
0
0
0
0.021661
0.178042
337
14
57
24.071429
0.794224
0.127596
0
0
0
0
0
0
0
0
0
0
0
1
0.307692
true
0
0.153846
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
2
da5a544e86cb3f3b15646fd7f1c5b194b8b55afc
4,853
py
Python
hio-yocto-bsp/sources/poky/scripts/lib/mic/3rdparty/pykickstart/commands/iscsi.py
qiangzai00001/hio-prj
060ff97fe21093b1369db78109d5b730b2b181c8
[ "MIT" ]
null
null
null
hio-yocto-bsp/sources/poky/scripts/lib/mic/3rdparty/pykickstart/commands/iscsi.py
qiangzai00001/hio-prj
060ff97fe21093b1369db78109d5b730b2b181c8
[ "MIT" ]
null
null
null
hio-yocto-bsp/sources/poky/scripts/lib/mic/3rdparty/pykickstart/commands/iscsi.py
qiangzai00001/hio-prj
060ff97fe21093b1369db78109d5b730b2b181c8
[ "MIT" ]
null
null
null
# # Chris Lumens <clumens@redhat.com> # Peter Jones <pjones@redhat.com> # # Copyright 2005, 2006, 2007 Red Hat, Inc. # # This copyrighted material is made available to anyone wishing to use, modify, # copy, or redistribute it subject to the terms and conditions of the GNU # General Public License v.2. This program is ...
36.216418
143
0.638574
586
4,853
5.148464
0.293515
0.023865
0.025522
0.048724
0.170368
0.117998
0.042426
0
0
0
0
0.013847
0.241088
4,853
133
144
36.488722
0.805322
0.196785
0
0.213483
0
0
0.114779
0.005417
0
0
0
0
0
0
null
null
0.089888
0.044944
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
da62bb9e146a12f437c65e6b086f2fc50a2fd5bb
877
py
Python
src-py2/money/tests/test_money.py
cool-RR/money
7209d4c3bd3ee0d0a8ea5e8a900c51fa81f0526e
[ "MIT" ]
1
2019-09-04T06:04:33.000Z
2019-09-04T06:04:33.000Z
src-py2/money/tests/test_money.py
cool-RR/money
7209d4c3bd3ee0d0a8ea5e8a900c51fa81f0526e
[ "MIT" ]
null
null
null
src-py2/money/tests/test_money.py
cool-RR/money
7209d4c3bd3ee0d0a8ea5e8a900c51fa81f0526e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Money class unittests """ import unittest from money import Money from money.money import BABEL_AVAILABLE from .mixins import * class TestMoneyClass(ClassMixin, unittest.TestCase): MoneyClass = Money class TestMoneyRepresentations(RepresentationsMixin, unittest.TestCase): MoneyCl...
26.575758
90
0.802737
76
877
9.236842
0.394737
0.159544
0.259259
0.309117
0.25641
0
0
0
0
0
0
0.001297
0.120867
877
32
91
27.40625
0.909209
0.050171
0
0.368421
0
0
0.01697
0
0
0
0
0
0
1
0
false
0
0.210526
0
0.947368
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
da667b8388278995c38fa889ce132432391d7b75
268
py
Python
files/exercises/conditionals-processing-small-files.py
mforneris/introduction_to_python_course
8075973ee89a921a5e2693f649adbf1fc0e0b2cb
[ "CC-BY-4.0" ]
null
null
null
files/exercises/conditionals-processing-small-files.py
mforneris/introduction_to_python_course
8075973ee89a921a5e2693f649adbf1fc0e0b2cb
[ "CC-BY-4.0" ]
null
null
null
files/exercises/conditionals-processing-small-files.py
mforneris/introduction_to_python_course
8075973ee89a921a5e2693f649adbf1fc0e0b2cb
[ "CC-BY-4.0" ]
1
2020-01-09T10:58:56.000Z
2020-01-09T10:58:56.000Z
# Processing Small Files # Modify this program so that it only processes files with fewer than 50 records. import glob import pandas as pd for filename in glob.glob('data/*.csv'): contents = pd.read_csv(filename) ____: print(filename, len(contents))
24.363636
81
0.720149
39
268
4.820513
0.769231
0
0
0
0
0
0
0
0
0
0
0.009302
0.197761
268
10
82
26.8
0.865116
0.380597
0
0
0
0
0.06135
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
da705b487d6b1f733865eb4edd7f8234e37e0688
446
py
Python
exercises/ex33.py
ramachandrajr/lpthw
6ed8066a1a98f858416605877860e39c8413145a
[ "MIT" ]
null
null
null
exercises/ex33.py
ramachandrajr/lpthw
6ed8066a1a98f858416605877860e39c8413145a
[ "MIT" ]
null
null
null
exercises/ex33.py
ramachandrajr/lpthw
6ed8066a1a98f858416605877860e39c8413145a
[ "MIT" ]
null
null
null
numbers = [] def loop_through(x, inc): for i in range(x): print "At the top i is %d" % i numbers.append(i) # We do not need this iterator anymore and # even if we use it the i value will be over # written by for loop. # i = i + inc print "Numbers now: ", num...
21.238095
52
0.565022
73
446
3.424658
0.547945
0.088
0.08
0.04
0
0
0
0
0
0
0
0.010309
0.347534
446
20
53
22.3
0.848797
0.26009
0
0
0
0
0.2
0
0
0
0
0
0
0
null
null
0
0
null
null
0.454545
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
2
da92dbf80b22089dbac826c34bd69d20d93980b2
2,926
py
Python
notebooks/util.py
NCAR-ASP-2021/ml_tutorial
15a9f26db399b0731e723688c2ec05be563f3872
[ "MIT" ]
2
2021-07-08T07:17:40.000Z
2021-09-14T05:16:48.000Z
notebooks/util.py
NCAR-ASP-2021/ml_tutorial
15a9f26db399b0731e723688c2ec05be563f3872
[ "MIT" ]
null
null
null
notebooks/util.py
NCAR-ASP-2021/ml_tutorial
15a9f26db399b0731e723688c2ec05be563f3872
[ "MIT" ]
4
2021-07-04T02:08:58.000Z
2022-02-27T08:11:28.000Z
"""This is a general purpose module containing routines (a) that are used in multiple notebooks; or (b) that are complicated and would thus otherwise clutter notebook design. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import re import socket ######...
31.462366
94
0.6473
358
2,926
5.159218
0.446927
0.041689
0.025988
0.019491
0.020574
0
0
0
0
0
0
0.004149
0.17635
2,926
93
95
31.462366
0.762241
0.218045
0
0
0
0
0.018162
0
0
0
0
0
0
1
0.039216
false
0
0.647059
0
0.72549
0.039216
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
e50a851e67bcd39da21b61c5db504ad995992a52
951
py
Python
plugins/passivetotal/komand_passivetotal/actions/search_whois/action.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/passivetotal/komand_passivetotal/actions/search_whois/action.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/passivetotal/komand_passivetotal/actions/search_whois/action.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
import komand from .schema import SearchWhoisInput, SearchWhoisOutput # Custom imports below from komand_passivetotal.util import util class SearchWhois(komand.Action): def __init__(self): super(self.__class__, self).__init__( name="search_whois", description="Search WHOIS [https:...
31.7
117
0.649842
103
951
5.815534
0.514563
0.055092
0
0
0
0
0
0
0
0
0
0.001381
0.238696
951
29
118
32.793103
0.825967
0.052576
0
0
0
0.047619
0.16147
0
0
0
0
0.034483
0
1
0.142857
false
0.095238
0.142857
0.047619
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
1
0
0
0
0
1
0
0
0
0
0
2
e50fa2ef1c295a4de3a68218fce9eeec945f766c
1,353
py
Python
TCPServer.py
liquidlx/tcp-socket-python
60998ab4aa3831dd7d246b60cb3136b515019cc4
[ "MIT" ]
null
null
null
TCPServer.py
liquidlx/tcp-socket-python
60998ab4aa3831dd7d246b60cb3136b515019cc4
[ "MIT" ]
null
null
null
TCPServer.py
liquidlx/tcp-socket-python
60998ab4aa3831dd7d246b60cb3136b515019cc4
[ "MIT" ]
null
null
null
#importa o modulo de socket nativo do python import socket serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM) serv.bind(('0.0.0.0', 8080)) #Deixa o servidor escutando por novas conexoes no socket. #O parametro define a quantidade de conexoes que podem estar na fila. serv.listen(5) while True: #accept() - ace...
37.583333
121
0.673319
191
1,353
4.759162
0.52356
0.006601
0.006601
0.030803
0
0
0
0
0
0
0
0.012795
0.249076
1,353
35
122
38.657143
0.88189
0.529194
0
0.111111
0
0
0.23114
0
0
0
0
0.028571
0
0
null
null
0
0.055556
null
null
0.277778
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
e523b7ec14d6752f89117f02f33858cf69e19ce4
942
py
Python
pyvieslib/pyvieslib.py
KG5321/pyvieslib
5530f06b41414e034af3202964d4a203840d2b8e
[ "MIT" ]
1
2020-10-21T01:30:00.000Z
2020-10-21T01:30:00.000Z
pyvieslib/pyvieslib.py
KG5321/pyvieslib
5530f06b41414e034af3202964d4a203840d2b8e
[ "MIT" ]
null
null
null
pyvieslib/pyvieslib.py
KG5321/pyvieslib
5530f06b41414e034af3202964d4a203840d2b8e
[ "MIT" ]
null
null
null
from .vies_validator import ViesValidator class PyViesLib: def __init__(self): self.vvld = ViesValidator() def check_vies(self, vies: str) -> bool: """Function checks validity of given VIES number :param vies: VIES number :type vies: str :return: Returns True when VIE...
28.545455
68
0.590234
117
942
4.606838
0.393162
0.12987
0.077922
0.070501
0.170686
0.170686
0.170686
0.170686
0.170686
0.170686
0
0.013699
0.302548
942
32
69
29.4375
0.806697
0.295117
0
0
0
0
0.005254
0
0
0
0
0
0
1
0.214286
false
0
0.071429
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
1
0
0
0
0
1
0
0
2
e55d7483a2d5e887ef1f4fc60b5e3729724dde12
7,534
py
Python
tests/test_basics.py
brokensandals/spot_check_files
6ea477e51f48dcd0aa2932ff48ac430dbbc7f26b
[ "MIT" ]
3
2020-04-23T10:47:12.000Z
2020-05-01T08:12:20.000Z
tests/test_basics.py
brokensandals/spot_check_files
6ea477e51f48dcd0aa2932ff48ac430dbbc7f26b
[ "MIT" ]
null
null
null
tests/test_basics.py
brokensandals/spot_check_files
6ea477e51f48dcd0aa2932ff48ac430dbbc7f26b
[ "MIT" ]
null
null
null
import json from pathlib import Path from PIL import Image, UnidentifiedImageError from tempfile import TemporaryDirectory from spot_check_files.basics import CSVChecker, ImageChecker,\ JSONChecker, PlaintextChecker, XMLChecker from spot_check_files.checker import CheckRequest _TEST_CSV = """x,x^2,x cubed in word...
32.196581
77
0.598354
899
7,534
4.946607
0.177976
0.056667
0.050371
0.064313
0.762312
0.749269
0.685631
0.637284
0.637284
0.636384
0
0.008505
0.266525
7,534
233
78
32.334764
0.796055
0.011017
0
0.639175
0
0.005155
0.116944
0.002954
0
0
0.000537
0
0.231959
1
0.061856
false
0
0.030928
0
0.092784
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
e5610307c7003a41db9e713638fb3fff38c64834
405
py
Python
brainpywer/tinyutils.py
BrainPywer/BrainPywer
6e2571f43e158b419e4cac10b7b5a39f19c874c2
[ "MIT" ]
3
2016-10-09T23:48:24.000Z
2016-11-07T09:08:34.000Z
brainpywer/tinyutils.py
BrainPywer/BrainPywer
6e2571f43e158b419e4cac10b7b5a39f19c874c2
[ "MIT" ]
null
null
null
brainpywer/tinyutils.py
BrainPywer/BrainPywer
6e2571f43e158b419e4cac10b7b5a39f19c874c2
[ "MIT" ]
null
null
null
""" Home of all the miscellaneous BrainPywer utilities that don't deserve their own files """ def thaw(snowflake): """ Tiny function to return the unix timestamp of a snowflake :param snowflake: a discord snowflake (It's unique, just like you! ha.) :type snowflake: int :return: unix timestamp of ...
27
85
0.68642
55
405
5.054545
0.727273
0.093525
0.107914
0
0
0
0
0
0
0
0
0.060127
0.219753
405
15
86
27
0.81962
0.711111
0
0
0
0
0
0
0
0
0
0
0
1
0.5
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
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
e569de32b26549cde5c68a54897b3d82183cdbf9
96
py
Python
hello.py
lukestarchief/cs3240-labdemo
f97ad82ec946bb7a75d9ce616692ec701f82efc4
[ "MIT" ]
null
null
null
hello.py
lukestarchief/cs3240-labdemo
f97ad82ec946bb7a75d9ce616692ec701f82efc4
[ "MIT" ]
null
null
null
hello.py
lukestarchief/cs3240-labdemo
f97ad82ec946bb7a75d9ce616692ec701f82efc4
[ "MIT" ]
null
null
null
__author__ = 'las3wh' import helper print("hello") helper.greeting('hello') #another comment
10.666667
24
0.739583
11
96
6.090909
0.818182
0
0
0
0
0
0
0
0
0
0
0.011905
0.125
96
9
25
10.666667
0.785714
0.15625
0
0
0
0
0.197531
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e57aec12f0f17e1076b0692c46a4538175de6675
4,785
py
Python
src/tools/repair_tables.py
f304646673/scheduler_frame
0a9ba45a6523cbf9bd50e9fa8e08c8bfd2a9204a
[ "Apache-2.0" ]
9
2017-05-14T05:12:32.000Z
2022-01-13T08:11:07.000Z
src/tools/repair_tables.py
f304646673/scheduler_frame
0a9ba45a6523cbf9bd50e9fa8e08c8bfd2a9204a
[ "Apache-2.0" ]
null
null
null
src/tools/repair_tables.py
f304646673/scheduler_frame
0a9ba45a6523cbf9bd50e9fa8e08c8bfd2a9204a
[ "Apache-2.0" ]
7
2017-08-28T08:31:43.000Z
2020-03-03T07:18:37.000Z
#coding=utf-8 #-*- coding: utf-8 -*- import os import re import sys import time import MySQLdb import urllib2 sys.path.append("../frame/") from loggingex import LOG_INFO from loggingex import LOG_ERROR from loggingex import LOG_WARNING from mysql_conf_parser import mysql_conf_parser from scheduler_frame_conf_inst im...
42.723214
137
0.662069
677
4,785
4.444609
0.206795
0.046527
0.053174
0.073114
0.296112
0.242938
0.242938
0.214689
0.204719
0
0
0.054954
0.228004
4,785
111
138
43.108108
0.759339
0.486729
0
0.092308
0
0.015385
0.115242
0
0
0
0
0
0
0
null
null
0.061538
0.2
null
null
0.030769
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
e58b342babf33cf3ef9acca02d7f81c84db7952c
8,618
py
Python
tests/test_parallel_workflow.py
fransking/flink-statefun-tasks
20c26896a3448a06e4af0742a3d885194e46c727
[ "Apache-2.0" ]
16
2020-10-19T11:55:36.000Z
2022-02-22T12:13:57.000Z
tests/test_parallel_workflow.py
fransking/flink-statefun-tasks
20c26896a3448a06e4af0742a3d885194e46c727
[ "Apache-2.0" ]
20
2020-09-29T17:14:49.000Z
2022-02-25T20:34:31.000Z
tests/test_parallel_workflow.py
fransking/flink-statefun-tasks
20c26896a3448a06e4af0742a3d885194e46c727
[ "Apache-2.0" ]
3
2020-10-30T10:05:37.000Z
2021-08-11T21:51:09.000Z
from statefun_tasks.messages_pb2 import Pipeline import unittest from statefun_tasks import in_parallel from tests.utils import TestHarness, tasks, TaskErrorException join_results_called = False join_results2_called = False join_results3_called = False say_goodbye_called = False @tasks.bind() def _say_hello(first_n...
36.058577
155
0.675563
1,088
8,618
5.022059
0.096507
0.030747
0.056369
0.029283
0.784773
0.722914
0.686859
0.655564
0.644583
0.619327
0
0.00222
0.215943
8,618
238
156
36.210084
0.806423
0.010559
0
0.539394
0
0.024242
0.170832
0
0
0
0
0
0.121212
1
0.145455
false
0
0.024242
0.024242
0.230303
0.024242
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
e58be54d69a7f89f2676872cda7393c87ab5f03c
490
py
Python
Easy/TheySeeMePalindroming.py
revanthsenthil/dCoder_select
20662123f1d3e1f9c7e8225eea7732be3a19ae57
[ "MIT" ]
1
2021-08-03T21:23:08.000Z
2021-08-03T21:23:08.000Z
Easy/TheySeeMePalindroming.py
revanthsenthil/dCoder-Solved
20662123f1d3e1f9c7e8225eea7732be3a19ae57
[ "MIT" ]
null
null
null
Easy/TheySeeMePalindroming.py
revanthsenthil/dCoder-Solved
20662123f1d3e1f9c7e8225eea7732be3a19ae57
[ "MIT" ]
1
2021-04-22T09:20:12.000Z
2021-04-22T09:20:12.000Z
""" Problem Description: In india there is a puzzle"5 characters my name, reverse- forward is the same." You will be presented with a 5 character String, you have to tell whether it satisfy above puzzle, if yes output "Yes" else "No" Input: Input is String S of 5 characters. Output: Print "Yes" if the String S satisf...
21.304348
208
0.718367
82
490
4.292683
0.54878
0.0625
0.056818
0
0
0
0
0
0
0
0
0.012469
0.181633
490
22
209
22.272727
0.865337
0.861224
0
0
0
0
0.083333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
e59db128d3aea47146f87f9be29821705ab5e310
318
py
Python
web/core/migrations/0132_auto_20210428_1439.py
MTES-MCT/biocarburants
ff084916e18cdbdc41400f36fa6cc76a5e05900e
[ "MIT" ]
4
2020-03-22T18:13:12.000Z
2021-01-25T10:33:31.000Z
web/core/migrations/0132_auto_20210428_1439.py
MTES-MCT/carbure
2876756b760ab4866fa783bb40e61a046eebb1ab
[ "MIT" ]
20
2020-07-06T14:33:14.000Z
2022-03-15T16:54:17.000Z
web/core/migrations/0132_auto_20210428_1439.py
MTES-MCT/biocarburants
ff084916e18cdbdc41400f36fa6cc76a5e05900e
[ "MIT" ]
4
2020-04-03T12:19:12.000Z
2021-06-15T12:20:57.000Z
# Generated by Django 3.2 on 2021-04-28 12:39 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('certificates', '0007_auto_20210428_1439'), ('core', '0131_lotv2_remaining_volume'), ] operations = [ ]
19.875
52
0.679245
38
318
5.526316
0.815789
0.07619
0
0
0
0
0
0
0
0
0
0.138889
0.207547
318
15
53
21.2
0.694444
0.13522
0
0
1
0
0.241758
0.18315
0
0
0
0
0
1
0
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
e5a45a521877b035e330718c33f26690d8f763a4
4,218
py
Python
dlkit/json_/repository/record_templates.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
2
2018-02-23T12:16:11.000Z
2020-10-08T17:54:24.000Z
dlkit/json_/repository/record_templates.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
87
2017-04-21T18:57:15.000Z
2021-12-13T19:43:57.000Z
dlkit/json_/repository/record_templates.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
1
2018-03-01T16:44:25.000Z
2018-03-01T16:44:25.000Z
"""JSON implementations of repository records.""" # pylint: disable=no-init # Numerous classes don't require __init__. # pylint: disable=too-many-public-methods,too-few-public-methods # Number of methods are defined in specification # pylint: disable=protected-access # Access to protected methods allowed i...
27.933775
103
0.757231
481
4,218
6.530146
0.170478
0.092009
0.101878
0.105062
0.526902
0.526902
0.526902
0.392869
0.392869
0.392869
0
0
0.1688
4,218
150
104
28.12
0.895893
0.526316
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
e5b1c72435d2abb46fbf6d62714ddf05151ab6bd
723
py
Python
tests/test_Script.py
anthonybuckle/Reciprocity-Core
3254073f44e8fe2222aed9879885a2e609d4044a
[ "MIT" ]
null
null
null
tests/test_Script.py
anthonybuckle/Reciprocity-Core
3254073f44e8fe2222aed9879885a2e609d4044a
[ "MIT" ]
null
null
null
tests/test_Script.py
anthonybuckle/Reciprocity-Core
3254073f44e8fe2222aed9879885a2e609d4044a
[ "MIT" ]
null
null
null
from unittest import TestCase, main from recip import recipcli class test_Script(TestCase): def test_DeployScript(self): command = 'DeployScript' parameters = [] recipcli.handleCommand(command, parameters) def test_DeployLocalScript(self): command = 'DeployLocalScript' ...
23.322581
51
0.662517
61
723
7.639344
0.344262
0.060086
0.266094
0.32618
0.457082
0.354077
0.354077
0
0
0
0
0
0.250346
723
31
52
23.322581
0.859779
0
0
0.380952
0
0
0.088398
0
0
0
0
0
0
1
0.190476
false
0
0.095238
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e5b238896ff3c26321d63756729cf81eecf9b535
294
py
Python
dj_first/users/views.py
amourbrus/DjangoFirst
cf9ce450b24226eafcf650340ca5a6ba3df20704
[ "MIT" ]
null
null
null
dj_first/users/views.py
amourbrus/DjangoFirst
cf9ce450b24226eafcf650340ca5a6ba3df20704
[ "MIT" ]
null
null
null
dj_first/users/views.py
amourbrus/DjangoFirst
cf9ce450b24226eafcf650340ca5a6ba3df20704
[ "MIT" ]
null
null
null
from django.shortcuts import render from .models import BookInfo from django.http import HttpResponse # Create your views here. def index(request): # return HttpResponse("hello world") data = { "message":"hello world 哈哈哈哈哈" } return render(request, 'index.html',data)
22.615385
45
0.704082
36
294
5.75
0.638889
0.096618
0
0
0
0
0
0
0
0
0
0
0.20068
294
12
46
24.5
0.880851
0.197279
0
0
0
0
0.146552
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e5bb598386e45073ddbffea9bcc75a4fb37eae1d
2,901
py
Python
src/envs/smart_man_sim/core_traffic.py
jh3ex/cirp
9484de6f7b31e2d81da5efc999649f60a5f97bfe
[ "Apache-1.1" ]
null
null
null
src/envs/smart_man_sim/core_traffic.py
jh3ex/cirp
9484de6f7b31e2d81da5efc999649f60a5f97bfe
[ "Apache-1.1" ]
null
null
null
src/envs/smart_man_sim/core_traffic.py
jh3ex/cirp
9484de6f7b31e2d81da5efc999649f60a5f97bfe
[ "Apache-1.1" ]
null
null
null
import time import numpy as np import random import math from absl import logging from .scenes import get_map_params from functools import partial import math class Vehicle(): def __init__(self, id, x_init, y_init, x_goal, y_goal, **mid_xys): self.id = id self.x_init = x_init self.y_init ...
47.557377
180
0.382971
386
2,901
2.766839
0.318653
0.013109
0.008427
0.02809
0
0
0
0
0
0
0
0.13094
0.347122
2,901
60
181
48.35
0.432946
0.016891
0
0.045455
0
0
0.095506
0
0
0
0
0
0.022727
0
null
null
0
0.181818
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
e5cac5aa6b41ea33d0a0a367793cd9d5728e804d
1,009
py
Python
backend/common/routes.py
Yandjatg/ragproject
36acdd5a8d2f9593ca5b7da272346bddba8fa9bd
[ "MIT" ]
null
null
null
backend/common/routes.py
Yandjatg/ragproject
36acdd5a8d2f9593ca5b7da272346bddba8fa9bd
[ "MIT" ]
null
null
null
backend/common/routes.py
Yandjatg/ragproject
36acdd5a8d2f9593ca5b7da272346bddba8fa9bd
[ "MIT" ]
null
null
null
from users.userViews import UserviewSet from actualites.views import ActualiteviewSet from diasporas.views import DiasporaviewSet from innovations.views import InnovationviewSet from interviews.views import InterviewviewSet from politiques.views import PolitiqueviewSet from portrait.views import PortraitviewSet from st...
50.45
83
0.722498
105
1,009
6.942857
0.257143
0.065844
0.098765
0.163237
0.192044
0
0
0
0
0
0
0
0.115956
1,009
19
84
53.105263
0.817265
0
0
0
0
0
0.285431
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
e5d080a7be35d30cc80b969211ae72fc0d60f6f2
787
py
Python
pyopenvpn/common.py
sdwannfv/pyopenvpn
b7e4a9494abaf11bc4404b9c225683e7f55c7600
[ "MIT" ]
null
null
null
pyopenvpn/common.py
sdwannfv/pyopenvpn
b7e4a9494abaf11bc4404b9c225683e7f55c7600
[ "MIT" ]
null
null
null
pyopenvpn/common.py
sdwannfv/pyopenvpn
b7e4a9494abaf11bc4404b9c225683e7f55c7600
[ "MIT" ]
null
null
null
class ClientError(Exception): pass class ProtocolError(ClientError): """ Error communicating with the OpenVPN server """ pass class InvalidPacketError(ProtocolError): """ Packet that doesn't make any sense and cannot be read correctly. """ pass class InvalidHMACError(InvalidPacketError): ...
17.488889
76
0.68615
84
787
6.345238
0.595238
0.118199
0.075047
0
0
0
0
0
0
0
0
0
0.223634
787
44
77
17.886364
0.87234
0.279543
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.333333
0
0
0.52381
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
e5e1edb35d6ac691183f3656c79e342ddb19e8f8
475
py
Python
helios/store/decorators.py
panosl/helios
22ceb736709aaa336def81d801797d72321a737e
[ "BSD-3-Clause" ]
2
2021-01-26T02:37:19.000Z
2021-12-02T14:15:22.000Z
helios/store/decorators.py
panosl/helios
22ceb736709aaa336def81d801797d72321a737e
[ "BSD-3-Clause" ]
null
null
null
helios/store/decorators.py
panosl/helios
22ceb736709aaa336def81d801797d72321a737e
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import pickle from django.http import HttpResponseRedirect from django.urls import reverse def cart_required(view_func): def wrapped(*args, **kwargs): try: session_cart = pickle.loads(args[0].session.get('cart')) except: pass if len(session_...
23.75
68
0.614737
54
475
5.296296
0.574074
0.06993
0
0
0
0
0
0
0
0
0
0.008696
0.273684
475
19
69
25
0.82029
0.044211
0
0
0
0
0.030973
0
0
0
0
0
0
1
0.142857
false
0.071429
0.214286
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
e5e800aa69a4d0225e1f3a8d40a05e4b1701e0a5
1,102
py
Python
credentials.py
Steve-design/Password-Locker
91a2450b9e9bca52bdb8ef7fd6a09816df13fa7c
[ "MIT" ]
null
null
null
credentials.py
Steve-design/Password-Locker
91a2450b9e9bca52bdb8ef7fd6a09816df13fa7c
[ "MIT" ]
null
null
null
credentials.py
Steve-design/Password-Locker
91a2450b9e9bca52bdb8ef7fd6a09816df13fa7c
[ "MIT" ]
null
null
null
import pyperclip class Credentials: credentials_list = [] def __init__(self, account_name, login_detail , Password): self.account_name = account_name self.login_detail = login_detail self.Password = Password ''' save our accounts passwords here. ''' ...
28.25641
78
0.6098
104
1,102
6.201923
0.365385
0.136434
0.12093
0.102326
0.173643
0.127132
0
0
0
0
0
0
0.316697
1,102
39
79
28.25641
0.856574
0.245917
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.125
0.0625
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
e5ee35c22a43a56fa0d287cbc244c9bce2edf393
6,116
py
Python
venv/lib/python3.7/site-packages/serial/abc/model.py
FilipKatulski/Data_logger
ba2671c310cd0529e30ef73c99963564953beb64
[ "MIT" ]
16
2020-09-20T22:32:54.000Z
2021-04-02T17:14:25.000Z
Venv-IDE/Lib/site-packages/serial/abc/model.py
myhumankit/Blind_IDE
5262a5dd106f3f52a374a6c1ef68ff53d8847001
[ "MIT" ]
9
2022-02-21T11:44:01.000Z
2022-03-14T15:36:08.000Z
Venv-IDE/Lib/site-packages/serial/abc/model.py
myhumankit/Blind_IDE
5262a5dd106f3f52a374a6c1ef68ff53d8847001
[ "MIT" ]
1
2022-02-21T03:09:29.000Z
2022-02-21T03:09:29.000Z
# Tell the linters what's up: # pylint:disable=wrong-import-position,consider-using-enumerate,useless-object-inheritance # mccabe:options:max-complexity=999 from __future__ import nested_scopes, generators, division, absolute_import, with_statement, \ print_function, unicode_literals from serial.utilities.compatibi...
24.366534
117
0.58257
623
6,116
5.478331
0.243981
0.099619
0.092294
0.027835
0.615587
0.538236
0.466452
0.456197
0.440961
0.429241
0
0.001201
0.319163
6,116
250
118
24.464
0.818444
0.302485
0
0.632353
0
0
0.013239
0
0
0
0
0
0
1
0.205882
false
0.154412
0.044118
0
0.426471
0.007353
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
e5f539368a2eb5b83773d57c8670e7ecf1a4bf60
611
py
Python
backend/appengine/routes/updown/upload.py
MarcosVn/turinginformatica
21eba5f105ad052aa7505b6e77ca5871167a9dc2
[ "MIT" ]
null
null
null
backend/appengine/routes/updown/upload.py
MarcosVn/turinginformatica
21eba5f105ad052aa7505b6e77ca5871167a9dc2
[ "MIT" ]
null
null
null
backend/appengine/routes/updown/upload.py
MarcosVn/turinginformatica
21eba5f105ad052aa7505b6e77ca5871167a9dc2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from blob_app import blob_facade from gaecookie.decorator import no_csrf from gaepermission.decorator import login_required from tekton import router from routes import updown from tekton.gae.middleware.redirect import RedirectResponse __...
30.55
67
0.795417
82
611
5.560976
0.536585
0.04386
0.052632
0
0
0
0
0
0
0
0
0.001876
0.12766
611
19
68
32.157895
0.853659
0.03437
0
0
0
0
0.022109
0
0
0
0
0
0
1
0.0625
false
0
0.4375
0
0.5625
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
e5fb6f27883fad56fd2fa4043a92756426811fe4
764
py
Python
zeeguu/model/unique_code.py
alinbalutoiu/Zeeguu-Core
348f0aa05603fb9d2b06e1f38dbf6bb9fdcaac6d
[ "MIT" ]
null
null
null
zeeguu/model/unique_code.py
alinbalutoiu/Zeeguu-Core
348f0aa05603fb9d2b06e1f38dbf6bb9fdcaac6d
[ "MIT" ]
null
null
null
zeeguu/model/unique_code.py
alinbalutoiu/Zeeguu-Core
348f0aa05603fb9d2b06e1f38dbf6bb9fdcaac6d
[ "MIT" ]
null
null
null
from datetime import datetime from random import randint import zeeguu db = zeeguu.db class UniqueCode(db.Model): __table_args__ = {'mysql_collate': 'utf8_bin'} id = db.Column(db.Integer, primary_key=True) code = db.Column(db.String(4)) email = db.Column(db.String(255)) time = db.Column(db.DateT...
25.466667
92
0.650524
106
764
4.5
0.45283
0.067086
0.083857
0.067086
0.171908
0.171908
0.171908
0.171908
0.171908
0
0
0.018303
0.213351
764
30
93
25.466667
0.775374
0
0
0.090909
0
0
0.027451
0
0
0
0
0
0
1
0.181818
false
0
0.136364
0.136364
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
f90c55edd65c59d2e637a8df070419412264400b
396
py
Python
check_constraints/models.py
theju/django-check-constraints
00d14a8730d81b5c185f0fb8726aed737b2d09e3
[ "BSD-3-Clause" ]
4
2015-05-24T11:03:39.000Z
2018-05-29T14:59:38.000Z
check_constraints/models.py
theju/django-check-constraints
00d14a8730d81b5c185f0fb8726aed737b2d09e3
[ "BSD-3-Clause" ]
null
null
null
check_constraints/models.py
theju/django-check-constraints
00d14a8730d81b5c185f0fb8726aed737b2d09e3
[ "BSD-3-Clause" ]
null
null
null
# Dummy models.py file to allow for tests to run from django.db import models class CCTestModel(models.Model): name = models.CharField(max_length=10) age = models.IntegerField() gender = models.CharField(max_length=10) price = models.PositiveIntegerField() discount = models.PositiveIntegerField() ...
28.285714
48
0.709596
47
396
5.914894
0.680851
0.107914
0.129496
0.172662
0.18705
0
0
0
0
0
0
0.012579
0.19697
396
13
49
30.461538
0.861635
0.116162
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.1
0
0.9
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
f90e70fd998d893d634423a38b52bc2672fbfe72
2,673
py
Python
pysnmp/CISCO-DOT11-HT-PHY-CAPABILITY.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/CISCO-DOT11-HT-PHY-CAPABILITY.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/CISCO-DOT11-HT-PHY-CAPABILITY.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 CISCO-DOT11-HT-PHY-CAPABILITY (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-DOT11-HT-PHY-CAPABILITY # Produced by pysmi-0.3.4 at Mon Apr 29 17:38:23 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python ve...
106.92
477
0.786008
262
2,673
8.01145
0.48855
0.076703
0.017151
0.021439
0.392091
0.26203
0.26203
0.26203
0.26203
0.251548
0
0.089162
0.085297
2,673
24
478
111.375
0.769325
0.131687
0
0.117647
0
0
0.293253
0.031574
0
0
0
0
0
1
0
false
0
0.411765
0
0.411765
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
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
f9166ae3ab242b4578d13196560ebd0e119e6810
292
py
Python
config/urls.py
Gabospa/MelodyRest
16ccfc40ecd218bc4d7bc6d71542ad6af0951c25
[ "MIT" ]
null
null
null
config/urls.py
Gabospa/MelodyRest
16ccfc40ecd218bc4d7bc6d71542ad6af0951c25
[ "MIT" ]
null
null
null
config/urls.py
Gabospa/MelodyRest
16ccfc40ecd218bc4d7bc6d71542ad6af0951c25
[ "MIT" ]
null
null
null
from django.conf import settings from django.conf.urls.static import static from django.contrib import admin from django.urls import path urlpatterns = [ # Django Admin path(settings.ADMIN_URL, admin.site.urls), ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
26.545455
65
0.773973
41
292
5.414634
0.390244
0.18018
0.126126
0
0
0
0
0
0
0
0
0
0.143836
292
10
66
29.2
0.888
0.041096
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
f9299d570ebf1103970f4bef7454568557c9e8e7
4,742
py
Python
test/test_fields_similarity.py
deeplook/xyz-qgis-plugin
37b7d84992155fe35d9578b58c9d74a198eccb40
[ "MIT" ]
1
2021-01-18T18:03:04.000Z
2021-01-18T18:03:04.000Z
test/test_fields_similarity.py
deeplook/xyz-qgis-plugin
37b7d84992155fe35d9578b58c9d74a198eccb40
[ "MIT" ]
null
null
null
test/test_fields_similarity.py
deeplook/xyz-qgis-plugin
37b7d84992155fe35d9578b58c9d74a198eccb40
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ############################################################################### # # Copyright (c) 2019 HERE Europe B.V. # # SPDX-License-Identifier: MIT # ############################################################################### import json import random import numpy as np f...
43.907407
96
0.621046
602
4,742
4.614618
0.184385
0.084233
0.190065
0.215263
0.571274
0.526278
0.508999
0.468323
0.442045
0.414327
0
0.01072
0.232813
4,742
107
97
44.317757
0.752886
0.137073
0
0.222222
0
0
0.053614
0.027332
0
0
0
0
0.013889
1
0.097222
false
0
0.097222
0
0.236111
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
006c0ec55039732f9903611910928b9edfe681b6
1,231
py
Python
python-backend/app/api/permits/namespace/permits.py
MaxWardle/mds
15d8405e6e95af98da9588f353c5d6692d1aa3d6
[ "Apache-2.0" ]
null
null
null
python-backend/app/api/permits/namespace/permits.py
MaxWardle/mds
15d8405e6e95af98da9588f353c5d6692d1aa3d6
[ "Apache-2.0" ]
null
null
null
python-backend/app/api/permits/namespace/permits.py
MaxWardle/mds
15d8405e6e95af98da9588f353c5d6692d1aa3d6
[ "Apache-2.0" ]
null
null
null
from flask_restplus import Namespace from ..permit.resources.permit import PermitResource from ..permit.resources.permit_status_code import PermitStatusCodeResource from ..permit_amendment.resources.permit_amendment import PermitAmendmentResource from ..permit_amendment.resources.permit_amendment_document import Permi...
49.24
103
0.791227
124
1,231
7.596774
0.217742
0.140127
0.140127
0.197452
0.44586
0.412951
0.321656
0.270701
0.270701
0.212314
0
0
0.089358
1,231
24
104
51.291667
0.840321
0
0
0
0
0
0.458164
0.421608
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
006f1456b747e27404c20f0ca8de6c6d837721e0
988
py
Python
tests/test_general_log_parser.py
minhhh/general-log-parser
a1a977ce8928d3b482bb26c86ccc0bd1b7a3b029
[ "MIT" ]
4
2016-07-19T09:55:43.000Z
2019-06-17T08:50:49.000Z
tests/test_general_log_parser.py
minhhh/general-log-parser
a1a977ce8928d3b482bb26c86ccc0bd1b7a3b029
[ "MIT" ]
null
null
null
tests/test_general_log_parser.py
minhhh/general-log-parser
a1a977ce8928d3b482bb26c86ccc0bd1b7a3b029
[ "MIT" ]
3
2017-11-07T21:56:08.000Z
2022-01-02T07:19:23.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_general_log_parser ---------------------------------- Tests for `general_log_parser` module. """ import sys, os, re sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) import unittest from general_log_parser import parser clas...
22.976744
98
0.635628
127
988
4.653543
0.440945
0.047377
0.07445
0.096447
0.248731
0.248731
0.248731
0.248731
0.248731
0.248731
0
0.091245
0.17915
988
42
99
23.52381
0.637485
0.142713
0
0.105263
0
0
0.137232
0
0
0
0
0
0.210526
1
0.210526
false
0.105263
0.157895
0
0.421053
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
0075427fd53576d8341ab5920f1969e2ba8b4267
767
py
Python
finmodelprep/api/advanced_data.py
ignasrum/finmodelprep
5751cb0caac2a7c866111ee6231255e523133cc9
[ "MIT" ]
null
null
null
finmodelprep/api/advanced_data.py
ignasrum/finmodelprep
5751cb0caac2a7c866111ee6231255e523133cc9
[ "MIT" ]
null
null
null
finmodelprep/api/advanced_data.py
ignasrum/finmodelprep
5751cb0caac2a7c866111ee6231255e523133cc9
[ "MIT" ]
null
null
null
from finmodelprep.api.api import BASE_URL, download ### FINANCIAL REPORTS DATES ### ANNUAL FINANCIAL REPORTS ### QUARTERLY FINANCIAL REPORTS def stock_peers(ticker, api_key): URL = f"{BASE_URL}/v4/stock_peers?symbol={ticker}&apikey={api_key}" return download(URL) def sectors_pe_ratio(exchange, date, api_k...
30.68
104
0.743155
113
767
4.80531
0.309735
0.088398
0.066298
0.073665
0.657459
0.657459
0.657459
0.651934
0.40884
0.40884
0
0.005917
0.118644
767
24
105
31.958333
0.797337
0.099087
0
0.307692
0
0
0.436123
0.436123
0
0
0
0
0
1
0.307692
false
0
0.076923
0
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
008d4da3c077c1fa4f9a7c58ffc311c3553d3f4b
874
py
Python
Arrays and Linked Lists/011_Pascal's-Triangle.py
parikshitsaikia1619/DSA_Mastery
bfeab4780d4de372e305c7a517abd04186af0b87
[ "MIT" ]
null
null
null
Arrays and Linked Lists/011_Pascal's-Triangle.py
parikshitsaikia1619/DSA_Mastery
bfeab4780d4de372e305c7a517abd04186af0b87
[ "MIT" ]
null
null
null
Arrays and Linked Lists/011_Pascal's-Triangle.py
parikshitsaikia1619/DSA_Mastery
bfeab4780d4de372e305c7a517abd04186af0b87
[ "MIT" ]
null
null
null
#%% Imports and functions declarations from math import factorial def combinations(total_num: int, choosen_num: int) -> int: """ Returns the number of available combinations given a number of elements and the subspace selected :param total_num: number of total elements :param choosen_num: number of el...
30.137931
101
0.718535
125
874
4.872
0.376
0.091954
0.036125
0
0
0
0
0
0
0
0
0.002857
0.199085
874
28
102
31.214286
0.867143
0.501144
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
00923eccd841aa1210e5f85a21a88b04d36a5ebe
241
py
Python
stories/urls.py
HamdaniFatima/WorkShop
cd3f682a4d8b1abf3b03f80e96aa50ce5b48062e
[ "bzip2-1.0.6" ]
null
null
null
stories/urls.py
HamdaniFatima/WorkShop
cd3f682a4d8b1abf3b03f80e96aa50ce5b48062e
[ "bzip2-1.0.6" ]
null
null
null
stories/urls.py
HamdaniFatima/WorkShop
cd3f682a4d8b1abf3b03f80e96aa50ce5b48062e
[ "bzip2-1.0.6" ]
null
null
null
from django.urls import include, path from .views import classroom urlpatterns = [ path('', classroom.home, name='home'), path('post/new/', classroom.post_new, name='post_new'), #<int:pk>/ ]
12.684211
59
0.564315
27
241
4.962963
0.555556
0.156716
0
0
0
0
0
0
0
0
0
0
0.290456
241
18
60
13.388889
0.783626
0.037344
0
0
0
0
0.090909
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
00cf204de093af00e307e77319e9be66f6d8237e
268
py
Python
alternativa.py
FernandoCamousseigt/diagrama
0bed2b7c43701a7da72df91a52574a4db8a0ce71
[ "MIT" ]
null
null
null
alternativa.py
FernandoCamousseigt/diagrama
0bed2b7c43701a7da72df91a52574a4db8a0ce71
[ "MIT" ]
null
null
null
alternativa.py
FernandoCamousseigt/diagrama
0bed2b7c43701a7da72df91a52574a4db8a0ce71
[ "MIT" ]
null
null
null
class Alternativa(): def __init__(self, contenido: str, ayuda: str): self.contenido = contenido self.ayuda= ayuda def mostrar_alternativa(self) -> None: print(self.contenido) if self.ayuda: print(f"({self.ayuda})")
26.8
51
0.600746
30
268
5.2
0.433333
0.25
0
0
0
0
0
0
0
0
0
0
0.276119
268
10
52
26.8
0.804124
0
0
0
0
0
0.052045
0
0
0
0
0
0
1
0.25
false
0
0
0
0.375
0.25
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
00cf5b12e419ea344829ed823285cf5a87468f8c
15,125
py
Python
protocol/dataframe_protocol.py
rgommers/dataframe-api
52abf7adc4747524a8668422d35e40783686e40c
[ "MIT" ]
null
null
null
protocol/dataframe_protocol.py
rgommers/dataframe-api
52abf7adc4747524a8668422d35e40783686e40c
[ "MIT" ]
null
null
null
protocol/dataframe_protocol.py
rgommers/dataframe-api
52abf7adc4747524a8668422d35e40783686e40c
[ "MIT" ]
null
null
null
""" Specification for objects to be accessed, for the purpose of dataframe interchange between libraries, via the ``__dataframe__`` method on a libraries' data frame object. For guiding requirements, see https://github.com/data-apis/dataframe-api/pull/35 Concepts in this design ----------------------- 1. A `Buffer`...
35.926366
89
0.633851
2,058
15,125
4.608358
0.249271
0.011071
0.008435
0.00717
0.090679
0.07286
0.066217
0.041965
0.041965
0.041965
0
0.006785
0.298446
15,125
420
90
36.011905
0.887004
0.760992
0
0.507692
0
0
0.012116
0
0
0
0
0.002381
0
1
0.384615
false
0.353846
0
0
0.446154
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
00d618caa72b2106fba1cbd1c1143ab9426859bc
252
py
Python
Job.py
Wally869/SimEconomica_Python
2aa049b63ce7eb8c0e1d3054fbf1eeffca0cbf20
[ "MIT" ]
null
null
null
Job.py
Wally869/SimEconomica_Python
2aa049b63ce7eb8c0e1d3054fbf1eeffca0cbf20
[ "MIT" ]
null
null
null
Job.py
Wally869/SimEconomica_Python
2aa049b63ce7eb8c0e1d3054fbf1eeffca0cbf20
[ "MIT" ]
null
null
null
from dataclasses import dataclass from dataclasses_json import dataclass_json from Data import JOBS_RAW @dataclass_json @dataclass class Job(object): Name: str JOBS = [Job.from_dict(JOBS_RAW[idElement]) for idElement in range(len(JOBS_RAW))]
16.8
81
0.789683
37
252
5.189189
0.513514
0.109375
0
0
0
0
0
0
0
0
0
0
0.138889
252
14
82
18
0.884793
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
00dd0309a6d0db4193e3e91c0a42254ed9590326
1,270
py
Python
Projects/Online Workouts/w3resource/Basic - Part-I/program-28.py
ivenpoker/Python-Projects
2975e1bd687ec8dbcc7a4842c13466cb86292679
[ "MIT" ]
1
2019-09-23T15:51:45.000Z
2019-09-23T15:51:45.000Z
Projects/Online Workouts/w3resource/Basic - Part-I/program-28.py
ivenpoker/Python-Projects
2975e1bd687ec8dbcc7a4842c13466cb86292679
[ "MIT" ]
5
2021-02-08T20:47:19.000Z
2022-03-12T00:35:44.000Z
Projects/Online Workouts/w3resource/Basic - Part-I/program-28.py
ivenpoker/Python-Projects
2975e1bd687ec8dbcc7a4842c13466cb86292679
[ "MIT" ]
null
null
null
# !/usr/bin/env python3 ############################################################################# # # # Program purpose: Prints even numbers in list before an exception. # # The exception being inclusive. ...
43.793103
88
0.385827
128
1,270
3.75
0.804688
0.045833
0.0375
0.041667
0.045833
0
0
0
0
0
0
0.211886
0.390551
1,270
28
89
45.357143
0.408269
0.431496
0
0.142857
0
0
0.028933
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.071429
0.285714
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
00e41e228fd825b9691f4055b2f51d4b4fd62eb2
3,478
py
Python
services/http.py
funkypenguin/docker.mqttwarn
10e23b44ccacb57e38bdb304c8b6cc257c312488
[ "MIT" ]
null
null
null
services/http.py
funkypenguin/docker.mqttwarn
10e23b44ccacb57e38bdb304c8b6cc257c312488
[ "MIT" ]
null
null
null
services/http.py
funkypenguin/docker.mqttwarn
10e23b44ccacb57e38bdb304c8b6cc257c312488
[ "MIT" ]
1
2018-09-22T22:29:46.000Z
2018-09-22T22:29:46.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'Jan-Piet Mens <jpmens()gmail.com>' __copyright__ = 'Copyright 2014 Ben Jones' __license__ = """Eclipse Public License - v 1.0 (http://www.eclipse.org/legal/epl-v10.html)""" import urllib import urllib2 import base64 try: import json except ImportErr...
30.778761
98
0.538528
392
3,478
4.714286
0.34949
0.029221
0.029221
0.021104
0.262446
0.220779
0.193723
0.154762
0.154762
0.154762
0
0.01176
0.33985
3,478
112
99
31.053571
0.793118
0.081369
0
0.493976
0
0.012048
0.115323
0
0
0
0
0
0
0
null
null
0.060241
0.072289
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
00e51eb021fecec80bd86b82e0271f8a18ec82a1
357
py
Python
module07-exceptions.and.files/read-employees.py
deepcloudlabs/dcl160-2021-jul-05
0162afb24a5b89633531dbb1c195898d5066077a
[ "MIT" ]
null
null
null
module07-exceptions.and.files/read-employees.py
deepcloudlabs/dcl160-2021-jul-05
0162afb24a5b89633531dbb1c195898d5066077a
[ "MIT" ]
null
null
null
module07-exceptions.and.files/read-employees.py
deepcloudlabs/dcl160-2021-jul-05
0162afb24a5b89633531dbb1c195898d5066077a
[ "MIT" ]
null
null
null
employees = [] with open("employees.txt", mode="r") as myfile: for line in myfile: employee = line.strip().split(",") full_name, salary, birth_year, department, full_time = employee employees.append((full_name, float(salary), int(birth_year), department, full_time =...
39.666667
71
0.619048
42
357
5.095238
0.595238
0.11215
0.17757
0.214953
0.252336
0
0
0
0
0
0
0
0.246499
357
8
72
44.625
0.795539
0
0
0
0
0
0.067227
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
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
00f051bd124f85c580e08382c9f2d3c1c342293d
488
py
Python
src/util/request.py
kristianhuang/finance-watcher
fc4467bcf4fa81fda69e1605329b1771e7433744
[ "MIT" ]
null
null
null
src/util/request.py
kristianhuang/finance-watcher
fc4467bcf4fa81fda69e1605329b1771e7433744
[ "MIT" ]
null
null
null
src/util/request.py
kristianhuang/finance-watcher
fc4467bcf4fa81fda69e1605329b1771e7433744
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- """ @File: request.py @Desc: None """ import requests def __genericHeader(): headers = { "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36" } return headers def...
18.769231
144
0.637295
67
488
4.552239
0.761194
0.032787
0
0
0
0
0
0
0
0
0
0.069588
0.204918
488
25
145
19.52
0.716495
0.270492
0
0
0
0.125
0.395137
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
00f16f43dee3884b5c0199a4ccc83997143f50ea
160
py
Python
main.py
dotmodusgeorge/file_splitter
3f4b5b99cc179c2bd1e263664edea1b4b94ba584
[ "Apache-2.0" ]
null
null
null
main.py
dotmodusgeorge/file_splitter
3f4b5b99cc179c2bd1e263664edea1b4b94ba584
[ "Apache-2.0" ]
null
null
null
main.py
dotmodusgeorge/file_splitter
3f4b5b99cc179c2bd1e263664edea1b4b94ba584
[ "Apache-2.0" ]
null
null
null
import sys from splitter import file_generator def main(): files = sys.argv files.pop(0) for file in files: file_generator(file) main()
12.307692
35
0.65625
23
160
4.478261
0.608696
0.252427
0
0
0
0
0
0
0
0
0
0.008475
0.2625
160
12
36
13.333333
0.864407
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.375
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
da96db3fd2589846f9105e066ce61aadee370d02
1,592
py
Python
inqbus/rpi/widgets/interfaces/widgets.py
Inqbus/rpi_widgets
19df6c2fdc91be8c86e9f4bd4519771a4240a8a5
[ "MIT" ]
null
null
null
inqbus/rpi/widgets/interfaces/widgets.py
Inqbus/rpi_widgets
19df6c2fdc91be8c86e9f4bd4519771a4240a8a5
[ "MIT" ]
null
null
null
inqbus/rpi/widgets/interfaces/widgets.py
Inqbus/rpi_widgets
19df6c2fdc91be8c86e9f4bd4519771a4240a8a5
[ "MIT" ]
null
null
null
from zope.interface import Interface, Attribute class IWidget(Interface): content = Attribute('Content of widget') pos_x = Attribute('X position of widget') pos_y = Attribute('Y position of widget') width = Attribute('Width of widget') height = Attribute('Height of widget') parent = Attribute...
20.947368
63
0.670854
189
1,592
5.566138
0.322751
0.068441
0.060837
0.038023
0.079848
0.079848
0.079848
0.079848
0.079848
0
0
0
0.229271
1,592
75
64
21.226667
0.857376
0.122487
0
0.25
0
0
0.174871
0
0
0
0
0
0
1
0.175
false
0.25
0.025
0
0.725
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
da981fbf4a75866cf8e7a063a8deb37da3cc347c
955
py
Python
tests/test_latest_release.py
nurupo/ci-release-publisher
cd719730b1064f249f3c3af1c8b9cf3954754845
[ "MIT" ]
7
2019-05-25T20:51:01.000Z
2021-12-19T16:16:10.000Z
tests/test_latest_release.py
nurupo/ci-release-publisher
cd719730b1064f249f3c3af1c8b9cf3954754845
[ "MIT" ]
2
2019-06-21T07:58:11.000Z
2020-04-08T06:23:26.000Z
tests/test_latest_release.py
nurupo/ci-release-publisher
cd719730b1064f249f3c3af1c8b9cf3954754845
[ "MIT" ]
1
2021-01-14T11:14:58.000Z
2021-01-14T11:14:58.000Z
# -*- coding: utf-8 -*- import pytest from ci_release_publisher import config, latest_release tag_name_tests = [ ('branch', ['{}-branch-{}', '{}{}-branch-{}']), ('-branch-_name-', ['{}--branch-_name--{}', '{}{}--branch-_name--{}']), ] def test_tag_name(): for branch, expected in tag_name_tests: ...
38.2
105
0.696335
123
955
4.98374
0.235772
0.125612
0.185971
0.163132
0.642741
0.642741
0.642741
0.642741
0.492659
0.205546
0
0.003727
0.157068
955
24
106
39.791667
0.757764
0.02199
0
0.111111
0
0
0.107296
0.023605
0
0
0
0
0.333333
1
0.111111
false
0
0.111111
0
0.222222
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
daa37bb11d554844d5cdd034db0251ea21a77e94
375
py
Python
weekday.py
dm0860777682/52167-Prog-Scripting
11170d2159d4d7b36c4b354c50eb0ae209d57b35
[ "MIT" ]
null
null
null
weekday.py
dm0860777682/52167-Prog-Scripting
11170d2159d4d7b36c4b354c50eb0ae209d57b35
[ "MIT" ]
null
null
null
weekday.py
dm0860777682/52167-Prog-Scripting
11170d2159d4d7b36c4b354c50eb0ae209d57b35
[ "MIT" ]
null
null
null
""" Weekly task 5 Write a program that outputs whether or not today is a weekday. An example of running this program on a Thursday is given below. $ python weekday.py Yes, unfortunately today is a weekday. An example of running it on a Saturday is as follows. $ python weekday.py It is the weekend, yay! """ from da...
20.833333
128
0.752
64
375
4.40625
0.609375
0.049645
0.056738
0.106383
0.234043
0.234043
0.234043
0.234043
0
0
0
0.003279
0.186667
375
18
129
20.833333
0.921311
0.808
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
1
0
0
0
0
2
daaeed9eca13002e541a080243c7573e1a1bcd53
334
py
Python
startServer.py
GCETTB-HYLAND-Hackathon2012-22/Miracurol-Rebuild
a6748e93b45872efdbaca013388dd6277824a9a5
[ "Apache-2.0" ]
null
null
null
startServer.py
GCETTB-HYLAND-Hackathon2012-22/Miracurol-Rebuild
a6748e93b45872efdbaca013388dd6277824a9a5
[ "Apache-2.0" ]
null
null
null
startServer.py
GCETTB-HYLAND-Hackathon2012-22/Miracurol-Rebuild
a6748e93b45872efdbaca013388dd6277824a9a5
[ "Apache-2.0" ]
null
null
null
from backend.core.config_loader import init_configs from backend.database.migration import run_migrations from backend.server.server import start_server if __name__ == '__main__': # Initialize all configurations init_configs() # Run Database Migration Scripts run_migrations() # Start Server s...
23.857143
53
0.766467
40
334
6.025
0.525
0.136929
0
0
0
0
0
0
0
0
0
0
0.173653
334
13
54
25.692308
0.873188
0.218563
0
0
0
0
0.031128
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
dacd8dce0db3b48ffabfcf8befa1faa7f0e85d0b
490
py
Python
mundo3-EstruturasCompostas/107-exercitandoModulos/107.py
jonasht/CursoEmVideo-CursoDePython3
a1bbf1fe4226b1828213742ee5a440278d903fd1
[ "MIT" ]
null
null
null
mundo3-EstruturasCompostas/107-exercitandoModulos/107.py
jonasht/CursoEmVideo-CursoDePython3
a1bbf1fe4226b1828213742ee5a440278d903fd1
[ "MIT" ]
null
null
null
mundo3-EstruturasCompostas/107-exercitandoModulos/107.py
jonasht/CursoEmVideo-CursoDePython3
a1bbf1fe4226b1828213742ee5a440278d903fd1
[ "MIT" ]
null
null
null
# Exercício Python 107: # Crie um módulo chamado moeda.py que # tenha as funções incorporadas aumentar(), diminuir(), dobro() e metade(). # Faça também um programa que importe esse módulo e use algumas dessas funções. import moeda as m preco = float(input('digite preco: ')) print(f'a metade de R${preco} eh {m.meta...
28.823529
79
0.704082
81
490
4.259259
0.54321
0.069565
0.095652
0.057971
0.063768
0
0
0
0
0
0
0.026316
0.146939
490
16
80
30.625
0.799043
0.426531
0
0
0
0
0.650909
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
dad1a3470aa5a0e3afdfd4c98ed79490d2f27af8
822
py
Python
tests/agents/turtleagent/finish.py
LaudateCorpus1/holodeck
521c1c828f47abe7fc24b027fb907eaf26495aed
[ "MIT" ]
518
2018-10-05T00:14:50.000Z
2022-03-06T22:24:47.000Z
tests/agents/turtleagent/finish.py
LaudateCorpus1/holodeck
521c1c828f47abe7fc24b027fb907eaf26495aed
[ "MIT" ]
240
2018-10-05T04:53:18.000Z
2021-04-29T22:21:30.000Z
tests/agents/turtleagent/finish.py
LaudateCorpus1/holodeck
521c1c828f47abe7fc24b027fb907eaf26495aed
[ "MIT" ]
36
2018-10-05T07:09:58.000Z
2022-03-09T12:32:44.000Z
""" Script that will navigate the "maze" in testworld """ def navigate(env, callback): for _ in range(100): callback(env.step([0, 0])) for _ in range(11): callback(env.step([0, -30])) for _ in range(10): callback(env.step([0, 0])) for _ in range(123): callback(env.s...
19.116279
49
0.527981
120
822
3.516667
0.2
0.14218
0.28436
0.341232
0.722749
0.682464
0.682464
0.63981
0.395735
0.395735
0
0.103627
0.29562
822
42
50
19.571429
0.625216
0.059611
0
0.6
0
0
0
0
0
0
0
0
0
1
0.04
false
0
0
0
0.04
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
dad2a0676316421e98c1fe9a827ffb578d3d01bc
406
py
Python
pytest-webdriver/tests/unit/test_webdriver.py
RaiVaibhav/pytest-plugins
b21eef7fb2d876b3910f4a476875f9f157275b49
[ "MIT" ]
167
2019-11-11T01:24:50.000Z
2022-03-31T18:36:19.000Z
pytest-webdriver/tests/unit/test_webdriver.py
RaiVaibhav/pytest-plugins
b21eef7fb2d876b3910f4a476875f9f157275b49
[ "MIT" ]
58
2019-11-19T09:42:44.000Z
2022-03-30T17:30:34.000Z
pytest-webdriver/tests/unit/test_webdriver.py
RaiVaibhav/pytest-plugins
b21eef7fb2d876b3910f4a476875f9f157275b49
[ "MIT" ]
25
2019-12-01T22:00:56.000Z
2022-03-08T18:53:36.000Z
from mock import Mock, sentinel, patch import pytest import selenium import pytest_webdriver def test_browser_to_use(): caps = Mock(CHROME=sentinel.chrome, UNKNOWN=None) wd = Mock(DesiredCapabilities = Mock(return_value = caps)) assert pytest_webdriver.browser_to_use(wd, 'chrome') == sentinel.chrome ...
31.230769
75
0.758621
53
406
5.603774
0.471698
0.151515
0.121212
0.161616
0.195286
0.195286
0
0
0
0
0
0
0.147783
406
13
76
31.230769
0.858382
0
0
0
0
0
0.031941
0
0
0
0
0
0.1
1
0.1
false
0
0.4
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
0
1
0
0
0
0
2
daece39d9273fd358dbca304476c966da56c685c
15,374
py
Python
openaerostruct/common/atmos_comp.py
lamkina/OpenAeroStruct
d30e2626fc1272e7fe3a27386c4c663157e958ec
[ "Apache-2.0" ]
114
2017-04-06T15:24:19.000Z
2022-03-21T09:57:43.000Z
openaerostruct/common/atmos_comp.py
lamkina/OpenAeroStruct
d30e2626fc1272e7fe3a27386c4c663157e958ec
[ "Apache-2.0" ]
322
2017-04-07T01:40:03.000Z
2022-03-17T21:50:52.000Z
openaerostruct/common/atmos_comp.py
lamkina/OpenAeroStruct
d30e2626fc1272e7fe3a27386c4c663157e958ec
[ "Apache-2.0" ]
83
2017-04-06T16:53:26.000Z
2022-03-19T19:34:05.000Z
from collections import namedtuple import numpy as np from scipy.interpolate import Akima1DInterpolator as Akima import openmdao.api as om """United States standard atmosphere 1976 tables, data obtained from http://www.digitaldutch.com/atmoscalc/index.htm""" USatm1976Data = namedtuple("USatm1976Data", ["al...
20.14941
120
0.404059
1,752
15,374
3.507991
0.414384
0.03905
0.030264
0.040351
0.216238
0.135535
0.118939
0.113407
0.082981
0.082981
0
0.526433
0.474633
15,374
762
121
20.175853
0.234493
0.005659
0
0.186992
0
0
0.027849
0
0
0
0
0
0
1
0.004065
false
0
0.00542
0
0.01084
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
dafc3195f965e9416fdd9f214987ea11136852c7
138
py
Python
OnFlyLocalizer/OnFlyLocalizer/FilesListReader.py
dariusz-intent/OnFlyLocalizer
97db2a1a6a8662f8e066daa70ae4502729b95627
[ "Apache-2.0" ]
null
null
null
OnFlyLocalizer/OnFlyLocalizer/FilesListReader.py
dariusz-intent/OnFlyLocalizer
97db2a1a6a8662f8e066daa70ae4502729b95627
[ "Apache-2.0" ]
null
null
null
OnFlyLocalizer/OnFlyLocalizer/FilesListReader.py
dariusz-intent/OnFlyLocalizer
97db2a1a6a8662f8e066daa70ae4502729b95627
[ "Apache-2.0" ]
null
null
null
def read_file(path): f = open(path, 'a+') f.seek(0) files = [line for line in f.readlines()] f.close() return files
15.333333
44
0.557971
22
138
3.454545
0.727273
0
0
0
0
0
0
0
0
0
0
0.010101
0.282609
138
9
45
15.333333
0.757576
0
0
0
0
0
0.014388
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
9700154bc4d5083a6a13aa13e07101972d79dd62
17,101
py
Python
pysnmp/ELTEX-MES-BRIDGE-ERPS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/ELTEX-MES-BRIDGE-ERPS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/ELTEX-MES-BRIDGE-ERPS-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 ELTEX-MES-BRIDGE-ERPS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ELTEX-MES-BRIDGE-ERPS-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:46:17 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3....
134.653543
2,856
0.775744
1,816
17,101
7.303965
0.120595
0.012515
0.010856
0.014475
0.428755
0.356831
0.327805
0.323733
0.258444
0.258444
0
0.095296
0.082627
17,101
126
2,857
135.722222
0.750191
0.020116
0
0.051724
0
0
0.1147
0.021495
0
0
0
0
0
1
0
false
0
0.068966
0
0.198276
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
970f8c8ab04013d9451fc7033e34e37a4c24e96d
910
py
Python
survey/views_start.py
shagun30/djambala-2
06f14e3dd237d7ebf535c62172cfe238c3934f4d
[ "BSD-3-Clause" ]
null
null
null
survey/views_start.py
shagun30/djambala-2
06f14e3dd237d7ebf535c62172cfe238c3934f4d
[ "BSD-3-Clause" ]
null
null
null
survey/views_start.py
shagun30/djambala-2
06f14e3dd237d7ebf535c62172cfe238c3934f4d
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ /dms/survey/views_start.py .. enthaelt den View zum Starten der Dateneingabe des Fragebogens Django content Management System Hans Rauch hans.rauch@gmx.net Die Programme des dms-Systems koennen frei genutzt und den spezifischen Beduerfnissen entsprechend angepasst werden. 0.01 ...
29.354839
73
0.712088
111
910
5.693694
0.675676
0.082278
0.031646
0
0
0
0
0
0
0
0
0.018229
0.156044
910
30
74
30.333333
0.804688
0.515385
0
0
0
0
0.072941
0.049412
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
97164f4fb92f4e82b2d27a916480386d11db3af1
796
py
Python
liberaction/users/tests/test_user_custom_information.py
Computeiros-Estonia/liberaction-api
c14ace4b91eb881eff55032964cd186ce1fe6847
[ "MIT" ]
null
null
null
liberaction/users/tests/test_user_custom_information.py
Computeiros-Estonia/liberaction-api
c14ace4b91eb881eff55032964cd186ce1fe6847
[ "MIT" ]
3
2021-12-03T18:58:03.000Z
2022-03-31T23:03:42.000Z
liberaction/users/tests/test_user_custom_information.py
Computeiros-Estonia/liberaction-api
c14ace4b91eb881eff55032964cd186ce1fe6847
[ "MIT" ]
null
null
null
import pytest from liberaction.users.models import User, PhoneNumber, Address @pytest.fixture def user(db): return User.objects.create(email='root@liberaction.com.br', password='toor') def test_user_exists(user): assert User.objects.exists() @pytest.fixture def phone_number(user): return PhoneNumber.obje...
24.875
80
0.702261
106
796
5.169811
0.471698
0.071168
0.087591
0.094891
0.167883
0
0
0
0
0
0
0.033588
0.177136
796
31
81
25.677419
0.803053
0
0
0.12
0
0
0.08794
0.028894
0
0
0
0
0.12
1
0.24
false
0.04
0.08
0.12
0.44
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
9716fd8f3f9cf12506ccc5b428c2c8a33f45284b
249
py
Python
battered/test_server.py
yuuzi41/battered
a4e417ce1081f972b65180b7100041ec51359751
[ "Apache-2.0" ]
null
null
null
battered/test_server.py
yuuzi41/battered
a4e417ce1081f972b65180b7100041ec51359751
[ "Apache-2.0" ]
null
null
null
battered/test_server.py
yuuzi41/battered
a4e417ce1081f972b65180b7100041ec51359751
[ "Apache-2.0" ]
null
null
null
from battered import BatteredMiddleware from wsgiref.simple_server import make_server, demo_app battered = BatteredMiddleware(demo_app, {}) with make_server('', 8000, battered) as httpd: print("start port 8000 ...") httpd.serve_forever()
24.9
55
0.759036
31
249
5.903226
0.612903
0.10929
0
0
0
0
0
0
0
0
0
0.037383
0.140562
249
9
56
27.666667
0.817757
0
0
0
0
0
0.076613
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
971c06eafb4b6ea5f707f4fba3037f4adb7c38f6
3,150
py
Python
dataiter/util.py
otsaloma/dataiter
50f47463d00a4d26aa44267d48e78c2d544a0d4c
[ "MIT" ]
23
2020-03-15T18:06:50.000Z
2022-02-09T20:47:58.000Z
dataiter/util.py
otsaloma/dataiter
50f47463d00a4d26aa44267d48e78c2d544a0d4c
[ "MIT" ]
16
2020-05-03T13:28:53.000Z
2022-03-12T15:27:52.000Z
dataiter/util.py
otsaloma/dataiter
50f47463d00a4d26aa44267d48e78c2d544a0d4c
[ "MIT" ]
1
2021-09-30T07:14:41.000Z
2021-09-30T07:14:41.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2020 Osmo Salomaa # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modif...
34.23913
79
0.68381
482
3,150
4.414938
0.414938
0.041353
0.022556
0.021147
0.023496
0
0
0
0
0
0
0.014102
0.212063
3,150
91
80
34.615385
0.843272
0.384762
0
0
0
0
0.020899
0
0
0
0
0
0
1
0.207547
false
0
0.150943
0.132075
0.54717
0.018868
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
971fcf607287d1c55c91dc1e5df8a516b08b5bb0
4,662
py
Python
koku/api/migrations/0039_create_hive_db.py
rubik-ai/koku
3255d1c217b7b6685cb2e130bf4e025946e76fac
[ "Apache-2.0" ]
157
2018-04-30T16:27:53.000Z
2022-03-31T08:17:21.000Z
koku/api/migrations/0039_create_hive_db.py
rubik-ai/koku
3255d1c217b7b6685cb2e130bf4e025946e76fac
[ "Apache-2.0" ]
3,250
2018-04-26T14:14:25.000Z
2022-03-31T23:49:15.000Z
koku/api/migrations/0039_create_hive_db.py
rubik-ai/koku
3255d1c217b7b6685cb2e130bf4e025946e76fac
[ "Apache-2.0" ]
65
2018-05-10T14:11:50.000Z
2022-03-18T19:22:58.000Z
# Generated by Django 3.1.7 on 2021-03-03 19:26 import logging import os from django.conf import settings from django.db import migrations from django.db.utils import ProgrammingError from psycopg2.errors import DuplicateDatabase from psycopg2.errors import DuplicateObject from psycopg2.errors import InsufficientPrivi...
36.708661
96
0.590519
498
4,662
5.375502
0.212851
0.047068
0.029884
0.029884
0.384012
0.342174
0.298095
0.271946
0.233097
0.167352
0
0.007939
0.297512
4,662
126
97
37
0.809466
0.042471
0
0.326531
1
0
0.220502
0.025572
0
0
0
0
0
1
0.010204
false
0.061224
0.081633
0
0.122449
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