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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7ce74a57958dcd3189bb60c32bb883591752b0e8 | 108 | py | Python | test.py | filipdbrsk/ks_mole | fceefe94c05e552f2728c0a319c4270267e80e3c | [
"Apache-2.0"
] | null | null | null | test.py | filipdbrsk/ks_mole | fceefe94c05e552f2728c0a319c4270267e80e3c | [
"Apache-2.0"
] | null | null | null | test.py | filipdbrsk/ks_mole | fceefe94c05e552f2728c0a319c4270267e80e3c | [
"Apache-2.0"
] | null | null | null | import json
fname="lemma.json"
f=open(fname, "r")
for line in f:
j=json.loads(line)
print j["Arizona"]
| 10.8 | 19 | 0.666667 | 20 | 108 | 3.6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157407 | 108 | 9 | 20 | 12 | 0.791209 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7ceb13de947c7f1b34841fb4e888c8635cc18e0b | 71 | py | Python | src/rewrapped/__init__.py | hansi-b/reWrapped | eb3d29ee668acdc8894288d4d4b3c9046a7c5c72 | [
"MIT"
] | 1 | 2018-03-08T20:58:12.000Z | 2018-03-08T20:58:12.000Z | src/rewrapped/__init__.py | hansi-b/reWrapped | eb3d29ee668acdc8894288d4d4b3c9046a7c5c72 | [
"MIT"
] | null | null | null | src/rewrapped/__init__.py | hansi-b/reWrapped | eb3d29ee668acdc8894288d4d4b3c9046a7c5c72 | [
"MIT"
] | null | null | null | from rewrapped.patterns import ReWrap
__all__ = ['matched', "ReWrap"]
| 17.75 | 37 | 0.746479 | 8 | 71 | 6.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 71 | 3 | 38 | 23.666667 | 0.790323 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6b0a5ac630fe9b960741a3094b9c371954eee33a | 65 | py | Python | airrun/cli/info.py | Hanlen520/airtest_run | 75111163443fd7ab3dfaf20f1bdc90102abba29a | [
"Apache-2.0"
] | 1 | 2020-04-15T10:49:09.000Z | 2020-04-15T10:49:09.000Z | airrun/cli/info.py | Hanlen520/airtest_run | 75111163443fd7ab3dfaf20f1bdc90102abba29a | [
"Apache-2.0"
] | null | null | null | airrun/cli/info.py | Hanlen520/airtest_run | 75111163443fd7ab3dfaf20f1bdc90102abba29a | [
"Apache-2.0"
] | 1 | 2020-07-08T04:23:40.000Z | 2020-07-08T04:23:40.000Z |
infos = """
AirRun Project For running airtest project easy!
""" | 16.25 | 48 | 0.707692 | 8 | 65 | 5.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 65 | 4 | 49 | 16.25 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6b138815d9b5672082cb8f214e43e041f07d02fa | 14,273 | py | Python | opencga-client/src/main/python/pyopencga/rest_clients/individual_client.py | fabbondanza/opencga | a00ff9b26b94585212c09cce4a6d23d161b0851e | [
"Apache-2.0"
] | null | null | null | opencga-client/src/main/python/pyopencga/rest_clients/individual_client.py | fabbondanza/opencga | a00ff9b26b94585212c09cce4a6d23d161b0851e | [
"Apache-2.0"
] | null | null | null | opencga-client/src/main/python/pyopencga/rest_clients/individual_client.py | fabbondanza/opencga | a00ff9b26b94585212c09cce4a6d23d161b0851e | [
"Apache-2.0"
] | null | null | null | """
WARNING: AUTOGENERATED CODE
This code was generated by a tool.
Autogenerated on: 2020-07-05 08:52:22
Manual changes to this file may cause unexpected behavior in your application.
Manual changes to this file will be overwritten if the code is regenerated.
"""
from pyopencga.rest_clients._pare... | 48.219595 | 185 | 0.659147 | 1,738 | 14,273 | 5.36191 | 0.189873 | 0.060951 | 0.032192 | 0.021247 | 0.460994 | 0.426441 | 0.347355 | 0.330508 | 0.295955 | 0.269128 | 0 | 0.007221 | 0.262594 | 14,273 | 295 | 186 | 48.383051 | 0.878195 | 0.713935 | 0 | 0 | 1 | 0 | 0.111489 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.413793 | false | 0 | 0.034483 | 0 | 0.862069 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6b1724dfb70b33baf276b43342fa35ef862257e3 | 36,273 | py | Python | pysnmp_mibs/DNS-SERVER-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 6 | 2017-04-21T13:48:08.000Z | 2022-01-06T19:42:52.000Z | pysnmp_mibs/DNS-SERVER-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 1 | 2020-05-05T16:42:25.000Z | 2020-05-05T16:42:25.000Z | pysnmp_mibs/DNS-SERVER-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 6 | 2020-02-08T20:28:49.000Z | 2021-09-14T13:36:46.000Z | #
# PySNMP MIB module DNS-SERVER-MIB (http://pysnmp.sf.net)
# ASN.1 source http://mibs.snmplabs.com:80/asn1/DNS-SERVER-MIB
# Produced by pysmi-0.0.7 at Sun Feb 14 00:08:40 2016
# On host bldfarm platform Linux version 4.1.13-100.fc21.x86_64 by user goose
# Using Python version 3.5.0 (default, Jan 5 2016, 17:11:52)
#
... | 185.066327 | 4,131 | 0.733328 | 4,189 | 36,273 | 6.349009 | 0.13249 | 0.008197 | 0.008798 | 0.011581 | 0.379681 | 0.344525 | 0.294292 | 0.228155 | 0.208565 | 0.192961 | 0 | 0.04345 | 0.158024 | 36,273 | 195 | 4,132 | 186.015385 | 0.82738 | 0.008381 | 0 | 0.055866 | 0 | 0.212291 | 0.453671 | 0.039711 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005587 | 0.03352 | 0 | 0.150838 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6b208cfd7f5c1eafd08aa2b397107073455db505 | 3,355 | py | Python | kde/applications/cantor/cantor.py | lnjX/craft-blueprints-kde | 08dc4a6c5873c362504a9454ddbf8e965e26d3c2 | [
"BSD-2-Clause"
] | null | null | null | kde/applications/cantor/cantor.py | lnjX/craft-blueprints-kde | 08dc4a6c5873c362504a9454ddbf8e965e26d3c2 | [
"BSD-2-Clause"
] | null | null | null | kde/applications/cantor/cantor.py | lnjX/craft-blueprints-kde | 08dc4a6c5873c362504a9454ddbf8e965e26d3c2 | [
"BSD-2-Clause"
] | null | null | null | import info
class subinfo(info.infoclass):
def setTargets(self):
self.versionInfo.setDefaultValues()
for ver in ["19.12.0", "19.12.1"]:
self.patchToApply[ver] = [('cantor-19.12.0-MSVC-libmarkdown.diff', 1)]
for ver in ["19.12.1"]:
self.patchToApply[ver] += [('cantor... | 54.112903 | 153 | 0.679881 | 359 | 3,355 | 6.295265 | 0.342618 | 0.213717 | 0.215044 | 0.199115 | 0.446903 | 0.438053 | 0.10177 | 0.10177 | 0.061947 | 0 | 0 | 0.022067 | 0.189568 | 3,355 | 61 | 154 | 55 | 0.809121 | 0.174665 | 0 | 0.046512 | 0 | 0 | 0.300834 | 0.254802 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069767 | false | 0 | 0.046512 | 0 | 0.162791 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6b235d3e6bb78e9af5067e3a41f0c940125919b3 | 222 | py | Python | src/web/dev/db-02.py | momacs/pram | d2de43ea447d13a65d814f781ec86889754f76fe | [
"BSD-3-Clause"
] | 10 | 2019-01-18T19:11:54.000Z | 2022-03-16T08:39:36.000Z | src/web/dev/db-02.py | momacs/pram | d2de43ea447d13a65d814f781ec86889754f76fe | [
"BSD-3-Clause"
] | 2 | 2019-02-19T15:10:44.000Z | 2019-02-26T04:26:24.000Z | src/web/dev/db-02.py | momacs/pram | d2de43ea447d13a65d814f781ec86889754f76fe | [
"BSD-3-Clause"
] | 3 | 2019-02-19T15:11:08.000Z | 2021-08-20T11:51:04.000Z | ''' Generate an ER diagram from a SQLite DB. '''
from eralchemy import render_er
fpath_db = os.path.join(os.path.dirname(__file__), '..', 'db', 'allegheny-students.sqlite3')
render_er('sqlite:///{fpath_db}', 'erd.png')
| 27.75 | 92 | 0.693694 | 33 | 222 | 4.424242 | 0.666667 | 0.109589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005076 | 0.112613 | 222 | 7 | 93 | 31.714286 | 0.736041 | 0.18018 | 0 | 0 | 1 | 0 | 0.327586 | 0.149425 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6b2eb87f1538c7542e37173175e91ca6381afd3f | 14,534 | py | Python | tests/components/xiaomi_miio/test_vacuum.py | mfaraco/home-assistant | a91b0058229974aed578fb20e833df4454d007f9 | [
"Apache-2.0"
] | 23 | 2017-11-15T21:03:53.000Z | 2021-03-29T21:33:48.000Z | tests/components/xiaomi_miio/test_vacuum.py | mfaraco/home-assistant | a91b0058229974aed578fb20e833df4454d007f9 | [
"Apache-2.0"
] | 6 | 2021-02-08T20:59:36.000Z | 2022-03-12T00:52:11.000Z | tests/components/xiaomi_miio/test_vacuum.py | ajk12345-code/home-assistant | 85624e80312e0487f51653ce24b398320972cbec | [
"Apache-2.0"
] | 10 | 2018-01-01T00:12:51.000Z | 2021-12-21T23:08:05.000Z | """The tests for the Xiaomi vacuum platform."""
import asyncio
from datetime import time, timedelta
from unittest import mock
import pytest
from homeassistant.components.vacuum import (
ATTR_BATTERY_ICON,
ATTR_FAN_SPEED,
ATTR_FAN_SPEED_LIST,
DOMAIN,
SERVICE_CLEAN_SPOT,
SERVICE_LOCATE,
SERV... | 34.9375 | 84 | 0.70256 | 1,947 | 14,534 | 4.873652 | 0.105804 | 0.0548 | 0.058173 | 0.070819 | 0.807145 | 0.755401 | 0.72916 | 0.676467 | 0.614501 | 0.564127 | 0 | 0.033091 | 0.195335 | 14,534 | 415 | 85 | 35.021687 | 0.778281 | 0.027109 | 0 | 0.430556 | 0 | 0 | 0.073197 | 0.023902 | 0 | 0 | 0 | 0 | 0.188889 | 1 | 0.016667 | false | 0 | 0.022222 | 0 | 0.038889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6b2f81138ccbc824d6a2a562dfa045efc46fc3ba | 671 | py | Python | tests/test_merge_rdf.py | ctnitschke/feedcollector | 6e8bd67f34177d142131aa8306fb5cc03bdd55df | [
"Apache-2.0"
] | null | null | null | tests/test_merge_rdf.py | ctnitschke/feedcollector | 6e8bd67f34177d142131aa8306fb5cc03bdd55df | [
"Apache-2.0"
] | null | null | null | tests/test_merge_rdf.py | ctnitschke/feedcollector | 6e8bd67f34177d142131aa8306fb5cc03bdd55df | [
"Apache-2.0"
] | null | null | null | import pytest
try:
from lxml.etree import ElementTree as ET
except ImportError:
from xml.etree import ElementTree as ET
import feedcollector
def test_merge():
old_tree = ET.parse('tests/data/rdf-old.rss')
new_tree = ET.parse('tests/data/rdf-new.rss')
merged_tree = feedcollector.rdf.merge_feeds(n... | 27.958333 | 74 | 0.734724 | 96 | 671 | 4.96875 | 0.427083 | 0.201258 | 0.205451 | 0.251572 | 0.205451 | 0.096436 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178838 | 671 | 23 | 75 | 29.173913 | 0.865699 | 0 | 0 | 0 | 0 | 0 | 0.134128 | 0.065574 | 0 | 0 | 0 | 0 | 0.388889 | 1 | 0.055556 | false | 0 | 0.277778 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6b30778326365c545d2dee1806d2c5e35f11f426 | 124 | py | Python | expert_tourist/models/__init__.py | richin13/expert-tourist | 6a7827d9216fea1712aa129001715f6fcb1677f2 | [
"MIT"
] | null | null | null | expert_tourist/models/__init__.py | richin13/expert-tourist | 6a7827d9216fea1712aa129001715f6fcb1677f2 | [
"MIT"
] | 5 | 2017-06-11T04:36:15.000Z | 2021-06-01T21:55:05.000Z | expert_tourist/models/__init__.py | richin13/expert-tourist | 6a7827d9216fea1712aa129001715f6fcb1677f2 | [
"MIT"
] | null | null | null | from flask_mongoengine import MongoEngine
db = MongoEngine()
from .user import User
from .place import Place, PlaceLoader
| 17.714286 | 41 | 0.806452 | 16 | 124 | 6.1875 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 124 | 6 | 42 | 20.666667 | 0.933962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
861a07171757958d2ef1f3b4bba93c91766ec7e8 | 4,675 | py | Python | pandasticsearch/client.py | macthestack/pandasticsearch | 9fa03497886a8d1a1ca316b837def9fc072320b5 | [
"MIT"
] | null | null | null | pandasticsearch/client.py | macthestack/pandasticsearch | 9fa03497886a8d1a1ca316b837def9fc072320b5 | [
"MIT"
] | null | null | null | pandasticsearch/client.py | macthestack/pandasticsearch | 9fa03497886a8d1a1ca316b837def9fc072320b5 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
import json
import sys
import base64
import ssl
from six.moves import urllib
from pandasticsearch.errors import ServerDefinedException
class RestClient(object):
"""
RestClient talks to Elasticsearch cluster through native RESTful API.
"""
def __init__(self, url, endpoint='',... | 34.375 | 94 | 0.548663 | 498 | 4,675 | 5.078313 | 0.26506 | 0.032028 | 0.021352 | 0.036378 | 0.667457 | 0.650059 | 0.650059 | 0.650059 | 0.650059 | 0.650059 | 0 | 0.013739 | 0.346096 | 4,675 | 135 | 95 | 34.62963 | 0.813543 | 0.199572 | 0 | 0.72619 | 0 | 0 | 0.039685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0.119048 | 0.071429 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
861ee5a51af9d9c3fd957ddd0c7d7812c8ec801c | 18 | py | Python | codepunks/version.py | redshodan/codepunks | e07e7aef5fa4748002329c5bb17ed4d51b6292c1 | [
"Apache-2.0"
] | null | null | null | codepunks/version.py | redshodan/codepunks | e07e7aef5fa4748002329c5bb17ed4d51b6292c1 | [
"Apache-2.0"
] | null | null | null | codepunks/version.py | redshodan/codepunks | e07e7aef5fa4748002329c5bb17ed4d51b6292c1 | [
"Apache-2.0"
] | null | null | null | VERSION = "0.1b2"
| 9 | 17 | 0.611111 | 3 | 18 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 18 | 1 | 18 | 18 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
864398ec85b568a503f899aeba043c7c53150d41 | 283 | py | Python | tests/test_dd_finviz_api.py | ooaj/GamestonkTerminal | 6b5b494458b0e01a2db7a06890610454220d8a8f | [
"MIT"
] | 2 | 2021-04-26T14:13:49.000Z | 2021-05-24T04:19:44.000Z | tests/test_dd_finviz_api.py | ooaj/GamestonkTerminal | 6b5b494458b0e01a2db7a06890610454220d8a8f | [
"MIT"
] | null | null | null | tests/test_dd_finviz_api.py | ooaj/GamestonkTerminal | 6b5b494458b0e01a2db7a06890610454220d8a8f | [
"MIT"
] | 2 | 2021-07-08T19:24:29.000Z | 2021-07-12T23:57:24.000Z | """ due_diligence/finviz_api.py tests """
# noqa: F401
import unittest
# pylint: disable=unused-import
import pytest
from gamestonk_terminal.due_diligence.finviz_api import analyst
class TestDdFinvizApi(unittest.TestCase):
def test_analyst(self):
analyst([], "PLTR")
| 20.214286 | 63 | 0.75265 | 35 | 283 | 5.914286 | 0.714286 | 0.115942 | 0.173913 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.141343 | 283 | 13 | 64 | 21.769231 | 0.839506 | 0.268551 | 0 | 0 | 0 | 0 | 0.020101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8645308d3b6f14391a89c305f983da726437cbe9 | 313 | gyp | Python | binding.gyp | dxg/node-expat-json | c88c56b90fd7a3831cee4cddc27ccf5e6a5b5e15 | [
"MIT"
] | null | null | null | binding.gyp | dxg/node-expat-json | c88c56b90fd7a3831cee4cddc27ccf5e6a5b5e15 | [
"MIT"
] | null | null | null | binding.gyp | dxg/node-expat-json | c88c56b90fd7a3831cee4cddc27ccf5e6a5b5e15 | [
"MIT"
] | null | null | null | {
'targets': [
{
'target_name': 'node_expat_object',
'sources': [
'src/parse.cc',
'src/node-expat-object.cc'
],
'include_dirs': [
'<!(node -e "require(\'nan\')")'
],
'dependencies': [
'deps/libexpat/libexpat.gyp:expat'
]
}
]
}
| 17.388889 | 42 | 0.444089 | 27 | 313 | 5 | 0.703704 | 0.133333 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.351438 | 313 | 17 | 43 | 18.411765 | 0.665025 | 0 | 0 | 0.117647 | 0 | 0 | 0.504792 | 0.178914 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
864905096562e93c9bfa2f614ed3c0e52781a918 | 276 | py | Python | bot/DataBase/models/base.py | ehsanbarkhordar/bot_141 | 6104411339a2607efe477077e9ddab6c441573da | [
"Apache-2.0"
] | null | null | null | bot/DataBase/models/base.py | ehsanbarkhordar/bot_141 | 6104411339a2607efe477077e9ddab6c441573da | [
"Apache-2.0"
] | null | null | null | bot/DataBase/models/base.py | ehsanbarkhordar/bot_141 | 6104411339a2607efe477077e9ddab6c441573da | [
"Apache-2.0"
] | null | null | null | from sqlalchemy import create_engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker
from main_config import DbConfig
engine = create_engine(DbConfig.database_url)
Session = sessionmaker(bind=engine)
Base = declarative_base()
| 27.6 | 55 | 0.851449 | 35 | 276 | 6.542857 | 0.485714 | 0.183406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 276 | 9 | 56 | 30.666667 | 0.919679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
865b774e2fdf270352cdfdf8b15b38265872755e | 298 | py | Python | workflow/lib/idds/workflow/__init__.py | SergeyPod/iDDS | 062acb2414bff31c196f819db896809365246ede | [
"Apache-2.0"
] | null | null | null | workflow/lib/idds/workflow/__init__.py | SergeyPod/iDDS | 062acb2414bff31c196f819db896809365246ede | [
"Apache-2.0"
] | 1 | 2020-10-01T15:47:50.000Z | 2020-10-28T17:55:01.000Z | workflow/lib/idds/workflow/__init__.py | SergeyPod/iDDS | 062acb2414bff31c196f819db896809365246ede | [
"Apache-2.0"
] | 5 | 2019-09-14T20:34:41.000Z | 2021-12-18T10:46:58.000Z | #!/usr/bin/env python
#
# Licensed under the Apache License, Version 2.0 (the "License");
# You may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0OA
#
# Authors:
# - Wen Guan, <wen.guan@cern.ch>, 2019
| 29.8 | 66 | 0.711409 | 51 | 298 | 4.156863 | 0.745098 | 0.141509 | 0.122642 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031873 | 0.157718 | 298 | 9 | 67 | 33.111111 | 0.812749 | 0.939597 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
86608c45fdde4fa64da797301e6f6679a2660dce | 1,585 | py | Python | release/stubs.min/System/Diagnostics/__init___parts/EventTypeFilter.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/System/Diagnostics/__init___parts/EventTypeFilter.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/System/Diagnostics/__init___parts/EventTypeFilter.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | class EventTypeFilter(TraceFilter):
"""
Indicates whether a listener should trace based on the event type.
EventTypeFilter(level: SourceLevels)
"""
def ZZZ(self):
"""hardcoded/mock instance of the class"""
return EventTypeFilter()
instance=ZZZ()
"""hardcoded/returns an instance of the class"""
... | 37.738095 | 190 | 0.720505 | 200 | 1,585 | 5.67 | 0.415 | 0.022046 | 0.02381 | 0.031746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002326 | 0.18612 | 1,585 | 41 | 191 | 38.658537 | 0.876744 | 0.594322 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.2 | 0 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
867561ff1e21103f9974f0b9b91a87f8b6ad4441 | 2,345 | py | Python | src/click/__init__.py | tucked/click | 93551dd44ced28fae4bd404cf24ec89b589e6568 | [
"BSD-3-Clause"
] | null | null | null | src/click/__init__.py | tucked/click | 93551dd44ced28fae4bd404cf24ec89b589e6568 | [
"BSD-3-Clause"
] | null | null | null | src/click/__init__.py | tucked/click | 93551dd44ced28fae4bd404cf24ec89b589e6568 | [
"BSD-3-Clause"
] | null | null | null | """
Click is a simple Python module inspired by the stdlib optparse to make
writing command line scripts fun. Unlike other modules, it's based
around a simple API that does not come with too much magic and is
composable.
"""
from .core import Argument
from .core import BaseCommand
from .core import Command
from .core i... | 30.855263 | 71 | 0.831557 | 337 | 2,345 | 5.700297 | 0.356083 | 0.065591 | 0.109318 | 0.054138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001968 | 0.133049 | 2,345 | 75 | 72 | 31.266667 | 0.942941 | 0.092111 | 0 | 0 | 0 | 0 | 0.004715 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.058824 | 0.985294 | 0 | 0.985294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
8676d3f49a97df7bcfcea4a7d384773673ae3382 | 819 | py | Python | utils/scheduler.py | ivclab/Multistage_Pruning | 0fb7e084f56d565c27dd9c4536cc95204eecf926 | [
"BSD-3-Clause"
] | 11 | 2020-04-07T02:23:53.000Z | 2021-09-02T13:54:47.000Z | utils/scheduler.py | van-hub/Multistage_Pruning | 0fb7e084f56d565c27dd9c4536cc95204eecf926 | [
"BSD-3-Clause"
] | null | null | null | utils/scheduler.py | van-hub/Multistage_Pruning | 0fb7e084f56d565c27dd9c4536cc95204eecf926 | [
"BSD-3-Clause"
] | 3 | 2020-11-07T17:10:08.000Z | 2021-01-18T02:26:56.000Z | import math
from torch.optim import lr_scheduler
class EpochBasedExponentialLR(lr_scheduler._LRScheduler):
def __init__(self, optimizer, decay=0.96, last_epoch=-1):
self.decay = decay
super(EpochBasedExponentialLR, self).__init__(optimizer, last_epoch)
return
def get_lr(self):
... | 32.76 | 91 | 0.68254 | 107 | 819 | 4.859813 | 0.308411 | 0.103846 | 0.084615 | 0.096154 | 0.438462 | 0.438462 | 0.438462 | 0.192308 | 0.192308 | 0.192308 | 0 | 0.012559 | 0.222222 | 819 | 24 | 92 | 34.125 | 0.803768 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
867d69547b2c145c03432071b7232bc477e0306f | 314 | py | Python | 01_Language/01_Functions/python/array_pad.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 3 | 2020-06-28T07:42:51.000Z | 2021-01-15T10:32:11.000Z | 01_Language/01_Functions/python/array_pad.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 9 | 2021-03-10T22:45:40.000Z | 2022-02-27T06:53:20.000Z | 01_Language/01_Functions/python/array_pad.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 1 | 2021-01-15T10:51:24.000Z | 2021-01-15T10:51:24.000Z | # coding: utf-8
def array_pad(l, size, value):
if size >= 0:
return l + [value] * (size - len(l))
else:
return [value] * (size * -1 - len(l)) + l
if __name__ == '__main__':
l = [12, 10, 9]
print(array_pad(l, 5, 0))
print(array_pad(l, -7, -1))
print(array_pad(l, 2, 999))
| 20.933333 | 49 | 0.512739 | 51 | 314 | 2.921569 | 0.490196 | 0.214765 | 0.241611 | 0.281879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071749 | 0.289809 | 314 | 14 | 50 | 22.428571 | 0.596413 | 0.041401 | 0 | 0 | 0 | 0 | 0.026756 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.3 | 0.3 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
86cbf2291d6e0c6ec1c3090a2a5ffb27b020a3ae | 6,135 | py | Python | tests/farm/views/_test_template_resource.py | szkkteam/agrosys | a390332202f7200632d2ff3816e1b0f3cc76f586 | [
"MIT"
] | null | null | null | tests/farm/views/_test_template_resource.py | szkkteam/agrosys | a390332202f7200632d2ff3816e1b0f3cc76f586 | [
"MIT"
] | null | null | null | tests/farm/views/_test_template_resource.py | szkkteam/agrosys | a390332202f7200632d2ff3816e1b0f3cc76f586 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Common Python library imports
# Pip package imports
import pytest
from flask import url_for
from flask_security import AnonymousUser, current_user
# Internal package imports
from backend.farm.models import Production, Farm, Template
TASK_GENERAL_1 = {
'title': 'tas... | 30.221675 | 110 | 0.622331 | 825 | 6,135 | 4.436364 | 0.14303 | 0.07377 | 0.024863 | 0.046448 | 0.743716 | 0.719672 | 0.712842 | 0.680874 | 0.649727 | 0.600273 | 0 | 0.0305 | 0.246455 | 6,135 | 202 | 111 | 30.371287 | 0.761194 | 0.019071 | 0 | 0.578947 | 0 | 0 | 0.181304 | 0.039088 | 0 | 0 | 0 | 0 | 0.256579 | 1 | 0.072368 | false | 0 | 0.032895 | 0 | 0.125 | 0.006579 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
86d010eaf657aedad80f308c9b60023add60128d | 261 | py | Python | tests/io/file_readline.py | sebastien-riou/micropython | 116c15842fd48ddb77b0bc016341d936a0756573 | [
"MIT"
] | 13,648 | 2015-01-01T01:34:51.000Z | 2022-03-31T16:19:53.000Z | tests/io/file_readline.py | sebastien-riou/micropython | 116c15842fd48ddb77b0bc016341d936a0756573 | [
"MIT"
] | 7,092 | 2015-01-01T07:59:11.000Z | 2022-03-31T23:52:18.000Z | tests/io/file_readline.py | sebastien-riou/micropython | 116c15842fd48ddb77b0bc016341d936a0756573 | [
"MIT"
] | 4,942 | 2015-01-02T11:48:50.000Z | 2022-03-31T19:57:10.000Z | f = open("io/data/file1")
print(f.readline())
print(f.readline(3))
print(f.readline(4))
print(f.readline(5))
print(f.readline())
# readline() on writable file
f = open("io/data/file1", "ab")
try:
f.readline()
except OSError:
print("OSError")
f.close()
| 17.4 | 31 | 0.659004 | 42 | 261 | 4.095238 | 0.428571 | 0.313953 | 0.406977 | 0.127907 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021834 | 0.122605 | 261 | 14 | 32 | 18.642857 | 0.729258 | 0.103448 | 0 | 0.166667 | 0 | 0 | 0.150862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
86e7370c18061dfa6f443976ebea18674e94a920 | 700 | py | Python | blog/pages/models.py | Jamilur-rahman-470/Django_blog | 2d605ff5c4c77a3b065fbc5579b2d90b8287e432 | [
"MIT"
] | null | null | null | blog/pages/models.py | Jamilur-rahman-470/Django_blog | 2d605ff5c4c77a3b065fbc5579b2d90b8287e432 | [
"MIT"
] | null | null | null | blog/pages/models.py | Jamilur-rahman-470/Django_blog | 2d605ff5c4c77a3b065fbc5579b2d90b8287e432 | [
"MIT"
] | null | null | null | from django.db import models
from ckeditor.fields import RichTextField
# Create your models here.
class HeaderText(models.Model):
name = models.CharField(max_length=50)
txt1 = models.CharField(max_length=50)
txt2 = models.CharField(max_length=50)
txt3 = models.CharField(max_length=50)
class Posts... | 33.333333 | 66 | 0.724286 | 92 | 700 | 5.358696 | 0.51087 | 0.146045 | 0.255578 | 0.340771 | 0.263692 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034423 | 0.17 | 700 | 21 | 67 | 33.333333 | 0.814114 | 0.034286 | 0 | 0 | 0 | 0 | 0.008889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.117647 | 0.058824 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
86f57f63d4d34b0d0e176e8e719d361e3e250b7a | 555 | py | Python | RecoHI/HiTracking/python/HIPixelTripletSeeds_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoHI/HiTracking/python/HIPixelTripletSeeds_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoHI/HiTracking/python/HIPixelTripletSeeds_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
# pixel track producer (with vertex)
from RecoHI.HiTracking.HIPixel3PrimTracks_cfi import *
from RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi import *
# pixel seeds
import RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi
hiPixelTrackSeeds = RecoPixelVertexing.PixelL... | 37 | 96 | 0.852252 | 49 | 555 | 9.571429 | 0.653061 | 0.03838 | 0.200426 | 0.21322 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.086486 | 555 | 14 | 97 | 39.642857 | 0.919132 | 0.082883 | 0 | 0 | 0 | 0 | 0.035573 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.444444 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
86fee2c8abbf44a8074c14c1e73dc66f69b4ba71 | 412 | py | Python | pyautogui/find_click.py | kanokkorn/python-sktch | c43012ba3cbca0d9161eff26e8ccc3e5d2cb3aab | [
"MIT"
] | null | null | null | pyautogui/find_click.py | kanokkorn/python-sktch | c43012ba3cbca0d9161eff26e8ccc3e5d2cb3aab | [
"MIT"
] | 12 | 2018-11-19T02:50:16.000Z | 2020-03-01T15:04:31.000Z | pyautogui/find_click.py | kanokkorn/python-sktch | c43012ba3cbca0d9161eff26e8ccc3e5d2cb3aab | [
"MIT"
] | null | null | null | import pyautogui as pg
spotify_icon = pg.locateCenterOnScreen("./pyautogui/image/spotify.png", confidence=0.9)
pg.click(spotify_icon)
search_bar = pg.locateCenterOnScreen("./pyautogui/image/search_bar.png", confidence=0.9)
pg.click(search_bar)
pg.typewrite("narrative", interval=0.2)
pg.hotkey("enter")
narrative = pg.l... | 34.333333 | 88 | 0.786408 | 57 | 412 | 5.596491 | 0.368421 | 0.206897 | 0.291536 | 0.338558 | 0.206897 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.058252 | 412 | 11 | 89 | 37.454545 | 0.801546 | 0 | 0 | 0 | 0 | 0 | 0.257908 | 0.223844 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8106b69b95e8178a305441191f4c79c07bf50884 | 425 | py | Python | recompile/decorators.py | NiumXp/recompile | c92c46bcc9dda2983c2a0b6ea454271c471d3eb8 | [
"MIT"
] | 1 | 2022-03-25T18:48:24.000Z | 2022-03-25T18:48:24.000Z | recompile/decorators.py | NiumXp/recompile | c92c46bcc9dda2983c2a0b6ea454271c471d3eb8 | [
"MIT"
] | null | null | null | recompile/decorators.py | NiumXp/recompile | c92c46bcc9dda2983c2a0b6ea454271c471d3eb8 | [
"MIT"
] | null | null | null | from .utils import (
isint
)
def swap(
idx,
idx_or_op,
**options,
):
if isint(idx_or_op):
if idx == idx_or_op:
raise ValueError()
...
def replace(
idx_or_op_or_func,
idx_or_op_or_seq=None,
**options,
):
if isint(idx_or_op_or_func) and isint(idx_or_op_or_se... | 14.655172 | 60 | 0.555294 | 63 | 425 | 3.269841 | 0.301587 | 0.218447 | 0.305825 | 0.262136 | 0.558252 | 0.446602 | 0.242718 | 0.242718 | 0.242718 | 0.242718 | 0 | 0 | 0.343529 | 425 | 28 | 61 | 15.178571 | 0.738351 | 0 | 0 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.043478 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8108e5ea7d8d70f11bc80a66ef723e99f9cf5848 | 171 | py | Python | thenewboston_node/project/settings/blockchain.py | nishp77/thenewboston-node | 158b1f1739b2c6c9c21c80e9da854ca141f1cf8f | [
"MIT"
] | 30 | 2021-03-05T22:08:17.000Z | 2021-09-23T02:45:45.000Z | thenewboston_node/project/settings/blockchain.py | nishp77/thenewboston-node | 158b1f1739b2c6c9c21c80e9da854ca141f1cf8f | [
"MIT"
] | 148 | 2021-03-05T23:37:50.000Z | 2021-11-02T02:18:58.000Z | thenewboston_node/project/settings/blockchain.py | nishp77/thenewboston-node | 158b1f1739b2c6c9c21c80e9da854ca141f1cf8f | [
"MIT"
] | 14 | 2021-03-05T21:58:46.000Z | 2021-10-15T17:27:52.000Z | BLOCKCHAIN = {
'class': 'thenewboston_node.business_logic.blockchain.file_blockchain.FileBlockchain',
'kwargs': {},
}
BLOCKCHAIN_URL_PATH_PREFIX = '/blockchain/'
| 24.428571 | 90 | 0.74269 | 16 | 171 | 7.5625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116959 | 171 | 6 | 91 | 28.5 | 0.801325 | 0 | 0 | 0 | 0 | 0 | 0.567251 | 0.432749 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
810e67f544272b1e549fdda20a6add16946172f8 | 87,646 | py | Python | uhd_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_57c51b5ca094121e33c3a9ba5033980f.py | rfrye-github/ixnetwork_restpy | 23eeb24b21568a23d3f31bbd72814ff55eb1af44 | [
"MIT"
] | null | null | null | uhd_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_57c51b5ca094121e33c3a9ba5033980f.py | rfrye-github/ixnetwork_restpy | 23eeb24b21568a23d3f31bbd72814ff55eb1af44 | [
"MIT"
] | null | null | null | uhd_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_57c51b5ca094121e33c3a9ba5033980f.py | rfrye-github/ixnetwork_restpy | 23eeb24b21568a23d3f31bbd72814ff55eb1af44 | [
"MIT"
] | null | null | null | # MIT LICENSE
#
# Copyright 1997 - 2020 by IXIA Keysight
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, ... | 44.831714 | 1,710 | 0.652557 | 9,158 | 87,646 | 6.116947 | 0.078183 | 0.03406 | 0.053589 | 0.031864 | 0.660883 | 0.645495 | 0.631536 | 0.614184 | 0.558525 | 0.496671 | 0 | 0.0213 | 0.24899 | 87,646 | 1,954 | 1,711 | 44.854657 | 0.829756 | 0.494501 | 0 | 0.354103 | 0 | 0 | 0.127922 | 0.030768 | 0 | 0 | 0 | 0 | 0 | 1 | 0.220365 | false | 0.006079 | 0.162614 | 0 | 0.600304 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8120d40063abd2e8f6e2a7d3cc01ed85e374088c | 67,820 | py | Python | xanalysis_realsph_paper_figs.py | kseetharam/genPolaron | b4eb05c595f1dc7151aa564f56fcfbdeded570c5 | [
"MIT"
] | null | null | null | xanalysis_realsph_paper_figs.py | kseetharam/genPolaron | b4eb05c595f1dc7151aa564f56fcfbdeded570c5 | [
"MIT"
] | null | null | null | xanalysis_realsph_paper_figs.py | kseetharam/genPolaron | b4eb05c595f1dc7151aa564f56fcfbdeded570c5 | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import xarray as xr
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.animation as animation
from matplotlib.lines import Line2D
from matplotlib.patches import Patch, Ellipse, Circle
from matplotlib.legend_handler import HandlerPatch
import matplotlib.colors as c... | 46.869385 | 238 | 0.580168 | 9,507 | 67,820 | 3.984012 | 0.082045 | 0.006204 | 0.003696 | 0.008449 | 0.767108 | 0.728694 | 0.696774 | 0.673355 | 0.648564 | 0.633726 | 0 | 0.041338 | 0.232395 | 67,820 | 1,446 | 239 | 46.901798 | 0.686221 | 0.826305 | 0 | 0.019048 | 0 | 0 | 0.061397 | 0.021622 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.247619 | 0 | 0.247619 | 0.085714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
81221dad363411cd26893541cce65b95eee33b46 | 167 | py | Python | boundaries/tests/fixtures/foo_definition.py | paultag/represent-boundaries | f04c34e2329a5d464b7ad1ebae10e52c761a4e05 | [
"MIT"
] | null | null | null | boundaries/tests/fixtures/foo_definition.py | paultag/represent-boundaries | f04c34e2329a5d464b7ad1ebae10e52c761a4e05 | [
"MIT"
] | null | null | null | boundaries/tests/fixtures/foo_definition.py | paultag/represent-boundaries | f04c34e2329a5d464b7ad1ebae10e52c761a4e05 | [
"MIT"
] | null | null | null | from datetime import date
import boundaries
boundaries.register('Districts',
last_updated=date(2000, 1, 1),
name_func=boundaries.attr('id'),
file='foo.shp',
)
| 16.7 | 34 | 0.730539 | 23 | 167 | 5.217391 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0.125749 | 167 | 9 | 35 | 18.555556 | 0.780822 | 0 | 0 | 0 | 0 | 0 | 0.107784 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
812dfbb103ad263f6325afcf70e7ea639b86ed0c | 1,802 | py | Python | sdk/cogscale/client/results.py | CognitiveScale/industry-models | 9afc26f0b209fbec7bfd41e37d6ff7d86ea7d1c3 | [
"Apache-2.0"
] | null | null | null | sdk/cogscale/client/results.py | CognitiveScale/industry-models | 9afc26f0b209fbec7bfd41e37d6ff7d86ea7d1c3 | [
"Apache-2.0"
] | null | null | null | sdk/cogscale/client/results.py | CognitiveScale/industry-models | 9afc26f0b209fbec7bfd41e37d6ff7d86ea7d1c3 | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2016 CognitiveScale, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wr... | 30.033333 | 109 | 0.680355 | 247 | 1,802 | 4.919028 | 0.489879 | 0.049383 | 0.021399 | 0.026337 | 0.312757 | 0.263374 | 0.263374 | 0.263374 | 0.263374 | 0.263374 | 0 | 0.005785 | 0.232519 | 1,802 | 60 | 110 | 30.033333 | 0.87274 | 0.602664 | 0 | 0.210526 | 0 | 0 | 0.122642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.052632 | 0.052632 | 0.052632 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
813b49aa92c93c20eeef76ab8cec1fc1a66b6bf0 | 312 | py | Python | brian2/tests/features/__init__.py | rgerkin/brian2 | 34761a58b0d4c2275194e648449419b3dd73286b | [
"BSD-2-Clause"
] | 1 | 2019-08-17T21:19:03.000Z | 2019-08-17T21:19:03.000Z | brian2/tests/features/__init__.py | rgerkin/brian2 | 34761a58b0d4c2275194e648449419b3dd73286b | [
"BSD-2-Clause"
] | null | null | null | brian2/tests/features/__init__.py | rgerkin/brian2 | 34761a58b0d4c2275194e648449419b3dd73286b | [
"BSD-2-Clause"
] | null | null | null | from __future__ import absolute_import
__all__ = ['FeatureTest',
'SpeedTest',
'InaccuracyError',
'Configuration',
'run_feature_tests']
from .base import *
from . import neurongroup
from . import synapses
from . import monitors
from . import input
from . import speed
| 22.285714 | 38 | 0.666667 | 31 | 312 | 6.354839 | 0.580645 | 0.253807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25641 | 312 | 13 | 39 | 24 | 0.849138 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.583333 | 0 | 0.583333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d4901b60f5e53409fa7c847184375d49a9639f6c | 109 | py | Python | flatto/__init__.py | delta114514/flatto | 3e0fed5df42e963dd1383c77bbc8be75d4342e68 | [
"MIT"
] | 1 | 2020-01-03T05:28:27.000Z | 2020-01-03T05:28:27.000Z | flatto/__init__.py | delta114514/flatto | 3e0fed5df42e963dd1383c77bbc8be75d4342e68 | [
"MIT"
] | null | null | null | flatto/__init__.py | delta114514/flatto | 3e0fed5df42e963dd1383c77bbc8be75d4342e68 | [
"MIT"
] | null | null | null | from .__about__ import __version__
from .flatto import flatten
__all__ = [
__version__,
"flatten"
] | 13.625 | 34 | 0.715596 | 11 | 109 | 5.636364 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211009 | 109 | 8 | 35 | 13.625 | 0.72093 | 0 | 0 | 0 | 0 | 0 | 0.063636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d49bca40fffeb76e78a4f55ce9c6477e2415a92c | 6,081 | py | Python | src/domainClient/models/domain_search_service_v2_model_domain_search_contracts_v2_price_details.py | diabolical-ninja/smart-property-search | 0931c7c8195ec21cbd56768c9c84cea2927a9e1d | [
"MIT"
] | 5 | 2021-04-12T04:10:42.000Z | 2021-04-28T05:54:22.000Z | src/domainClient/models/domain_search_service_v2_model_domain_search_contracts_v2_price_details.py | diabolical-ninja/smart-property-search | 0931c7c8195ec21cbd56768c9c84cea2927a9e1d | [
"MIT"
] | 35 | 2020-05-26T14:21:37.000Z | 2022-03-29T16:14:42.000Z | src/domainClient/models/domain_search_service_v2_model_domain_search_contracts_v2_price_details.py | diabolical-ninja/smart-property-search | 0931c7c8195ec21cbd56768c9c84cea2927a9e1d | [
"MIT"
] | 2 | 2020-05-26T14:02:12.000Z | 2022-01-10T08:19:49.000Z | # coding: utf-8
"""
Domain Group API V1
Provides public access to Domain's microservices # noqa: E501
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pprint
import re # noqa: F401
import six
class DomainSearchServiceV2ModelDomainSearchC... | 31.345361 | 132 | 0.63756 | 606 | 6,081 | 6.217822 | 0.194719 | 0.045382 | 0.284501 | 0.226115 | 0.505308 | 0.416932 | 0.353769 | 0.348461 | 0.170648 | 0.098195 | 0 | 0.02155 | 0.282684 | 6,081 | 193 | 133 | 31.507772 | 0.842274 | 0.394343 | 0 | 0.068966 | 1 | 0 | 0.044473 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16092 | false | 0 | 0.034483 | 0 | 0.344828 | 0.022989 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d4c065fcf8aa39ba592c14e7c2e084fc2d4be65c | 1,997 | py | Python | kik_unofficial/protobuf/bridgetest/v1/authenticated_service_pb2.py | 3dik/kik-bot-api-unofficial | 78073fc8af50bf27b8c261533f9cde30f745412e | [
"MIT"
] | 120 | 2017-07-07T14:07:14.000Z | 2022-02-22T03:14:23.000Z | kik_unofficial/protobuf/bridgetest/v1/authenticated_service_pb2.py | TheGreatCodeholio/kik-bot-api-unofficial | c1f02b735dcb3e1d1b5e29a1ca04dd2f66557248 | [
"MIT"
] | 173 | 2017-07-07T04:31:19.000Z | 2021-11-20T02:59:20.000Z | kik_unofficial/protobuf/bridgetest/v1/authenticated_service_pb2.py | TheGreatCodeholio/kik-bot-api-unofficial | c1f02b735dcb3e1d1b5e29a1ca04dd2f66557248 | [
"MIT"
] | 101 | 2017-07-11T19:43:17.000Z | 2022-03-03T02:04:05.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: bridgetest/v1/authenticated_service.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf... | 55.472222 | 703 | 0.84026 | 267 | 1,997 | 6.044944 | 0.393258 | 0.104089 | 0.055762 | 0.074349 | 0.26456 | 0.153656 | 0.153656 | 0.153656 | 0.095415 | 0.095415 | 0 | 0.047644 | 0.054081 | 1,997 | 35 | 704 | 57.057143 | 0.806776 | 0.089634 | 0 | 0 | 1 | 0.1 | 0.475455 | 0.457805 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d4cc1f3b3dd7ccbbaf31286955b08b336c5c3430 | 15,792 | py | Python | MetaScreener/external_sw/mgltools/MGLToolsPckgs/AppFramework/ColorMaps/rwb256_map.py | bio-hpc/metascreener | 6900497629f601c4b6c0c37da26de58ffa221988 | [
"Apache-2.0"
] | 8 | 2021-12-14T21:30:01.000Z | 2022-02-14T11:30:03.000Z | MetaScreener/external_sw/mgltools/MGLToolsPckgs/AppFramework/ColorMaps/rwb256_map.py | bio-hpc/metascreener | 6900497629f601c4b6c0c37da26de58ffa221988 | [
"Apache-2.0"
] | null | null | null | MetaScreener/external_sw/mgltools/MGLToolsPckgs/AppFramework/ColorMaps/rwb256_map.py | bio-hpc/metascreener | 6900497629f601c4b6c0c37da26de58ffa221988 | [
"Apache-2.0"
] | null | null | null | from DejaVu.colorMap import ColorMap
from numpy import array
cm = ColorMap('rwb256')
cfg = {'name': 'rwb256', 'ramp': array([[ 1. , 0. , 0. , 1. ],
[ 0.00798478, 0.006 , 1. , 1. ],
[ 0.01297748, 0.011 , 1. , 1. ],
[ 0.02495463... | 60.505747 | 93 | 0.280648 | 1,555 | 15,792 | 2.850161 | 0.204502 | 0.11778 | 0.170578 | 0.00722 | 0.352211 | 0.002482 | 0.002482 | 0.002482 | 0.002482 | 0.002482 | 0 | 0.614783 | 0.554521 | 15,792 | 260 | 94 | 60.738462 | 0.01521 | 0 | 0 | 0.007692 | 0 | 0 | 0.001836 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007692 | 0 | 0.007692 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d4da2d225ec548a20e2c3ebe334a6e53fa2ab267 | 466 | py | Python | zeugs/test_compat.py | gradgrind/Zeugs | 56361a63f245ac15a8cd21c7316879dc944609db | [
"Apache-2.0"
] | null | null | null | zeugs/test_compat.py | gradgrind/Zeugs | 56361a63f245ac15a8cd21c7316879dc944609db | [
"Apache-2.0"
] | null | null | null | zeugs/test_compat.py | gradgrind/Zeugs | 56361a63f245ac15a8cd21c7316879dc944609db | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
test_compat.py
Last updated: 2019-09-27
"""
from wz_core.reporting import Report
from test_core import testinit, runTests
if __name__ == '__main__':
testinit ()
# from wz_compat import migrate
# runTests (migrate)
# from wz_compat import import_pup... | 16.642857 | 40 | 0.693133 | 61 | 466 | 5.016393 | 0.491803 | 0.098039 | 0.156863 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027174 | 0.2103 | 466 | 27 | 41 | 17.259259 | 0.804348 | 0.444206 | 0 | 0 | 0 | 0 | 0.03252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d4da4728baf44d511f8530c9557ed33df125b7b8 | 98 | py | Python | custom_auth/custom_login/apps.py | farhadmpr/DjangoMobileLogin | 8d1067dea428668a45bd48b6f7a32c7f7a3639d9 | [
"MIT"
] | null | null | null | custom_auth/custom_login/apps.py | farhadmpr/DjangoMobileLogin | 8d1067dea428668a45bd48b6f7a32c7f7a3639d9 | [
"MIT"
] | null | null | null | custom_auth/custom_login/apps.py | farhadmpr/DjangoMobileLogin | 8d1067dea428668a45bd48b6f7a32c7f7a3639d9 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CustomLoginConfig(AppConfig):
name = 'custom_login'
| 16.333333 | 35 | 0.77551 | 11 | 98 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 36 | 19.6 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d4e41964cc9f0b5f77f5d2b8239b061f17f6a34f | 258 | py | Python | selenium_browsermob/settings.py | sshevlyagin/selenium-aws-fargate-demo | 95764e2cc874a31cf326cacc8be4b80146da15d0 | [
"Apache-2.0"
] | 2 | 2020-10-11T04:54:39.000Z | 2021-03-02T18:43:07.000Z | selenium_exceptions/settings.py | sshevlyagin/selenium-aws-fargate-demo | 95764e2cc874a31cf326cacc8be4b80146da15d0 | [
"Apache-2.0"
] | null | null | null | selenium_exceptions/settings.py | sshevlyagin/selenium-aws-fargate-demo | 95764e2cc874a31cf326cacc8be4b80146da15d0 | [
"Apache-2.0"
] | null | null | null | class Config(object):
CHROME_PATH = '/Library/Application Support/Google/chromedriver76.0.3809.68'
BROWSERMOB_PATH = '/usr/local/bin/browsermob-proxy-2.1.4/bin/browsermob-proxy'
class Docker(Config):
CHROME_PATH = '/usr/local/bin/chromedriver'
| 32.25 | 82 | 0.748062 | 35 | 258 | 5.428571 | 0.657143 | 0.105263 | 0.126316 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052174 | 0.108527 | 258 | 7 | 83 | 36.857143 | 0.773913 | 0 | 0 | 0 | 0 | 0.2 | 0.562016 | 0.48062 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d4fb320ea473ec902177ab0875b121f2e54a3436 | 96 | py | Python | public/__init__.py | dscdtc/ApiTester | 7db88e5b1b8509d34ec5b95c761db194596abdab | [
"Apache-2.0"
] | null | null | null | public/__init__.py | dscdtc/ApiTester | 7db88e5b1b8509d34ec5b95c761db194596abdab | [
"Apache-2.0"
] | null | null | null | public/__init__.py | dscdtc/ApiTester | 7db88e5b1b8509d34ec5b95c761db194596abdab | [
"Apache-2.0"
] | null | null | null | __author__ = 'tsbc'
import send_email
import httprequest
import bar
import get_token
import log
| 13.714286 | 19 | 0.833333 | 14 | 96 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135417 | 96 | 6 | 20 | 16 | 0.891566 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 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 | 0 | 0 | 0 | 3 |
d4fbb244496b3271b3067d2aaf79d3705b9577b7 | 133 | py | Python | helper/reverse_example.py | jgraber/PythonFriday | 879f10934dc6949785e5a799bfc3ca9a2a4434d4 | [
"MIT"
] | 5 | 2021-02-22T08:39:55.000Z | 2022-03-14T03:54:36.000Z | helper/reverse_example.py | jgraber/PythonFriday | 879f10934dc6949785e5a799bfc3ca9a2a4434d4 | [
"MIT"
] | null | null | null | helper/reverse_example.py | jgraber/PythonFriday | 879f10934dc6949785e5a799bfc3ca9a2a4434d4 | [
"MIT"
] | null | null | null | numbers = [1, 2, 3, 4, 5]
for x in numbers:
print(x)
print("--------")
for x in reversed(numbers):
print(x)
print(numbers) | 13.3 | 27 | 0.56391 | 22 | 133 | 3.409091 | 0.5 | 0.106667 | 0.16 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048077 | 0.218045 | 133 | 10 | 28 | 13.3 | 0.673077 | 0 | 0 | 0.285714 | 0 | 0 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
be0820484dca250166e5caa16b10d2e638719b4c | 58 | py | Python | python/testData/codeInsight/controlflow/tryraisefinally.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/codeInsight/controlflow/tryraisefinally.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/codeInsight/controlflow/tryraisefinally.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | try:
raise KeyboardInterrupt
finally:
print 'test' | 14.5 | 27 | 0.706897 | 6 | 58 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224138 | 58 | 4 | 28 | 14.5 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
be1f9d9c745d2d1e2d294518281c54331025095c | 759 | py | Python | django_extended/fields/icon.py | dalou/django-extended | a7ba952ea7089cfb319b4615ae098579c9ab14f9 | [
"BSD-3-Clause"
] | 1 | 2015-12-14T17:16:04.000Z | 2015-12-14T17:16:04.000Z | django_extended/fields/icon.py | dalou/django-extended | a7ba952ea7089cfb319b4615ae098579c9ab14f9 | [
"BSD-3-Clause"
] | null | null | null | django_extended/fields/icon.py | dalou/django-extended | a7ba952ea7089cfb319b4615ae098579c9ab14f9 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from django.db import models
from django import forms
from django.utils.text import capfirst
from ..forms import IconField as IconFormField, IconInput
class IconField(models.CharField):
"""
A text field made to accept hexadecimal color value (#FFFFFF)
with a color picker widget.
... | 28.111111 | 72 | 0.693017 | 90 | 759 | 5.688889 | 0.577778 | 0.058594 | 0.070313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003257 | 0.191041 | 759 | 27 | 73 | 28.111111 | 0.830619 | 0.147563 | 0 | 0 | 0 | 0 | 0.08121 | 0.055732 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.0625 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
be2a105430933cdcb5f75242c3ed64e915d45126 | 2,963 | py | Python | enos/message/upstream/topo/SubDeviceInfo.py | charleshuangcai/enos-device-sdk-python | bbbb31f4da7c4c4e6f457565faf0fb5cf15bb308 | [
"MIT"
] | 5 | 2020-05-09T09:21:22.000Z | 2021-05-31T02:42:56.000Z | enos/message/upstream/topo/SubDeviceInfo.py | charleshuangcai/enos-device-sdk-python | bbbb31f4da7c4c4e6f457565faf0fb5cf15bb308 | [
"MIT"
] | 4 | 2020-04-18T03:28:09.000Z | 2021-05-28T09:41:05.000Z | enos/message/upstream/topo/SubDeviceInfo.py | charleshuangcai/enos-device-sdk-python | bbbb31f4da7c4c4e6f457565faf0fb5cf15bb308 | [
"MIT"
] | 7 | 2020-01-19T07:58:28.000Z | 2021-12-22T06:53:43.000Z | import time
from enos.core.util.Deprecation import deprecated
from enos.core.util.SignUtil import SignUtil
class SubDeviceInfo(object):
def __init__(self, product_key, device_key, device_secret, sign_method=SignUtil.DEFAULT_SIGN_METHOD):
self.__product_key = product_key
self.__device_key = device... | 28.219048 | 105 | 0.681741 | 363 | 2,963 | 5.146006 | 0.137741 | 0.107066 | 0.089936 | 0.061028 | 0.288544 | 0.101713 | 0.043897 | 0.043897 | 0.043897 | 0 | 0 | 0.001754 | 0.23051 | 2,963 | 104 | 106 | 28.490385 | 0.817544 | 0 | 0 | 0.230769 | 0 | 0 | 0.031725 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.282051 | false | 0 | 0.038462 | 0.205128 | 0.576923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
be2d25b687b4156fe75be371d8c1b622c87ef65d | 336 | py | Python | Python/263ugly_number.py | Apocrypse/LeetCode | 3ada2605ce8c8f6dadebf37a30c9c00a0d1ede39 | [
"MIT"
] | 4 | 2020-03-17T03:08:51.000Z | 2022-03-14T17:33:28.000Z | Python/263ugly_number.py | Apocrypse/LeetCode | 3ada2605ce8c8f6dadebf37a30c9c00a0d1ede39 | [
"MIT"
] | null | null | null | Python/263ugly_number.py | Apocrypse/LeetCode | 3ada2605ce8c8f6dadebf37a30c9c00a0d1ede39 | [
"MIT"
] | 3 | 2021-04-29T16:51:02.000Z | 2022-03-19T17:37:56.000Z | class Solution:
def isUgly(self, num):
"""
:type num: int
:rtype: bool
"""
while not num:
return False
while not (num % 2):
num //= 2
while not (num % 3):
num //= 3
while not (num % 5):
num //= 5
... | 21 | 28 | 0.380952 | 37 | 336 | 3.459459 | 0.486486 | 0.25 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041916 | 0.502976 | 336 | 15 | 29 | 22.4 | 0.724551 | 0.080357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
077567e14fef2df079a12737a88a46013ee2903e | 514 | py | Python | tests/anyorderlist.py | alexweav/nisystemlink-clients-python | f19a30907a7fef536043ecbddc5a755e5fedf846 | [
"MIT"
] | 8 | 2020-07-23T16:34:57.000Z | 2022-02-25T02:43:15.000Z | tests/anyorderlist.py | alexweav/nisystemlink-clients-python | f19a30907a7fef536043ecbddc5a755e5fedf846 | [
"MIT"
] | 6 | 2020-07-23T16:43:09.000Z | 2020-12-16T14:29:37.000Z | tests/anyorderlist.py | alexweav/nisystemlink-clients-python | f19a30907a7fef536043ecbddc5a755e5fedf846 | [
"MIT"
] | 6 | 2020-07-14T22:17:00.000Z | 2022-03-07T13:05:59.000Z | class AnyOrderList:
"""Sequence that compares to a list, but allows any order.
This is only intended for comparison purposes, not as an actual list replacement.
"""
def __init__(self, list_):
self._list = list_
self._list.sort()
def __eq__(self, other):
assert isinstance(o... | 25.7 | 85 | 0.638132 | 64 | 514 | 4.765625 | 0.578125 | 0.157377 | 0.078689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256809 | 514 | 19 | 86 | 27.052632 | 0.798429 | 0.268482 | 0 | 0 | 0 | 0 | 0.044321 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.363636 | false | 0 | 0 | 0.181818 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0783cf9c9bb1acdc46011084bd57292ce1d51efd | 2,272 | py | Python | tests/test_transport.py | mjmunger/PolyPyTools | 116014a47479f360ee73006d6ba3ddc7f362c7a1 | [
"MIT"
] | 7 | 2017-11-15T19:25:37.000Z | 2022-01-20T01:30:56.000Z | tests/test_transport.py | DrDamnit/PolyPyTools | 116014a47479f360ee73006d6ba3ddc7f362c7a1 | [
"MIT"
] | 40 | 2020-05-19T19:46:20.000Z | 2020-11-12T16:13:55.000Z | tests/test_transport.py | mjmunger/PolyPyTools | 116014a47479f360ee73006d6ba3ddc7f362c7a1 | [
"MIT"
] | null | null | null | import unittest
from unittest_data_provider import data_provider
from poly_py_tools.pjsip.transport import Transport
class TestTransport(unittest.TestCase):
provider_test_init = lambda :(
#section ... | 78.344828 | 1,266 | 0.701144 | 211 | 2,272 | 7.227488 | 0.43128 | 0.047213 | 0.020984 | 0.032787 | 0.617705 | 0.617705 | 0.617705 | 0.617705 | 0.617705 | 0.617705 | 0 | 0.032961 | 0.172095 | 2,272 | 28 | 1,267 | 81.142857 | 0.777778 | 0.090229 | 0 | 0 | 0 | 0 | 0.516457 | 0.227493 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.055556 | false | 0.055556 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0789e603f0ce40516024958644210541e9c18969 | 670 | py | Python | silica/transformations/replace_symbols.py | leonardt/fsm_dsl | 94bc277c7286c9587a8ad9d3a48fa021ba72686e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | silica/transformations/replace_symbols.py | leonardt/fsm_dsl | 94bc277c7286c9587a8ad9d3a48fa021ba72686e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | silica/transformations/replace_symbols.py | leonardt/fsm_dsl | 94bc277c7286c9587a8ad9d3a48fa021ba72686e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | import ast
from copy import deepcopy
class SymbolReplacer(ast.NodeTransformer):
def __init__(self, symbol_table, ctx):
self.symbol_table = symbol_table
self.ctx = ctx
def visit_Name(self, node):
if node.id in self.symbol_table:
if self.ctx is None:
new_node... | 30.454545 | 63 | 0.637313 | 87 | 670 | 4.712644 | 0.333333 | 0.214634 | 0.182927 | 0.112195 | 0.141463 | 0.141463 | 0 | 0 | 0 | 0 | 0 | 0 | 0.279104 | 670 | 21 | 64 | 31.904762 | 0.848861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176471 | false | 0 | 0.117647 | 0.058824 | 0.588235 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
079a512d48ec8f497c074a16bdd633bb33958246 | 190 | py | Python | rentomatic/repository/memrepo.py | danlgz/rentomatic | f5be1d19abb6a1b73ab9e80bf01217ebea645c3b | [
"MIT"
] | null | null | null | rentomatic/repository/memrepo.py | danlgz/rentomatic | f5be1d19abb6a1b73ab9e80bf01217ebea645c3b | [
"MIT"
] | null | null | null | rentomatic/repository/memrepo.py | danlgz/rentomatic | f5be1d19abb6a1b73ab9e80bf01217ebea645c3b | [
"MIT"
] | null | null | null | import dataclasses
from rentomatic.domain.room import Room
@dataclasses.dataclass
class MemRepo:
data: list
def list(self):
return [Room.from_dict(d) for d in self.data]
| 15.833333 | 53 | 0.715789 | 27 | 190 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205263 | 190 | 11 | 54 | 17.272727 | 0.89404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
07a1373c044d73837f4c5b57a7f55a0a689bd1be | 9,672 | py | Python | 15x15/play_alphazero_guerzhoy.py | jonah-chen/alphazero-guerzhoy | 9e45994d8fc687001bb98caefa2f89a7b4707ea1 | [
"MIT"
] | null | null | null | 15x15/play_alphazero_guerzhoy.py | jonah-chen/alphazero-guerzhoy | 9e45994d8fc687001bb98caefa2f89a7b4707ea1 | [
"MIT"
] | 2 | 2020-12-15T00:31:24.000Z | 2021-11-08T09:11:20.000Z | 15x15/play_alphazero_guerzhoy.py | jonah-chen/alphazero-guerzhoy | 9e45994d8fc687001bb98caefa2f89a7b4707ea1 | [
"MIT"
] | 1 | 2020-11-29T21:45:44.000Z | 2020-11-29T21:45:44.000Z | from tensorflow.keras.models import load_model
import numpy as np
from game import move_on_board, print_board
from mcts import optimized_search
from tkinter import Tk, Label, Button, DISABLED
from PIL import ImageTk, Image
from nptrain import is_win
root = Tk()
root.title("Play AlphaZero Guerzhoy")
GOOD_MODELS = [0,2... | 55.586207 | 3,876 | 0.645885 | 1,609 | 9,672 | 3.837787 | 0.093226 | 0.123077 | 0.108502 | 0.130202 | 0.724858 | 0.70915 | 0.692632 | 0.678381 | 0.678381 | 0.678381 | 0 | 0.073005 | 0.180004 | 9,672 | 173 | 3,877 | 55.907514 | 0.705586 | 0.030294 | 0 | 0.549618 | 0 | 0 | 0.068165 | 0.007277 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061069 | false | 0.007634 | 0.053435 | 0 | 0.19084 | 0.007634 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07de0e19e9d45a263adba742067b5e397607f7e4 | 338 | py | Python | test_track_qt_common.py | sosiax/track | 4988d2f1d7701f8b8cd6ca8f17d9d829a4dd712e | [
"Apache-2.0"
] | 50 | 2015-05-10T13:59:02.000Z | 2021-07-12T08:06:51.000Z | test_track_qt_common.py | sosiax/track | 4988d2f1d7701f8b8cd6ca8f17d9d829a4dd712e | [
"Apache-2.0"
] | 17 | 2015-04-29T10:49:51.000Z | 2019-07-31T12:50:56.000Z | test_track_qt_common.py | sosiax/track | 4988d2f1d7701f8b8cd6ca8f17d9d829a4dd712e | [
"Apache-2.0"
] | 11 | 2015-08-20T09:43:07.000Z | 2020-03-03T14:41:02.000Z | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
import track_qt
def test_change_emitter():
class mock:
pass
m = mock()
ce = track_qt.change_emitter(m)
def test_matrix_table_model():
mtm = track_qt.matrix_table_model(None)
if __name__ == '__main__':
test_change_emitter()
test_matrix_ta... | 16.9 | 43 | 0.662722 | 47 | 338 | 4.255319 | 0.574468 | 0.105 | 0.24 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007547 | 0.215976 | 338 | 19 | 44 | 17.789474 | 0.74717 | 0.127219 | 0 | 0 | 0 | 0 | 0.027397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0.090909 | 0.090909 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
07fdf4dbee9de73598b7b91945c4f065259d4fd7 | 121 | py | Python | .kodi/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/version.py | C6SUMMER/allinclusive-kodi-pi | 8baf247c79526849c640c6e56ca57a708a65bd11 | [
"Apache-2.0"
] | null | null | null | .kodi/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/version.py | C6SUMMER/allinclusive-kodi-pi | 8baf247c79526849c640c6e56ca57a708a65bd11 | [
"Apache-2.0"
] | null | null | null | .kodi/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/version.py | C6SUMMER/allinclusive-kodi-pi | 8baf247c79526849c640c6e56ca57a708a65bd11 | [
"Apache-2.0"
] | 2 | 2018-04-17T17:34:39.000Z | 2020-07-26T03:43:33.000Z | #Embedded file name: ACEStream\version.pyo
VERSION = '2.0.8.7'
VERSION_REV = '2191'
VERSION_DATE = '2013/03/28 18:36:41'
| 24.2 | 42 | 0.719008 | 22 | 121 | 3.863636 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205607 | 0.115702 | 121 | 4 | 43 | 30.25 | 0.588785 | 0.338843 | 0 | 0 | 0 | 0 | 0.379747 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07fe9de8d80eaf5b8dc7a19f4a9e3e737bcb2b2a | 138 | py | Python | credentials-sample.py | samuelcalegari/rocket-ldap-synchro | f0db5e0266764521dae09706864128f43b94ae5b | [
"MIT"
] | null | null | null | credentials-sample.py | samuelcalegari/rocket-ldap-synchro | f0db5e0266764521dae09706864128f43b94ae5b | [
"MIT"
] | null | null | null | credentials-sample.py | samuelcalegari/rocket-ldap-synchro | f0db5e0266764521dae09706864128f43b94ae5b | [
"MIT"
] | null | null | null | credentials = {
'ldap': {
'user': '',
'pass': ''
},
'rocket': {
'user': '',
'pass': ''
}
} | 13.8 | 19 | 0.268116 | 7 | 138 | 5.285714 | 0.714286 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.471014 | 138 | 10 | 20 | 13.8 | 0.506849 | 0 | 0 | 0.4 | 0 | 0 | 0.18705 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
6afab604e26816bd392cad4149058b638ad2b5cd | 46,730 | py | Python | cinder/tests/unit/test_solidfire.py | overcastcloud/cinder | ad977d456c5d50e992eee95ea40f4e3dd21981dc | [
"Apache-2.0"
] | null | null | null | cinder/tests/unit/test_solidfire.py | overcastcloud/cinder | ad977d456c5d50e992eee95ea40f4e3dd21981dc | [
"Apache-2.0"
] | null | null | null | cinder/tests/unit/test_solidfire.py | overcastcloud/cinder | ad977d456c5d50e992eee95ea40f4e3dd21981dc | [
"Apache-2.0"
] | null | null | null |
# Copyright 2012 OpenStack Foundation
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... | 47.345491 | 103 | 0.503895 | 4,079 | 46,730 | 5.472175 | 0.109831 | 0.030465 | 0.055777 | 0.062721 | 0.773666 | 0.730075 | 0.70297 | 0.676941 | 0.666637 | 0.645894 | 0 | 0.056263 | 0.399807 | 46,730 | 986 | 104 | 47.393509 | 0.73958 | 0.02446 | 0 | 0.67929 | 0 | 0 | 0.170175 | 0.049518 | 0 | 0 | 0 | 0 | 0.04142 | 1 | 0.060355 | false | 0.00355 | 0.014201 | 0.014201 | 0.110059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed12d273e9302bfaab622164962d813cc3d05935 | 3,237 | py | Python | pycache/Adapter/CacheItemPoolInterface.py | pycache-adaptor/pycache-adaptor | 62bf65a11999724424aff50c274b6fb9949cfa48 | [
"MIT"
] | 48 | 2016-06-20T18:12:02.000Z | 2018-12-11T05:59:20.000Z | pycache/Adapter/CacheItemPoolInterface.py | pycache-adaptor/pycache-adaptor | 62bf65a11999724424aff50c274b6fb9949cfa48 | [
"MIT"
] | 1 | 2016-06-21T21:36:23.000Z | 2016-06-22T16:03:35.000Z | pycache/Adapter/CacheItemPoolInterface.py | pycache-adaptor/pycache-adaptor | 62bf65a11999724424aff50c274b6fb9949cfa48 | [
"MIT"
] | 2 | 2016-06-21T11:42:02.000Z | 2018-07-20T14:17:53.000Z | # -*- coding: utf-8 -*-
"""CacheItemPoolInterface.
This module generates CacheItemInterface objects.
"""
from abc import ABCMeta, abstractmethod
class CacheItemPoolInterface():
__metaclass__ = ABCMeta
@abstractmethod
def get_item(self, key):
"""Returns a Cache Item representing the specified k... | 27.432203 | 110 | 0.636701 | 419 | 3,237 | 4.897375 | 0.312649 | 0.039474 | 0.071637 | 0.02729 | 0.297758 | 0.260721 | 0.260721 | 0.201267 | 0.169103 | 0.148148 | 0 | 0.000443 | 0.303367 | 3,237 | 117 | 111 | 27.666667 | 0.909534 | 0.679024 | 0 | 0.592593 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0.296296 | 0.037037 | 0 | 0.407407 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ed1ed4d49d095bbaa7b5460d4c77920236751871 | 216 | py | Python | Module1--- HelloWorld-variables and operators/Exercise_Solutions/Taxi_estimate.py | sunjeet-khokhar/Python_for_Testers | 156231f7d49566c62f9e227e5dbf4de6116148f4 | [
"Apache-2.0"
] | null | null | null | Module1--- HelloWorld-variables and operators/Exercise_Solutions/Taxi_estimate.py | sunjeet-khokhar/Python_for_Testers | 156231f7d49566c62f9e227e5dbf4de6116148f4 | [
"Apache-2.0"
] | null | null | null | Module1--- HelloWorld-variables and operators/Exercise_Solutions/Taxi_estimate.py | sunjeet-khokhar/Python_for_Testers | 156231f7d49566c62f9e227e5dbf4de6116148f4 | [
"Apache-2.0"
] | null | null | null | total_taxis = 100
size = 4
expected_customers = 120
size_without_driver = size - 1
number_of_cars_required = expected_customers/size_without_driver
print(f"number of cars required {number_of_cars_required}")
| 27 | 65 | 0.800926 | 32 | 216 | 5 | 0.53125 | 0.15 | 0.225 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 0.138889 | 216 | 7 | 66 | 30.857143 | 0.817204 | 0 | 0 | 0 | 0 | 0 | 0.235577 | 0.120192 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 3 |
ed2b6a0a4ab182633882eb149a2c8480e5c1c23c | 369 | py | Python | pyteleport/tests/_test_teleport_basic.py | pulkin/pyteleport | d0291486b82a6f21f9886f920428ccc9b0f36da4 | [
"BSD-2-Clause"
] | 9 | 2021-06-21T09:17:42.000Z | 2022-01-28T10:34:36.000Z | pyteleport/tests/_test_teleport_basic.py | pulkin/pyteleport | d0291486b82a6f21f9886f920428ccc9b0f36da4 | [
"BSD-2-Clause"
] | null | null | null | pyteleport/tests/_test_teleport_basic.py | pulkin/pyteleport | d0291486b82a6f21f9886f920428ccc9b0f36da4 | [
"BSD-2-Clause"
] | 1 | 2021-09-25T02:03:41.000Z | 2021-09-25T02:03:41.000Z | """
[True] hello
[True] vstack []
[True] bstack []
[False] vstack []
[False] bstack []
[False] world
"""
from pyteleport import tp_dummy
from pyteleport.tests.helpers import setup_verbose_logging, print_stack_here, print_, get_tp_args
setup_verbose_logging()
print_("hello")
print_stack_here(print_)
tp_dummy(**get_tp_... | 19.421053 | 97 | 0.761518 | 52 | 369 | 5 | 0.403846 | 0.115385 | 0.161538 | 0.219231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100271 | 369 | 18 | 98 | 20.5 | 0.783133 | 0.260163 | 0 | 0.25 | 0 | 0 | 0.037736 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
ed5ec70a9ecd5d7a92e5453279b397612f02b7cf | 137 | py | Python | credentials-example.py | Tylerlhess/SquawkerAPI | 218025666599ab648c035496b5987c0782844393 | [
"Apache-2.0"
] | null | null | null | credentials-example.py | Tylerlhess/SquawkerAPI | 218025666599ab648c035496b5987c0782844393 | [
"Apache-2.0"
] | 1 | 2022-01-31T07:19:33.000Z | 2022-01-31T07:19:33.000Z | credentials-example.py | Tylerlhess/SquawkerAPI | 218025666599ab648c035496b5987c0782844393 | [
"Apache-2.0"
] | null | null | null | # Set the following variables and rename to credentials.py
USER = RPC_USERNAME
PASSWORD = RPC_PASSWORD
SITE_SECRET_KEY = BYTE_STRING
| 15.222222 | 58 | 0.80292 | 20 | 137 | 5.25 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160584 | 137 | 8 | 59 | 17.125 | 0.913043 | 0.408759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ed798b1ddd755f86525c23ef0af5296fbfa0a2f0 | 12,702 | py | Python | ziggurat_foundations/migrations/versions/20671b28c538_change_all_linking_k.py | timgates42/ziggurat_foundations | 9eeec894d08e8d7defa60ddc04b63f69cd4cbeba | [
"BSD-3-Clause"
] | null | null | null | ziggurat_foundations/migrations/versions/20671b28c538_change_all_linking_k.py | timgates42/ziggurat_foundations | 9eeec894d08e8d7defa60ddc04b63f69cd4cbeba | [
"BSD-3-Clause"
] | null | null | null | ziggurat_foundations/migrations/versions/20671b28c538_change_all_linking_k.py | timgates42/ziggurat_foundations | 9eeec894d08e8d7defa60ddc04b63f69cd4cbeba | [
"BSD-3-Clause"
] | null | null | null | """change all linking keys from chars to id's
Revision ID: 20671b28c538
Revises: 4c10d97c509
Create Date: 2012-07-07 21:49:21.906150
"""
from __future__ import unicode_literals
import sqlalchemy as sa
from alembic import op
from alembic.context import get_context
from sqlalchemy.dialects.mysql.base import MySQLDiale... | 33.603175 | 88 | 0.608723 | 1,366 | 12,702 | 5.36896 | 0.090776 | 0.092719 | 0.060267 | 0.047723 | 0.826152 | 0.749932 | 0.700845 | 0.607445 | 0.561085 | 0.550177 | 0 | 0.00607 | 0.273736 | 12,702 | 377 | 89 | 33.692308 | 0.788943 | 0.031727 | 0 | 0.564565 | 0 | 0 | 0.174813 | 0.049283 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006006 | false | 0.003003 | 0.018018 | 0 | 0.024024 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed847a88d7fb5b50ea3ee85273b2b0f230a0f280 | 870 | py | Python | src/gino/__init__.py | fantix-org/gino | 3f52ff11a8a07192e60c2e015c8d4ba71bbf62ab | [
"BSD-3-Clause"
] | null | null | null | src/gino/__init__.py | fantix-org/gino | 3f52ff11a8a07192e60c2e015c8d4ba71bbf62ab | [
"BSD-3-Clause"
] | null | null | null | src/gino/__init__.py | fantix-org/gino | 3f52ff11a8a07192e60c2e015c8d4ba71bbf62ab | [
"BSD-3-Clause"
] | null | null | null | from .api import Gino # NOQA
from .bakery import Bakery
from .engine import GinoEngine, GinoConnection # NOQA
from .exceptions import * # NOQA
from .strategies import GinoStrategy # NOQA
def create_engine(*args, **kwargs):
"""
Shortcut for :func:`sqlalchemy.create_engine` with ``strategy="gino"``.
..... | 23.513514 | 82 | 0.690805 | 97 | 870 | 6.082474 | 0.463918 | 0.081356 | 0.054237 | 0.074576 | 0.115254 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002886 | 0.203448 | 870 | 36 | 83 | 24.166667 | 0.848485 | 0.289655 | 0 | 0.105263 | 0 | 0 | 0.02735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0.052632 | 0.473684 | 0 | 0.684211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
ed8bc1ae5df5a8aa08cd4084d9938df0e5978ae9 | 32,755 | py | Python | seleniumbase/fixtures/page_actions.py | tomejorge/SeleniumBase | e3e50bbd80594c52131b0d88ca3e2c2f7692e340 | [
"MIT"
] | 1 | 2021-05-12T14:27:31.000Z | 2021-05-12T14:27:31.000Z | seleniumbase/fixtures/page_actions.py | tomejorge/SeleniumBase | e3e50bbd80594c52131b0d88ca3e2c2f7692e340 | [
"MIT"
] | null | null | null | seleniumbase/fixtures/page_actions.py | tomejorge/SeleniumBase | e3e50bbd80594c52131b0d88ca3e2c2f7692e340 | [
"MIT"
] | null | null | null | """
This module contains a set of methods that can be used for page loads and
for waiting for elements to appear on a page.
These methods improve on and expand existing WebDriver commands.
Improvements include making WebDriver commands more robust and more reliable
by giving page elements enough time to load before ta... | 34.551688 | 79 | 0.627965 | 4,135 | 32,755 | 4.844256 | 0.068682 | 0.010733 | 0.024013 | 0.020269 | 0.764016 | 0.715441 | 0.697619 | 0.676551 | 0.642205 | 0.618841 | 0 | 0.013052 | 0.293574 | 32,755 | 947 | 80 | 34.588173 | 0.85263 | 0.3049 | 0 | 0.702572 | 0 | 0 | 0.059616 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045016 | false | 0.003215 | 0.030547 | 0 | 0.125402 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
71f112225e430f89dbed11977e7db13d07773874 | 127 | py | Python | pyclient/zeroos/orchestrator/client/EnumVdiskListItemType.py | 5l1v3r1/0-orchestrator | 9373a4acb1517ff001df526925c224a7a93b3274 | [
"Apache-2.0"
] | 3 | 2017-07-04T14:02:02.000Z | 2019-07-06T23:34:08.000Z | pyclient/zeroos/orchestrator/client/EnumVdiskListItemType.py | 5l1v3r1/0-orchestrator | 9373a4acb1517ff001df526925c224a7a93b3274 | [
"Apache-2.0"
] | 497 | 2017-05-31T07:55:40.000Z | 2018-01-03T12:10:43.000Z | pyclient/zeroos/orchestrator/client/EnumVdiskListItemType.py | zero-os/0-orchestrator | 9373a4acb1517ff001df526925c224a7a93b3274 | [
"Apache-2.0"
] | 8 | 2017-06-14T09:45:56.000Z | 2021-02-01T18:12:55.000Z | from enum import Enum
class EnumVdiskListItemType(Enum):
boot = "boot"
db = "db"
cache = "cache"
tmp = "tmp"
| 14.111111 | 34 | 0.598425 | 15 | 127 | 5.066667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283465 | 127 | 8 | 35 | 15.875 | 0.835165 | 0 | 0 | 0 | 0 | 0 | 0.110236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
71fdc48fd83dd29352fabe9175151e9532625eab | 17,437 | py | Python | salt/states/elasticsearch.py | ipmb/salt | 699912ef9cde28040378aa53d6c7a12d8af756b1 | [
"Apache-2.0"
] | null | null | null | salt/states/elasticsearch.py | ipmb/salt | 699912ef9cde28040378aa53d6c7a12d8af756b1 | [
"Apache-2.0"
] | null | null | null | salt/states/elasticsearch.py | ipmb/salt | 699912ef9cde28040378aa53d6c7a12d8af756b1 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
'''
State module to manage Elasticsearch.
.. versionadded:: 2017.7.0
'''
# Import python libs
from __future__ import absolute_import
import logging
# Import salt libs
import salt.utils.json
log = logging.getLogger(__name__)
def index_absent(name):
'''
Ensure that the named index is... | 35.952577 | 142 | 0.540919 | 1,839 | 17,437 | 4.990756 | 0.087548 | 0.065374 | 0.033559 | 0.029636 | 0.811615 | 0.768141 | 0.732186 | 0.643059 | 0.555786 | 0.483983 | 0 | 0.007065 | 0.334347 | 17,437 | 484 | 143 | 36.02686 | 0.783665 | 0.174055 | 0 | 0.654545 | 0 | 0 | 0.291086 | 0.050755 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036364 | false | 0 | 0.010909 | 0 | 0.083636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c0cd2882736e6f88623dfdace36a6bac2f42a57 | 73 | py | Python | as5env/lib/python3.6/site-packages/spacy/git_info.py | RasmusVestiH/RV_cds_language2 | dc548a00985d24affc0411cec2e471b4db2a95be | [
"MIT"
] | null | null | null | as5env/lib/python3.6/site-packages/spacy/git_info.py | RasmusVestiH/RV_cds_language2 | dc548a00985d24affc0411cec2e471b4db2a95be | [
"MIT"
] | null | null | null | as5env/lib/python3.6/site-packages/spacy/git_info.py | RasmusVestiH/RV_cds_language2 | dc548a00985d24affc0411cec2e471b4db2a95be | [
"MIT"
] | null | null | null | # THIS FILE IS GENERATED FROM SPACY SETUP.PY
#
GIT_VERSION = "53a3b967a"
| 18.25 | 44 | 0.753425 | 11 | 73 | 4.909091 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 0.164384 | 73 | 3 | 45 | 24.333333 | 0.786885 | 0.575342 | 0 | 0 | 1 | 0 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c116c0cfe166b65603db4c0c8f49ac81e14be05 | 375 | py | Python | mmtrack/models/trackers/__init__.py | BigBen0519/mmtracking | 61509b301ccbc2ab14f82a682b94c56f82ce09de | [
"Apache-2.0"
] | 2,226 | 2021-01-04T11:13:01.000Z | 2022-03-31T11:49:59.000Z | mmtrack/models/trackers/__init__.py | BigBen0519/mmtracking | 61509b301ccbc2ab14f82a682b94c56f82ce09de | [
"Apache-2.0"
] | 300 | 2021-01-04T11:36:59.000Z | 2022-03-31T07:48:28.000Z | mmtrack/models/trackers/__init__.py | BigBen0519/mmtracking | 61509b301ccbc2ab14f82a682b94c56f82ce09de | [
"Apache-2.0"
] | 333 | 2021-01-04T11:35:12.000Z | 2022-03-31T08:11:50.000Z | # Copyright (c) OpenMMLab. All rights reserved.
from .base_tracker import BaseTracker
from .byte_tracker import ByteTracker
from .masktrack_rcnn_tracker import MaskTrackRCNNTracker
from .sort_tracker import SortTracker
from .tracktor_tracker import TracktorTracker
__all__ = [
'BaseTracker', 'TracktorTracker', 'Sor... | 31.25 | 76 | 0.808 | 38 | 375 | 7.710526 | 0.526316 | 0.221843 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 375 | 11 | 77 | 34.090909 | 0.887879 | 0.12 | 0 | 0 | 0 | 0 | 0.207317 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.555556 | 0 | 0.555556 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9c16542570312b36a03dc73da8094fa1e73ef6d4 | 122 | py | Python | Exercicios/Mundo1/ex010.py | mpaullos/cursoemvideo-python | 80732626b6b5471ec7fea6dc01d83931e5cfd8fb | [
"MIT"
] | null | null | null | Exercicios/Mundo1/ex010.py | mpaullos/cursoemvideo-python | 80732626b6b5471ec7fea6dc01d83931e5cfd8fb | [
"MIT"
] | null | null | null | Exercicios/Mundo1/ex010.py | mpaullos/cursoemvideo-python | 80732626b6b5471ec7fea6dc01d83931e5cfd8fb | [
"MIT"
] | null | null | null | d = float (input ('Quanto dinheiro você tem na carteira? R$'))
print('Com {} você pode comprar U${:.2f}'.format(d,d/3.27)) | 61 | 62 | 0.655738 | 22 | 122 | 3.636364 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.131148 | 122 | 2 | 63 | 61 | 0.716981 | 0 | 0 | 0 | 0 | 0 | 0.593496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
9c2c736a9be3c0d9b90a3ca0de57f03feafd2cef | 497 | py | Python | openprocurement/auctions/dgf/views/financial/item.py | openprocurement/openprocurement.auctions.dgf | 87d8d5b674830f2f0954845637835b1dca6204bb | [
"Apache-2.0"
] | 2 | 2016-09-08T11:49:24.000Z | 2016-09-27T12:10:36.000Z | openprocurement/auctions/dgf/views/financial/item.py | openprocurement/openprocurement.auctions.dgf | 87d8d5b674830f2f0954845637835b1dca6204bb | [
"Apache-2.0"
] | 88 | 2016-09-19T08:27:53.000Z | 2022-03-21T22:16:22.000Z | openprocurement/auctions/dgf/views/financial/item.py | openprocurement/openprocurement.auctions.dgf | 87d8d5b674830f2f0954845637835b1dca6204bb | [
"Apache-2.0"
] | 15 | 2016-09-08T08:42:42.000Z | 2020-02-07T11:09:37.000Z | # -*- coding: utf-8 -*-
from openprocurement.auctions.core.utils import opresource
from openprocurement.auctions.core.endpoints import ENDPOINTS
from openprocurement.auctions.dgf.views.other.item import AuctionItemResource
@opresource(
name='dgfFinancialAssets:Auction Items',
collection_path=ENDPOINTS['items'... | 33.133333 | 77 | 0.790744 | 47 | 497 | 8.340426 | 0.553191 | 0.145408 | 0.206633 | 0.158163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002257 | 0.108652 | 497 | 14 | 78 | 35.5 | 0.882619 | 0.042254 | 0 | 0 | 0 | 0 | 0.151899 | 0.054852 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.090909 | 0.272727 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
9c41e54a79278a4ccec49ba7af45daa9cca6270c | 84 | py | Python | HW8_task8.py | DaniilBaldin/Hillel_learning | 49748cebd7d15f04942b40de54cc563e313649fe | [
"MIT"
] | null | null | null | HW8_task8.py | DaniilBaldin/Hillel_learning | 49748cebd7d15f04942b40de54cc563e313649fe | [
"MIT"
] | null | null | null | HW8_task8.py | DaniilBaldin/Hillel_learning | 49748cebd7d15f04942b40de54cc563e313649fe | [
"MIT"
] | null | null | null | test_list = [1, 2, 5, 7, 9, 11]
for i in reversed(test_list):
print(i, end=' ')
| 21 | 31 | 0.571429 | 17 | 84 | 2.705882 | 0.823529 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 0.22619 | 84 | 3 | 32 | 28 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c4f25425523b0cf0f0faca3a17550251aa54960 | 600 | py | Python | xiaomirouter/status/mem.py | RiRomain/python-xiaomi-router | 36867d077349a70678db75cf261428cdd80a0c51 | [
"MIT"
] | null | null | null | xiaomirouter/status/mem.py | RiRomain/python-xiaomi-router | 36867d077349a70678db75cf261428cdd80a0c51 | [
"MIT"
] | null | null | null | xiaomirouter/status/mem.py | RiRomain/python-xiaomi-router | 36867d077349a70678db75cf261428cdd80a0c51 | [
"MIT"
] | null | null | null | """ Router memory information """
class Mem(object):
""" Router memory information """
def __init__(self, usage, total, hz, type):
self._usage = usage
self._total = total
self._hz = hz
self._type = type
def get_usage(self):
return self._usage
def get_total(se... | 20.689655 | 74 | 0.601667 | 77 | 600 | 4.376623 | 0.246753 | 0.133531 | 0.166172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.281667 | 600 | 28 | 75 | 21.428571 | 0.781903 | 0.086667 | 0 | 0 | 0 | 0 | 0.029963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0 | 0.294118 | 0.705882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9c55abd041bde87f843c534075f667ce454b3386 | 362 | py | Python | euclidean.py | smarsu/facenet | a0fa3ffe32e295b4cc980a4a178593cc7f1bad12 | [
"MIT"
] | null | null | null | euclidean.py | smarsu/facenet | a0fa3ffe32e295b4cc980a4a178593cc7f1bad12 | [
"MIT"
] | null | null | null | euclidean.py | smarsu/facenet | a0fa3ffe32e295b4cc980a4a178593cc7f1bad12 | [
"MIT"
] | null | null | null | # --------------------------------------------------------
# FaceNet Datasets
# Licensed under The MIT License [see LICENSE for details]
# Copyright 2019 smarsu. All Rights Reserved.
# --------------------------------------------------------
import numpy as np
def euclidean_distance(a, b):
""""""
... | 27.846154 | 59 | 0.447514 | 35 | 362 | 4.6 | 0.828571 | 0.024845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013201 | 0.162983 | 362 | 12 | 60 | 30.166667 | 0.518152 | 0.638122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9c82b8151b330bf8d38d148adbcbee9af3abba01 | 120 | py | Python | exercise025.py | AlissonRaphael/python_exercises | 3f1185c4f2fff24c9fa2ffd6b60f90599044c985 | [
"MIT"
] | null | null | null | exercise025.py | AlissonRaphael/python_exercises | 3f1185c4f2fff24c9fa2ffd6b60f90599044c985 | [
"MIT"
] | null | null | null | exercise025.py | AlissonRaphael/python_exercises | 3f1185c4f2fff24c9fa2ffd6b60f90599044c985 | [
"MIT"
] | null | null | null | nome = input('Qual é o seu nome completo: ')
print('Seu nome tem Silva? {}.'.format(nome.lower().find('silva') != -1))
| 30 | 73 | 0.625 | 19 | 120 | 3.947368 | 0.736842 | 0.186667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.141667 | 120 | 3 | 74 | 40 | 0.718447 | 0 | 0 | 0 | 0 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
92c5f1e99adfc26f737aa447b2474912686d166c | 50 | py | Python | 01_Language/05_Python/tests/module_/c/__init__.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 3 | 2020-06-28T07:42:51.000Z | 2021-01-15T10:32:11.000Z | 01_Language/05_Python/tests/module_/c/__init__.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 9 | 2021-03-10T22:45:40.000Z | 2022-02-27T06:53:20.000Z | 01_Language/05_Python/tests/module_/c/__init__.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 1 | 2021-01-15T10:51:24.000Z | 2021-01-15T10:51:24.000Z | # coding: utf-8
__all__ = ['c']
from . import *
| 8.333333 | 15 | 0.56 | 7 | 50 | 3.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.24 | 50 | 5 | 16 | 10 | 0.605263 | 0.26 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
92c778776510170a4c44b0c22806f8d1db24d536 | 1,859 | py | Python | clockIn/clockIn_action.py | wd665544/bupt-clockIn | 8956646d2c19ef75e6106fe1594c43d2b32768b4 | [
"MIT"
] | 4 | 2021-10-02T04:27:35.000Z | 2022-01-07T04:25:04.000Z | clockIn/clockIn_action.py | wd665544/bupt-clockIn | 8956646d2c19ef75e6106fe1594c43d2b32768b4 | [
"MIT"
] | null | null | null | clockIn/clockIn_action.py | wd665544/bupt-clockIn | 8956646d2c19ef75e6106fe1594c43d2b32768b4 | [
"MIT"
] | 11 | 2021-11-25T03:57:31.000Z | 2022-03-31T15:37:32.000Z | import json
import os
import time
from datetime import datetime
import pytz
import req_model
def main():
tz = pytz.timezone('Asia/Shanghai')
data = json.loads(os.environ['DATA'])
for item in data:
for i in range(3):
time.sleep(i * 5)
print("now {} clock in {}:".format(ite... | 41.311111 | 119 | 0.465304 | 196 | 1,859 | 4.331633 | 0.270408 | 0.074205 | 0.190813 | 0.212014 | 0.507656 | 0.489988 | 0.489988 | 0.489988 | 0.489988 | 0.489988 | 0 | 0.001664 | 0.353416 | 1,859 | 44 | 120 | 42.25 | 0.704659 | 0 | 0 | 0.435897 | 0 | 0 | 0.104357 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0.076923 | 0.153846 | 0 | 0.179487 | 0.128205 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
92e66ca6fc483f8758d84fa0c1d58a72ae27b5fb | 2,358 | py | Python | dev/local/data/source.py | erikgaas/fastai_dev | cbd2166fd639365068c337b5b71d9feaf9523dd4 | [
"Apache-2.0"
] | null | null | null | dev/local/data/source.py | erikgaas/fastai_dev | cbd2166fd639365068c337b5b71d9feaf9523dd4 | [
"Apache-2.0"
] | null | null | null | dev/local/data/source.py | erikgaas/fastai_dev | cbd2166fd639365068c337b5b71d9feaf9523dd4 | [
"Apache-2.0"
] | null | null | null | #AUTOGENERATED! DO NOT EDIT! File to edit: dev/06_data_source.ipynb (unless otherwise specified).
__all__ = ['DataSource']
from ..imports import *
from ..test import *
from ..core import *
from .core import *
from .transform import *
from .pipeline import *
from ..notebook.showdoc import show_doc
def _mk_subset(self... | 40.655172 | 97 | 0.658609 | 366 | 2,358 | 4.046448 | 0.31694 | 0.023633 | 0.037137 | 0.026334 | 0.199865 | 0.147198 | 0.147198 | 0.147198 | 0.147198 | 0.147198 | 0 | 0.00478 | 0.201442 | 2,358 | 58 | 98 | 40.655172 | 0.781731 | 0.108991 | 0 | 0.177778 | 1 | 0 | 0.068345 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 1 | 0.222222 | false | 0 | 0.155556 | 0.088889 | 0.511111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
130722b8855c804cc81295f51aa08443b7a05b4e | 279 | py | Python | introduction-to-python/numpy/script_01.py | nhutnamhcmus/datacamp-playground | 25457e813b1145e1d335562286715eeddd1c1a7b | [
"MIT"
] | 1 | 2021-05-08T11:09:27.000Z | 2021-05-08T11:09:27.000Z | introduction-to-python/numpy/script_01.py | nhutnamhcmus/datacamp-playground | 25457e813b1145e1d335562286715eeddd1c1a7b | [
"MIT"
] | 1 | 2022-03-12T15:42:14.000Z | 2022-03-12T15:42:14.000Z | introduction-to-python/numpy/script_01.py | nhutnamhcmus/datacamp-playground | 25457e813b1145e1d335562286715eeddd1c1a7b | [
"MIT"
] | 1 | 2021-04-30T18:24:19.000Z | 2021-04-30T18:24:19.000Z | # Create list baseball
baseball = [180, 215, 210, 210, 188, 176, 209, 200]
# Import the numpy package as np
import numpy as np
# Create a numpy array from baseball: np_baseball
np_baseball = np.array(baseball)
# Print out type of np_baseball
print(type(np_baseball)) | 25.363636 | 52 | 0.72043 | 45 | 279 | 4.377778 | 0.511111 | 0.203046 | 0.182741 | 0.203046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0.197133 | 279 | 11 | 53 | 25.363636 | 0.772321 | 0.462366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13250f0b102ecfa4cecd316b2ae4d3baf367a558 | 21,319 | py | Python | sdk/python/pulumi_azure_native/network/v20171101/connection_monitor.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/network/v20171101/connection_monitor.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/network/v20171101/connection_monitor.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | 53.2975 | 4,166 | 0.690839 | 2,281 | 21,319 | 6.176677 | 0.085927 | 0.056995 | 0.060686 | 0.080914 | 0.76542 | 0.715239 | 0.663141 | 0.3842 | 0.35368 | 0.29633 | 0 | 0.026538 | 0.199306 | 21,319 | 399 | 4,167 | 53.431078 | 0.798828 | 0.168254 | 0 | 0.41502 | 1 | 0 | 0.268514 | 0.211203 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142292 | false | 0.003953 | 0.027668 | 0.003953 | 0.264822 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1336edda11f2e6385bf9d207e48901123afd0985 | 341 | py | Python | setup.py | rickynilsson/astroquery | b7edec0d8e36b11c25baa39ad72e4160bc30d465 | [
"BSD-3-Clause"
] | 577 | 2015-02-12T18:23:49.000Z | 2022-03-22T21:38:58.000Z | setup.py | rickynilsson/astroquery | b7edec0d8e36b11c25baa39ad72e4160bc30d465 | [
"BSD-3-Clause"
] | 1,812 | 2015-01-01T08:02:20.000Z | 2022-03-31T13:03:52.000Z | setup.py | rickynilsson/astroquery | b7edec0d8e36b11c25baa39ad72e4160bc30d465 | [
"BSD-3-Clause"
] | 322 | 2015-02-23T19:31:29.000Z | 2022-03-25T18:51:30.000Z | #!/usr/bin/env python
# Licensed under a 3-clause BSD style license - see LICENSE.rst
import os
import sys
# Workaround for https://github.com/pypa/pip/issues/6163
sys.path.insert(0, os.path.dirname(__file__))
import ah_bootstrap
import builtins
builtins._ASTROPY_SETUP_ = True
from astropy_helpers.setup_helpers i... | 17.947368 | 63 | 0.782991 | 53 | 341 | 4.849057 | 0.735849 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020067 | 0.123167 | 341 | 18 | 64 | 18.944444 | 0.839465 | 0.40176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
13398920ac4247964b70b8b29ada888f2c68d744 | 1,139 | py | Python | abc/abc087/abc087d-2.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | 1 | 2019-08-21T00:49:34.000Z | 2019-08-21T00:49:34.000Z | abc/abc087/abc087d-2.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | null | null | null | abc/abc087/abc087d-2.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | null | null | null | # Union Find 木
from sys import setrecursionlimit, stdin
def find(parent, diff_weight, i):
t = parent[i]
if t < 0:
return i
t = find(parent, diff_weight, t)
diff_weight[i] += diff_weight[parent[i]]
parent[i] = t
return t
def weight(parent, diff_weight, i):
find(parent, diff_weight... | 23.244898 | 80 | 0.584723 | 178 | 1,139 | 3.629213 | 0.230337 | 0.294118 | 0.346749 | 0.216718 | 0.442724 | 0.068111 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.262511 | 1,139 | 48 | 81 | 23.729167 | 0.759524 | 0.010536 | 0 | 0 | 0 | 0 | 0.004444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081081 | false | 0 | 0.027027 | 0 | 0.216216 | 0.054054 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
133c2774be187b372c083d7d040764b04418d113 | 391 | py | Python | tests/peeringdb_mock/resource.py | peeringdb/django-peeringdb | 4b14fb5e9fecaf2fa6e6996e334a8d211be9604d | [
"Apache-2.0"
] | 22 | 2015-11-10T04:55:42.000Z | 2022-03-16T19:23:20.000Z | tests/peeringdb_mock/resource.py | pigen00/django-peeringdb | b4cd86d6700f1d85d3f39f672184c347edbfb45c | [
"Apache-2.0"
] | 65 | 2016-03-21T12:29:52.000Z | 2022-03-04T13:37:57.000Z | tests/peeringdb_mock/resource.py | pigen00/django-peeringdb | b4cd86d6700f1d85d3f39f672184c347edbfb45c | [
"Apache-2.0"
] | 21 | 2016-03-09T02:40:49.000Z | 2022-02-26T21:10:12.000Z | # mock resource classes from peeringdb-py client
class Organization:
pass
class Facility:
pass
class Network:
pass
class InternetExchange:
pass
class InternetExchangeFacility:
pass
class InternetExchangeLan:
pass
class InternetExchangeLanPrefix:
pass
class NetworkFacility:
... | 9.309524 | 48 | 0.721228 | 37 | 391 | 7.621622 | 0.513514 | 0.287234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248082 | 391 | 41 | 49 | 9.536585 | 0.959184 | 0.117647 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
135c39a34ccbd6bf78217806473799d138968e19 | 16,481 | py | Python | pysnmp/HP-ICF-VRRP-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/HP-ICF-VRRP-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/HP-ICF-VRRP-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module HP-ICF-VRRP-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HP-ICF-VRRP-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 19:23:26 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27... | 120.29927 | 2,097 | 0.738972 | 1,943 | 16,481 | 6.267113 | 0.10911 | 0.029892 | 0.036955 | 0.049273 | 0.425064 | 0.355917 | 0.327831 | 0.320604 | 0.284389 | 0.284389 | 0 | 0.087198 | 0.091924 | 16,481 | 136 | 2,098 | 121.183824 | 0.726447 | 0.019659 | 0 | 0.132231 | 0 | 0 | 0.199158 | 0.03245 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.099174 | 0.082645 | 0 | 0.082645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
135e814673c97e680e81eb4e69c804ca6704248d | 329 | py | Python | Lib/site-packages/notebook/tests/conftest.py | edupyter/EDUPYTER38 | 396183cea72987506f1ef647c0272a2577c56218 | [
"bzip2-1.0.6"
] | null | null | null | Lib/site-packages/notebook/tests/conftest.py | edupyter/EDUPYTER38 | 396183cea72987506f1ef647c0272a2577c56218 | [
"bzip2-1.0.6"
] | null | null | null | Lib/site-packages/notebook/tests/conftest.py | edupyter/EDUPYTER38 | 396183cea72987506f1ef647c0272a2577c56218 | [
"bzip2-1.0.6"
] | null | null | null | def pytest_addoption(parser):
parser.addoption('--integration_tests', action='store_true', dest="integration_tests",
default=False, help="enable integration tests")
def pytest_configure(config):
if not config.option.integration_tests:
setattr(config.option, 'markexpr', 'not integration... | 41.125 | 90 | 0.723404 | 37 | 329 | 6.243243 | 0.567568 | 0.34632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158055 | 329 | 7 | 91 | 47 | 0.833935 | 0 | 0 | 0 | 0 | 0 | 0.300912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1363b543532febcd8b12862ed1ffcd51867ffc1d | 176 | py | Python | src/apps/home/apps.py | avibn/todovib | 4052da86e27825c60be618e986c2c16a23002e3c | [
"MIT"
] | 8 | 2021-06-27T10:39:36.000Z | 2022-01-22T19:47:35.000Z | src/apps/home/apps.py | avibn/todovib | 4052da86e27825c60be618e986c2c16a23002e3c | [
"MIT"
] | null | null | null | src/apps/home/apps.py | avibn/todovib | 4052da86e27825c60be618e986c2c16a23002e3c | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class HomeConfig(AppConfig):
name = "src.apps.home"
verbose_name = "Home"
default_auto_field = "django.db.models.BigAutoField"
| 19.555556 | 56 | 0.727273 | 22 | 176 | 5.681818 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 176 | 8 | 57 | 22 | 0.856164 | 0 | 0 | 0 | 0 | 0 | 0.261364 | 0.164773 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1385979e44a8280c9e59c8a7cf1fb4dd1769b326 | 108,575 | py | Python | bigquery_datatransfer/google/cloud/bigquery_datatransfer_v1/proto/datatransfer_pb2.py | nielm/google-cloud-python | fd126fdea34206109eb00d675374ff7dc4dcc5ef | [
"Apache-2.0"
] | 1 | 2019-06-14T10:11:59.000Z | 2019-06-14T10:11:59.000Z | bigquery_datatransfer/google/cloud/bigquery_datatransfer_v1/proto/datatransfer_pb2.py | nielm/google-cloud-python | fd126fdea34206109eb00d675374ff7dc4dcc5ef | [
"Apache-2.0"
] | 1 | 2018-04-06T19:51:23.000Z | 2018-04-06T19:51:23.000Z | bigquery_datatransfer/google/cloud/bigquery_datatransfer_v1/proto/datatransfer_pb2.py | nielm/google-cloud-python | fd126fdea34206109eb00d675374ff7dc4dcc5ef | [
"Apache-2.0"
] | 1 | 2020-04-14T10:47:41.000Z | 2020-04-14T10:47:41.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/bigquery/datatransfer_v1/proto/datatransfer.proto
import sys
_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _... | 38.20373 | 10,536 | 0.647442 | 11,103 | 108,575 | 6.085743 | 0.071422 | 0.03102 | 0.077697 | 0.095427 | 0.711544 | 0.669676 | 0.614518 | 0.582699 | 0.500799 | 0.472221 | 0 | 0.037559 | 0.256744 | 108,575 | 2,841 | 10,537 | 38.217177 | 0.79975 | 0.021257 | 0 | 0.713224 | 1 | 0.004829 | 0.362421 | 0.214823 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004458 | 0 | 0.004458 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13a38c16f3079a0534ef8856454f22bf982b480d | 275 | py | Python | sanalberto/models/__init__.py | xJavii8/dafi-system | 6f4a3f77c40424a0c1d7c80236f0bf52be4304d2 | [
"MIT"
] | 7 | 2019-08-03T12:25:18.000Z | 2021-11-02T12:51:33.000Z | sanalberto/models/__init__.py | xJavii8/dafi-system | 6f4a3f77c40424a0c1d7c80236f0bf52be4304d2 | [
"MIT"
] | 11 | 2019-08-20T17:07:37.000Z | 2021-11-23T14:26:07.000Z | sanalberto/models/__init__.py | xJavii8/dafi-system | 6f4a3f77c40424a0c1d7c80236f0bf52be4304d2 | [
"MIT"
] | 4 | 2020-04-06T11:33:02.000Z | 2021-10-31T09:10:53.000Z | from .activities import (
Activity,
ActivityRegistration,
)
from .event import Event
from .polls import (
Poll,
PollDesign,
PollVote,
)
__all__ = [
"Activity",
"ActivityRegistration",
"Event",
"Poll",
"PollDesign",
"PollVote",
]
| 13.095238 | 27 | 0.607273 | 22 | 275 | 7.409091 | 0.5 | 0.343558 | 0.269939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 275 | 20 | 28 | 13.75 | 0.815 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13a39a198bb1ac7e5168dace2872149ebb01c8f5 | 244 | py | Python | recipes/Python/577509_Flattening_lists/recipe-577509.py | tdiprima/code | 61a74f5f93da087d27c70b2efe779ac6bd2a3b4f | [
"MIT"
] | 2,023 | 2017-07-29T09:34:46.000Z | 2022-03-24T08:00:45.000Z | recipes/Python/577509_Flattening_lists/recipe-577509.py | unhacker/code | 73b09edc1b9850c557a79296655f140ce5e853db | [
"MIT"
] | 32 | 2017-09-02T17:20:08.000Z | 2022-02-11T17:49:37.000Z | recipes/Python/577509_Flattening_lists/recipe-577509.py | unhacker/code | 73b09edc1b9850c557a79296655f140ce5e853db | [
"MIT"
] | 780 | 2017-07-28T19:23:28.000Z | 2022-03-25T20:39:41.000Z | def flatten(lst):
if lst:
car,*cdr=lst
if isinstance(car,(list,tuple)):
if cdr: return flatten(car) + flatten(cdr)
return flatten(car)
if cdr: return [car] + flatten(cdr)
return [car]
| 27.111111 | 54 | 0.536885 | 31 | 244 | 4.225806 | 0.322581 | 0.274809 | 0.167939 | 0.290076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.340164 | 244 | 8 | 55 | 30.5 | 0.813665 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13a557c23a1c493e9bfae90f7c32b2452bfd2e9c | 669 | py | Python | hessen/__init__.py | risklayer/corona-landkreis-crawler | 2e82448ff614240365de9493eafa0e6a620ac615 | [
"Unlicense"
] | 12 | 2022-02-23T11:06:06.000Z | 2022-03-04T17:21:44.000Z | hessen/__init__.py | risklayer/corona-landkreis-crawler | 2e82448ff614240365de9493eafa0e6a620ac615 | [
"Unlicense"
] | null | null | null | hessen/__init__.py | risklayer/corona-landkreis-crawler | 2e82448ff614240365de9493eafa0e6a620ac615 | [
"Unlicense"
] | null | null | null | from .dadi import dadi
from .frankfurt import frankfurt
from .giessen import giessen
from .grossgerau import grossgerau
from .hersfeld import hersfeld
from .hochtaunus import hochtaunus
from .kassel import kassel
from .lahndill import lahndill
from .limburg import limburg
from .mainkinzig import mainkinzig
from .marbur... | 30.409091 | 40 | 0.843049 | 84 | 669 | 6.714286 | 0.27381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125561 | 669 | 21 | 41 | 31.857143 | 0.964103 | 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 | 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 | 3 |
13c55ea8c12744073568ef48ad7a056d5a069440 | 333 | py | Python | server/track_statistic_aggregation/micro_track_statistics/app.py | ndjuric93/MusicOrganizer | ef2e50abfeb1629325274b260f654935fd3f2740 | [
"Apache-2.0"
] | 1 | 2019-09-13T18:05:27.000Z | 2019-09-13T18:05:27.000Z | server/track_statistic_aggregation/micro_track_statistics/app.py | ndjuric93/MusicOrganizer | ef2e50abfeb1629325274b260f654935fd3f2740 | [
"Apache-2.0"
] | 5 | 2021-03-09T00:49:53.000Z | 2022-02-17T20:03:16.000Z | server/track_statistic_aggregation/micro_track_statistics/app.py | ndjuric93/MusicOrganizer | ef2e50abfeb1629325274b260f654935fd3f2740 | [
"Apache-2.0"
] | null | null | null | """ Flask application """
from micro_track_statistics import create_app
from micro_track_statistics.config import SERVER_CONFIG
SERVICE_NAME = 'MicroTrackStatistics'
if __name__ == '__main__':
app = create_app(name=SERVICE_NAME, **SERVER_CONFIG)
app.run(host=SERVER_CONFIG['host'], port=SERVER_CONFIG['port'],... | 30.272727 | 79 | 0.774775 | 43 | 333 | 5.534884 | 0.488372 | 0.201681 | 0.117647 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 333 | 10 | 80 | 33.3 | 0.804054 | 0.051051 | 0 | 0 | 0 | 0 | 0.116883 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b917b44f3cb0b6e7c2becb21749be616d8105c51 | 160 | py | Python | anuvaad-etl/anuvaad-nmt-models-fetch/src/utilities/app_context.py | ManavTriesStuff/anuvaad | 6993e3ac78818c171c173ccf8acf962ff57856a4 | [
"MIT"
] | 15 | 2021-01-08T08:42:30.000Z | 2022-03-12T17:52:15.000Z | anuvaad-etl/anuvaad-nmt-models-fetch/src/utilities/app_context.py | ManavTriesStuff/anuvaad | 6993e3ac78818c171c173ccf8acf962ff57856a4 | [
"MIT"
] | 16 | 2021-01-21T01:38:51.000Z | 2022-01-20T08:59:52.000Z | anuvaad-etl/anuvaad-nmt-models-fetch/src/utilities/app_context.py | ManavTriesStuff/anuvaad | 6993e3ac78818c171c173ccf8acf962ff57856a4 | [
"MIT"
] | 25 | 2020-08-26T11:25:38.000Z | 2022-03-29T04:40:21.000Z | MODULE_CONTEXT = {'metadata':{'module':'ANUVAAD-NMT-MODELS'}}
def init():
global app_context
app_context = {
'application_context' : None
} | 22.857143 | 61 | 0.6375 | 17 | 160 | 5.764706 | 0.705882 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2125 | 160 | 7 | 62 | 22.857143 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.31677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b95ac92d737ddca479e0436400b7a98edef75251 | 1,529 | py | Python | lib/coginvasion/base/ToontownIntervals.py | theclashingfritz/Cog-Invasion-Online-Dump | 2561abbacb3e2e288e06f3f04b935b5ed589c8f8 | [
"Apache-2.0"
] | 1 | 2020-03-12T16:44:10.000Z | 2020-03-12T16:44:10.000Z | lib/coginvasion/base/ToontownIntervals.py | theclashingfritz/Cog-Invasion-Online-Dump | 2561abbacb3e2e288e06f3f04b935b5ed589c8f8 | [
"Apache-2.0"
] | null | null | null | lib/coginvasion/base/ToontownIntervals.py | theclashingfritz/Cog-Invasion-Online-Dump | 2561abbacb3e2e288e06f3f04b935b5ed589c8f8 | [
"Apache-2.0"
] | null | null | null | # uncompyle6 version 3.2.4
# Python bytecode 2.7 (62211)
# Decompiled from: Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)]
# Embedded file name: lib.coginvasion.base.ToontownIntervals
from direct.interval.MetaInterval import Sequence
from direct.interval.FunctionInterval import Wa... | 37.292683 | 189 | 0.742969 | 212 | 1,529 | 5.292453 | 0.377358 | 0.049911 | 0.049911 | 0.039216 | 0.231729 | 0.185383 | 0.185383 | 0.185383 | 0.185383 | 0.185383 | 0 | 0.050898 | 0.126226 | 1,529 | 41 | 189 | 37.292683 | 0.788922 | 0.139961 | 0 | 0.166667 | 0 | 0 | 0.016781 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.291667 | false | 0 | 0.083333 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b964fef96d4df4b12576879746c7599001c2af8b | 112 | py | Python | seed_stage_based_messaging/__init__.py | praekeltfoundation/seed-stage-based-messaging | c1d39601c0d16fb32cebe7c2e288076c1dc4225b | [
"BSD-3-Clause"
] | 1 | 2017-08-17T14:17:53.000Z | 2017-08-17T14:17:53.000Z | seed_stage_based_messaging/__init__.py | praekelt/seed-stage-based-messaging | c1d39601c0d16fb32cebe7c2e288076c1dc4225b | [
"BSD-3-Clause"
] | 69 | 2016-02-19T06:58:00.000Z | 2018-11-26T09:43:42.000Z | seed_stage_based_messaging/__init__.py | praekeltfoundation/seed-stage-based-messaging | c1d39601c0d16fb32cebe7c2e288076c1dc4225b | [
"BSD-3-Clause"
] | 2 | 2016-09-28T09:32:00.000Z | 2017-08-18T06:18:36.000Z | from .celery import app as celery_app
__version__ = "0.13.1"
VERSION = __version__
__all__ = ("celery_app",)
| 14 | 37 | 0.723214 | 16 | 112 | 4.1875 | 0.625 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.160714 | 112 | 7 | 38 | 16 | 0.670213 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b96d9daf1d0d4ccd91c98af2bc4cc3bb5fb75a47 | 10,175 | py | Python | examples/2-benchmark/fock_multigrid.py | QuESt-Calculator/pyscf | 0ed03633b699505c7278f1eb501342667d0aa910 | [
"Apache-2.0"
] | 8 | 2019-10-13T01:21:00.000Z | 2021-03-18T15:22:44.000Z | examples/2-benchmark/fock_multigrid.py | QuESt-Calculator/pyscf | 0ed03633b699505c7278f1eb501342667d0aa910 | [
"Apache-2.0"
] | 36 | 2018-08-22T19:44:03.000Z | 2020-05-09T10:02:36.000Z | examples/2-benchmark/fock_multigrid.py | QuESt-Calculator/pyscf | 0ed03633b699505c7278f1eb501342667d0aa910 | [
"Apache-2.0"
] | 23 | 2020-05-28T00:49:22.000Z | 2021-04-21T15:04:19.000Z | #!/usr/bin/env python
import os
import time
import numpy as np
import pyscf
from pyscf.pbc.dft import multigrid
log = pyscf.lib.logger.Logger(verbose=5)
with open('/proc/cpuinfo') as f:
for line in f:
if 'model name' in line:
log.note(line[:-1])
break
with open('/proc/meminfo') as ... | 43.297872 | 73 | 0.487666 | 1,519 | 10,175 | 3.261356 | 0.444371 | 0.005248 | 0.004845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.72884 | 0.435676 | 10,175 | 234 | 74 | 43.482906 | 0.133925 | 0.001966 | 0 | 0 | 0 | 0 | 0.901517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022124 | 0 | 0.022124 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b996af58c01bdc1ff488178f5c25d4e120a3c6a7 | 9,066 | py | Python | maya/analytics/analyticNodeTypes.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | maya/analytics/analyticNodeTypes.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | maya/analytics/analyticNodeTypes.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | """
Analytic class for examining node type distribution. This analytic collects
the number of each node type in the scene.
All of the persistent and default nodes are skipped unless they have a new
connection. The way these two things are measured is different by necessity
for the cases of analyzing a file that is rea... | 57.018868 | 4,135 | 0.656519 | 1,297 | 9,066 | 4.537394 | 0.25983 | 0.010535 | 0.009516 | 0.013594 | 0.319626 | 0.272897 | 0.248768 | 0.235854 | 0.235854 | 0.190314 | 0 | 0.002006 | 0.285131 | 9,066 | 158 | 4,136 | 57.379747 | 0.906033 | 0.407567 | 0 | 0.16 | 0 | 0.08 | 0.11549 | 0.006243 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0.16 | 0.28 | 0 | 0.72 | 0.04 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b99e5d04ef4bd6eb8262702bcadaaf576804112b | 428 | py | Python | action_plugins/run_once.py | locationlabs/ansible-action-plugins | 4fc4d371d985919aae8c34b947f3600f327640be | [
"MIT"
] | 18 | 2015-02-10T06:35:12.000Z | 2020-04-29T15:00:58.000Z | action_plugins/run_once.py | locationlabs/ansible-action-plugins | 4fc4d371d985919aae8c34b947f3600f327640be | [
"MIT"
] | 2 | 2016-07-20T19:16:13.000Z | 2018-11-10T15:31:22.000Z | action_plugins/run_once.py | locationlabs/ansible-action-plugins | 4fc4d371d985919aae8c34b947f3600f327640be | [
"MIT"
] | 5 | 2016-08-06T17:10:54.000Z | 2021-09-08T09:41:36.000Z | from ansible.runner.return_data import ReturnData
class ActionModule(object):
def __init__(self, runner):
self.runner = runner
self.runner.run_once = True
def run(self, conn, tmp, module_name, module_args, inject, complex_args=None, **kwargs):
return ReturnData(conn=conn,
... | 32.923077 | 92 | 0.626168 | 51 | 428 | 5.058824 | 0.666667 | 0.116279 | 0.124031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273364 | 428 | 12 | 93 | 35.666667 | 0.829582 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b9a08e1dac5235a3265aee8b8afe5e1b2071adc9 | 45,262 | py | Python | object_detection/protos/center_net_pb2.py | cattypkung/TFObjectDetectionAPIExtractor | d2515572cc0c4f507b6efd04f6d07c87c00173e8 | [
"MIT"
] | null | null | null | object_detection/protos/center_net_pb2.py | cattypkung/TFObjectDetectionAPIExtractor | d2515572cc0c4f507b6efd04f6d07c87c00173e8 | [
"MIT"
] | null | null | null | object_detection/protos/center_net_pb2.py | cattypkung/TFObjectDetectionAPIExtractor | d2515572cc0c4f507b6efd04f6d07c87c00173e8 | [
"MIT"
] | null | null | null | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/center_net.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf ... | 52.326012 | 5,456 | 0.770691 | 5,815 | 45,262 | 5.672055 | 0.062081 | 0.053361 | 0.081497 | 0.08277 | 0.76212 | 0.712943 | 0.678531 | 0.615317 | 0.566474 | 0.548859 | 0 | 0.045344 | 0.115174 | 45,262 | 864 | 5,457 | 52.386574 | 0.778222 | 0.024016 | 0 | 0.684211 | 1 | 0.003672 | 0.259216 | 0.228691 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011016 | 0 | 0.011016 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b9a3c15b78578c37446bcec99565fb474ac0ba93 | 259 | py | Python | vespawatch/management/commands/_utils.py | kmannnish/vespa-watch | eb92246bd5d68d5f4972acc02e86e67e86b77f63 | [
"MIT"
] | 3 | 2019-01-17T09:22:13.000Z | 2020-06-05T03:46:45.000Z | vespawatch/management/commands/_utils.py | kmannnish/vespa-watch | eb92246bd5d68d5f4972acc02e86e67e86b77f63 | [
"MIT"
] | 406 | 2018-06-13T18:36:53.000Z | 2022-03-22T16:41:50.000Z | vespawatch/management/commands/_utils.py | kmannnish/vespa-watch | eb92246bd5d68d5f4972acc02e86e67e86b77f63 | [
"MIT"
] | 8 | 2019-02-12T10:05:08.000Z | 2020-10-01T05:39:13.000Z | from django.core.management import BaseCommand
class VespaWatchCommand(BaseCommand):
def __init__(self, *args, **kwargs):
super(VespaWatchCommand, self).__init__(*args, **kwargs)
self.w = self.stdout.write # Alias to save keystrokes :) | 32.375 | 65 | 0.710425 | 29 | 259 | 6.068966 | 0.724138 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173745 | 259 | 8 | 65 | 32.375 | 0.82243 | 0.104247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b9c5f78760a5aea48ef654429b73b47f8460103e | 511 | py | Python | tests/test_post.py | kibetrono/Blogging-Website | e7f2574979a152fa0f6cb83a5e5ffea24665c585 | [
"Unlicense"
] | null | null | null | tests/test_post.py | kibetrono/Blogging-Website | e7f2574979a152fa0f6cb83a5e5ffea24665c585 | [
"Unlicense"
] | null | null | null | tests/test_post.py | kibetrono/Blogging-Website | e7f2574979a152fa0f6cb83a5e5ffea24665c585 | [
"Unlicense"
] | null | null | null | import unittest
from app.models import Post, User
from app import db
from unittest import TestCase
class TestPost(unittest.TestCase):
def setUp(self):
self.user_kibet= User(username='kibet', password='flasksApp', email='kibetdavidro@gmail.com',biography="New Knowledge on Flask",profile_pic="xxxx")
... | 25.55 | 155 | 0.708415 | 68 | 511 | 5.264706 | 0.558824 | 0.039106 | 0.072626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168297 | 511 | 19 | 156 | 26.894737 | 0.842353 | 0 | 0 | 0 | 0 | 0 | 0.175889 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0.090909 | 0.363636 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
b9eea0237e67485113354893390a7ff322137bd4 | 2,101 | py | Python | app/companyapp/api/serializers.py | ElPinguiino/django_nginx_postgres_docker | db8e7b395bd3c807e2991fe3bbf5e4fc63f11c77 | [
"MIT"
] | null | null | null | app/companyapp/api/serializers.py | ElPinguiino/django_nginx_postgres_docker | db8e7b395bd3c807e2991fe3bbf5e4fc63f11c77 | [
"MIT"
] | null | null | null | app/companyapp/api/serializers.py | ElPinguiino/django_nginx_postgres_docker | db8e7b395bd3c807e2991fe3bbf5e4fc63f11c77 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from ..models import *
class CustomerSerializer(serializers.ModelSerializer):
class Meta:
model = Customer
fields = ('customer_id' ,'first_name' ,'last_name ','address','city','state','country','phone','email','birthdate')
class ProductSerializer(serializers.... | 40.403846 | 146 | 0.705378 | 214 | 2,101 | 6.696262 | 0.285047 | 0.181438 | 0.216329 | 0.244243 | 0.305652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15802 | 2,101 | 52 | 147 | 40.403846 | 0.810062 | 0 | 0 | 0.238095 | 0 | 0 | 0.326356 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.52381 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b9f68d5adc5b0b57793de6c522ceea21fc0a8be8 | 157 | py | Python | 2373.py | ShawonBarman/URI-Online-judge-Ad-Hoc-level-problem-solution-in-python | 9a0f0ad5efd4a9e73589c357ab4b34b7c73a11da | [
"MIT"
] | 1 | 2022-01-14T08:45:32.000Z | 2022-01-14T08:45:32.000Z | 2373.py | ShawonBarman/URI-Online-judge-Ad-Hoc-level-problem-solution-in-python | 9a0f0ad5efd4a9e73589c357ab4b34b7c73a11da | [
"MIT"
] | null | null | null | 2373.py | ShawonBarman/URI-Online-judge-Ad-Hoc-level-problem-solution-in-python | 9a0f0ad5efd4a9e73589c357ab4b34b7c73a11da | [
"MIT"
] | null | null | null | n = int(input())
ans = 0
for i in range(n):
l, c = map(int, input().split())
if l > c:
ans += c
else:
continue
print(ans) | 17.444444 | 37 | 0.452229 | 25 | 157 | 2.84 | 0.68 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.382166 | 157 | 9 | 38 | 17.444444 | 0.721649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b9f6d9633f9d12db0b34bc9905ac793a298de73f | 149 | py | Python | sherpa_client/models/annotation_status.py | kairntech/sherpa-client | cd259c87b7291eeec3f3ea025e368f2f069a06cd | [
"Apache-2.0"
] | null | null | null | sherpa_client/models/annotation_status.py | kairntech/sherpa-client | cd259c87b7291eeec3f3ea025e368f2f069a06cd | [
"Apache-2.0"
] | null | null | null | sherpa_client/models/annotation_status.py | kairntech/sherpa-client | cd259c87b7291eeec3f3ea025e368f2f069a06cd | [
"Apache-2.0"
] | null | null | null | from enum import Enum
class AnnotationStatus(str, Enum):
OK = "OK"
KO = "KO"
def __str__(self) -> str:
return str(self.value)
| 14.9 | 34 | 0.597315 | 20 | 149 | 4.25 | 0.6 | 0.164706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.281879 | 149 | 9 | 35 | 16.555556 | 0.794393 | 0 | 0 | 0 | 0 | 0 | 0.026846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
b9f8c39c974720c28d8812dc12a59d3b3b1b25d4 | 346 | py | Python | hifive/api/rest/HFBaseWeatherRequest.py | gdfdfg/openmusic-python-sdk | 8c5df944ae223b3b46ae249684786552391b6c88 | [
"MIT"
] | null | null | null | hifive/api/rest/HFBaseWeatherRequest.py | gdfdfg/openmusic-python-sdk | 8c5df944ae223b3b46ae249684786552391b6c88 | [
"MIT"
] | null | null | null | hifive/api/rest/HFBaseWeatherRequest.py | gdfdfg/openmusic-python-sdk | 8c5df944ae223b3b46ae249684786552391b6c88 | [
"MIT"
] | 1 | 2022-02-28T02:49:40.000Z | 2022-02-28T02:49:40.000Z | '''
Created by yong.huang on 2016.11.04
'''
from hifive.api.base import RestApi
class HFBaseWeatherRequest(RestApi):
def __init__(self,domain=None,port=80):
domain = domain or 'hifive-gateway-test.hifiveai.com';
RestApi.__init__(self,domain, port)
self.clientId = None
self.location = None
def getapiname(self... | 24.714286 | 56 | 0.745665 | 48 | 346 | 5.208333 | 0.6875 | 0.064 | 0.112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033223 | 0.130058 | 346 | 13 | 57 | 26.615385 | 0.797342 | 0.101156 | 0 | 0 | 0 | 0 | 0.141914 | 0.105611 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.