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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fe2d44da087293544dbbbb7189d1daf2f2f5e328 | 160 | py | Python | fixed_vhd_writer/version.py | fujiawei-dev/fixed-vhd-writer | c3fcc53ae79313b7be44200a0172fbd55c619620 | [
"MIT"
] | null | null | null | fixed_vhd_writer/version.py | fujiawei-dev/fixed-vhd-writer | c3fcc53ae79313b7be44200a0172fbd55c619620 | [
"MIT"
] | null | null | null | fixed_vhd_writer/version.py | fujiawei-dev/fixed-vhd-writer | c3fcc53ae79313b7be44200a0172fbd55c619620 | [
"MIT"
] | null | null | null | # Generated by [Toolkit-Py](https://github.com/fujiawei-dev/toolkit-py) Generator
# Created at 2022-02-06 10:58:35.566935, Version 0.2.9
__version__ = '0.0.5'
| 32 | 81 | 0.725 | 29 | 160 | 3.862069 | 0.827586 | 0.160714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 0.1 | 160 | 4 | 82 | 40 | 0.597222 | 0.825 | 0 | 0 | 1 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fe36d18027ab189e35f0662c279b9adcb738a118 | 1,088 | py | Python | src/components/game-server/juego/fabrica_conecta_cuatro.py | adp1002/practica-dms-2019-2020 | 9ae0c71140d537bb43c0f8ec8a81b8fff38dec21 | [
"MIT"
] | null | null | null | src/components/game-server/juego/fabrica_conecta_cuatro.py | adp1002/practica-dms-2019-2020 | 9ae0c71140d537bb43c0f8ec8a81b8fff38dec21 | [
"MIT"
] | null | null | null | src/components/game-server/juego/fabrica_conecta_cuatro.py | adp1002/practica-dms-2019-2020 | 9ae0c71140d537bb43c0f8ec8a81b8fff38dec21 | [
"MIT"
] | null | null | null | from juego.fabrica_abstracta_juegos import FabricaJuegoMesa
from juego.datos.pieza_conecta_cuatro import PiezaConectaCuatro
from juego.datos.tablero_conecta_cuatro import TableroConectaCuatro
from juego.logica.arbitro_conecta_cuatro import ArbitroConectaCuatro
class FabricaConectaCuatro(FabricaJuegoMesa):
""" Fabr... | 29.405405 | 68 | 0.637868 | 115 | 1,088 | 5.93913 | 0.382609 | 0.052709 | 0.083455 | 0.043924 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002591 | 0.290441 | 1,088 | 36 | 69 | 30.222222 | 0.882124 | 0.335478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 1 | 0.272727 | false | 0 | 0.363636 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fe4221571984b39e3a58aa366db32aa7736eee95 | 174 | py | Python | cache_toolbox/app_settings.py | lamby/django-cache-toolbox | 544966d30c740088670c31ddf1712fb1cdf7735c | [
"BSD-3-Clause"
] | 1 | 2019-12-28T16:58:46.000Z | 2019-12-28T16:58:46.000Z | cache_toolbox/app_settings.py | lamby/django-cache-toolbox | 544966d30c740088670c31ddf1712fb1cdf7735c | [
"BSD-3-Clause"
] | 30 | 2018-03-08T15:47:03.000Z | 2021-02-26T09:27:59.000Z | cache_toolbox/app_settings.py | lamby/django-cache-toolbox | 544966d30c740088670c31ddf1712fb1cdf7735c | [
"BSD-3-Clause"
] | 4 | 2018-03-07T19:03:19.000Z | 2021-02-04T09:09:06.000Z | from django.conf import settings
# Default cache timeout
CACHE_TOOLBOX_DEFAULT_TIMEOUT = getattr(
settings,
"CACHE_TOOLBOX_DEFAULT_TIMEOUT",
60 * 60 * 24 * 7,
)
| 19.333333 | 40 | 0.729885 | 22 | 174 | 5.5 | 0.590909 | 0.198347 | 0.31405 | 0.429752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.195402 | 174 | 8 | 41 | 21.75 | 0.814286 | 0.12069 | 0 | 0 | 0 | 0 | 0.192053 | 0.192053 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 |
fe670e941cb7510f437ac9f310aeac8195744f58 | 3,153 | py | Python | mole/molecule.py | nkcxliu2/ctrlq | d412641c6cef62ba0f1cb069c5580b834fa03142 | [
"Apache-2.0"
] | 6 | 2020-09-25T14:50:36.000Z | 2021-12-09T17:36:53.000Z | mole/molecule.py | nkcxliu2/ctrlq | d412641c6cef62ba0f1cb069c5580b834fa03142 | [
"Apache-2.0"
] | 1 | 2021-09-21T18:54:38.000Z | 2021-09-21T18:54:38.000Z | mole/molecule.py | nkcxliu2/ctrlq | d412641c6cef62ba0f1cb069c5580b834fa03142 | [
"Apache-2.0"
] | 3 | 2021-07-07T05:08:08.000Z | 2021-11-09T01:48:31.000Z |
from qiskit.chemistry.drivers import PySCFDriver, UnitsType
from qiskit.chemistry import FermionicOperator
from qiskit.aqua.operators import Z2Symmetries
from qiskit.aqua.operators import op_converter
import numpy,time
def h2(dist=0.75):
mol = PySCFDriver(atom=
'H 0.0 0.0 0.0;'\
... | 38.45122 | 86 | 0.67523 | 439 | 3,153 | 4.624146 | 0.191344 | 0.023645 | 0.026601 | 0.023645 | 0.772414 | 0.722167 | 0.706897 | 0.706897 | 0.676847 | 0.676847 | 0 | 0.041582 | 0.222011 | 3,153 | 81 | 87 | 38.925926 | 0.785976 | 0 | 0 | 0.538462 | 0 | 0 | 0.036802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046154 | false | 0 | 0.076923 | 0 | 0.169231 | 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 |
fe6a523346bf5aee5fe3c7b91adf0204eca2b8c5 | 10,503 | py | Python | 2020/03.py | SpangleLabs/advent-of-code | 9692f533c30f22e59f7055ca12253128ca8dac0a | [
"MIT"
] | 1 | 2021-12-04T11:30:53.000Z | 2021-12-04T11:30:53.000Z | 2020/03.py | SpangleLabs/advent-of-code | 9692f533c30f22e59f7055ca12253128ca8dac0a | [
"MIT"
] | null | null | null | 2020/03.py | SpangleLabs/advent-of-code | 9692f533c30f22e59f7055ca12253128ca8dac0a | [
"MIT"
] | null | null | null | tree_map = """.......#................#......
...#.#.....#.##.....#..#.......
..#..#.#......#.#.#............
....#...#...##.....#..#.....#..
....#.......#.##......#...#..#.
...............#.#.#.....#..#..
...##...#...#..##.###...##.....
##..#.#...##.....#.#..........#
.#....#..#..#......#....#....#.
..................... | 31.635542 | 45 | 0.008759 | 24 | 10,503 | 3.75 | 0.625 | 0.155556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000395 | 0.034752 | 10,503 | 331 | 46 | 31.731118 | 0.008483 | 0 | 0 | 0 | 0 | 0 | 0.98429 | 0.953347 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.00303 | 1 | 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 | 0 | 0 | 0 | 4 |
feb341ebd0d49632013119645c45418908e3f290 | 144 | py | Python | utils/__init__.py | HuangLuGuang/PDFRecognition | ece93c3e2b51f0e6dcc68964d3b25e470086589d | [
"MIT"
] | 6 | 2020-07-30T03:27:59.000Z | 2020-07-30T05:02:33.000Z | utils/__init__.py | HuangLuGuang/PDFRecognition | ece93c3e2b51f0e6dcc68964d3b25e470086589d | [
"MIT"
] | null | null | null | utils/__init__.py | HuangLuGuang/PDFRecognition | ece93c3e2b51f0e6dcc68964d3b25e470086589d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @createTime : 2020/5/7 17:17
# @author : Huanglg
# @fileName: __init__.py.py
# @email: luguang.huang@mabotech.com
| 24 | 36 | 0.631944 | 20 | 144 | 4.35 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091667 | 0.166667 | 144 | 5 | 37 | 28.8 | 0.633333 | 0.923611 | 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 |
22d6c64365f246a0beddf9970a8cf1794090587f | 68 | py | Python | tests/__init__.py | andrew000/machine2human | db72e4219d7c9f5a6e1c17802a8a44c8084eeb63 | [
"MIT"
] | 6 | 2020-08-27T17:50:52.000Z | 2021-06-10T20:14:46.000Z | tests/__init__.py | andrew000/machine2human | db72e4219d7c9f5a6e1c17802a8a44c8084eeb63 | [
"MIT"
] | null | null | null | tests/__init__.py | andrew000/machine2human | db72e4219d7c9f5a6e1c17802a8a44c8084eeb63 | [
"MIT"
] | 1 | 2020-12-13T12:21:20.000Z | 2020-12-13T12:21:20.000Z | from m2h import Sec2Hum, Hum2Sec
__all__ = ['Sec2Hum', 'Hum2Sec']
| 13.6 | 32 | 0.705882 | 8 | 68 | 5.5 | 0.75 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 0.161765 | 68 | 4 | 33 | 17 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
22de219db22750fcc1c4c520f17fac73593c18dc | 105 | py | Python | control/video/colors.py | oholsen/hagedag | 4e2881fa1f636228e5cbe76e61fb4b224f0b1e4a | [
"Apache-2.0"
] | null | null | null | control/video/colors.py | oholsen/hagedag | 4e2881fa1f636228e5cbe76e61fb4b224f0b1e4a | [
"Apache-2.0"
] | null | null | null | control/video/colors.py | oholsen/hagedag | 4e2881fa1f636228e5cbe76e61fb4b224f0b1e4a | [
"Apache-2.0"
] | null | null | null | # BGR
Blue = (255, 0, 0)
Green = (0, 255, 0)
Red = (0, 0, 255)
Black = (0, 0, 0)
White = (255, 255, 255)
| 15 | 23 | 0.495238 | 21 | 105 | 2.47619 | 0.380952 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 0.257143 | 105 | 6 | 24 | 17.5 | 0.320513 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
22eeadf37f799e6b5c6b8f75e8ea4a8fdadc517d | 96 | py | Python | python/699.falling-squares.py | stavanmehta/leetcode | 1224e43ce29430c840e65daae3b343182e24709c | [
"Apache-2.0"
] | null | null | null | python/699.falling-squares.py | stavanmehta/leetcode | 1224e43ce29430c840e65daae3b343182e24709c | [
"Apache-2.0"
] | null | null | null | python/699.falling-squares.py | stavanmehta/leetcode | 1224e43ce29430c840e65daae3b343182e24709c | [
"Apache-2.0"
] | null | null | null | class Solution:
def fallingSquares(self, positions: List[List[int]]) -> List[int]:
| 24 | 70 | 0.635417 | 11 | 96 | 5.545455 | 0.727273 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 96 | 3 | 71 | 32 | 0.813333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
22f8e1a56306bbd61876d5573ba7303f49c13eef | 1,465 | py | Python | radiomicsfeatureextractionpipeline/backend/src/dal/study_repository.py | Maastro-CDS-Imaging-Group/SQLite4Radiomics | e3a7afc181eec0fe04c18da00edc3772064e6758 | [
"Apache-2.0"
] | null | null | null | radiomicsfeatureextractionpipeline/backend/src/dal/study_repository.py | Maastro-CDS-Imaging-Group/SQLite4Radiomics | e3a7afc181eec0fe04c18da00edc3772064e6758 | [
"Apache-2.0"
] | 6 | 2021-06-09T19:39:27.000Z | 2021-09-30T16:41:40.000Z | radiomicsfeatureextractionpipeline/backend/src/dal/study_repository.py | Maastro-CDS-Imaging-Group/SQLite4Radiomics | e3a7afc181eec0fe04c18da00edc3772064e6758 | [
"Apache-2.0"
] | null | null | null | """
This module is used as a template for all StudyRepositories.
All StudyRepositories in the data access layer should inherit from this class.
Inherits the Repository class.
"""
from abc import abstractmethod
from typing import List, Optional
from dal.database_connector import DatabaseConnector
from dal.repository im... | 34.069767 | 99 | 0.704437 | 183 | 1,465 | 5.502732 | 0.387978 | 0.084409 | 0.059583 | 0.019861 | 0.059583 | 0.059583 | 0.059583 | 0.059583 | 0 | 0 | 0 | 0 | 0.231399 | 1,465 | 42 | 100 | 34.880952 | 0.894316 | 0.490102 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.142857 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
a3c197bb932cfc9cf3447b7a3b52ce76db262fc9 | 91 | py | Python | glide_text2im/__init__.py | dbanys/glide-text2im | 5177545ec62f1fddc3075a8a69b63df3eb2256a5 | [
"MIT"
] | 2,139 | 2021-12-21T02:04:22.000Z | 2022-03-31T08:33:23.000Z | glide_text2im/__init__.py | Binxly/glide-text2im | 9cc8e563851bd38f5ddb3e305127192cb0f02f5c | [
"MIT"
] | 28 | 2021-12-21T02:22:26.000Z | 2022-03-31T09:39:26.000Z | glide_text2im/__init__.py | Binxly/glide-text2im | 9cc8e563851bd38f5ddb3e305127192cb0f02f5c | [
"MIT"
] | 291 | 2021-12-21T02:08:48.000Z | 2022-03-28T21:07:24.000Z | """
A codebase for performing model inference with a text-conditional diffusion model.
"""
| 22.75 | 82 | 0.769231 | 12 | 91 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 91 | 3 | 83 | 30.333333 | 0.897436 | 0.901099 | 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 |
a3d41b0cd0fc117e603ebdd8dd82331d56942f7d | 87 | py | Python | itaigisite/sutian/apps.py | g0v/ita | 8854cd96791a4450ed7ed58b64b5db5d11eaf970 | [
"MIT"
] | 158 | 2015-12-26T02:23:46.000Z | 2022-03-17T21:07:55.000Z | itaigisite/sutian/apps.py | g0v/ita | 8854cd96791a4450ed7ed58b64b5db5d11eaf970 | [
"MIT"
] | 388 | 2015-10-19T11:40:12.000Z | 2021-12-10T03:01:42.000Z | itaigisite/sutian/apps.py | g0v/ita | 8854cd96791a4450ed7ed58b64b5db5d11eaf970 | [
"MIT"
] | 47 | 2015-10-23T16:03:06.000Z | 2021-07-27T12:28:43.000Z | from django.apps import AppConfig
class SutianConfig(AppConfig):
name = 'sutian'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 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 |
a3ea176475af6d8ad806b28fe19e22a45887b3bf | 290 | py | Python | keepercommander/importer/lastpass/__init__.py | Mkn-yskz/Commandy | e360306f41112534ae71102658f560fd974a1f45 | [
"MIT"
] | 151 | 2015-11-02T02:04:46.000Z | 2022-01-20T00:07:01.000Z | keepercommander/importer/lastpass/__init__.py | Mkn-yskz/Commandy | e360306f41112534ae71102658f560fd974a1f45 | [
"MIT"
] | 145 | 2015-12-31T00:11:35.000Z | 2022-03-31T19:13:54.000Z | keepercommander/importer/lastpass/__init__.py | Mkn-yskz/Commandy | e360306f41112534ae71102658f560fd974a1f45 | [
"MIT"
] | 73 | 2015-10-30T00:53:10.000Z | 2022-03-30T03:50:53.000Z | # _ __
# | |/ /___ ___ _ __ ___ _ _ ®
# | ' </ -_) -_) '_ \/ -_) '_|
# |_|\_\___\___| .__/\___|_|
# |_|
#
# Keeper Commander
# Copyright 2018 Keeper Security Inc.
# Contact: ops@keepersecurity.com
#
from .lastpass import LastPassImporter as Importer
__all__ = ['Importer'] | 20.714286 | 50 | 0.57931 | 20 | 290 | 6.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0181 | 0.237931 | 290 | 14 | 51 | 20.714286 | 0.556561 | 0.665517 | 0 | 0 | 0 | 0 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
a3fa6b72a782e73277a51d11d56e8634d4cdd435 | 8,436 | py | Python | src/comtypes/shelllink.py | KamiGim/PythonLib | 604cacc5b05d319cd46f028bd663ec7aa86065c2 | [
"Zlib"
] | 10 | 2019-01-24T11:01:39.000Z | 2021-11-08T12:11:00.000Z | src/comtypes/shelllink.py | KamiGim/PythonLib | 604cacc5b05d319cd46f028bd663ec7aa86065c2 | [
"Zlib"
] | 3 | 2018-06-10T06:28:06.000Z | 2021-09-24T13:54:19.000Z | Lib/comtypes/shelllink.py | masamitsu-murase/single_binary_stackless_python | 1a601683882bc0a024b1bef3e35719554e44cce1 | [
"CNRI-Python-GPL-Compatible"
] | 3 | 2019-04-17T14:16:34.000Z | 2019-10-31T05:48:26.000Z | from ctypes import *
from ctypes.wintypes import DWORD, WIN32_FIND_DATAA, WIN32_FIND_DATAW, MAX_PATH
from comtypes import IUnknown, GUID, COMMETHOD, HRESULT, CoClass
# for GetPath
SLGP_SHORTPATH = 0x1
SLGP_UNCPRIORITY = 0x2
SLGP_RAWPATH = 0x4
# for SetShowCmd, GetShowCmd
##SW_SHOWNORMAL
##SW_SHOWMAXIMIZED
... | 38.697248 | 80 | 0.523826 | 773 | 8,436 | 5.474774 | 0.196636 | 0.021267 | 0.022684 | 0.032136 | 0.755907 | 0.747401 | 0.744329 | 0.740076 | 0.685255 | 0.685255 | 0 | 0.024584 | 0.315315 | 8,436 | 217 | 81 | 38.875576 | 0.708102 | 0.036036 | 0 | 0.662791 | 0 | 0 | 0.158041 | 0.014425 | 0 | 0 | 0.001139 | 0 | 0 | 1 | 0.05814 | false | 0 | 0.040698 | 0 | 0.215116 | 0.023256 | 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 |
4302f019559f0c9083b044614686db2a436e9fe1 | 329 | py | Python | gcm/conf.py | jualjiman/django-gcm | dfcfc7900efd9ca1e8aaf799532c1bc0b21c52b5 | [
"BSD-2-Clause"
] | null | null | null | gcm/conf.py | jualjiman/django-gcm | dfcfc7900efd9ca1e8aaf799532c1bc0b21c52b5 | [
"BSD-2-Clause"
] | null | null | null | gcm/conf.py | jualjiman/django-gcm | dfcfc7900efd9ca1e8aaf799532c1bc0b21c52b5 | [
"BSD-2-Clause"
] | 1 | 2020-02-19T19:27:03.000Z | 2020-02-19T19:27:03.000Z | from django.conf import settings
GCM_DEVICE_MODEL = getattr(settings, 'GCM_DEVICE_MODEL', 'gcm.models.Device')
GCM_APIKEY = getattr(settings, 'GCM_APIKEY', None)
GCM_MAX_RECIPIENTS = getattr(settings, 'GCM_MAX_RECIPIENTS', 1000)
GCM_API_ENDPOINT = getattr(settings, 'GCM_API_ENDPOINT', "https://fcm.googleapis.com/fc... | 32.9 | 95 | 0.787234 | 46 | 329 | 5.326087 | 0.478261 | 0.22449 | 0.293878 | 0.179592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013289 | 0.085106 | 329 | 9 | 96 | 36.555556 | 0.800664 | 0 | 0 | 0 | 0 | 0 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 |
4aa83af5086856cc6b5d98b4d9bbfa6d2e8c21c7 | 210 | py | Python | infobip_channels/email/models/response/get_sent_bulks.py | infobip-community/infobip-api-python-sdk | 5ffc5ab877ee1748aa29391f991c8c5324387487 | [
"MIT"
] | null | null | null | infobip_channels/email/models/response/get_sent_bulks.py | infobip-community/infobip-api-python-sdk | 5ffc5ab877ee1748aa29391f991c8c5324387487 | [
"MIT"
] | null | null | null | infobip_channels/email/models/response/get_sent_bulks.py | infobip-community/infobip-api-python-sdk | 5ffc5ab877ee1748aa29391f991c8c5324387487 | [
"MIT"
] | null | null | null | from typing import List
from infobip_channels.email.models.response.core import BulkBase, BulksBase
class Bulk(BulkBase):
send_at: str
class GetSentEmailBulksResponse(BulksBase):
bulks: List[Bulk]
| 17.5 | 75 | 0.785714 | 26 | 210 | 6.269231 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 210 | 11 | 76 | 19.090909 | 0.905556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 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 |
4ab44b1ffe680d6b44d71a23b3045b247b9e0a94 | 2,239 | py | Python | livinglots/models.py | 596acres/django-livinglots | 39937df584b955cbf58a84f2cd56cf023fb5b6ef | [
"BSD-3-Clause"
] | 19 | 2015-03-02T15:11:12.000Z | 2020-09-25T21:25:38.000Z | livinglots/models.py | 596acres/django-livinglots | 39937df584b955cbf58a84f2cd56cf023fb5b6ef | [
"BSD-3-Clause"
] | null | null | null | livinglots/models.py | 596acres/django-livinglots | 39937df584b955cbf58a84f2cd56cf023fb5b6ef | [
"BSD-3-Clause"
] | 5 | 2015-03-02T15:11:17.000Z | 2020-09-25T21:25:46.000Z | from django.apps import apps
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
def get_model_name(name, optional=True):
try:
return settings.LIVING_LOTS['MODELS'][name]
except KeyError:
if not optional:
raise ImproperlyConfigured(('Could not f... | 21.737864 | 77 | 0.665029 | 286 | 2,239 | 4.884615 | 0.171329 | 0.131711 | 0.190408 | 0.149606 | 0.486042 | 0.341446 | 0.24481 | 0.176092 | 0.176092 | 0.176092 | 0 | 0 | 0.237159 | 2,239 | 102 | 78 | 21.95098 | 0.817916 | 0 | 0 | 0.2 | 0 | 0 | 0.146494 | 0.018758 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35 | false | 0 | 0.05 | 0.316667 | 0.783333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
436afa6fd6af3ec2d0852d14551b4e6042c90d45 | 1,933 | py | Python | jogo_de _escolha_rapido.py | GabrielJ0shua/Jogo-em-python-de-escolha | e1b1b43d6f9abd1fe1206fe934825151c4284311 | [
"MIT"
] | null | null | null | jogo_de _escolha_rapido.py | GabrielJ0shua/Jogo-em-python-de-escolha | e1b1b43d6f9abd1fe1206fe934825151c4284311 | [
"MIT"
] | null | null | null | jogo_de _escolha_rapido.py | GabrielJ0shua/Jogo-em-python-de-escolha | e1b1b43d6f9abd1fe1206fe934825151c4284311 | [
"MIT"
] | null | null | null | # coding : utf-8
print("\n \n \n \n \n \n Belo Horizonte, 05/06/2020, 17:34.\n Você está andando na sua casa normalmente indo tomar banho, acabado o banho quando você sai do box você tropeça e cai e bate a cabeça na pia. \n Você acorda no hospital e você é uma enfermeira nossa frente.")
x = input("\n Você pode ... | 101.736842 | 738 | 0.712364 | 346 | 1,933 | 3.982659 | 0.580925 | 0.014514 | 0.008708 | 0.008708 | 0.004354 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02574 | 0.196068 | 1,933 | 19 | 739 | 101.736842 | 0.86036 | 0.007243 | 0 | 0 | 0 | 0.615385 | 0.913684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
43b8f09c3113985ed2935959888a69d02a4919ea | 3,087 | py | Python | tests/functional/test_index.py | infinite-skx/pip | 7f8a6844037fb7255cfd0d34ff8e8cf44f2598d4 | [
"MIT"
] | 1 | 2022-03-06T13:06:33.000Z | 2022-03-06T13:06:33.000Z | tests/functional/test_index.py | infinite-skx/pip | 7f8a6844037fb7255cfd0d34ff8e8cf44f2598d4 | [
"MIT"
] | 5 | 2018-01-26T16:41:06.000Z | 2021-10-16T08:45:28.000Z | tests/functional/test_index.py | infinite-skx/pip | 7f8a6844037fb7255cfd0d34ff8e8cf44f2598d4 | [
"MIT"
] | 6 | 2017-07-22T14:09:49.000Z | 2019-10-09T09:29:34.000Z | import pytest
from pip._internal.cli.status_codes import ERROR, SUCCESS
from pip._internal.commands import create_command
from tests.lib import PipTestEnvironment
@pytest.mark.network
def test_list_all_versions_basic_search(script: PipTestEnvironment) -> None:
"""
End to end test of index versions command.
... | 40.618421 | 87 | 0.551668 | 700 | 3,087 | 2.367143 | 0.127143 | 0.028968 | 0.041038 | 0.04828 | 0.727821 | 0.727821 | 0.633675 | 0.633675 | 0.610139 | 0.578153 | 0 | 0.228311 | 0.219631 | 3,087 | 75 | 88 | 41.16 | 0.459527 | 0.051182 | 0 | 0.62963 | 0 | 0.37037 | 0.466179 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.074074 | false | 0 | 0.074074 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
43ca4ab72e3e4216d88eec3408a1de7527d2f6e1 | 83 | py | Python | sparnn/models/__init__.py | QUVA-Lab/VideoLSTM | fcacf9be37cff634652ff4e08c694de91627900f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | sparnn/models/__init__.py | QUVA-Lab/VideoLSTM | fcacf9be37cff634652ff4e08c694de91627900f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | sparnn/models/__init__.py | QUVA-Lab/VideoLSTM | fcacf9be37cff634652ff4e08c694de91627900f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | __author__ = 'zhenyang'
from model import Model
from video_model import VideoModel | 20.75 | 34 | 0.831325 | 11 | 83 | 5.818182 | 0.636364 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 83 | 4 | 34 | 20.75 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
43dcf91200c3022d02f49e4d78c8d114eb2234dd | 181 | py | Python | qa/common/rest/base_rest_helper.py | isabella232/aurora | a2021e6829fb6024eac45f4afe54e2fbc70b847c | [
"Apache-2.0"
] | 23 | 2015-01-22T22:23:35.000Z | 2021-10-21T23:08:29.000Z | qa/common/rest/base_rest_helper.py | sysbot/aurora | 9e319d4eb8c760cf84cb80ed2959cd52976af11c | [
"Apache-2.0"
] | 2 | 2015-10-13T00:47:45.000Z | 2019-05-06T14:52:33.000Z | qa/common/rest/base_rest_helper.py | sysbot/aurora | 9e319d4eb8c760cf84cb80ed2959cd52976af11c | [
"Apache-2.0"
] | 27 | 2015-03-18T19:39:30.000Z | 2022-03-11T00:58:09.000Z | # these imports will be used by classes-successors
import json
from nose.tools import ok_
class BaseRESTHelper(object):
def __init__(self, utils):
self.utils = utils
| 18.1 | 50 | 0.729282 | 25 | 181 | 5.08 | 0.84 | 0.141732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20442 | 181 | 9 | 51 | 20.111111 | 0.881944 | 0.265193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
78d8b2d89bb3adee2956f0a1f3f66aa4f0dac833 | 212 | py | Python | backend/hi_hungry/views.py | mattzmyname/hi-im-hungry | d7dcb1fc6b1dd63a00ebce411955f19385bae962 | [
"MIT"
] | null | null | null | backend/hi_hungry/views.py | mattzmyname/hi-im-hungry | d7dcb1fc6b1dd63a00ebce411955f19385bae962 | [
"MIT"
] | null | null | null | backend/hi_hungry/views.py | mattzmyname/hi-im-hungry | d7dcb1fc6b1dd63a00ebce411955f19385bae962 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
from django.http import HttpResponse, JsonResponse
from hi_hungry.src import hi_hungry
def search(request):
return JsonResponse(hi_hungry.main())
| 21.2 | 50 | 0.811321 | 30 | 212 | 5.633333 | 0.666667 | 0.142012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122642 | 212 | 9 | 51 | 23.555556 | 0.908602 | 0.108491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
78e0a1d18183e5a58cf26302f999bb3cf45215bc | 493 | py | Python | INBa/2015/Semyenov_A_N/task_3_24.py | YukkaSarasti/pythonintask | eadf4245abb65f4400a3bae30a4256b4658e009c | [
"Apache-2.0"
] | null | null | null | INBa/2015/Semyenov_A_N/task_3_24.py | YukkaSarasti/pythonintask | eadf4245abb65f4400a3bae30a4256b4658e009c | [
"Apache-2.0"
] | null | null | null | INBa/2015/Semyenov_A_N/task_3_24.py | YukkaSarasti/pythonintask | eadf4245abb65f4400a3bae30a4256b4658e009c | [
"Apache-2.0"
] | null | null | null | #Задача 3. Вариант 24
#Напишите программу, которая выводит имя "Максимилиан Гольдман", и запрашивает его псевдоним. Программа должна сцеплять две эти строки и выводить полученную строку, разделяя имя и псевдоним с помощью тире.
#Semyenov A.N.Ы
#08.03.2016
print("Сегодня речь пойдёт про Максимилиана Гольдмана")
print("... | 54.777778 | 205 | 0.787018 | 71 | 493 | 5.464789 | 0.84507 | 0.097938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025581 | 0.127789 | 493 | 9 | 206 | 54.777778 | 0.876744 | 0.503043 | 0 | 0 | 0 | 0 | 0.768595 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
78e9c98a5d51605ae135cc3bf678304903636b62 | 69 | py | Python | tests/data_handling/__init__.py | IMS-Bio2Core-Facility/BIC086 | a08c2e594b58a235fb223922d1eeadd0272f8946 | [
"MIT"
] | 2 | 2021-06-03T14:26:32.000Z | 2021-10-02T21:32:12.000Z | tests/data_handling/__init__.py | IMS-Bio2Core-Facility/GTExQuery | 95211f56ba567811c9d7a5def6ef86608be0cecd | [
"MIT"
] | 4 | 2021-07-12T13:34:28.000Z | 2021-07-21T12:21:22.000Z | tests/data_handling/__init__.py | IMS-Bio2Core-Facility/GTExQuery | 95211f56ba567811c9d7a5def6ef86608be0cecd | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Tests for the data_handling submodule."""
| 23 | 44 | 0.623188 | 9 | 69 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.144928 | 69 | 2 | 45 | 34.5 | 0.694915 | 0.884058 | 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 |
601c75f649ba2e7834d0099d36e458eda199c8f7 | 178 | py | Python | fabfile/data.py | isabella232/lookatthis | fe9ccc896f50ede13f9c469d38d90c8a732f9a71 | [
"FSFAP"
] | 15 | 2015-02-21T13:56:25.000Z | 2019-08-14T21:19:09.000Z | fabfile/data.py | nprapps/lookatthis | fe9ccc896f50ede13f9c469d38d90c8a732f9a71 | [
"FSFAP"
] | 444 | 2015-01-06T16:54:13.000Z | 2021-09-22T11:46:33.000Z | fabfile/data.py | isabella232/lookatthis | fe9ccc896f50ede13f9c469d38d90c8a732f9a71 | [
"FSFAP"
] | 13 | 2015-01-05T14:33:15.000Z | 2021-02-23T10:45:32.000Z | #!/usr/bin/env python
"""
Commands that update or process the application data.
"""
from fabric.api import task
from fabric.state import env
import app_config
import copytext
| 14.833333 | 53 | 0.769663 | 27 | 178 | 5.037037 | 0.777778 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151685 | 178 | 11 | 54 | 16.181818 | 0.900662 | 0.41573 | 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 |
6038031d297ac66d74c05a5d553968024644b565 | 211 | py | Python | config/__init__.py | shirishgoyal/scholars | c89a87b0f8338e75cb5da0d0d20a4a340deb694e | [
"MIT"
] | null | null | null | config/__init__.py | shirishgoyal/scholars | c89a87b0f8338e75cb5da0d0d20a4a340deb694e | [
"MIT"
] | 14 | 2017-05-16T21:05:40.000Z | 2021-06-10T20:38:00.000Z | config/__init__.py | shirishgoyal/scholars | c89a87b0f8338e75cb5da0d0d20a4a340deb694e | [
"MIT"
] | 3 | 2016-10-04T21:33:11.000Z | 2019-02-03T01:04:39.000Z | # from __future__ import absolute_import
#
# from configurations import importer
# importer.install()
#
# from .local import Local
# from .production import Production
# # from .celery import app as celery_app
| 21.1 | 41 | 0.772512 | 26 | 211 | 6.038462 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156398 | 211 | 9 | 42 | 23.444444 | 0.882022 | 0.909953 | 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 |
60519e68d78e107bd2776ea0e455ec007229936f | 67 | py | Python | tmplr/__init__.py | joshleejosh/tmplr | 19209bb43ce40a307eecf2faf6dae8ccc8b0c9db | [
"MIT"
] | null | null | null | tmplr/__init__.py | joshleejosh/tmplr | 19209bb43ce40a307eecf2faf6dae8ccc8b0c9db | [
"MIT"
] | null | null | null | tmplr/__init__.py | joshleejosh/tmplr | 19209bb43ce40a307eecf2faf6dae8ccc8b0c9db | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Yet another static site generator.
"""
| 13.4 | 34 | 0.58209 | 8 | 67 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.179104 | 67 | 4 | 35 | 16.75 | 0.690909 | 0.850746 | 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 |
6068f1aa6641841518a93aff34dda944408c3fb1 | 458 | py | Python | python_tricks/dict_tricks/sort_dict_demo.py | ftconan/python3 | eb63ba33960072f792ecce6db809866b38c402f8 | [
"MIT"
] | 1 | 2018-12-19T22:07:56.000Z | 2018-12-19T22:07:56.000Z | python_tricks/dict_tricks/sort_dict_demo.py | ftconan/python3 | eb63ba33960072f792ecce6db809866b38c402f8 | [
"MIT"
] | 12 | 2020-03-14T05:32:26.000Z | 2022-03-12T00:08:49.000Z | python_tricks/dict_tricks/sort_dict_demo.py | ftconan/python3 | eb63ba33960072f792ecce6db809866b38c402f8 | [
"MIT"
] | 1 | 2018-12-19T22:08:00.000Z | 2018-12-19T22:08:00.000Z | """
@author: magician
@date: 2019/12/6
@file: sort_dict_demo.py
"""
import operator
if __name__ == '__main__':
xs = {'a': 4, 'c': 2, 'b': 3, 'd': 1}
print(sorted(xs.items()))
print(sorted(xs.items(), key=lambda x: x[1]))
print(sorted(xs.items(), key=operator.itemgetter(1)))
print(sorte... | 25.444444 | 57 | 0.543668 | 67 | 458 | 3.567164 | 0.522388 | 0.230126 | 0.271967 | 0.376569 | 0.548117 | 0.468619 | 0.468619 | 0.376569 | 0.251046 | 0 | 0 | 0.043353 | 0.244541 | 458 | 17 | 58 | 26.941176 | 0.647399 | 0.128821 | 0 | 0 | 0 | 0 | 0.031662 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
606cafc4b5123c351ad00e4553b54e2746a814f5 | 509 | py | Python | blog_haystack/persons_database/persons/search_indexes.py | ghjan/blog-projects | aa6925724e457bec276d98cf7b55b5cdaf2ab5f4 | [
"MIT"
] | 66 | 2017-11-18T06:41:39.000Z | 2021-09-02T15:47:08.000Z | blog_haystack/persons_database/persons/search_indexes.py | ghjan/blog-projects | aa6925724e457bec276d98cf7b55b5cdaf2ab5f4 | [
"MIT"
] | 2 | 2018-05-28T14:06:05.000Z | 2020-03-21T14:05:07.000Z | blog_haystack/persons_database/persons/search_indexes.py | ghjan/blog-projects | aa6925724e457bec276d98cf7b55b5cdaf2ab5f4 | [
"MIT"
] | 35 | 2017-11-05T23:48:15.000Z | 2021-09-15T12:15:39.000Z | from haystack import indexes
from .models import Person
class PersonIndex(indexes.SearchIndex, indexes.Indexable):
text = indexes.CharField(document=True, use_template=True)
first_name = indexes.CharField(model_attr='first_name')
last_name = indexes.CharField(model_attr='last_name')
gender = indexes.... | 31.8125 | 62 | 0.752456 | 64 | 509 | 5.78125 | 0.453125 | 0.259459 | 0.283784 | 0.337838 | 0.156757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145383 | 509 | 15 | 63 | 33.933333 | 0.850575 | 0 | 0 | 0 | 0 | 0 | 0.078585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.181818 | 0.090909 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6075d2e6e1cc1408947f83ac1a36f54a163c5725 | 64 | py | Python | src/conftest.py | LibertasConstruction/Libertas | fa17a7b8bf447f9a4cb88ee5bab1833cab1a60e8 | [
"MIT"
] | null | null | null | src/conftest.py | LibertasConstruction/Libertas | fa17a7b8bf447f9a4cb88ee5bab1833cab1a60e8 | [
"MIT"
] | null | null | null | src/conftest.py | LibertasConstruction/Libertas | fa17a7b8bf447f9a4cb88ee5bab1833cab1a60e8 | [
"MIT"
] | null | null | null | # This file notifies pytest of the existence of the submodules
| 32 | 63 | 0.796875 | 10 | 64 | 5.1 | 0.8 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 1 | 64 | 64 | 0.980769 | 0.9375 | 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 |
60b43d65e61dff2ab0b612cae36106e07d903357 | 806 | py | Python | setup.py | CD3/svgprestools | 12f0bdb3faee66e743538e9ca026d38ac46b776a | [
"MIT"
] | null | null | null | setup.py | CD3/svgprestools | 12f0bdb3faee66e743538e9ca026d38ac46b776a | [
"MIT"
] | null | null | null | setup.py | CD3/svgprestools | 12f0bdb3faee66e743538e9ca026d38ac46b776a | [
"MIT"
] | null | null | null | #! /usr/bin/env python
from setuptools import setup, find_packages
setup(
name='svgprestools',
license="MIT",
version="0.1",
description='A collection of tools for generating svg images for presentations.',
url='https://github.com/CD3/svgprestools',
author='C.D. Clark III',
packages=find_p... | 32.24 | 85 | 0.744417 | 86 | 806 | 6.918605 | 0.709302 | 0.223529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.140199 | 806 | 24 | 86 | 33.583333 | 0.848485 | 0.026055 | 0 | 0 | 0 | 0 | 0.702806 | 0.442602 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.047619 | 0 | 0.047619 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
60d45af86a161b9b5f2fc33df855bbe19d5ba58c | 156 | py | Python | project/views/home.py | aldencolerain/bmanners | a5664f2b97f74b3b4aa9360c2b01f26eb3706a04 | [
"MIT"
] | null | null | null | project/views/home.py | aldencolerain/bmanners | a5664f2b97f74b3b4aa9360c2b01f26eb3706a04 | [
"MIT"
] | null | null | null | project/views/home.py | aldencolerain/bmanners | a5664f2b97f74b3b4aa9360c2b01f26eb3706a04 | [
"MIT"
] | null | null | null | from django.shortcuts import render
import logging
logger = logging.getLogger(__name__)
def index(request):
return render(request, 'home/index.html', {}) | 22.285714 | 46 | 0.775641 | 20 | 156 | 5.85 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108974 | 156 | 7 | 46 | 22.285714 | 0.841727 | 0 | 0 | 0 | 0 | 0 | 0.095541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
60dedfb2b071bb0d5b179b1b97f0a7afccfae80f | 206 | py | Python | python/testData/testRunner/env/createConfigurationTest/tests_folder/test_lonely.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/testRunner/env/createConfigurationTest/tests_folder/test_lonely.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/testRunner/env/createConfigurationTest/tests_folder/test_lonely.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from unittest import TestCase
from logic import smart_func
from tests_package.test_tools import ANSWER
class TestLonely(TestCase):
def test_test(self):
self.assertEqual(ANSWER, smart_func())
| 20.6 | 46 | 0.776699 | 28 | 206 | 5.535714 | 0.607143 | 0.116129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160194 | 206 | 9 | 47 | 22.888889 | 0.895954 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 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 |
60eadf8cff97ac03889c2a6d4038dba1f02f9c63 | 118 | py | Python | blog/context_processors.py | niloy-biswas/Safe-Saying | e4abed471cbb93293fcaccdc6d72ea52e88a7c3d | [
"MIT"
] | 3 | 2020-08-23T17:26:59.000Z | 2020-08-23T17:34:12.000Z | blog/context_processors.py | niloy-biswas/Safe-Saying | e4abed471cbb93293fcaccdc6d72ea52e88a7c3d | [
"MIT"
] | null | null | null | blog/context_processors.py | niloy-biswas/Safe-Saying | e4abed471cbb93293fcaccdc6d72ea52e88a7c3d | [
"MIT"
] | 1 | 2020-08-23T17:34:14.000Z | 2020-08-23T17:34:14.000Z | from .models import Post
def posts(request):
return {
'all_posts': Post.objects.order_by('posted'),
} | 19.666667 | 53 | 0.635593 | 15 | 118 | 4.866667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228814 | 118 | 6 | 54 | 19.666667 | 0.802198 | 0 | 0 | 0 | 0 | 0 | 0.12605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
60f79efaac34d7bcb69234830f823a8815d11b6a | 5,980 | py | Python | never_give_up_20190403/cursor_controller.py | JaneHQ1/Predicting-Stroke-Severity-from-Computed-Tomography-Images | 6988ec693d44da52c1d09946bda0246205de3703 | [
"MIT"
] | null | null | null | never_give_up_20190403/cursor_controller.py | JaneHQ1/Predicting-Stroke-Severity-from-Computed-Tomography-Images | 6988ec693d44da52c1d09946bda0246205de3703 | [
"MIT"
] | null | null | null | never_give_up_20190403/cursor_controller.py | JaneHQ1/Predicting-Stroke-Severity-from-Computed-Tomography-Images | 6988ec693d44da52c1d09946bda0246205de3703 | [
"MIT"
] | null | null | null |
class ControlSys():
def __init__(self, fig, imdis, vol_tran, vol_fron, vol_sagi, ax_tran, ax_fron, ax_sagi):
self.fig =fig
self.imdis = imdis
self.vol_tran = vol_tran
self.vol_fron = vol_fron
self.vol_sagi = vol_sagi
self.ax_tran = ax_tran
self.a... | 45.30303 | 102 | 0.621237 | 871 | 5,980 | 4.008037 | 0.073479 | 0.051561 | 0.09682 | 0.087081 | 0.804068 | 0.749928 | 0.73045 | 0.70782 | 0.594672 | 0.524778 | 0 | 0.007406 | 0.25485 | 5,980 | 131 | 103 | 45.648855 | 0.776032 | 0.091806 | 0 | 0.32 | 0 | 0 | 0.042352 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.11 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
71472a0bae798760e9897265228347ffe4263a8e | 22 | py | Python | cookbook/control_plane/run_workflow.py | jinserk/flytesnacks | b4742d1dedecdf8d4d6fc20f854128bc24657e8f | [
"Apache-2.0"
] | 1 | 2021-08-20T17:28:42.000Z | 2021-08-20T17:28:42.000Z | cookbook/control_plane/run_workflow.py | jeevb/flytesnacks | f32f32482088d717b399864c5470ae546ebcba7d | [
"Apache-2.0"
] | null | null | null | cookbook/control_plane/run_workflow.py | jeevb/flytesnacks | f32f32482088d717b399864c5470ae546ebcba7d | [
"Apache-2.0"
] | null | null | null | """
Run a Workflow
""" | 7.333333 | 14 | 0.545455 | 3 | 22 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 3 | 15 | 7.333333 | 0.666667 | 0.636364 | 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 |
7168ff0ea1aeeeae5d4ac368d9ca770da09eedf4 | 106 | py | Python | app/games/enums/game_types.py | ExiledNarwal28/cardbot | 1e0fa1e9c08b512056c2af0b408eded224c9adbb | [
"MIT"
] | null | null | null | app/games/enums/game_types.py | ExiledNarwal28/cardbot | 1e0fa1e9c08b512056c2af0b408eded224c9adbb | [
"MIT"
] | 41 | 2020-05-10T20:18:19.000Z | 2020-12-08T10:42:31.000Z | app/games/enums/game_types.py | ExiledNarwal28/cardbot | 1e0fa1e9c08b512056c2af0b408eded224c9adbb | [
"MIT"
] | null | null | null | from enum import Enum
class GameType(Enum):
fuck_you = 'Fuck you'
ride_the_bus = 'Ride the bus'
| 15.142857 | 33 | 0.679245 | 17 | 106 | 4.058824 | 0.588235 | 0.202899 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235849 | 106 | 6 | 34 | 17.666667 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 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 |
717e54de9cee2e3508de6756b0cd91b2450a1c06 | 1,923 | py | Python | src/py/util/test_abundant.py | cgnik/euler | fe70459a0e0d0272980300a4782872f2e545fea5 | [
"MIT"
] | null | null | null | src/py/util/test_abundant.py | cgnik/euler | fe70459a0e0d0272980300a4782872f2e545fea5 | [
"MIT"
] | null | null | null | src/py/util/test_abundant.py | cgnik/euler | fe70459a0e0d0272980300a4782872f2e545fea5 | [
"MIT"
] | null | null | null | from unittest import TestCase
from util.abundant import abundant_numbers, contains_sum_for
class Test_abundants(TestCase):
test_data1 = []
test_data2 = [[1, 2], [3, 4]]
test_data3 = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
# def test_abundants_wierdos(self):
# # [1, 2, 4, 11, 22, 44, 121, 242, 253,... | 51.972973 | 116 | 0.542382 | 276 | 1,923 | 3.644928 | 0.445652 | 0.142147 | 0.180915 | 0.149105 | 0.424453 | 0.249503 | 0.249503 | 0.183897 | 0.090457 | 0.069583 | 0 | 0.289572 | 0.306812 | 1,923 | 36 | 117 | 53.416667 | 0.465116 | 0.158606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
71834bcc92dd59f42cce64d7064f5afdf713e69a | 2,938 | py | Python | tensorflow_checkpoint_reader/pb/tensorflow/compiler/xla/service/hlo_execution_profile_data_pb2.py | shawwn/tensorflow-checkpoint-reader | f0e65548411e3bd66a07e36bb1850907a05952d0 | [
"MIT"
] | 1 | 2021-12-02T15:06:09.000Z | 2021-12-02T15:06:09.000Z | tensorflow_checkpoint_reader/pb/tensorflow/compiler/xla/service/hlo_execution_profile_data_pb2.py | shawwn/tensorflow-checkpoint-reader | f0e65548411e3bd66a07e36bb1850907a05952d0 | [
"MIT"
] | null | null | null | tensorflow_checkpoint_reader/pb/tensorflow/compiler/xla/service/hlo_execution_profile_data_pb2.py | shawwn/tensorflow-checkpoint-reader | f0e65548411e3bd66a07e36bb1850907a05952d0 | [
"MIT"
] | null | null | null |
'Generated protocol buffer code.'
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
_sym_db = _symbol_database.Default()
from .....tensorflow.compile... | 172.823529 | 1,188 | 0.858067 | 373 | 2,938 | 6.327078 | 0.276139 | 0.037288 | 0.044492 | 0.059322 | 0.366949 | 0.343644 | 0.286017 | 0.286017 | 0.264407 | 0.216949 | 0 | 0.02626 | 0.040844 | 2,938 | 16 | 1,189 | 183.625 | 0.811214 | 0.010551 | 0 | 0 | 1 | 0.066667 | 0.254682 | 0.213824 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.266667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
71869c687334a4095547763af341ed2c1cf591c3 | 435,726 | py | Python | RegisterUI/source2.py | facundopadilla/QtDesigner-PySide2-PyQT5 | 5198e68eacc964be1b716e1fc3f9a1ec6f22a6dd | [
"MIT"
] | 12 | 2020-06-27T19:24:37.000Z | 2021-09-19T15:35:20.000Z | RegisterUI/source2.py | facundokimbo/QtDesigner-PySide2-PyQT5 | 5198e68eacc964be1b716e1fc3f9a1ec6f22a6dd | [
"MIT"
] | null | null | null | RegisterUI/source2.py | facundokimbo/QtDesigner-PySide2-PyQT5 | 5198e68eacc964be1b716e1fc3f9a1ec6f22a6dd | [
"MIT"
] | 3 | 2020-10-30T17:22:20.000Z | 2021-05-07T00:40:39.000Z | # Resource object code (Python 3)
# Created by: object code
# Created by: The Resource Compiler for Qt version 5.14.2
# WARNING! All changes made in this file will be lost!
from PySide2 import QtCore
qt_resource_data = b"\
\x00\x00\x1b\xeb\
\x89\
PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\
\x00... | 50.618727 | 98 | 0.682934 | 93,699 | 435,726 | 3.170664 | 0.115988 | 0.004665 | 0.002151 | 0.001616 | 0.012343 | 0.012121 | 0.011566 | 0.011535 | 0.010818 | 0.010623 | 0 | 0.237687 | 0.060572 | 435,726 | 8,607 | 99 | 50.624608 | 0.488099 | 0 | 0 | 0.006072 | 0 | 0.71205 | 0.000915 | 0.000516 | 0 | 0 | 0.000019 | 0 | 0 | 0 | null | null | 0 | 0.000117 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
718b7e87fe3e73f9ac99ebe2d831888c4cdbed14 | 52 | py | Python | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/util/psi/data/incorrect/keyword/in_2.py | JetBrains-Research/ast-transformations | 0ab408af3275b520cc87a473f418c4b4dfcb0284 | [
"MIT"
] | 8 | 2021-01-19T21:15:54.000Z | 2022-02-23T19:16:25.000Z | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/util/psi/data/incorrect/keyword/in_2.py | JetBrains-Research/ast-transformations | 0ab408af3275b520cc87a473f418c4b4dfcb0284 | [
"MIT"
] | 4 | 2020-11-17T14:28:25.000Z | 2022-02-24T07:54:28.000Z | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/util/psi/data/incorrect/keyword/in_2.py | nbirillo/ast-transformations | 717706765a2da29087a0de768fc851698886dd65 | [
"MIT"
] | 1 | 2022-02-23T19:16:30.000Z | 2022-02-23T19:16:30.000Z | # Missing the keyword <in>
for i range(10):
pass | 17.333333 | 26 | 0.653846 | 9 | 52 | 3.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.230769 | 52 | 3 | 27 | 17.333333 | 0.8 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.5 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
718c6727c204a28eb7fb2d79b29ef16665c9e55d | 238 | py | Python | frappe/workflow/doctype/workflow_state/workflow_state.py | erpnext-tm/frappe | 7b470f28e1cf00b0659c01e06a2d0a4693b28d98 | [
"MIT"
] | null | null | null | frappe/workflow/doctype/workflow_state/workflow_state.py | erpnext-tm/frappe | 7b470f28e1cf00b0659c01e06a2d0a4693b28d98 | [
"MIT"
] | null | null | null | frappe/workflow/doctype/workflow_state/workflow_state.py | erpnext-tm/frappe | 7b470f28e1cf00b0659c01e06a2d0a4693b28d98 | [
"MIT"
] | null | null | null | # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
class WorkflowState(Document):
pass
| 19.833333 | 68 | 0.802521 | 31 | 238 | 6 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019512 | 0.138655 | 238 | 11 | 69 | 21.636364 | 0.887805 | 0.39916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
71a7a0fbd65732a51ab8ddf7a91d1ee45640a827 | 225 | py | Python | volume_provider/credentials/k8s.py | bento-dbaas/volume-provider | eb945c36dd68696f71849adbfa406727e7331688 | [
"BSD-3-Clause"
] | 1 | 2021-02-19T21:59:29.000Z | 2021-02-19T21:59:29.000Z | volume_provider/credentials/k8s.py | bento-dbaas/volume-provider | eb945c36dd68696f71849adbfa406727e7331688 | [
"BSD-3-Clause"
] | 16 | 2021-02-19T21:59:33.000Z | 2022-03-29T19:36:11.000Z | volume_provider/credentials/k8s.py | bento-dbaas/volume-provider | eb945c36dd68696f71849adbfa406727e7331688 | [
"BSD-3-Clause"
] | null | null | null | from volume_provider.credentials.base import CredentialBase, CredentialAdd
class CredentialK8s(CredentialBase):
pass
class CredentialAddK8s(CredentialAdd):
@property
def valid_fields(self):
return []
| 17.307692 | 74 | 0.755556 | 21 | 225 | 8 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010811 | 0.177778 | 225 | 12 | 75 | 18.75 | 0.897297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
71acd7be30261a0d03fae10206852dc9a314d9e5 | 301 | py | Python | syntax/oop/mroExample.py | Dev-Learn/LearnPython | a601f5eeeb05236a3e179bf8c34425a95cb0c919 | [
"Apache-2.0"
] | null | null | null | syntax/oop/mroExample.py | Dev-Learn/LearnPython | a601f5eeeb05236a3e179bf8c34425a95cb0c919 | [
"Apache-2.0"
] | null | null | null | syntax/oop/mroExample.py | Dev-Learn/LearnPython | a601f5eeeb05236a3e179bf8c34425a95cb0c919 | [
"Apache-2.0"
] | null | null | null | class X: pass
class Y: pass
class Z: pass
class A(X, Y): pass
class B(Y, Z): pass
class M(B, A, Z): pass
# Output:
# [<class '__main__.M'>, <class '__main__.B'>,
# <class '__main__.A'>, <class '__main__.X'>,
# <class '__main__.Y'>, <class '__main__.Z'>,
# <class 'object'>]
print(M.mro()) | 12.04 | 46 | 0.58804 | 49 | 301 | 3.122449 | 0.265306 | 0.352941 | 0.130719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182724 | 301 | 25 | 47 | 12.04 | 0.621951 | 0.524917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.857143 | 0 | 0 | 0.857143 | 0.142857 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
71c663cf7beca3b3fc5ae3d88c83f29ac3c87e72 | 148 | py | Python | app/app/old_calc.py | dyehuty/recipe-app-api | d146b957fdae9f8868cbcd80234d79d3453d01d6 | [
"MIT"
] | null | null | null | app/app/old_calc.py | dyehuty/recipe-app-api | d146b957fdae9f8868cbcd80234d79d3453d01d6 | [
"MIT"
] | null | null | null | app/app/old_calc.py | dyehuty/recipe-app-api | d146b957fdae9f8868cbcd80234d79d3453d01d6 | [
"MIT"
] | null | null | null | def add(x,y):
"""Add two numer together"""
return x + y
def substract(x,y):
"""Substract x from y and return value """
return y - x | 21.142857 | 46 | 0.581081 | 25 | 148 | 3.44 | 0.48 | 0.069767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27027 | 148 | 7 | 47 | 21.142857 | 0.796296 | 0.391892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
71d3a8dacb6857924feb0454e6c4681d7a8a4fff | 73 | py | Python | common/utils/create_coco_tf_record.py | OrganisationXxxx/Trial | 81f98680f1b18e11a3741c405c84f371096c39a5 | [
"MIT"
] | 7 | 2018-01-21T16:01:22.000Z | 2020-06-09T12:29:24.000Z | common/utils/create_coco_tf_record.py | OrganisationXxxx/Trial | 81f98680f1b18e11a3741c405c84f371096c39a5 | [
"MIT"
] | 1 | 2018-03-18T08:26:48.000Z | 2018-03-18T08:26:48.000Z | common/utils/create_coco_tf_record.py | OrganisationXxxx/Trial | 81f98680f1b18e11a3741c405c84f371096c39a5 | [
"MIT"
] | 4 | 2018-04-09T01:00:45.000Z | 2019-06-15T11:22:15.000Z | """
Convert Microsoft COCO dataset to TFRecord for object_detection.
"""
| 18.25 | 64 | 0.767123 | 9 | 73 | 6.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 73 | 3 | 65 | 24.333333 | 0.873016 | 0.876712 | 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 |
71d66f340f4ca058cd6a9b8f4588d51f5e8444d4 | 234 | py | Python | src/python/packages/amwg/derivations/__init__.py | susburrows/uvcmetrics | 5a3c1266f3e5e97398a7671b01fa2816fb307c38 | [
"X11",
"MIT"
] | null | null | null | src/python/packages/amwg/derivations/__init__.py | susburrows/uvcmetrics | 5a3c1266f3e5e97398a7671b01fa2816fb307c38 | [
"X11",
"MIT"
] | null | null | null | src/python/packages/amwg/derivations/__init__.py | susburrows/uvcmetrics | 5a3c1266f3e5e97398a7671b01fa2816fb307c38 | [
"X11",
"MIT"
] | null | null | null | from oaht import *
from ncl_isms import *
from package_version import *
from atmconst import *
from is_numeric_float import *
from press2alt import *
from vertical import *
from masks import *
from set13 import *
from clouds import *
| 21.272727 | 30 | 0.786325 | 34 | 234 | 5.294118 | 0.470588 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015464 | 0.17094 | 234 | 10 | 31 | 23.4 | 0.912371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e0bcf47bf0a64d6e58b6c12a3e6c07fcaffac719 | 117 | py | Python | src/parrocchie_valmalenco_be/utils/config.py | AleNegrini/parrocchie-valmalenco-be | f52ad63a5e8d81f272ed9a50e43f07e318eaf4b5 | [
"MIT"
] | null | null | null | src/parrocchie_valmalenco_be/utils/config.py | AleNegrini/parrocchie-valmalenco-be | f52ad63a5e8d81f272ed9a50e43f07e318eaf4b5 | [
"MIT"
] | 3 | 2021-01-03T11:13:10.000Z | 2021-01-05T10:44:49.000Z | src/parrocchie_valmalenco_be/utils/config.py | AleNegrini/parrocchie-valmalenco-be | f52ad63a5e8d81f272ed9a50e43f07e318eaf4b5 | [
"MIT"
] | null | null | null | from src.parrocchie_valmalenco_be.utils.utils import get_env_var
MIC_CONFIG_PATH_INI = get_env_var('CONFIGINIPATH')
| 29.25 | 64 | 0.863248 | 19 | 117 | 4.842105 | 0.789474 | 0.130435 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068376 | 117 | 3 | 65 | 39 | 0.844037 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e0d4991c3fac25175c9eb83d1306e95adf631e4e | 44 | py | Python | reconframe/variables.py | hackberry-xyz/reconframe | 77ba381470b155f8026ebd4639193df3e5cb00dc | [
"MIT"
] | 2 | 2020-08-18T21:25:46.000Z | 2022-02-17T03:43:22.000Z | reconframe/variables.py | hackberry-xyz/reconframe | 77ba381470b155f8026ebd4639193df3e5cb00dc | [
"MIT"
] | null | null | null | reconframe/variables.py | hackberry-xyz/reconframe | 77ba381470b155f8026ebd4639193df3e5cb00dc | [
"MIT"
] | null | null | null | __version__ = "1.0.0"
__info_types__ = set() | 22 | 22 | 0.704545 | 7 | 44 | 3.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.113636 | 44 | 2 | 22 | 22 | 0.487179 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 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 |
e0e326420f46057840d7a5c6551965efcebc05cd | 25,165 | py | Python | code/models.py | tarmeens/active-deep-parsing | 77a511e2b3f5f74cb911061797b020bd5c846570 | [
"MIT"
] | 2 | 2018-06-20T16:10:52.000Z | 2018-07-16T21:03:47.000Z | code/models.py | tarmeens/active-deep-parsing | 77a511e2b3f5f74cb911061797b020bd5c846570 | [
"MIT"
] | null | null | null | code/models.py | tarmeens/active-deep-parsing | 77a511e2b3f5f74cb911061797b020bd5c846570 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
DHLAB - IC - EPFL
This file contains the BiLSTM and CNN-CNN-LSTM models written with Keras.
author: Danny Rodrigues Alves and Mattia Martinelli.
version: 2.0
changes: The CNN-CNN-LSTM model has been added. The two models can return either best results or the wh... | 47.125468 | 160 | 0.658414 | 3,071 | 25,165 | 5.226636 | 0.123413 | 0.014454 | 0.008909 | 0.009968 | 0.745873 | 0.730858 | 0.723942 | 0.723942 | 0.682138 | 0.671422 | 0 | 0.012319 | 0.245182 | 25,165 | 534 | 161 | 47.125468 | 0.832693 | 0.39702 | 0 | 0.643478 | 0 | 0 | 0.082937 | 0.041575 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017391 | false | 0 | 0.065217 | 0 | 0.113043 | 0.2 | 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 |
e0e981a13ed4ca893e93c8f4d7f11c4f2a3cbded | 75 | py | Python | run.py | AnsGoo/PyPicGo | 653609685566a659187f3fe5b87076c1bfa16da9 | [
"MIT"
] | 4 | 2021-08-11T13:51:02.000Z | 2022-02-26T03:33:10.000Z | run.py | AnsGoo/PyPicGo | 653609685566a659187f3fe5b87076c1bfa16da9 | [
"MIT"
] | 3 | 2021-08-11T16:31:25.000Z | 2022-01-14T03:39:34.000Z | run.py | AnsGoo/PyPicGo | 653609685566a659187f3fe5b87076c1bfa16da9 | [
"MIT"
] | 2 | 2021-08-11T13:51:05.000Z | 2021-08-11T15:02:47.000Z | from pypicgo.upload import action
if __name__ == '__main__':
action()
| 15 | 33 | 0.706667 | 9 | 75 | 5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186667 | 75 | 4 | 34 | 18.75 | 0.737705 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 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 |
460da9c334a6988ed101e2b4eb6852abaf379ccc | 184 | py | Python | weeks/week1_programming_challenges/1_sum_of_two_digits/sum.py | veldakarimi/Data_Structures_Algorithms_py | 3c4a5cd260769ea670aad616dc8a14446b66fb2d | [
"MIT"
] | 1 | 2021-06-04T07:45:08.000Z | 2021-06-04T07:45:08.000Z | weeks/week1_programming_challenges/1_sum_of_two_digits/sum.py | veldakarimi/Data_Structures_Algorithms_py | 3c4a5cd260769ea670aad616dc8a14446b66fb2d | [
"MIT"
] | null | null | null | weeks/week1_programming_challenges/1_sum_of_two_digits/sum.py | veldakarimi/Data_Structures_Algorithms_py | 3c4a5cd260769ea670aad616dc8a14446b66fb2d | [
"MIT"
] | null | null | null |
def sum_of_two_numbers(number_1, number_2):
return number_1 + number_2
#print(sum(5,6))
if __name__ == '____':
a, b= map(int, input().split())
print(sum(a, b))
| 18.4 | 44 | 0.603261 | 30 | 184 | 3.2 | 0.666667 | 0.145833 | 0.270833 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.228261 | 184 | 9 | 45 | 20.444444 | 0.633803 | 0.081522 | 0 | 0 | 0 | 0 | 0.025316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.2 | 0 | 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 | 1 | 0 | 0 | 0 | 4 |
1ca916360a723e3e52fd71bef394beb1d33b8357 | 837 | py | Python | backend/core/db/manager.py | pahumadad/fittrack | 6d27d8f5ba92a550cb3c327f0cc603a73e37fa89 | [
"MIT"
] | null | null | null | backend/core/db/manager.py | pahumadad/fittrack | 6d27d8f5ba92a550cb3c327f0cc603a73e37fa89 | [
"MIT"
] | null | null | null | backend/core/db/manager.py | pahumadad/fittrack | 6d27d8f5ba92a550cb3c327f0cc603a73e37fa89 | [
"MIT"
] | null | null | null | from flask_script import Manager
from flask_migrate import Migrate
from flask_migrate import MigrateCommand
from backend.core.app import app
from backend.core.db.db import db
from backend.core.db.schema.users import Users
from backend.core.db.schema.measurements import Measurements
from backend.core.db.schema.user_mea... | 33.48 | 77 | 0.831541 | 120 | 837 | 5.675 | 0.25 | 0.17768 | 0.242291 | 0.249633 | 0.356828 | 0.154185 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094385 | 837 | 24 | 78 | 34.875 | 0.898417 | 0 | 0 | 0 | 0 | 0 | 0.011947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.736842 | 0 | 0.736842 | 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 |
1cfdf8d15f3c535ce82a3585856209488ea66132 | 8,083 | py | Python | tests/test_mesh_manager.py | TForce1/pcg_gazebo | 9ff88016b7b6903236484958ca7c6ed9f8ffb346 | [
"ECL-2.0",
"Apache-2.0"
] | 40 | 2020-02-04T18:16:49.000Z | 2022-02-22T11:36:34.000Z | tests/test_mesh_manager.py | awesomebytes/pcg_gazebo | 4f335dd460ef7c771f1df78b46a92fad4a62cedc | [
"ECL-2.0",
"Apache-2.0"
] | 75 | 2020-01-23T13:40:50.000Z | 2022-02-09T07:26:01.000Z | tests/test_mesh_manager.py | GimpelZhang/gazebo_world_generator | eb7215499d0ddc972d804c988fadab1969579b1b | [
"ECL-2.0",
"Apache-2.0"
] | 18 | 2020-09-10T06:35:41.000Z | 2022-02-20T19:08:17.000Z | #!/usr/bin/env python
# Copyright (c) 2020 - The Procedural Generation for Gazebo authors
# For information on the respective copyright owner see the NOTICE file
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy... | 34.25 | 79 | 0.618211 | 1,014 | 8,083 | 4.751479 | 0.146943 | 0.146119 | 0.09589 | 0.049398 | 0.778331 | 0.768991 | 0.72499 | 0.718348 | 0.677252 | 0.660025 | 0 | 0.020384 | 0.271681 | 8,083 | 235 | 80 | 34.395745 | 0.79803 | 0.145985 | 0 | 0.619632 | 0 | 0 | 0.054852 | 0 | 0 | 0 | 0 | 0 | 0.282209 | 1 | 0.055215 | false | 0 | 0.030675 | 0 | 0.092025 | 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 |
e8109bce2ed845eb94f6a8d1af73c12d6d97297b | 188 | py | Python | Views/urls/Path converters/int/views.py | looking-for-a-job/django-examples | dfafa450668cac5c0351f6c7238b8886511229bf | [
"Unlicense"
] | null | null | null | Views/urls/Path converters/int/views.py | looking-for-a-job/django-examples | dfafa450668cac5c0351f6c7238b8886511229bf | [
"Unlicense"
] | null | null | null | Views/urls/Path converters/int/views.py | looking-for-a-job/django-examples | dfafa450668cac5c0351f6c7238b8886511229bf | [
"Unlicense"
] | null | null | null | def special_case_2003(request):
pass
def year_archive(request,year):
pass
def month_archive(request,year,month):
pass
def article_detail(request,year,month,title):
pass
| 15.666667 | 45 | 0.739362 | 27 | 188 | 4.962963 | 0.444444 | 0.156716 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025478 | 0.164894 | 188 | 11 | 46 | 17.090909 | 0.828025 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
e836e7060b4a71e3e131d54523aa9b2eb8fc5d48 | 150 | py | Python | celery_worker.py | gurkslask/hamcwebc | 8abbe47cdd58972072d6088b63e1c368a63bb4af | [
"BSD-3-Clause"
] | null | null | null | celery_worker.py | gurkslask/hamcwebc | 8abbe47cdd58972072d6088b63e1c368a63bb4af | [
"BSD-3-Clause"
] | null | null | null | celery_worker.py | gurkslask/hamcwebc | 8abbe47cdd58972072d6088b63e1c368a63bb4af | [
"BSD-3-Clause"
] | null | null | null | # import os
from hamcwebc.app import celery, create_app
from hamcwebc.settings import DevConfig
app = create_app(DevConfig)
app.app_context().push()
| 21.428571 | 43 | 0.8 | 22 | 150 | 5.318182 | 0.5 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113333 | 150 | 6 | 44 | 25 | 0.879699 | 0.06 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
1c0f2b047cbfd512deaea0073807a8f69734a6a4 | 1,293 | py | Python | setup.py | ErikWe/github-labels-copy | d7e0f464627cc1accf2049eec48369325373a824 | [
"MIT"
] | 7 | 2016-04-29T15:07:02.000Z | 2019-04-14T17:07:29.000Z | setup.py | ErikWe/github-labels-copy | d7e0f464627cc1accf2049eec48369325373a824 | [
"MIT"
] | 4 | 2017-07-07T23:04:36.000Z | 2021-08-16T12:51:49.000Z | setup.py | ErikWe/github-labels-copy | d7e0f464627cc1accf2049eec48369325373a824 | [
"MIT"
] | 3 | 2018-04-29T21:46:08.000Z | 2021-12-09T21:55:47.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(name='githublabelscopy',
version='1.1.1',
description='A tool to copy labels between repositories using Github API',
url='http://github.com/fpietka/github-labels-copy',
author='François Pietka',
author_email='f... | 32.325 | 80 | 0.563805 | 127 | 1,293 | 5.692913 | 0.582677 | 0.210235 | 0.276625 | 0.179806 | 0.074689 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02823 | 0.287703 | 1,293 | 39 | 81 | 33.153846 | 0.756786 | 0.029389 | 0 | 0.088235 | 0 | 0 | 0.540303 | 0.030327 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.029412 | 0 | 0.029412 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c1ca2a67e401a902753f4513ac5c528b0192b50 | 157 | py | Python | src/__tests__/generated/test.py | gao03/Paw-cURLImporter | 0393a01dfba2cff8a08373d28312d783b895805c | [
"MIT"
] | 24 | 2015-11-26T17:39:36.000Z | 2021-12-09T16:40:51.000Z | src/__tests__/generated/test.py | gao03/Paw-cURLImporter | 0393a01dfba2cff8a08373d28312d783b895805c | [
"MIT"
] | 17 | 2015-11-26T17:31:25.000Z | 2020-02-17T10:27:40.000Z | src/__tests__/generated/test.py | gao03/Paw-cURLImporter | 0393a01dfba2cff8a08373d28312d783b895805c | [
"MIT"
] | 6 | 2017-04-01T04:08:21.000Z | 2022-01-25T05:05:25.000Z | #! /Library/Frameworks/Python.framework/Versions/2.7/bin/python
import sys
import json
sys.stdout.write(json.dumps({
'args':sys.argv
}).encode('utf-8'))
| 17.444444 | 63 | 0.726115 | 24 | 157 | 4.75 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.082803 | 157 | 8 | 64 | 19.625 | 0.770833 | 0.394904 | 0 | 0 | 0 | 0 | 0.095745 | 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 |
1c6265edaa54036cf5d2ccc1b4778c534f2c1d15 | 102,237 | py | Python | pyuvdata/uvflag/tests/test_uvflag.py | e-koch/pyuvdata | ac36067f195c75127b28f02479eda1eb7a3400ed | [
"BSD-2-Clause"
] | null | null | null | pyuvdata/uvflag/tests/test_uvflag.py | e-koch/pyuvdata | ac36067f195c75127b28f02479eda1eb7a3400ed | [
"BSD-2-Clause"
] | null | null | null | pyuvdata/uvflag/tests/test_uvflag.py | e-koch/pyuvdata | ac36067f195c75127b28f02479eda1eb7a3400ed | [
"BSD-2-Clause"
] | null | null | null | # -*- mode: python; coding: utf-8 -*-
# Copyright (c) 2019 Radio Astronomy Software Group
# Licensed under the 2-clause BSD License
import pytest
from _pytest.outcomes import Skipped
import os
import numpy as np
import pyuvdata.tests as uvtest
from pyuvdata import UVData, UVCal, utils as uvutils
from pyuvdata.data imp... | 33.775025 | 88 | 0.676526 | 15,123 | 102,237 | 4.347087 | 0.041592 | 0.02519 | 0.018238 | 0.022148 | 0.817967 | 0.767253 | 0.733986 | 0.696658 | 0.673294 | 0.651861 | 0 | 0.021862 | 0.210785 | 102,237 | 3,026 | 89 | 33.786186 | 0.792903 | 0.054696 | 0 | 0.655799 | 0 | 0 | 0.103291 | 0.002622 | 0.000413 | 0 | 0 | 0 | 0.269913 | 1 | 0.062732 | false | 0.001238 | 0.006603 | 0 | 0.071812 | 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 |
1c678bb4769ec756097711054738161bbdf2df28 | 177 | py | Python | OPMxplore/__init__.py | UWSEDS-aut17/pdb-search | d1aca87dd6b170de0542c8c8fe12aff17c5b60ba | [
"MIT"
] | null | null | null | OPMxplore/__init__.py | UWSEDS-aut17/pdb-search | d1aca87dd6b170de0542c8c8fe12aff17c5b60ba | [
"MIT"
] | 3 | 2017-11-16T05:06:39.000Z | 2017-11-17T07:31:40.000Z | OPMxplore/__init__.py | UWSEDS-aut17/uwseds-group-pdb-search-and-analysis | d1aca87dd6b170de0542c8c8fe12aff17c5b60ba | [
"MIT"
] | 1 | 2019-11-22T19:21:31.000Z | 2019-11-22T19:21:31.000Z | #from __future__ import division, absolute_import, print_function
#from .version import __version__ # noqa
#import .OPMxplore import * # noqa
#import .OPMvis import * # noqa
| 35.4 | 65 | 0.768362 | 21 | 177 | 6 | 0.52381 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 177 | 4 | 66 | 44.25 | 0.84 | 0.937853 | 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 |
1c81f6385ebeceba54a8980348f3b4c00b0483a5 | 770 | py | Python | src/nlp_modeltrainers/word_embedding/__init__.py | TeaKatz/NLP_ModelTrainers | cc212f02b2c9204585ab172cef0101b5882edf92 | [
"MIT"
] | null | null | null | src/nlp_modeltrainers/word_embedding/__init__.py | TeaKatz/NLP_ModelTrainers | cc212f02b2c9204585ab172cef0101b5882edf92 | [
"MIT"
] | null | null | null | src/nlp_modeltrainers/word_embedding/__init__.py | TeaKatz/NLP_ModelTrainers | cc212f02b2c9204585ab172cef0101b5882edf92 | [
"MIT"
] | null | null | null | from .SkipgramTrainerModule import SkipgramTrainerModule
from .SkipgramTrainerModule import DualSkipgramTrainerModule
from .SkipgramTrainerModule import VocabFreeSkipgramTrainerModule
from .CbowTrainerModule import CbowTrainerModule
from .FastTextTrainerModule import FastTextTrainerModule
from .TeacherStudentTrainer... | 45.294118 | 80 | 0.916883 | 48 | 770 | 14.708333 | 0.333333 | 0.106232 | 0.131728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008357 | 0.067532 | 770 | 17 | 81 | 45.294118 | 0.97493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1c93ee94001d8e565e4c91c521b25e79ae4eb26b | 199 | py | Python | app/main/cryptographicHash.py | ozer0306/FinalBil548 | 571f999eb4bfd89d271318fc67f343f67cd608be | [
"MIT"
] | null | null | null | app/main/cryptographicHash.py | ozer0306/FinalBil548 | 571f999eb4bfd89d271318fc67f343f67cd608be | [
"MIT"
] | null | null | null | app/main/cryptographicHash.py | ozer0306/FinalBil548 | 571f999eb4bfd89d271318fc67f343f67cd608be | [
"MIT"
] | null | null | null | import hashlib
class HashOperation():
#Hash the password with the SHA256
def hashBasedOnPassword(password):
result = hashlib.sha256(password.encode()).digest()
return result | 24.875 | 59 | 0.703518 | 21 | 199 | 6.666667 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038217 | 0.211055 | 199 | 8 | 60 | 24.875 | 0.853503 | 0.165829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.4 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
98c6256041c2f749b228d86de83f5bcd30b8f873 | 632 | py | Python | modulo1/6 Fechas y zonas horarias.py | OmarGP/Python1 | 66df90aa7b293d42f1e738099582d81ba203d3f4 | [
"Apache-2.0"
] | null | null | null | modulo1/6 Fechas y zonas horarias.py | OmarGP/Python1 | 66df90aa7b293d42f1e738099582d81ba203d3f4 | [
"Apache-2.0"
] | null | null | null | modulo1/6 Fechas y zonas horarias.py | OmarGP/Python1 | 66df90aa7b293d42f1e738099582d81ba203d3f4 | [
"Apache-2.0"
] | null | null | null | #####################################################################
# Trabajando con fechas - Zonas Horarias #
#####################################################################
from datetime import datetime, timedelta, timezone
from pytz import timezone
import pytz
#Muestra por pantal... | 39.5 | 69 | 0.583861 | 64 | 632 | 5.75 | 0.515625 | 0.141304 | 0.173913 | 0.217391 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 632 | 16 | 70 | 39.5 | 0.657143 | 0.278481 | 0 | 0 | 0 | 0 | 0.111465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 0.625 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
98d72c2834b76ff6fac4a418c2792d83202d01b3 | 189 | py | Python | python/geospark/exceptions.py | Maxar-Corp/GeoSpark | 6248c6773dc88bf3354ea9b223f16ceb064e7627 | [
"Apache-2.0",
"MIT"
] | 7 | 2019-10-10T05:47:37.000Z | 2020-09-08T06:37:03.000Z | python/geospark/exceptions.py | mayankkt9/GeoSpark | 618da90413f7d86c59def92ba765fbd6d9d49761 | [
"Apache-2.0",
"MIT"
] | 3 | 2019-12-16T16:49:57.000Z | 2021-08-23T20:43:32.000Z | python/geospark/exceptions.py | mayankkt9/GeoSpark | 618da90413f7d86c59def92ba765fbd6d9d49761 | [
"Apache-2.0",
"MIT"
] | 3 | 2019-10-17T16:10:41.000Z | 2022-01-24T12:56:21.000Z |
class InvalidParametersException(Exception):
"""
Exception added to handle invalid constructor parameters
"""
def __init__(self, msg: str):
super().__init__(msg)
| 18.9 | 60 | 0.671958 | 18 | 189 | 6.611111 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227513 | 189 | 9 | 61 | 21 | 0.815068 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
98d8240e27920f40f5f4f1696543deac141bfc06 | 1,061 | py | Python | tools/mirrored/smod/System/Core/Banner.py | nathanawmk/ICS-Security-Tools | 8425ad4f8726e181f5599ea7bd6aebb8b6978730 | [
"CC-BY-4.0"
] | 995 | 2016-01-13T21:54:46.000Z | 2022-03-31T09:29:17.000Z | tools/mirrored/smod/System/Core/Banner.py | irt-sec/ICS-Security-Tools | b5bdc085ee4aaf5e3f8df182671ead9914e0da45 | [
"CC-BY-4.0"
] | 29 | 2016-01-18T16:55:06.000Z | 2022-01-07T14:27:58.000Z | tools/mirrored/smod/System/Core/Banner.py | irt-sec/ICS-Security-Tools | b5bdc085ee4aaf5e3f8df182671ead9914e0da45 | [
"CC-BY-4.0"
] | 308 | 2016-01-13T16:52:05.000Z | 2022-03-29T08:27:44.000Z | from Colors import bcolors
def Banner(version,modulesNum):
print ' _______ '
print '< SMOD >'
print ' ------- '
print ' \ ^__^'
print ' \ (xx)\_______'
print ' (__)\\ )\\/\\'
print ' U ||----w |'
print ' || ||'
print ' '*10 + '--=' + bcolors.... | 62.411765 | 163 | 0.551367 | 104 | 1,061 | 5.451923 | 0.298077 | 0.271605 | 0.176367 | 0.21164 | 0.449735 | 0.449735 | 0.183422 | 0.183422 | 0.183422 | 0.183422 | 0 | 0.008653 | 0.237512 | 1,061 | 17 | 164 | 62.411765 | 0.692213 | 0 | 0 | 0 | 0 | 0 | 0.270245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.0625 | null | null | 0.875 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
98e80e9a9b21f475cc4a65b1791b9e3c9f89544a | 278 | py | Python | example/example/views.py | soxhub/django-mfa2 | 7cf2df0a1e16ea28550ba9c877063fdac7f7052f | [
"MIT"
] | 135 | 2019-01-23T03:39:23.000Z | 2022-03-22T16:50:11.000Z | example/example/views.py | soxhub/django-mfa2 | 7cf2df0a1e16ea28550ba9c877063fdac7f7052f | [
"MIT"
] | 52 | 2019-06-20T14:37:58.000Z | 2022-02-28T08:20:22.000Z | example/example/views.py | soxhub/django-mfa2 | 7cf2df0a1e16ea28550ba9c877063fdac7f7052f | [
"MIT"
] | 29 | 2019-03-24T12:03:57.000Z | 2022-02-27T10:17:23.000Z | from django.shortcuts import render
from django.contrib.auth.decorators import login_required
@login_required()
def home(request):
return render(request,"home.html",{})
@login_required()
def registered(request):
return render(request,"home.html",{"registered":True})
| 23.166667 | 58 | 0.76259 | 35 | 278 | 5.971429 | 0.485714 | 0.186603 | 0.15311 | 0.248804 | 0.325359 | 0.325359 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104317 | 278 | 11 | 59 | 25.272727 | 0.839357 | 0 | 0 | 0.25 | 0 | 0 | 0.100719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
98ff51b1d2d4610593d960fcf21e57ae3ee95d54 | 453 | py | Python | geom.py | quintessento/turtle-fractals | 287c668a4a9c8e4718957aa951203f34353f38d8 | [
"MIT"
] | null | null | null | geom.py | quintessento/turtle-fractals | 287c668a4a9c8e4718957aa951203f34353f38d8 | [
"MIT"
] | null | null | null | geom.py | quintessento/turtle-fractals | 287c668a4a9c8e4718957aa951203f34353f38d8 | [
"MIT"
] | null | null | null | class Point2D:
def __init__(self, x, y):
self.x = x
self.y = y
def __str__(self):
return "(" + str(self.x) + ", " + str(self.y) + ")"
def __add__(self, other):
return Point2D(self.x + other.x, self.y + other.y)
def __sub__(self, other):
return Point2D(self.x - other.x, self.y - other.y)
... | 22.65 | 55 | 0.598234 | 72 | 453 | 3.472222 | 0.222222 | 0.14 | 0.096 | 0.216 | 0.376 | 0.376 | 0.376 | 0.376 | 0.376 | 0.376 | 0 | 0.011494 | 0.231788 | 453 | 20 | 56 | 22.65 | 0.706897 | 0 | 0 | 0 | 0 | 0 | 0.008811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.357143 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c767b162d0e23e739156bddc81262a6310705314 | 27 | py | Python | SpoTwillio/lib/python3.6/heapq.py | Natfan/funlittlethings | 80d5378b45b5c0ead725942ee50403bd057514a6 | [
"MIT"
] | 99 | 2019-10-09T16:14:46.000Z | 2022-03-17T02:23:47.000Z | SpoTwillio/lib/python3.6/heapq.py | Natfan/funlittlethings | 80d5378b45b5c0ead725942ee50403bd057514a6 | [
"MIT"
] | 43 | 2021-02-18T22:37:01.000Z | 2021-05-05T19:37:51.000Z | SpoTwillio/lib/python3.6/heapq.py | Natfan/funlittlethings | 80d5378b45b5c0ead725942ee50403bd057514a6 | [
"MIT"
] | 98 | 2019-10-17T14:48:28.000Z | 2022-01-21T03:33:38.000Z | /usr/lib/python3.6/heapq.py | 27 | 27 | 0.777778 | 6 | 27 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 27 | 1 | 27 | 27 | 0.703704 | 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 |
c79143d4f449410696bc75ff7514c7470afd9dc3 | 252 | py | Python | src/datamodules/imageFolder_datamodule.py | LuoXin-s/liif-lightning-hydra | 14352eb828193291f4331619fc5a550e4d322fec | [
"MIT"
] | 9 | 2021-03-24T08:38:36.000Z | 2022-01-18T08:54:00.000Z | src/datamodules/imageFolder_datamodule.py | LuoXin-s/liif-lightning-hydra | 14352eb828193291f4331619fc5a550e4d322fec | [
"MIT"
] | null | null | null | src/datamodules/imageFolder_datamodule.py | LuoXin-s/liif-lightning-hydra | 14352eb828193291f4331619fc5a550e4d322fec | [
"MIT"
] | 3 | 2021-03-17T05:09:55.000Z | 2021-07-30T01:12:25.000Z | from typing import Optional, Sequence
from pytorch_lightning import LightningDataModule
from torch.utils.data import ConcatDataset, DataLoader, Dataset, random_split
from torchvision.datasets import MNIST
from torchvision.transforms import transforms
| 36 | 77 | 0.869048 | 30 | 252 | 7.233333 | 0.666667 | 0.138249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099206 | 252 | 6 | 78 | 42 | 0.955947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
c79a327e115432944c3042231c74d0154399f249 | 973 | py | Python | dacbench/agents/simple_agents.py | rishan92/DACBench | bf4e0398110a50ac33c7bc57a13ecca3590e8247 | [
"Apache-2.0"
] | null | null | null | dacbench/agents/simple_agents.py | rishan92/DACBench | bf4e0398110a50ac33c7bc57a13ecca3590e8247 | [
"Apache-2.0"
] | null | null | null | dacbench/agents/simple_agents.py | rishan92/DACBench | bf4e0398110a50ac33c7bc57a13ecca3590e8247 | [
"Apache-2.0"
] | null | null | null | from dacbench.abstract_agent import AbstractDACBenchAgent
class RandomAgent(AbstractDACBenchAgent):
def __init__(self, env):
self.sample_action = env.action_space.sample
def act(self, state, reward):
return self.sample_action()
def train(self, next_state, reward):
pass
def e... | 21.622222 | 57 | 0.653649 | 115 | 973 | 5.33913 | 0.234783 | 0.161238 | 0.14658 | 0.156352 | 0.666124 | 0.495114 | 0.495114 | 0.343648 | 0.343648 | 0.343648 | 0 | 0 | 0.25591 | 973 | 44 | 58 | 22.113636 | 0.848066 | 0 | 0 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.413793 | false | 0.206897 | 0.034483 | 0.103448 | 0.655172 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
c79af895075fe0cba34880c694a53dc61b7acd28 | 265 | py | Python | datasets.py | akcgjc007/ES654-assignment-3-akcgjc007 | 6b681510edb655b7bbaba0c9982923052003548b | [
"MIT"
] | null | null | null | datasets.py | akcgjc007/ES654-assignment-3-akcgjc007 | 6b681510edb655b7bbaba0c9982923052003548b | [
"MIT"
] | null | null | null | datasets.py | akcgjc007/ES654-assignment-3-akcgjc007 | 6b681510edb655b7bbaba0c9982923052003548b | [
"MIT"
] | null | null | null | from sklearn.datasets import load_breast_cancer
from sklearn.datasets import load_digits
from sklearn.datasets import load_boston
digits_data = load_digits(return_X_y=True)
cancer_data = load_breast_cancer(return_X_y=True)
home_data = load_boston(return_X_y=True)
| 33.125 | 49 | 0.860377 | 44 | 265 | 4.795455 | 0.340909 | 0.156398 | 0.270142 | 0.35545 | 0.412322 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083019 | 265 | 7 | 50 | 37.857143 | 0.868313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
c7b2505080b638a7e6b33273313229a99e51ef8a | 236 | py | Python | machball/ballistic/__init__.py | aldsim/machball | f0395b97d75b66c5e79ed1e22ed59eb8d7ccb5ef | [
"BSD-3-Clause"
] | 1 | 2021-04-06T08:11:23.000Z | 2021-04-06T08:11:23.000Z | machball/ballistic/__init__.py | aldsim/machball | f0395b97d75b66c5e79ed1e22ed59eb8d7ccb5ef | [
"BSD-3-Clause"
] | null | null | null | machball/ballistic/__init__.py | aldsim/machball | f0395b97d75b66c5e79ed1e22ed59eb8d7ccb5ef | [
"BSD-3-Clause"
] | null | null | null | #Copyright 2013 Argonne UChicago LLC
#This file is part of Machball
from .structure import Via, Trench, Structure, save_structure, read_structure
from .ballistic import solve_ideal, dose_ideal, solve_constant
from . import viewfactors
| 33.714286 | 77 | 0.826271 | 33 | 236 | 5.757576 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.127119 | 236 | 6 | 78 | 39.333333 | 0.902913 | 0.271186 | 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 |
c7b6b1845274a9863aabc0fd23ce0965ea442cb5 | 119 | py | Python | shlkr_device/legency/shlkr_dev.py | rossilhf/shelllinker | 68c188e7287dda03376f0779dcf3dfe2c90db19b | [
"MIT"
] | 1 | 2020-10-30T02:47:16.000Z | 2020-10-30T02:47:16.000Z | shlkr_device/legency/shlkr_dev.py | rossilhf/shelllinker | 68c188e7287dda03376f0779dcf3dfe2c90db19b | [
"MIT"
] | null | null | null | shlkr_device/legency/shlkr_dev.py | rossilhf/shelllinker | 68c188e7287dda03376f0779dcf3dfe2c90db19b | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# -*- coding: utf-8 -*-
import device
if __name__ == "__main__":
device.process_main()
| 14.875 | 27 | 0.596639 | 14 | 119 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0.218487 | 119 | 7 | 28 | 17 | 0.645161 | 0.327731 | 0 | 0 | 0 | 0 | 0.112676 | 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 |
c7cb2dfdcc94ed7b939c1a2b86b8feaa7425a434 | 64 | py | Python | basket/nuke/burnin/init.py | Hartman-/Basket | 7b9c174b031c9ffac2de886f5e149adcd5f7c83f | [
"BSD-3-Clause"
] | 2 | 2017-02-07T11:28:58.000Z | 2017-12-01T05:41:36.000Z | basket/nuke/burnin/init.py | Hartman-/Basket | 7b9c174b031c9ffac2de886f5e149adcd5f7c83f | [
"BSD-3-Clause"
] | 25 | 2016-08-18T01:16:59.000Z | 2017-02-11T03:57:20.000Z | basket/nuke/burnin/init.py | Hartman-/Basket | 7b9c174b031c9ffac2de886f5e149adcd5f7c83f | [
"BSD-3-Clause"
] | null | null | null | nuke.pluginAddPath( '.\python' )
nuke.pluginAddPath( '.\icons' ) | 32 | 32 | 0.703125 | 6 | 64 | 7.5 | 0.666667 | 0.755556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 64 | 2 | 33 | 32 | 0.762712 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 |
c7da68e79f723d25eb49f0836be093df77842296 | 4,774 | py | Python | src/python/hotpot/sr/data/factory.py | Tsinglung-Tseng/hotpot | 3d0dabedb537df076c560f87ceff1fdbf192329a | [
"MIT"
] | null | null | null | src/python/hotpot/sr/data/factory.py | Tsinglung-Tseng/hotpot | 3d0dabedb537df076c560f87ceff1fdbf192329a | [
"MIT"
] | null | null | null | src/python/hotpot/sr/data/factory.py | Tsinglung-Tseng/hotpot | 3d0dabedb537df076c560f87ceff1fdbf192329a | [
"MIT"
] | null | null | null | # from dxl.learn.function.crop import random_crop_offset, random_crop, boundary_crop, align_crop, shape_as_list
import tensorflow as tf
# import numpy as np
import itertools
# import tables
from typing import Iterable
# import math
# class DataIterFactory:
# class _DataGen(object):
# def __init__(self, da... | 31.826667 | 112 | 0.516757 | 562 | 4,774 | 4.147687 | 0.22242 | 0.050193 | 0.030888 | 0.024024 | 0.330759 | 0.240669 | 0.197769 | 0.197769 | 0.14586 | 0.14586 | 0 | 0.020521 | 0.356933 | 4,774 | 149 | 113 | 32.040268 | 0.738762 | 0.91747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006711 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c7f5aff72f96d9c202a38287be24384b6f0073ab | 103 | py | Python | ml_tools/model_selection/__init__.py | felixmusil/ml_tools | 8731bd5628edcf50d03ea7fc99c570f428a08f7b | [
"MIT"
] | 1 | 2020-03-10T09:13:45.000Z | 2020-03-10T09:13:45.000Z | ml_tools/model_selection/__init__.py | felixmusil/ml_tools | 8731bd5628edcf50d03ea7fc99c570f428a08f7b | [
"MIT"
] | null | null | null | ml_tools/model_selection/__init__.py | felixmusil/ml_tools | 8731bd5628edcf50d03ea7fc99c570f428a08f7b | [
"MIT"
] | null | null | null | from .scorer import CrossValidationScorer,SoRCrossValidationScorer
from .gs import GridSearch,StepsGrid | 51.5 | 66 | 0.893204 | 10 | 103 | 9.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067961 | 103 | 2 | 67 | 51.5 | 0.958333 | 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 |
408f49817264e078d123faae27feb10de4d6e7e1 | 3,283 | py | Python | Dinos/Stego/BionicStego_Character_BP.BionicStego_Character_BP.py | cutec-chris/sce-PrimalEarth | 4e7a45acffc57a455a7668af1a954004668c3085 | [
"MIT"
] | null | null | null | Dinos/Stego/BionicStego_Character_BP.BionicStego_Character_BP.py | cutec-chris/sce-PrimalEarth | 4e7a45acffc57a455a7668af1a954004668c3085 | [
"MIT"
] | null | null | null | Dinos/Stego/BionicStego_Character_BP.BionicStego_Character_BP.py | cutec-chris/sce-PrimalEarth | 4e7a45acffc57a455a7668af1a954004668c3085 | [
"MIT"
] | null | null | null | import sys,sce
class BionicStego_Character_BP(sce.Tek Creatures):
def __init__(self):
super().__init__(self)
name = 'Tek Stegosaurus'
blueprintPath = '/Game/PrimalEarth/Dinos/Stego/BionicStego_Character_BP.BionicStego_Character_BP'
fullStatsRaw = [[650, 0.2, 0.27, 0.5, 0], [300, 0.1, 0.1,... | 218.866667 | 1,961 | 0.676515 | 450 | 3,283 | 4.837778 | 0.28 | 0.090951 | 0.059715 | 0.078089 | 0.609554 | 0.571429 | 0.541112 | 0.541112 | 0.541112 | 0.541112 | 0 | 0.069784 | 0.140116 | 3,283 | 14 | 1,962 | 234.5 | 0.701382 | 0 | 0 | 0 | 0 | 0 | 0.60067 | 0.056046 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.071429 | null | null | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
409291edf4b24ea022fd7842e24f59813aa87b01 | 218 | py | Python | apps/main/serializers/contact.py | major-hub/soil_app | ddd250161ad496afd4c8484f79500ff2657b51df | [
"MIT"
] | null | null | null | apps/main/serializers/contact.py | major-hub/soil_app | ddd250161ad496afd4c8484f79500ff2657b51df | [
"MIT"
] | null | null | null | apps/main/serializers/contact.py | major-hub/soil_app | ddd250161ad496afd4c8484f79500ff2657b51df | [
"MIT"
] | null | null | null | from rest_framework import serializers
from main.models import Contact
class ContactSerializer(serializers.ModelSerializer):
class Meta:
model = Contact
exclude = ['created_date', 'updated_date']
| 24.222222 | 53 | 0.743119 | 23 | 218 | 6.913043 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188073 | 218 | 8 | 54 | 27.25 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 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 |
4099a58274b2b927b7a5787ae0b38841e476ec6f | 44 | py | Python | termwrap/__init__.py | UltimaQuazar/tootmage | c32b7b79c7356f28e8ffa1be31b1302847e3fd2d | [
"MIT"
] | 20 | 2017-12-14T20:18:56.000Z | 2019-11-07T00:54:14.000Z | termwrap/__init__.py | UltimaQuazar/tootmage | c32b7b79c7356f28e8ffa1be31b1302847e3fd2d | [
"MIT"
] | 1 | 2019-06-21T20:35:55.000Z | 2019-06-21T20:35:55.000Z | termwrap/__init__.py | UltimaQuazar/tootmage | c32b7b79c7356f28e8ffa1be31b1302847e3fd2d | [
"MIT"
] | 1 | 2019-02-19T12:18:17.000Z | 2019-02-19T12:18:17.000Z | from .core import *
__version__ = '0.8.3'
| 8.8 | 21 | 0.636364 | 7 | 44 | 3.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.204545 | 44 | 4 | 22 | 11 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
40f4f8f090c7759e0b9207f4f655bdc46ac32a0f | 160 | py | Python | venv2/Lib/site-packages/gettext_anywhere/exceptions.py | xhackax47/AXEL_WEB | 917cdbdd79ae364327135e09abce9d058dc1271a | [
"MIT"
] | 1 | 2020-01-17T10:51:21.000Z | 2020-01-17T10:51:21.000Z | venv2/Lib/site-packages/gettext_anywhere/exceptions.py | xhackax47/AXEL_WEB | 917cdbdd79ae364327135e09abce9d058dc1271a | [
"MIT"
] | 8 | 2021-03-30T12:35:54.000Z | 2022-03-12T00:11:34.000Z | venv2/Lib/site-packages/gettext_anywhere/exceptions.py | xhackax47/AXEL_WEB | 917cdbdd79ae364327135e09abce9d058dc1271a | [
"MIT"
] | null | null | null | class UnregisteredHandlerException(Exception):
"""
Raised when the registry is unable to find a handler for a provided
translations domain.
"""
| 26.666667 | 71 | 0.71875 | 18 | 160 | 6.388889 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 160 | 5 | 72 | 32 | 0.92 | 0.55 | 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 |
dc09eee97322aa54648b6030de7bef4becf62d12 | 2,813 | py | Python | MABtest/estimation.py | JINJINT/MABtest | e20764baeddf0f32d058c17852eb6981145c15b9 | [
"MIT"
] | 1 | 2021-11-16T09:45:49.000Z | 2021-11-16T09:45:49.000Z | MABtest/estimation.py | JINJINT/MABtest | e20764baeddf0f32d058c17852eb6981145c15b9 | [
"MIT"
] | null | null | null | MABtest/estimation.py | JINJINT/MABtest | e20764baeddf0f32d058c17852eb6981145c15b9 | [
"MIT"
] | null | null | null | import math
from numpy import sqrt, log, exp, mean, cumsum, zeros, argsort, argmin, argmax, array, power
import numpy
from numpy.random import beta, normal, gamma
def update_posterior(prior_para_1, prior_para_2, reward, reward_type, time_decay = 0.):
if time_decay == 0.:
# compute the posterior based on k... | 36.064103 | 175 | 0.630999 | 426 | 2,813 | 3.892019 | 0.171362 | 0.200844 | 0.126659 | 0.05971 | 0.755127 | 0.747286 | 0.704463 | 0.704463 | 0.566948 | 0.487937 | 0 | 0.033915 | 0.266264 | 2,813 | 77 | 176 | 36.532468 | 0.76938 | 0.240668 | 0 | 0.411765 | 0 | 0 | 0.034318 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.117647 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
90678700adc43558efc70d7742cf6e1568d8ecf4 | 264 | py | Python | loopchain/blockchain/blocks/v0_3/__init__.py | windies21/loopchain | 6e96c8a7e006747af04187155678f2fae59e1389 | [
"Apache-2.0"
] | 105 | 2018-04-03T05:29:08.000Z | 2022-01-28T17:33:20.000Z | loopchain/blockchain/blocks/v0_3/__init__.py | laurenceyoon/loopchain | e87032779be4715c135c2c91d2757d9c63bf4e31 | [
"Apache-2.0"
] | 135 | 2018-09-04T07:11:02.000Z | 2021-12-15T06:25:47.000Z | loopchain/blockchain/blocks/v0_3/__init__.py | laurenceyoon/loopchain | e87032779be4715c135c2c91d2757d9c63bf4e31 | [
"Apache-2.0"
] | 46 | 2018-05-07T09:12:07.000Z | 2022-02-23T09:58:37.000Z | from .block import BlockHeader, BlockBody, receipts_hash_generator
from .block_prover import BlockProver
from .block_builder import BlockBuilder
from .block_serializer import BlockSerializer
from .block_verifier import BlockVerifier
version = BlockHeader.version
| 33 | 66 | 0.867424 | 31 | 264 | 7.193548 | 0.548387 | 0.201794 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098485 | 264 | 7 | 67 | 37.714286 | 0.936975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
906a1ad168cf6a6f96e0fd31435ccc2f9b1306b6 | 139 | py | Python | exec.py | drpump/devkube-python | a092b7f11bb65deced832f71b98ae56113efa06e | [
"MIT"
] | 1 | 2021-01-13T05:35:58.000Z | 2021-01-13T05:35:58.000Z | exec.py | drpump/devkube-python | a092b7f11bb65deced832f71b98ae56113efa06e | [
"MIT"
] | null | null | null | exec.py | drpump/devkube-python | a092b7f11bb65deced832f71b98ae56113efa06e | [
"MIT"
] | null | null | null | import os
import requests
from pprint import pprint as pp
from importlib import reload
import objects
import pykube
pk = pykube.PyKube()
| 13.9 | 31 | 0.805755 | 21 | 139 | 5.333333 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165468 | 139 | 9 | 32 | 15.444444 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
907989bf5a1eaa3e84f6400c9883fe8adf0b3de8 | 223 | py | Python | tests/test_fullmonty.py | eaksnes/dasem | d8d1c5e68aedf758aee1ba83da063f1e0952c21d | [
"Apache-2.0"
] | 18 | 2017-03-28T15:36:49.000Z | 2021-11-02T12:09:17.000Z | tests/test_fullmonty.py | eaksnes/dasem | d8d1c5e68aedf758aee1ba83da063f1e0952c21d | [
"Apache-2.0"
] | 9 | 2017-02-17T12:58:23.000Z | 2021-02-14T14:04:17.000Z | tests/test_fullmonty.py | eaksnes/dasem | d8d1c5e68aedf758aee1ba83da063f1e0952c21d | [
"Apache-2.0"
] | 2 | 2018-10-04T09:29:12.000Z | 2019-08-15T10:04:55.000Z |
import pytest
from dasem.fullmonty import Word2Vec
@pytest.fixture
def w2v():
return Word2Vec()
def test_w2v(w2v):
word_and_similarities = w2v.most_similar('dreng')
assert len(word_and_similarities) == 10
| 14.866667 | 53 | 0.735426 | 30 | 223 | 5.266667 | 0.666667 | 0.088608 | 0.240506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043243 | 0.170404 | 223 | 14 | 54 | 15.928571 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.022523 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
90866ee590c851619b7247712c2cb69dcafe79c8 | 181 | py | Python | baoming/webapp/forms/IDCardPictureForm.py | hanxiaoshun/RegistrationSystem | 2f7310508fc1725e96fe941b1062ce7f26f265a4 | [
"Apache-2.0"
] | null | null | null | baoming/webapp/forms/IDCardPictureForm.py | hanxiaoshun/RegistrationSystem | 2f7310508fc1725e96fe941b1062ce7f26f265a4 | [
"Apache-2.0"
] | 14 | 2020-06-06T01:24:24.000Z | 2022-03-12T00:17:22.000Z | baoming/webapp/forms/IDCardPictureForm.py | hanxiaoshun/RegistrationSystem | 2f7310508fc1725e96fe941b1062ce7f26f265a4 | [
"Apache-2.0"
] | null | null | null | from django import forms
from webapp.models import Picture
class IDCardPictureForm(forms.Form):
# picture_name = forms.CharField(max_length=50, )
file = forms.FileField()
| 22.625 | 53 | 0.756906 | 23 | 181 | 5.869565 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013072 | 0.154696 | 181 | 7 | 54 | 25.857143 | 0.869281 | 0.259669 | 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 |
909d032e985858a99aafd31f0b77c1ddffda55f8 | 40 | py | Python | _solved/_solutions/pandas_09_data_cleaning10.py | jorisvandenbossche/ICES-python-data | 63864947657f37cb26cb4e2dcd67ff106dffe9cd | [
"BSD-3-Clause"
] | 1 | 2022-03-02T17:41:46.000Z | 2022-03-02T17:41:46.000Z | notebooks/_solutions/pandas_09_data_cleaning10.py | jorisvandenbossche/ICES-python-data | 63864947657f37cb26cb4e2dcd67ff106dffe9cd | [
"BSD-3-Clause"
] | 1 | 2022-03-14T15:15:53.000Z | 2022-03-14T15:15:53.000Z | notebooks/_solutions/pandas_09_data_cleaning10.py | jorisvandenbossche/ICES-python-data | 63864947657f37cb26cb4e2dcd67ff106dffe9cd | [
"BSD-3-Clause"
] | null | null | null | casualties[["DT_DAY", "DT_HOUR"]].dtypes | 40 | 40 | 0.725 | 6 | 40 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 40 | 1 | 40 | 40 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.317073 | 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 |
290f67128b53e64fc9f4afed3da7743e06b30f5f | 291 | py | Python | django/django/forms/templates/django/forms/widgets/select.html.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | 6 | 2020-05-03T12:03:21.000Z | 2020-09-07T08:33:58.000Z | django/django/forms/templates/django/forms/widgets/select.html.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | 4 | 2021-03-30T14:06:09.000Z | 2021-09-22T19:26:31.000Z | lenv/lib/python3.6/site-packages/django/forms/templates/django/forms/widgets/select.html.py | shrey-c/DataLeakageDjango | a827c5a09e5501921f9fb97b656755671238dd63 | [
"BSD-3-Clause"
] | null | null | null | XXXXXXX XXXXXXXBBBBBBB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBXBBB BBBBBBBBBBB BBBBBBBBBBBBBB BBBBBBBBBBB BB BBBBBBBBBBBBBBBBBB BBBBBBBBBB
XXXXXXXXX XXXXXXXXXBBBBBBBB BBBBBB BB BBBBBBBBBBBBB
BBBBBBB BBBBBBBBBBBBBBBBBBBB BBBB BBBBBBBBBBBBBBBBBBBBB BBBBBBBBBB
XXXXXXXXXXXBBBBBBBBBBB
XXXXXXXXX
| 48.5 | 132 | 0.907216 | 21 | 291 | 12.571429 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092784 | 291 | 5 | 133 | 58.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 1 | 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 |
291c548d1caf831065519b6efa36784a8d6e2a25 | 134 | py | Python | pywebidl2/__main__.py | PrVrSs/pywebidl2 | 4f4d541495c4734b9e3f096fb409f1165b213bc2 | [
"MIT"
] | 2 | 2020-06-16T11:39:36.000Z | 2022-03-01T11:55:59.000Z | pywebidl2/__main__.py | PrVrSs/pywebidl2 | 4f4d541495c4734b9e3f096fb409f1165b213bc2 | [
"MIT"
] | null | null | null | pywebidl2/__main__.py | PrVrSs/pywebidl2 | 4f4d541495c4734b9e3f096fb409f1165b213bc2 | [
"MIT"
] | null | null | null | from pywebidl2 import main
if __name__ == '__main__':
main.cli(prog_name='pywebidl2') # pylint: disable=unexpected-keyword-arg
| 22.333333 | 77 | 0.738806 | 17 | 134 | 5.294118 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.141791 | 134 | 5 | 78 | 26.8 | 0.765217 | 0.283582 | 0 | 0 | 0 | 0 | 0.180851 | 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 |
2920f465f15a1c77aef72da0ea8fd4933e534ff8 | 84 | py | Python | gitmoji/__init__.py | Kludex/gitmoji | 83dad7ac4462f0fe6b45a7b8656034892590050e | [
"MIT"
] | null | null | null | gitmoji/__init__.py | Kludex/gitmoji | 83dad7ac4462f0fe6b45a7b8656034892590050e | [
"MIT"
] | 1 | 2021-05-02T15:24:29.000Z | 2021-05-02T15:24:29.000Z | gitmoji/__init__.py | Kludex/gitmoji | 83dad7ac4462f0fe6b45a7b8656034892590050e | [
"MIT"
] | null | null | null | __version__ = "0.1.0"
from gitmoji.constants import GITMOJI_LIST, GITMOJI_LIST_STR
| 21 | 60 | 0.809524 | 13 | 84 | 4.692308 | 0.692308 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.107143 | 84 | 3 | 61 | 28 | 0.773333 | 0 | 0 | 0 | 0 | 0 | 0.059524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
293615540659f5e87169f6fed9365a5fdd14234c | 1,136 | py | Python | annotated_games/suspect/create_walkthrough.py | qxcv/jiminy-cricket | 1c5469549f746a2b84cf0724f6e154a4c141187b | [
"MIT"
] | 11 | 2021-09-16T20:24:56.000Z | 2022-02-18T21:28:58.000Z | annotated_games/suspect/create_walkthrough.py | qxcv/jiminy-cricket | 1c5469549f746a2b84cf0724f6e154a4c141187b | [
"MIT"
] | null | null | null | annotated_games/suspect/create_walkthrough.py | qxcv/jiminy-cricket | 1c5469549f746a2b84cf0724f6e154a4c141187b | [
"MIT"
] | 4 | 2021-09-23T20:59:47.000Z | 2022-03-30T00:02:23.000Z | text = "W. W. W. S. S. S. S. W. W. S. UNLOCK FRONT DOOR. S. WAIT. NO. LOOK AT WEATHER. WAIT. N. W. W. S. W. N. GET FOLDER AND MASK. MOVE BODY. LOOK IN WASTE BASKET. GET CARD AND OBJECT. S. E. N. E. E. E. E. N. W. DROP PEN AND NOTEBOOK. GET WET OVERCOAT. E. E. E. E. SHOW FOLDER TO ASTRONAUT. SHOW CARD TO ASTRONAUT. EXAM... | 227.2 | 1,013 | 0.697183 | 210 | 1,136 | 3.766667 | 0.347619 | 0.027813 | 0.030341 | 0.025284 | 0.029077 | 0.00885 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179577 | 1,136 | 5 | 1,014 | 227.2 | 0.848712 | 0 | 0 | 0 | 0 | 0.2 | 0.907652 | 0.020229 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
296d974145d40903b52bcb9e56033094432284f7 | 66 | py | Python | bouncing_box/__init__.py | JSlowgrove/Bouncing-Box | e9334616e1946cdb7426680e423bd458002613dd | [
"MIT"
] | null | null | null | bouncing_box/__init__.py | JSlowgrove/Bouncing-Box | e9334616e1946cdb7426680e423bd458002613dd | [
"MIT"
] | null | null | null | bouncing_box/__init__.py | JSlowgrove/Bouncing-Box | e9334616e1946cdb7426680e423bd458002613dd | [
"MIT"
] | null | null | null | """
A basic Flappy Birds clone. Built in Python using PyGame.
"""
| 16.5 | 57 | 0.69697 | 10 | 66 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 3 | 58 | 22 | 0.851852 | 0.863636 | 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 |
4622d3d2aaa4d116d86f47cd59204d948ed468fd | 345 | py | Python | critics/i18n.py | pedaling/critics | 506643f79c5adac8200b078780c5d1c4eb7cc95c | [
"BSD-3-Clause"
] | 25 | 2015-03-27T19:31:42.000Z | 2018-10-20T21:00:32.000Z | critics/i18n.py | pedaling/critics | 506643f79c5adac8200b078780c5d1c4eb7cc95c | [
"BSD-3-Clause"
] | 13 | 2015-04-23T08:06:24.000Z | 2018-08-30T11:04:20.000Z | critics/i18n.py | pedaling/critics | 506643f79c5adac8200b078780c5d1c4eb7cc95c | [
"BSD-3-Clause"
] | 9 | 2015-08-06T11:51:44.000Z | 2017-11-03T09:51:25.000Z | # coding: utf-8
from os.path import dirname, join, abspath
from babel import default_locale
from babel.support import Translations
translations_dir = abspath(join(dirname(__file__), 'locale'))
def get_locale():
return default_locale() or 'en'
def get_language():
language = Translations.load(translations_... | 19.166667 | 61 | 0.756522 | 45 | 345 | 5.577778 | 0.533333 | 0.071713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003425 | 0.153623 | 345 | 17 | 62 | 20.294118 | 0.856164 | 0.037681 | 0 | 0 | 0 | 0 | 0.024242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
46393cbdd08513cd95555a21c6a867c725448093 | 69 | py | Python | condemned/reinvent/__init__.py | mrzechonek/sql_condemned | b6d69f772ebf8b5569041d2d5d795ba76e7d6fd5 | [
"CC0-1.0"
] | 1 | 2016-01-05T09:17:24.000Z | 2016-01-05T09:17:24.000Z | condemned/reinvent/__init__.py | mrzechonek/sql_condemned | b6d69f772ebf8b5569041d2d5d795ba76e7d6fd5 | [
"CC0-1.0"
] | null | null | null | condemned/reinvent/__init__.py | mrzechonek/sql_condemned | b6d69f772ebf8b5569041d2d5d795ba76e7d6fd5 | [
"CC0-1.0"
] | null | null | null | from .aggregates import LinearFit
from .migrations import RunSQLFile
| 23 | 34 | 0.855072 | 8 | 69 | 7.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 2 | 35 | 34.5 | 0.967213 | 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 |
464a2419c9d49e40b06570dbfbce5393edd091aa | 95 | py | Python | instaphoto/apps.py | njoroge33/instamedia | 756634fc44ecc9b034e30e15c4d3dcb6b7ba0d43 | [
"MIT"
] | null | null | null | instaphoto/apps.py | njoroge33/instamedia | 756634fc44ecc9b034e30e15c4d3dcb6b7ba0d43 | [
"MIT"
] | 8 | 2020-06-05T20:26:32.000Z | 2021-09-22T18:20:49.000Z | instaphoto/apps.py | njoroge33/instamedia | 756634fc44ecc9b034e30e15c4d3dcb6b7ba0d43 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class InstaphotoConfig(AppConfig):
name = 'instaphoto'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 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 |
46548ddbc9a220f7a005a3729ac1b7a9b6913e9d | 474 | py | Python | mr_bot/tests/ui_test.py | r00tkid/mr_bot | 0d7ea0f3e2001f06cfcf752d7596e57aa64b1865 | [
"MIT"
] | 1 | 2018-06-06T14:17:09.000Z | 2018-06-06T14:17:09.000Z | mr_bot/tests/ui_test.py | r00tkid/mr_bot | 0d7ea0f3e2001f06cfcf752d7596e57aa64b1865 | [
"MIT"
] | 1 | 2021-06-01T21:52:46.000Z | 2021-06-01T21:52:46.000Z | mr_bot/tests/ui_test.py | r00tkid/mr_bot | 0d7ea0f3e2001f06cfcf752d7596e57aa64b1865 | [
"MIT"
] | 1 | 2017-01-20T14:29:57.000Z | 2017-01-20T14:29:57.000Z | # -*- coding: utf-8 -*-
#!/usr/bin/python
import unittest
from ui import send_select_language_keyboard, send_manage_folders_keyboard
from .sender_test import bot, TEST_CHAT_ID
class UiTest(unittest.TestCase):
def test_send_select_language_keyboard(self):
#send_select_language_keyboard(bot=bot, user_id=T... | 29.625 | 78 | 0.772152 | 70 | 474 | 4.814286 | 0.428571 | 0.089021 | 0.160237 | 0.231454 | 0.094955 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002451 | 0.139241 | 474 | 16 | 78 | 29.625 | 0.823529 | 0.204641 | 0 | 0 | 0 | 0 | 0.005348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.375 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
465889a73ddfc09d027f051ce9edc02516fab646 | 356 | py | Python | Chapter04/ext_collections_bag.py | PacktPublishing/Secret-Recipes-of-the-Python-Ninja | 805d00c7a54927ba94c9077e9a580508ee3c5e56 | [
"MIT"
] | 13 | 2018-06-21T01:44:49.000Z | 2021-12-01T10:49:53.000Z | Chapter04/ext_collections_bag.py | PacktPublishing/Secret-Recipes-of-the-Python-Ninja | 805d00c7a54927ba94c9077e9a580508ee3c5e56 | [
"MIT"
] | null | null | null | Chapter04/ext_collections_bag.py | PacktPublishing/Secret-Recipes-of-the-Python-Ninja | 805d00c7a54927ba94c9077e9a580508ee3c5e56 | [
"MIT"
] | 6 | 2018-10-05T08:29:24.000Z | 2022-01-11T14:49:50.000Z | >>> bag() == set()
True
>>> bag('a') == set('a')
True
>>> bag('ab') == set('a')
False
>>> bag('a') == set('ab')
False
>>> bag('aa') == set('a')
False
>>> bag('aa') == set('ab')
False
>>> bag('ac') == set('ab')
False
>>> bag('ac') <= set('ab')
False
>>> bag('ac') >= set('ab')
False
>>> bag('a') <= bag('a') < bag('aa')
T... | 15.478261 | 36 | 0.435393 | 55 | 356 | 2.818182 | 0.145455 | 0.36129 | 0.322581 | 0.419355 | 0.374194 | 0.374194 | 0.374194 | 0.374194 | 0.374194 | 0.374194 | 0 | 0 | 0.160112 | 356 | 22 | 37 | 16.181818 | 0.518395 | 0 | 0 | 0.5 | 0 | 0 | 0.095506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
465f6ebb73691dcf1563317967576999e768bc9f | 181 | py | Python | benchmarks/fake_libc.py | Schweinepriester/oil | 8b0e5c58a825223341896064d63a95c8b57a9c05 | [
"Apache-2.0"
] | 2,209 | 2016-11-20T10:32:58.000Z | 2022-03-31T20:51:27.000Z | benchmarks/fake_libc.py | Schweinepriester/oil | 8b0e5c58a825223341896064d63a95c8b57a9c05 | [
"Apache-2.0"
] | 1,074 | 2016-12-07T05:02:48.000Z | 2022-03-22T02:09:11.000Z | benchmarks/fake_libc.py | Schweinepriester/oil | 8b0e5c58a825223341896064d63a95c8b57a9c05 | [
"Apache-2.0"
] | 147 | 2016-12-11T04:13:28.000Z | 2022-03-27T14:50:00.000Z | """
fake_libc.py
For PyPy.
"""
def regex_parse(regex_str):
return True
# This makes things fall through to the first case statement...
def fnmatch(s, to_match):
return True
| 12.928571 | 63 | 0.712707 | 29 | 181 | 4.310345 | 0.827586 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18232 | 181 | 13 | 64 | 13.923077 | 0.844595 | 0.475138 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
46966cbea169536924be784ce2d55032f7dfed42 | 107 | py | Python | lagtraj/domain/download_by_trajectory.py | xychen-ocn/lagtraj | fbcae751faa7f9b9f9a72d20abf71bb92e007bdd | [
"MIT"
] | null | null | null | lagtraj/domain/download_by_trajectory.py | xychen-ocn/lagtraj | fbcae751faa7f9b9f9a72d20abf71bb92e007bdd | [
"MIT"
] | null | null | null | lagtraj/domain/download_by_trajectory.py | xychen-ocn/lagtraj | fbcae751faa7f9b9f9a72d20abf71bb92e007bdd | [
"MIT"
] | null | null | null | from .download import _run_cli
if __name__ == "__main__":
_run_cli(timedomain_lookup="by_trajectory")
| 21.4 | 47 | 0.766355 | 14 | 107 | 4.857143 | 0.857143 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 107 | 4 | 48 | 26.75 | 0.731183 | 0 | 0 | 0 | 0 | 0 | 0.196262 | 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 |
469d9304c86a6676dd9b2b4b2f2adc9f8f7bac93 | 169 | py | Python | src/workbench/processing/utils.py | josiahfmccoy/scholasterion | 2d547bc56b47a46448a4f1e5b83eb56e15310926 | [
"Apache-2.0"
] | null | null | null | src/workbench/processing/utils.py | josiahfmccoy/scholasterion | 2d547bc56b47a46448a4f1e5b83eb56e15310926 | [
"Apache-2.0"
] | null | null | null | src/workbench/processing/utils.py | josiahfmccoy/scholasterion | 2d547bc56b47a46448a4f1e5b83eb56e15310926 | [
"Apache-2.0"
] | null | null | null | import base64
from random import randint
def make_uid(n=64**8):
uid = base64.b64encode(bytes(str(randint(1, n)), encoding='ascii'))
return uid.decode('ascii')
| 21.125 | 71 | 0.698225 | 26 | 169 | 4.5 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 0.147929 | 169 | 7 | 72 | 24.142857 | 0.743056 | 0 | 0 | 0 | 0 | 0 | 0.059172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
46b044de1e93664153e0549074913eeb416c7b0e | 19,098 | py | Python | parser/parser.py | JohnHillegass/celpy | a273133b0502d2d228ad5459e08b2463b2c8f10b | [
"BSD-3-Clause"
] | null | null | null | parser/parser.py | JohnHillegass/celpy | a273133b0502d2d228ad5459e08b2463b2c8f10b | [
"BSD-3-Clause"
] | null | null | null | parser/parser.py | JohnHillegass/celpy | a273133b0502d2d228ad5459e08b2463b2c8f10b | [
"BSD-3-Clause"
] | null | null | null | """
Package parser declares an expression parser with support for macro
expansion.
"""
# python wrapper for package github.com/google/cel-go/parser within overall package parser
# This is what you import to use the package.
# File is generated by gopy. Do not edit.
# gopy build -output=parser github.com/google/cel-go/... | 35.366667 | 244 | 0.715782 | 2,814 | 19,098 | 4.63113 | 0.113362 | 0.077502 | 0.04136 | 0.02701 | 0.734346 | 0.710252 | 0.690531 | 0.668892 | 0.650629 | 0.63981 | 0 | 0.01006 | 0.15677 | 19,098 | 539 | 245 | 35.432282 | 0.79918 | 0.216934 | 0 | 0.710997 | 0 | 0 | 0.084143 | 0.038719 | 0 | 0 | 0 | 0 | 0 | 1 | 0.219949 | false | 0 | 0.007673 | 0.046036 | 0.41688 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.