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
f55cde96e08841ddc7f8dae4ba313492e2b7f377
263
py
Python
importer/tests/budzets.py
crtarsorg/budzet-bubbles
e2a26d455f087dfb4e39f53d736c08779473ea38
[ "CC0-1.0" ]
null
null
null
importer/tests/budzets.py
crtarsorg/budzet-bubbles
e2a26d455f087dfb4e39f53d736c08779473ea38
[ "CC0-1.0" ]
null
null
null
importer/tests/budzets.py
crtarsorg/budzet-bubbles
e2a26d455f087dfb4e39f53d736c08779473ea38
[ "CC0-1.0" ]
null
null
null
#coding=utf-8 import unittest from flask_pymongo import MongoClient #connection to mongo mongo = MongoClient() # get a handle to the budzets database db = mongo.budzets class BudzetsImportingTestCases(unittest.TestCase): def setUp(self): pass
17.533333
51
0.749049
33
263
5.939394
0.787879
0
0
0
0
0
0
0
0
0
0
0.004673
0.186312
263
15
52
17.533333
0.911215
0.258555
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.142857
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
f564a391e3a1949a5e11c4640f13c6ad7c17f314
514
py
Python
vyper/__init__.py
abdullathedruid/vyper
02b1b207f453b704cf1c491741bc85be9168a373
[ "Apache-2.0" ]
2
2022-02-08T16:17:10.000Z
2022-03-06T11:01:46.000Z
vyper/__init__.py
abdullathedruid/vyper
02b1b207f453b704cf1c491741bc85be9168a373
[ "Apache-2.0" ]
4
2018-12-06T23:21:02.000Z
2022-02-07T15:28:01.000Z
vyper/__init__.py
charles-cooper/vyper
bbbd8618f8427d416d6751214dd560872f8848f3
[ "Apache-2.0" ]
null
null
null
from vyper.compiler import compile_code, compile_codes # noqa: F401 try: from importlib.metadata import PackageNotFoundError # type: ignore from importlib.metadata import version as _version # type: ignore except ModuleNotFoundError: from importlib_metadata import PackageNotFoundError # type: ignore ...
36.714286
71
0.789883
58
514
6.672414
0.344828
0.134367
0.217054
0.27907
0.568475
0.568475
0.568475
0.568475
0.568475
0.568475
0
0.007009
0.167315
514
13
72
39.538462
0.897196
0.120623
0
0.181818
0
0
0
0
0
0
0
0
0
1
0
false
0
0.545455
0
0.545455
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
1
0
0
0
0
3
f579047c77021ec41216a654a4a1a96ffed23129
820
py
Python
uorg/utils/errors/forbidden.py
Unusual-Organisation/backend
768879b694f81ff7a8817c4f6d37c8202b2e638b
[ "MIT" ]
2
2021-02-02T17:42:58.000Z
2021-02-02T17:55:15.000Z
uorg/utils/errors/forbidden.py
Unusual-Organisation/backend
768879b694f81ff7a8817c4f6d37c8202b2e638b
[ "MIT" ]
5
2021-01-31T17:35:25.000Z
2021-02-02T17:58:41.000Z
uorg/utils/errors/forbidden.py
Unusual-Organisation/backend
768879b694f81ff7a8817c4f6d37c8202b2e638b
[ "MIT" ]
null
null
null
from uorg import application from uorg.utils.errors.base_class import CustomException from uorg.utils.errors.template import generate_error_json class ForbiddenError(CustomException): """ This is the ForbiddenError class for the Exception. """ def __init__(self, msg: str, solution: str = "Try again."...
26.451613
78
0.704878
103
820
5.504854
0.504854
0.042328
0.045855
0.067019
0
0
0
0
0
0
0
0.023401
0.218293
820
30
79
27.333333
0.861154
0.280488
0
0
1
0
0.045704
0
0
0
0
0
0
1
0.153846
false
0.076923
0.230769
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
f57a96ee50a74d5b3f097e99c0ee392762aece50
1,689
py
Python
grift/instances.py
MaxWhitney/aft
bf9981237438d70c2b8e517e1f4cde75b9eb32a4
[ "MIT" ]
null
null
null
grift/instances.py
MaxWhitney/aft
bf9981237438d70c2b8e517e1f4cde75b9eb32a4
[ "MIT" ]
null
null
null
grift/instances.py
MaxWhitney/aft
bf9981237438d70c2b8e517e1f4cde75b9eb32a4
[ "MIT" ]
null
null
null
""" This file holds instances of defined fuzz generators. These methods are used to fuzz the python code. """ import numpy as np # todo iterative generation def get_dummy(): return [("dummy one", 1)] def get_ints(): # todo control how many you want to try ints = [1, 0, -1] ints += np.random.randi...
25.208955
103
0.62167
248
1,689
4.096774
0.379032
0.059055
0.076772
0.112205
0.234252
0.108268
0
0
0
0
0
0.029806
0.205447
1,689
66
104
25.590909
0.727273
0.159858
0
0
0
0
0.056108
0
0
0
0
0.015152
0
1
0.323529
false
0
0.029412
0.147059
0.676471
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
3
191b77d9822363cac952289c2abd7ed37d393ff5
167
py
Python
src/domain/maze/exception/bad_cell_exception.py
rootoor225/oc-python-project-3
579c6cccc8a468c9ee51befd8549ccaecffde8c3
[ "MIT" ]
1
2020-11-11T06:44:35.000Z
2020-11-11T06:44:35.000Z
src/domain/maze/exception/bad_cell_exception.py
rootoor225/oc-python-project-3
579c6cccc8a468c9ee51befd8549ccaecffde8c3
[ "MIT" ]
null
null
null
src/domain/maze/exception/bad_cell_exception.py
rootoor225/oc-python-project-3
579c6cccc8a468c9ee51befd8549ccaecffde8c3
[ "MIT" ]
null
null
null
"""No library.""" class BadCellException(Exception): """ BadCellException. This class exception is raise when a bad cell is selected. """ pass
13.916667
62
0.634731
18
167
5.888889
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.257485
167
11
63
15.181818
0.854839
0.532934
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
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
1
0
0
0
0
0
3
19241fb8c0cad2d7e423dcd3d4342eb7e8e508e4
399
py
Python
ubikagent/adapter.py
tjkemp/ubik-agent
34e4dd0d6319b8f5c5dba0cd9e087490720b723b
[ "MIT" ]
null
null
null
ubikagent/adapter.py
tjkemp/ubik-agent
34e4dd0d6319b8f5c5dba0cd9e087490720b723b
[ "MIT" ]
null
null
null
ubikagent/adapter.py
tjkemp/ubik-agent
34e4dd0d6319b8f5c5dba0cd9e087490720b723b
[ "MIT" ]
null
null
null
class InteractionAdapter: def agent_reset(self, agent, data): return agent.new_episode() def env_reset(self, env, state): return env.reset() def agent_act(self, agent, state): return agent.act(state) def env_step(self, env, action): return env.step(action) def ag...
23.470588
48
0.651629
51
399
4.980392
0.333333
0.094488
0
0
0
0
0
0
0
0
0
0
0.243108
399
16
49
24.9375
0.84106
0
0
0
0
0
0
0
0
0
0
0
0
1
0.454545
false
0
0
0.454545
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
19313b74c690d1dc05a0955acae6b6c1ea153ebb
194
py
Python
exceptions/http_exception.py
Ubademy-G3/admin.service
b27043faba1c667f21e18d94820edb8c3dd37878
[ "MIT" ]
null
null
null
exceptions/http_exception.py
Ubademy-G3/admin.service
b27043faba1c667f21e18d94820edb8c3dd37878
[ "MIT" ]
null
null
null
exceptions/http_exception.py
Ubademy-G3/admin.service
b27043faba1c667f21e18d94820edb8c3dd37878
[ "MIT" ]
null
null
null
from fastapi import HTTPException class NotFoundException(HTTPException): def __init__(self, item): msg = f"{item} not found" super().__init__(status_code=404, detail=msg)
24.25
53
0.701031
23
194
5.521739
0.826087
0
0
0
0
0
0
0
0
0
0
0.019231
0.195876
194
7
54
27.714286
0.794872
0
0
0
0
0
0.082474
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
194fcac295045f60177112089ca057654f60ac77
804
py
Python
securityheaders/models/cors/alloworigin/accesscontrolalloworigin.py
th3cyb3rc0p/securityheaders
941264be581dc01afe28f6416f2d7bed79aecfb3
[ "Apache-2.0" ]
151
2018-07-29T22:34:43.000Z
2022-03-22T05:08:27.000Z
securityheaders/models/cors/alloworigin/accesscontrolalloworigin.py
th3cyb3rc0p/securityheaders
941264be581dc01afe28f6416f2d7bed79aecfb3
[ "Apache-2.0" ]
5
2019-04-24T07:31:36.000Z
2021-04-15T14:31:23.000Z
securityheaders/models/cors/alloworigin/accesscontrolalloworigin.py
th3cyb3rc0p/securityheaders
941264be581dc01afe28f6416f2d7bed79aecfb3
[ "Apache-2.0" ]
42
2018-07-31T08:18:59.000Z
2022-03-28T08:18:32.000Z
from securityheaders.models import SecurityHeader from securityheaders.models.annotations import * from .accesscontrolalloworigindirective import AccessControlAllowOriginDirective @description('TODO') @headername('access-control-allow-origin') @headerref('https://fetch.spec.whatwg.org/') class AccessControlAllowOrigin...
34.956522
93
0.779851
73
804
8.479452
0.506849
0.071082
0.067851
0.067851
0.229402
0.229402
0.229402
0.229402
0.229402
0.229402
0
0.002857
0.129353
804
22
94
36.545455
0.881429
0
0
0
0
0
0.075965
0.033624
0
0
0
0
0
1
0.25
false
0
0.1875
0.1875
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
1
1
0
0
3
1951ee3fbcd0bf6b25d3de9a41534df828017868
2,556
py
Python
tools/init3d/module.py
DaAwesomeP/ARENA-py
876a6b0c6800d7c2b1a592fd5f25529b9c140efc
[ "BSD-3-Clause" ]
4
2021-01-22T23:49:52.000Z
2022-03-04T06:01:18.000Z
tools/init3d/module.py
DaAwesomeP/ARENA-py
876a6b0c6800d7c2b1a592fd5f25529b9c140efc
[ "BSD-3-Clause" ]
50
2020-08-14T22:24:36.000Z
2022-03-18T20:41:12.000Z
tools/init3d/module.py
DaAwesomeP/ARENA-py
876a6b0c6800d7c2b1a592fd5f25529b9c140efc
[ "BSD-3-Clause" ]
10
2019-10-28T20:15:18.000Z
2021-06-29T18:02:06.000Z
""" *TL;DR Module class; Store information about modules """ import json import uuid from artsrequests import Action, ARTSRequestMsg, FileType, Type class Module(dict): """Create a module object The minimal arguments to create a module are name and filename (env is optional). These are all the argument...
25.56
132
0.629108
343
2,556
4.536443
0.236152
0.056555
0.071979
0.02892
0.070694
0.070694
0.03856
0.03856
0
0
0
0.001051
0.255477
2,556
99
133
25.818182
0.816605
0.21831
0
0.126984
0
0
0.052041
0
0
0
0
0
0
1
0.285714
false
0
0.047619
0.126984
0.507937
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
196ef59684a36bb22be87603076d5cb40ed2364c
256
py
Python
apps/web/models.py
xeroz/gshop
d1bd0920d8ffaae9e7f52fcf8d60dd2d009cde2a
[ "MIT" ]
null
null
null
apps/web/models.py
xeroz/gshop
d1bd0920d8ffaae9e7f52fcf8d60dd2d009cde2a
[ "MIT" ]
4
2020-02-11T21:31:46.000Z
2020-06-05T00:43:08.000Z
apps/web/models.py
xeroz/gshop
d1bd0920d8ffaae9e7f52fcf8d60dd2d009cde2a
[ "MIT" ]
null
null
null
from django.db import models class InfoSite(models.Model): facebook = models.URLField() twitter = models.URLField() instagram = models.URLField() email = models.EmailField() class BannerHome(models.Model): image = models.URLField()
19.692308
33
0.703125
28
256
6.428571
0.571429
0.311111
0
0
0
0
0
0
0
0
0
0
0.183594
256
12
34
21.333333
0.861244
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
1
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
1
0
0
3
19740270352f876ae5da5683ac44cac5fe9792bc
1,797
py
Python
dev/circuitpython/examples/motor_h_bridge_dc_motor.py
scripsi/picodeebee
0ec77e92f09fa8711705623482e57a5e0b702696
[ "MIT" ]
7
2021-03-15T10:06:20.000Z
2022-03-23T02:53:15.000Z
Lights/adafruit-circuitpython-bundle-6.x-mpy-20210310/examples/motor_h_bridge_dc_motor.py
IanSMoyes/SpiderPi
cc3469980ae87b92d0dc43c05dbd579f0fa8c4b1
[ "Apache-2.0" ]
5
2021-04-27T18:21:11.000Z
2021-05-02T14:17:14.000Z
Lights/adafruit-circuitpython-bundle-6.x-mpy-20210310/examples/motor_h_bridge_dc_motor.py
IanSMoyes/SpiderPi
cc3469980ae87b92d0dc43c05dbd579f0fa8c4b1
[ "Apache-2.0" ]
null
null
null
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries # SPDX-License-Identifier: MIT # This example uses an L9110 H-bridge driver to run a DC Motor using two PWM pins. # https://www.adafruit.com/product/4489 # Hardware setup: # DC motor via L9110 H-bridge driver on two PWM pins that are on their ow...
24.616438
97
0.702838
263
1,797
4.752852
0.365019
0.2016
0.1368
0.1944
0.4064
0.4064
0.4064
0.4064
0.4064
0.4064
0
0.047523
0.168614
1,797
72
98
24.958333
0.789157
0.304953
0
0.543478
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0.086957
0
0.086957
0.434783
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
1
0
3
19950abea6959c382483bd42ef0e65a5073eb05b
1,418
py
Python
tests/tools/sessionvalidation/transaction.py
liangzhaorong/trafficserver
80d6440c1879d80d5f3dc0e3dcdc5de38d1e7ea1
[ "Apache-2.0" ]
null
null
null
tests/tools/sessionvalidation/transaction.py
liangzhaorong/trafficserver
80d6440c1879d80d5f3dc0e3dcdc5de38d1e7ea1
[ "Apache-2.0" ]
2
2017-03-14T02:29:31.000Z
2017-09-22T22:11:35.000Z
tests/tools/sessionvalidation/transaction.py
liangzhaorong/trafficserver
80d6440c1879d80d5f3dc0e3dcdc5de38d1e7ea1
[ "Apache-2.0" ]
1
2020-06-17T11:31:22.000Z
2020-06-17T11:31:22.000Z
''' ''' # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License");...
34.585366
87
0.708039
184
1,418
5.369565
0.505435
0.060729
0.026316
0.032389
0
0
0
0
0
0
0
0.00625
0.210155
1,418
40
88
35.45
0.875893
0.575458
0
0
0
0
0.108014
0
0
0
0
0
0
1
0.266667
false
0
0.133333
0.2
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
1
1
0
0
3
5fe60aba38e52a8fc736f8e460d39fa27e36ad77
186
py
Python
my_django_project/my_books/serializers.py
phvv-me/python-django-deploy-sync-async
42153cc3e0094af9efc576753d20870424b25537
[ "MIT" ]
null
null
null
my_django_project/my_books/serializers.py
phvv-me/python-django-deploy-sync-async
42153cc3e0094af9efc576753d20870424b25537
[ "MIT" ]
null
null
null
my_django_project/my_books/serializers.py
phvv-me/python-django-deploy-sync-async
42153cc3e0094af9efc576753d20870424b25537
[ "MIT" ]
null
null
null
from rest_framework.serializers import ModelSerializer from .models import Book class BookSerializer(ModelSerializer): class Meta: model = Book fields = "__all__"
18.6
54
0.725806
19
186
6.842105
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.22043
186
9
55
20.666667
0.896552
0
0
0
0
0
0.037634
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2706334a7b36c87257f184f418722632f24b8a96
235
py
Python
setup.py
miketrumpis/lfp_scroller
ce4dbf85bb4d31f2eacfb5d68a5049499637722c
[ "BSD-3-Clause" ]
null
null
null
setup.py
miketrumpis/lfp_scroller
ce4dbf85bb4d31f2eacfb5d68a5049499637722c
[ "BSD-3-Clause" ]
6
2021-10-08T17:27:46.000Z
2021-12-14T16:29:44.000Z
setup.py
miketrumpis/lfp_scroller
ce4dbf85bb4d31f2eacfb5d68a5049499637722c
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup, find_packages setup( name='lfp_scroller', version='0.1', packages=find_packages(), package_data={'fast_scroller.pyqtgraph_extensions': ['*.png']}, scripts=['launch_scroller.py'] )
23.5
67
0.685106
27
235
5.703704
0.777778
0.155844
0
0
0
0
0
0
0
0
0
0.010152
0.161702
235
9
68
26.111111
0.771574
0
0
0
0
0
0.306383
0.144681
0
0
0
0
0
1
0
true
0
0.125
0
0.125
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
1
0
0
0
0
0
0
3
27418d52db88c6366543c263da6a937d83154644
62
py
Python
pyapple/utils/__init__.py
fxrcha/Pyapple
0d28ea0e85e096eb21639814ccff352b73281b99
[ "MIT" ]
null
null
null
pyapple/utils/__init__.py
fxrcha/Pyapple
0d28ea0e85e096eb21639814ccff352b73281b99
[ "MIT" ]
null
null
null
pyapple/utils/__init__.py
fxrcha/Pyapple
0d28ea0e85e096eb21639814ccff352b73281b99
[ "MIT" ]
null
null
null
from .request import AsyncRequest __all__ = ["AsyncRequest"]
15.5
33
0.774194
6
62
7.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.129032
62
3
34
20.666667
0.814815
0
0
0
0
0
0.193548
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2765fc40be8a5c2f8eb4dd9f9df0f911132d4503
1,680
py
Python
_assignments/intermediate/unpack/unpack_parameter_syntax_c.py
sages-pl/2022-01-pythonsqlalchemy-aptiv
1d6d856608e9dbe25b139e8968c48b7f46753b84
[ "MIT" ]
null
null
null
_assignments/intermediate/unpack/unpack_parameter_syntax_c.py
sages-pl/2022-01-pythonsqlalchemy-aptiv
1d6d856608e9dbe25b139e8968c48b7f46753b84
[ "MIT" ]
null
null
null
_assignments/intermediate/unpack/unpack_parameter_syntax_c.py
sages-pl/2022-01-pythonsqlalchemy-aptiv
1d6d856608e9dbe25b139e8968c48b7f46753b84
[ "MIT" ]
null
null
null
""" * Assignment: Unpack ParameterSyntax Mixed * Complexity: easy * Lines of code: 1 lines * Time: 2 min * Warning: This assignment will work only in Python 3.8+ English: 1. Create function `compute` 2. Function takes 4 arguments `a, b, c, func` and always returns `None` 3. Arguments `a, b, c` must be pass...
30.545455
83
0.667262
234
1,680
4.782051
0.410256
0.014298
0.018767
0.082216
0.268097
0.268097
0.268097
0.229669
0.178731
0.123324
0
0.024353
0.217857
1,680
54
84
31.111111
0.827245
0.963095
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
27734b358fda3ac8c919a8c2796dee487607920f
155
py
Python
image_viewer/__init__.py
eynaij/image-viewer
1361ca9458fcc6fa4e03daa7754d0e05efcb4684
[ "BSD-2-Clause" ]
1
2021-03-01T11:53:24.000Z
2021-03-01T11:53:24.000Z
image_viewer/__init__.py
eynaij/image-viewer
1361ca9458fcc6fa4e03daa7754d0e05efcb4684
[ "BSD-2-Clause" ]
null
null
null
image_viewer/__init__.py
eynaij/image-viewer
1361ca9458fcc6fa4e03daa7754d0e05efcb4684
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # pylint: disable=wrong-import-position """Awesome image-viewer.""" from __future__ import absolute_import __version__ = '1.0.1'
19.375
39
0.703226
20
155
5
0.85
0
0
0
0
0
0
0
0
0
0
0.029412
0.122581
155
7
40
22.142857
0.705882
0.529032
0
0
0
0
0.075758
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
278169a752103db24c93b0676d1198aa62869103
782
py
Python
model/activations/mish.py
NanduryVishnu/YOLOv4-Pytorch
4b335d84fe8ef81c0000c30f789e3fb0f518e4a1
[ "MIT" ]
11
2020-08-10T15:09:10.000Z
2021-09-21T21:37:39.000Z
model/activations/mish.py
NanduryVishnu/YOLOv4-Pytorch
4b335d84fe8ef81c0000c30f789e3fb0f518e4a1
[ "MIT" ]
1
2021-05-02T18:29:20.000Z
2021-05-02T18:29:21.000Z
model/activations/mish.py
NanduryVishnu/YOLOv4-Pytorch
4b335d84fe8ef81c0000c30f789e3fb0f518e4a1
[ "MIT" ]
5
2020-11-13T01:50:17.000Z
2022-03-11T20:08:24.000Z
import torch import torch.nn as nn from utilities.constants import * class Mish(nn.Module): """ ---------- Author: Damon Gwinn (gwinndr) ---------- - Implementation of the Mish activation function (https://arxiv.org/ftp/arxiv/papers/1908/1908.08681.pdf) - Mish is not present in Pytorch as of 1...
25.225806
109
0.567775
91
782
4.769231
0.56044
0.050691
0.073733
0.105991
0
0
0
0
0
0
0
0.025952
0.26087
782
30
110
26.066667
0.724913
0.424552
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
279e18c5648407f6b490831fda1063aad33b2f00
501
py
Python
mastering_oop/special_methods/hash.py
brittainhard/py
aede05530ad05a8319fef7e76b49e4bf3cebebac
[ "MIT" ]
null
null
null
mastering_oop/special_methods/hash.py
brittainhard/py
aede05530ad05a8319fef7e76b49e4bf3cebebac
[ "MIT" ]
null
null
null
mastering_oop/special_methods/hash.py
brittainhard/py
aede05530ad05a8319fef7e76b49e4bf3cebebac
[ "MIT" ]
null
null
null
""" A hash is an integer that reflects the complex value of an object. It is distilled down to a hash which should usually contain all of the bits of the source value. The methods we are messing around with here are the __eq__ and __hash__ methods. """ import suits class Potato: def __init__(self, apple): ...
19.269231
80
0.688623
79
501
4.113924
0.56962
0.110769
0
0
0
0
0
0
0
0
0
0.005249
0.239521
501
25
81
20.04
0.847769
0.489022
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
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
1
0
0
0
1
1
0
0
3
27df5d2bb9bd6544a33e8efacf270aea7257bb79
78
py
Python
language/Java/tmp.py
Akash671/programming
3ac438796ecd524f65643787b1749ed649239107
[ "MIT" ]
null
null
null
language/Java/tmp.py
Akash671/programming
3ac438796ecd524f65643787b1749ed649239107
[ "MIT" ]
null
null
null
language/Java/tmp.py
Akash671/programming
3ac438796ecd524f65643787b1749ed649239107
[ "MIT" ]
null
null
null
import sys n=len(sys.argv) print(n) for i in range(n): print(sys.argv[i])
9.75
20
0.653846
17
78
3
0.588235
0.27451
0
0
0
0
0
0
0
0
0
0
0.166667
78
7
21
11.142857
0.784615
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fd9071e44c67142b82670873df39eac29824fc6c
56,954
py
Python
pysnmp-with-texts/Nortel-Magellan-Passport-UtpDpnTrunksMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/Nortel-Magellan-Passport-UtpDpnTrunksMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/Nortel-Magellan-Passport-UtpDpnTrunksMIB.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 Nortel-Magellan-Passport-UtpDpnTrunksMIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-UtpDpnTrunksMIB # Produced by pysmi-0.3.4 at Wed May 1 14:28:35 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davw...
215.734848
4,953
0.805106
7,038
56,954
6.515203
0.106564
0.007371
0.071444
0.007764
0.566646
0.455446
0.428076
0.413464
0.401121
0.383718
0
0.041996
0.104874
56,954
263
4,954
216.555133
0.857437
0.006567
0
0
0
0.175781
0.473352
0.034717
0
0
0
0
0
1
0
false
0.078125
0.039063
0
0.039063
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
1
0
0
0
0
0
3
fd9306f54ab4c66ec7fec828bd1539422b7e4081
620
py
Python
hello.py
yukoga/flasksample1
ba6ebd49175cb9644a9191cf3a8b60409b8318f1
[ "MIT" ]
null
null
null
hello.py
yukoga/flasksample1
ba6ebd49175cb9644a9191cf3a8b60409b8318f1
[ "MIT" ]
null
null
null
hello.py
yukoga/flasksample1
ba6ebd49175cb9644a9191cf3a8b60409b8318f1
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: UTF-8 -*- from flask import Flask app = Flask(__name__) @app.route('/') def index(): return 'あああこれは Index ページです' @app.route('/hello') def hello(): return 'Hello World!! 日本語は?' + __name__ @app.route('/uer/<username>') def show_user_profile(username): return u'ユーザー %s です' % u...
17.714286
41
0.659677
92
620
4.206522
0.51087
0.124031
0.062016
0.077519
0
0
0
0
0
0
0
0.001905
0.153226
620
34
42
18.235294
0.735238
0.067742
0
0
0
0
0.295652
0
0
0
0
0
0
1
0.272727
false
0
0.045455
0.272727
0.590909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fda5b5e73c81a88ff70f2cc5b1f68a6c83683f26
2,285
py
Python
__init__.py
zlobin-d/sympy2ipopt
f75dfef0a07a8746bad43e14dc372bee2126f1de
[ "MIT" ]
null
null
null
__init__.py
zlobin-d/sympy2ipopt
f75dfef0a07a8746bad43e14dc372bee2126f1de
[ "MIT" ]
null
null
null
__init__.py
zlobin-d/sympy2ipopt
f75dfef0a07a8746bad43e14dc372bee2126f1de
[ "MIT" ]
null
null
null
# vim: set fileencoding=utf8 : '''sympy2ipopt является SymPy-интерфейсом для IpOpt. SymPy -- система компьютерной алгебры (символьные вычисления), представляет из себя библиотеку Python с открытым исходным кодом. IpOpt -- реализация численного метода внутренней точки для решения задач нелинейного программирования (НЛ...
58.589744
148
0.81663
277
2,285
6.703971
0.6787
0.017771
0.019386
0.030156
0
0
0
0
0
0
0
0.008032
0.128228
2,285
38
149
60.131579
0.924197
0.922976
0
0
0
0
0.11976
0
0
0
0
0
0
1
0
false
0
0.75
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
fda80e6b4efd23428a2b9473fe88f90968316ea1
330
py
Python
5-tests/blog_app/user/schemas.py
rcmgn/kts-school-backend
8a895043b7f0156ec49554504198b631df41d2cd
[ "MIT" ]
9
2021-02-04T07:00:59.000Z
2022-03-21T06:28:27.000Z
5-tests/blog_app/user/schemas.py
rcmgn/kts-school-backend
8a895043b7f0156ec49554504198b631df41d2cd
[ "MIT" ]
null
null
null
5-tests/blog_app/user/schemas.py
rcmgn/kts-school-backend
8a895043b7f0156ec49554504198b631df41d2cd
[ "MIT" ]
4
2021-10-20T18:44:22.000Z
2022-02-16T19:11:49.000Z
from marshmallow import Schema, fields class RegisterSchema(Schema): username = fields.Str(required=True) password = fields.Str(required=True) class LoginSchema(Schema): token = fields.Str(required=True) class UserSchema(Schema): id = fields.Int() username = fields.Str() created = fields.D...
19.411765
40
0.709091
38
330
6.157895
0.5
0.153846
0.217949
0.269231
0.222222
0
0
0
0
0
0
0
0.178788
330
16
41
20.625
0.863469
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.1
0.1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
fdc3c7f30e4477bb2c10105280175dade51d52b3
229
py
Python
urduhack/utils/text.py
naeem9/urduhack
ec9f01312bb84cfd52ccb88f2a415ec5c5ea46a4
[ "MIT" ]
null
null
null
urduhack/utils/text.py
naeem9/urduhack
ec9f01312bb84cfd52ccb88f2a415ec5c5ea46a4
[ "MIT" ]
null
null
null
urduhack/utils/text.py
naeem9/urduhack
ec9f01312bb84cfd52ccb88f2a415ec5c5ea46a4
[ "MIT" ]
null
null
null
# coding: utf8 """Text Utils""" def get_code_point(char: str) -> str: """ Get Character unicode codepoint Args: char (str): single character Returns: str """ return '%04x' % ord(char)
13.470588
37
0.550218
26
229
4.769231
0.730769
0.112903
0
0
0
0
0
0
0
0
0
0.019108
0.31441
229
16
38
14.3125
0.770701
0.497817
0
0
0
0
0.051948
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
fdc454deebc28f5b820a02a9a4ce60a0af7f158c
1,269
py
Python
pysbolgraph/S2ProvActivity.py
zhfanrui/pysbolgraph
c4914705bd9b22a2b69db0fc4d43049fcb07ad17
[ "BSD-2-Clause" ]
4
2018-06-29T10:43:08.000Z
2019-03-27T22:33:33.000Z
pysbolgraph/S2ProvActivity.py
zhfanrui/pysbolgraph
c4914705bd9b22a2b69db0fc4d43049fcb07ad17
[ "BSD-2-Clause" ]
14
2019-01-22T16:03:12.000Z
2019-11-11T19:05:32.000Z
pysbolgraph/S2ProvActivity.py
zhfanrui/pysbolgraph
c4914705bd9b22a2b69db0fc4d43049fcb07ad17
[ "BSD-2-Clause" ]
12
2018-07-01T10:59:37.000Z
2021-03-01T08:48:20.000Z
from .S2Identified import S2Identified from .terms import Prov from .terms import SBOL2 from rdflib import URIRef from rdflib.namespace import RDF class S2ProvActivity(S2Identified): def __init__(self, g, uri): super(S2ProvActivity, self).__init__(g, uri) @property def types(self): retu...
27
104
0.7171
165
1,269
5.30303
0.266667
0.057143
0.064
0.068571
0.338286
0.139429
0.139429
0.139429
0.139429
0.139429
0
0.008746
0.189125
1,269
46
105
27.586957
0.841594
0
0
0.129032
0
0
0
0
0
0
0
0
0
1
0.322581
false
0
0.16129
0.16129
0.677419
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fdc99577c29e4a5cba5fd60773f010fa970cca31
2,148
py
Python
metagraph/plugins/core/algorithms/subgraph.py
paul-tqh-nguyen/metagraph
362f97059f8344042d376edc5b470e27bd69b46e
[ "Apache-2.0" ]
18
2020-08-07T19:15:46.000Z
2022-01-25T09:24:18.000Z
metagraph/plugins/core/algorithms/subgraph.py
paul-tqh-nguyen/metagraph
362f97059f8344042d376edc5b470e27bd69b46e
[ "Apache-2.0" ]
49
2020-08-07T20:05:11.000Z
2022-03-24T20:46:31.000Z
metagraph/plugins/core/algorithms/subgraph.py
paul-tqh-nguyen/metagraph
362f97059f8344042d376edc5b470e27bd69b46e
[ "Apache-2.0" ]
9
2020-08-07T19:15:56.000Z
2022-01-19T01:45:05.000Z
import metagraph as mg from metagraph import abstract_algorithm, NodeID from ..types import NodeSet, Graph @abstract_algorithm("subgraph.extract_subgraph") def extract_subgraph(graph: Graph, nodes: NodeSet) -> Graph: pass # pragma: no cover @abstract_algorithm("subgraph.k_core") def k_core(graph: Graph(is_dire...
31.130435
113
0.716946
299
2,148
5.016722
0.344482
0.113333
0.15
0.102
0.386
0.359333
0.359333
0.331333
0.267333
0.208
0
0.009019
0.174115
2,148
68
114
31.588235
0.836528
0.312384
0
0.243243
0
0
0.151729
0.115737
0
0
0
0.014706
0
1
0.243243
false
0.243243
0.081081
0
0.324324
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
e336c22ed9a0e3d2e4daef7f18f530d5a6032c25
19,789
py
Python
src/sima/post/dnv_os_f201filter.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/post/dnv_os_f201filter.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/post/dnv_os_f201filter.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
# This an autogenerated file # # Generated with DNV_OS_F201Filter from typing import Dict,Sequence,List from dmt.entity import Entity from dmt.blueprint import Blueprint from .blueprints.dnv_os_f201filter import DNV_OS_F201FilterBlueprint from typing import Dict from sima.post.controlsignalinputslot import ControlSign...
36.376838
1,002
0.698671
1,636
19,789
8.338631
0.121027
0.032253
0.045741
0.024923
0.133118
0.129307
0.107755
0.101598
0.079314
0.061428
0
0.012837
0.216636
19,789
543
1,003
36.443831
0.867178
0.236141
0
0.15894
1
0
0.007504
0
0
0
0
0
0
1
0.264901
false
0
0.039735
0
0.440397
0.013245
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
e348367335cead1064c79220133ed14009701f48
422
py
Python
jupy4syn/commands/xpra_scanCommand.py
gabrielpreviato/test
a5e57d00a546bd8d939d5d71bb19364fb4524441
[ "0BSD" ]
null
null
null
jupy4syn/commands/xpra_scanCommand.py
gabrielpreviato/test
a5e57d00a546bd8d939d5d71bb19364fb4524441
[ "0BSD" ]
null
null
null
jupy4syn/commands/xpra_scanCommand.py
gabrielpreviato/test
a5e57d00a546bd8d939d5d71bb19364fb4524441
[ "0BSD" ]
null
null
null
import subprocess import os from jupy4syn.commands.ICommand import ICommand class xpra_scanCommand(ICommand): def __init__(self, config): self.config = config def exec(self, parameters): subprocess.Popen(["scan_gui"], env=dict(os.environ, DISPLAY=self.config.display_number)) def args(sel...
23.444444
96
0.706161
53
422
5.433962
0.54717
0.104167
0.104167
0.145833
0
0
0
0
0
0
0
0.002967
0.201422
422
17
97
24.823529
0.851632
0
0
0
0
0
0.018957
0
0
0
0
0
0
1
0.333333
false
0
0.25
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e34bdd5828684c8bef2582a149a9a0b1fb8c3577
321
py
Python
python/projetos_dev/python_programacao_procedural/exer2.py
jonfisik/Projects
7847f32c9e333cfca31cc127db175d9b4080ed0f
[ "MIT" ]
2
2020-09-05T22:25:37.000Z
2021-06-01T21:34:54.000Z
python/projetos_dev/python_programacao_procedural/exer2.py
jonfisik/Projects
7847f32c9e333cfca31cc127db175d9b4080ed0f
[ "MIT" ]
null
null
null
python/projetos_dev/python_programacao_procedural/exer2.py
jonfisik/Projects
7847f32c9e333cfca31cc127db175d9b4080ed0f
[ "MIT" ]
null
null
null
''' 1 - Crie uma funcao1 que recebe uma funcao2 como parâmetro e retorne o valor da funcao2 executada. ''' def ola_mundo(): return 'Hello world!' def mestre(funcao): return funcao() executando = mestre(ola_mundo) # Executando uma função dentro de outra print(executando) # Mesmo resultado print(ola_mundo()...
16.894737
68
0.728972
45
321
5.133333
0.688889
0.103896
0
0
0
0
0
0
0
0
0
0.015152
0.17757
321
19
69
16.894737
0.859848
0.476636
0
0
0
0
0.075
0
0
0
0
0
0
1
0.285714
false
0
0
0.285714
0.571429
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e37b43b8873c5f2d2592b4543167cc14abdf5531
227
py
Python
paraVerComoFuncionaAlgumasCoisas/pythonParaAnaliseDeDados/capitulo2-/ipython_1.py
jonasht/pythonEstudos
5e7d28e7bd82b9d1b08e795867fdbaa743f4b747
[ "MIT" ]
null
null
null
paraVerComoFuncionaAlgumasCoisas/pythonParaAnaliseDeDados/capitulo2-/ipython_1.py
jonasht/pythonEstudos
5e7d28e7bd82b9d1b08e795867fdbaa743f4b747
[ "MIT" ]
null
null
null
paraVerComoFuncionaAlgumasCoisas/pythonParaAnaliseDeDados/capitulo2-/ipython_1.py
jonasht/pythonEstudos
5e7d28e7bd82b9d1b08e795867fdbaa743f4b747
[ "MIT" ]
null
null
null
# coding: utf-8 import numpy as np # testando para ver como funciona data = ={i : np.random.randn() for i in range(7)} data = {i : np.random.randn() for i in range(7)} data get_ipython().run_line_magic('save', 'ipython_1 1-6')
28.375
53
0.687225
43
227
3.534884
0.651163
0.065789
0.092105
0.171053
0.421053
0.421053
0.421053
0.421053
0.421053
0.421053
0
0.03125
0.154185
227
7
54
32.428571
0.760417
0.198238
0
0
0
0
0.094972
0
0
0
0
0
0
0
null
null
0
0.2
null
null
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
1
0
0
0
0
0
0
0
0
3
e38301564e108b816df8ab52e8155ba87759938a
107
py
Python
tests/test_ch5/test_models/__init__.py
devaletanmay/code-soup
d6d564a4c354d87521d48594b42da5e62f145657
[ "MIT" ]
null
null
null
tests/test_ch5/test_models/__init__.py
devaletanmay/code-soup
d6d564a4c354d87521d48594b42da5e62f145657
[ "MIT" ]
null
null
null
tests/test_ch5/test_models/__init__.py
devaletanmay/code-soup
d6d564a4c354d87521d48594b42da5e62f145657
[ "MIT" ]
null
null
null
from tests.test_ch5.test_models.test_gan import ( TestDiscriminator, TestGAN, TestGenerator, )
17.833333
49
0.738318
12
107
6.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0.011494
0.186916
107
5
50
21.4
0.862069
0
0
0
0
0
0
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e38a1d12d26507b754f6aef8ace1ea61ba1abbdf
597
py
Python
main/admin.py
cupracer/family-tools
95a9f4d845fca4a00e2b666afc7eb791745121e7
[ "MIT" ]
null
null
null
main/admin.py
cupracer/family-tools
95a9f4d845fca4a00e2b666afc7eb791745121e7
[ "MIT" ]
null
null
null
main/admin.py
cupracer/family-tools
95a9f4d845fca4a00e2b666afc7eb791745121e7
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.auth.admin import UserAdmin, GroupAdmin from django.contrib.auth.models import Group from guardian.admin import GuardedModelAdminMixin from main.models import User class GuardedUserAdmin(GuardedModelAdminMixin, UserAdmin): fieldsets = UserAdmin.fieldsets f...
27.136364
87
0.802345
68
597
6.985294
0.455882
0.063158
0.107368
0.088421
0
0
0
0
0
0
0
0.003738
0.103853
597
21
88
28.428571
0.884112
0
0
0
0
0
0.075377
0
0
0
0
0
0
1
0
false
0.076923
0.384615
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
8b86a350e5a44df814f23360928490fb944d8d49
184
py
Python
school/api/teacher/urls.py
degerahmet/School-API
0d7ae257a95006bd3d899c4f1dcbc5cbcd47eb0e
[ "Apache-2.0" ]
null
null
null
school/api/teacher/urls.py
degerahmet/School-API
0d7ae257a95006bd3d899c4f1dcbc5cbcd47eb0e
[ "Apache-2.0" ]
null
null
null
school/api/teacher/urls.py
degerahmet/School-API
0d7ae257a95006bd3d899c4f1dcbc5cbcd47eb0e
[ "Apache-2.0" ]
null
null
null
from django.urls import path,include from .views import TeacherProfileCreateAPIView urlpatterns = [ path('create/', TeacherProfileCreateAPIView.as_view(), name="create_user"), ]
23
79
0.777174
19
184
7.421053
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.11413
184
8
80
23
0.865031
0
0
0
0
0
0.097297
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8b89c9165966b13c520ff60378e815b8cae2db15
1,231
py
Python
MUNDO 2/ex059.py
athavus/Curso-em-video-Python-3
a32be95adbccfcbe512a1ed30d3859141a230b5e
[ "MIT" ]
1
2020-11-12T14:03:32.000Z
2020-11-12T14:03:32.000Z
MUNDO 2/ex059.py
athavus/Curso-em-video-Python-3
a32be95adbccfcbe512a1ed30d3859141a230b5e
[ "MIT" ]
null
null
null
MUNDO 2/ex059.py
athavus/Curso-em-video-Python-3
a32be95adbccfcbe512a1ed30d3859141a230b5e
[ "MIT" ]
1
2021-01-05T22:18:46.000Z
2021-01-05T22:18:46.000Z
a = int(input('\033[30mDigite um valor:\033[m ')) b = int(input('\033[30mDigite outro valor:\033[m ')) c = 0 while c != 5: print(''' \033[1;30m[ 1 ]\033[m \033[1;31mSOMAR\033[m \033[1;30m[ 2 ]\033[m \033[1;32mMULTIPLICAR\033[m \033[1;30m[ 3 ]\033[m \033[1;33mMAIOR\033[m \033[1;30m[ 4 ]\033[...
42.448276
103
0.545898
224
1,231
3
0.290179
0.130952
0.104167
0.119048
0.300595
0.220238
0.220238
0.157738
0.157738
0.157738
0
0.22619
0.249391
1,231
28
104
43.964286
0.501082
0
0
0.071429
0
0.357143
0.674148
0.057357
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8b8f1b340f883c212866de09b6dd38d32fa5b1ef
40,195
py
Python
Pinto Python/Cog/fun.py
KaroDC/Pinto-Bot-Discord
2e30fafc8f71969ca062fcd9c27fe9f513da021f
[ "CC0-1.0" ]
null
null
null
Pinto Python/Cog/fun.py
KaroDC/Pinto-Bot-Discord
2e30fafc8f71969ca062fcd9c27fe9f513da021f
[ "CC0-1.0" ]
null
null
null
Pinto Python/Cog/fun.py
KaroDC/Pinto-Bot-Discord
2e30fafc8f71969ca062fcd9c27fe9f513da021f
[ "CC0-1.0" ]
null
null
null
import asyncio import discord from discord.ext import commands import random import time from discord \ import Member, Guild, User import datetime from datetime import datetime from datetime import date import configparser import os, os.path import json from discord.ext.commands import * from discord....
98.036585
9,052
0.714716
4,755
40,195
6.004837
0.230074
0.044269
0.064301
0.075018
0.578748
0.534725
0.50352
0.379014
0.249781
0.224845
0
0.213289
0.133226
40,195
410
9,053
98.036585
0.605855
0
0
0.48248
0
0.180593
0.626662
0.011511
0
0
0.004222
0
0
1
0.005391
false
0.005391
0.115903
0
0.123989
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
3
8b994e206aea51e6f1989b399d59fec2ebe621b1
178
py
Python
05/05_P9.py
endowp/Python101
9c29387f4ed53d10579613ecf5153b71abf7ccd7
[ "MIT" ]
null
null
null
05/05_P9.py
endowp/Python101
9c29387f4ed53d10579613ecf5153b71abf7ccd7
[ "MIT" ]
null
null
null
05/05_P9.py
endowp/Python101
9c29387f4ed53d10579613ecf5153b71abf7ccd7
[ "MIT" ]
null
null
null
filename = input().strip() found_id = "" f = open(filename) for line in f: if line[:10] not in found_id: found_id += line[:10]+";" print(line[:10]) f.close()
19.777778
33
0.567416
28
178
3.5
0.535714
0.214286
0
0
0
0
0
0
0
0
0
0.044444
0.241573
178
8
34
22.25
0.681481
0
0
0
0
0
0.005618
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8b9a59cb65df4152be7592fbeb9fddd53fe59c67
227
py
Python
src/models/empf/diagnosis/__init__.py
nayronmorais/EMPF
4baf87dcbd0689cbe43ec3d8775f489ee7742426
[ "MIT" ]
null
null
null
src/models/empf/diagnosis/__init__.py
nayronmorais/EMPF
4baf87dcbd0689cbe43ec3d8775f489ee7742426
[ "MIT" ]
null
null
null
src/models/empf/diagnosis/__init__.py
nayronmorais/EMPF
4baf87dcbd0689cbe43ec3d8775f489ee7742426
[ "MIT" ]
null
null
null
"""That package provide implementation of methods for diagnosis purpose. Diagnosis is the ones of the main goals on industrial process monitoration. """ from . import contribution as contribution __all__ = ['contribution']
22.7
75
0.784141
28
227
6.214286
0.821429
0
0
0
0
0
0
0
0
0
0
0
0.154185
227
9
76
25.222222
0.90625
0.643172
0
0
0
0
0.164384
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8bc4de896c1cd854da47dc732b89e7354ec94346
292
py
Python
cms/static/views.py
schwalbe10/Django
87fcc97669eccf6279e3a5064acacf97c26297cd
[ "MIT" ]
null
null
null
cms/static/views.py
schwalbe10/Django
87fcc97669eccf6279e3a5064acacf97c26297cd
[ "MIT" ]
null
null
null
cms/static/views.py
schwalbe10/Django
87fcc97669eccf6279e3a5064acacf97c26297cd
[ "MIT" ]
null
null
null
from django.http import HttpResponse def record_list(request): '''書籍の一覧''' return HttpResponse(u'List') def record_edit(request, record_id=None): '''書籍の編集''' return HttpResponse(u'Edit') def record_del(request, record_id): '''書籍の削除''' return HttpResponse(u'Delete')
22.461538
41
0.691781
37
292
5.324324
0.513514
0.137056
0.28934
0
0
0
0
0
0
0
0
0
0.160959
292
13
42
22.461538
0.804082
0.058219
0
0
0
0
0.053846
0
0
0
0
0
0
1
0.428571
false
0
0.142857
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
8bc6fa2b5c93da21fd127c24241c43effacf2018
461
py
Python
sandglass/time/api/v1/task.py
sanglass/sandglass.time
2cbd9c0cc8f265eb1ddcb23c29c23e18e25bd421
[ "BSD-3-Clause" ]
3
2015-02-03T08:54:23.000Z
2015-02-05T15:48:55.000Z
sandglass/time/api/v1/task.py
sanglass/sandglass.time
2cbd9c0cc8f265eb1ddcb23c29c23e18e25bd421
[ "BSD-3-Clause" ]
null
null
null
sandglass/time/api/v1/task.py
sanglass/sandglass.time
2cbd9c0cc8f265eb1ddcb23c29c23e18e25bd421
[ "BSD-3-Clause" ]
null
null
null
from sandglass.time.api import API from sandglass.time.models.task import Task from sandglass.time.resource.model import ModelResource from sandglass.time.schemas.task import TaskListSchema from sandglass.time.schemas.task import TaskSchema class TaskResource(ModelResource): """ REST API resource for Task mod...
23.05
55
0.754881
56
461
6.196429
0.410714
0.18732
0.244957
0.138329
0.195965
0.195965
0
0
0
0
0
0.002604
0.167028
461
19
56
24.263158
0.901042
0.071584
0
0
0
0
0.017032
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.909091
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8bcf4f7124c69d94cc19185a87552a1ccf45874a
92
py
Python
posts_app/apps.py
Kevin1289/Clique.io_site
01e1d5505b293419da75aedb40bdefb9086696a6
[ "MIT" ]
1
2020-09-01T05:15:33.000Z
2020-09-01T05:15:33.000Z
posts_app/apps.py
Kevin1289/Clique.io_site
01e1d5505b293419da75aedb40bdefb9086696a6
[ "MIT" ]
null
null
null
posts_app/apps.py
Kevin1289/Clique.io_site
01e1d5505b293419da75aedb40bdefb9086696a6
[ "MIT" ]
1
2021-08-31T06:08:59.000Z
2021-08-31T06:08:59.000Z
from django.apps import AppConfig class PostsAppConfig(AppConfig): name = 'posts_app'
15.333333
33
0.76087
11
92
6.272727
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.163043
92
5
34
18.4
0.896104
0
0
0
0
0
0.097826
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8bd1c7c190fae357469075e2b55f1055e5a535e8
951
py
Python
db/posts.py
Erik172/PlatziAPI
d474fe89f656034ef75e7355e54ad9d33332645a
[ "MIT" ]
4
2020-12-07T14:10:04.000Z
2021-03-11T17:04:59.000Z
db/posts.py
Erik172/PlatziAPI
d474fe89f656034ef75e7355e54ad9d33332645a
[ "MIT" ]
null
null
null
db/posts.py
Erik172/PlatziAPI
d474fe89f656034ef75e7355e54ad9d33332645a
[ "MIT" ]
null
null
null
from db.config import db from bson import json_util import json posts = db.posts # Funcion Para agregar Post def addPost(data: dict): posts.insert_one(data) # Funcion para mostrar todos los posts def showPosts(): data = posts.find() result = [] for r in data: result.append(r) return jso...
20.673913
46
0.662461
134
951
4.634328
0.41791
0.070853
0.083736
0.038647
0.293076
0.293076
0.293076
0.293076
0.293076
0.293076
0
0
0.229232
951
46
47
20.673913
0.847203
0.149317
0
0.258065
0
0
0.008696
0
0
0
0
0.021739
0
1
0.225806
false
0
0.096774
0.032258
0.516129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
8bd782e03a696797df6577779570bdee7a149f4f
34,718
py
Python
Ryven/packages/auto_generated/codecs/nodes.py
tfroehlich82/Ryven
cb57c91d13949712844a4410a9302c4a90d28dcd
[ "MIT" ]
2,872
2020-07-01T09:06:34.000Z
2022-03-31T05:52:32.000Z
Ryven/packages/auto_generated/codecs/nodes.py
dhf327/Ryven
a11e361528d982a9dd3c489dd536f8b05ffd56e1
[ "MIT" ]
59
2020-06-28T12:50:50.000Z
2022-03-27T19:07:54.000Z
Ryven/packages/auto_generated/codecs/nodes.py
dhf327/Ryven
a11e361528d982a9dd3c489dd536f8b05ffd56e1
[ "MIT" ]
339
2020-07-05T04:36:20.000Z
2022-03-24T07:25:18.000Z
from NENV import * import codecs class NodeBase(Node): pass class Encodedfile_Node(NodeBase): """ Return a wrapped version of file which provides transparent encoding translation. Data written to the wrapped file is decoded according to the given data_encoding and then encode...
27.017899
118
0.619535
4,216
34,718
4.899431
0.068786
0.100697
0.04938
0.072424
0.773819
0.748064
0.708172
0.693939
0.676075
0.668958
0
0.023664
0.247768
34,718
1,284
119
27.038941
0.767269
0.155741
0
0.556931
0
0
0.090618
0.004721
0
0
0
0
0
1
0.069307
false
0.001238
0.002475
0
0.488861
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8be09206357cbdc1403ce481a4a37d4ba85bc935
820
py
Python
tests/conftest.py
Shir0kamii/graphitesend
76d958c2fc455fa40e7f31107970c01a59e5d136
[ "Apache-2.0" ]
10
2019-01-09T07:53:55.000Z
2020-07-03T00:35:35.000Z
tests/conftest.py
Shir0kamii/graphitesend
76d958c2fc455fa40e7f31107970c01a59e5d136
[ "Apache-2.0" ]
4
2018-11-28T22:02:04.000Z
2019-08-09T21:49:27.000Z
tests/conftest.py
Shir0kamii/graphitesend
76d958c2fc455fa40e7f31107970c01a59e5d136
[ "Apache-2.0" ]
4
2018-11-28T13:32:33.000Z
2019-06-01T14:25:03.000Z
import platform import pytest from graphitesend import GraphiteClient, GraphiteStructuredFormatter from graphitesend.block_metric import BlockMetric @pytest.fixture(params=["foo", "bar", "baz"]) def metric_name(request): return request.param @pytest.fixture def system_name(): return platform.uname()[1] @...
20
68
0.77561
97
820
6.381443
0.350515
0.147011
0.129241
0.074313
0
0
0
0
0
0
0
0.001395
0.12561
820
40
69
20.5
0.861925
0
0
0.2
0
0
0.035366
0
0
0
0
0
0.04
1
0.28
false
0
0.16
0.2
0.68
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8be7da12e8b71fda4d2bdefe7046d506c10ecab8
376
py
Python
zappa_init.py
gwrome/dndtools
38d973cb44e88e267b137957b407c3e26271778d
[ "MIT" ]
null
null
null
zappa_init.py
gwrome/dndtools
38d973cb44e88e267b137957b407c3e26271778d
[ "MIT" ]
null
null
null
zappa_init.py
gwrome/dndtools
38d973cb44e88e267b137957b407c3e26271778d
[ "MIT" ]
null
null
null
""" This file is a workaround because zappa doesn't play nice calling a Flask app-factory pattern app directly. This will likely be fixed soon, see pull request here: https://github.com/Miserlou/Zappa/pull/1775 For now, in zappa_settings.json, point "app_function" to "zappa_init.app", which then calls the app factory "...
37.6
107
0.776596
63
376
4.555556
0.761905
0.069686
0
0
0
0
0
0
0
0
0
0.012384
0.140957
376
9
108
41.777778
0.876161
0.835106
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4775d39b363a807386b6cace9cefc8dcc6649516
2,351
py
Python
insights/parsers/tests/test_spamassassin_channels.py
lhuett/insights-core
1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8
[ "Apache-2.0" ]
121
2017-05-30T20:23:25.000Z
2022-03-23T12:52:15.000Z
insights/parsers/tests/test_spamassassin_channels.py
lhuett/insights-core
1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8
[ "Apache-2.0" ]
1,977
2017-05-26T14:36:03.000Z
2022-03-31T10:38:53.000Z
insights/parsers/tests/test_spamassassin_channels.py
lhuett/insights-core
1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8
[ "Apache-2.0" ]
244
2017-05-30T20:22:57.000Z
2022-03-26T10:09:39.000Z
import doctest import pytest from insights.parsers import spamassassin_channels from insights.parsers.spamassassin_channels import SpamassassinChannels from insights.tests import context_wrap DEFAULT = """ /etc/mail/spamassassin/channel.d/sought.conf:CHANNELURL=sought.rules.yerp.org /etc/mail/spamassassin/channel.d/s...
33.585714
104
0.763505
291
2,351
6.068729
0.182131
0.059456
0.161382
0.220838
0.638165
0.638165
0.638165
0.638165
0.623443
0.623443
0
0.001869
0.089749
2,351
69
105
34.072464
0.823364
0
0
0.339623
0
0.169811
0.544449
0.525734
0
0
0
0
0.037736
1
0.056604
false
0
0.09434
0
0.150943
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
477792450f2b79c75bfbe2741dc30400a4227de5
9,789
py
Python
test/test_sn_attachment.py
kevindurston21/YANOM-Note-O-Matic
c61845791bccfc043759eaa91e189d31d7276ae2
[ "MIT" ]
7
2021-03-01T18:32:26.000Z
2022-02-05T22:45:33.000Z
test/test_sn_attachment.py
kevindurston21/YANOM-Note-O-Matic
c61845791bccfc043759eaa91e189d31d7276ae2
[ "MIT" ]
50
2021-02-28T17:36:49.000Z
2022-03-08T20:09:04.000Z
test/test_sn_attachment.py
kevindurston21/YANOM-Note-O-Matic
c61845791bccfc043759eaa91e189d31d7276ae2
[ "MIT" ]
3
2021-06-17T23:55:23.000Z
2021-08-09T10:29:54.000Z
from pathlib import Path import file_writer import pytest import sn_attachment import conversion_settings class NSXFile: nsx_file_name = 'nsx_file_name' conversion_settings = 'conversion_settings' @staticmethod def fetch_attachment_file(_ignored, _ignored2): return 'file name in nsx' clas...
31.782468
105
0.719481
1,229
9,789
5.285598
0.107404
0.145474
0.091133
0.055419
0.792334
0.748922
0.732759
0.68165
0.673645
0.64455
0
0.019554
0.179794
9,789
307
106
31.885993
0.789513
0.002554
0
0.541284
0
0
0.139316
0.044868
0
0
0
0
0.100917
1
0.110092
false
0.009174
0.022936
0.004587
0.16055
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
479856187d03f96dae8cfe6abd78bff2dd91dc9d
657
py
Python
src/ch07/singlyl_linked_list/abstract_stack.py
shaqsnake/Data-Structures-and-Algorithm-in-Python
a9ff1609524a16ad4946a852694cc69d597e3638
[ "MIT" ]
47
2018-12-03T09:30:14.000Z
2022-03-23T02:24:01.000Z
src/ch07/singlyl_linked_list/abstract_stack.py
shaqsnake/Data-Structures-and-Algorithm-in-Python
a9ff1609524a16ad4946a852694cc69d597e3638
[ "MIT" ]
1
2019-03-27T03:30:27.000Z
2019-03-27T03:30:27.000Z
src/ch07/singlyl_linked_list/abstract_stack.py
loong520/Data-Structures-and-Algorithms-in-Python
2e2ad21c42ea80774898cfdb86796a7e9d2931a3
[ "MIT" ]
24
2018-12-18T01:59:15.000Z
2022-01-30T09:26:58.000Z
from abc import ABC, abstractmethod class AbstractStack(ABC): """Abstract Class for Stacks.""" def __init__(self): self._top = -1 def __len__(self): return self._top + 1 def __repr__(self): res = "->".join(map(str, self)) return 'Top->' + res def is_empty(self): ...
19.323529
39
0.608828
69
657
5.507246
0.434783
0.178947
0.063158
0.323684
0.331579
0
0
0
0
0
0
0.006452
0.292237
657
33
40
19.909091
0.810753
0.039574
0
0.347826
0
0
0.0112
0
0
0
0
0
0
1
0.347826
false
0
0.043478
0.086957
0.565217
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
47a725344605c813f4ad89c26947b7c815c0ce08
130
py
Python
tests/io/test_file.py
midpipps/pyTenable
06aabe929ae482080dc2a63f56234b9a873f78ca
[ "MIT" ]
null
null
null
tests/io/test_file.py
midpipps/pyTenable
06aabe929ae482080dc2a63f56234b9a873f78ca
[ "MIT" ]
null
null
null
tests/io/test_file.py
midpipps/pyTenable
06aabe929ae482080dc2a63f56234b9a873f78ca
[ "MIT" ]
null
null
null
from .fixtures import * from tenable.errors import * import uuid def test_upload(api): api.file.upload('ExampleDataGoesHere')
21.666667
42
0.769231
17
130
5.823529
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.130769
130
6
42
21.666667
0.876106
0
0
0
0
0
0.145038
0
0
0
0
0
0
1
0.2
false
0
0.6
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
47c37c107c008d982bbb11b0a711bf49eeefdbb1
1,133
py
Python
tests/test_HttpTrigger1.py
rnwolf/azure-func-python-layout-old
7d43e191067dcf2d0917a4637711fc0fa25d0aa4
[ "MIT" ]
null
null
null
tests/test_HttpTrigger1.py
rnwolf/azure-func-python-layout-old
7d43e191067dcf2d0917a4637711fc0fa25d0aa4
[ "MIT" ]
null
null
null
tests/test_HttpTrigger1.py
rnwolf/azure-func-python-layout-old
7d43e191067dcf2d0917a4637711fc0fa25d0aa4
[ "MIT" ]
null
null
null
"""Test the HttpTrigger1 Azure function.""" # tests/test_HttpTrigger1.py import azure.functions as func from __app__.HttpTrigger1 import main def test_func_for_user_names_via_params(): """Construct a mock HTTP request.""" req = func.HttpRequest( method="POST", body=None, url="/api/HttpTrigger1", para...
24.630435
88
0.639894
152
1,133
4.611842
0.328947
0.028531
0.047076
0.059914
0.726106
0.726106
0.726106
0.671897
0.671897
0.671897
0
0.006787
0.219771
1,133
45
89
25.177778
0.786199
0.237423
0
0.333333
0
0
0.201912
0
0
0
0
0
0.142857
1
0.142857
false
0.047619
0.095238
0
0.238095
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
47ca28a30fbf89aa8591bbb285941d85b6e2c4a9
276
py
Python
src/backend/util/coords.py
tsvetelina-aleksandrova/Spacekatz
33349008049753234ec1f0b367773608ca2482a2
[ "MIT" ]
null
null
null
src/backend/util/coords.py
tsvetelina-aleksandrova/Spacekatz
33349008049753234ec1f0b367773608ca2482a2
[ "MIT" ]
null
null
null
src/backend/util/coords.py
tsvetelina-aleksandrova/Spacekatz
33349008049753234ec1f0b367773608ca2482a2
[ "MIT" ]
null
null
null
class Coords: def __init__(self, x, y): self.x = x self.y = y def __setattr__(self, attr, value): if isinstance(value, int): object.__setattr__(self, attr, value) else: raise ValueError("Coords should be ints")
25.090909
53
0.557971
34
276
4.176471
0.588235
0.070423
0.211268
0.28169
0
0
0
0
0
0
0
0
0.336957
276
10
54
27.6
0.775956
0
0
0
0
0
0.076087
0
0
0
0
0
0
1
0.222222
false
0
0
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
1
0
0
0
0
0
0
0
3
47cf3726c90a0fb3d8aba9352bf5c4ad7e5ec880
1,018
py
Python
images7/job/clean_cut.py
eblade/images7
7fa7c961e046a178243c866fd1f3b82f7e58c73d
[ "BSD-3-Clause", "MIT" ]
null
null
null
images7/job/clean_cut.py
eblade/images7
7fa7c961e046a178243c866fd1f3b82f7e58c73d
[ "BSD-3-Clause", "MIT" ]
null
null
null
images7/job/clean_cut.py
eblade/images7
7fa7c961e046a178243c866fd1f3b82f7e58c73d
[ "BSD-3-Clause", "MIT" ]
null
null
null
#!/usr/bin/env python3 import os import logging import uuid from jsonobject import PropertySet, Property, register_schema from images7.system import current_system from images7.config import resolve_path from images7.job import JobHandler, Job, register_job_handler, StepStatus from images7.files import get_file_by_u...
19.960784
73
0.721022
126
1,018
5.65873
0.452381
0.077139
0.050491
0.081346
0
0
0
0
0
0
0
0.007426
0.206287
1,018
50
74
20.36
0.875
0.020629
0
0.068966
0
0
0.01506
0
0
0
0
0
0
1
0.034483
false
0.068966
0.310345
0
0.517241
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
47d1bc780a316db686297aebaee9d558b18fac90
83
py
Python
flippy/__init__.py
Kos/flippy
2d77dc1a981ec25025e7e7067a71c142df194d2a
[ "0BSD" ]
6
2019-04-18T08:04:04.000Z
2021-06-23T09:57:18.000Z
flippy/__init__.py
Kos/flippy
2d77dc1a981ec25025e7e7067a71c142df194d2a
[ "0BSD" ]
7
2019-04-24T10:35:27.000Z
2019-10-03T09:13:53.000Z
flippy/__init__.py
Kos/flippy
2d77dc1a981ec25025e7e7067a71c142df194d2a
[ "0BSD" ]
1
2021-04-08T07:24:36.000Z
2021-04-08T07:24:36.000Z
from .flag import Flag from .subject import Subject __all__ = ["Flag", "Subject"]
16.6
29
0.722892
11
83
5.090909
0.454545
0
0
0
0
0
0
0
0
0
0
0
0.156627
83
4
30
20.75
0.8
0
0
0
0
0
0.13253
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
47d3cb2fdbe373a134ab6ce377405531f2498867
14,672
py
Python
tests/basic/tests/views.py
pavanv/django-tastypie
b4ffc642aa56d25d3c577ccae0a03c820b71c4bc
[ "BSD-3-Clause" ]
1,570
2015-02-03T10:19:33.000Z
2022-03-29T10:34:18.000Z
tests/basic/tests/views.py
pavanv/django-tastypie
b4ffc642aa56d25d3c577ccae0a03c820b71c4bc
[ "BSD-3-Clause" ]
587
2015-02-06T13:59:23.000Z
2022-03-09T22:56:30.000Z
tests/basic/tests/views.py
pavanv/django-tastypie
b4ffc642aa56d25d3c577ccae0a03c820b71c4bc
[ "BSD-3-Clause" ]
492
2015-02-07T06:18:36.000Z
2022-03-29T19:06:44.000Z
import json from django.contrib.auth.models import User from django.test import Client from django.test.utils import override_settings from testcases import TestCaseWithFixture class ViewsTestCase(TestCaseWithFixture): def test_gets(self): resp = self.client.get('/api/v1/', data={'format': 'json'}) ...
56.214559
963
0.658192
1,920
14,672
4.916667
0.121875
0.123941
0.054343
0.04322
0.781038
0.751483
0.716314
0.641949
0.609216
0.574364
0
0.028578
0.167666
14,672
260
964
56.430769
0.744432
0.040213
0
0.47619
0
0.037037
0.35021
0.132165
0
0
0
0
0.460317
1
0.10582
false
0.010582
0.026455
0
0.142857
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
47e9ad3cfe311d47399e1491f40990053f8e02d0
2,117
py
Python
appassure/core/IBackgroundJobManagement.py
rshipp/python-appassure
49230249bf5600dc6e7f534baaa81a5402bdf781
[ "BSD-3-Clause" ]
null
null
null
appassure/core/IBackgroundJobManagement.py
rshipp/python-appassure
49230249bf5600dc6e7f534baaa81a5402bdf781
[ "BSD-3-Clause" ]
2
2015-02-11T16:19:30.000Z
2015-04-20T11:14:47.000Z
appassure/core/IBackgroundJobManagement.py
rshipp/python-appassure
49230249bf5600dc6e7f534baaa81a5402bdf781
[ "BSD-3-Clause" ]
null
null
null
"""AppAssure 5 Core API""" from appassure.api import AppAssureAPI class IBackgroundJobManagement(AppAssureAPI): """Full documentation online at http://docs.appassure.com/display/AA50D/IBackgroundJobManagement """ def getJobsForAgentByPage(self, agentId, page): """Gets the current list of jobs...
35.881356
90
0.603212
240
2,117
5.320833
0.320833
0.062647
0.1065
0.150352
0.500392
0.476899
0.450274
0.359436
0.281128
0.247455
0
0.001947
0.272083
2,117
58
91
36.5
0.826736
0.272083
0
0.111111
0
0.037037
0.189324
0.133808
0
0
0
0
0
1
0.296296
false
0.074074
0.037037
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
47fb54be44afe517afb65a2d4050b82585ca9e19
121
py
Python
src/passari_workflow/exceptions.py
finnish-heritage-agency/passari-workflow
b5218d821f8c5c782b7f827ff2a052a2f70c5cf2
[ "MIT" ]
1
2020-06-17T11:01:57.000Z
2020-06-17T11:01:57.000Z
src/passari_workflow/exceptions.py
finnish-heritage-agency/passari-workflow
b5218d821f8c5c782b7f827ff2a052a2f70c5cf2
[ "MIT" ]
null
null
null
src/passari_workflow/exceptions.py
finnish-heritage-agency/passari-workflow
b5218d821f8c5c782b7f827ff2a052a2f70c5cf2
[ "MIT" ]
null
null
null
class WorkflowJobRunningError(ValueError): """ Operation was prevented by a job running in the job queue """
24.2
61
0.702479
14
121
6.071429
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.223141
121
4
62
30.25
0.904255
0.471074
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
9a048ece383f6fee714f1acd4ca1255b209d796c
269
py
Python
src/eval_scripts/configs_eval/config_linemod_occlusion_stages.py
stevsics/attention_6d_pose
5b1da42ddb54efb63e76ed84c65b37b3471f42d6
[ "MIT" ]
3
2022-01-31T17:03:08.000Z
2022-02-23T00:08:32.000Z
src/eval_scripts/configs_eval/config_linemod_occlusion_stages.py
stevsics/attention_6d_pose
5b1da42ddb54efb63e76ed84c65b37b3471f42d6
[ "MIT" ]
null
null
null
src/eval_scripts/configs_eval/config_linemod_occlusion_stages.py
stevsics/attention_6d_pose
5b1da42ddb54efb63e76ed84c65b37b3471f42d6
[ "MIT" ]
null
null
null
model = "stages" eval_occlusion = True results_folder = "../../resources/results" dataset_folder = "../../resources/datasets/linemod_occlusion" mesh_folder = "../../resources/object_models" weights_file = "../../resources/weights/linemod_occlusion_stages/model.ckpt-0"
38.428571
78
0.750929
30
269
6.433333
0.6
0.233161
0
0
0
0
0
0
0
0
0
0.003984
0.066915
269
6
79
44.833333
0.76494
0
0
0
0
0
0.598513
0.576208
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9a05457602098db54095426c80090d8cb86a570e
547
py
Python
survol/sources_types/AC2/trigger/__init__.py
AugustinMascarelli/survol
7a822900e82d1e6f016dba014af5741558b78f15
[ "BSD-3-Clause" ]
null
null
null
survol/sources_types/AC2/trigger/__init__.py
AugustinMascarelli/survol
7a822900e82d1e6f016dba014af5741558b78f15
[ "BSD-3-Clause" ]
null
null
null
survol/sources_types/AC2/trigger/__init__.py
AugustinMascarelli/survol
7a822900e82d1e6f016dba014af5741558b78f15
[ "BSD-3-Clause" ]
null
null
null
""" AC2 trigger """ import os import lib_common from sources_types import AC2 def Graphic_colorbg(): return "#33BB33" def EntityOntology(): return ( ["File","CronId","Trigger"], ) # Ambiguity with tables, oracle or normal users. def MakeUri(configFilename,cronId,triggerName): return lib_common.gUriGen.UriMakeFr...
24.863636
126
0.740402
68
547
5.779412
0.544118
0.091603
0.122137
0
0
0
0
0
0
0
0
0.022727
0.115174
547
21
127
26.047619
0.789256
0.107861
0
0
0
0
0.1125
0
0
0
0
0
0
1
0.363636
false
0
0.272727
0.363636
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9a08058e8d117d3095984ecfe2dac945afe0e38c
185
py
Python
app/src/main/python/main.py
howl-anderson/chaquopy-console
bc5f2a2bdac059c87df76ba514c5f5052a9f1842
[ "MIT" ]
null
null
null
app/src/main/python/main.py
howl-anderson/chaquopy-console
bc5f2a2bdac059c87df76ba514c5f5052a9f1842
[ "MIT" ]
null
null
null
app/src/main/python/main.py
howl-anderson/chaquopy-console
bc5f2a2bdac059c87df76ba514c5f5052a9f1842
[ "MIT" ]
null
null
null
from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello, World!' def main(): app.run(debug=False) if __name__ == "__main__": main()
15.416667
26
0.643243
25
185
4.24
0.6
0.188679
0
0
0
0
0
0
0
0
0
0
0.189189
185
12
27
15.416667
0.706667
0
0
0
0
0
0.11828
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.444444
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
1
0
0
0
1
0
0
0
3
9a0886d9ea354816a677b2d181d26e2f1dccda6d
195
py
Python
avarage.py
BlackBoxSQL/DS-ALGO_BOOK_SOLVE-SHUBIN-
f07fb87d62b757e67082180ae84696c77e62af08
[ "MIT" ]
null
null
null
avarage.py
BlackBoxSQL/DS-ALGO_BOOK_SOLVE-SHUBIN-
f07fb87d62b757e67082180ae84696c77e62af08
[ "MIT" ]
null
null
null
avarage.py
BlackBoxSQL/DS-ALGO_BOOK_SOLVE-SHUBIN-
f07fb87d62b757e67082180ae84696c77e62af08
[ "MIT" ]
null
null
null
def avarage(numbers): if not numbers: return None return sum(numbers)/len(numbers) if __name__ == "__main__": numbers = [1, 2, 3, 4, 5] print(avarage(numbers))
19.5
37
0.584615
25
195
4.24
0.68
0.264151
0
0
0
0
0
0
0
0
0
0.035971
0.287179
195
9
38
21.666667
0.726619
0
0
0
0
0
0.043011
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
0.142857
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9a0b10d49a9b3e3ea0ef3436702a2fe729c91d8e
2,278
py
Python
homework/HW5/HW5-final/linked_list.py
TangJiahui/cs107_system_devlopment
c46d7769683d9be0c31973e3b0666e3fe2a4099b
[ "MIT" ]
null
null
null
homework/HW5/HW5-final/linked_list.py
TangJiahui/cs107_system_devlopment
c46d7769683d9be0c31973e3b0666e3fe2a4099b
[ "MIT" ]
null
null
null
homework/HW5/HW5-final/linked_list.py
TangJiahui/cs107_system_devlopment
c46d7769683d9be0c31973e3b0666e3fe2a4099b
[ "MIT" ]
1
2021-09-21T16:28:51.000Z
2021-09-21T16:28:51.000Z
class LinkedList: def __init__(self, head, tail): assert isinstance(tail, LinkedList) or isinstance(tail, Nil), TypeError( 'tail should either be a LinkedList or a Nil') self._head, self._tail = head, tail @property def head(self): return self._head @property d...
25.595506
90
0.601405
314
2,278
4.073248
0.235669
0.093823
0.056294
0.075059
0.261923
0.229867
0.176701
0.112588
0.112588
0.112588
0
0.005448
0.274802
2,278
89
91
25.595506
0.768765
0.174715
0
0.384615
0
0
0.066023
0.016103
0
0
0
0
0.019231
1
0.442308
false
0
0
0.384615
0.884615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9a15f02590b7a53d8b849475e3a3a33a9c568f30
2,488
py
Python
walky/port.py
tallynerdy/walky
fab2dbf6471f1f8cc50edc6467d8d7dd1d9e12d0
[ "MIT" ]
null
null
null
walky/port.py
tallynerdy/walky
fab2dbf6471f1f8cc50edc6467d8d7dd1d9e12d0
[ "MIT" ]
null
null
null
walky/port.py
tallynerdy/walky
fab2dbf6471f1f8cc50edc6467d8d7dd1d9e12d0
[ "MIT" ]
null
null
null
import weakref import logging import datetime _logger = logging.getLogger(__name__) class Port(object): _connection = None _active = True _active_timeout = False def __init__(self,id,*args,**kwargs): """ Note: Connection is attached afterwards TODO: Better documentation or layout...
29.619048
78
0.600482
291
2,488
5.017182
0.408935
0.062329
0.018493
0.026712
0.057534
0
0
0
0
0
0
0.001176
0.316318
2,488
83
79
29.975904
0.857143
0.332396
0
0.095238
0
0
0.029086
0
0
0
0
0.024096
0
1
0.214286
false
0.095238
0.071429
0
0.452381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
9a20301a0a66bdf36659f8708d25d883426a181d
146
py
Python
pyprojectstats/analyse/notebook.py
cdeil/pyprojectstats
fad357c87dc8f2db1091272ce48084fa0b8352e0
[ "MIT" ]
1
2019-05-14T11:52:32.000Z
2019-05-14T11:52:32.000Z
pyprojectstats/analyse/notebook.py
cdeil/pyprojectstats
fad357c87dc8f2db1091272ce48084fa0b8352e0
[ "MIT" ]
null
null
null
pyprojectstats/analyse/notebook.py
cdeil/pyprojectstats
fad357c87dc8f2db1091272ce48084fa0b8352e0
[ "MIT" ]
null
null
null
"""Analyse a Jupyter notebook.""" from .core import BaseFile class NotebookFile(BaseFile): filetype = "notebook" extensions = ["ipynb"]
18.25
33
0.691781
15
146
6.733333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.178082
146
7
34
20.857143
0.841667
0.184932
0
0
0
0
0.115044
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
9a401474a422b8aa20194f8445e31877e153a11f
1,139
py
Python
spatiotemporal/serializers.py
ResonantGeoData/django-image-annotations
3e02f7b5c4ceb807221d1c463a85221e37877001
[ "Apache-2.0" ]
null
null
null
spatiotemporal/serializers.py
ResonantGeoData/django-image-annotations
3e02f7b5c4ceb807221d1c463a85221e37877001
[ "Apache-2.0" ]
16
2022-03-08T14:03:10.000Z
2022-03-29T14:50:52.000Z
spatiotemporal/serializers.py
ResonantGeoData/django-image-annotations
3e02f7b5c4ceb807221d1c463a85221e37877001
[ "Apache-2.0" ]
null
null
null
"""Django REST Framework serializers. This module contains the DRF serializers. These allow manipulating the Django models represented by JSON. https://www.django-rest-framework.org/api-guide/serializers/ """ from rest_framework import serializers from spatiotemporal.models import ( Coverage, Extent, Me...
20.709091
60
0.702371
103
1,139
7.524272
0.407767
0.20129
0.24
0.270968
0.309677
0
0
0
0
0
0
0
0.224759
1,139
54
61
21.092593
0.87769
0.178227
0
0.363636
0
0
0.04521
0
0
0
0
0
0
1
0
false
0
0.060606
0
0.424242
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9a42e2217fe4f5d16cd1ee90da2fd7eccdf864b2
200
py
Python
Modulo-03/ex114/ex114.py
Matheus-Henrique-Burey/Curso-de-Python
448aebaab96527affa1e45897a662bb0407c11c6
[ "MIT" ]
null
null
null
Modulo-03/ex114/ex114.py
Matheus-Henrique-Burey/Curso-de-Python
448aebaab96527affa1e45897a662bb0407c11c6
[ "MIT" ]
null
null
null
Modulo-03/ex114/ex114.py
Matheus-Henrique-Burey/Curso-de-Python
448aebaab96527affa1e45897a662bb0407c11c6
[ "MIT" ]
null
null
null
import urllib.request try: site = urllib.request.urlopen('http://www.pudim.com.br') except ValueError: print('O site pudin esta indisponivel') else: print('O site pudin esta disponivel')
22.222222
60
0.715
28
200
5.107143
0.714286
0.181818
0.13986
0.20979
0.265734
0
0
0
0
0
0
0
0.16
200
8
61
25
0.85119
0
0
0
0
0
0.405
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.285714
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9a46afd3cc74029cf6deb4b908377802320372de
357
py
Python
paybills/admin.py
iogf/django-paybills
2fa02c2b1c6dfb61adce3150a1e8f6bb215a6cd7
[ "MIT" ]
null
null
null
paybills/admin.py
iogf/django-paybills
2fa02c2b1c6dfb61adce3150a1e8f6bb215a6cd7
[ "MIT" ]
null
null
null
paybills/admin.py
iogf/django-paybills
2fa02c2b1c6dfb61adce3150a1e8f6bb215a6cd7
[ "MIT" ]
null
null
null
from django.contrib import admin # Register your models here. from . import models admin.site.register(models.BasicItem) admin.site.register(models.PaymentProcess) admin.site.register(models.PaymentSuccess) admin.site.register(models.SubscriptionProcess) admin.site.register(models.SubscriptionSuccess) admin.site.regi...
22.3125
47
0.834734
42
357
7.095238
0.380952
0.181208
0.342282
0.463087
0
0
0
0
0
0
0
0
0.070028
357
15
48
23.8
0.89759
0.072829
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
0
0
null
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
1
0
0
0
0
0
0
3
9a5bc7d40725520abe6c074304d7fb49ac93738a
319
py
Python
src/models/global_results.py
moevm/nosql1h19-text-graph
410f156ad4f232f8aa060d43692ab020610ddfd4
[ "MIT" ]
null
null
null
src/models/global_results.py
moevm/nosql1h19-text-graph
410f156ad4f232f8aa060d43692ab020610ddfd4
[ "MIT" ]
null
null
null
src/models/global_results.py
moevm/nosql1h19-text-graph
410f156ad4f232f8aa060d43692ab020610ddfd4
[ "MIT" ]
null
null
null
from neomodel import JSONProperty, StructuredNode __all__ = ['GlobalResults'] class GlobalResults(StructuredNode): accs = JSONProperty(required=True) # Результаты анализа связей stats = JSONProperty(required=True) # Результаты анализа вершин algs = JSONProperty(required=True) # Включенные алгоритмы
29
68
0.77116
30
319
8.066667
0.633333
0.247934
0.297521
0.280992
0.338843
0
0
0
0
0
0
0
0.153605
319
10
69
31.9
0.896296
0.225705
0
0
0
0
0.053498
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.833333
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7bd2e1eeb05275132147c107eac4c34a54e9e673
352
py
Python
backend/src/analyzer/tagger.py
matheus-lima/Fact-Check
b7bdac3ac2dc689855eba581a54845094ea04a54
[ "MIT" ]
null
null
null
backend/src/analyzer/tagger.py
matheus-lima/Fact-Check
b7bdac3ac2dc689855eba581a54845094ea04a54
[ "MIT" ]
null
null
null
backend/src/analyzer/tagger.py
matheus-lima/Fact-Check
b7bdac3ac2dc689855eba581a54845094ea04a54
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding : utf-8 -*- ''' Auth: Matheus Lima Github: github.com/matheus-lima ''' import nlpnet import os class Tagger(object): def __init__(self): self.tagger = nlpnet.POSTagger(os.path.dirname(os.path.realpath(__file__)) + "/pos-pt", language='pt') def tag(self, token): ...
23.466667
110
0.65625
49
352
4.55102
0.653061
0.098655
0
0
0
0
0
0
0
0
0
0.010204
0.164773
352
15
111
23.466667
0.748299
0.258523
0
0
0
0
0.035573
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7bd34814810c0ee178bf238610466b6d5607210e
564
py
Python
protocol_lib/__init__.py
eganjs/protocol-lib
d7b16526c55e018ca41f5ecb82ee9cade6cec21e
[ "MIT" ]
null
null
null
protocol_lib/__init__.py
eganjs/protocol-lib
d7b16526c55e018ca41f5ecb82ee9cade6cec21e
[ "MIT" ]
2
2020-11-19T14:09:00.000Z
2020-11-19T14:09:50.000Z
protocol_lib/__init__.py
eganjs/protocol-lib
d7b16526c55e018ca41f5ecb82ee9cade6cec21e
[ "MIT" ]
null
null
null
__version__ = "1.0.0" from protocol_lib.collection import ICollection from protocol_lib.container import IContainer from protocol_lib.hashable import IHashable from protocol_lib.iterable import IIterable, IIterator, IReversible from protocol_lib.mapping import IMapping from protocol_lib.sequence import IMutableSequenc...
24.521739
67
0.755319
60
564
6.85
0.416667
0.20438
0.255474
0
0
0
0
0
0
0
0
0.006329
0.159574
564
22
68
25.636364
0.860759
0
0
0
0
0
0.182624
0
0
0
0
0
0
1
0
false
0
0.35
0
0.35
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7bd89d6b5e32837c9424fedbb37d3cb865b3679b
271
py
Python
tests/__main__.py
ericsnowcurrently/interpreters
6f9ef74015a95a0a1fdbb83a4ffc7b3b2e4979d0
[ "BSD-2-Clause" ]
5
2018-08-04T08:32:43.000Z
2022-02-09T00:02:54.000Z
tests/__main__.py
ericsnowcurrently/interpreters
6f9ef74015a95a0a1fdbb83a4ffc7b3b2e4979d0
[ "BSD-2-Clause" ]
null
null
null
tests/__main__.py
ericsnowcurrently/interpreters
6f9ef74015a95a0a1fdbb83a4ffc7b3b2e4979d0
[ "BSD-2-Clause" ]
1
2018-08-04T08:32:45.000Z
2018-08-04T08:32:45.000Z
import unittest from . import PROJECT_ROOT, TEST_ROOT if __name__ == '__main__': suite = unittest.defaultTestLoader.discover(TEST_ROOT, top_level_dir=PROJECT_ROOT) unittest.TextTestRunner(verbosity=2).run(suite)
27.1
75
0.645756
28
271
5.75
0.678571
0.136646
0
0
0
0
0
0
0
0
0
0.005102
0.276753
271
9
76
30.111111
0.816327
0
0
0
0
0
0.02952
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7bdaa839644acc1ac8ab9d2e46375fb2e0e3514f
326
py
Python
src/type.py
Wild-Family/binance-api-client
2771bc19f8bbb3a56de8da76a9f12691042522f3
[ "Apache-2.0" ]
null
null
null
src/type.py
Wild-Family/binance-api-client
2771bc19f8bbb3a56de8da76a9f12691042522f3
[ "Apache-2.0" ]
null
null
null
src/type.py
Wild-Family/binance-api-client
2771bc19f8bbb3a56de8da76a9f12691042522f3
[ "Apache-2.0" ]
null
null
null
import dataclasses import os @dataclasses.dataclass class Failure: message: str exception: Exception = Exception() def exit(self) -> None: print("exit: ", self.message, self.exception) os.sys.exit(1) def print_message(self) -> None: print("message: ", self.message, self.excep...
20.375
56
0.650307
38
326
5.552632
0.421053
0.208531
0.123223
0.227488
0
0
0
0
0
0
0
0.003968
0.226994
326
15
57
21.733333
0.833333
0
0
0
0
0
0.046012
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.636364
0.272727
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
1
0
0
3
7be17ac0b7b2e25b0032f2ec10c92dfc7eb28cb0
139
py
Python
cordex/cmor/__init__.py
ludwiglierhammer/py-cordex
0896017ac3be444e62600921cf586b6445a2b108
[ "MIT" ]
3
2020-12-02T17:37:59.000Z
2022-03-02T07:17:29.000Z
cordex/cmor/__init__.py
ludwiglierhammer/py-cordex
0896017ac3be444e62600921cf586b6445a2b108
[ "MIT" ]
37
2020-10-19T13:34:26.000Z
2022-03-30T10:26:12.000Z
cordex/cmor/__init__.py
ludwiglierhammer/py-cordex
0896017ac3be444e62600921cf586b6445a2b108
[ "MIT" ]
2
2020-10-28T11:42:31.000Z
2022-01-21T06:08:35.000Z
from .utils import ( to_cftime, season, season_bounds, mid_of_season, mid_of_month, month_bounds, to_cftime, )
13.9
20
0.640288
18
139
4.5
0.555556
0.197531
0
0
0
0
0
0
0
0
0
0
0.28777
139
9
21
15.444444
0.818182
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
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
1
0
0
0
0
0
0
3
d02557977adadb58e80b359000e083a9f1505a40
6,680
py
Python
example/dj/apps/issue_tracker/tests/ui_permissions.py
druids/django-fperms-iscore
8e919cdc70ed57e0eb6407469de9ef2441ae06ad
[ "MIT" ]
1
2019-10-07T12:40:38.000Z
2019-10-07T12:40:38.000Z
example/dj/apps/issue_tracker/tests/ui_permissions.py
druids/django-fperms-iscore
8e919cdc70ed57e0eb6407469de9ef2441ae06ad
[ "MIT" ]
3
2019-08-09T14:10:21.000Z
2022-02-01T13:48:01.000Z
example/dj/apps/issue_tracker/tests/ui_permissions.py
druids/django-fperms-iscore
8e919cdc70ed57e0eb6407469de9ef2441ae06ad
[ "MIT" ]
null
null
null
from django.test import override_settings from germanium.decorators import login from germanium.test_cases.client import ClientTestCase from germanium.tools.http import ( assert_http_redirect, assert_http_ok, assert_http_forbidden, assert_http_bad_request, assert_http_accepted ) from fperms.models import Perm, Gr...
38.171429
110
0.620509
832
6,680
4.710337
0.112981
0.117377
0.067364
0.065323
0.76295
0.757591
0.749936
0.698392
0.6716
0.657566
0
0.000764
0.216617
6,680
174
111
38.390805
0.748137
0.007036
0
0.694656
0
0
0.165182
0.047562
0
0
0
0
0.320611
1
0.076336
false
0.038168
0.045802
0
0.129771
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d08d3c171652088b564f3bbccfc3ee245d1a3142
7,855
py
Python
Unsupported/PythonVCL/Lib/delphi/D4/ExtCtrls.py
PCVCPAULO/python4delphi
b7c2ee9c057407dc9d0ab28f39604ca0cc5a39ee
[ "MIT" ]
1
2020-01-26T21:14:09.000Z
2020-01-26T21:14:09.000Z
Unsupported/PythonVCL/Lib/delphi/D4/ExtCtrls.py
PCVCPAULO/python4delphi
b7c2ee9c057407dc9d0ab28f39604ca0cc5a39ee
[ "MIT" ]
1
2020-02-04T23:22:21.000Z
2020-02-04T23:22:21.000Z
Unsupported/PythonVCL/Lib/delphi/D4/ExtCtrls.py
PCVCPAULO/python4delphi
b7c2ee9c057407dc9d0ab28f39604ca0cc5a39ee
[ "MIT" ]
1
2019-12-30T04:42:53.000Z
2019-12-30T04:42:53.000Z
### # This file was generated by VCL Generator # Copyright 1998 - Morgan Martinet # 06/07/1999 07:59:00 # it declares the symbols of the Delphi unit ExtCtrls.pas ### from System import * from Classes import * from Controls import * from Forms import * from Menus import * from Graphics import * from St...
32.729167
96
0.600637
709
7,855
6.365303
0.19323
0.093064
0.093064
0.126302
0.644361
0.569909
0.533348
0.428097
0.166187
0.166187
0
0.006404
0.224698
7,855
239
97
32.866109
0.734647
0.060471
0
0.355263
1
0
0
0
0
0
0
0
0
1
0.355263
false
0
0.052632
0.355263
0.861842
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
d091b755ca276cc41805ddb41bb1d55b2619c47f
55
py
Python
python/testData/completion/dunderAllReferenceImport.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/completion/dunderAllReferenceImport.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/completion/dunderAllReferenceImport.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
from sys import hexversion __all__ = ['hexve<caret>']
13.75
26
0.727273
7
55
5.142857
1
0
0
0
0
0
0
0
0
0
0
0
0.145455
55
3
27
18.333333
0.765957
0
0
0
0
0
0.218182
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d0a8410cf3c186691b86802ecf8b47cb9caf082b
717
py
Python
loyo_python_test.py
ethanhorrigan/changelater
0a8b05991a3daeb64a05eadac5763fe0dc8bee96
[ "Apache-2.0" ]
null
null
null
loyo_python_test.py
ethanhorrigan/changelater
0a8b05991a3daeb64a05eadac5763fe0dc8bee96
[ "Apache-2.0" ]
24
2020-01-26T19:14:20.000Z
2020-02-29T16:36:31.000Z
loyo_python_test.py
ethanhorrigan/changelater
0a8b05991a3daeb64a05eadac5763fe0dc8bee96
[ "Apache-2.0" ]
null
null
null
from api import PasswordSetup, Summoner import api import unittest class SimpleTest(unittest.TestCase): """Conducts tests for the back-end of the application Arguments: unittest -- using pythons unnitest lib for unit testing. """ def test_get_tier(self): self.assertEqual(Summoner....
28.68
81
0.690377
89
717
5.325843
0.505618
0.059072
0.160338
0.170886
0.189873
0
0
0
0
0
0
0.008651
0.193863
717
25
82
28.68
0.811419
0.171548
0
0
0
0
0.09913
0
0
0
0
0
0.285714
1
0.285714
false
0.071429
0.214286
0
0.571429
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
1
0
0
0
0
0
3
d0a9a4d8472c75225f11f386486e1efc4bbae6b0
888
py
Python
sra_django_api/user/migrations/0008_auto_20180917_1636.py
tflati/ncbi-search
2f31c57ffb95c2c874b65c03c58edd96eb822dfb
[ "MIT" ]
null
null
null
sra_django_api/user/migrations/0008_auto_20180917_1636.py
tflati/ncbi-search
2f31c57ffb95c2c874b65c03c58edd96eb822dfb
[ "MIT" ]
null
null
null
sra_django_api/user/migrations/0008_auto_20180917_1636.py
tflati/ncbi-search
2f31c57ffb95c2c874b65c03c58edd96eb822dfb
[ "MIT" ]
null
null
null
# Generated by Django 2.0.3 on 2018-09-17 16:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user', '0007_auto_20180917_1226'), ] operations = [ migrations.AddField( model_name='project', name='all_bioprojects...
26.117647
57
0.572072
81
888
6.135802
0.469136
0.144869
0.185111
0.217304
0.643863
0.565392
0.565392
0.482897
0.482897
0.482897
0
0.057756
0.317568
888
33
58
26.909091
0.762376
0.050676
0
0.592593
1
0
0.120095
0.027348
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d0c156e13334094758468d086ef4d6879cac896a
138
py
Python
板载资源/Python/01.example/11.vvBox/Matrix_test.py
xiezuoru/vvBoard-docs
4e13b4a6699cc937f2c61b60c8a6523b1f3557c6
[ "MIT" ]
13
2019-08-19T10:08:52.000Z
2021-08-08T03:41:20.000Z
板载资源/Python/01.example/11.vvBox/Matrix_test.py
xiezuoru/vvBoard-docs
4e13b4a6699cc937f2c61b60c8a6523b1f3557c6
[ "MIT" ]
null
null
null
板载资源/Python/01.example/11.vvBox/Matrix_test.py
xiezuoru/vvBoard-docs
4e13b4a6699cc937f2c61b60c8a6523b1f3557c6
[ "MIT" ]
8
2019-08-18T08:54:49.000Z
2021-08-17T07:59:13.000Z
from mtx import MTX import time mtx = MTX() val = "123abc" while True: if mtx.burn_complete: mtx.write(val) time.sleep(6)
15.333333
25
0.644928
22
138
4
0.636364
0.204545
0
0
0
0
0
0
0
0
0
0.038462
0.246377
138
8
26
17.25
0.807692
0
0
0
0
0
0.043478
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d0d7ae5d0c3df268d0d13aded77dc713936127e5
316
py
Python
blog/forms/cbv_forms.py
Vardancer/django_blog
d5dae0e4f05bd306d39dd63d289ca7ed48b516d1
[ "BSD-2-Clause" ]
null
null
null
blog/forms/cbv_forms.py
Vardancer/django_blog
d5dae0e4f05bd306d39dd63d289ca7ed48b516d1
[ "BSD-2-Clause" ]
7
2019-12-04T22:27:15.000Z
2022-02-10T07:57:32.000Z
blog/forms/cbv_forms.py
Vardancer/django_blog
d5dae0e4f05bd306d39dd63d289ca7ed48b516d1
[ "BSD-2-Clause" ]
null
null
null
from django.forms import models from blog.models import Article, Comment class AddCommentForm(models.ModelForm): class Meta: model = Comment fields = ['comment'] class CreateArticleForm(models.ModelForm): class Meta: model = Article fields = ['title', 'text', 'active']
18.588235
44
0.658228
33
316
6.30303
0.545455
0.115385
0.192308
0.230769
0.278846
0
0
0
0
0
0
0
0.243671
316
16
45
19.75
0.870293
0
0
0.2
0
0
0.070064
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
d0dd75e83c04409eb79e680cceee4aee7d2464fc
13,934
py
Python
pysnmp-with-texts/ZHONE-COM-IP-FTP-CLIENT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/ZHONE-COM-IP-FTP-CLIENT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/ZHONE-COM-IP-FTP-CLIENT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ZHONE-COM-IP-FTP-CLIENT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ZHONE-COM-IP-FTP-CLIENT-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:47:05 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python versio...
174.175
991
0.79446
1,754
13,934
6.309008
0.224629
0.044461
0.077806
0.006868
0.302097
0.186608
0.128411
0.11323
0.11323
0.091903
0
0.043848
0.106359
13,934
79
992
176.379747
0.844844
0.024975
0
0
0
0.267606
0.465567
0.024306
0
0
0
0
0
1
0
false
0.098592
0.112676
0
0.112676
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
d0ee7290970d7eed33e0d9d88fbb867dc93e00e1
4,082
py
Python
tests/test_metrics.py
Okroshiashvili/PyRoMetrics
5bb736bf95da8b092347127f2c98a93e0c16abd8
[ "BSD-3-Clause" ]
null
null
null
tests/test_metrics.py
Okroshiashvili/PyRoMetrics
5bb736bf95da8b092347127f2c98a93e0c16abd8
[ "BSD-3-Clause" ]
null
null
null
tests/test_metrics.py
Okroshiashvili/PyRoMetrics
5bb736bf95da8b092347127f2c98a93e0c16abd8
[ "BSD-3-Clause" ]
null
null
null
import numpy as np from pyrometrics.metrics import ( me, mae, nae, mase, mdae, gmae, mse, rmse, rmsse, nrmse, inrse, mpe, mape, smape, mdape, smdape, maape, rmspe, rmdspe, nape, mre, rae, mrae, mdrae, rrse, gmrae, ...
13.884354
60
0.639637
527
4,082
4.899431
0.149905
0.336948
0.2134
0.271108
0.330751
0.330751
0.032533
0.032533
0
0
0
0.065923
0.253062
4,082
293
61
13.931741
0.780912
0
0
0.195946
0
0
0
0
0
0
0
0
0.189189
1
0.195946
false
0
0.013514
0
0.209459
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d0f2e7adcaadd07349228c141a269cff92b93ad6
162
py
Python
vanzare/facturacion/apps.py
leonardoo/vanzare
0fb3193934b2c2941fda71191de7eb4015d36508
[ "MIT" ]
null
null
null
vanzare/facturacion/apps.py
leonardoo/vanzare
0fb3193934b2c2941fda71191de7eb4015d36508
[ "MIT" ]
12
2018-06-19T03:20:27.000Z
2020-10-07T17:28:40.000Z
vanzare/facturacion/apps.py
leonardoo/vanzare
0fb3193934b2c2941fda71191de7eb4015d36508
[ "MIT" ]
4
2018-05-31T14:26:45.000Z
2019-07-06T06:42:05.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class FacturacionConfig(AppConfig): name = 'facturacion'
18
39
0.746914
18
162
6.444444
0.833333
0
0
0
0
0
0
0
0
0
0
0.007299
0.154321
162
8
40
20.25
0.839416
0.12963
0
0
0
0
0.079137
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
19037f1da34076d3e7a5f080f59703837b6cf3b1
393
py
Python
players-api/players-api/apps/players/api.py
olist/techtalk-arquitetura
9404cc2c1963fe883ab2b68a48ad3d34d544462c
[ "MIT" ]
3
2020-03-26T20:53:27.000Z
2020-09-01T19:55:39.000Z
players-api/players-api/apps/players/api.py
olist/techtalk-arquitetura
9404cc2c1963fe883ab2b68a48ad3d34d544462c
[ "MIT" ]
13
2021-03-30T13:00:27.000Z
2021-09-22T19:43:44.000Z
players-api/players-api/apps/players/api.py
olist/techtalk-arquitetura
9404cc2c1963fe883ab2b68a48ad3d34d544462c
[ "MIT" ]
null
null
null
from rest_framework.viewsets import ModelViewSet from apps.players.models import Player from apps.players.serializers import PlayerSerializer class PlayerViewSet(ModelViewSet): filterset_fields = ("name", "position") ordering_fields = ("name", "position", "goals") search_fields = ("name", "position") ...
30.230769
53
0.753181
41
393
7.097561
0.609756
0.103093
0.185567
0
0
0
0
0
0
0
0
0
0.142494
393
12
54
32.75
0.863501
0
0
0
0
0
0.104326
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ef6c60328c0c7044b16e0d43ed61c376991d0bd0
514
py
Python
django/reviewApp/migrations/0037_rename_create_by_album_created_by_and_more.py
Akasiek/scorethatlp
1c669afdaa8fe990e53706f5e60d201fbb76c26a
[ "MIT" ]
5
2022-03-15T18:00:40.000Z
2022-03-25T18:19:29.000Z
django/reviewApp/migrations/0037_rename_create_by_album_created_by_and_more.py
Akasiek/scorethatlp
1c669afdaa8fe990e53706f5e60d201fbb76c26a
[ "MIT" ]
null
null
null
django/reviewApp/migrations/0037_rename_create_by_album_created_by_and_more.py
Akasiek/scorethatlp
1c669afdaa8fe990e53706f5e60d201fbb76c26a
[ "MIT" ]
null
null
null
# Generated by Django 4.0.2 on 2022-03-06 18:56 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('reviewApp', '0036_artist_create_by'), ] operations = [ migrations.RenameField( model_name='album', old_name='create_by', ...
21.416667
47
0.564202
54
514
5.12963
0.574074
0.086643
0.187726
0.216607
0.223827
0.223827
0.223827
0.223827
0
0
0
0.054755
0.324903
514
23
48
22.347826
0.743516
0.087549
0
0.470588
1
0
0.169165
0.044968
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ef97f9f1194a797313798b7fe3076786f7763fc7
832
py
Python
Data_Collector.py
Atomatrons/CityShaper
b1e6ae01e53becb41a21eb99c1e767e948544085
[ "MIT" ]
null
null
null
Data_Collector.py
Atomatrons/CityShaper
b1e6ae01e53becb41a21eb99c1e767e948544085
[ "MIT" ]
null
null
null
Data_Collector.py
Atomatrons/CityShaper
b1e6ae01e53becb41a21eb99c1e767e948544085
[ "MIT" ]
null
null
null
#!/usr/bin/env micropython import Robot import My_block import random from time import sleep Robot.gyro.compass_point = 0 Robot.log("BEGIN TEST") """ # Test bounceback Robot.log("My_block.spin_turn"); Target_Angle = 120 for spins in range(0, 300): My_block.spin_turn(Target_Angle) Target_Angle = Target_Angle + rand...
21.333333
55
0.760817
133
832
4.556391
0.293233
0.217822
0.148515
0.217822
0.683168
0.643564
0.536304
0.536304
0.536304
0.536304
0
0.058424
0.115385
832
38
56
21.894737
0.764946
0.057692
0
0
0
0
0.131367
0.069705
0
0
0
0
0
1
0
false
0.071429
0.285714
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
1
0
0
0
0
0
3
efa648fdcfcdddfd5569d2cff97ae194d2e453c9
134
py
Python
boa/tests/src/AddTest4.py
chisleu/neo-boa
799bb37f7e7862215f94f479cfe74a4dd4b8cba2
[ "MIT" ]
2
2017-11-27T08:45:34.000Z
2021-03-08T03:08:56.000Z
boa/tests/src/AddTest4.py
chisleu/neo-boa
799bb37f7e7862215f94f479cfe74a4dd4b8cba2
[ "MIT" ]
2
2018-02-13T07:30:09.000Z
2021-06-01T22:02:52.000Z
boa/tests/src/AddTest4.py
localhuman/neo-boa
799bb37f7e7862215f94f479cfe74a4dd4b8cba2
[ "MIT" ]
null
null
null
def Main(a, b, c, d): """ :param a: :param b: :param c: :param d: :return: """ return a + b - c * d
11.166667
24
0.380597
20
134
2.55
0.4
0.078431
0.117647
0.156863
0
0
0
0
0
0
0
0
0.432836
134
11
25
12.181818
0.671053
0.358209
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
efae2f6bf54d72154c78bcbad939bbf67bd1c5c6
161
py
Python
BitMagic/single.py
Anshir08/D.S.A.
39d518a6edf0b9a9468c6b44e7795275de9b39e6
[ "MIT" ]
null
null
null
BitMagic/single.py
Anshir08/D.S.A.
39d518a6edf0b9a9468c6b44e7795275de9b39e6
[ "MIT" ]
null
null
null
BitMagic/single.py
Anshir08/D.S.A.
39d518a6edf0b9a9468c6b44e7795275de9b39e6
[ "MIT" ]
null
null
null
def findSingle(arr): res = arr[0] for i in arr[1::]: res = res^arr[i] return res arr = [7, 3, 5, 4, 5, 3, 4] print(findSingle(arr))
17.888889
28
0.496894
28
161
2.857143
0.535714
0.225
0
0
0
0
0
0
0
0
0
0.083333
0.329193
161
9
29
17.888889
0.657407
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0.142857
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
efb899f628fd1489ea8921104c8a34ea378f7772
613
py
Python
fuzion/registration/__init__.py
everthere-co/fuzion
ea0cf7a6db09504ce0004500c0f7e7dba3a6afe0
[ "MIT" ]
null
null
null
fuzion/registration/__init__.py
everthere-co/fuzion
ea0cf7a6db09504ce0004500c0f7e7dba3a6afe0
[ "MIT" ]
null
null
null
fuzion/registration/__init__.py
everthere-co/fuzion
ea0cf7a6db09504ce0004500c0f7e7dba3a6afe0
[ "MIT" ]
null
null
null
from fuzion.resource import Resource from fuzion.mixins import RetrieveNotSupportedMixin class Attendee(RetrieveNotSupportedMixin, Resource): path = "attendees" object_id_attr_name = "fuzion_attendee_id" class Option(RetrieveNotSupportedMixin, Resource): path = "attendee-options" object_id_attr_name...
26.652174
55
0.78956
65
613
7.138462
0.307692
0.284483
0.318966
0.137931
0.189655
0
0
0
0
0
0
0
0.137031
613
22
56
27.863636
0.877127
0
0
0
0
0
0.216966
0.068516
0
0
0
0
0
1
0
false
0
0.142857
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
efbf58d40dd3d0185a1e7d71bb4fd724db6ab5b5
280
py
Python
api_service/wsgi.py
dukedbgroup/BayesianTuner
e74dc61c846c3beab95ca2140c1aab1d5179e208
[ "Apache-2.0" ]
13
2018-03-10T23:32:16.000Z
2019-09-10T14:20:46.000Z
api_service/wsgi.py
dukedbgroup/BayesianTuner
e74dc61c846c3beab95ca2140c1aab1d5179e208
[ "Apache-2.0" ]
null
null
null
api_service/wsgi.py
dukedbgroup/BayesianTuner
e74dc61c846c3beab95ca2140c1aab1d5179e208
[ "Apache-2.0" ]
1
2018-12-12T22:17:51.000Z
2018-12-12T22:17:51.000Z
from flask import Flask from werkzeug.wsgi import DispatcherMiddleware from api_service.app import app as api_service_app from api_service.ui import app as api_service_ui app = DispatcherMiddleware(Flask(__name__), { "/api/v1": api_service_app, "/ui": api_service_ui })
25.454545
50
0.785714
42
280
4.904762
0.309524
0.291262
0.18932
0.135922
0.203884
0
0
0
0
0
0
0.004149
0.139286
280
10
51
28
0.850622
0
0
0
0
0
0.035714
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
efc18d55e08bd5b8319855fc9235176db23ea240
130
py
Python
alibi_detect/models/pytorch/__init__.py
sugatoray/alibi-detect
66d7873c248c0be1a1d836e6fe1ef59351b802d9
[ "Apache-2.0" ]
1,227
2019-11-19T15:38:40.000Z
2022-03-31T11:18:32.000Z
alibi_detect/models/pytorch/__init__.py
sugatoray/alibi-detect
66d7873c248c0be1a1d836e6fe1ef59351b802d9
[ "Apache-2.0" ]
323
2019-11-21T18:41:00.000Z
2022-03-31T21:08:56.000Z
alibi_detect/models/pytorch/__init__.py
sugatoray/alibi-detect
66d7873c248c0be1a1d836e6fe1ef59351b802d9
[ "Apache-2.0" ]
133
2019-11-19T14:23:23.000Z
2022-03-31T07:55:43.000Z
from .embedding import TransformerEmbedding from .trainer import trainer __all__ = [ "TransformerEmbedding", "trainer" ]
16.25
43
0.746154
11
130
8.454545
0.545455
0
0
0
0
0
0
0
0
0
0
0
0.176923
130
7
44
18.571429
0.869159
0
0
0
0
0
0.207692
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
efc5cf78a0d361cad7b024ad756fd345c1471536
2,026
py
Python
ipysimulate/parameters.py
JoelForamitti/ipysimulate
06753f9ef48c82b96b1b2c736accee3dcbbf1a22
[ "BSD-3-Clause" ]
5
2021-06-03T06:38:38.000Z
2021-12-27T17:33:06.000Z
ipysimulate/parameters.py
JoelForamitti/ipysimulate
06753f9ef48c82b96b1b2c736accee3dcbbf1a22
[ "BSD-3-Clause" ]
null
null
null
ipysimulate/parameters.py
JoelForamitti/ipysimulate
06753f9ef48c82b96b1b2c736accee3dcbbf1a22
[ "BSD-3-Clause" ]
null
null
null
class Range: """ A range of parameter values that can be passed to :class:`Control`. Arguments: vmin (float, optional): Minimum value for this parameter (default 0). vmax (float, optional): Maximum value for this parameter (default 1). vdef (float, optional)...
29.362319
77
0.602665
268
2,026
4.451493
0.227612
0.040235
0.067058
0.070411
0.627829
0.568315
0.521375
0.477787
0.477787
0.211232
0
0.006338
0.299112
2,026
69
78
29.362319
0.833803
0.494571
0
0.208333
0
0
0.161074
0
0
0
0
0
0
1
0.291667
false
0
0
0.166667
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
efed165a761e378673b3285ccc843414f536c696
199
py
Python
examples/dagster_examples_tests/gcp_data_platform_tests/test_repo.py
vatervonacht/dagster
595d78c883ef20618052ac1575fe46cde51fd541
[ "Apache-2.0" ]
3
2020-09-09T04:10:23.000Z
2021-11-08T02:10:42.000Z
examples/dagster_examples_tests/gcp_data_platform_tests/test_repo.py
vatervonacht/dagster
595d78c883ef20618052ac1575fe46cde51fd541
[ "Apache-2.0" ]
2
2021-05-11T13:36:27.000Z
2021-09-03T01:53:11.000Z
examples/dagster_examples_tests/gcp_data_platform_tests/test_repo.py
vatervonacht/dagster
595d78c883ef20618052ac1575fe46cde51fd541
[ "Apache-2.0" ]
1
2021-02-21T12:16:47.000Z
2021-02-21T12:16:47.000Z
from dagster_examples.gcp_data_platform.repo import define_repo def test_define_repo(): repo = define_repo() assert repo.name == 'gcp_pipeline' assert repo.has_pipeline('gcp_pipeline')
24.875
63
0.763819
28
199
5.071429
0.535714
0.211268
0
0
0
0
0
0
0
0
0
0
0.145729
199
7
64
28.428571
0.835294
0
0
0
0
0
0.120603
0
0
0
0
0
0.4
1
0.2
false
0
0.2
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
efeef0c01a0900b4c792d9dc91404726c4129706
1,879
py
Python
haystack/game_of_thrones_qa.py
MysterionRise/boost-search
9b5b839296124fcd86499f7c62bf192bc4ab98e5
[ "MIT" ]
4
2020-07-03T12:49:48.000Z
2020-09-13T06:34:39.000Z
haystack/game_of_thrones_qa.py
MysterionRise/tanya-bot
0ad505963f2ba5f97a8d700e481253e38f55835f
[ "MIT" ]
1
2021-12-12T00:04:12.000Z
2021-12-12T00:04:12.000Z
haystack/game_of_thrones_qa.py
MysterionRise/boost-search
9b5b839296124fcd86499f7c62bf192bc4ab98e5
[ "MIT" ]
null
null
null
from pathlib import Path from haystack.retriever.sparse import ElasticsearchRetriever from haystack import Finder from haystack.indexing.cleaning import clean_wiki_text from haystack.indexing.utils import convert_files_to_dicts, fetch_archive_from_http from haystack.reader.farm import FARMReader from haystack.reader.t...
53.685714
132
0.772219
240
1,879
5.816667
0.425
0.068768
0.054441
0.074499
0.25
0.225645
0.168338
0.168338
0.168338
0.14255
0
0.008605
0.134114
1,879
34
133
55.264706
0.849416
0.400213
0
0
0
0
0.090502
0.024194
0
0
0
0
0
1
0
false
0.058824
0.529412
0
0.529412
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
eff5fd0acb3e861097aaa49ad73f1e2fd7715863
2,247
py
Python
controllers/ale/UtilityFunctions.py
RichoM/rcj-soccer-sim
7d331030ad3dbe6c07e422210d841516179bd539
[ "Apache-2.0" ]
null
null
null
controllers/ale/UtilityFunctions.py
RichoM/rcj-soccer-sim
7d331030ad3dbe6c07e422210d841516179bd539
[ "Apache-2.0" ]
null
null
null
controllers/ale/UtilityFunctions.py
RichoM/rcj-soccer-sim
7d331030ad3dbe6c07e422210d841516179bd539
[ "Apache-2.0" ]
1
2021-07-29T19:41:06.000Z
2021-07-29T19:41:06.000Z
import math # Corrects the given angle in degrees to be in a range from 0 to 360 def normalizeDegs(ang): ang = ang % 360 if ang < 0: ang += 360 if ang == 360: ang = 0 return ang # Corrects the given angle in radians to be in a range from 0 to a full rotaion def normalizeRads(rad): ...
27.072289
79
0.673787
320
2,247
4.7
0.25625
0.053191
0.101064
0.058511
0.443484
0.412899
0.382314
0.382314
0.357048
0.311835
0
0.036782
0.225634
2,247
82
80
27.402439
0.827586
0.209168
0
0.321429
0
0
0
0
0
0
0
0
0
1
0.267857
false
0
0.017857
0.107143
0.553571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4be44e3a34c2df93e7a60f83271cd3121b6e96f6
1,006
py
Python
tefla/core/__init__.py
mkulariya1/tefla
8de25c1b67dcf025535f5e8c40539de59acd7fb8
[ "MIT" ]
40
2017-09-10T17:11:17.000Z
2022-02-01T17:40:53.000Z
tefla/core/__init__.py
mkulariya1/tefla
8de25c1b67dcf025535f5e8c40539de59acd7fb8
[ "MIT" ]
21
2018-06-21T09:58:04.000Z
2022-03-11T23:11:37.000Z
tefla/core/__init__.py
subex/Tefla
34f8fd0e2f2ee02aa73c6289753e08a95cc41880
[ "MIT" ]
11
2017-10-13T13:10:02.000Z
2020-08-17T07:07:53.000Z
from __future__ import absolute_import from . import base from . import data_load_ops from . import initializers from . import iter_ops from . import layer_arg_ops from . import layers from . import learning from . import learning_ss from . import learning_seg from . import learning_generative from . import learning_d...
23.952381
38
0.801193
144
1,006
5.409722
0.361111
0.500642
0.115533
0
0
0
0
0
0
0
0
0.002367
0.16004
1,006
41
39
24.536585
0.919527
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
4beb76fc7b5b10b98b6679195f6602242b8ac717
370
py
Python
Practice_problems/Edabit/If else inferno.py
riyabhatia26/Python-Programming
2882728982c15c3b6380033eb2e90761b538dd93
[ "MIT" ]
3
2020-08-07T04:33:19.000Z
2021-10-06T08:58:01.000Z
Practice_problems/Edabit/If else inferno.py
riyabhatia26/Python-Programming
2882728982c15c3b6380033eb2e90761b538dd93
[ "MIT" ]
null
null
null
Practice_problems/Edabit/If else inferno.py
riyabhatia26/Python-Programming
2882728982c15c3b6380033eb2e90761b538dd93
[ "MIT" ]
2
2021-10-06T08:58:05.000Z
2021-10-06T09:46:42.000Z
# Write a function that returns the boolean True if the given number is zero, the string "positive" if the number is greater than zero or the string "negative" if it's smaller than zero. def equilbrium(x): # if x > 0: # return "positive" # elif x < 0: # return "negative" # else: # return True return "posit...
28.461538
186
0.683784
62
370
4.080645
0.467742
0.031621
0.047431
0.063241
0
0
0
0
0
0
0
0.014035
0.22973
370
12
187
30.833333
0.873684
0.713514
0
0
0
0
0.164948
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4bf9a3bb453c833b03e62b44bbc75f5258de3d50
174
py
Python
Python_Exercicios/media.py
thalles-dreissig20/Quebra_Cabeca
eeb9458dbabac72d9867e5ec5d7f1aa9b5993d79
[ "MIT" ]
null
null
null
Python_Exercicios/media.py
thalles-dreissig20/Quebra_Cabeca
eeb9458dbabac72d9867e5ec5d7f1aa9b5993d79
[ "MIT" ]
1
2021-11-29T18:37:14.000Z
2021-11-29T18:37:14.000Z
Python_Exercicios/media.py
thalles-dreissig20/Quebra_Cabeca
eeb9458dbabac72d9867e5ec5d7f1aa9b5993d79
[ "MIT" ]
null
null
null
var1 = float(input("Digite uma nota: ")) var2 = float(input("Digite sua segunda nota: ")) media = (var1 + var2) / 2 print("A media dessas notas está em {:.1f}".format(media))
43.5
58
0.666667
27
174
4.296296
0.703704
0.172414
0.275862
0
0
0
0
0
0
0
0
0.040541
0.149425
174
4
58
43.5
0.743243
0
0
0
0
0
0.44
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4bfecafb737480d6638f065b31a4889056d2d604
23,916
py
Python
robotframework-ls/tests/robotframework_ls_tests/test_code_analysis.py
GLMeece/robotframework-lsp
dc9c807c4a192d252df1d05a1c5d16f8c1f24086
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
robotframework-ls/tests/robotframework_ls_tests/test_code_analysis.py
GLMeece/robotframework-lsp
dc9c807c4a192d252df1d05a1c5d16f8c1f24086
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
robotframework-ls/tests/robotframework_ls_tests/test_code_analysis.py
GLMeece/robotframework-lsp
dc9c807c4a192d252df1d05a1c5d16f8c1f24086
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
def _collect_errors(workspace, doc, data_regression, basename=None, config=None): from robotframework_ls.impl.completion_context import CompletionContext from robotframework_ls.impl.code_analysis import collect_analysis_errors completion_context = CompletionContext(doc, workspace=workspace.ws, config=confi...
27.97193
96
0.684437
2,975
23,916
5.243697
0.090084
0.106795
0.05641
0.064103
0.780833
0.745256
0.70609
0.685064
0.67359
0.627244
0
0.018288
0.215797
23,916
854
97
28.004684
0.81349
0.008739
0
0.605351
0
0.001672
0.393384
0.027318
0
0
0
0
0.003344
1
0.06689
false
0
0.026756
0
0.093645
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ef003d437ec5c04e6732979522515be4799b65fe
98
py
Python
freight_forwarder/container/__init__.py
TUNE-Archive/freight_forwarder
6ea4a49f474ec04abb8bb81b175c774a16b5312f
[ "MIT" ]
null
null
null
freight_forwarder/container/__init__.py
TUNE-Archive/freight_forwarder
6ea4a49f474ec04abb8bb81b175c774a16b5312f
[ "MIT" ]
null
null
null
freight_forwarder/container/__init__.py
TUNE-Archive/freight_forwarder
6ea4a49f474ec04abb8bb81b175c774a16b5312f
[ "MIT" ]
null
null
null
# -*- coding: utf-8; -*- # flake8: noqa __author__ = 'alexander' from .container import Container
19.6
32
0.683673
11
98
5.727273
0.909091
0
0
0
0
0
0
0
0
0
0
0.024096
0.153061
98
4
33
24.5
0.73494
0.357143
0
0
0
0
0.15
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ef0fafd5442b460828d3f03eee1e6548c00f202b
3,511
py
Python
zmptextrank.py
Mumuerr/textrank_test
92d217bd94767a5384d4843d476199f37edce27d
[ "MIT" ]
null
null
null
zmptextrank.py
Mumuerr/textrank_test
92d217bd94767a5384d4843d476199f37edce27d
[ "MIT" ]
null
null
null
zmptextrank.py
Mumuerr/textrank_test
92d217bd94767a5384d4843d476199f37edce27d
[ "MIT" ]
null
null
null
# encoding=utf-8 import jieba import networkx as nx from sklearn.feature_extraction.text import TfidfVectorizer, TfidfTransformer def cut_sentence(sentence): """ 分句 :param sentence: :return: """ if not isinstance(sentence, unicode): sentence = sentence.decode('utf-8') delimiters =...
49.450704
1,051
0.753062
418
3,511
6.260766
0.677033
0.013374
0.012228
0.008407
0
0
0
0
0
0
0
0.020296
0.115921
3,511
71
1,052
49.450704
0.821843
0.003987
0
0.105263
0
0.052632
0.544925
0.532659
0
0
0
0
0
0
null
null
0
0.078947
null
null
0.026316
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
0
1
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3