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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
92052c131501fd7b1604ca8b4a3582831c66d046 | 155 | py | Python | qualitymeter/refactoring_opportunities/make_method_static_identification.py | hamidm21/QualityMeter | 2b0645662634b267338b91141740db45bf8f17ad | [
"MIT"
] | 1 | 2022-03-04T06:00:44.000Z | 2022-03-04T06:00:44.000Z | qualitymeter/refactoring_opportunities/make_method_static_identification.py | hamidm21/QualityMeter | 2b0645662634b267338b91141740db45bf8f17ad | [
"MIT"
] | 5 | 2021-11-18T14:06:21.000Z | 2021-12-24T16:19:15.000Z | qualitymeter/refactoring_opportunities/make_method_static_identification.py | hamidm21/QualityMeter | 2b0645662634b267338b91141740db45bf8f17ad | [
"MIT"
] | 20 | 2021-11-15T05:06:47.000Z | 2022-02-14T13:35:56.000Z | """
The module identify make method static opportunities in Java projects
"""
# Todo: Implementing a decent make method static identification algorithm.
| 22.142857 | 74 | 0.787097 | 19 | 155 | 6.421053 | 0.842105 | 0.163934 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154839 | 155 | 6 | 75 | 25.833333 | 0.931298 | 0.922581 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.166667 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9206df05af8fd5bfb7507fe675eadde2e7cdba38 | 11,870 | py | Python | ifa_smeargle/testing/test_numerical_masking.py | psmd-iberutaru/IfA_Smeargle | 4827109edacb6da04575e4da13330502ed68b6c1 | [
"MIT"
] | null | null | null | ifa_smeargle/testing/test_numerical_masking.py | psmd-iberutaru/IfA_Smeargle | 4827109edacb6da04575e4da13330502ed68b6c1 | [
"MIT"
] | 5 | 2020-06-08T22:19:37.000Z | 2020-08-25T09:10:41.000Z | ifa_smeargle/testing/test_numerical_masking.py | psmd-iberutaru/IfA-Smeargle | 4827109edacb6da04575e4da13330502ed68b6c1 | [
"MIT"
] | 1 | 2020-06-25T02:57:42.000Z | 2020-06-25T02:57:42.000Z |
"""
This tests the masking functions to ensure that they are
appropriately calculating the masks as expected.
These mask tests operate on the principle that the product of single
power prime integers is always unique, and by extension, so are
their logarithms. Prime number arrays are masked, multiplied
together, ... | 41.943463 | 74 | 0.674473 | 1,560 | 11,870 | 4.94359 | 0.105128 | 0.049015 | 0.038122 | 0.036307 | 0.865016 | 0.84777 | 0.84777 | 0.83221 | 0.82832 | 0.82832 | 0 | 0.043965 | 0.254591 | 11,870 | 283 | 75 | 41.943463 | 0.827645 | 0.370345 | 0 | 0.689922 | 0 | 0 | 0.12965 | 0.037746 | 0 | 0 | 0 | 0 | 0.108527 | 1 | 0.054264 | false | 0.015504 | 0.062016 | 0 | 0.170543 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
ecfce81e015e0a49efa15c59a4779ebda2a571fd | 2,268 | py | Python | practice-app/arda/tests.py | bounswe/bounswe2019group9 | eb0392c7c0bd113923dc3e146d99c4e7303dd90e | [
"MIT"
] | 10 | 2019-02-13T14:48:50.000Z | 2022-03-15T09:30:11.000Z | practice-app/arda/tests.py | bounswe/bounswe2019group9 | eb0392c7c0bd113923dc3e146d99c4e7303dd90e | [
"MIT"
] | 288 | 2019-02-13T14:42:11.000Z | 2021-02-23T13:13:00.000Z | practice-app/arda/tests.py | bounswe/bounswe2019group9 | eb0392c7c0bd113923dc3e146d99c4e7303dd90e | [
"MIT"
] | 5 | 2019-02-15T15:56:27.000Z | 2022-03-15T09:30:25.000Z | from django.test import TestCase
from django.urls import reverse
#from six import string_types
class Tests(TestCase):
def test_en(self):
response = self.client.get(reverse("arda:multimedia_recommendation", args=("en",)))
data = response.json()
#year = data['movie_year']
year = data.... | 38.440678 | 93 | 0.612875 | 280 | 2,268 | 4.864286 | 0.175 | 0.079295 | 0.145374 | 0.039648 | 0.88326 | 0.88326 | 0.88326 | 0.865639 | 0.865639 | 0.865639 | 0 | 0.02781 | 0.238977 | 2,268 | 58 | 94 | 39.103448 | 0.761298 | 0.208554 | 0 | 0.675 | 0 | 0 | 0.151345 | 0.067265 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.1 | false | 0 | 0.05 | 0 | 0.175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
a605cd3bc043c787bc50b22899fcda632ffb2573 | 58 | py | Python | adapters/__init__.py | Solidsilver/Processing | f2d3cbd0de8ad65afd970d983a58e3801fd8aa17 | [
"MIT"
] | 20 | 2015-12-05T19:50:07.000Z | 2020-05-15T07:35:48.000Z | adapters/__init__.py | Solidsilver/Processing | f2d3cbd0de8ad65afd970d983a58e3801fd8aa17 | [
"MIT"
] | 30 | 2016-02-11T16:34:17.000Z | 2020-09-30T18:41:00.000Z | adapters/__init__.py | Solidsilver/Processing | f2d3cbd0de8ad65afd970d983a58e3801fd8aa17 | [
"MIT"
] | 9 | 2015-11-20T05:35:58.000Z | 2021-01-25T19:06:25.000Z | from . import gdb
from . import geojson
from . import shp
| 14.5 | 21 | 0.741379 | 9 | 58 | 4.777778 | 0.555556 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 58 | 3 | 22 | 19.333333 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a60f95054fc2c5555dcac7a5d87629595bbc4d11 | 63 | py | Python | listmanager/__main__.py | Sakurai00/Twitter-list-manager | bc69a414df17c229a059d8b594e8b26306ae6637 | [
"MIT"
] | null | null | null | listmanager/__main__.py | Sakurai00/Twitter-list-manager | bc69a414df17c229a059d8b594e8b26306ae6637 | [
"MIT"
] | 30 | 2021-08-12T07:27:35.000Z | 2021-10-04T11:29:39.000Z | listmanager/__main__.py | Sakurai00/Twitter-list-manager | bc69a414df17c229a059d8b594e8b26306ae6637 | [
"MIT"
] | null | null | null | import listmanager.listmanager
listmanager.listmanager.main()
| 15.75 | 30 | 0.857143 | 6 | 63 | 9 | 0.5 | 1.222222 | 1.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 63 | 3 | 31 | 21 | 0.915254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a61f2c6c7c06b3aebcbae0c0f80ca29916b5069b | 32 | py | Python | fbadhelpers/helpers/misc/__init__.py | jameslk/fbadhelpers | 5d7e6e645b245a5df7a466ec73add66f9aafb9e9 | [
"MIT"
] | 1 | 2018-01-11T20:06:36.000Z | 2018-01-11T20:06:36.000Z | fbadhelpers/helpers/misc/__init__.py | jameslk/fbadhelpers | 5d7e6e645b245a5df7a466ec73add66f9aafb9e9 | [
"MIT"
] | null | null | null | fbadhelpers/helpers/misc/__init__.py | jameslk/fbadhelpers | 5d7e6e645b245a5df7a466ec73add66f9aafb9e9 | [
"MIT"
] | null | null | null | from .create_mirror_ads import * | 32 | 32 | 0.84375 | 5 | 32 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a624d6ede9250b7b73b2c5d57c5be5131c4c6ae6 | 14,684 | py | Python | api/src/routes.py | rupaltotale/CovidDashboard | a9d111d12f51438e2a258512050d40e4ed0b9a5e | [
"MIT"
] | null | null | null | api/src/routes.py | rupaltotale/CovidDashboard | a9d111d12f51438e2a258512050d40e4ed0b9a5e | [
"MIT"
] | null | null | null | api/src/routes.py | rupaltotale/CovidDashboard | a9d111d12f51438e2a258512050d40e4ed0b9a5e | [
"MIT"
] | null | null | null | from flask import Flask, url_for, flash, redirect
import time
from src import app
from src import db
from src.models import RaceEntry, StateEntry
from sqlalchemy import func
from flask import jsonify
from flask import request
import datetime
@app.route('/get-data')
def get_data():
start_date = request.args.get('s... | 46.321767 | 138 | 0.53766 | 1,750 | 14,684 | 4.372571 | 0.053714 | 0.037114 | 0.055672 | 0.120622 | 0.883298 | 0.858338 | 0.844354 | 0.832985 | 0.732619 | 0.732619 | 0 | 0.009016 | 0.335331 | 14,684 | 316 | 139 | 46.468354 | 0.775 | 0 | 0 | 0.625899 | 0 | 0.007194 | 0.053323 | 0.031259 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061151 | false | 0 | 0.032374 | 0 | 0.154676 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
a675d0f962932ef0ce27f2eb4fc5319dec61e6d7 | 3,672 | py | Python | docs/src/user.py | TaikerLiang/ConsoleTemplate | 1b4a4892f9bdd55aeeebe7c0da793da5a23dd47d | [
"MIT"
] | 2 | 2018-03-21T06:05:43.000Z | 2018-03-29T16:54:51.000Z | docs/src/user.py | TaikerLiang/ConsoleTemplate | 1b4a4892f9bdd55aeeebe7c0da793da5a23dd47d | [
"MIT"
] | null | null | null | docs/src/user.py | TaikerLiang/ConsoleTemplate | 1b4a4892f9bdd55aeeebe7c0da793da5a23dd47d | [
"MIT"
] | null | null | null | """
@apiDefine NotFoundError
@apiError 404 NotFound
@apiErrorExample Error-Response:
HTTP/1.1 404 Not Found
{
"error": "not found"
}
"""
"""
@apiDefine UnauthorizedError
@apiError 401 Unauthorized: Access is denied due to invalid credentials
@apiErrorExample Error-Response:
HTTP/1.1 401 Unauth... | 28.913386 | 265 | 0.722495 | 346 | 3,672 | 7.624277 | 0.213873 | 0.01213 | 0.029568 | 0.031842 | 0.811979 | 0.797574 | 0.76232 | 0.76232 | 0.682335 | 0.682335 | 0 | 0.052597 | 0.171569 | 3,672 | 126 | 266 | 29.142857 | 0.814596 | 0.040305 | 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 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a67f37de6e8ab34b8ff55eefbf2f9ab22bc32a6e | 237 | py | Python | epidemioptim/environments/gym_envs/__init__.py | AidenSilverion/EpidemiOptim | 1b4ed25ed7884cf91d043d4feb0ad5f4736904c0 | [
"MIT"
] | 4 | 2020-10-21T08:29:32.000Z | 2021-05-10T04:56:58.000Z | epidemioptim/environments/gym_envs/__init__.py | AidenSilverion/EpidemiOptim | 1b4ed25ed7884cf91d043d4feb0ad5f4736904c0 | [
"MIT"
] | null | null | null | epidemioptim/environments/gym_envs/__init__.py | AidenSilverion/EpidemiOptim | 1b4ed25ed7884cf91d043d4feb0ad5f4736904c0 | [
"MIT"
] | 8 | 2021-01-21T02:14:24.000Z | 2022-03-14T07:54:06.000Z | from gym.envs.registration import register
from epidemioptim.environments.gym_envs.get_env import get_env
register(id='EpidemicDiscrete-v0',
entry_point='epidemioptim.environments.gym_envs.epidemic_discrete:EpidemicDiscrete')
| 33.857143 | 93 | 0.831224 | 29 | 237 | 6.586207 | 0.586207 | 0.109948 | 0.282723 | 0.324607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00463 | 0.088608 | 237 | 6 | 94 | 39.5 | 0.87963 | 0 | 0 | 0 | 0 | 0 | 0.372881 | 0.292373 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a683e3779b400d74619f73f7a4442ff6dddc9a19 | 175 | py | Python | tests/test_hello.py | chmike/pyHelloExtension | 1ec8b361d061b9ba072431ba09d0a66cf229dc7c | [
"BSD-3-Clause"
] | null | null | null | tests/test_hello.py | chmike/pyHelloExtension | 1ec8b361d061b9ba072431ba09d0a66cf229dc7c | [
"BSD-3-Clause"
] | null | null | null | tests/test_hello.py | chmike/pyHelloExtension | 1ec8b361d061b9ba072431ba09d0a66cf229dc7c | [
"BSD-3-Clause"
] | null | null | null | """
testing hello_ext
"""
#from hello import *
import hello_ext
def test_hello():
"""
test hello
"""
assert hello_ext.hello("Gérard") == 'hello Gérard!'
| 13.461538 | 55 | 0.6 | 21 | 175 | 4.809524 | 0.428571 | 0.237624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245714 | 175 | 13 | 56 | 13.461538 | 0.765152 | 0.274286 | 0 | 0 | 0 | 0 | 0.180952 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5b9ad7f1e9fe2af88c2376b10097df460d741c47 | 113 | py | Python | query/statements/__init__.py | TukanMx/tukan-python | 2879917626dc9e6576dd11660a674b162f91c381 | [
"MIT"
] | null | null | null | query/statements/__init__.py | TukanMx/tukan-python | 2879917626dc9e6576dd11660a674b162f91c381 | [
"MIT"
] | null | null | null | query/statements/__init__.py | TukanMx/tukan-python | 2879917626dc9e6576dd11660a674b162f91c381 | [
"MIT"
] | null | null | null | from .aggregate import *
from .groupby import *
from .orderby import *
from .select import *
from .where import * | 22.6 | 24 | 0.743363 | 15 | 113 | 5.6 | 0.466667 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168142 | 113 | 5 | 25 | 22.6 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5bce805cbc230457eab0b95893b15bd2e3019079 | 121 | py | Python | pandasgui/constants.py | John-Ted/pandasgui | 6d3de58edfade08da2a7df9abed3be10e682da98 | [
"MIT"
] | 1 | 2020-10-15T16:35:36.000Z | 2020-10-15T16:35:36.000Z | pandasgui/constants.py | John-Ted/pandasgui | 6d3de58edfade08da2a7df9abed3be10e682da98 | [
"MIT"
] | null | null | null | pandasgui/constants.py | John-Ted/pandasgui | 6d3de58edfade08da2a7df9abed3be10e682da98 | [
"MIT"
] | 1 | 2021-01-08T02:37:36.000Z | 2021-01-08T02:37:36.000Z | import os
from appdirs import user_data_dir
LOCAL_DATA_DIR = os.path.join(user_data_dir(), "pandasgui", "dataset_files") | 30.25 | 76 | 0.801653 | 20 | 121 | 4.5 | 0.65 | 0.233333 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 121 | 4 | 76 | 30.25 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
750ba917edf7deccfecda621281fd5435a7c81aa | 44 | py | Python | misc/legacy/fermions/yaferp/analysis/analyserNC.py | wmkirby1/CS-VQE | 9a0a7634dcb77f064957c772cf229b7103cce3a8 | [
"Apache-2.0"
] | 1 | 2021-11-10T18:03:49.000Z | 2021-11-10T18:03:49.000Z | misc/legacy/fermions/yaferp/analysis/analyserNC.py | wmkirby1/CS-VQE | 9a0a7634dcb77f064957c772cf229b7103cce3a8 | [
"Apache-2.0"
] | null | null | null | misc/legacy/fermions/yaferp/analysis/analyserNC.py | wmkirby1/CS-VQE | 9a0a7634dcb77f064957c772cf229b7103cce3a8 | [
"Apache-2.0"
] | 1 | 2021-11-09T13:20:07.000Z | 2021-11-09T13:20:07.000Z | from yaferp.analysis.analyser import loadOpl | 44 | 44 | 0.886364 | 6 | 44 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
754ba3a7f52d3165dd95d2641fc533f89865ac48 | 45 | py | Python | test2.py | gtg3vv/cs3240-labdemo | 8d49de60cdd5f9dd314da1225959bf95735e174a | [
"MIT"
] | null | null | null | test2.py | gtg3vv/cs3240-labdemo | 8d49de60cdd5f9dd314da1225959bf95735e174a | [
"MIT"
] | null | null | null | test2.py | gtg3vv/cs3240-labdemo | 8d49de60cdd5f9dd314da1225959bf95735e174a | [
"MIT"
] | null | null | null |
def test2(y):
return y * 2
print(test2(4)) | 9 | 15 | 0.622222 | 9 | 45 | 3.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.2 | 45 | 5 | 15 | 9 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f3403d28f6454c809cc9c78906b42bdd8a373412 | 26,419 | py | Python | tests/test_repository.py | abidlabs/huggingface_hub | 85c4d231fb1e51a33e1e15a56b6a7cc7cd16b2ba | [
"Apache-2.0"
] | null | null | null | tests/test_repository.py | abidlabs/huggingface_hub | 85c4d231fb1e51a33e1e15a56b6a7cc7cd16b2ba | [
"Apache-2.0"
] | null | null | null | tests/test_repository.py | abidlabs/huggingface_hub | 85c4d231fb1e51a33e1e15a56b6a7cc7cd16b2ba | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 The HuggingFace Team. 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 required by applicabl... | 32.737299 | 113 | 0.600969 | 3,368 | 26,419 | 4.413599 | 0.091152 | 0.074739 | 0.094181 | 0.041372 | 0.829263 | 0.811504 | 0.788833 | 0.773629 | 0.745173 | 0.712815 | 0 | 0.007528 | 0.285968 | 26,419 | 806 | 114 | 32.777916 | 0.780481 | 0.082479 | 0 | 0.683587 | 0 | 0 | 0.174407 | 0.099714 | 0 | 0 | 0 | 0 | 0.06599 | 1 | 0.062606 | false | 0.011844 | 0.023689 | 0 | 0.094755 | 0.001692 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
f36b7c7639150336ab3d96826ff6d98b1cbae2c7 | 1,048 | py | Python | python/linkedlist/LinkedList.singleEtc.test.py | ulysses-sl/algorithm-implementations | 9cd4d98c453ac31975e68b3fb30323d81398a6f2 | [
"MIT"
] | null | null | null | python/linkedlist/LinkedList.singleEtc.test.py | ulysses-sl/algorithm-implementations | 9cd4d98c453ac31975e68b3fb30323d81398a6f2 | [
"MIT"
] | null | null | null | python/linkedlist/LinkedList.singleEtc.test.py | ulysses-sl/algorithm-implementations | 9cd4d98c453ac31975e68b3fb30323d81398a6f2 | [
"MIT"
] | null | null | null | import unittest
from LinkedList import SinglyLinkedList, are_equal, generate_list, reverse_list, reverse_list_rec
class TestReverse(unittest.TestCase):
def test_empty(self):
self.assertEqual(reverse_list(None), None)
def test_single(self):
self.assertTrue(are_equal(
reverse_list(g... | 25.560976 | 97 | 0.615458 | 127 | 1,048 | 4.76378 | 0.244094 | 0.178512 | 0.128926 | 0.138843 | 0.743802 | 0.743802 | 0.743802 | 0.743802 | 0.743802 | 0.743802 | 0 | 0.02594 | 0.264313 | 1,048 | 40 | 98 | 26.2 | 0.758755 | 0 | 0 | 0.6 | 1 | 0 | 0.007634 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.066667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
f36cfa9b47f08ac4ffec91c071407a432849faec | 17,249 | py | Python | core/tests/test_trezor.crypto.bip39.py | Kayuii/trezor-crypto | 6556616681a4e2d7e18817e8692d4f6e041dee01 | [
"MIT"
] | null | null | null | core/tests/test_trezor.crypto.bip39.py | Kayuii/trezor-crypto | 6556616681a4e2d7e18817e8692d4f6e041dee01 | [
"MIT"
] | 1 | 2019-02-08T00:22:42.000Z | 2019-02-13T09:41:54.000Z | core/tests/test_trezor.crypto.bip39.py | Kayuii/trezor-crypto | 6556616681a4e2d7e18817e8692d4f6e041dee01 | [
"MIT"
] | 2 | 2019-02-07T23:57:09.000Z | 2020-10-21T07:07:27.000Z | from common import *
from trezor.crypto import bip39
class TestCryptoBip39(unittest.TestCase):
def test_mnemonic(self):
v = [
('00000000000000000000000000000000', 'abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about', 'c55257c360c07c72029aebc1b53c05e... | 136.896825 | 404 | 0.788046 | 1,828 | 17,249 | 7.428337 | 0.172867 | 0.191767 | 0.269092 | 0.334045 | 0.667133 | 0.665439 | 0.665439 | 0.665439 | 0.665439 | 0.665439 | 0 | 0.187275 | 0.179952 | 17,249 | 125 | 405 | 137.992 | 0.772711 | 0 | 0 | 0.042735 | 0 | 0.273504 | 0.862427 | 0.244884 | 0 | 0 | 0 | 0 | 0.034188 | 1 | 0.025641 | false | 0.034188 | 0.017094 | 0 | 0.051282 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
342567538c8613b8f66c68f5f5a2c2853f40ab07 | 48 | py | Python | cotidia/team/serializers/__init__.py | guillaumepiot/cotidia-team | cbbc9bc6f3462f5156a38af36a7398bf40c50c85 | [
"BSD-3-Clause"
] | null | null | null | cotidia/team/serializers/__init__.py | guillaumepiot/cotidia-team | cbbc9bc6f3462f5156a38af36a7398bf40c50c85 | [
"BSD-3-Clause"
] | null | null | null | cotidia/team/serializers/__init__.py | guillaumepiot/cotidia-team | cbbc9bc6f3462f5156a38af36a7398bf40c50c85 | [
"BSD-3-Clause"
] | null | null | null | from .department import *
from .member import *
| 16 | 25 | 0.75 | 6 | 48 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 26 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3433b63cc0d6db5a7403e3ce294e5e0a30ffb15f | 106 | py | Python | compose/__init__.py | jovobe/compose | be6fb4165b746a22f85c2c5105f8c3f05f08d712 | [
"Apache-2.0"
] | 3 | 2020-08-12T08:19:40.000Z | 2020-08-12T08:19:43.000Z | compose/__init__.py | jovobe/compose | be6fb4165b746a22f85c2c5105f8c3f05f08d712 | [
"Apache-2.0"
] | 1 | 2021-06-01T22:50:30.000Z | 2021-06-01T22:50:30.000Z | compose/__init__.py | waqasalam/docker-compose | a0f21e985c4a5b8dfba9881f836d05bd082e7e2f | [
"Apache-2.0"
] | 1 | 2019-12-17T05:04:28.000Z | 2019-12-17T05:04:28.000Z | from __future__ import absolute_import
from __future__ import unicode_literals
__version__ = '1.23.0dev'
| 21.2 | 39 | 0.839623 | 14 | 106 | 5.357143 | 0.714286 | 0.266667 | 0.426667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.113208 | 106 | 4 | 40 | 26.5 | 0.755319 | 0 | 0 | 0 | 0 | 0 | 0.084906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
caac98b90011c6231c6f0125947a9a6596ed1907 | 150 | py | Python | shopify/resources/policy.py | butlertron/shopify_python_api | 78329d0656a7dcd4aad9579b28509007d05ee5dc | [
"MIT"
] | 2 | 2019-03-09T14:16:28.000Z | 2020-12-07T19:52:16.000Z | shopify/resources/policy.py | whitehorse3513/PythonShopify | 245b9bad3779db9190e3786bffc07044afe216c6 | [
"MIT"
] | null | null | null | shopify/resources/policy.py | whitehorse3513/PythonShopify | 245b9bad3779db9190e3786bffc07044afe216c6 | [
"MIT"
] | 1 | 2020-10-03T19:48:39.000Z | 2020-10-03T19:48:39.000Z | from ..base import ShopifyResource
from shopify import mixins
import shopify
class Policy(ShopifyResource, mixins.Metafields, mixins.Events):
pass
| 21.428571 | 64 | 0.82 | 18 | 150 | 6.833333 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 150 | 6 | 65 | 25 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
cad42180bb7c8fba9e914d7df1593c20671ca732 | 62 | py | Python | cellori/__init__.py | zjniu/CelloriDocs | 5e9383474373b9c084b46f44468536f69059cc12 | [
"MIT"
] | 1 | 2021-09-21T07:00:54.000Z | 2021-09-21T07:00:54.000Z | cellori/__init__.py | zjniu/CelloriDocs | 5e9383474373b9c084b46f44468536f69059cc12 | [
"MIT"
] | null | null | null | cellori/__init__.py | zjniu/CelloriDocs | 5e9383474373b9c084b46f44468536f69059cc12 | [
"MIT"
] | null | null | null | from cellori.cellori import Cellori
from cellori import utils
| 20.666667 | 35 | 0.854839 | 9 | 62 | 5.888889 | 0.444444 | 0.415094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 36 | 31 | 0.981481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1b0e273d7b1f6c72ee8b23790c4a43f9b34b24d9 | 27,646 | py | Python | generate_table.py | janizary2/WonderlandTIMEHistory | 2551f4ecde19a3c94590ce4883a033c8c9dd0cb2 | [
"MIT"
] | null | null | null | generate_table.py | janizary2/WonderlandTIMEHistory | 2551f4ecde19a3c94590ce4883a033c8c9dd0cb2 | [
"MIT"
] | null | null | null | generate_table.py | janizary2/WonderlandTIMEHistory | 2551f4ecde19a3c94590ce4883a033c8c9dd0cb2 | [
"MIT"
] | null | null | null | ## Disclaimer
# Please be advised that this software and associated content is intended FOR GENERAL
# INFORMATION PURPOSES ONLY. It is NOT financial advice. Nothing herein shall be
# construed to be financial, legal or tax advice. The content of this file was NOT
# created by a licensed financial advisor, tax adv... | 146.275132 | 11,922 | 0.685669 | 2,866 | 27,646 | 6.585136 | 0.157362 | 0.095003 | 0.160865 | 0.069941 | 0.72156 | 0.702962 | 0.680867 | 0.656387 | 0.645843 | 0.620516 | 0 | 0.040405 | 0.056428 | 27,646 | 188 | 11,923 | 147.053191 | 0.683087 | 0.095204 | 0 | 0.166667 | 0 | 0.039216 | 0.866213 | 0.815061 | 0 | 0 | 0.008412 | 0 | 0 | 1 | 0.019608 | false | 0 | 0.068627 | 0.009804 | 0.107843 | 0.058824 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1b35a15710846c709117ff1dc5c2715ef79eba81 | 3,707 | py | Python | backend/api_v2/migrations/0011_auto_20170225_0453.py | AstroMatt/subjective-time-perception | cbe222b86d2ec98065038d2f7a55c2c6b9518b9e | [
"MIT"
] | null | null | null | backend/api_v2/migrations/0011_auto_20170225_0453.py | AstroMatt/subjective-time-perception | cbe222b86d2ec98065038d2f7a55c2c6b9518b9e | [
"MIT"
] | null | null | null | backend/api_v2/migrations/0011_auto_20170225_0453.py | AstroMatt/subjective-time-perception | cbe222b86d2ec98065038d2f7a55c2c6b9518b9e | [
"MIT"
] | 1 | 2021-02-08T17:13:56.000Z | 2021-02-08T17:13:56.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-02-25 04:53
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api_v2', '0010_trial_time_regularity_series'),
]
operations = [
migrations.... | 37.07 | 104 | 0.58403 | 361 | 3,707 | 5.806094 | 0.166205 | 0.094466 | 0.19084 | 0.221374 | 0.849237 | 0.849237 | 0.849237 | 0.666508 | 0.477576 | 0.477576 | 0 | 0.008375 | 0.291341 | 3,707 | 99 | 105 | 37.444444 | 0.789494 | 0.018344 | 0 | 0.532609 | 1 | 0 | 0.161991 | 0.009076 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021739 | 0 | 0.054348 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
1b3e51e4874b2c3c17f84e30d9c91555a34b8466 | 199 | py | Python | jira/commands/__init__.py | lmaitresym/jira-cli | 371b793eea30c392f83e2319925a4e44ee93d38b | [
"MIT"
] | 1 | 2021-10-05T11:03:17.000Z | 2021-10-05T11:03:17.000Z | jira/commands/__init__.py | lmaitresym/jira-cli | 371b793eea30c392f83e2319925a4e44ee93d38b | [
"MIT"
] | null | null | null | jira/commands/__init__.py | lmaitresym/jira-cli | 371b793eea30c392f83e2319925a4e44ee93d38b | [
"MIT"
] | null | null | null | from .session import *
from .field import *
from .option import *
from .issues import *
from .issue import *
from .project import *
from .role import *
from .servicedesk import *
from .page import *
| 19.9 | 26 | 0.728643 | 27 | 199 | 5.37037 | 0.407407 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180905 | 199 | 9 | 27 | 22.111111 | 0.889571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1b5646a1669975cef1b2ed543eb661966e7e9c1b | 9,730 | py | Python | shapreg/games.py | iancovert/shapley-regression | ea7d149d92408c8b219fc7b37ff2e71fc22050dc | [
"MIT"
] | 26 | 2020-11-23T12:27:59.000Z | 2022-03-27T07:24:08.000Z | shapreg/games.py | iancovert/shapley-regression | ea7d149d92408c8b219fc7b37ff2e71fc22050dc | [
"MIT"
] | 1 | 2021-04-04T20:54:53.000Z | 2021-04-13T21:30:58.000Z | shapreg/games.py | iancovert/shapley-regression | ea7d149d92408c8b219fc7b37ff2e71fc22050dc | [
"MIT"
] | 6 | 2021-04-11T10:13:11.000Z | 2021-12-28T22:28:52.000Z | import numpy as np
from shapreg import utils
class CooperativeGame:
'''Base class for cooperative games.'''
def __init__(self):
raise NotImplementedError
def __call__(self, S):
'''Evaluate cooperative game.'''
raise NotImplementedError
def grand(self):
'''Get grand c... | 32.541806 | 82 | 0.555704 | 1,129 | 9,730 | 4.674934 | 0.124004 | 0.037893 | 0.060629 | 0.033346 | 0.84407 | 0.823229 | 0.785714 | 0.764684 | 0.736264 | 0.725843 | 0 | 0.005544 | 0.332682 | 9,730 | 298 | 83 | 32.651007 | 0.807331 | 0.585612 | 0 | 0.6625 | 0 | 0 | 0.01129 | 0 | 0 | 0 | 0 | 0 | 0.025 | 1 | 0.1 | false | 0 | 0.025 | 0 | 0.2125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
1bcc1eb7ff0b563dbf99ea5e4065d5cc802aa346 | 12 | py | Python | code/sample_2-1-11.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | 1 | 2022-03-29T13:50:12.000Z | 2022-03-29T13:50:12.000Z | code/sample_2-1-11.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | code/sample_2-1-11.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | print(2**3)
| 6 | 11 | 0.583333 | 3 | 12 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.083333 | 12 | 1 | 12 | 12 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
944bf3e593485d1ffadbeaf43d72665da3484601 | 87 | py | Python | deepchem/models/sklearn_models/__init__.py | cjgalvin/deepchem | 64993a129e7f0f78fed9500298b1828ac8a0757a | [
"MIT"
] | 3,782 | 2016-02-21T03:53:11.000Z | 2022-03-31T16:10:26.000Z | deepchem/models/sklearn_models/__init__.py | cjgalvin/deepchem | 64993a129e7f0f78fed9500298b1828ac8a0757a | [
"MIT"
] | 2,666 | 2016-02-11T01:54:54.000Z | 2022-03-31T11:14:33.000Z | deepchem/models/sklearn_models/__init__.py | cjgalvin/deepchem | 64993a129e7f0f78fed9500298b1828ac8a0757a | [
"MIT"
] | 1,597 | 2016-02-21T03:10:08.000Z | 2022-03-30T13:21:28.000Z | # flake8: ignore
from deepchem.models.sklearn_models.sklearn_model import SklearnModel
| 29 | 69 | 0.862069 | 11 | 87 | 6.636364 | 0.818182 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.08046 | 87 | 2 | 70 | 43.5 | 0.9 | 0.16092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
945a9390b35d3d00c894893e609caab8bd1a5fc0 | 1,802 | py | Python | assets/img/posts/create.py | pierpaolo28/pierpaolo28.github.io | 827953f819d87d7602b740ba9e6e49c444fd422e | [
"MIT"
] | 9 | 2019-08-21T10:08:19.000Z | 2021-04-07T16:54:32.000Z | assets/img/posts/create.py | pierpaolo28/pierpaolo28.github.io | 827953f819d87d7602b740ba9e6e49c444fd422e | [
"MIT"
] | null | null | null | assets/img/posts/create.py | pierpaolo28/pierpaolo28.github.io | 827953f819d87d7602b740ba9e6e49c444fd422e | [
"MIT"
] | 10 | 2019-09-22T14:10:20.000Z | 2022-01-24T18:50:28.000Z | import subprocess
import os
import sys
import signal
args = list(sys.argv)
photos = args[1]
photo, type = args[1].split('.')
process = subprocess.Popen(["powershell.exe",
"magick -verbose " + str(photos) + " -background white -flatten -resize 2000 " + str(photo) + "." + str(type)] )
... | 41.906977 | 146 | 0.54717 | 177 | 1,802 | 5.531073 | 0.231638 | 0.138917 | 0.179775 | 0.261491 | 0.769152 | 0.769152 | 0.769152 | 0.769152 | 0.769152 | 0.769152 | 0 | 0.024467 | 0.296892 | 1,802 | 43 | 147 | 41.906977 | 0.748224 | 0 | 0 | 0.32 | 0 | 0 | 0.338325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.16 | 0 | 0.16 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
946f3c956c7b90cb42826c53a494311157661ccb | 49 | wsgi | Python | zoom/_assets/web/www/index.wsgi | zodman/ZoomFoundry | 87a69f519a2ab6b63aeec0a564ce41259e64f88d | [
"MIT"
] | 8 | 2017-04-10T09:53:15.000Z | 2020-08-16T09:53:14.000Z | zoom/_assets/web/www/index.wsgi | zodman/ZoomFoundry | 87a69f519a2ab6b63aeec0a564ce41259e64f88d | [
"MIT"
] | 49 | 2017-04-13T22:51:48.000Z | 2019-08-15T22:53:25.000Z | zoom/_assets/web/www/index.wsgi | zodman/ZoomFoundry | 87a69f519a2ab6b63aeec0a564ce41259e64f88d | [
"MIT"
] | 12 | 2017-04-11T04:16:47.000Z | 2019-08-10T21:41:54.000Z | # WSGI app
from zoom.server import application
| 9.8 | 35 | 0.77551 | 7 | 49 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 49 | 4 | 36 | 12.25 | 0.95 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
848781319f34be67ba51a67a776df87407b1da2b | 97 | py | Python | run.py | yehonadav/python_image_converter | c19ee67bd9fd5ec24b21bbcf4e29b9bc47fd1281 | [
"Apache-2.0"
] | null | null | null | run.py | yehonadav/python_image_converter | c19ee67bd9fd5ec24b21bbcf4e29b9bc47fd1281 | [
"Apache-2.0"
] | null | null | null | run.py | yehonadav/python_image_converter | c19ee67bd9fd5ec24b21bbcf4e29b9bc47fd1281 | [
"Apache-2.0"
] | null | null | null | from image_to_pdf import convert_images_from_dir_to_pdf
convert_images_from_dir_to_pdf('images') | 32.333333 | 55 | 0.907216 | 18 | 97 | 4.222222 | 0.444444 | 0.197368 | 0.447368 | 0.526316 | 0.657895 | 0.657895 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051546 | 97 | 3 | 56 | 32.333333 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
849648360d1847f438efd8323d19e2292a2a07bc | 21 | py | Python | scripts/portal/out_701220601.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/portal/out_701220601.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/portal/out_701220601.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | sm.warp(701220500, 2) | 21 | 21 | 0.761905 | 4 | 21 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.047619 | 21 | 1 | 21 | 21 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
84c5e7b8a884fcb36cc68ffb8c6cc11e0d7aca4f | 10,229 | py | Python | tests/test_app.py | IDilettant/paymaster_ | d48549c714aa08876aadf3dc7f3456e47d581938 | [
"MIT"
] | 1 | 2021-12-12T09:49:23.000Z | 2021-12-12T09:49:23.000Z | tests/test_app.py | IDilettant/paymaster_ | d48549c714aa08876aadf3dc7f3456e47d581938 | [
"MIT"
] | 1 | 2021-11-29T18:15:09.000Z | 2021-12-08T17:13:55.000Z | tests/test_app.py | IDilettant/paymaster | d48549c714aa08876aadf3dc7f3456e47d581938 | [
"MIT"
] | null | null | null | """Application test module."""
import pytest
from asyncpg import connect
from fastapi import status
from httpx import AsyncClient
from paymaster.app.data_schemas import OperationType
from paymaster.scripts.background_tasks import update_currency_rates_job
from tests.test_currencies import USD_RATE, custom_response
pyt... | 34.792517 | 100 | 0.63799 | 1,150 | 10,229 | 5.427826 | 0.103478 | 0.080743 | 0.066966 | 0.068728 | 0.83579 | 0.824575 | 0.807273 | 0.790932 | 0.767382 | 0.721083 | 0 | 0.022052 | 0.246358 | 10,229 | 293 | 101 | 34.911263 | 0.787651 | 0.03539 | 0 | 0.680934 | 0 | 0 | 0.211376 | 0.10777 | 0 | 0 | 0 | 0 | 0.178988 | 1 | 0 | false | 0 | 0.027237 | 0 | 0.027237 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
84f26a0aee3f7f22ce1fceb4f404f4880e9a3b3b | 121 | py | Python | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/types/user.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | 3 | 2021-12-15T04:58:18.000Z | 2022-02-06T12:15:37.000Z | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/types/user.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | null | null | null | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/types/user.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | 1 | 2019-01-02T14:38:50.000Z | 2019-01-02T14:38:50.000Z | """
Typing utilities for the User models.
"""
import django.contrib.auth.models
User = django.contrib.auth.models.User
| 15.125 | 38 | 0.752066 | 17 | 121 | 5.352941 | 0.588235 | 0.285714 | 0.373626 | 0.505495 | 0.593407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123967 | 121 | 7 | 39 | 17.285714 | 0.858491 | 0.305785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ca10609fcb5b50562611e9942e6447ad0e7d7e72 | 92 | py | Python | {{cookiecutter.project_slug}}/app/admin/__init__.py | zxyle/hello-flask | 36f7c03f18c93beda1a8802178f2b2ef7ad19b35 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/app/admin/__init__.py | zxyle/hello-flask | 36f7c03f18c93beda1a8802178f2b2ef7ad19b35 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/app/admin/__init__.py | zxyle/hello-flask | 36f7c03f18c93beda1a8802178f2b2ef7ad19b35 | [
"MIT"
] | null | null | null | from flask import Blueprint
admin_blue = Blueprint('admin', __name__)
from . import views
| 15.333333 | 41 | 0.771739 | 12 | 92 | 5.5 | 0.666667 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 92 | 5 | 42 | 18.4 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.054348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
ca4906fbb392fd2de81ba80f99f5f4d295f5d3a0 | 125 | py | Python | release/scripts/presets/camera/Blender.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 365 | 2015-02-10T15:10:55.000Z | 2022-03-03T15:50:51.000Z | release/scripts/presets/camera/Blender.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 45 | 2015-01-09T15:34:20.000Z | 2021-10-05T14:44:23.000Z | release/scripts/presets/camera/Blender.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 172 | 2015-01-25T15:16:53.000Z | 2022-01-31T08:25:36.000Z | import bpy
bpy.context.camera.sensor_width = 32
bpy.context.camera.sensor_height = 18
bpy.context.camera.sensor_fit = 'AUTO'
| 25 | 38 | 0.8 | 20 | 125 | 4.85 | 0.55 | 0.309278 | 0.494845 | 0.680412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.088 | 125 | 4 | 39 | 31.25 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0.032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ca55f644327b56052b775626923677160fbaae82 | 12,539 | py | Python | scripts/aviatrix_poller.py | jorgebonilla/quickstart-aviatrix-nextgentransithub | dd44733e0715bb06cd692c6b4817fd74e10ad2ee | [
"Apache-2.0"
] | null | null | null | scripts/aviatrix_poller.py | jorgebonilla/quickstart-aviatrix-nextgentransithub | dd44733e0715bb06cd692c6b4817fd74e10ad2ee | [
"Apache-2.0"
] | null | null | null | scripts/aviatrix_poller.py | jorgebonilla/quickstart-aviatrix-nextgentransithub | dd44733e0715bb06cd692c6b4817fd74e10ad2ee | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function
import os, boto3, json, logging
lambda_client = boto3.client('lambda')
#logging configuration
logger = logging.getLogger()
logger.setLevel(logging.INFO)
#Read environment Variables
gatewayqueue = os.environ.get("GatewayQueue")
vpcid_hub = os.environ.get("HubVPC")
gwsize_spoke = ... | 48.789883 | 143 | 0.540713 | 1,226 | 12,539 | 5.399674 | 0.150897 | 0.020544 | 0.02568 | 0.017221 | 0.790634 | 0.783082 | 0.779003 | 0.766616 | 0.766616 | 0.766616 | 0 | 0.005577 | 0.342212 | 12,539 | 256 | 144 | 48.980469 | 0.797042 | 0.115719 | 0 | 0.711628 | 0 | 0 | 0.235933 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013953 | false | 0 | 0.009302 | 0 | 0.065116 | 0.004651 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
04ef08f7a60216a89fd2a4e651d72159a97bdf8c | 20 | py | Python | sitegeist/settings/__init__.py | parthkhatri1998/sitegeist | 231b18dfb3a5a0fce32c1c5e01227dcf9bb18010 | [
"BSD-3-Clause"
] | 15 | 2015-01-29T12:51:14.000Z | 2021-07-23T17:11:25.000Z | sitegeist/settings/__init__.py | parthkhatri1998/sitegeist | 231b18dfb3a5a0fce32c1c5e01227dcf9bb18010 | [
"BSD-3-Clause"
] | 2 | 2015-04-22T17:30:51.000Z | 2015-08-03T22:05:56.000Z | sitegeist/settings/__init__.py | modern-resilience/sitegeist | a0922c61239fad8e5b9ed9c0e423a127a4d5b82c | [
"BSD-3-Clause"
] | 10 | 2015-04-10T19:47:03.000Z | 2022-03-25T06:18:58.000Z | from local import *
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
04fdbab8e616beb173af05954d5885ad1f458550 | 83 | py | Python | app/main.py | EduardoL/ProGitForProgrammers | 4622a7dc9e1ac27e542312f6977f543025d40af9 | [
"MIT"
] | null | null | null | app/main.py | EduardoL/ProGitForProgrammers | 4622a7dc9e1ac27e542312f6977f543025d40af9 | [
"MIT"
] | null | null | null | app/main.py | EduardoL/ProGitForProgrammers | 4622a7dc9e1ac27e542312f6977f543025d40af9 | [
"MIT"
] | null | null | null |
print("Hallo, Leute!")
print("Hallo nochmals !")
print("Hallo noch noochmals...") | 16.6 | 32 | 0.674699 | 10 | 83 | 5.6 | 0.6 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 83 | 5 | 32 | 16.6 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0.626506 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b6ee13a959c44945bb15636c662c39bd1e46452e | 837 | py | Python | test/test_page_of_policy.py | kiblik/vm-console-client-python | 038f6d33e8b2654a558326c6eb87f09ee23e0e22 | [
"MIT"
] | 61 | 2018-05-17T05:57:09.000Z | 2022-03-08T13:59:21.000Z | test/test_page_of_policy.py | kiblik/vm-console-client-python | 038f6d33e8b2654a558326c6eb87f09ee23e0e22 | [
"MIT"
] | 33 | 2018-06-26T16:21:14.000Z | 2022-03-03T20:55:47.000Z | test/test_page_of_policy.py | kiblik/vm-console-client-python | 038f6d33e8b2654a558326c6eb87f09ee23e0e22 | [
"MIT"
] | 43 | 2018-02-24T05:45:53.000Z | 2022-03-31T22:15:16.000Z | # coding: utf-8
"""
Python InsightVM API Client
OpenAPI spec version: 3
Contact: support@rapid7.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import swagger_client
from swagger_client.models.page_of_policy import Pag... | 21.461538 | 83 | 0.704898 | 98 | 837 | 5.806122 | 0.602041 | 0.091388 | 0.059754 | 0.080844 | 0.108963 | 0.108963 | 0 | 0 | 0 | 0 | 0 | 0.013595 | 0.20908 | 837 | 38 | 84 | 22.026316 | 0.845921 | 0.431302 | 0 | 0.214286 | 1 | 0 | 0.018265 | 0 | 0 | 0 | 0 | 0.026316 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
8e44759b9c6d74206eb8fdced05087df137c48bc | 404 | py | Python | Desafios/desafio108/desafio108.py | VanessaCML/python | 56133b9000ba89154f37038e11a3c2d1aa6d1094 | [
"MIT"
] | null | null | null | Desafios/desafio108/desafio108.py | VanessaCML/python | 56133b9000ba89154f37038e11a3c2d1aa6d1094 | [
"MIT"
] | null | null | null | Desafios/desafio108/desafio108.py | VanessaCML/python | 56133b9000ba89154f37038e11a3c2d1aa6d1094 | [
"MIT"
] | null | null | null | import moeda
num = float(input('Digite um valor: R$ '))
print(f'O dobro de {moeda.moeda(num)} é {moeda.moeda(moeda.dobro(num))}.'
f'\nA metade de {moeda.moeda(num)} é {moeda.moeda(moeda.metade(num))}.'
f'\nO valor {moeda.moeda(num)} acrescido de 10% é {moeda.moeda(moeda.aumentar(num, 10))}.'
f'\nO val... | 57.714286 | 98 | 0.655941 | 68 | 404 | 3.897059 | 0.352941 | 0.45283 | 0.196226 | 0.241509 | 0.528302 | 0.392453 | 0.233962 | 0.233962 | 0 | 0 | 0 | 0.023055 | 0.141089 | 404 | 6 | 99 | 67.333333 | 0.740634 | 0 | 0 | 0 | 0 | 0.666667 | 0.809406 | 0.319307 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6d30ed253a412b5c918d3a1ef2bd20def6759dbc | 53 | py | Python | nocloud/exception/__init__.py | chong601/NoCloud | 98fa5fba5220c5f98a7c55974161c2285615ac1f | [
"MIT"
] | 14 | 2021-02-24T00:11:01.000Z | 2021-06-19T09:58:06.000Z | nocloud/exception/__init__.py | chong601/NoCloud | 98fa5fba5220c5f98a7c55974161c2285615ac1f | [
"MIT"
] | 1 | 2021-03-05T00:12:55.000Z | 2021-03-05T00:17:16.000Z | nocloud/exception/__init__.py | chong601/NoCloud | 98fa5fba5220c5f98a7c55974161c2285615ac1f | [
"MIT"
] | 3 | 2021-02-24T00:23:32.000Z | 2021-03-02T09:09:33.000Z | from .FuckYouLibvirtError import FuckYouLibvirtError
| 26.5 | 52 | 0.90566 | 4 | 53 | 12 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 53 | 1 | 53 | 53 | 0.979592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6d429d775965ce4dbfb866d72e0cf39048c18861 | 5,374 | py | Python | BASE/avrio_pins_h.py | mvyskoc/avrlibs | 9f489a167f43cf471f2c942edb82a8cb1230884b | [
"Apache-2.0"
] | 6 | 2015-08-17T07:28:54.000Z | 2020-02-11T04:58:57.000Z | BASE/avrio_pins_h.py | mvyskoc/avrlibs | 9f489a167f43cf471f2c942edb82a8cb1230884b | [
"Apache-2.0"
] | 1 | 2018-06-18T15:51:26.000Z | 2021-06-22T10:02:17.000Z | BASE/avrio_pins_h.py | mvyskoc/avrlibs | 9f489a167f43cf471f2c942edb82a8cb1230884b | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2015 Martin Vyskocil <m.vyskoc@seznam.cz>
#
# 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 ... | 33.798742 | 106 | 0.62393 | 870 | 5,374 | 3.675862 | 0.17931 | 0.142276 | 0.232645 | 0.089431 | 0.811132 | 0.78424 | 0.759537 | 0.686992 | 0.645716 | 0.635397 | 0 | 0.011215 | 0.220134 | 5,374 | 158 | 107 | 34.012658 | 0.751849 | 0.110904 | 0 | 0.407407 | 0 | 0 | 0.484874 | 0.052941 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.009259 | null | null | 0.009259 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
edc886dbae401ed348443275d5397f72675056f2 | 2,404 | py | Python | resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtGui/QGraphicsLinearLayout.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QGraphicsLinearLayout.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QGraphicsLinearLayout.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module PySide.QtGui
# from C:\Python27\lib\site-packages\PySide\QtGui.pyd
# by generator 1.147
# no doc
# imports
import PySide.QtCore as __PySide_QtCore
import Shiboken as __Shiboken
from QGraphicsLayout import QGraphicsLayout
class QGraphicsLinearLayout(QGraphicsLayout):
# no doc
def a... | 26.417582 | 77 | 0.641431 | 277 | 2,404 | 5.476534 | 0.259928 | 0.205669 | 0.316414 | 0.272907 | 0.619644 | 0.619644 | 0.619644 | 0.594595 | 0 | 0 | 0 | 0.003895 | 0.252496 | 2,404 | 90 | 78 | 26.711111 | 0.840289 | 0.328203 | 0 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.45283 | false | 0.45283 | 0.056604 | 0 | 0.528302 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
edee5f7ffe4682124635d6afa6de19216b8e7a3a | 510 | py | Python | Diena_1_4_thonny/d1_dec7b.py | edzya/Python_RTU_08_20 | d2921d998c611c18328dd523daf976a27ce858c1 | [
"MIT"
] | 8 | 2020-08-31T16:10:54.000Z | 2021-11-24T06:37:37.000Z | Diena_1_4_thonny/d1_dec7b.py | edzya/Python_RTU_08_20 | d2921d998c611c18328dd523daf976a27ce858c1 | [
"MIT"
] | 8 | 2021-06-08T22:30:29.000Z | 2022-03-12T00:48:55.000Z | Diena_1_4_thonny/d1_dec7b.py | edzya/Python_RTU_08_20 | d2921d998c611c18328dd523daf976a27ce858c1 | [
"MIT"
] | 12 | 2020-09-28T17:06:52.000Z | 2022-02-17T12:12:46.000Z | # this is a comment meant for humans to read not computers to interpret
print(" Another hello")
print(" Another hello")
print("Another hello")
print( 366*24*60*60 ) # slikts stils bet strādās
print(366*24*60*60) # pareizāk
# p r i n t # no way :)
# plint("bus kluda")
# print ("Also bad style")
# we do not know a... | 25.5 | 71 | 0.684314 | 82 | 510 | 4.256098 | 0.585366 | 0.252149 | 0.229226 | 0.315186 | 0.383954 | 0.318052 | 0.318052 | 0.157593 | 0 | 0 | 0 | 0.042553 | 0.170588 | 510 | 19 | 72 | 26.842105 | 0.782506 | 0.498039 | 0 | 0.916667 | 0 | 0 | 0.353909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
610c5be80841106213bb170a8363050a5021a7a1 | 4,874 | py | Python | data/script/x_modules/object_detection_config.py | oliverpatrick/python-screen_click_ai | a96e40b727d343ebd36b0bb684ef8e029ff54baa | [
"MIT"
] | 26 | 2019-12-01T16:47:39.000Z | 2020-06-18T19:59:28.000Z | data/script/x_modules/object_detection_config.py | Suirdna/SCA-ScreenClickAi | a96e40b727d343ebd36b0bb684ef8e029ff54baa | [
"MIT"
] | 5 | 2020-01-25T20:46:36.000Z | 2020-11-07T06:23:47.000Z | data/script/x_modules/object_detection_config.py | Suirdna/python-screen_click_ai | a96e40b727d343ebd36b0bb684ef8e029ff54baa | [
"MIT"
] | 7 | 2019-12-04T02:18:20.000Z | 2020-07-04T23:27:41.000Z | class object_detection_config():
SCRIPT_NAME = "OBJECT DETECTION MODULE 0.4v";
SET = "start";
AMES_OBJECT = [
".\\resources\\interface\\modules\\object_detection\\ames\\bee_keeper.png",
".\\resources\\interface\\modules\\object_detection\\ames\\capt_arvan.png",
".\\resource... | 81.233333 | 203 | 0.686705 | 505 | 4,874 | 6.427723 | 0.152475 | 0.244917 | 0.392791 | 0.487061 | 0.794208 | 0.794208 | 0.680838 | 0.255083 | 0.035736 | 0 | 0 | 0.000459 | 0.105458 | 4,874 | 59 | 204 | 82.610169 | 0.744037 | 0 | 0 | 0.096154 | 0 | 0 | 0.828453 | 0.793354 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b65d63c3dc5160aa0a961141ff943d901b34d6d4 | 35 | py | Python | lib/osu/requests/__init__.py | TheGiga/osu-stats | 9c69aeb38254dc8b2ef51942477dccb8ef6623d8 | [
"MIT"
] | 1 | 2022-03-31T15:37:38.000Z | 2022-03-31T15:37:38.000Z | lib/osu/requests/__init__.py | TheGiga/osu-stats | 9c69aeb38254dc8b2ef51942477dccb8ef6623d8 | [
"MIT"
] | null | null | null | lib/osu/requests/__init__.py | TheGiga/osu-stats | 9c69aeb38254dc8b2ef51942477dccb8ef6623d8 | [
"MIT"
] | null | null | null | from .form_request import get_data
| 17.5 | 34 | 0.857143 | 6 | 35 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b67b58f2371c1179618468b305669c14bb14bc7b | 3,986 | py | Python | grpc_app/service_pb2_grpc.py | sungminoh/python-server-benchmark | 0c8a3abbab0641ec5f15378b33f82c286142ae1d | [
"MIT"
] | null | null | null | grpc_app/service_pb2_grpc.py | sungminoh/python-server-benchmark | 0c8a3abbab0641ec5f15378b33f82c286142ae1d | [
"MIT"
] | null | null | null | grpc_app/service_pb2_grpc.py | sungminoh/python-server-benchmark | 0c8a3abbab0641ec5f15378b33f82c286142ae1d | [
"MIT"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from grpc_app import service_pb2 as grpc__app_dot_service__pb2
class MyAppStub(object):
"""Missing associated documentation comment in .proto file."""
... | 39.86 | 99 | 0.666583 | 404 | 3,986 | 6.19802 | 0.237624 | 0.039137 | 0.051917 | 0.088259 | 0.79393 | 0.764377 | 0.764377 | 0.764377 | 0.708466 | 0.662939 | 0 | 0.00473 | 0.257401 | 3,986 | 99 | 100 | 40.262626 | 0.841216 | 0.129202 | 0 | 0.611111 | 1 | 0 | 0.051628 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.027778 | 0.027778 | 0.180556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
b68208cadc5abadf3c508c6f524f07240e3de11f | 289 | py | Python | MeshGeneration/HigherOrderMeshing/__init__.py | szhang-cis/Kuru_Mac | 90caaa37f7917e25afd25de24c06216e202e2e96 | [
"MIT"
] | null | null | null | MeshGeneration/HigherOrderMeshing/__init__.py | szhang-cis/Kuru_Mac | 90caaa37f7917e25afd25de24c06216e202e2e96 | [
"MIT"
] | null | null | null | MeshGeneration/HigherOrderMeshing/__init__.py | szhang-cis/Kuru_Mac | 90caaa37f7917e25afd25de24c06216e202e2e96 | [
"MIT"
] | 1 | 2021-04-22T10:43:44.000Z | 2021-04-22T10:43:44.000Z | #from .HigherOrderMeshingLine import HighOrderMeshLine
#from .HigherOrderMeshingTri import HighOrderMeshTri_SEMISTABLE
#from .HigherOrderMeshingTet import HighOrderMeshTet_SEMISTABLE
from .HigherOrderMeshingQuad import HighOrderMeshQuad
from .HigherOrderMeshingHex import HighOrderMeshHex
| 48.166667 | 63 | 0.903114 | 22 | 289 | 11.772727 | 0.590909 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069204 | 289 | 5 | 64 | 57.8 | 0.962825 | 0.612457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fcb84bee826c4fcf6ddd55b125e09bc147ec64ee | 33 | py | Python | stitches/settings.py | hayleyguillou/stitches | e5aa708895cc25c23bda2edc1948677491abed86 | [
"MIT"
] | null | null | null | stitches/settings.py | hayleyguillou/stitches | e5aa708895cc25c23bda2edc1948677491abed86 | [
"MIT"
] | null | null | null | stitches/settings.py | hayleyguillou/stitches | e5aa708895cc25c23bda2edc1948677491abed86 | [
"MIT"
] | null | null | null | from .config.development import * | 33 | 33 | 0.818182 | 4 | 33 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1e1105b3c446c04c2f01c5ea18a168266d8d4548 | 31 | py | Python | com/wy/example/E_GUI.py | mygodness100/Python | bc3f979156d5de5e698371cc23885323cbc32d9d | [
"Apache-2.0"
] | null | null | null | com/wy/example/E_GUI.py | mygodness100/Python | bc3f979156d5de5e698371cc23885323cbc32d9d | [
"Apache-2.0"
] | null | null | null | com/wy/example/E_GUI.py | mygodness100/Python | bc3f979156d5de5e698371cc23885323cbc32d9d | [
"Apache-2.0"
] | null | null | null | # python的图形化界面使用easygui,tkinter | 31 | 31 | 0.903226 | 2 | 31 | 14 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 31 | 1 | 31 | 31 | 0.933333 | 0.935484 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 1 | 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 | 6 |
1e1fbc990872e9a4e19e31a8636cf22f382d1463 | 225 | py | Python | pyramda/logic/all_pass.py | sergiors/pyramda | 5bf200888809b1bc946e813e29460f204bccd13e | [
"MIT"
] | 124 | 2015-07-30T21:34:25.000Z | 2022-02-19T08:45:50.000Z | pyramda/logic/all_pass.py | sergiors/pyramda | 5bf200888809b1bc946e813e29460f204bccd13e | [
"MIT"
] | 37 | 2015-08-31T23:02:20.000Z | 2022-02-04T04:45:28.000Z | pyramda/logic/all_pass.py | sergiors/pyramda | 5bf200888809b1bc946e813e29460f204bccd13e | [
"MIT"
] | 20 | 2015-08-04T18:59:09.000Z | 2021-12-13T08:08:59.000Z | from pyramda.function.curry import curry
from pyramda.function.always import always
from pyramda.iterable.reduce import reduce
from .both import both
@curry
def all_pass(ps, v):
return reduce(both, always(True), ps)(v)
| 22.5 | 44 | 0.777778 | 35 | 225 | 4.971429 | 0.457143 | 0.189655 | 0.218391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 225 | 9 | 45 | 25 | 0.892308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.571429 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 6 |
1e3303257ef2df1b7ecaf2f08e1c11b4484d7bdb | 43 | py | Python | azmlclient/tests/clients/dummy/web_services/__init__.py | smarie/python-azureml-client | bd1c90137012d040c7fb4dd9acd3665309b46d22 | [
"MIT"
] | 2 | 2017-10-18T16:33:23.000Z | 2019-04-26T17:37:51.000Z | azmlclient/tests/clients/dummy/web_services/__init__.py | smarie/python-azureml-client | bd1c90137012d040c7fb4dd9acd3665309b46d22 | [
"MIT"
] | 16 | 2019-03-28T13:37:02.000Z | 2021-04-12T17:26:42.000Z | azmlclient/tests/clients/dummy/web_services/__init__.py | smarie/python-azureml-client | bd1c90137012d040c7fb4dd9acd3665309b46d22 | [
"MIT"
] | null | null | null | from .server_dummy_ws import start_ws_mock
| 21.5 | 42 | 0.883721 | 8 | 43 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1e33a8a004c09660d67cf269c221e208049f87cd | 135 | py | Python | TgBot/__init__.py | Na3aga/gmbot | c6fa37d4d61a9b023dc36197961706dbcd371e72 | [
"MIT"
] | null | null | null | TgBot/__init__.py | Na3aga/gmbot | c6fa37d4d61a9b023dc36197961706dbcd371e72 | [
"MIT"
] | 21 | 2019-10-23T21:16:18.000Z | 2021-08-02T21:43:46.000Z | TgBot/__init__.py | Na3aga/gmbot | c6fa37d4d61a9b023dc36197961706dbcd371e72 | [
"MIT"
] | 1 | 2019-10-25T23:01:25.000Z | 2019-10-25T23:01:25.000Z | from . import loader
from . import filters
from . import middlewares
from . import utils
from . import states
from .handlers import dp
| 19.285714 | 25 | 0.777778 | 19 | 135 | 5.526316 | 0.473684 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 135 | 6 | 26 | 22.5 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1e5c287ac2dbd4936fb19b2a97e27d9b56cf54b9 | 578 | py | Python | actusmp/model/__init__.py | CasperLabs/actus-mp | 314a157cad085b46754e0c2559798eef70266a41 | [
"Apache-2.0"
] | null | null | null | actusmp/model/__init__.py | CasperLabs/actus-mp | 314a157cad085b46754e0c2559798eef70266a41 | [
"Apache-2.0"
] | null | null | null | actusmp/model/__init__.py | CasperLabs/actus-mp | 314a157cad085b46754e0c2559798eef70266a41 | [
"Apache-2.0"
] | null | null | null | from actusmp.model.applicability import Applicability
from actusmp.model.applicability import ApplicabilityItem
from actusmp.model.applicability import ApplicabilitySet
from actusmp.model.contract import Contract
from actusmp.model.contract import ContractSet
from actusmp.model.term_item import Enum
from actusmp.model.... | 44.461538 | 57 | 0.875433 | 78 | 578 | 6.410256 | 0.230769 | 0.264 | 0.384 | 0.24 | 0.694 | 0.364 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083045 | 578 | 12 | 58 | 48.166667 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1ee43542e1a56e03fc558484c94fb4bb0eb2f5db | 5,631 | py | Python | ucate/library/modules/samplers.py | HadarRosenwald/ucate | f57e47b1baec802c955adc7b07317d8014e50d91 | [
"Apache-2.0"
] | 25 | 2020-10-27T21:30:19.000Z | 2022-01-04T08:12:12.000Z | ucate/library/modules/samplers.py | HadarRosenwald/ucate | f57e47b1baec802c955adc7b07317d8014e50d91 | [
"Apache-2.0"
] | 5 | 2020-11-06T21:30:29.000Z | 2021-05-20T10:03:57.000Z | ucate/library/modules/samplers.py | HadarRosenwald/ucate | f57e47b1baec802c955adc7b07317d8014e50d91 | [
"Apache-2.0"
] | 8 | 2020-12-01T05:44:31.000Z | 2022-03-31T18:18:36.000Z | import tensorflow as tf
from tensorflow_probability import distributions
from ucate.library.modules import dense
class NormalSampler(tf.keras.Model):
def __init__(
self,
dim_output,
num_branches,
num_examples,
beta,
*args,
**kwarg... | 27.334951 | 84 | 0.49263 | 520 | 5,631 | 5.125 | 0.176923 | 0.066041 | 0.036023 | 0.037523 | 0.858161 | 0.847655 | 0.779362 | 0.769231 | 0.769231 | 0.756098 | 0 | 0.015786 | 0.415024 | 5,631 | 205 | 85 | 27.468293 | 0.79326 | 0.076008 | 0 | 0.681319 | 0 | 0 | 0.019842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043956 | false | 0 | 0.016484 | 0 | 0.104396 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
949a004683370f216763ebfb585b196aadd65539 | 44 | py | Python | cride/users/serializers/__init__.py | visidevi/cridepuerto | b21e13ec424e727fca7634bc35e28d074ca810bc | [
"MIT"
] | null | null | null | cride/users/serializers/__init__.py | visidevi/cridepuerto | b21e13ec424e727fca7634bc35e28d074ca810bc | [
"MIT"
] | null | null | null | cride/users/serializers/__init__.py | visidevi/cridepuerto | b21e13ec424e727fca7634bc35e28d074ca810bc | [
"MIT"
] | null | null | null | from .users import *
from .profile import *
| 14.666667 | 22 | 0.727273 | 6 | 44 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 23 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
94bb9dc007bdef072ae6d685adb5ca57dcb89e92 | 11,637 | py | Python | sdk/python/dq_whistler/constraints/number_type.py | nareshbab/dq_whistler | dabc761b201e777efe3070222a9c6c40b8848cfb | [
"MIT"
] | null | null | null | sdk/python/dq_whistler/constraints/number_type.py | nareshbab/dq_whistler | dabc761b201e777efe3070222a9c6c40b8848cfb | [
"MIT"
] | null | null | null | sdk/python/dq_whistler/constraints/number_type.py | nareshbab/dq_whistler | dabc761b201e777efe3070222a9c6c40b8848cfb | [
"MIT"
] | 4 | 2021-10-04T07:10:06.000Z | 2021-10-04T07:39:56.000Z | from dq_whistler.constraints.constraint import Constraint
from typing import Dict, Union
import pyspark.sql.functions as f
from pandas.core.series import Series as pandas_df
from pyspark.sql.dataframe import DataFrame as spark_df
class Equal(Constraint):
"""
Equal constraint class that extends the base Constraint c... | 31.708447 | 114 | 0.694595 | 1,655 | 11,637 | 4.693656 | 0.053776 | 0.081102 | 0.043254 | 0.046344 | 0.932029 | 0.929583 | 0.929583 | 0.929583 | 0.929583 | 0.929583 | 0 | 0.004963 | 0.168858 | 11,637 | 366 | 115 | 31.795082 | 0.79818 | 0.686087 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0 | 0.047619 | 0 | 0.52381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
94c29385166918bf840f0825b577d4aaaaaa019a | 793 | py | Python | pyaz/security/iot_analytics/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/security/iot_analytics/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/security/iot_analytics/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | from ... pyaz_utils import _call_az
def list(resource_group, solution_name):
'''
List all IoT security Analytics metrics.
Required Parameters:
- resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
- solution_name -- Name of the... | 33.041667 | 128 | 0.711223 | 103 | 793 | 5.330097 | 0.300971 | 0.142077 | 0.076503 | 0.091075 | 0.779599 | 0.779599 | 0.779599 | 0.779599 | 0.779599 | 0.779599 | 0 | 0 | 0.199243 | 793 | 23 | 129 | 34.478261 | 0.864567 | 0.602774 | 0 | 0 | 0 | 0 | 0.23166 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
94e4131cd270026cfd72e58ef8938770c601f00c | 24,906 | py | Python | pybind/slxos/v16r_1_00b/mpls_config/router/mpls/mpls_cmds_holder/ldp/ldp_holder/ldp_gr/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/mpls_config/router/mpls/mpls_cmds_holder/ldp/ldp_holder/ldp_gr/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/mpls_config/router/mpls/mpls_cmds_holder/ldp/ldp_holder/ldp_gr/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 94.69962 | 856 | 0.749338 | 3,654 | 24,906 | 4.824849 | 0.052819 | 0.038003 | 0.021781 | 0.043562 | 0.909529 | 0.883324 | 0.871242 | 0.857856 | 0.84498 | 0.838003 | 0 | 0.031881 | 0.105838 | 24,906 | 262 | 857 | 95.061069 | 0.759767 | 0.132097 | 0 | 0.440476 | 0 | 0.029762 | 0.392137 | 0.165879 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107143 | false | 0 | 0.047619 | 0 | 0.279762 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
a2018f61e45ad15f47eaa155e20539a7d0c6596c | 21 | py | Python | plugins/intern/__init__.py | rbracken/internbot | 58b802e0dd7597ace12acd9342bb938e2f33c25d | [
"BSD-2-Clause"
] | 1 | 2016-09-24T16:00:06.000Z | 2016-09-24T16:00:06.000Z | plugins/intern/__init__.py | rbracken/internbot | 58b802e0dd7597ace12acd9342bb938e2f33c25d | [
"BSD-2-Clause"
] | null | null | null | plugins/intern/__init__.py | rbracken/internbot | 58b802e0dd7597ace12acd9342bb938e2f33c25d | [
"BSD-2-Clause"
] | null | null | null | from intern import *
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a21f57565dfae4d708c71d403fad738ade5aa007 | 171 | py | Python | tests/urls.py | camuthig/django-user-api-key | b39291ea3d3bf6a53c84cb0a35398a1bcdc7fb2a | [
"MIT"
] | null | null | null | tests/urls.py | camuthig/django-user-api-key | b39291ea3d3bf6a53c84cb0a35398a1bcdc7fb2a | [
"MIT"
] | null | null | null | tests/urls.py | camuthig/django-user-api-key | b39291ea3d3bf6a53c84cb0a35398a1bcdc7fb2a | [
"MIT"
] | null | null | null | from django.urls import include
from django.urls import path
from django_pat.rest_framework.urls import router
urlpatterns = [
path("api/", include(router.urls)),
]
| 19 | 49 | 0.760234 | 24 | 171 | 5.333333 | 0.5 | 0.234375 | 0.21875 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 171 | 8 | 50 | 21.375 | 0.870748 | 0 | 0 | 0 | 0 | 0 | 0.023392 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bf3e61bef0f85f9ab39bb7adc8beebb63246aa28 | 160 | py | Python | torchpq/util.py | francisr/TorchPQ | cb851053ac01a64b9fa374c9985c354f6249a628 | [
"MIT"
] | null | null | null | torchpq/util.py | francisr/TorchPQ | cb851053ac01a64b9fa374c9985c354f6249a628 | [
"MIT"
] | null | null | null | torchpq/util.py | francisr/TorchPQ | cb851053ac01a64b9fa374c9985c354f6249a628 | [
"MIT"
] | null | null | null | from os import path
def get_absolute_path(*relative_path):
relative_path = path.join(*relative_path)
return path.join(path.dirname(__file__), relative_path) | 40 | 57 | 0.80625 | 24 | 160 | 4.958333 | 0.5 | 0.403361 | 0.268908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 160 | 4 | 57 | 40 | 0.82069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
bfc331efac626b53e2f4ead30007899170a2bfa3 | 189 | py | Python | compressor/filters/jsmin/__init__.py | muhuk/django_compressor | 84921a89efb36f7354f12485d23814c9ec30bf39 | [
"BSD-3-Clause"
] | 1 | 2018-03-19T21:01:55.000Z | 2018-03-19T21:01:55.000Z | compressor/filters/jsmin/__init__.py | muhuk/django_compressor | 84921a89efb36f7354f12485d23814c9ec30bf39 | [
"BSD-3-Clause"
] | null | null | null | compressor/filters/jsmin/__init__.py | muhuk/django_compressor | 84921a89efb36f7354f12485d23814c9ec30bf39 | [
"BSD-3-Clause"
] | null | null | null | from compressor.filters.jsmin.jsmin import jsmin
from compressor.filters import FilterBase
class JSMinFilter(FilterBase):
def output(self, **kwargs):
return jsmin(self.content) | 31.5 | 48 | 0.772487 | 23 | 189 | 6.347826 | 0.608696 | 0.191781 | 0.287671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 189 | 6 | 49 | 31.5 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
44aa7faad13a70d2b07ddd707a1c014a014a30a3 | 158 | py | Python | parliament/__init__.py | lance/parliament | d2bd91c7a67ec0f3aaeaba86a7915b690f35ce14 | [
"MIT"
] | null | null | null | parliament/__init__.py | lance/parliament | d2bd91c7a67ec0f3aaeaba86a7915b690f35ce14 | [
"MIT"
] | null | null | null | parliament/__init__.py | lance/parliament | d2bd91c7a67ec0f3aaeaba86a7915b690f35ce14 | [
"MIT"
] | null | null | null | # __init__.py
from .invocation import Context
from . import server
from . import version
__version__ = version.__version__
__all__ = ["server", "Context"]
| 15.8 | 33 | 0.753165 | 18 | 158 | 5.722222 | 0.5 | 0.407767 | 0.407767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 158 | 9 | 34 | 17.555556 | 0.768657 | 0.06962 | 0 | 0 | 0 | 0 | 0.089655 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
44d48fd2440af1f7621ba14dddb017b6215c189e | 6,262 | py | Python | otcextensions/osclient/dis/v2/checkpoints.py | zsoltn/python-otcextensions | 4c0fa22f095ebd5f9636ae72acbae5048096822c | [
"Apache-2.0"
] | null | null | null | otcextensions/osclient/dis/v2/checkpoints.py | zsoltn/python-otcextensions | 4c0fa22f095ebd5f9636ae72acbae5048096822c | [
"Apache-2.0"
] | null | null | null | otcextensions/osclient/dis/v2/checkpoints.py | zsoltn/python-otcextensions | 4c0fa22f095ebd5f9636ae72acbae5048096822c | [
"Apache-2.0"
] | null | null | null | # 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 writing, software
# distrib... | 38.417178 | 109 | 0.605398 | 698 | 6,262 | 5.224928 | 0.224928 | 0.065808 | 0.051275 | 0.021936 | 0.718673 | 0.701673 | 0.701673 | 0.701673 | 0.701673 | 0.64793 | 0 | 0.006211 | 0.305813 | 6,262 | 162 | 110 | 38.654321 | 0.832758 | 0.092303 | 0 | 0.731343 | 0 | 0 | 0.310041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037313 | false | 0 | 0.037313 | 0 | 0.141791 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
78040edfcbedfb1b0a6a3a2adfc1aa6efa6895f5 | 33,757 | py | Python | pybind/nos/v7_1_0/police_priority_map/exceed/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/police_priority_map/exceed/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/police_priority_map/exceed/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 91.730978 | 673 | 0.743105 | 4,821 | 33,757 | 4.951462 | 0.039618 | 0.015416 | 0.039881 | 0.041557 | 0.914541 | 0.896946 | 0.875079 | 0.872565 | 0.863097 | 0.8512 | 0 | 0.024663 | 0.108777 | 33,757 | 367 | 674 | 91.980926 | 0.768788 | 0.122286 | 0 | 0.482456 | 0 | 0.035088 | 0.408482 | 0.171683 | 0 | 0 | 0 | 0 | 0 | 1 | 0.118421 | false | 0 | 0.035088 | 0 | 0.27193 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
78775b6133d0452a6ddcd33db3f31683e726774e | 260 | py | Python | tests/test_basic.py | tomgidden/python-markdownify | 4fe9021c5f84f33506d575fbcba3364e54471ece | [
"MIT"
] | 36 | 2018-11-03T01:37:30.000Z | 2019-04-07T19:52:34.000Z | tests/test_basic.py | tomgidden/python-markdownify | 4fe9021c5f84f33506d575fbcba3364e54471ece | [
"MIT"
] | 8 | 2020-11-13T19:06:32.000Z | 2022-01-13T03:24:20.000Z | tests/test_basic.py | tomgidden/python-markdownify | 4fe9021c5f84f33506d575fbcba3364e54471ece | [
"MIT"
] | 86 | 2018-11-03T01:38:25.000Z | 2019-04-07T05:55:02.000Z | from markdownify import markdownify as md
def test_single_tag():
assert md('<span>Hello</span>') == 'Hello'
def test_soup():
assert md('<div><span>Hello</div></span>') == 'Hello'
def test_whitespace():
assert md(' a b \n\n c ') == ' a b c '
| 18.571429 | 57 | 0.607692 | 40 | 260 | 3.85 | 0.475 | 0.233766 | 0.155844 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 260 | 13 | 58 | 20 | 0.740385 | 0 | 0 | 0 | 0 | 0 | 0.296154 | 0.111538 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.428571 | true | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
78d3255cfda0702d7d318ead1d8201b363017f8e | 28,846 | py | Python | sac_wgrad/sac.py | swami1995/SimuRLacra | 795e6ea45fbb722242ddb0c0ea5c62432826411e | [
"DOC",
"Zlib",
"BSD-3-Clause"
] | null | null | null | sac_wgrad/sac.py | swami1995/SimuRLacra | 795e6ea45fbb722242ddb0c0ea5c62432826411e | [
"DOC",
"Zlib",
"BSD-3-Clause"
] | null | null | null | sac_wgrad/sac.py | swami1995/SimuRLacra | 795e6ea45fbb722242ddb0c0ea5c62432826411e | [
"DOC",
"Zlib",
"BSD-3-Clause"
] | null | null | null | import os
import torch
import torch.nn.functional as F
from torch.optim import Adam
from utils import soft_update, hard_update
from model import GaussianPolicy, QNetwork, DeterministicPolicy, ValueNetwork, QgradNetwork
import ipdb
class SAC(object):
def __init__(self, num_inputs, action_space, args, env, task_dim,... | 56.895464 | 241 | 0.648478 | 4,173 | 28,846 | 4.148814 | 0.050563 | 0.057182 | 0.030728 | 0.031537 | 0.867845 | 0.820366 | 0.78727 | 0.766361 | 0.745971 | 0.726737 | 0 | 0.013508 | 0.230084 | 28,846 | 506 | 242 | 57.007905 | 0.765591 | 0.221833 | 0 | 0.574534 | 0 | 0 | 0.023353 | 0.010578 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024845 | false | 0 | 0.021739 | 0 | 0.068323 | 0.015528 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
78d435b6f8b8b491d9d07ff68cefd99b1411e0d3 | 257,253 | py | Python | instances/passenger_demand/pas-20210422-1717-int8e-1/93.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int8e-1/93.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int8e-1/93.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 15246
passenger_arriving = (
(1, 2, 3, 1, 7, 3, 0, 2, 1, 2, 0, 1, 0, 2, 1, 4, 1, 3, 3, 1, 1, 0, 2, 0, 0, 0), # 0
(4, 3, 2, 5, 2, 1, 2, 1, 0, 0, 2, 0, 0, 7, 6, 1, 4, 5, 2, 2, 0, 2, 0, 3, 0, 0), # 1
(3, 5, 2, 4, 2, 3, 1, 2, 3, 0, 0, 0, 0, 4, 6, 2, 5, 2, 2, 3, 2, 2, 2, 0, 1, 0), ... | 275.136898 | 493 | 0.768617 | 32,987 | 257,253 | 5.993816 | 0.211659 | 0.360513 | 0.345947 | 0.655479 | 0.379965 | 0.37201 | 0.367604 | 0.36634 | 0.366057 | 0.366057 | 0 | 0.849131 | 0.096147 | 257,253 | 934 | 494 | 275.431478 | 0.0012 | 0.015592 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
156aa0b094b445c09b16b8fbe788599d4f1ec024 | 138 | py | Python | 16- Power digit sum/main.py | HgN37/My-Project-Euler | 310197f81d1eb4d9bb230bf8d8aca843b1779b0c | [
"Apache-2.0"
] | null | null | null | 16- Power digit sum/main.py | HgN37/My-Project-Euler | 310197f81d1eb4d9bb230bf8d8aca843b1779b0c | [
"Apache-2.0"
] | null | null | null | 16- Power digit sum/main.py | HgN37/My-Project-Euler | 310197f81d1eb4d9bb230bf8d8aca843b1779b0c | [
"Apache-2.0"
] | null | null | null | power = 2 ** 1000
power_t = power
sum_t = 0
while power_t != 0:
sum_t = sum_t + (power_t%10)
power_t = power_t / 10
print sum_t
| 13.8 | 32 | 0.623188 | 28 | 138 | 2.75 | 0.321429 | 0.38961 | 0.285714 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 0.268116 | 138 | 9 | 33 | 15.333333 | 0.653465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.142857 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
15be683f88c8259d134fda013cca117b5879e49d | 49 | py | Python | tests/_tests_scripts/core_contrib_nn.py | and-kul/catalyst | 51428d7756e62b9b8ee5379f38e9fd576eeb36e5 | [
"Apache-2.0"
] | 2 | 2019-04-19T21:34:31.000Z | 2019-05-02T22:50:25.000Z | tests/_tests_scripts/core_contrib_nn.py | and-kul/catalyst | 51428d7756e62b9b8ee5379f38e9fd576eeb36e5 | [
"Apache-2.0"
] | 1 | 2021-01-07T16:13:45.000Z | 2021-01-21T09:27:54.000Z | tests/_tests_scripts/core_contrib_nn.py | and-kul/catalyst | 51428d7756e62b9b8ee5379f38e9fd576eeb36e5 | [
"Apache-2.0"
] | 1 | 2018-12-21T15:56:21.000Z | 2018-12-21T15:56:21.000Z | # flake8: noqa
from catalyst.contrib.nn import *
| 16.333333 | 33 | 0.755102 | 7 | 49 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.142857 | 49 | 2 | 34 | 24.5 | 0.857143 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ec6af0409d96c5fb69e90504a80a2f49bbaa7eb3 | 32 | py | Python | jinahub/indexers/DocCache/__init__.py | vivek2301/executors | 8159681d68408ab8f797497bc3374be77e6ca392 | [
"Apache-2.0"
] | null | null | null | jinahub/indexers/DocCache/__init__.py | vivek2301/executors | 8159681d68408ab8f797497bc3374be77e6ca392 | [
"Apache-2.0"
] | null | null | null | jinahub/indexers/DocCache/__init__.py | vivek2301/executors | 8159681d68408ab8f797497bc3374be77e6ca392 | [
"Apache-2.0"
] | null | null | null | from .doc_cache import DocCache
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ecc676b9dd2ad3ecb43961ce264ce83de5760b52 | 76 | py | Python | Unit 04 Functions/01 Functions/Importing Modules/8-Generic Imports.py | lpython2006e/python-samples | b94ba67ce0d7798ecf796dadae206aa75da58301 | [
"MIT"
] | null | null | null | Unit 04 Functions/01 Functions/Importing Modules/8-Generic Imports.py | lpython2006e/python-samples | b94ba67ce0d7798ecf796dadae206aa75da58301 | [
"MIT"
] | null | null | null | Unit 04 Functions/01 Functions/Importing Modules/8-Generic Imports.py | lpython2006e/python-samples | b94ba67ce0d7798ecf796dadae206aa75da58301 | [
"MIT"
] | null | null | null | # Ask Python to print(sqrt(25) on line 3.)
import math
print(math.sqrt(25))
| 19 | 42 | 0.710526 | 15 | 76 | 3.6 | 0.733333 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.144737 | 76 | 3 | 43 | 25.333333 | 0.753846 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
ece156d229975c57f6a49925892c0576e1ef3381 | 78 | py | Python | haravan/resources/address.py | vivekpatel111/HaravanAPI | bec18d43b485c966e1396ce990c7b0fd40c96de0 | [
"MIT"
] | null | null | null | haravan/resources/address.py | vivekpatel111/HaravanAPI | bec18d43b485c966e1396ce990c7b0fd40c96de0 | [
"MIT"
] | null | null | null | haravan/resources/address.py | vivekpatel111/HaravanAPI | bec18d43b485c966e1396ce990c7b0fd40c96de0 | [
"MIT"
] | 1 | 2019-03-08T06:28:48.000Z | 2019-03-08T06:28:48.000Z | from ..base import HaravanResource
class Address(HaravanResource):
pass
| 13 | 34 | 0.769231 | 8 | 78 | 7.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 78 | 5 | 35 | 15.6 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
01bb99dd1492ebe6181c8166015dcc8eb4470149 | 93 | py | Python | model/__init__.py | peternara/graph-based-image-classification-gcn | 60e93b47691e960b7f06f7a5dc11191efe881178 | [
"MIT"
] | 44 | 2017-02-26T16:52:48.000Z | 2022-02-17T18:50:02.000Z | model/__init__.py | hungerzs/graph-based-image-classification | d44182c6a28b4ab9a691a9cb1ecd4c3b851875a8 | [
"MIT"
] | 2 | 2018-11-14T05:11:25.000Z | 2020-06-23T16:24:41.000Z | model/__init__.py | hungerzs/graph-based-image-classification | d44182c6a28b4ab9a691a9cb1ecd4c3b851875a8 | [
"MIT"
] | 13 | 2018-04-26T07:46:35.000Z | 2022-02-28T15:38:53.000Z | from .train import train, train_from_config
from .eval import evaluate, evaluate_from_config
| 31 | 48 | 0.849462 | 14 | 93 | 5.357143 | 0.428571 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 93 | 2 | 49 | 46.5 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
01ef3a95348ae2f60f58f0abc07f0d96b640569b | 314 | py | Python | holobot/extensions/moderation/context_menus/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 1 | 2021-05-24T00:17:46.000Z | 2021-05-24T00:17:46.000Z | holobot/extensions/moderation/context_menus/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 41 | 2021-03-24T22:50:09.000Z | 2021-12-17T12:15:13.000Z | holobot/extensions/moderation/context_menus/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | null | null | null | from .ban_user_menu_item import BanUserMenuItem
from .kick_user_menu_item import KickUserMenuItem
from .moderation_menu_item_base import ModerationMenuItemBase
from .mute_user_menu_item import MuteUserMenuItem
from .unmute_user_menu_item import UnmuteUserMenuItem
from .warn_user_menu_item import WarnUserMenuItem
| 44.857143 | 61 | 0.904459 | 42 | 314 | 6.333333 | 0.428571 | 0.180451 | 0.225564 | 0.338346 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076433 | 314 | 6 | 62 | 52.333333 | 0.917241 | 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 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bf14fd4dcd7215dc44074f1eefc64b1a435ee6c8 | 5,089 | py | Python | backend/migrations/versions/0569209455b1_add_users.py | h3kker/hinkskalle | 609ab67468b7be0e84cf6044ffb5938afcaa0813 | [
"MIT"
] | 4 | 2021-08-07T02:45:40.000Z | 2022-02-16T09:43:11.000Z | backend/migrations/versions/0569209455b1_add_users.py | h3kker/hinkskalle | 609ab67468b7be0e84cf6044ffb5938afcaa0813 | [
"MIT"
] | 11 | 2021-12-17T15:34:18.000Z | 2022-03-31T08:58:12.000Z | backend/migrations/versions/0569209455b1_add_users.py | h3kker/hinkskalle | 609ab67468b7be0e84cf6044ffb5938afcaa0813 | [
"MIT"
] | 1 | 2021-08-07T02:45:49.000Z | 2021-08-07T02:45:49.000Z | """add users
Revision ID: 0569209455b1
Revises: 6f058579e2ab
Create Date: 2020-03-11 22:33:22.524872
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '0569209455b1'
down_revision = '6f058579e2ab'
branch_labels = None
depends_on = None
def upgrade():
# ### ... | 41.373984 | 81 | 0.676164 | 654 | 5,089 | 5.082569 | 0.129969 | 0.080024 | 0.04633 | 0.075812 | 0.82491 | 0.82491 | 0.737365 | 0.712094 | 0.712094 | 0.65704 | 0 | 0.013479 | 0.154451 | 5,089 | 122 | 82 | 41.713115 | 0.759005 | 0.057182 | 0 | 0.617021 | 0 | 0 | 0.146608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0.010638 | 0.021277 | 0 | 0.042553 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
bf169c6e850eb7db54631f7cc9500b660d98c20f | 3,139 | py | Python | self_construct_data/extract.py | rgwt123/DialogueMT | 560f6dc481fb27d58d12b14df1404155c991570f | [
"BSD-3-Clause"
] | 1 | 2021-07-16T09:27:04.000Z | 2021-07-16T09:27:04.000Z | self_construct_data/extract.py | rgwt123/DialogueMT | 560f6dc481fb27d58d12b14df1404155c991570f | [
"BSD-3-Clause"
] | null | null | null | self_construct_data/extract.py | rgwt123/DialogueMT | 560f6dc481fb27d58d12b14df1404155c991570f | [
"BSD-3-Clause"
] | null | null | null | import json
from collections import OrderedDict
f1 = open('data1.csv')
f2 = open('data2.csv')
f1.readline()
f2.readline()
datas = []
for idx, line in enumerate(f1):
line = line.strip()
print(idx, line)
if line == '':
datas.append(one_dialogue)
continue
tokens = line.split('\t')
p... | 28.536364 | 70 | 0.523415 | 405 | 3,139 | 3.891358 | 0.177778 | 0.075508 | 0.082487 | 0.053934 | 0.813452 | 0.773477 | 0.773477 | 0.735406 | 0.684645 | 0.684645 | 0 | 0.015709 | 0.351067 | 3,139 | 109 | 71 | 28.798165 | 0.757977 | 0 | 0 | 0.762376 | 0 | 0 | 0.049379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019802 | 0 | 0.019802 | 0.069307 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
173148dcd069764679aeaf11d9e37787817dcb58 | 354 | py | Python | evaluator_server/rpc/NULL.py | jake-stewart/python-secure-rpc | db5cb525674d9c6c3d8577cf0e857ef17117f236 | [
"MIT"
] | null | null | null | evaluator_server/rpc/NULL.py | jake-stewart/python-secure-rpc | db5cb525674d9c6c3d8577cf0e857ef17117f236 | [
"MIT"
] | null | null | null | evaluator_server/rpc/NULL.py | jake-stewart/python-secure-rpc | db5cb525674d9c6c3d8577cf0e857ef17117f236 | [
"MIT"
] | null | null | null |
class ServerHandler:
def get_public_key(self):
return None
def decrypt(self, data):
return [], data
def encrypt(self, data):
return [], data
class ClientHandler:
def set_public_key(self, _):
pass
def encrypt(self, data):
return [], data
def decrypt(... | 15.391304 | 32 | 0.579096 | 41 | 354 | 4.878049 | 0.365854 | 0.16 | 0.28 | 0.36 | 0.56 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0.324859 | 354 | 22 | 33 | 16.090909 | 0.83682 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.071429 | 0 | 0.357143 | 0.928571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
17603639e46a8b7ba598f3946fb24127fe920c26 | 137 | py | Python | ginga/icons/setup_package.py | chyan26/ginga | e00c887d8660e0a4178f9681ca7ea7784b7ca129 | [
"BSD-3-Clause"
] | 1 | 2019-04-27T01:34:27.000Z | 2019-04-27T01:34:27.000Z | ginga/icons/setup_package.py | chyan26/ginga | e00c887d8660e0a4178f9681ca7ea7784b7ca129 | [
"BSD-3-Clause"
] | null | null | null | ginga/icons/setup_package.py | chyan26/ginga | e00c887d8660e0a4178f9681ca7ea7784b7ca129 | [
"BSD-3-Clause"
] | null | null | null | # Licensed under a 3-clause BSD style license - see LICENSE.rst
def get_package_data():
return {'ginga.icons': ['*.ppm', '*.png']}
| 22.833333 | 63 | 0.656934 | 20 | 137 | 4.4 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.167883 | 137 | 5 | 64 | 27.4 | 0.763158 | 0.445255 | 0 | 0 | 0 | 0 | 0.283784 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
176ae33d6d7cbdfca432ae869998b31c216c7e19 | 215 | py | Python | Codewars/6kyu/ball-upwards/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/6kyu/ball-upwards/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/6kyu/ball-upwards/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
Test.describe('max_ball')
Test.it('Basic tests')
Test.assert_equals(max_ball(37), 10)
Test.assert_equals(max_ball(45), 13)
Test.assert_equals(max_ball(99), 28)
Test.assert_equals(max_ball(85), 24)
| 23.888889 | 36 | 0.748837 | 40 | 215 | 3.8 | 0.525 | 0.230263 | 0.421053 | 0.5 | 0.605263 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095477 | 0.074419 | 215 | 8 | 37 | 26.875 | 0.668342 | 0.065116 | 0 | 0 | 0 | 0 | 0.095477 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1781d475c4e3abe4f31b12523e7de2a719063d3e | 42 | py | Python | src/source_weather/__init__.py | Aluriak/24hducode2016 | 629a3225c5a426d3deb472d67f0e0091904d1547 | [
"Unlicense"
] | null | null | null | src/source_weather/__init__.py | Aluriak/24hducode2016 | 629a3225c5a426d3deb472d67f0e0091904d1547 | [
"Unlicense"
] | null | null | null | src/source_weather/__init__.py | Aluriak/24hducode2016 | 629a3225c5a426d3deb472d67f0e0091904d1547 | [
"Unlicense"
] | null | null | null | from .source_weather import SourceWeather
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
178d9dbfaccc789414d9a77de9024f4e0b27f952 | 39 | py | Python | wiser/models/__init__.py | aabayarea/wiser | 609051b971c879f7112a7b8b85272143342b8078 | [
"Apache-2.0"
] | 75 | 2019-12-21T20:49:36.000Z | 2022-03-28T22:14:29.000Z | wiser/models/__init__.py | aabayarea/wiser | 609051b971c879f7112a7b8b85272143342b8078 | [
"Apache-2.0"
] | 15 | 2019-12-18T10:41:02.000Z | 2021-11-16T00:27:20.000Z | wiser/models/__init__.py | aabayarea/wiser | 609051b971c879f7112a7b8b85272143342b8078 | [
"Apache-2.0"
] | 8 | 2020-01-31T00:39:40.000Z | 2021-12-14T15:41:44.000Z | from .crf_tagger import WiserCrfTagger
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bd713b985cb389f70f28ddd9543027a878853baf | 436 | py | Python | src/core/views.py | bastill/Finmart | 05b49fe2d689173e5f4011655a5f31d03487d4a1 | [
"bzip2-1.0.6"
] | null | null | null | src/core/views.py | bastill/Finmart | 05b49fe2d689173e5f4011655a5f31d03487d4a1 | [
"bzip2-1.0.6"
] | null | null | null | src/core/views.py | bastill/Finmart | 05b49fe2d689173e5f4011655a5f31d03487d4a1 | [
"bzip2-1.0.6"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def home(request):
return render(request, 'core/index.html', {})
def about_us(request):
return render(request, 'core/about.html', {})
def events(request):
return render(request, 'core/events.html', {})
def contact_us(r... | 14.533333 | 51 | 0.612385 | 50 | 436 | 5.3 | 0.42 | 0.245283 | 0.358491 | 0.490566 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240826 | 436 | 29 | 52 | 15.034483 | 0.800604 | 0.052752 | 0 | 0.181818 | 0 | 0 | 0.122016 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0.454545 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bd8562b5f8d0458526e3add61345ef4343c7194e | 412 | py | Python | Day2/2b.py | nint8835/AdventOfCode2019 | 7afd21eafba749761433594104f257b424bf7dce | [
"MIT"
] | 2 | 2019-12-07T21:34:55.000Z | 2019-12-07T22:19:07.000Z | Day2/2b.py | nint8835/AdventOfCode2019 | 7afd21eafba749761433594104f257b424bf7dce | [
"MIT"
] | null | null | null | Day2/2b.py | nint8835/AdventOfCode2019 | 7afd21eafba749761433594104f257b424bf7dce | [
"MIT"
] | null | null | null | print(((r:=[(lambda l:[i for s in l for i in s if i[0]==19690720])([[((f:=(lambda t,i:t if t[i]==99 else f([(o:=(lambda y:lambda t,a,b,c:[y(t,a,b) if x==c else i for x,i in enumerate(t)]))(lambda t,a,b: t[a]+t[b]),o(lambda t,a,b: t[a]*t[b])][t[i]-1](t,*t[i+1:i+4]),i+4)))([(t:=list(map(int,open("i").read().split(","))))... | 206 | 411 | 0.526699 | 112 | 412 | 1.9375 | 0.321429 | 0.0553 | 0.0553 | 0.124424 | 0.119816 | 0.119816 | 0.119816 | 0.119816 | 0 | 0 | 0 | 0.085791 | 0.09466 | 412 | 1 | 412 | 412 | 0.495979 | 0 | 0 | 0 | 0 | 0 | 0.004854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
bd8c57b145daad62cbf9c8dfccbda714e85ae35f | 155 | py | Python | cogs/info/__init__.py | DangVietH/DangVietBot | e59092c57d990339d6a4f0cd412e5f243df2d6ed | [
"MIT"
] | 2 | 2022-03-24T09:03:40.000Z | 2022-03-25T18:31:42.000Z | cogs/info/__init__.py | DangVietH/DangVietBot | e59092c57d990339d6a4f0cd412e5f243df2d6ed | [
"MIT"
] | null | null | null | cogs/info/__init__.py | DangVietH/DangVietBot | e59092c57d990339d6a4f0cd412e5f243df2d6ed | [
"MIT"
] | null | null | null | from .info import Info
from .statcord import StatcordPost
async def setup(bot):
await bot.add_cog(Info(bot))
await bot.add_cog(StatcordPost(bot)) | 22.142857 | 40 | 0.748387 | 24 | 155 | 4.75 | 0.5 | 0.140351 | 0.192982 | 0.245614 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154839 | 155 | 7 | 40 | 22.142857 | 0.870229 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bd961b6cd33346cb33c1c96ac3cf0ade30dc897e | 103 | py | Python | tuples-and-sets/demos_sets.py | Minkov/python-advanced-2020-01 | f2ee26f1325d943529673457a1cbba5657ae5905 | [
"MIT"
] | 5 | 2020-01-16T18:17:08.000Z | 2020-04-12T06:42:47.000Z | tuples-and-sets/demos_sets.py | Minkov/python-advanced-2020-01 | f2ee26f1325d943529673457a1cbba5657ae5905 | [
"MIT"
] | null | null | null | tuples-and-sets/demos_sets.py | Minkov/python-advanced-2020-01 | f2ee26f1325d943529673457a1cbba5657ae5905 | [
"MIT"
] | null | null | null | a = {1, 2, 3, 4}
b = {3, 4, 5, 6}
print(a & b)
print(a.intersection(b))
print(a | b)
print(a.union(b)) | 14.714286 | 24 | 0.533981 | 24 | 103 | 2.291667 | 0.458333 | 0.436364 | 0.381818 | 0.436364 | 0.472727 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 0.194175 | 103 | 7 | 25 | 14.714286 | 0.566265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
da27d6cab7b5d0e7a0cf6bdc169dec9261ce02d2 | 18 | py | Python | __init__.py | Hieuzest/pcr-box-detector | 77095057f1ee3d8bcc50fe30f4d4ff2024d88a83 | [
"MIT"
] | 3 | 2020-07-27T15:34:29.000Z | 2020-07-27T15:38:43.000Z | __init__.py | Hieuzest/pcr-box-detector | 77095057f1ee3d8bcc50fe30f4d4ff2024d88a83 | [
"MIT"
] | null | null | null | __init__.py | Hieuzest/pcr-box-detector | 77095057f1ee3d8bcc50fe30f4d4ff2024d88a83 | [
"MIT"
] | null | null | null | from . import box
| 9 | 17 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da4be1ad6fd7ef8dd7e7312216c3b3f019cbee3f | 137 | py | Python | mysite/mysite/views.py | HelloMrGeorge/LinearAlgebraMachine | 78a002347341eb2612e8d9222e60663e06aad449 | [
"MIT"
] | 5 | 2022-01-24T13:57:30.000Z | 2022-03-17T04:32:10.000Z | mysite/mysite/views.py | HelloMrGeorge/LinearAlgebraMachine | 78a002347341eb2612e8d9222e60663e06aad449 | [
"MIT"
] | 15 | 2021-09-27T07:15:44.000Z | 2022-02-01T14:56:37.000Z | mysite/mysite/views.py | HelloMrGeorge/LinearAlgebraMachine | 78a002347341eb2612e8d9222e60663e06aad449 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import JsonResponse
def home_page(request):
return render(request, 'HOME.html') | 27.4 | 39 | 0.79562 | 19 | 137 | 5.684211 | 0.684211 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124088 | 137 | 5 | 39 | 27.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
16ff2330ae7fdced660cb40b5a166247eda899ad | 18,168 | py | Python | phns/tests/test_compare.py | DeepLenin/phns | 80fb48d032cd159782a5d96724e91540a55271ef | [
"MIT"
] | 5 | 2020-04-03T20:59:46.000Z | 2020-07-08T17:40:40.000Z | phns/tests/test_compare.py | DeepLenin/phns | 80fb48d032cd159782a5d96724e91540a55271ef | [
"MIT"
] | null | null | null | phns/tests/test_compare.py | DeepLenin/phns | 80fb48d032cd159782a5d96724e91540a55271ef | [
"MIT"
] | null | null | null | import numpy as np
from phns.compare import closest
from phns.graph import Graph
from phns.utils import Dictionary
def assert_closest(canonical, closest):
changed = []
for k in ["target", "deletes", "inserts", "replaces"]:
if canonical.get(k) != closest[k]:
changed.append(k)
if chang... | 28.21118 | 88 | 0.389586 | 2,555 | 18,168 | 2.681018 | 0.044227 | 0.115037 | 0.144964 | 0.145401 | 0.855912 | 0.848321 | 0.836204 | 0.809489 | 0.808029 | 0.778248 | 0 | 0.101247 | 0.377532 | 18,168 | 643 | 89 | 28.255054 | 0.504465 | 0.048492 | 0 | 0.630237 | 0 | 0 | 0.098702 | 0 | 0 | 0 | 0 | 0 | 0.007286 | 1 | 0.04918 | false | 0 | 0.007286 | 0 | 0.056466 | 0.010929 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
e554246ac77b09e7012268fd5a7fff558b1dd91e | 23 | py | Python | public/wp-content/themes/manifest/__init__.py | hxdnp001/heroku-wp | 3602bbd22204eb5201dcd8e49ffb1a234309fbf0 | [
"MIT"
] | null | null | null | public/wp-content/themes/manifest/__init__.py | hxdnp001/heroku-wp | 3602bbd22204eb5201dcd8e49ffb1a234309fbf0 | [
"MIT"
] | null | null | null | public/wp-content/themes/manifest/__init__.py | hxdnp001/heroku-wp | 3602bbd22204eb5201dcd8e49ffb1a234309fbf0 | [
"MIT"
] | null | null | null | from .manifest import * | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e562b109bfd0e2f5541a9b72f27c60cd390c2796 | 5,179 | py | Python | tests/syllabification_test.py | cadia-lvl/lvl_tts_frontend | 5100cba30d77424899679044c90a0de9f9c1777a | [
"Apache-2.0"
] | null | null | null | tests/syllabification_test.py | cadia-lvl/lvl_tts_frontend | 5100cba30d77424899679044c90a0de9f9c1777a | [
"Apache-2.0"
] | 1 | 2021-06-01T11:56:52.000Z | 2021-06-01T11:56:52.000Z | tests/syllabification_test.py | cadia-lvl/lvl_tts_frontend | 5100cba30d77424899679044c90a0de9f9c1777a | [
"Apache-2.0"
] | 2 | 2019-11-11T10:15:36.000Z | 2019-12-05T10:43:59.000Z | # -*- coding: utf-8 -*-
import unittest
from pron_dict import entry
from pron_dict import syllabification
from pron_dict import tree_builder
class TestSyllabification(unittest.TestCase):
def get_syllable_arr(self, syllables):
syllable_arr = []
for syll in syllables:
syllable_arr.app... | 43.889831 | 114 | 0.631396 | 766 | 5,179 | 4.071802 | 0.105744 | 0.112536 | 0.062841 | 0.079192 | 0.836807 | 0.832959 | 0.832959 | 0.832959 | 0.832959 | 0.832959 | 0 | 0.002333 | 0.255069 | 5,179 | 117 | 115 | 44.264957 | 0.806117 | 0.0363 | 0 | 0.569767 | 0 | 0 | 0.163826 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 1 | 0.046512 | false | 0 | 0.046512 | 0 | 0.116279 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
e59556ed5ed3e12150fa1f6788491012b3878167 | 1,111 | py | Python | src/smalltrain/utils/lap_time.py | Gauthams1/smalltrain | ac833d58ff2b577277079633da1b20eb50b8d332 | [
"MIT"
] | 32 | 2020-11-01T13:16:24.000Z | 2022-03-12T03:09:57.000Z | src/smalltrain/utils/lap_time.py | Gauthams1/smalltrain | ac833d58ff2b577277079633da1b20eb50b8d332 | [
"MIT"
] | 12 | 2020-11-02T08:48:53.000Z | 2022-03-12T00:51:05.000Z | src/smalltrain/utils/lap_time.py | Gauthams1/smalltrain | ac833d58ff2b577277079633da1b20eb50b8d332 | [
"MIT"
] | 9 | 2020-11-07T07:14:59.000Z | 2021-11-21T04:54:59.000Z | import time
class LapTime:
def __init__(self):
self.time_table = {}
self.lap_time_table = {}
def start(self, proc_name):
try:
self.lap_time_table[proc_name]['start_time'] = time.time()
except KeyError:
self.lap_time_table[proc_name] = {}
se... | 24.688889 | 111 | 0.588659 | 138 | 1,111 | 4.398551 | 0.130435 | 0.197694 | 0.163097 | 0.237232 | 0.797364 | 0.797364 | 0.747941 | 0.747941 | 0.729819 | 0.729819 | 0 | 0 | 0.311431 | 1,111 | 44 | 112 | 25.25 | 0.793464 | 0 | 0 | 0.46875 | 0 | 0 | 0.056911 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.03125 | 0 | 0.4375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
e5a0935fadd034f824b1186c9dd713b4cb77bede | 32 | py | Python | github.py | zhangpengye/GaoDeMap_pachong | af4ee7fb3528a9321b6341f489d460d2fc870da9 | [
"bzip2-1.0.6"
] | null | null | null | github.py | zhangpengye/GaoDeMap_pachong | af4ee7fb3528a9321b6341f489d460d2fc870da9 | [
"bzip2-1.0.6"
] | null | null | null | github.py | zhangpengye/GaoDeMap_pachong | af4ee7fb3528a9321b6341f489d460d2fc870da9 | [
"bzip2-1.0.6"
] | null | null | null |
import requests
print(' ')
| 8 | 15 | 0.71875 | 4 | 32 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 3 | 16 | 10.666667 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
e5a13fd97b62ab34a3956084cbfc54bbd067eee9 | 226 | py | Python | src/provider/ValueProvider.py | purplecode/espresso | 12fc017e6cefeabd26d18b71f14e54cb89974cbe | [
"MIT"
] | null | null | null | src/provider/ValueProvider.py | purplecode/espresso | 12fc017e6cefeabd26d18b71f14e54cb89974cbe | [
"MIT"
] | null | null | null | src/provider/ValueProvider.py | purplecode/espresso | 12fc017e6cefeabd26d18b71f14e54cb89974cbe | [
"MIT"
] | null | null | null | from src.utils.DictUtils import DictUtils
class ValueProvider(object):
def __init__(self, dictionary):
self.dictionary = dictionary
def getValue(self, path):
return DictUtils.get(self.dictionary, path)
| 22.6 | 48 | 0.725664 | 26 | 226 | 6.153846 | 0.615385 | 0.2625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185841 | 226 | 9 | 49 | 25.111111 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e5d35c4754e3ce4f4c6918d44c287b376e756d3c | 36,199 | py | Python | tests/test_schema_validator.py | HackSoftware/simple_schema_validator | 703aaff3f3596521589450f65fbb3844ff13e723 | [
"MIT"
] | 26 | 2019-02-06T14:54:35.000Z | 2021-06-11T07:11:27.000Z | tests/test_schema_validator.py | HackSoftware/simple_schema_validator | 703aaff3f3596521589450f65fbb3844ff13e723 | [
"MIT"
] | 2 | 2019-02-13T09:55:00.000Z | 2020-07-06T07:20:28.000Z | tests/test_schema_validator.py | HackSoftware/simple_schema_validator | 703aaff3f3596521589450f65fbb3844ff13e723 | [
"MIT"
] | null | null | null | import unittest
from typing import Any
from simple_schema_validator import schema_validator, types
class SchemaValidatorTests(unittest.TestCase):
def get_invalid_message(self, validation):
parts = [
f'Keys in data, but not in schema: {validation.additional_keys}',
f'Keys in schem... | 29.192742 | 94 | 0.454515 | 3,112 | 36,199 | 5.162596 | 0.037596 | 0.129777 | 0.124486 | 0.154363 | 0.926677 | 0.90178 | 0.860637 | 0.839973 | 0.82049 | 0.807917 | 0 | 0.005194 | 0.425564 | 36,199 | 1,239 | 95 | 29.216303 | 0.767433 | 0 | 0 | 0.634096 | 0 | 0 | 0.105942 | 0.002127 | 0 | 0 | 0 | 0 | 0.193347 | 1 | 0.028067 | false | 0 | 0.003119 | 0 | 0.033264 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
00ca794f76db232cbd75adb71b66144dcf5a5653 | 47 | py | Python | tests/_site/apps/customer/models.py | izi-core/izi-core | 21176be2d41f0cf54ca954f294209c585f643dba | [
"BSD-3-Clause"
] | null | null | null | tests/_site/apps/customer/models.py | izi-core/izi-core | 21176be2d41f0cf54ca954f294209c585f643dba | [
"BSD-3-Clause"
] | null | null | null | tests/_site/apps/customer/models.py | izi-core/izi-core | 21176be2d41f0cf54ca954f294209c585f643dba | [
"BSD-3-Clause"
] | null | null | null | from izi.apps.customer.models import * # noqa
| 23.5 | 46 | 0.744681 | 7 | 47 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 1 | 47 | 47 | 0.875 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dabbd6030c7d6c0b6968426dd6e861c4fbe6b158 | 3,787 | py | Python | test/antlr_parser_tests.py | lanasheep/graph_DB | 139aca8d1fa376291a181606b4d6fbc5be82de55 | [
"MIT"
] | null | null | null | test/antlr_parser_tests.py | lanasheep/graph_DB | 139aca8d1fa376291a181606b4d6fbc5be82de55 | [
"MIT"
] | 4 | 2020-09-27T10:46:29.000Z | 2020-10-03T08:34:38.000Z | test/antlr_parser_tests.py | lanasheep/graph_DB | 139aca8d1fa376291a181606b4d6fbc5be82de55 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import pytest
import os
from antlr_parser import get_stream
from antlr_parser import check
from antlr_parser import print_tree_dot
def test_check_connect_stmt(tmp_path, capsys):
tmp_file = tmp_path / "file.txt"
tmp_file.write_text("connect to [/home/user/graph_db];")
check(get_strea... | 28.051852 | 87 | 0.657777 | 596 | 3,787 | 3.944631 | 0.147651 | 0.080391 | 0.070183 | 0.070183 | 0.836665 | 0.836665 | 0.81795 | 0.81795 | 0.81795 | 0.81795 | 0 | 0.011364 | 0.186691 | 3,787 | 134 | 88 | 28.261194 | 0.751948 | 0.005545 | 0 | 0.65 | 0 | 0.0125 | 0.1658 | 0.006355 | 0 | 0 | 0 | 0 | 0.2125 | 1 | 0.1375 | false | 0 | 0.0625 | 0 | 0.2 | 0.0625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
dac4c107cd6d9618e968167f30ecb3f177484a16 | 63 | py | Python | django_simple_2fa/auth_types/__init__.py | rebotics/django-simple-2fa | 004124122434b252a0a67dd79ac5f8aea6e03ad3 | [
"MIT"
] | 4 | 2021-05-06T09:25:03.000Z | 2021-07-07T08:40:16.000Z | django_simple_2fa/auth_types/__init__.py | rebotics/django-simple-2fa | 004124122434b252a0a67dd79ac5f8aea6e03ad3 | [
"MIT"
] | null | null | null | django_simple_2fa/auth_types/__init__.py | rebotics/django-simple-2fa | 004124122434b252a0a67dd79ac5f8aea6e03ad3 | [
"MIT"
] | null | null | null | from .base import *
from .direct import *
from .email import *
| 15.75 | 21 | 0.714286 | 9 | 63 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 3 | 22 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dacce2558c2edc5816c64855cf33ef9e1f4ee1a8 | 76 | py | Python | ch_07/task05.py | berchev/python_learning | 5b99065cade53c64b4ede3d0e583c58573ca654c | [
"MIT"
] | null | null | null | ch_07/task05.py | berchev/python_learning | 5b99065cade53c64b4ede3d0e583c58573ca654c | [
"MIT"
] | null | null | null | ch_07/task05.py | berchev/python_learning | 5b99065cade53c64b4ede3d0e583c58573ca654c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
print('avocado'.find('o', 'avocado'.find('o') + 1))
| 15.2 | 51 | 0.592105 | 12 | 76 | 3.75 | 0.75 | 0.488889 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.105263 | 76 | 4 | 52 | 19 | 0.647059 | 0.263158 | 0 | 0 | 0 | 0 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.