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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6cb9e6c071a5a464e99a9be0e1427a6bdae314a5 | 141 | py | Python | anubis-py/test.py | tcramer217/Anubis | 14ab534ac149fb0da7f07832a8b22c9feafe2ce9 | [
"Apache-2.0"
] | 1 | 2022-02-02T20:19:38.000Z | 2022-02-02T20:19:38.000Z | anubis-py/test.py | tcramer217/Anubis | 14ab534ac149fb0da7f07832a8b22c9feafe2ce9 | [
"Apache-2.0"
] | null | null | null | anubis-py/test.py | tcramer217/Anubis | 14ab534ac149fb0da7f07832a8b22c9feafe2ce9 | [
"Apache-2.0"
] | null | null | null | import time
print("PIR Module And LED Test (CMD+C to exit)")
print("Ready...")
print("The time is:")
print(time.localtime())
print("Done!")
| 17.625 | 48 | 0.673759 | 23 | 141 | 4.130435 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120567 | 141 | 7 | 49 | 20.142857 | 0.766129 | 0 | 0 | 0 | 0 | 0 | 0.453901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.833333 | 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 | 1 | 0 | 4 |
6ccbbb94804a3030d5bea897b60de3463026ec4b | 635 | py | Python | test_circles.py | mnansary/python-tutorials | c057459ffe691b6f8471fb40fee3ae1647867e10 | [
"MIT"
] | null | null | null | test_circles.py | mnansary/python-tutorials | c057459ffe691b6f8471fb40fee3ae1647867e10 | [
"MIT"
] | null | null | null | test_circles.py | mnansary/python-tutorials | c057459ffe691b6f8471fb40fee3ae1647867e10 | [
"MIT"
] | null | null | null | import unittest
from circles import circle_area
from math import pi
class TestCircleArea(unittest.TestCase):
def area_test(self):
self.assertAlmostEqual(circle_area(0),0)
self.assertAlmostEqual(circle_area(1),0)
self.assertAlmostEqual(circle_area(1.5),pi*1.5**2)
'''... | 24.423077 | 58 | 0.667717 | 78 | 635 | 5.294872 | 0.371795 | 0.096852 | 0.196126 | 0.225182 | 0.392252 | 0.159806 | 0 | 0 | 0 | 0 | 0 | 0.024292 | 0.222047 | 635 | 26 | 59 | 24.423077 | 0.811741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6cdc850ecee2c1661b0be1c7aa244894912e0929 | 63 | py | Python | pynncml/power_law/__init__.py | haihabi/PyNNcml | 808892da798913928fbc219cbb5f9e41156d9d49 | [
"MIT"
] | 4 | 2020-06-28T22:52:19.000Z | 2021-10-31T10:19:51.000Z | pynncml/power_law/__init__.py | haihabi/PyNNcml | 808892da798913928fbc219cbb5f9e41156d9d49 | [
"MIT"
] | null | null | null | pynncml/power_law/__init__.py | haihabi/PyNNcml | 808892da798913928fbc219cbb5f9e41156d9d49 | [
"MIT"
] | 4 | 2020-06-28T22:52:24.000Z | 2021-11-04T00:28:42.000Z | from pynncml.power_law.pl_module import PowerLaw, PowerLawType
| 31.5 | 62 | 0.873016 | 9 | 63 | 5.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 63 | 1 | 63 | 63 | 0.913793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
9f0c6bb1373cdc76aa00177ce8fd773503be1df5 | 10,032 | py | Python | losantrest/auth.py | Losant/losant-rest-python | 50a6ce13dfef7acefb930fe45893c7bae862f784 | [
"MIT"
] | 5 | 2016-06-16T20:18:11.000Z | 2022-03-09T11:41:59.000Z | losantrest/auth.py | Losant/losant-rest-python | 50a6ce13dfef7acefb930fe45893c7bae862f784 | [
"MIT"
] | 4 | 2021-07-13T06:09:16.000Z | 2022-03-07T14:24:49.000Z | losantrest/auth.py | Losant/losant-rest-python | 50a6ce13dfef7acefb930fe45893c7bae862f784 | [
"MIT"
] | 6 | 2016-11-18T03:19:17.000Z | 2022-03-09T11:41:47.000Z | """
The MIT License (MIT)
Copyright (c) 2021 Losant IoT, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, me... | 40.615385 | 164 | 0.640251 | 1,122 | 10,032 | 5.615865 | 0.175579 | 0.04539 | 0.039994 | 0.048564 | 0.742263 | 0.724488 | 0.70957 | 0.686558 | 0.679733 | 0.679733 | 0 | 0.007085 | 0.254286 | 10,032 | 246 | 165 | 40.780488 | 0.835182 | 0.520734 | 0 | 0.764045 | 0 | 0 | 0.211679 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067416 | false | 0 | 0.011236 | 0 | 0.146067 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9f0f9627fbc1c2affc5e8e3c8806d6af01c94033 | 775 | py | Python | tests/cs/test_uploads.py | allenmichael/pyTenable | 8372cfdf3ced99de50227f6fbb37d6db2b26291e | [
"MIT"
] | null | null | null | tests/cs/test_uploads.py | allenmichael/pyTenable | 8372cfdf3ced99de50227f6fbb37d6db2b26291e | [
"MIT"
] | null | null | null | tests/cs/test_uploads.py | allenmichael/pyTenable | 8372cfdf3ced99de50227f6fbb37d6db2b26291e | [
"MIT"
] | null | null | null | from tenable.errors import *
from ..checker import check, single
import pytest
def test_uploads_docker_push_name_typeerror(api):
with pytest.raises(TypeError):
api.uploads.docker_push(1)
def test_uploads_docker_push_tag_typeerror(api):
with pytest.raises(TypeError):
api.uploads.docker_push('ex... | 33.695652 | 67 | 0.757419 | 115 | 775 | 4.817391 | 0.295652 | 0.211191 | 0.276173 | 0.180505 | 0.749097 | 0.662455 | 0.617329 | 0.519856 | 0.519856 | 0.519856 | 0 | 0.005944 | 0.131613 | 775 | 23 | 68 | 33.695652 | 0.817236 | 0 | 0 | 0.222222 | 0 | 0 | 0.078608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.166667 | 0 | 0.444444 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9f1924240f390f71e0b60ed1d848f8ac639ea14b | 204 | py | Python | algorithms/hashtable/dictionary_hash.py | rwietter/codebase | 7466a958c27720aff84c14b39a2f9e6031ddd49c | [
"MIT"
] | null | null | null | algorithms/hashtable/dictionary_hash.py | rwietter/codebase | 7466a958c27720aff84c14b39a2f9e6031ddd49c | [
"MIT"
] | null | null | null | algorithms/hashtable/dictionary_hash.py | rwietter/codebase | 7466a958c27720aff84c14b39a2f9e6031ddd49c | [
"MIT"
] | null | null | null | voted = {}
def check_voter(name):
if voted.get(name):
print "kick them out"
else:
voted[name] = True
print "let them vote!"
check_voter('Tom')
print voted
check_voter('Tom')
| 15.692308 | 27 | 0.607843 | 29 | 204 | 4.172414 | 0.551724 | 0.247934 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259804 | 204 | 12 | 28 | 17 | 0.801325 | 0 | 0 | 0.2 | 0 | 0 | 0.171875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.3 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9f2642def530d5dec73ed08fe191422219647df2 | 101,367 | py | Python | nova/api/openstack/compute/legacy_v2/servers.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/api/openstack/compute/legacy_v2/servers.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/api/openstack/compute/legacy_v2/servers.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright 2010 OpenStack Foundation'
nl|'\n'
comment|'# Copyright 2011 Piston Cloud Computing, Inc'
nl|'\n'
comment|'# All Rights Reserved.'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file ex... | 12.914639 | 400 | 0.596772 | 14,403 | 101,367 | 4.112963 | 0.045616 | 0.148888 | 0.107699 | 0.064822 | 0.824271 | 0.757474 | 0.699455 | 0.64098 | 0.595435 | 0.536488 | 0 | 0.002152 | 0.120029 | 101,367 | 7,848 | 401 | 12.916284 | 0.661962 | 0 | 0 | 0.949286 | 0 | 0.00051 | 0.393008 | 0.029586 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.006116 | 0.003058 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9f3bec59246f39d23fc74a06ec7433a7f6844edb | 388 | py | Python | examples/example_safe.py | u8sand/simple_commandify | b066a98fadd3d265edb0cd19f27cbf27047a3e2f | [
"MIT"
] | null | null | null | examples/example_safe.py | u8sand/simple_commandify | b066a98fadd3d265edb0cd19f27cbf27047a3e2f | [
"MIT"
] | null | null | null | examples/example_safe.py | u8sand/simple_commandify | b066a98fadd3d265edb0cd19f27cbf27047a3e2f | [
"MIT"
] | null | null | null | from typing import List
def adder(*V: List[float]) -> float:
''' Compute the sum of a set of values
'''
return sum(V)
def product(*V: List[float]) -> float:
''' Compute the product of a set of values.
'''
import functools
return functools.reduce(lambda acc, val: acc * val, V, 1)
if __name__ == '__main_... | 24.25 | 63 | 0.677835 | 57 | 388 | 4.438596 | 0.526316 | 0.039526 | 0.079051 | 0.118577 | 0.3083 | 0.197628 | 0 | 0 | 0 | 0 | 0 | 0.003175 | 0.188144 | 388 | 15 | 64 | 25.866667 | 0.8 | 0.198454 | 0 | 0 | 0 | 0 | 0.027119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.375 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9f4e0f38f5c577ceb277e524fdd329463c7b5f65 | 5,082 | py | Python | application/config.py | LucasAntognoni/JWT_Security_Tests | dc35b562c096c220cc12c3a71b83c76e2c995acf | [
"MIT"
] | null | null | null | application/config.py | LucasAntognoni/JWT_Security_Tests | dc35b562c096c220cc12c3a71b83c76e2c995acf | [
"MIT"
] | null | null | null | application/config.py | LucasAntognoni/JWT_Security_Tests | dc35b562c096c220cc12c3a71b83c76e2c995acf | [
"MIT"
] | null | null | null | """
+-----------------+------------------------------------------------------------------------+
| **Version** | 0.1 |
+-----------------+------------------------------------------------------------------------+
| **Start** | 27 Nov 2018 ... | 60.5 | 920 | 0.434671 | 262 | 5,082 | 8.343511 | 0.580153 | 0.064044 | 0.074108 | 0.076853 | 0.098353 | 0.039341 | 0.039341 | 0 | 0 | 0 | 0 | 0.054774 | 0.202479 | 5,082 | 83 | 921 | 61.228916 | 0.484579 | 0.613144 | 0 | 0 | 0 | 0.08 | 0.614402 | 0.558733 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0.04 | 0.08 | 0 | 0.76 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
9f4e2d6cba2923378a15a234a0a15fde3d52e860 | 183 | py | Python | src/models/__init__.py | jacksonlli/learn-hippo | 7695d22e73c334b6d9df7e35cb6e30855db187fe | [
"MIT"
] | 13 | 2020-12-06T02:31:02.000Z | 2022-02-16T16:20:31.000Z | src/models/__init__.py | jacksonlli/learn-hippo | 7695d22e73c334b6d9df7e35cb6e30855db187fe | [
"MIT"
] | 1 | 2021-09-19T20:55:32.000Z | 2021-09-19T20:55:32.000Z | src/models/__init__.py | jacksonlli/learn-hippo | 7695d22e73c334b6d9df7e35cb6e30855db187fe | [
"MIT"
] | 3 | 2020-12-24T00:52:43.000Z | 2021-12-15T02:12:15.000Z | # agents
from .LCALSTM import LCALSTM
from .LCALSTM_after import LCALSTM_after
from .A2C import A2C_linear, A2C
from ._rl_helpers import compute_returns, get_reward, compute_a2c_loss
| 30.5 | 70 | 0.84153 | 28 | 183 | 5.178571 | 0.5 | 0.151724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.114754 | 183 | 5 | 71 | 36.6 | 0.87037 | 0.032787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
9f625cea81862620b03e4eb49a90321af8e9b4ab | 301 | py | Python | metashare/repository/templatetags/script_suppressed.py | hpusset/ELRI | c4455cff3adb920627f014f37e740665342e9cee | [
"BSD-3-Clause"
] | 1 | 2017-07-10T08:15:07.000Z | 2017-07-10T08:15:07.000Z | metashare/repository/templatetags/script_suppressed.py | hpusset/ELRI | c4455cff3adb920627f014f37e740665342e9cee | [
"BSD-3-Clause"
] | null | null | null | metashare/repository/templatetags/script_suppressed.py | hpusset/ELRI | c4455cff3adb920627f014f37e740665342e9cee | [
"BSD-3-Clause"
] | 1 | 2018-07-03T07:55:56.000Z | 2018-07-03T07:55:56.000Z | from django import template
from metashare.bcp47.iana import get_suppressed_script_description
register = template.Library()
@register.filter("script_suppressed")
def script_suppressed(input):
return get_suppressed_script_description(input)
register.tag('script_suppressed', script_suppressed) | 27.363636 | 66 | 0.840532 | 36 | 301 | 6.75 | 0.5 | 0.263374 | 0.156379 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.083056 | 301 | 11 | 67 | 27.363636 | 0.873188 | 0 | 0 | 0 | 0 | 0 | 0.112583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
9f6f3aba2357df7f77097598f79c63764079ce0e | 142 | py | Python | account/apps.py | andriidem308/django_02 | 6d9f624271d28ea6f53517e6144fa6b9d76598e5 | [
"MIT"
] | null | null | null | account/apps.py | andriidem308/django_02 | 6d9f624271d28ea6f53517e6144fa6b9d76598e5 | [
"MIT"
] | 1 | 2021-05-15T18:28:26.000Z | 2021-05-15T18:28:26.000Z | account/apps.py | andriidem308/django_02 | 6d9f624271d28ea6f53517e6144fa6b9d76598e5 | [
"MIT"
] | null | null | null | """Account Apps."""
from django.apps import AppConfig
class AccountConfig(AppConfig):
"""Config Account Class."""
name = 'account'
| 15.777778 | 33 | 0.676056 | 15 | 142 | 6.4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176056 | 142 | 8 | 34 | 17.75 | 0.820513 | 0.246479 | 0 | 0 | 0 | 0 | 0.072917 | 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 | 1 | 0 | 0 | 4 |
9fc6f048cd0b009ec3d68ffc0861c831802f0240 | 158 | py | Python | exercicios025.py | Capcode98/exercicios-PYTHON3-MUNDO1 | c3d186dba25274a72ec347320e2376ac8f8f9b1f | [
"MIT"
] | null | null | null | exercicios025.py | Capcode98/exercicios-PYTHON3-MUNDO1 | c3d186dba25274a72ec347320e2376ac8f8f9b1f | [
"MIT"
] | null | null | null | exercicios025.py | Capcode98/exercicios-PYTHON3-MUNDO1 | c3d186dba25274a72ec347320e2376ac8f8f9b1f | [
"MIT"
] | null | null | null | n = input('digite seu nome completo:')
if n.find('Silva') == -1:
print('seu nome nao possui "Silva" nele')
else:
print('seu nome possui "Silva" nele') | 31.6 | 45 | 0.639241 | 25 | 158 | 4.04 | 0.6 | 0.207921 | 0.237624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.183544 | 158 | 5 | 46 | 31.6 | 0.775194 | 0 | 0 | 0 | 0 | 0 | 0.566038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 1 | 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 | 4 |
9fcdb33e28eab2d2c45243cdb7417350a368b69a | 65 | py | Python | Python/1 pengenalan python/2 komentar dan operasi matematika/2 komentar lebih dari satu baris.py | ekovegeance-com/tree | 7a429d0f35c5a71769820177f60d22e7231b4e40 | [
"Apache-2.0"
] | 3 | 2020-12-21T13:01:35.000Z | 2020-12-27T08:25:57.000Z | Python/1 pengenalan python/2 komentar dan operasi matematika/2 komentar lebih dari satu baris.py | ekovegeance-com/tree | 7a429d0f35c5a71769820177f60d22e7231b4e40 | [
"Apache-2.0"
] | 2 | 2020-12-05T23:26:16.000Z | 2020-12-27T10:21:47.000Z | Python/1 pengenalan python/2 komentar dan operasi matematika/2 komentar lebih dari satu baris.py | faizH3/faiz | c6a38717b91db8f76a0c4c4fd3168eb3ce8123ef | [
"Apache-2.0"
] | 3 | 2021-07-27T19:05:40.000Z | 2021-11-08T09:03:23.000Z | '''
seratus
dua
puluh
sembilan
juta
tiga
puluh
sembilan
ribu
'''
| 5.416667 | 8 | 0.738462 | 9 | 65 | 5.333333 | 0.777778 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 65 | 11 | 9 | 5.909091 | 0.888889 | 0.861538 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4ca0a2e2a2ae08c108eb04f23b25f73d15665f7d | 1,041 | py | Python | tabular_benchmarks/interface.py | josepsmartinez/nas_benchmarks | da4e21a7179d7a54a7baddfbbd0156ab46bae4bf | [
"BSD-3-Clause"
] | null | null | null | tabular_benchmarks/interface.py | josepsmartinez/nas_benchmarks | da4e21a7179d7a54a7baddfbbd0156ab46bae4bf | [
"BSD-3-Clause"
] | null | null | null | tabular_benchmarks/interface.py | josepsmartinez/nas_benchmarks | da4e21a7179d7a54a7baddfbbd0156ab46bae4bf | [
"BSD-3-Clause"
] | null | null | null | import ConfigSpace
import numpy as np
class TabularNasBenchmark(object):
def __init__(self, seed=42):
self.seed = seed
self.reset_tracker()
@staticmethod
def get_configuration_space(seed=None):
raise NotImplementedError()
def get_best_configuration(self):
raise NotImp... | 23.659091 | 62 | 0.68684 | 108 | 1,041 | 6.333333 | 0.37963 | 0.280702 | 0.315789 | 0.210526 | 0.340643 | 0.157895 | 0.157895 | 0 | 0 | 0 | 0 | 0.003759 | 0.233429 | 1,041 | 43 | 63 | 24.209302 | 0.853383 | 0 | 0 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.066667 | 0 | 0.533333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4cbfe60a07a462fb41ea12cd29bda8eb5108e222 | 189 | py | Python | todo_app/serializers.py | birnesh/todo | d99b5be125399647594cdd03562d26cf544d12f9 | [
"MIT"
] | null | null | null | todo_app/serializers.py | birnesh/todo | d99b5be125399647594cdd03562d26cf544d12f9 | [
"MIT"
] | null | null | null | todo_app/serializers.py | birnesh/todo | d99b5be125399647594cdd03562d26cf544d12f9 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from todo_app import models
class TodoSerializer(serializers.ModelSerializer):
class Meta:
model = models.Todo
fields = '__all__' | 27 | 50 | 0.746032 | 21 | 189 | 6.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201058 | 189 | 7 | 51 | 27 | 0.89404 | 0 | 0 | 0 | 0 | 0 | 0.036842 | 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 | 1 | 0 | 0 | 4 |
4cea0ed6394c68ae0600a436cde22cdca14dcee3 | 644 | py | Python | src/lucrum/algo/__init__.py | achmand/ari5123_assignment | 7038aa829d2b4b4a531ee168b204357609fb3207 | [
"MIT"
] | 8 | 2020-01-09T05:40:35.000Z | 2022-01-10T18:20:13.000Z | src/lucrum/algo/__init__.py | achmand/ari5123_assignment | 7038aa829d2b4b4a531ee168b204357609fb3207 | [
"MIT"
] | null | null | null | src/lucrum/algo/__init__.py | achmand/ari5123_assignment | 7038aa829d2b4b4a531ee168b204357609fb3207 | [
"MIT"
] | 3 | 2019-07-12T06:19:01.000Z | 2021-12-11T00:18:31.000Z | #from .emacrossover import (EMACrossoverAlgo)
from .macrossover import (MACrossoverAlgo) # moving average crossover strategy
from .rsisimple import (SimpleRsiAlgo) # simple rsi strategy
from .buynhold import (BuyHoldStrategy) # buy and hold strategy
from .mlalgo import (XgbBoostAlgo, RandomForestAlgo, LogRegAl... | 64.4 | 84 | 0.784161 | 69 | 644 | 7.289855 | 0.710145 | 0.095427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153727 | 644 | 9 | 85 | 71.555556 | 0.922936 | 0.381988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4cf243511f4fa9d1bfb28df03b2e11f7ea5244f5 | 618 | py | Python | core/src/zeit/content/article/edit/newslettersignup.py | rickdg/vivi | 16134ac954bf8425646d4ad47bdd1f372e089355 | [
"BSD-3-Clause"
] | 5 | 2019-05-16T09:51:29.000Z | 2021-05-31T09:30:03.000Z | core/src/zeit/content/article/edit/newslettersignup.py | rickdg/vivi | 16134ac954bf8425646d4ad47bdd1f372e089355 | [
"BSD-3-Clause"
] | 107 | 2019-05-24T12:19:02.000Z | 2022-03-23T15:05:56.000Z | core/src/zeit/content/article/edit/newslettersignup.py | rickdg/vivi | 16134ac954bf8425646d4ad47bdd1f372e089355 | [
"BSD-3-Clause"
] | 3 | 2020-08-14T11:01:17.000Z | 2022-01-08T17:32:19.000Z | from zeit.cms.i18n import MessageFactory as _
import grokcore.component as grok
import zeit.content.article.edit.block
import zeit.content.article.edit.interfaces
import zeit.content.modules.newslettersignup
@grok.implementer(zeit.content.article.edit.interfaces.INewsletterSignup)
class NewsletterSignup(
zeit... | 29.428571 | 73 | 0.789644 | 66 | 618 | 7.363636 | 0.409091 | 0.158436 | 0.185185 | 0.226337 | 0.323045 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003697 | 0.124595 | 618 | 20 | 74 | 30.9 | 0.89464 | 0 | 0 | 0 | 0 | 0 | 0.063107 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.357143 | 0 | 0.714286 | 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 | 1 | 0 | 0 | 4 |
9818017691b02ca682ad425b71a544eda01e6eae | 1,223 | py | Python | env/Lib/site-packages/OpenGL/raw/GLES2/EXT/semaphore_win32.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 210 | 2016-04-09T14:26:00.000Z | 2022-03-25T18:36:19.000Z | env/Lib/site-packages/OpenGL/raw/GLES2/EXT/semaphore_win32.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 72 | 2016-09-04T09:30:19.000Z | 2022-03-27T17:06:53.000Z | env/Lib/site-packages/OpenGL/raw/GLES2/EXT/semaphore_win32.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 64 | 2016-04-09T14:26:49.000Z | 2022-03-21T11:19:47.000Z | '''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES2 import _types as _cs
# End users want this...
from OpenGL.raw.GLES2._types import *
from OpenGL.raw.GLES2 import _errors
from OpenGL.constant import Constant as _C
import... | 45.296296 | 122 | 0.843827 | 201 | 1,223 | 4.631841 | 0.348259 | 0.030075 | 0.045113 | 0.077336 | 0.428571 | 0.264232 | 0.182599 | 0.090226 | 0.090226 | 0.090226 | 0 | 0.055798 | 0.062142 | 1,223 | 26 | 123 | 47.038462 | 0.755885 | 0.081766 | 0 | 0.181818 | 1 | 0 | 0.203405 | 0.172939 | 0 | 0 | 0.032258 | 0 | 0 | 1 | 0.136364 | false | 0.090909 | 0.363636 | 0.045455 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
e21d1084607b751449b5b300dd5f6df65015ef89 | 105 | py | Python | pgbouncer/datadog_checks/pgbouncer/__init__.py | chotiwat/integrations-core | 57a4437790cafcb769e120aa64d84aaecbf6a414 | [
"BSD-3-Clause"
] | 2 | 2019-04-03T17:21:38.000Z | 2020-02-04T16:28:05.000Z | pgbouncer/datadog_checks/pgbouncer/__init__.py | chotiwat/integrations-core | 57a4437790cafcb769e120aa64d84aaecbf6a414 | [
"BSD-3-Clause"
] | 10 | 2018-02-27T19:06:07.000Z | 2021-08-30T03:23:26.000Z | pgbouncer/datadog_checks/pgbouncer/__init__.py | chotiwat/integrations-core | 57a4437790cafcb769e120aa64d84aaecbf6a414 | [
"BSD-3-Clause"
] | 6 | 2018-01-09T21:37:20.000Z | 2020-05-26T09:28:09.000Z | from . import pgbouncer
PgBouncer = pgbouncer.PgBouncer
__version__ = "1.1.0"
__all__ = ['pgbouncer']
| 13.125 | 31 | 0.72381 | 12 | 105 | 5.666667 | 0.583333 | 0.794118 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0.152381 | 105 | 7 | 32 | 15 | 0.730337 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 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 | 4 |
e24a6f718cd9c26ad4a9cde7210d56c9a3b63e50 | 188 | py | Python | text/letter/texture/__init__.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | text/letter/texture/__init__.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | text/letter/texture/__init__.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | """
*Character Texture*
A character texture type applies additional glyph transforms.
"""
from .._geometric import
class CharacterTexture(
CharacterGeometric,
):
pass
| 11.75 | 63 | 0.702128 | 17 | 188 | 7.705882 | 0.882353 | 0.244275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218085 | 188 | 15 | 64 | 12.533333 | 0.891156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.2 | 0.2 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
2c4929ad9fcdcce7ba66898bf697a08b54e65903 | 89 | py | Python | codes/graph/split_information.py | NilLau/NilLau.github.io | e55768be0be4d6549b24c702554c11e64958d4c7 | [
"MIT"
] | null | null | null | codes/graph/split_information.py | NilLau/NilLau.github.io | e55768be0be4d6549b24c702554c11e64958d4c7 | [
"MIT"
] | 6 | 2019-06-20T10:05:10.000Z | 2019-07-08T04:53:01.000Z | codes/graph/split_information.py | 117ami/117ami.github.io | e55768be0be4d6549b24c702554c11e64958d4c7 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
x = np.arange(0.1, 1, 0.01)
y = -
| 14.833333 | 32 | 0.651685 | 18 | 89 | 3.222222 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.224719 | 89 | 5 | 33 | 17.8 | 0.753623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2c59654a98772a5628d67fcc1ec2a7a021802336 | 304 | py | Python | model/decode_heads/unet/__init__.py | UESTC-Liuxin/CVMI_Sementic_Segmentation | dc5bf6e940cf6961ef65abb6e7ec372f29d55249 | [
"Apache-2.0"
] | null | null | null | model/decode_heads/unet/__init__.py | UESTC-Liuxin/CVMI_Sementic_Segmentation | dc5bf6e940cf6961ef65abb6e7ec372f29d55249 | [
"Apache-2.0"
] | null | null | null | model/decode_heads/unet/__init__.py | UESTC-Liuxin/CVMI_Sementic_Segmentation | dc5bf6e940cf6961ef65abb6e7ec372f29d55249 | [
"Apache-2.0"
] | null | null | null | '''
Author: Liu Xin
Date: 2021-11-30 15:15:28
LastEditors: Liu Xin
LastEditTime: 2021-11-30 20:09:35
Description: file content
FilePath: /CVMI_Sementic_Segmentation/model/decode_heads/unet/__init__.py
'''
from model.decode_heads.unet.unet import Unet
from model.decode_heads.unet.enc_unet import EncUnet
| 27.636364 | 73 | 0.805921 | 50 | 304 | 4.7 | 0.62 | 0.140426 | 0.204255 | 0.255319 | 0.204255 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101083 | 0.088816 | 304 | 10 | 74 | 30.4 | 0.747292 | 0.644737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2cbcb3b2126689479dddaf94661619d83cbe8171 | 33 | py | Python | grortir/test/externals/pyswarm/__init__.py | wojtekPi/grortir | 0ef8b495527a4f3861e5df5db756d0ee3ed4aa6f | [
"MIT"
] | null | null | null | grortir/test/externals/pyswarm/__init__.py | wojtekPi/grortir | 0ef8b495527a4f3861e5df5db756d0ee3ed4aa6f | [
"MIT"
] | null | null | null | grortir/test/externals/pyswarm/__init__.py | wojtekPi/grortir | 0ef8b495527a4f3861e5df5db756d0ee3ed4aa6f | [
"MIT"
] | null | null | null | """Package for tests pyswarm."""
| 16.5 | 32 | 0.666667 | 4 | 33 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.758621 | 0.787879 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2cbe952b2a9b2a8c49f81ad9bb8035bd93e7e39b | 203 | py | Python | ge_sm/common/secrets.py | girleffect/ge-sm | 8cf8d9d060b1ca299fd05b9ae2307410a4fb9d2a | [
"BSD-3-Clause"
] | null | null | null | ge_sm/common/secrets.py | girleffect/ge-sm | 8cf8d9d060b1ca299fd05b9ae2307410a4fb9d2a | [
"BSD-3-Clause"
] | 1 | 2021-02-08T20:33:47.000Z | 2021-02-08T20:33:47.000Z | ge_sm/common/secrets.py | girleffect/ge-sm | 8cf8d9d060b1ca299fd05b9ae2307410a4fb9d2a | [
"BSD-3-Clause"
] | null | null | null | import os
# redshift cluster
rs_pwd = os.environ.setdefault('REDSHIFT_PWD', '****')
rs_dsn = os.environ.setdefault('REDSHIFT_DSN', '****')
rs_usr = os.environ.setdefault('REDSHIFT_USR', 'dataplatform')
| 29 | 62 | 0.719212 | 26 | 203 | 5.384615 | 0.423077 | 0.192857 | 0.407143 | 0.578571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08867 | 203 | 6 | 63 | 33.833333 | 0.756757 | 0.078818 | 0 | 0 | 0 | 0 | 0.302703 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 4 |
2cc5916f1d9b5707fdb83d347b394775312325fa | 229 | py | Python | asynciox/coroutinex.py | relax-space/coroutine-first | 0cdf078b8bd57e6a13961930888f8c0c4bd6c5a6 | [
"Apache-2.0"
] | null | null | null | asynciox/coroutinex.py | relax-space/coroutine-first | 0cdf078b8bd57e6a13961930888f8c0c4bd6c5a6 | [
"Apache-2.0"
] | null | null | null | asynciox/coroutinex.py | relax-space/coroutine-first | 0cdf078b8bd57e6a13961930888f8c0c4bd6c5a6 | [
"Apache-2.0"
] | null | null | null | from asynciox.typex import CoroutineType, GeneratorType
_COROUTINE_TYPES = (GeneratorType, CoroutineType)
def iscoroutine(obj):
"""Return True if obj is a coroutine object."""
return isinstance(obj, _COROUTINE_TYPES)
| 22.9 | 55 | 0.768559 | 26 | 229 | 6.615385 | 0.692308 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148472 | 229 | 9 | 56 | 25.444444 | 0.882051 | 0.179039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e2c5b5ab0a3c7cd6b9a2edb021c1b36b6bcd85cb | 62 | py | Python | script.py | mdpanna/python-zip-crack | f522300b41cd51cf13d4e4504933ddb1e5072425 | [
"MIT"
] | null | null | null | script.py | mdpanna/python-zip-crack | f522300b41cd51cf13d4e4504933ddb1e5072425 | [
"MIT"
] | null | null | null | script.py | mdpanna/python-zip-crack | f522300b41cd51cf13d4e4504933ddb1e5072425 | [
"MIT"
] | null | null | null | # this is my script
# python zip crack
print('hello world')
| 12.4 | 20 | 0.693548 | 10 | 62 | 4.3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209677 | 62 | 4 | 21 | 15.5 | 0.877551 | 0.564516 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 4 |
e2e1c4c32838cb031522f54b039837036b6fbbe0 | 11,152 | py | Python | core/recc/database/postgresql/query/views.py | bogonets/answer | 57f892a9841980bcbc35fa1e27521b34cd94bc25 | [
"MIT"
] | 3 | 2021-06-20T02:24:10.000Z | 2022-01-26T23:55:33.000Z | core/recc/database/postgresql/query/views.py | bogonets/answer | 57f892a9841980bcbc35fa1e27521b34cd94bc25 | [
"MIT"
] | null | null | null | core/recc/database/postgresql/query/views.py | bogonets/answer | 57f892a9841980bcbc35fa1e27521b34cd94bc25 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from recc.variables.database import (
TABLE_INFO,
TABLE_USER,
# TABLE_GROUP,
# TABLE_PROJECT,
# TABLE_TASK,
# TABLE_LAYOUT,
# TABLE_WIDGET,
# TABLE_GROUP_MEMBER,
VIEW_INFO_DB_VERSION,
VIEW_USER_ADMIN,
VIEW_USER_ADMIN_COUNT,
# VIEW_USER_GROUP,
... | 28.161616 | 76 | 0.669835 | 1,966 | 11,152 | 3.46236 | 0.033571 | 0.057588 | 0.063758 | 0.044954 | 0.847363 | 0.83326 | 0.821213 | 0.617306 | 0.584692 | 0.583517 | 0 | 0.003819 | 0.225072 | 11,152 | 395 | 77 | 28.232911 | 0.783846 | 0.821915 | 0 | 0.333333 | 0 | 0 | 0.32017 | 0.073512 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020833 | 0 | 0.020833 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e2f30e11652f7f220d44090eef76e338ae43a2d1 | 333 | py | Python | nodeodm_proxy/urls.py | IS-AgroSmart/MVP | b347e7c846a9a29584a6baee0b825381d5bc62a3 | [
"CNRI-Python"
] | null | null | null | nodeodm_proxy/urls.py | IS-AgroSmart/MVP | b347e7c846a9a29584a6baee0b825381d5bc62a3 | [
"CNRI-Python"
] | 140 | 2020-01-21T15:42:29.000Z | 2021-08-21T18:04:19.000Z | nodeodm_proxy/urls.py | IS-AgroSmart/MVP | b347e7c846a9a29584a6baee0b825381d5bc62a3 | [
"CNRI-Python"
] | 1 | 2019-12-13T21:47:57.000Z | 2019-12-13T21:47:57.000Z | from django.urls import path
from nodeodm_proxy import views
urlpatterns = [
path('task/<uuid:uuid>/info', views.task_info, name="nodeodm_proxy_task_info"),
path('task/<uuid:uuid>/output', views.task_output, name="nodeodm_proxy_task_output"),
path('task/cancel', views.cancel_task, name="nodeodm_proxy_task... | 33.3 | 89 | 0.750751 | 48 | 333 | 4.9375 | 0.3125 | 0.202532 | 0.202532 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105105 | 333 | 9 | 90 | 37 | 0.795302 | 0 | 0 | 0 | 0 | 0 | 0.384384 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 4 |
e2f810f9dbff5b678d398ea5184d86602606fcff | 20,470 | py | Python | ztp/migrations/0002_initial_data.py | amigne/ZosTeroPs | d76023faa0cba8ff3f01018ca252969df86dcf60 | [
"MIT"
] | 4 | 2021-03-18T12:29:10.000Z | 2022-01-26T10:03:12.000Z | ztp/migrations/0002_initial_data.py | amigne/ZosTeroPs | d76023faa0cba8ff3f01018ca252969df86dcf60 | [
"MIT"
] | 7 | 2021-02-06T09:13:57.000Z | 2021-03-19T21:09:59.000Z | ztp/migrations/0002_initial_data.py | amigne/ZosTeroPs | d76023faa0cba8ff3f01018ca252969df86dcf60 | [
"MIT"
] | null | null | null | from django.db import migrations
def populate_ztp_scripts(apps, schema_editor):
pass
# ZtpScript = apps.get_model('ztp', 'ZtpScript')
# ztp_script = ZtpScript(
# name='ios-xe.py',
# accept_query_string=False,
# description='Cisco IOS XE ZTP bootstrap script. Based on the work of Ti... | 476.046512 | 19,367 | 0.60171 | 2,899 | 20,470 | 4.204898 | 0.185236 | 0.007711 | 0.007793 | 0.004594 | 0.235603 | 0.199016 | 0.163905 | 0.131829 | 0.10927 | 0.09639 | 0 | 0.010271 | 0.243723 | 20,470 | 42 | 19,368 | 487.380952 | 0.777146 | 0.961309 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.1 | 0.1 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
39081d2f1836539a591f46d30abeb732a66f2c04 | 247 | py | Python | tests/app2/admin.py | baffolobill/django-modeladmin-reorder | cb65a0dfb6696b94e2177817050e5a3e9bc58268 | [
"BSD-3-Clause"
] | null | null | null | tests/app2/admin.py | baffolobill/django-modeladmin-reorder | cb65a0dfb6696b94e2177817050e5a3e9bc58268 | [
"BSD-3-Clause"
] | 1 | 2018-07-18T14:52:24.000Z | 2018-07-18T14:52:24.000Z | tests/app2/admin.py | baffolobill/django-modeladmin-reorder | cb65a0dfb6696b94e2177817050e5a3e9bc58268 | [
"BSD-3-Clause"
] | 1 | 2018-08-12T15:02:30.000Z | 2018-08-12T15:02:30.000Z | from django.contrib import admin
from tests.app2.models import App2Model1, App2Model2
@admin.register(App2Model1)
class App2Model1Admin(admin.ModelAdmin):
pass
@admin.register(App2Model2)
class App2Model2Admin(admin.ModelAdmin):
pass
| 17.642857 | 52 | 0.797571 | 28 | 247 | 7.035714 | 0.571429 | 0.13198 | 0.192893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059908 | 0.121457 | 247 | 13 | 53 | 19 | 0.847926 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
391c6726e0b083e3341efa2a8ed06186ffd6c685 | 199 | py | Python | interface/resource/css/test.py | mccolm-robotics/ClaverInteractiveMessageBoard | a63f338c4ee791f9dbf9c2791d1dc8e6326d32f2 | [
"MIT"
] | 1 | 2020-05-22T18:45:12.000Z | 2020-05-22T18:45:12.000Z | interface/resource/css/test.py | mccolm-robotics/ClaverInteractiveMessageBoard | a63f338c4ee791f9dbf9c2791d1dc8e6326d32f2 | [
"MIT"
] | null | null | null | interface/resource/css/test.py | mccolm-robotics/ClaverInteractiveMessageBoard | a63f338c4ee791f9dbf9c2791d1dc8e6326d32f2 | [
"MIT"
] | null | null | null | import os
THIS_FOLDER = os.path.dirname(os.path.abspath(__file__))
RES_FOLDER = "/home/godvalve/PycharmProjects/Claver-Interactive-Message-Board/interface/resource/button_images/"
print(RES_FOLDER) | 33.166667 | 112 | 0.824121 | 27 | 199 | 5.777778 | 0.777778 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050251 | 199 | 6 | 113 | 33.166667 | 0.825397 | 0 | 0 | 0 | 0 | 0.25 | 0.485 | 0.485 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
39531c1554f6498499106e61b76a76a8decbd79e | 380 | py | Python | tests/asp/cautious/choice.example2.cautious.asp.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/asp/cautious/choice.example2.cautious.asp.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/asp/cautious/choice.example2.cautious.asp.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
3 2 2 3 1 0 4
2 5 2 0 1 2 3
1 1 2 1 5 4
2 6 2 0 2 2 3
1 1 2 0 6 4
1 4 0 0
3 3 7 8 9 1 0 10
2 11 3 0 1 7 8 9
1 1 2 1 11 10
2 12 3 0 2 7 8 9
1 1 2 0 12 10
1 10 0 0
1 13 1 0 8
1 14 1 0 7
1 15 1 0 7
1 16 1 1 15
1 17 1 0 13
1 18 3 0 13 16 14
1 1 2 1 18 2
1 1 2 1 17 3
0
16 p
3 e
13 g
9 a
14 h
17 r
8 b
18 s
2 d
15... | 8.444444 | 17 | 0.510526 | 158 | 380 | 1.227848 | 0.202532 | 0.072165 | 0.092784 | 0.082474 | 0.113402 | 0.061856 | 0 | 0 | 0 | 0 | 0 | 0.763889 | 0.431579 | 380 | 44 | 18 | 8.636364 | 0.134259 | 0 | 0 | 0.045455 | 0 | 0 | 0.918421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
395426653ec7cf79ff7f59ff00ac4e7964db1b8a | 264 | py | Python | es6code/js_sources.py | joeedh/cserver | 1261a9c2a7d4cc768e71fefba33a4542648fa7fe | [
"Apache-2.0"
] | null | null | null | es6code/js_sources.py | joeedh/cserver | 1261a9c2a7d4cc768e71fefba33a4542648fa7fe | [
"Apache-2.0"
] | null | null | null | es6code/js_sources.py | joeedh/cserver | 1261a9c2a7d4cc768e71fefba33a4542648fa7fe | [
"Apache-2.0"
] | 1 | 2018-02-26T16:24:43.000Z | 2018-02-26T16:24:43.000Z | js_targets = {
"netlib.js" : [
"../../src/core/typesystem.js",
"../../src/util/utils.js",
"../../src/util/workerutils.js",
"../../src/util/strutils.js",
"../../src/core/ajax.js",
"src/cserver-netutils.js"
]
}
target_path = "../site/js" | 22 | 36 | 0.522727 | 32 | 264 | 4.25 | 0.5 | 0.220588 | 0.198529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 264 | 12 | 37 | 22 | 0.621005 | 0 | 0 | 0 | 0 | 0 | 0.641509 | 0.569811 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1a45203c3628a9210a485d38f4731507420eb6cf | 90 | py | Python | special_k/serializers/__init__.py | namoopsoo/special_k | 816ad200e8608d862e20971dc2bc4d2724aaf0bc | [
"Apache-2.0"
] | null | null | null | special_k/serializers/__init__.py | namoopsoo/special_k | 816ad200e8608d862e20971dc2bc4d2724aaf0bc | [
"Apache-2.0"
] | null | null | null | special_k/serializers/__init__.py | namoopsoo/special_k | 816ad200e8608d862e20971dc2bc4d2724aaf0bc | [
"Apache-2.0"
] | null | null | null | # Copyright 2020-present Kensho Technologies, LLC.
from .registry import REGISTRY # noqa
| 30 | 50 | 0.788889 | 11 | 90 | 6.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0.144444 | 90 | 2 | 51 | 45 | 0.87013 | 0.588889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
1a5e3f8f2014aeca023511c6ceec27f2bbe6e0e8 | 56 | py | Python | cloudmesh-exercises/cloudmesh-shell-1.py | cybertraining-dsc/fa19-516-170 | 8746be5a89d897a155468303308efb71ce7ba849 | [
"Apache-2.0"
] | null | null | null | cloudmesh-exercises/cloudmesh-shell-1.py | cybertraining-dsc/fa19-516-170 | 8746be5a89d897a155468303308efb71ce7ba849 | [
"Apache-2.0"
] | null | null | null | cloudmesh-exercises/cloudmesh-shell-1.py | cybertraining-dsc/fa19-516-170 | 8746be5a89d897a155468303308efb71ce7ba849 | [
"Apache-2.0"
] | 1 | 2019-09-06T17:27:32.000Z | 2019-09-06T17:27:32.000Z | # fa19-516-170 E.Cloudmesh.Shell.1
# run cms in terminal | 28 | 34 | 0.75 | 11 | 56 | 3.818182 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 0.125 | 56 | 2 | 35 | 28 | 0.673469 | 0.928571 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1a783bd27a2680518dcb11b92e2b4f762528cf4b | 91 | py | Python | anandpatel.py | devtechnocode/fossotober | 69757bcac06e0f9795f1ec00dec67610c09ed163 | [
"MIT"
] | null | null | null | anandpatel.py | devtechnocode/fossotober | 69757bcac06e0f9795f1ec00dec67610c09ed163 | [
"MIT"
] | null | null | null | anandpatel.py | devtechnocode/fossotober | 69757bcac06e0f9795f1ec00dec67610c09ed163 | [
"MIT"
] | null | null | null | print ("ANAND PATEL")
print ("AM.EN.U4CSE19206")
print ("S1 CSE")
print ("marvel rockzz")
| 15.166667 | 26 | 0.67033 | 13 | 91 | 4.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088608 | 0.131868 | 91 | 5 | 27 | 18.2 | 0.683544 | 0 | 0 | 0 | 0 | 0 | 0.511111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 4 |
1a814d524c4965b3f7a0c82c3d8c96db70e0b8f4 | 79 | py | Python | Task/Conditional-structures/Python/conditional-structures-3.py | LaudateCorpus1/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | 1 | 2018-11-09T22:08:38.000Z | 2018-11-09T22:08:38.000Z | Task/Conditional-structures/Python/conditional-structures-3.py | seanwallawalla-forks/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | null | null | null | Task/Conditional-structures/Python/conditional-structures-3.py | seanwallawalla-forks/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | 1 | 2018-11-09T22:08:40.000Z | 2018-11-09T22:08:40.000Z | >>> secret='foo'
>>> print 'got it' if secret=='foo' else 'try again'
'got it'
| 19.75 | 52 | 0.594937 | 13 | 79 | 3.615385 | 0.692308 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 79 | 3 | 53 | 26.333333 | 0.712121 | 0 | 0 | 0 | 0 | 0 | 0.341772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1aa6bc47a8645be4383b9dd4b7874a5c391c1684 | 187 | py | Python | setup.py | leuder/interest_rate | a3ab37e93a2db21745f6c7da3257688d2fd3cd6c | [
"MIT"
] | null | null | null | setup.py | leuder/interest_rate | a3ab37e93a2db21745f6c7da3257688d2fd3cd6c | [
"MIT"
] | null | null | null | setup.py | leuder/interest_rate | a3ab37e93a2db21745f6c7da3257688d2fd3cd6c | [
"MIT"
] | null | null | null | from setuptools import setup
setup(name='pynterest_rate',
version='0.0.0.dev1',
description='Calculate future value',
packages=['pynterest_rate'],
zip_safe=False) | 26.714286 | 43 | 0.684492 | 23 | 187 | 5.434783 | 0.782609 | 0.208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.187166 | 187 | 7 | 44 | 26.714286 | 0.796053 | 0 | 0 | 0 | 0 | 0 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
46d95e9834590aed2a4578632c20b4b1cd8a9008 | 741 | py | Python | automon/tests/unit/test_runner.py | TheShellLand/automonisaur | b5f304a44449b8664c93d8a8a3c3cf2d73aa0ce9 | [
"MIT"
] | 2 | 2021-09-15T18:35:44.000Z | 2022-01-18T05:36:54.000Z | automon/tests/unit/test_runner.py | TheShellLand/automonisaur | b5f304a44449b8664c93d8a8a3c3cf2d73aa0ce9 | [
"MIT"
] | 16 | 2021-08-29T22:51:53.000Z | 2022-03-09T16:08:19.000Z | automon/tests/unit/test_runner.py | TheShellLand/automonisaur | b5f304a44449b8664c93d8a8a3c3cf2d73aa0ce9 | [
"MIT"
] | null | null | null | import unittest
from automon.helpers.runner import *
class RunTest(unittest.TestCase):
r = Run()
def test_Run(self):
self.assertTrue(Run)
self.assertFalse(Run())
def test_set_command(self):
self.assertTrue(self.r.set_command('which'))
self.assertFalse(self.r.set_command(... | 23.15625 | 53 | 0.639676 | 96 | 741 | 4.739583 | 0.25 | 0.087912 | 0.197802 | 0.193407 | 0.549451 | 0.389011 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207827 | 741 | 31 | 54 | 23.903226 | 0.775128 | 0 | 0 | 0 | 0 | 0 | 0.043185 | 0 | 0 | 0 | 0 | 0 | 0.47619 | 1 | 0.238095 | false | 0 | 0.095238 | 0 | 0.428571 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
46dcfdfec1dd6958798acb1afe6d934f1132e8dd | 21 | py | Python | tests/__init__.py | weather-balloon/lib-py-parse-bom-stations | a8610cbf6b36b456d38b39a03495c8cbb2ddcdb0 | [
"BSD-2-Clause"
] | null | null | null | tests/__init__.py | weather-balloon/lib-py-parse-bom-stations | a8610cbf6b36b456d38b39a03495c8cbb2ddcdb0 | [
"BSD-2-Clause"
] | 5 | 2019-10-02T23:47:04.000Z | 2021-06-02T00:15:09.000Z | tests/__init__.py | weather-balloon/lib-py-parse-bom-stations | a8610cbf6b36b456d38b39a03495c8cbb2ddcdb0 | [
"BSD-2-Clause"
] | null | null | null | """ Testing code """
| 10.5 | 20 | 0.52381 | 2 | 21 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.647059 | 0.571429 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
46df5701f4b9ee36464c4542d6877be479cb3e99 | 331 | py | Python | Sorting/bubble_sort.py | karanS08/DSA-in-python | 17f6139b77f19acb04eaa85bfc6c22543f881143 | [
"BSD-2-Clause"
] | null | null | null | Sorting/bubble_sort.py | karanS08/DSA-in-python | 17f6139b77f19acb04eaa85bfc6c22543f881143 | [
"BSD-2-Clause"
] | null | null | null | Sorting/bubble_sort.py | karanS08/DSA-in-python | 17f6139b77f19acb04eaa85bfc6c22543f881143 | [
"BSD-2-Clause"
] | null | null | null | def bubblesort(elements):
for n in range(len(elements)-1, 0, -1):
for i in range(n):
if elements[i] > elements[i + 1]:
elements[i], elements[i + 1] = elements[i + 1], elements[i]
elements = [9,3,6,11,77,2,33,43,34,90]
print("Unsorted list is,")
print( elements)
bubblesort(elements)
print("Sorted Array is, ")
print... | 25.461538 | 61 | 0.670695 | 58 | 331 | 3.827586 | 0.482759 | 0.243243 | 0.22973 | 0.243243 | 0.292793 | 0.292793 | 0.211712 | 0 | 0 | 0 | 0 | 0.077193 | 0.138973 | 331 | 12 | 62 | 27.583333 | 0.701754 | 0 | 0 | 0.181818 | 0 | 0 | 0.102719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.363636 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
46edb8fcaeb2d1e35bfaf978683c3c9ee4c53863 | 217 | py | Python | Blog/my/admin.py | MY-Lancer/Blog01 | b0b563797891ca19ed67e67d2cb3663514c8e434 | [
"MIT"
] | null | null | null | Blog/my/admin.py | MY-Lancer/Blog01 | b0b563797891ca19ed67e67d2cb3663514c8e434 | [
"MIT"
] | null | null | null | Blog/my/admin.py | MY-Lancer/Blog01 | b0b563797891ca19ed67e67d2cb3663514c8e434 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
#注册模型类
from my.models import *
#注册文章标签类
admin.site.register(ArticleCategory)
#注册文章类
admin.site.register(Article)
#注册评论类
admin.site.register(Comment)
| 13.5625 | 36 | 0.78341 | 29 | 217 | 5.862069 | 0.62069 | 0.158824 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119816 | 217 | 15 | 37 | 14.466667 | 0.890052 | 0.221198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
46f76794f58dc3915226250b29105f6a71e4c978 | 1,256 | py | Python | cosmos/galaxies/profile/models/profiles/guild/base.py | MrFreemanser/Bot | b17e0ddf95ea475da38f8e270affd6c5709b2cb1 | [
"MIT"
] | null | null | null | cosmos/galaxies/profile/models/profiles/guild/base.py | MrFreemanser/Bot | b17e0ddf95ea475da38f8e270affd6c5709b2cb1 | [
"MIT"
] | null | null | null | cosmos/galaxies/profile/models/profiles/guild/base.py | MrFreemanser/Bot | b17e0ddf95ea475da38f8e270affd6c5709b2cb1 | [
"MIT"
] | null | null | null | from ..base import ProfileModelsBase
from cosmos import exceptions
from abc import abstractmethod
class GuildMemberProfileBase(ProfileModelsBase):
def __str__(self):
return self.member.__str__()
# TODO: Add a special dunder method which returns attribute from self.member if its not found in self.
... | 22.035088 | 106 | 0.672771 | 144 | 1,256 | 5.722222 | 0.326389 | 0.084951 | 0.101942 | 0.101942 | 0.15534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251592 | 1,256 | 56 | 107 | 22.428571 | 0.876596 | 0.079618 | 0 | 0.375 | 0 | 0 | 0.019064 | 0.019064 | 0 | 0 | 0 | 0.017857 | 0 | 1 | 0.25 | false | 0 | 0.075 | 0.175 | 0.55 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
2006cc950e0157808d8b6cd00558e0a826f7860e | 55 | py | Python | Data_structure_and_alogirthm_in_python_by_Michael_Goodrich/ch1/Creativity/C-1.19.py | katamit/dataStructure_practices | 22cc543a1c8e09116ebbcdde6be0d641e2c6090c | [
"MIT"
] | null | null | null | Data_structure_and_alogirthm_in_python_by_Michael_Goodrich/ch1/Creativity/C-1.19.py | katamit/dataStructure_practices | 22cc543a1c8e09116ebbcdde6be0d641e2c6090c | [
"MIT"
] | null | null | null | Data_structure_and_alogirthm_in_python_by_Michael_Goodrich/ch1/Creativity/C-1.19.py | katamit/dataStructure_practices | 22cc543a1c8e09116ebbcdde6be0d641e2c6090c | [
"MIT"
] | null | null | null | # coding: utf-8
print([chr(x) for x in range(97,123)])
| 18.333333 | 38 | 0.636364 | 12 | 55 | 2.916667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 0.145455 | 55 | 2 | 39 | 27.5 | 0.617021 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 4 |
200727745fb6766a86b1f41c06b71b028546ec48 | 119 | py | Python | apps.py | hawkli-1994/django-db-introspection | fe6e7012a139bad100cbf86fae738a3a66c94347 | [
"MIT"
] | 69 | 2018-01-13T08:59:40.000Z | 2018-04-12T05:50:26.000Z | apps.py | hawkli-1994/django-db-introspection | fe6e7012a139bad100cbf86fae738a3a66c94347 | [
"MIT"
] | null | null | null | apps.py | hawkli-1994/django-db-introspection | fe6e7012a139bad100cbf86fae738a3a66c94347 | [
"MIT"
] | 3 | 2018-01-13T10:35:04.000Z | 2018-04-20T06:41:14.000Z | from django.apps import AppConfig
class DjangoDbIntrospectionConfig(AppConfig):
name = 'django_db_introspection'
| 19.833333 | 45 | 0.815126 | 12 | 119 | 7.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12605 | 119 | 5 | 46 | 23.8 | 0.913462 | 0 | 0 | 0 | 0 | 0 | 0.193277 | 0.193277 | 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 | 1 | 0 | 0 | 4 |
201896b3f8f8b60bbcc87a9a3092470a58e3c7b0 | 141 | py | Python | inverse/__init__.py | uhrwecker/GRDonuts | 3087aeb5c169251bdb711b425dcc3040ff962da7 | [
"MIT"
] | null | null | null | inverse/__init__.py | uhrwecker/GRDonuts | 3087aeb5c169251bdb711b425dcc3040ff962da7 | [
"MIT"
] | 25 | 2020-03-26T11:16:58.000Z | 2020-09-10T18:31:52.000Z | inverse/__init__.py | uhrwecker/GRDonuts | 3087aeb5c169251bdb711b425dcc3040ff962da7 | [
"MIT"
] | null | null | null | from .schwarzschild import *
from .kerr import *
from .qmetric import *
__all__ = ['InverseSchwarzschild', 'InverseKerr', 'InverseQMetric']
| 23.5 | 67 | 0.751773 | 13 | 141 | 7.846154 | 0.692308 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 141 | 5 | 68 | 28.2 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 0 | 4 |
201af9261f0989b521aaf39abc8d46c16f7f58d7 | 16 | py | Python | yolox/backbones/__init__.py | EighteenSprings/PP_YOLOX | 48cff5203d55c98b96c9a6f89da26ff098f4bb91 | [
"Apache-2.0"
] | null | null | null | yolox/backbones/__init__.py | EighteenSprings/PP_YOLOX | 48cff5203d55c98b96c9a6f89da26ff098f4bb91 | [
"Apache-2.0"
] | null | null | null | yolox/backbones/__init__.py | EighteenSprings/PP_YOLOX | 48cff5203d55c98b96c9a6f89da26ff098f4bb91 | [
"Apache-2.0"
] | null | null | null | """
backbone
""" | 5.333333 | 8 | 0.5 | 1 | 16 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 16 | 3 | 9 | 5.333333 | 0.571429 | 0.5 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
202d4f5003230e723a1a57093b4b1f1a385219f9 | 88 | py | Python | empyres/core/phase/__init__.py | waigore/empyres4x | aa3bbf94ea0bca280152e92d485d5825a4b352ca | [
"Apache-2.0"
] | null | null | null | empyres/core/phase/__init__.py | waigore/empyres4x | aa3bbf94ea0bca280152e92d485d5825a4b352ca | [
"Apache-2.0"
] | null | null | null | empyres/core/phase/__init__.py | waigore/empyres4x | aa3bbf94ea0bca280152e92d485d5825a4b352ca | [
"Apache-2.0"
] | null | null | null | from .common import *
from .phase import (
gamePhaseNames,
getGamePhaseByName
)
| 14.666667 | 22 | 0.715909 | 8 | 88 | 7.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215909 | 88 | 5 | 23 | 17.6 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
20339d0472027ef181f1f3323b33f3bad0ad46fe | 264 | py | Python | avaliacoes/api/viewsets.py | alexandresillva/django_rest_framework | 396203c0e9400fed8d7cead98b166da8cf5675f1 | [
"MIT"
] | null | null | null | avaliacoes/api/viewsets.py | alexandresillva/django_rest_framework | 396203c0e9400fed8d7cead98b166da8cf5675f1 | [
"MIT"
] | null | null | null | avaliacoes/api/viewsets.py | alexandresillva/django_rest_framework | 396203c0e9400fed8d7cead98b166da8cf5675f1 | [
"MIT"
] | null | null | null | from rest_framework.viewsets import ModelViewSet
from avaliacoes.models import Avaliacao
from .serializers import AvaliacaoSerializer
class AvaliacaoViewSet(ModelViewSet):
queryset = Avaliacao.objects.all()
serializer_class = AvaliacaoSerializer
| 29.333333 | 49 | 0.810606 | 25 | 264 | 8.48 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143939 | 264 | 8 | 50 | 33 | 0.938053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
645fdb718f25afa2f099b9725c88c1793bd14b44 | 100 | py | Python | python/apsis/exc.py | alexhsamuel/apsis | 7a038a39e5002637b60f73147728b4cc53692da3 | [
"BSD-3-Clause"
] | 1 | 2021-06-03T15:35:31.000Z | 2021-06-03T15:35:31.000Z | python/apsis/exc.py | alexhsamuel/apsis | 7a038a39e5002637b60f73147728b4cc53692da3 | [
"BSD-3-Clause"
] | 93 | 2018-08-17T20:32:09.000Z | 2022-03-23T17:34:37.000Z | python/apsis/exc.py | alexhsamuel/apsis | 7a038a39e5002637b60f73147728b4cc53692da3 | [
"BSD-3-Clause"
] | null | null | null | class ConditionError(RuntimeError):
"""
An error in specification of a condition.
"""
| 14.285714 | 45 | 0.65 | 10 | 100 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 100 | 6 | 46 | 16.666667 | 0.866667 | 0.41 | 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 | 1 | 0 | 0 | 4 |
64869a03d1e5c6eb767b2698bd09b5e585cd0ee2 | 20 | py | Python | water/__init__.py | truher/water | b821ee42de4f7f978aa50071e4b5029f2265b4c8 | [
"MIT"
] | null | null | null | water/__init__.py | truher/water | b821ee42de4f7f978aa50071e4b5029f2265b4c8 | [
"MIT"
] | 18 | 2021-05-02T21:34:11.000Z | 2021-05-23T00:54:59.000Z | water/__init__.py | truher/water | b821ee42de4f7f978aa50071e4b5029f2265b4c8 | [
"MIT"
] | null | null | null | """water package"""
| 10 | 19 | 0.6 | 2 | 20 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 20 | 1 | 20 | 20 | 0.666667 | 0.65 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
649fe1d53cf1ec6310809f827f8e9cf1f6788acf | 83,392 | py | Python | space_api/proto/server_pb2.py | AliabbasMerchant/space-api-python | e5f047d567540d503be7fe72e82f2b198e48b5f9 | [
"Apache-2.0"
] | 8 | 2019-04-02T06:06:45.000Z | 2019-11-12T16:53:26.000Z | space_api/proto/server_pb2.py | SaiprasadDuduka/space-api-python | 278ad650fa5579089a7ff465dbe74ec5469940ae | [
"Apache-2.0"
] | 28 | 2019-03-25T11:35:07.000Z | 2020-05-11T05:10:00.000Z | space_api/proto/server_pb2.py | SaiprasadDuduka/space-api-python | 278ad650fa5579089a7ff465dbe74ec5469940ae | [
"Apache-2.0"
] | 4 | 2019-03-22T17:09:22.000Z | 2019-10-24T17:10:43.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: server.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflec... | 39.597341 | 7,671 | 0.734183 | 10,426 | 83,392 | 5.607903 | 0.041531 | 0.05432 | 0.03891 | 0.041732 | 0.725782 | 0.686632 | 0.67808 | 0.656205 | 0.651553 | 0.60522 | 0 | 0.042349 | 0.132399 | 83,392 | 2,105 | 7,672 | 39.616152 | 0.765767 | 0.024007 | 0 | 0.70229 | 1 | 0.010687 | 0.151879 | 0.108182 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.002036 | 0.002545 | 0 | 0.002545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
64a0ffae558c9b19ccdb96e6568e328351f309fe | 1,490 | py | Python | ejercicio_nombre_phyton.py | juandab07/Algoritmos-y-programacion | f3c10f5c4620b15432ecfe2b9f5831437a49ace9 | [
"MIT"
] | null | null | null | ejercicio_nombre_phyton.py | juandab07/Algoritmos-y-programacion | f3c10f5c4620b15432ecfe2b9f5831437a49ace9 | [
"MIT"
] | null | null | null | ejercicio_nombre_phyton.py | juandab07/Algoritmos-y-programacion | f3c10f5c4620b15432ecfe2b9f5831437a49ace9 | [
"MIT"
] | null | null | null | from turtle import*
def j(n):
fd(100)
right(90)
fd(30)
right(90)
fd(35)
up()
fd(30)
down()
fd(35)
right(90)
fd(30)
up()
left(180)
fd(30)
left(90)
fd(35)
down()
right(90)
fd(100)
left(180)
up()
fd(100)
left(270)
fd(30)
r... | 12.016129 | 31 | 0.43557 | 238 | 1,490 | 2.726891 | 0.147059 | 0.191063 | 0.291217 | 0.084746 | 0.551618 | 0.439137 | 0.383667 | 0.323575 | 0.323575 | 0.249615 | 0 | 0.259711 | 0.395302 | 1,490 | 124 | 32 | 12.016129 | 0.460599 | 0 | 0 | 0.87395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042017 | false | 0 | 0.008403 | 0 | 0.05042 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
64ad74af3767388b10e3986487a9e0f85135989b | 73 | py | Python | Ex 1.py | norman-normandi/Learning | 16f598295595b35f40cab1fb9f86debb6c1b0bb4 | [
"MIT"
] | null | null | null | Ex 1.py | norman-normandi/Learning | 16f598295595b35f40cab1fb9f86debb6c1b0bb4 | [
"MIT"
] | null | null | null | Ex 1.py | norman-normandi/Learning | 16f598295595b35f40cab1fb9f86debb6c1b0bb4 | [
"MIT"
] | null | null | null | for i in range(1500,2701):
if (i%7==0) and (i%5==0):
print(i) | 24.333333 | 29 | 0.493151 | 16 | 73 | 2.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 0.273973 | 73 | 3 | 30 | 24.333333 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
64bbc7370f9f8bcd62808db1edb8fe24427637ea | 243 | py | Python | algorithms/implement_selection_sort/implement_selection_sort_test.py | JCPedroza/freeCodeCamp-coding-interview-prep-python | 56d40d42d127e98f2d8132e043054ba72cc5faaa | [
"MIT"
] | null | null | null | algorithms/implement_selection_sort/implement_selection_sort_test.py | JCPedroza/freeCodeCamp-coding-interview-prep-python | 56d40d42d127e98f2d8132e043054ba72cc5faaa | [
"MIT"
] | null | null | null | algorithms/implement_selection_sort/implement_selection_sort_test.py | JCPedroza/freeCodeCamp-coding-interview-prep-python | 56d40d42d127e98f2d8132e043054ba72cc5faaa | [
"MIT"
] | null | null | null | from implement_selection_sort import selection_sort as ssort
def test_empty_list():
assert ssort([]) == []
def test_one_item():
assert ssort([0]) == [0]
def test_small_sort():
assert ssort([5, 4, 3, 2, 1]) == [1, 2, 3, 4, 5]
| 17.357143 | 60 | 0.625514 | 39 | 243 | 3.666667 | 0.538462 | 0.146853 | 0.167832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062176 | 0.205761 | 243 | 13 | 61 | 18.692308 | 0.678756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.428571 | true | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
64c71076e47486abfb40935f8fae509947f7b030 | 1,990 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/GREMEDY/frame_terminator.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/GREMEDY/frame_terminator.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/GREMEDY/frame_terminator.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | '''OpenGL extension GREMEDY.frame_terminator
This module customises the behaviour of the
OpenGL.raw.GL.GREMEDY.frame_terminator to provide a more
Python-friendly API
Overview (from the spec)
This extension defines a mechanism that enables marking the end
of render frames within the OpenGL stream.
... | 42.340426 | 75 | 0.782915 | 278 | 1,990 | 5.564748 | 0.503597 | 0.058824 | 0.071105 | 0.034906 | 0.106658 | 0.106658 | 0.055591 | 0.055591 | 0 | 0 | 0 | 0 | 0.177387 | 1,990 | 47 | 76 | 42.340426 | 0.945021 | 0.848241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
64de0e681095a0b2f1aa7507322d3b02f6f60947 | 5,034 | py | Python | messente_api/__init__.py | messente/messente-api-python | 154abca9e6a226a5c97d8052c3f2631765503426 | [
"Apache-2.0"
] | null | null | null | messente_api/__init__.py | messente/messente-api-python | 154abca9e6a226a5c97d8052c3f2631765503426 | [
"Apache-2.0"
] | null | null | null | messente_api/__init__.py | messente/messente-api-python | 154abca9e6a226a5c97d8052c3f2631765503426 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
Messente API
[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers... | 55.933333 | 473 | 0.883592 | 652 | 5,034 | 6.569018 | 0.269939 | 0.169507 | 0.227644 | 0.245155 | 0.331076 | 0.178847 | 0.056035 | 0.019612 | 0 | 0 | 0 | 0.002374 | 0.079658 | 5,034 | 89 | 474 | 56.561798 | 0.922081 | 0.140644 | 0 | 0 | 0 | 0 | 0.001165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.985075 | 0 | 0.985075 | 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 | 1 | 0 | 0 | 4 |
b3b9f114d5292ee0425745449e43b6d6d2043b67 | 117 | py | Python | bullet_journal/exceptions.py | pinxiu/bullet_journal | 30264306fd4d3f2e4079259c8a09db1dcddab9f2 | [
"MIT"
] | 1 | 2020-12-17T04:18:46.000Z | 2020-12-17T04:18:46.000Z | bullet_journal/exceptions.py | pinxiu/bullet_journal | 30264306fd4d3f2e4079259c8a09db1dcddab9f2 | [
"MIT"
] | 1 | 2019-09-09T21:13:09.000Z | 2019-09-09T21:13:09.000Z | bullet_journal/exceptions.py | pinxiu/bullet_journal | 30264306fd4d3f2e4079259c8a09db1dcddab9f2 | [
"MIT"
] | 1 | 2020-04-29T14:38:39.000Z | 2020-04-29T14:38:39.000Z | class BulletJournalException(Exception):
"""Base class for all exceptions raised by bullet journal."""
pass
| 23.4 | 65 | 0.735043 | 13 | 117 | 6.615385 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 117 | 4 | 66 | 29.25 | 0.895833 | 0.470085 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
b3bb5cb1ecdcca2a100744e4798717d260dc1fac | 4,425 | py | Python | falcon/core/protocol/fbs/FalconEvent.py | jopereira/horus-tracer | 03671206f02c5ebea18f5682b346f59884e0a538 | [
"MIT"
] | null | null | null | falcon/core/protocol/fbs/FalconEvent.py | jopereira/horus-tracer | 03671206f02c5ebea18f5682b346f59884e0a538 | [
"MIT"
] | 1 | 2021-05-17T21:06:03.000Z | 2021-05-17T21:06:03.000Z | falcon/core/protocol/fbs/FalconEvent.py | jopereira/horus-tracer | 03671206f02c5ebea18f5682b346f59884e0a538 | [
"MIT"
] | 1 | 2021-05-17T17:14:32.000Z | 2021-05-17T17:14:32.000Z | # automatically generated by the FlatBuffers compiler, do not modify
# namespace: fbs
import flatbuffers
class FalconEvent(object):
__slots__ = ['_tab']
@classmethod
def GetRootAsFalconEvent(cls, buf, offset):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = Falcon... | 38.815789 | 150 | 0.68565 | 536 | 4,425 | 5.518657 | 0.184701 | 0.078093 | 0.163624 | 0.189317 | 0.533469 | 0.533469 | 0.464165 | 0.464165 | 0.464165 | 0.464165 | 0 | 0.023395 | 0.20791 | 4,425 | 113 | 151 | 39.159292 | 0.820542 | 0.050847 | 0 | 0.390244 | 1 | 0 | 0.000956 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.317073 | false | 0 | 0.02439 | 0.012195 | 0.646341 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b3be36bf02a65855156a9cd50f75d9d2ac08c1d2 | 143 | py | Python | pkg/storages/redis.py | GKAurora/Aurora2.0-WebAPI | d91a028115c449e77f07681f39cfd4dd25870137 | [
"MIT"
] | null | null | null | pkg/storages/redis.py | GKAurora/Aurora2.0-WebAPI | d91a028115c449e77f07681f39cfd4dd25870137 | [
"MIT"
] | null | null | null | pkg/storages/redis.py | GKAurora/Aurora2.0-WebAPI | d91a028115c449e77f07681f39cfd4dd25870137 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
'''
:file: redis.py
:author: -Farmer
:url: https://blog.farmer233.top
:date: 2021/06/23 00:40:09
'''
| 14.3 | 36 | 0.524476 | 20 | 143 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165138 | 0.237762 | 143 | 9 | 37 | 15.888889 | 0.522936 | 0.804196 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b3c777b6c002f92742d1a3d502c9bf4ffbb8e845 | 100 | py | Python | web-frameworks/django/iWillTestEachApps/django_filter/apps.py | suroegin-learning/learn-python | be5bda86add0dcd6f2fd3db737bb7d0d3ec5f853 | [
"MIT"
] | null | null | null | web-frameworks/django/iWillTestEachApps/django_filter/apps.py | suroegin-learning/learn-python | be5bda86add0dcd6f2fd3db737bb7d0d3ec5f853 | [
"MIT"
] | null | null | null | web-frameworks/django/iWillTestEachApps/django_filter/apps.py | suroegin-learning/learn-python | be5bda86add0dcd6f2fd3db737bb7d0d3ec5f853 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DjangoFilterConfig(AppConfig):
name = 'django_filter'
| 16.666667 | 36 | 0.78 | 11 | 100 | 7 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 5 | 37 | 20 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0.13 | 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 | 1 | 0 | 0 | 4 |
b3d753de21940d69037e8f17b08bda3f10a2b808 | 143 | py | Python | custom_components/colorfulclouds/__init__.py | mikal/colorfulclouds-hass | 2b01bb08b2452f53e6c13f65021769fd41a05785 | [
"MIT"
] | 22 | 2019-06-10T02:28:52.000Z | 2022-03-26T14:14:29.000Z | custom_components/colorfulclouds/__init__.py | mikal/colorfulclouds-hass | 2b01bb08b2452f53e6c13f65021769fd41a05785 | [
"MIT"
] | 3 | 2019-06-10T14:10:35.000Z | 2019-12-25T03:53:58.000Z | custom_components/colorfulclouds/__init__.py | mikal/colorfulclouds-hass | 2b01bb08b2452f53e6c13f65021769fd41a05785 | [
"MIT"
] | 6 | 2019-08-27T15:54:03.000Z | 2021-06-06T01:22:59.000Z | """
Component to integrate with 彩云天气.
For more details about this component, please refer to
https://github.com/jihao/colorfulclouds-hass
"""
| 20.428571 | 54 | 0.769231 | 20 | 143 | 5.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125874 | 143 | 6 | 55 | 23.833333 | 0.88 | 0.937063 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b3f3f9695bab413d909aed9e8cd942b89398360b | 176 | py | Python | password_generator/input_sanitise.py | rwgeaston/django-password-generator | 62607905bafc111802c61223a1c3c34aa927c9fc | [
"MIT"
] | null | null | null | password_generator/input_sanitise.py | rwgeaston/django-password-generator | 62607905bafc111802c61223a1c3c34aa927c9fc | [
"MIT"
] | null | null | null | password_generator/input_sanitise.py | rwgeaston/django-password-generator | 62607905bafc111802c61223a1c3c34aa927c9fc | [
"MIT"
] | null | null | null | import re
from unidecode import unidecode
def sanitise(word):
word = word.lower()
word = unidecode(word)
word = re.sub(r'[^a-z0-9\-]+', '', word)
return word
| 17.6 | 44 | 0.619318 | 25 | 176 | 4.36 | 0.56 | 0.220183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014599 | 0.221591 | 176 | 9 | 45 | 19.555556 | 0.781022 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 4 |
b3fc64e7965651fd3edbab2058ae7a67db382870 | 63 | py | Python | Pacotes/prova2.py | TonyRio/Python-Exercicios | 8a72d1b12418c6485794dae184425df0daf098bb | [
"MIT"
] | null | null | null | Pacotes/prova2.py | TonyRio/Python-Exercicios | 8a72d1b12418c6485794dae184425df0daf098bb | [
"MIT"
] | null | null | null | Pacotes/prova2.py | TonyRio/Python-Exercicios | 8a72d1b12418c6485794dae184425df0daf098bb | [
"MIT"
] | null | null | null | a = (i for i in range (300_000_000))
for i in a:
print(i)
| 10.5 | 37 | 0.587302 | 15 | 63 | 2.333333 | 0.533333 | 0.228571 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.285714 | 63 | 5 | 38 | 12.6 | 0.577778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 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 | 4 |
b6131ce5d9b4a595b80d59361402fc66f913654a | 18,065 | py | Python | setup.py | demis001/puticr | c510d4a6e2815011a839d9bd25eb8e4cdc05d2b7 | [
"MIT"
] | 1 | 2019-11-20T20:21:31.000Z | 2019-11-20T20:21:31.000Z | setup.py | demis001/puticr | c510d4a6e2815011a839d9bd25eb8e4cdc05d2b7 | [
"MIT"
] | 1 | 2021-11-15T17:48:25.000Z | 2021-11-15T17:48:25.000Z | setup.py | demis001/puticr | c510d4a6e2815011a839d9bd25eb8e4cdc05d2b7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from __future__ import print_function
from setuptools import setup, find_packages
import os
import sys
import subprocess
import imp
if 'check_output' not in dir(subprocess):
def check_output(cmd_args, *args, **kwargs):
proc = subprocess.Popen... | 40.686937 | 114 | 0.693994 | 2,210 | 18,065 | 5.591403 | 0.186878 | 0.185806 | 0.24035 | 0.273125 | 0.591244 | 0.378975 | 0.187262 | 0.127053 | 0.117181 | 0.074128 | 0 | 0.045921 | 0.17426 | 18,065 | 443 | 115 | 40.778781 | 0.782463 | 0.088901 | 0 | 0.055901 | 0 | 0.043478 | 0.58473 | 0.526251 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.003106 | 0.062112 | null | null | 0.02795 | 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 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3733e1f03086d10263a315ab8de78f7640ad37d4 | 359 | py | Python | web-api/api/views.py | Egor4ik325/anyberry | 87787f82f1cec0f32d9d7c7384e7b2771f34af3c | [
"MIT"
] | 1 | 2021-09-12T16:28:52.000Z | 2021-09-12T16:28:52.000Z | web-api/api/views.py | Egor4ik325/anyberry | 87787f82f1cec0f32d9d7c7384e7b2771f34af3c | [
"MIT"
] | 2 | 2021-09-06T08:31:56.000Z | 2021-09-06T08:35:25.000Z | web-api/api/views.py | Egor4ik325/anyberry | 87787f82f1cec0f32d9d7c7384e7b2771f34af3c | [
"MIT"
] | null | null | null | from dj_rest_auth.registration.views import SocialLoginView
from allauth.socialaccount.providers.vk.views import VKOAuth2Adapter
from allauth.socialaccount.providers.google.views import GoogleOAuth2Adapter
class VKLoginView(SocialLoginView):
adapter_class = VKOAuth2Adapter
class GoogleLoginView(SocialLoginView):
... | 39.888889 | 76 | 0.86351 | 36 | 359 | 8.5 | 0.527778 | 0.107843 | 0.156863 | 0.215686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.086351 | 359 | 9 | 77 | 39.888889 | 0.920732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
375010deab91047b8769ae6057d6e8be34209eae | 35 | py | Python | Beginner/1921.py | LorranSutter/URI-Online-Judge | aef885b9a7caa83484cf172e29eea8ec92fc3627 | [
"MIT"
] | null | null | null | Beginner/1921.py | LorranSutter/URI-Online-Judge | aef885b9a7caa83484cf172e29eea8ec92fc3627 | [
"MIT"
] | null | null | null | Beginner/1921.py | LorranSutter/URI-Online-Judge | aef885b9a7caa83484cf172e29eea8ec92fc3627 | [
"MIT"
] | null | null | null | n = int(input())
print(n*(n-3)//2)
| 11.666667 | 17 | 0.514286 | 8 | 35 | 2.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.114286 | 35 | 2 | 18 | 17.5 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
377619974f6ba6fbc8f0f2f88e1ce96a7e48ec1f | 212 | py | Python | modules/dbnd/src/dbnd/api/runs.py | ipattarapong/dbnd | 7bd65621c46c73e078eb628f994127ad4c7dbd1a | [
"Apache-2.0"
] | 224 | 2020-01-02T10:46:37.000Z | 2022-03-02T13:54:08.000Z | modules/dbnd/src/dbnd/api/runs.py | ipattarapong/dbnd | 7bd65621c46c73e078eb628f994127ad4c7dbd1a | [
"Apache-2.0"
] | 16 | 2020-03-11T09:37:58.000Z | 2022-01-26T10:22:08.000Z | modules/dbnd/src/dbnd/api/runs.py | ipattarapong/dbnd | 7bd65621c46c73e078eb628f994127ad4c7dbd1a | [
"Apache-2.0"
] | 24 | 2020-03-24T13:53:50.000Z | 2022-03-22T11:55:18.000Z | from dbnd._core.current import get_databand_context
def kill_run(run_uid, ctx=None):
ctx = ctx or get_databand_context()
return ctx.databand_api_client.api_request(endpoint="runs/stop", data=[run_uid])
| 30.285714 | 84 | 0.778302 | 34 | 212 | 4.529412 | 0.676471 | 0.142857 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117925 | 212 | 6 | 85 | 35.333333 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.042453 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
37c447224e83151d14c8329a039e50b75a43c59b | 2,244 | py | Python | architectures/providers/azure/office365.py | marinmuso/architectures | d824056e6e69cdb06db31562a1fb71af058892c0 | [
"MIT"
] | 15 | 2021-01-18T02:46:12.000Z | 2021-08-23T20:10:22.000Z | architectures/providers/azure/office365.py | marinmuso/architectures | d824056e6e69cdb06db31562a1fb71af058892c0 | [
"MIT"
] | 77 | 2021-01-11T05:01:30.000Z | 2021-08-15T22:39:19.000Z | architectures/providers/azure/office365.py | marinmuso/architectures | d824056e6e69cdb06db31562a1fb71af058892c0 | [
"MIT"
] | 2 | 2021-01-10T19:28:13.000Z | 2021-08-12T19:06:45.000Z | # Do not modify this file directly. It is auto-generated with Python.
from architectures.providers import _Azure
class _Office365(_Azure):
_service_type = "office365"
_icon_dir = "icons/azure/office365"
class O365Stream(_Office365):
_icon = "o365-stream.png"
_default_label = "O365 Stream"
class O365... | 24.659341 | 69 | 0.707665 | 257 | 2,244 | 5.824903 | 0.264591 | 0.191049 | 0.238477 | 0.266533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142312 | 0.182709 | 2,244 | 91 | 70 | 24.659341 | 0.673937 | 0.029857 | 0 | 0 | 1 | 0 | 0.269301 | 0.009651 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014925 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
80671b40701fd6e368f9c11996b035795916aadd | 173 | py | Python | __main__.py | helvecioneto/sdt2 | 36e6e134e92dfd7ae4c65a255d0b2d275cd2168f | [
"Apache-2.0"
] | 1 | 2020-07-13T17:26:30.000Z | 2020-07-13T17:26:30.000Z | __main__.py | helvecioneto/sdt | e10ee2696dc767a7fe3ad0cac00af29f38ef1609 | [
"Apache-2.0"
] | null | null | null | __main__.py | helvecioneto/sdt | e10ee2696dc767a7fe3ad0cac00af29f38ef1609 | [
"Apache-2.0"
] | null | null | null |
#from modules.main_menu import main_menu
from __init__ import *
if __name__ == "__main__":
### Usar menus
# mainMenu()
## Processamento direto
main_qualify() | 19.222222 | 40 | 0.687861 | 20 | 173 | 5.2 | 0.7 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208092 | 173 | 9 | 41 | 19.222222 | 0.759124 | 0.473988 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
807a86bd48e121eaea227531a8c95015af3067b8 | 4,344 | py | Python | tests/test_wps_generic_shape_properties.py | davidcaron/raven | c8dd818e42b81120acf57cef0a340f42785074cf | [
"MIT"
] | null | null | null | tests/test_wps_generic_shape_properties.py | davidcaron/raven | c8dd818e42b81120acf57cef0a340f42785074cf | [
"MIT"
] | null | null | null | tests/test_wps_generic_shape_properties.py | davidcaron/raven | c8dd818e42b81120acf57cef0a340f42785074cf | [
"MIT"
] | null | null | null | import json
import numpy as np
from pywps import Service
from pywps.tests import assert_response_success
from .common import client_for, TESTDATA, CFG_FILE, get_output
from raven.processes import ShapePropertiesProcess
class TestGenericShapePropertiesProcess:
def test_simple(self):
client = client_for(S... | 42.174757 | 116 | 0.654696 | 512 | 4,344 | 5.404297 | 0.224609 | 0.065052 | 0.108421 | 0.151789 | 0.777015 | 0.777015 | 0.777015 | 0.724611 | 0.666064 | 0.591615 | 0 | 0.077207 | 0.188996 | 4,344 | 102 | 117 | 42.588235 | 0.708203 | 0.027624 | 0 | 0.547945 | 0 | 0 | 0.156421 | 0.045573 | 0 | 0 | 0 | 0 | 0.410959 | 1 | 0.041096 | false | 0 | 0.082192 | 0 | 0.136986 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 4 |
809cdd389489664cf904614b417a4524aca1a3cd | 26 | py | Python | tests/__init__.py | danielhoherd/plexdl | 31b07f8f993fd0fcd68846c35e39629368e858e8 | [
"MIT"
] | 23 | 2017-09-29T21:55:11.000Z | 2022-02-04T11:11:42.000Z | tests/__init__.py | danielhoherd/plexdl | 31b07f8f993fd0fcd68846c35e39629368e858e8 | [
"MIT"
] | 5 | 2019-04-05T13:12:26.000Z | 2022-03-31T15:50:11.000Z | tests/__init__.py | danielhoherd/plexdl | 31b07f8f993fd0fcd68846c35e39629368e858e8 | [
"MIT"
] | 2 | 2020-05-13T13:54:34.000Z | 2021-05-19T23:22:36.000Z | """plexdl test module."""
| 13 | 25 | 0.615385 | 3 | 26 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.695652 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
80a4bb6976859528e406ee133872e0e468149140 | 616 | py | Python | dist/python/cocktail/minimizer_ring.py | natir/coktail | bdb37edffb5ddb9df34b15f5938a9f7794cf7b20 | [
"MIT"
] | 5 | 2020-07-20T12:32:03.000Z | 2021-09-03T09:57:20.000Z | dist/python/cocktail/minimizer_ring.py | natir/coktail | bdb37edffb5ddb9df34b15f5938a9f7794cf7b20 | [
"MIT"
] | null | null | null | dist/python/cocktail/minimizer_ring.py | natir/coktail | bdb37edffb5ddb9df34b15f5938a9f7794cf7b20 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from ._lowlevel import ffi, lib
from .utils import RustObject
class MinimizerRing(RustObject):
__dealloc_func__ = lib.cocktail_minimizerring_free
def __init__(self, k: int, m: int, kmer: int):
self._objptr = lib.cocktail_minimizerring_new(k, m, kmer)
def populate_buffer(se... | 29.333333 | 74 | 0.733766 | 81 | 616 | 5.209877 | 0.407407 | 0.130332 | 0.28436 | 0.177725 | 0.322275 | 0.232227 | 0.232227 | 0.232227 | 0 | 0 | 0 | 0 | 0.172078 | 616 | 20 | 75 | 30.8 | 0.827451 | 0.032468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.083333 | 0.75 | 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 | 1 | 0 | 0 | 4 |
80aad63c51e7fdf37aa67e738b373cb06bbfc3a9 | 1,031 | py | Python | scrap_jobs/analysis/save.py | andytan0727/scrap-jobs | b03ca1b4b21e4e10e653d20e8a35d08cf1b70ab7 | [
"MIT"
] | null | null | null | scrap_jobs/analysis/save.py | andytan0727/scrap-jobs | b03ca1b4b21e4e10e653d20e8a35d08cf1b70ab7 | [
"MIT"
] | 2 | 2021-03-31T19:14:07.000Z | 2021-12-13T20:06:00.000Z | scrap_jobs/analysis/save.py | andytan0727/scrap-jobs | b03ca1b4b21e4e10e653d20e8a35d08cf1b70ab7 | [
"MIT"
] | null | null | null | """
This module contains function to save scrapped data into local file system
"""
import os
from pandas import DataFrame
def save_to_csv(df: DataFrame, filename: str) -> None:
"""Save dataframe as csv file in data/ folder
Args:
df (DataFrame): Pandas DataFrame instance
file... | 27.131579 | 79 | 0.651794 | 140 | 1,031 | 4.728571 | 0.321429 | 0.099698 | 0.02719 | 0.066465 | 0.767372 | 0.767372 | 0.767372 | 0.767372 | 0.643505 | 0.643505 | 0 | 0.002604 | 0.255092 | 1,031 | 37 | 80 | 27.864865 | 0.859375 | 0.349176 | 0 | 0.5 | 0 | 0 | 0.189003 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 4 |
80be17233c602c8f51be2ea8c7a54d0e0730faaf | 1,041 | py | Python | models/exceptions.py | oyeyemidamilola/samba-model | 5f51a8303a43227667f6c561c028600f69358372 | [
"MIT"
] | 1 | 2020-03-17T20:41:28.000Z | 2020-03-17T20:41:28.000Z | models/exceptions.py | oyeyemidamilola/samba-model | 5f51a8303a43227667f6c561c028600f69358372 | [
"MIT"
] | null | null | null | models/exceptions.py | oyeyemidamilola/samba-model | 5f51a8303a43227667f6c561c028600f69358372 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sat Aug 17 22:41:00 2019
@author: USER
"""
class InvalidExtensionError(Exception):
def __init__(self,message):
super().__init__(message)
self.message = message
def __str__(self):
return self.message
cl... | 22.630435 | 49 | 0.567723 | 99 | 1,041 | 5.484848 | 0.30303 | 0.263352 | 0.138122 | 0.14733 | 0.578269 | 0.578269 | 0.578269 | 0.453039 | 0.453039 | 0.453039 | 0 | 0.018545 | 0.326609 | 1,041 | 46 | 50 | 22.630435 | 0.756063 | 0.070125 | 0 | 0.64 | 0 | 0 | 0.020742 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.32 | false | 0 | 0 | 0.16 | 0.64 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
038ae43d541e5761f69a67bb2b6e6c4c8d6de2af | 670 | py | Python | src/pyrin/template/handlers/exceptions.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | src/pyrin/template/handlers/exceptions.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | src/pyrin/template/handlers/exceptions.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
template handlers exceptions module.
"""
from pyrin.core.exceptions import CoreException, CoreBusinessException
class TemplateHandlersException(CoreException):
"""
template handlers exception.
"""
pass
class TemplateHandlersBusinessException(CoreBusinessException, Templa... | 19.142857 | 90 | 0.722388 | 47 | 670 | 10.297872 | 0.553191 | 0.099174 | 0.07438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001838 | 0.18806 | 670 | 34 | 91 | 19.705882 | 0.887868 | 0.280597 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.444444 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
03af01765e9b160b812c1d0d9b67acb5ce0c13b9 | 233 | py | Python | mica/starcheck/__init__.py | sot/mica | 136a9b0d9521efda5208067b51cf0c8700b4def3 | [
"BSD-3-Clause"
] | null | null | null | mica/starcheck/__init__.py | sot/mica | 136a9b0d9521efda5208067b51cf0c8700b4def3 | [
"BSD-3-Clause"
] | 150 | 2015-01-23T17:09:53.000Z | 2022-01-10T00:50:54.000Z | mica/starcheck/__init__.py | sot/mica | 136a9b0d9521efda5208067b51cf0c8700b4def3 | [
"BSD-3-Clause"
] | null | null | null | # Licensed under a 3-clause BSD style license - see LICENSE.rst
from .starcheck import (get_starcheck_catalog, get_starcheck_catalog_at_date,
get_mp_dir, get_monitor_windows, get_dither, get_att, get_starcat)
| 58.25 | 90 | 0.751073 | 34 | 233 | 4.764706 | 0.705882 | 0.148148 | 0.234568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005319 | 0.193133 | 233 | 3 | 91 | 77.666667 | 0.856383 | 0.261803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
03bbbb8836b5d1bfc2e23707fc72ddef7d2ab250 | 39 | py | Python | examples/video_annotation/labelme2voc.py | yuankaihuo/MedLabel | 15673affda520ea159727dc7647a8963898e9788 | [
"MIT"
] | 10 | 2020-07-30T02:04:24.000Z | 2022-03-23T02:33:50.000Z | examples/video_annotation/labelme2voc.py | yuankaihuo/MedLabel | 15673affda520ea159727dc7647a8963898e9788 | [
"MIT"
] | 1 | 2020-08-24T02:31:00.000Z | 2020-08-24T02:31:00.000Z | examples/video_annotation/labelme2voc.py | yuankaihuo/MedLabel | 15673affda520ea159727dc7647a8963898e9788 | [
"MIT"
] | 6 | 2020-07-30T02:04:25.000Z | 2021-01-25T08:11:20.000Z | ../semantic_segmentation/labelme2voc.py | 39 | 39 | 0.871795 | 4 | 39 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 39 | 1 | 39 | 39 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
03c424f963aeb4fbc66fd40e4545a041574e1c0e | 9 | py | Python | api/managed_users/admin.py | Codebiosys/oauth-microservice | a87796bff41bed745878bafab3ccf06e346c43e9 | [
"MIT"
] | 2 | 2019-12-30T02:21:51.000Z | 2020-10-18T08:09:54.000Z | api/managed_users/admin.py | Codebiosys/oauth-microservice | a87796bff41bed745878bafab3ccf06e346c43e9 | [
"MIT"
] | null | null | null | api/managed_users/admin.py | Codebiosys/oauth-microservice | a87796bff41bed745878bafab3ccf06e346c43e9 | [
"MIT"
] | 2 | 2018-12-06T21:08:24.000Z | 2018-12-06T21:16:02.000Z | # no: qa
| 4.5 | 8 | 0.444444 | 2 | 9 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 9 | 1 | 9 | 9 | 0.666667 | 0.666667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
03c58e6f297f2c4bedb37f2281eae622308f5eeb | 281 | py | Python | phase1/pack_mini_loto/global_var.py | ashidagithub/SSOL02 | e02a1d47563e2108d2c023afc56d4321d3f957db | [
"Apache-2.0"
] | null | null | null | phase1/pack_mini_loto/global_var.py | ashidagithub/SSOL02 | e02a1d47563e2108d2c023afc56d4321d3f957db | [
"Apache-2.0"
] | null | null | null | phase1/pack_mini_loto/global_var.py | ashidagithub/SSOL02 | e02a1d47563e2108d2c023afc56d4321d3f957db | [
"Apache-2.0"
] | null | null | null | # -*- coding: UTF-8 -*-
# ------------------------(max to 80 columns)-----------------------------------
# author by : (学员ID)
# created: 2019.8.10
# Description:
# mini 彩票所使用的全局变量
# ------------------------(max to 80 columns)-----------------------------------
MAX_NUM = 10
| 21.615385 | 80 | 0.348754 | 24 | 281 | 4.041667 | 0.708333 | 0.103093 | 0.14433 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057613 | 0.135231 | 281 | 12 | 81 | 23.416667 | 0.341564 | 0.886121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
03e421f468b0dfd61a86982f91bd89262da4eec9 | 24 | py | Python | webservices/__init__.py | adborden/openFEC | 53a0a2b1a56292c5ca8e7a3185832baaed4a63d9 | [
"CC0-1.0"
] | 246 | 2015-01-07T16:59:42.000Z | 2020-01-18T20:35:05.000Z | webservices/__init__.py | dwillis/openFEC | dae84b0e526eac4a917e80697a7999956f9c96cb | [
"CC0-1.0"
] | 2,532 | 2015-01-02T16:22:46.000Z | 2018-03-08T17:30:53.000Z | webservices/__init__.py | dwillis/openFEC | dae84b0e526eac4a917e80697a7999956f9c96cb | [
"CC0-1.0"
] | 75 | 2015-02-01T00:46:56.000Z | 2021-02-14T10:51:34.000Z | __API_VERSION__ = '1.0'
| 12 | 23 | 0.708333 | 4 | 24 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.125 | 24 | 1 | 24 | 24 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
20a01146ff39a418ef29253d45f1ff6d98d8e6f7 | 120 | py | Python | {{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/repository/__init__.py | PeepData/cookiecutter_python_cli | bf4165d251ed8a5435a3362d044a06132bf9fb71 | [
"MIT"
] | null | null | null | {{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/repository/__init__.py | PeepData/cookiecutter_python_cli | bf4165d251ed8a5435a3362d044a06132bf9fb71 | [
"MIT"
] | null | null | null | {{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/repository/__init__.py | PeepData/cookiecutter_python_cli | bf4165d251ed8a5435a3362d044a06132bf9fb71 | [
"MIT"
] | null | null | null | from {{cookiecutter.repo_name}}.repository.example_repository import ExampleRepository
__all__ = ["ExampleRepository"]
| 30 | 86 | 0.833333 | 11 | 120 | 8.545455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 120 | 3 | 87 | 40 | 0.839286 | 0 | 0 | 0 | 0 | 0 | 0.141667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
20e661fd4759adaee8f2e592765aaa28dc7efb2d | 78 | py | Python | pycom_lopy4_tireeweatherstation/weatherstation_jesustransmitter/boot.py | AidanTek/Fab-Cre8_IoT | 3d358a484aea2e2a50d6dbef443e9a2757ef9ab8 | [
"MIT"
] | null | null | null | pycom_lopy4_tireeweatherstation/weatherstation_jesustransmitter/boot.py | AidanTek/Fab-Cre8_IoT | 3d358a484aea2e2a50d6dbef443e9a2757ef9ab8 | [
"MIT"
] | null | null | null | pycom_lopy4_tireeweatherstation/weatherstation_jesustransmitter/boot.py | AidanTek/Fab-Cre8_IoT | 3d358a484aea2e2a50d6dbef443e9a2757ef9ab8 | [
"MIT"
] | null | null | null | # pycom_LoPy4_BME680/LoPy4files/boot.py
import pycom
pycom.heartbeat(False)
| 13 | 39 | 0.820513 | 11 | 78 | 5.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 0.089744 | 78 | 5 | 40 | 15.6 | 0.802817 | 0.474359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4557fc16e0fd2e8aa9a421232cf8d58de7b9e230 | 446 | py | Python | data_service/frontpage/routes.py | freelancing-solutions/GCP-Based-Database-as-a-Service | 7d6a12c33db238ca2f748bf4ddea6d2cf3c16da3 | [
"MIT"
] | 1 | 2021-04-15T19:45:04.000Z | 2021-04-15T19:45:04.000Z | data_service/frontpage/routes.py | freelancing-solutions/pinydesk | 7d6a12c33db238ca2f748bf4ddea6d2cf3c16da3 | [
"MIT"
] | 516 | 2021-05-02T11:46:36.000Z | 2022-03-29T06:09:49.000Z | data_service/frontpage/routes.py | freelancing-solutions/pinydesk | 7d6a12c33db238ca2f748bf4ddea6d2cf3c16da3 | [
"MIT"
] | 1 | 2021-09-04T22:40:14.000Z | 2021-09-04T22:40:14.000Z | from flask import Blueprint, render_template
from data_service.main import cache_stocks, default_timeout
home_bp = Blueprint('home', __name__, template_folder='templates', static_folder='static')
@home_bp.route('/', methods=["GET"])
# @cache_stocks.cached(timeout=default_timeout)
def home():
return render_templa... | 31.857143 | 90 | 0.782511 | 61 | 446 | 5.47541 | 0.704918 | 0.083832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11435 | 446 | 13 | 91 | 34.307692 | 0.84557 | 0.334081 | 0 | 0 | 0 | 0 | 0.112628 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
458170dc6caaeb764287ed4ef701592347ed19e0 | 30 | py | Python | ctrl-hyper/hyper-y.py | MTfirst/cmd-ctrl_onLinux | 38a6db67796bdc8d438ca63171d9fea03e84f5f7 | [
"MIT"
] | 1 | 2020-05-02T03:46:10.000Z | 2020-05-02T03:46:10.000Z | ctrl-hyper/hyper-y.py | MTfirst/cmd-ctrl_onLinux | 38a6db67796bdc8d438ca63171d9fea03e84f5f7 | [
"MIT"
] | null | null | null | ctrl-hyper/hyper-y.py | MTfirst/cmd-ctrl_onLinux | 38a6db67796bdc8d438ca63171d9fea03e84f5f7 | [
"MIT"
] | null | null | null | keyboard.send_keys("<ctrl>+y") | 30 | 30 | 0.733333 | 5 | 30 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 30 | 1 | 30 | 30 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
459513775b286d37ae766540a01fd2cda9dab483 | 682 | py | Python | tangos/properties/pynbody/spherical_region.py | TobiBu/tangos | decab8c892c5937fd68474a375089abef198dba2 | [
"BSD-3-Clause"
] | 15 | 2017-12-04T18:05:32.000Z | 2021-12-20T22:11:20.000Z | tangos/properties/pynbody/spherical_region.py | TobiBu/tangos | decab8c892c5937fd68474a375089abef198dba2 | [
"BSD-3-Clause"
] | 99 | 2017-11-09T16:47:20.000Z | 2022-03-07T10:15:12.000Z | tangos/properties/pynbody/spherical_region.py | TobiBu/tangos | decab8c892c5937fd68474a375089abef198dba2 | [
"BSD-3-Clause"
] | 14 | 2017-11-06T18:46:17.000Z | 2021-12-13T10:49:53.000Z | from __future__ import absolute_import
from . import PynbodyPropertyCalculation
class SphericalRegionPropertyCalculation(PynbodyPropertyCalculation):
"""A base class for calculations which require all data within a sphere (rather than just the literal
halo finder output)"""
def region_specification(self, ... | 45.466667 | 114 | 0.78739 | 72 | 682 | 7.25 | 0.638889 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140762 | 682 | 15 | 115 | 45.466667 | 0.890785 | 0.214076 | 0 | 0 | 0 | 0 | 0.087287 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 0.888889 | 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 | 1 | 1 | 0 | 0 | 4 |
45a0ec9d395c4a5a02b29a19bfd136ac005b78a8 | 64 | py | Python | src/core/default/resources/__init__.py | cdev-framework/cdev-sdk | 06cd7b40936ab063d1d8fd1a7d9f6882750e8a96 | [
"BSD-3-Clause-Clear"
] | 2 | 2022-02-28T02:51:59.000Z | 2022-03-24T15:23:18.000Z | src/core/default/resources/__init__.py | cdev-framework/cdev-sdk | 06cd7b40936ab063d1d8fd1a7d9f6882750e8a96 | [
"BSD-3-Clause-Clear"
] | null | null | null | src/core/default/resources/__init__.py | cdev-framework/cdev-sdk | 06cd7b40936ab063d1d8fd1a7d9f6882750e8a96 | [
"BSD-3-Clause-Clear"
] | null | null | null | """
Basic set of resources that should be available for use
"""
| 16 | 55 | 0.71875 | 10 | 64 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 56 | 21.333333 | 0.884615 | 0.859375 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
45d6214ac06259e1149823f685550beac39951d5 | 8,674 | py | Python | Java_customization/invoiceCreation.py | rochish-winfo/EBS-Automation-POC | ec21068c48d03134f7ae569830913d8cc63663ad | [
"Apache-2.0"
] | null | null | null | Java_customization/invoiceCreation.py | rochish-winfo/EBS-Automation-POC | ec21068c48d03134f7ae569830913d8cc63663ad | [
"Apache-2.0"
] | null | null | null | Java_customization/invoiceCreation.py | rochish-winfo/EBS-Automation-POC | ec21068c48d03134f7ae569830913d8cc63663ad | [
"Apache-2.0"
] | null | null | null | from pyjab.jabdriver import JABDriver
from robot.api.deco import keyword
import logging
import time
import win32api as win32
import win32gui as win32gui
import win32con as win32con
import time
from RPA.Desktop import Desktop
from Java_customization.Allactions import ebsCopyValue
APPLICATION = "Oracle Applications - E... | 34.696 | 99 | 0.698409 | 1,167 | 8,674 | 4.96144 | 0.12168 | 0.062176 | 0.064594 | 0.11399 | 0.786356 | 0.775993 | 0.743696 | 0.703454 | 0.679102 | 0.671848 | 0 | 0.012105 | 0.171432 | 8,674 | 249 | 100 | 34.835341 | 0.793516 | 0 | 0 | 0.625616 | 0 | 0 | 0.298189 | 0.121467 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009852 | false | 0 | 0.049261 | 0 | 0.059113 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 4 |
aff1966f1f9969f04bf320437955fc8fdf31580e | 64,012 | py | Python | steam/protobufs/steammessages_clientserver_ufs_pb2.py | sammiee5311/steam | 79231d5bbf7ed4c7781680d392274d6bd21b9d7e | [
"MIT"
] | 727 | 2015-07-13T20:32:55.000Z | 2022-03-31T11:55:34.000Z | steam/protobufs/steammessages_clientserver_ufs_pb2.py | sammiee5311/steam | 79231d5bbf7ed4c7781680d392274d6bd21b9d7e | [
"MIT"
] | 335 | 2015-07-22T12:28:35.000Z | 2022-02-24T11:53:12.000Z | steam/protobufs/steammessages_clientserver_ufs_pb2.py | sammiee5311/steam | 79231d5bbf7ed4c7781680d392274d6bd21b9d7e | [
"MIT"
] | 155 | 2015-07-22T08:53:19.000Z | 2022-03-30T10:59:22.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: steammessages_clientserver_ufs.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
f... | 43.903978 | 5,351 | 0.763872 | 7,419 | 64,012 | 6.291953 | 0.047041 | 0.051928 | 0.045116 | 0.037853 | 0.667909 | 0.629327 | 0.622279 | 0.617245 | 0.608526 | 0.603877 | 0 | 0.0414 | 0.12154 | 64,012 | 1,457 | 5,352 | 43.934111 | 0.788732 | 0.029088 | 0 | 0.721068 | 1 | 0.006677 | 0.191694 | 0.170138 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004451 | 0 | 0.004451 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b30b5d86cfc906696b4691d662e5cec240485e36 | 695 | py | Python | Problems/CodingBat/list-1.py | kvlizhvn/Lab_7 | e7f7f8da2b5f52a426bb55981594fb8ddcbd127a | [
"MIT"
] | 1 | 2022-02-18T15:44:46.000Z | 2022-02-18T15:44:46.000Z | Problems/CodingBat/list-1.py | kvlizhvn/Lab_7 | e7f7f8da2b5f52a426bb55981594fb8ddcbd127a | [
"MIT"
] | null | null | null | Problems/CodingBat/list-1.py | kvlizhvn/Lab_7 | e7f7f8da2b5f52a426bb55981594fb8ddcbd127a | [
"MIT"
] | 1 | 2021-03-26T13:55:52.000Z | 2021-03-26T13:55:52.000Z | def first_last6(nums):
return 6 in [nums[0], nums[-1]]
def common_end(a, b):
return a[0] == b[0] or a[-1] == b[-1]
def reverse3(nums):
return [nums[2], nums[1], nums[0]]
def middle_way(a, b):
return [a[1], b[1]]
def make_ends(nums):
return [nums[0], nums[-1]]
def has23(nums):
return 2 ... | 14.479167 | 67 | 0.576978 | 128 | 695 | 3.0625 | 0.289063 | 0.229592 | 0.091837 | 0.102041 | 0.135204 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 0.230216 | 695 | 47 | 68 | 14.787234 | 0.657944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b33e19fbdbe82bee4be43876c1dfef3e85c43573 | 326 | py | Python | python/example_robot_data/__init__.py | pFernbach/example-robot-data | cb2c967d5c1eae60f9ad0f7482f4b0f9bc50bd95 | [
"BSD-3-Clause"
] | null | null | null | python/example_robot_data/__init__.py | pFernbach/example-robot-data | cb2c967d5c1eae60f9ad0f7482f4b0f9bc50bd95 | [
"BSD-3-Clause"
] | null | null | null | python/example_robot_data/__init__.py | pFernbach/example-robot-data | cb2c967d5c1eae60f9ad0f7482f4b0f9bc50bd95 | [
"BSD-3-Clause"
] | null | null | null | # flake8: noqa
from .robots_loader import (getModelPath, loadANYmal, loadDoublePendulum, loadHector, loadHyQ, loadICub, loadIris,
loadKinova, loadPanda, loadRomeo, loadSolo, loadTalos, loadTalosArm, loadTalosLegs,
loadTiago, loadTiagoNoHand, loadUR, readParamsFrom... | 65.2 | 114 | 0.687117 | 24 | 326 | 9.291667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004065 | 0.245399 | 326 | 4 | 115 | 81.5 | 0.902439 | 0.03681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b34ff7fa69f3e3f5bfc23e38c67cb370b057b74a | 74 | py | Python | latest/modules/plotting-23.py | willtryagain/sympy_doc | ec1b7285b5fc5b3ba2eafa32470066122ae84b52 | [
"BSD-3-Clause"
] | 20 | 2015-01-28T01:08:13.000Z | 2021-12-19T04:03:28.000Z | latest/modules/plotting-23.py | willtryagain/sympy_doc | ec1b7285b5fc5b3ba2eafa32470066122ae84b52 | [
"BSD-3-Clause"
] | 31 | 2015-01-27T07:16:19.000Z | 2021-11-15T10:58:15.000Z | latest/modules/plotting-23.py | willtryagain/sympy_doc | ec1b7285b5fc5b3ba2eafa32470066122ae84b52 | [
"BSD-3-Clause"
] | 38 | 2015-01-08T18:48:27.000Z | 2021-12-02T13:19:43.000Z | from sympy import plot_implicit, symbols, Eq, And
x, y = symbols('x y')
| 24.666667 | 50 | 0.689189 | 13 | 74 | 3.846154 | 0.769231 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 74 | 2 | 51 | 37 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2fdecda4305140c6fbe077bae8d46cde4a483154 | 165 | py | Python | PyTemp/gis/shape.py | SwaggerKhan/PatrolGis | 89b1a398ffd6171ac35ea9d023bce98a0fc7e930 | [
"MIT"
] | null | null | null | PyTemp/gis/shape.py | SwaggerKhan/PatrolGis | 89b1a398ffd6171ac35ea9d023bce98a0fc7e930 | [
"MIT"
] | null | null | null | PyTemp/gis/shape.py | SwaggerKhan/PatrolGis | 89b1a398ffd6171ac35ea9d023bce98a0fc7e930 | [
"MIT"
] | null | null | null | import os
import earthpy as et
import random
#
# class Shape_File():
# def __init__(self, name):
# self._name = name
#
# def open_shape_file(self):
| 15 | 32 | 0.642424 | 23 | 165 | 4.26087 | 0.608696 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248485 | 165 | 10 | 33 | 16.5 | 0.790323 | 0.642424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6414e955d1e1d9c3981ce1733c01e946f8652e9f | 169 | py | Python | FileMover.py | sventhijssen/compact | 1bc90f1bad4c034568abc2f7ffb6c6324743e87d | [
"Apache-2.0"
] | 2 | 2022-03-13T11:51:52.000Z | 2022-03-13T19:43:44.000Z | FileMover.py | sventhijssen/compact | 1bc90f1bad4c034568abc2f7ffb6c6324743e87d | [
"Apache-2.0"
] | null | null | null | FileMover.py | sventhijssen/compact | 1bc90f1bad4c034568abc2f7ffb6c6324743e87d | [
"Apache-2.0"
] | 1 | 2022-03-12T22:12:50.000Z | 2022-03-12T22:12:50.000Z | import subprocess
class FileMover:
@staticmethod
def move(from_file, to_file):
subprocess.call(['mv', from_file, to_file], stdout=subprocess.DEVNULL)
| 18.777778 | 78 | 0.710059 | 21 | 169 | 5.52381 | 0.666667 | 0.137931 | 0.172414 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183432 | 169 | 8 | 79 | 21.125 | 0.84058 | 0 | 0 | 0 | 0 | 0 | 0.011834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
641e105f3ce04daf5a41837e74faedb5b25dcf10 | 40,833 | py | Python | app/definitions/tests/test_queries.py | getmetamapper/metamapper | 0b2f67eec03fbf7ece35ff9f58ea9bb2dde4d85f | [
"BSD-2-Clause"
] | 53 | 2020-07-01T23:11:59.000Z | 2022-03-31T19:10:28.000Z | app/definitions/tests/test_queries.py | metamapper-io/metamapper | 376716e72bcaca62f1ec09ca9a13a0346e5502f9 | [
"BSD-2-Clause"
] | 5 | 2020-11-25T19:48:57.000Z | 2022-02-27T23:50:18.000Z | app/definitions/tests/test_queries.py | metamapper-io/metamapper | 376716e72bcaca62f1ec09ca9a13a0346e5502f9 | [
"BSD-2-Clause"
] | 5 | 2020-08-29T16:43:59.000Z | 2022-01-17T19:05:30.000Z | # -*- coding: utf-8 -*-
import unittest.mock as mock
import app.definitions.models as models
import testutils.cases as cases
import testutils.decorators as decorators
import testutils.factories as factories
import testutils.helpers as helpers
class TestGetDatastores(cases.GraphQLTestCase):
"""Test cases for list... | 33.116788 | 122 | 0.602209 | 3,841 | 40,833 | 6.266077 | 0.083572 | 0.024223 | 0.033031 | 0.05285 | 0.802933 | 0.771522 | 0.727314 | 0.699061 | 0.689255 | 0.666154 | 0 | 0.004311 | 0.284231 | 40,833 | 1,232 | 123 | 33.143669 | 0.819003 | 0.098278 | 0 | 0.658014 | 0 | 0.002257 | 0.20314 | 0.033514 | 0 | 0 | 0 | 0 | 0.072235 | 1 | 0.071106 | false | 0.001129 | 0.006772 | 0 | 0.138826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 4 |
ff273abb2e6f647f8edfdf0e0ee619e12d43d129 | 321 | py | Python | sympy/utilities/quality_unicode.py | gum3ng/sympy | e9414fafa976b26aa0b701a0217ab0f3b561989f | [
"BSD-3-Clause"
] | 8,323 | 2015-01-02T15:51:43.000Z | 2022-03-31T13:13:19.000Z | sympy/utilities/quality_unicode.py | gum3ng/sympy | e9414fafa976b26aa0b701a0217ab0f3b561989f | [
"BSD-3-Clause"
] | 15,102 | 2015-01-01T01:33:17.000Z | 2022-03-31T22:53:13.000Z | sympy/utilities/quality_unicode.py | gum3ng/sympy | e9414fafa976b26aa0b701a0217ab0f3b561989f | [
"BSD-3-Clause"
] | 4,490 | 2015-01-01T17:48:07.000Z | 2022-03-31T17:24:05.000Z | from sympy.utilities.exceptions import SymPyDeprecationWarning
SymPyDeprecationWarning(
feature="Import sympy.utilities.quality_unicode",
useinstead="Import from sympy.testing.quality_unicode",
issue=18095,
deprecated_since_version="1.6").warn()
from sympy.testing.quality_unicode import * # noqa:F401... | 32.1 | 62 | 0.791277 | 36 | 321 | 6.916667 | 0.583333 | 0.108434 | 0.128514 | 0.184739 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035211 | 0.115265 | 321 | 9 | 63 | 35.666667 | 0.841549 | 0.028037 | 0 | 0 | 0 | 0 | 0.264516 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ff29349981c81dcfe2f51b6c598d59e56b917bbf | 276 | py | Python | src/z3c/testsetup/tests/cave/samplesetup2.py | zopefoundation/z3c.testsetup | 7a07939b5df33d2124916385efdc9c82495d1b32 | [
"ZPL-2.1"
] | 1 | 2020-09-08T06:51:02.000Z | 2020-09-08T06:51:02.000Z | src/z3c/testsetup/tests/cave/samplesetup2.py | zopefoundation/z3c.testsetup | 7a07939b5df33d2124916385efdc9c82495d1b32 | [
"ZPL-2.1"
] | 2 | 2015-04-14T18:00:03.000Z | 2020-05-15T08:56:34.000Z | src/z3c/testsetup/tests/cave/samplesetup2.py | zopefoundation/z3c.testsetup | 7a07939b5df33d2124916385efdc9c82495d1b32 | [
"ZPL-2.1"
] | 1 | 2020-09-08T06:19:35.000Z | 2020-09-08T06:19:35.000Z | import z3c.testsetup
class CustomTestCollector(z3c.testsetup.TestCollector):
defaults = {
'extensions': ['.bar', ],
'fextensions': ['.baz', ],
}
def dummyfunc(self):
pass
test_suite = CustomTestCollector('z3c.testsetup.tests.cave')
| 19.714286 | 60 | 0.623188 | 24 | 276 | 7.125 | 0.791667 | 0.210526 | 0.362573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014151 | 0.231884 | 276 | 13 | 61 | 21.230769 | 0.792453 | 0 | 0 | 0 | 0 | 0 | 0.192029 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.111111 | 0 | 0.444444 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
ff33c803bcc047c0b2b7f2345488e44fc9ce7e66 | 3,951 | py | Python | airbyte-integrations/connectors/source-twitter-stats/source_twitter_stats/source.py | Vipoooool/airbyte | d08a6b5b4c6cfb16473bfcba584f6b7fe0ff83de | [
"MIT"
] | 2 | 2022-03-02T13:46:05.000Z | 2022-03-05T12:31:28.000Z | airbyte-integrations/connectors/source-twitter-stats/source_twitter_stats/source.py | Vipoooool/airbyte | d08a6b5b4c6cfb16473bfcba584f6b7fe0ff83de | [
"MIT"
] | null | null | null | airbyte-integrations/connectors/source-twitter-stats/source_twitter_stats/source.py | Vipoooool/airbyte | d08a6b5b4c6cfb16473bfcba584f6b7fe0ff83de | [
"MIT"
] | null | null | null | #
# Copyright (c) 2021 Airbyte, Inc., all rights reserved.
#
from abc import ABC
from typing import Any, Iterable, List, Mapping, MutableMapping, Optional, Tuple
import requests
from airbyte_cdk.sources import AbstractSource
from airbyte_cdk.sources.streams import Stream
from airbyte_cdk.sources.streams.http import ... | 39.909091 | 148 | 0.726145 | 546 | 3,951 | 5.199634 | 0.371795 | 0.025361 | 0.045791 | 0.02994 | 0.09299 | 0.083128 | 0.040859 | 0.040859 | 0.040859 | 0.040859 | 0 | 0.002549 | 0.205518 | 3,951 | 98 | 149 | 40.316327 | 0.90188 | 0.33384 | 0 | 0.055556 | 0 | 0 | 0.015246 | 0 | 0 | 0 | 0 | 0.091837 | 0 | 1 | 0.222222 | false | 0 | 0.194444 | 0.111111 | 0.805556 | 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 | 1 | 0 | 0 | 4 |
ff5a5277f7f7369d7d97276113e70fcecd7f17e9 | 783 | py | Python | server/agent/agent_callbacks.py | themaoci/Tarkov-Wireless-Exploit | 7058212efaea7525816f972a7ce7845ba8fa19de | [
"MIT"
] | 10 | 2020-03-03T18:22:07.000Z | 2020-12-26T17:38:25.000Z | server/agent/agent_callbacks.py | taylormcnally/Coolmura_v1.exe | a75dae42fefe88e18a46da5d1777acb5eb6f1ff6 | [
"MIT"
] | 2 | 2020-03-12T20:37:19.000Z | 2020-10-10T13:24:13.000Z | server/agent/agent_callbacks.py | taylormcnally/Coolmura_v1.exe | a75dae42fefe88e18a46da5d1777acb5eb6f1ff6 | [
"MIT"
] | 5 | 2020-03-03T18:22:09.000Z | 2020-05-14T10:39:21.000Z | import tensorflow as tf
import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt
import numpy as np
import os
import cv2
import scipy.misc
from random import randint
cwd = os.getcwd()
class Autoencoder_Callbacks(tf.keras.callbacks.Callback):
def __init__(self, val_data):
super().__init__... | 20.076923 | 57 | 0.679438 | 111 | 783 | 4.567568 | 0.396396 | 0.059172 | 0.138067 | 0.134122 | 0.248521 | 0.185404 | 0 | 0 | 0 | 0 | 0 | 0.004959 | 0.227331 | 783 | 38 | 58 | 20.605263 | 0.833058 | 0.054917 | 0 | 0.230769 | 0 | 0 | 0.006793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269231 | false | 0 | 0.307692 | 0.230769 | 0.846154 | 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 | 1 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.