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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
556731a35682ef9f34de75b049e18d73969d3bfa | 1,574 | py | Python | lib/Vector.py | aldahick/dotter.py | c3e783801f36403476087b5638a93e5fd5959bbe | [
"MIT"
] | null | null | null | lib/Vector.py | aldahick/dotter.py | c3e783801f36403476087b5638a93e5fd5959bbe | [
"MIT"
] | null | null | null | lib/Vector.py | aldahick/dotter.py | c3e783801f36403476087b5638a93e5fd5959bbe | [
"MIT"
] | null | null | null | import math
from random import randint
# pylint: disable=I0011,invalid-name
class Vector(object):
def __init__(self, x, y=None):
self.x = x
if y is None:
self.y = x
else:
self.y = y
def get_distance(self, other):
distance = self.get_distance_components(o... | 26.677966 | 71 | 0.559085 | 232 | 1,574 | 3.676724 | 0.224138 | 0.046893 | 0.087925 | 0.089097 | 0.253224 | 0.253224 | 0.192263 | 0.192263 | 0.192263 | 0.192263 | 0 | 0.008287 | 0.310038 | 1,574 | 58 | 72 | 27.137931 | 0.777164 | 0.021601 | 0 | 0.111111 | 0 | 0 | 0.005202 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.044444 | 0.133333 | 0.622222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
557c04366bccd072c61ed9301e5aeee3a5f38113 | 142 | py | Python | app.py | WIZ7ZY/flask-app | b59b0b84543c4f0faf40c57b4753a3c324edc2d8 | [
"MIT"
] | null | null | null | app.py | WIZ7ZY/flask-app | b59b0b84543c4f0faf40c57b4753a3c324edc2d8 | [
"MIT"
] | null | null | null | app.py | WIZ7ZY/flask-app | b59b0b84543c4f0faf40c57b4753a3c324edc2d8 | [
"MIT"
] | null | null | null | from web import create_app
import ntplib
if __name__ == '__main__':
app = create_app(debug=False)
app.run(host='0.0.0.0', port=5000)
| 20.285714 | 38 | 0.690141 | 24 | 142 | 3.666667 | 0.666667 | 0.068182 | 0.068182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.169014 | 142 | 6 | 39 | 23.666667 | 0.677966 | 0 | 0 | 0 | 0 | 0 | 0.105634 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
55837f3526a4635ce717d7aeac4df126359ab0fc | 78 | py | Python | {{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/nn.py | SauravMaheshkar/cookiecutter-kaggle-cv-starter | fb7b8b84daa039034d53398f64e5adfaeead6445 | [
"MIT"
] | null | null | null | {{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/nn.py | SauravMaheshkar/cookiecutter-kaggle-cv-starter | fb7b8b84daa039034d53398f64e5adfaeead6445 | [
"MIT"
] | null | null | null | {{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/nn.py | SauravMaheshkar/cookiecutter-kaggle-cv-starter | fb7b8b84daa039034d53398f64e5adfaeead6445 | [
"MIT"
] | null | null | null | import torch.nn as nn
__all__ = ["Model"]
class Model(nn.Module):
pass
| 9.75 | 23 | 0.653846 | 12 | 78 | 3.916667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217949 | 78 | 7 | 24 | 11.142857 | 0.770492 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
5598fc6baf6adbca126912ba31690ef9d92c7c11 | 2,106 | py | Python | utils/boilerplate/test_gorilla.py | cfginn/sap-simulation-package | 73314e5380cec5c61a9fe5ff5fbafa25b9e2beac | [
"MIT"
] | null | null | null | utils/boilerplate/test_gorilla.py | cfginn/sap-simulation-package | 73314e5380cec5c61a9fe5ff5fbafa25b9e2beac | [
"MIT"
] | null | null | null | utils/boilerplate/test_gorilla.py | cfginn/sap-simulation-package | 73314e5380cec5c61a9fe5ff5fbafa25b9e2beac | [
"MIT"
] | null | null | null |
import unittest
from pysapets.gorilla import Gorilla
from pysapets.animal import Animal
import pysapets.constants as constants
from unittest.mock import patch
from io import StringIO
from copy import deepcopy
class GorillaTest(unittest.TestCase):
def setUp(self):
self.gorilla = Gorilla()
self.friends = [se... | 31.432836 | 96 | 0.74359 | 293 | 2,106 | 5.180887 | 0.208191 | 0.055336 | 0.032938 | 0.075758 | 0.563241 | 0.449275 | 0.297101 | 0.128459 | 0.080369 | 0.059289 | 0 | 0.015553 | 0.175689 | 2,106 | 67 | 97 | 31.432836 | 0.858871 | 0.245014 | 0 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.230769 | 1 | 0.333333 | false | 0.102564 | 0.179487 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
55bfeb24ff5584cd80bb449c46db4ec74f53fd3c | 102 | py | Python | API/utils/tokenizer.py | accordproject/labs-cicero-classify | 3a52ebaf45252515c417bf94a05e33fc1c2628b8 | [
"Apache-2.0"
] | 2 | 2021-07-07T01:06:18.000Z | 2021-11-12T18:54:21.000Z | API/utils/tokenizer.py | accordproject/labs_cicero_classify | 3a52ebaf45252515c417bf94a05e33fc1c2628b8 | [
"Apache-2.0"
] | 3 | 2021-06-25T12:40:23.000Z | 2022-02-14T13:42:30.000Z | API/utils/tokenizer.py | accordproject/labs_cicero_classify | 3a52ebaf45252515c417bf94a05e33fc1c2628b8 | [
"Apache-2.0"
] | null | null | null | from transformers import RobertaTokenizer
tokenizer = RobertaTokenizer.from_pretrained("roberta-base") | 51 | 60 | 0.872549 | 10 | 102 | 8.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 102 | 2 | 60 | 51 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e96a119d9fa6a43015c4274d98d22fcf31a25276 | 3,181 | py | Python | 2020/python/template.py | tadhg-ohiggins/advent-of-code | d0f113955940e69cbe0953607f62862f8a8bb830 | [
"CC0-1.0"
] | 1 | 2021-12-04T18:09:44.000Z | 2021-12-04T18:09:44.000Z | 2020/python/template.py | tadhg-ohiggins/advent-of-code | d0f113955940e69cbe0953607f62862f8a8bb830 | [
"CC0-1.0"
] | null | null | null | 2020/python/template.py | tadhg-ohiggins/advent-of-code | d0f113955940e69cbe0953607f62862f8a8bb830 | [
"CC0-1.0"
] | null | null | null | from tutils import pdb
from tutils import subprocess
from tutils import Counter
from tutils import partial
from tutils import reduce
from tutils import wraps
from tutils import count
from tutils import groupby
from tutils import product
from tutils import prod
from tutils import itemgetter
from tutils import Path
from ... | 25.653226 | 77 | 0.786231 | 479 | 3,181 | 5.068894 | 0.242171 | 0.317133 | 0.507414 | 0.031301 | 0.178336 | 0.024712 | 0.024712 | 0.024712 | 0 | 0 | 0 | 0.007657 | 0.178875 | 3,181 | 123 | 78 | 25.861789 | 0.921899 | 0 | 0 | 0.074074 | 0 | 0 | 0.02125 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 1 | 0.027778 | false | 0 | 0.712963 | 0 | 0.759259 | 0.037037 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e9a8550e13deee649e253f45b07fa459658b1f18 | 205 | py | Python | hw_asr/model/__init__.py | ArturGoldman/ASR-HW | 96494a7ce3f6661fbafb8077f15ece8c6e4b1a11 | [
"MIT"
] | null | null | null | hw_asr/model/__init__.py | ArturGoldman/ASR-HW | 96494a7ce3f6661fbafb8077f15ece8c6e4b1a11 | [
"MIT"
] | null | null | null | hw_asr/model/__init__.py | ArturGoldman/ASR-HW | 96494a7ce3f6661fbafb8077f15ece8c6e4b1a11 | [
"MIT"
] | 1 | 2021-10-29T18:46:14.000Z | 2021-10-29T18:46:14.000Z | from hw_asr.model.baseline_model import BaselineModel, BasicLSTM, BasicGRU
from hw_asr.model.QuartzNet import QuartzNet
__all__ = [
"BaselineModel",
"BasicLSTM",
"BasicGRU",
"QuartzNet"
]
| 20.5 | 74 | 0.731707 | 22 | 205 | 6.5 | 0.5 | 0.083916 | 0.125874 | 0.195804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 205 | 9 | 75 | 22.777778 | 0.841176 | 0 | 0 | 0 | 0 | 0 | 0.190244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e9d02a79d3683b498fff07cac5f4adf3cfd6b53d | 356 | py | Python | applications/admin.py | Riphiphip/website | dc5bf64f24d5cf78661686af0281705f4d1d2576 | [
"MIT"
] | null | null | null | applications/admin.py | Riphiphip/website | dc5bf64f24d5cf78661686af0281705f4d1d2576 | [
"MIT"
] | null | null | null | applications/admin.py | Riphiphip/website | dc5bf64f24d5cf78661686af0281705f4d1d2576 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Application, ApplicationGroup, ApplicationPeriod
class ApplicationAdmin(admin.ModelAdmin):
list_display = [
'__str__',
]
admin.site.register(Application, ApplicationAdmin)
admin.site.register(ApplicationGroup, ApplicationAdmin)
admin.site.register(A... | 29.666667 | 68 | 0.803371 | 33 | 356 | 8.515152 | 0.515152 | 0.224199 | 0.181495 | 0.234875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115169 | 356 | 11 | 69 | 32.363636 | 0.892063 | 0 | 0 | 0 | 0 | 0 | 0.019663 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e9dfba4367dce3d55494d724918c8e7f5c9acb43 | 2,301 | py | Python | tests/timesheet/test_regroup.py | simonbru/taxi | 3940f520b6d61b5ac7c851c38dfd05da2f65b647 | [
"WTFPL"
] | 17 | 2016-02-02T14:10:49.000Z | 2021-11-30T00:04:29.000Z | tests/timesheet/test_regroup.py | simonbru/taxi | 3940f520b6d61b5ac7c851c38dfd05da2f65b647 | [
"WTFPL"
] | 70 | 2015-01-08T17:02:42.000Z | 2021-09-21T20:08:07.000Z | tests/timesheet/test_regroup.py | simonbru/taxi | 3940f520b6d61b5ac7c851c38dfd05da2f65b647 | [
"WTFPL"
] | 8 | 2015-08-23T12:50:36.000Z | 2021-11-26T10:33:45.000Z | import datetime
from . import create_timesheet
def test_regroup_doesnt_regroup_entries_with_different_alias():
contents = """01.04.2013
foo 2 bar
bar 2 bar"""
t = create_timesheet(contents)
entries = list(t.entries.filter(regroup=True).values())[0]
assert len(entries) == 2
def test_regroup_doesnt_... | 25.285714 | 78 | 0.694046 | 346 | 2,301 | 4.416185 | 0.182081 | 0.026178 | 0.04712 | 0.064791 | 0.792539 | 0.757853 | 0.757853 | 0.757853 | 0.674084 | 0.583115 | 0 | 0.08351 | 0.177749 | 2,301 | 90 | 79 | 25.566667 | 0.724101 | 0 | 0 | 0.552239 | 0 | 0 | 0.159496 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 1 | 0.119403 | false | 0 | 0.029851 | 0 | 0.149254 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
756552474094f48324d4b90b89114e9f83580b79 | 1,971 | py | Python | pyext/professor2/__init__.py | iamholger/professor | 25753a19de0dbbd2db0eb80cedc87adc017459a1 | [
"MIT"
] | 2 | 2016-12-01T13:08:45.000Z | 2017-01-09T05:36:44.000Z | pyext/professor2/__init__.py | iamholger/professor | 25753a19de0dbbd2db0eb80cedc87adc017459a1 | [
"MIT"
] | null | null | null | pyext/professor2/__init__.py | iamholger/professor | 25753a19de0dbbd2db0eb80cedc87adc017459a1 | [
"MIT"
] | null | null | null | import sys
pyversion = sys.version_info
if sys.version_info[0] < 2 or (sys.version_info[0] == 2 and sys.version_info[1] < 7):
raise Exception("Professor2 requires Python 2.7 or greater")
## Import Cython wrappings on the C++ core library
from professor2.core import *
__version__ = version()
from professor2.errors... | 33.40678 | 119 | 0.620497 | 209 | 1,971 | 5.272727 | 0.497608 | 0.165154 | 0.181488 | 0.027223 | 0.029038 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.247083 | 1,971 | 58 | 120 | 33.982759 | 0.704852 | 0.257737 | 0 | 0 | 0 | 0 | 0.067207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.615385 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7589bb1ca93e2908a7e4afbfc16f38fe65552b2e | 646 | py | Python | tests/conftest.py | josiahls/fast-reinforcement-learning | 66136009dd7052d4a9c07631d5c170c9aeba67f3 | [
"Apache-2.0"
] | 42 | 2019-08-06T14:09:43.000Z | 2022-03-03T19:03:26.000Z | tests/conftest.py | josiahls/fast-reinforcement-learning | 66136009dd7052d4a9c07631d5c170c9aeba67f3 | [
"Apache-2.0"
] | 7 | 2019-08-12T23:04:25.000Z | 2021-01-15T16:39:57.000Z | tests/conftest.py | josiahls/fast-reinforcement-learning | 66136009dd7052d4a9c07631d5c170c9aeba67f3 | [
"Apache-2.0"
] | 6 | 2019-09-20T20:08:59.000Z | 2021-04-03T15:34:11.000Z | import pytest
def pytest_addoption(parser):
parser.addoption("--include_performance_tests", action="store_true",
help="Will run the performance tests which do full model testing. This could take a few"
"days to fully accomplish.")
@pytest.fixture()
def include_pe... | 35.888889 | 118 | 0.732198 | 77 | 646 | 5.935065 | 0.545455 | 0.245077 | 0.301969 | 0.126915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190402 | 646 | 17 | 119 | 38 | 0.873805 | 0 | 0 | 0.166667 | 0 | 0 | 0.407121 | 0.122291 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.083333 | 0.416667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
75d0eb05faa1f187e229cf597a3a8352882ca242 | 2,888 | py | Python | tests/tests_tabu.py | Antash696/VRP | 386b84adbe34be37aabc1e638515ce722849a952 | [
"MIT"
] | 33 | 2017-10-18T01:18:27.000Z | 2021-10-04T14:17:52.000Z | tests/tests_tabu.py | dj-boy/VRP | 386b84adbe34be37aabc1e638515ce722849a952 | [
"MIT"
] | 1 | 2020-12-21T01:59:21.000Z | 2020-12-21T01:59:21.000Z | tests/tests_tabu.py | dj-boy/VRP | 386b84adbe34be37aabc1e638515ce722849a952 | [
"MIT"
] | 19 | 2017-06-26T15:02:00.000Z | 2022-03-31T08:44:20.000Z | import unittest
from code import instance as i
from code import datamapping as dm
from code import greedyfirst as gf
from code import algorithm as a
from code import baseobjects as bo
from code import tabu
class TestTabuSpecific(unittest.TestCase):
def setUp(self):
raw_data = dm.Importer()
# ra... | 39.027027 | 146 | 0.674169 | 399 | 2,888 | 4.709273 | 0.203008 | 0.059606 | 0.111762 | 0.108568 | 0.712081 | 0.712081 | 0.712081 | 0.613092 | 0.613092 | 0.613092 | 0 | 0.027577 | 0.183864 | 2,888 | 73 | 147 | 39.561644 | 0.769622 | 0.225069 | 0 | 0.380952 | 0 | 0 | 0.022492 | 0.009897 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.119048 | false | 0 | 0.261905 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
75e695aeba900a9af2ded444426e995f02d6bb1e | 1,508 | py | Python | deep-rl/lib/python2.7/site-packages/OpenGL/GL/AMD/blend_minmax_factor.py | ShujaKhalid/deep-rl | 99c6ba6c3095d1bfdab81bd01395ced96bddd611 | [
"MIT"
] | 210 | 2016-04-09T14:26:00.000Z | 2022-03-25T18:36:19.000Z | deep-rl/lib/python2.7/site-packages/OpenGL/GL/AMD/blend_minmax_factor.py | ShujaKhalid/deep-rl | 99c6ba6c3095d1bfdab81bd01395ced96bddd611 | [
"MIT"
] | 72 | 2016-09-04T09:30:19.000Z | 2022-03-27T17:06:53.000Z | deep-rl/lib/python2.7/site-packages/OpenGL/GL/AMD/blend_minmax_factor.py | ShujaKhalid/deep-rl | 99c6ba6c3095d1bfdab81bd01395ced96bddd611 | [
"MIT"
] | 64 | 2016-04-09T14:26:49.000Z | 2022-03-21T11:19:47.000Z | '''OpenGL extension AMD.blend_minmax_factor
This module customises the behaviour of the
OpenGL.raw.GL.AMD.blend_minmax_factor to provide a more
Python-friendly API
Overview (from the spec)
The EXT_blend_minmax extension extended the GL's blending functionality
to allow the blending equation to be specified by t... | 40.756757 | 79 | 0.812334 | 225 | 1,508 | 5.346667 | 0.426667 | 0.054863 | 0.058188 | 0.083126 | 0.214464 | 0.187032 | 0.147132 | 0.121363 | 0.068163 | 0 | 0 | 0 | 0.144562 | 1,508 | 37 | 80 | 40.756757 | 0.932558 | 0.786472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
75ecad4259bc7591e4a570004208ede9470250fd | 92 | py | Python | src/__init__.py | jmknoll/ig-autofriend | 8de322b59c13346d21d6b11775cbad51b4e4920f | [
"MIT"
] | null | null | null | src/__init__.py | jmknoll/ig-autofriend | 8de322b59c13346d21d6b11775cbad51b4e4920f | [
"MIT"
] | null | null | null | src/__init__.py | jmknoll/ig-autofriend | 8de322b59c13346d21d6b11775cbad51b4e4920f | [
"MIT"
] | null | null | null | from InstaFriend import InstaFriend
friend = InstaFriend('bonesaw')
friend.say_something() | 18.4 | 35 | 0.815217 | 10 | 92 | 7.4 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 92 | 5 | 36 | 18.4 | 0.891566 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
75efb0136dccedb3a2615588ac4efa68a29d7748 | 414 | py | Python | wxpy/utils/__init__.py | frkhit/bl_wxpy | b03bc63d51592d32ee218ef6fd1022df6ef75069 | [
"MIT"
] | 3 | 2019-06-24T02:19:19.000Z | 2021-02-14T05:27:16.000Z | wxpy/utils/__init__.py | frkhit/bl_wxpy | b03bc63d51592d32ee218ef6fd1022df6ef75069 | [
"MIT"
] | null | null | null | wxpy/utils/__init__.py | frkhit/bl_wxpy | b03bc63d51592d32ee218ef6fd1022df6ef75069 | [
"MIT"
] | 1 | 2021-02-08T03:50:05.000Z | 2021-02-08T03:50:05.000Z | from .console import embed, shell_entry
from .misc import decode_webwx_emoji, enhance_connection, ensure_list, get_raw_dict, get_receiver, \
get_text_without_at_bot, get_username, match_attributes, match_name, match_text, new_local_msg_id, repr_message, \
smart_map, start_new_thread
from .puid_map import PuidMa... | 59.142857 | 118 | 0.84058 | 64 | 414 | 4.953125 | 0.765625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103865 | 414 | 6 | 119 | 69 | 0.854447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f941abe12e92f9a9d99898da1845f80024a4bf16 | 105 | py | Python | dash_react_json_schema_form/_imports_.py | dabble-of-devops-bioanalyze/dash_react_json_schema_form | f8b8826e6798efca1a7f603aa73b9e054056dc9a | [
"Apache-2.0"
] | null | null | null | dash_react_json_schema_form/_imports_.py | dabble-of-devops-bioanalyze/dash_react_json_schema_form | f8b8826e6798efca1a7f603aa73b9e054056dc9a | [
"Apache-2.0"
] | null | null | null | dash_react_json_schema_form/_imports_.py | dabble-of-devops-bioanalyze/dash_react_json_schema_form | f8b8826e6798efca1a7f603aa73b9e054056dc9a | [
"Apache-2.0"
] | null | null | null | from .DashReactJsonSchemaForm import DashReactJsonSchemaForm
__all__ = [
"DashReactJsonSchemaForm"
] | 21 | 60 | 0.819048 | 6 | 105 | 13.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 105 | 5 | 61 | 21 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0.216981 | 0.216981 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f9570198e7a5f622e1af77b862f79e6f0ce39380 | 486 | py | Python | infrastructure/crypto_ml/agent/SimpleAgent.py | ATCUWgithub/CryptoML | 6010c5daf7d985217fa76197b29331457a60a306 | [
"MIT"
] | 1 | 2020-02-18T00:38:16.000Z | 2020-02-18T00:38:16.000Z | infrastructure/crypto_ml/agent/SimpleAgent.py | ATCUWgithub/CryptoML | 6010c5daf7d985217fa76197b29331457a60a306 | [
"MIT"
] | null | null | null | infrastructure/crypto_ml/agent/SimpleAgent.py | ATCUWgithub/CryptoML | 6010c5daf7d985217fa76197b29331457a60a306 | [
"MIT"
] | 1 | 2020-02-18T00:39:12.000Z | 2020-02-18T00:39:12.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright © 2020 UWATC. All rights reserved.
#
# Use of this source code is governed by an MIT license that can
# be found in the LICENSE.txt file or at https://opensource.org/licenses/MIT
from .AgentTemplate import AgentTemplate
class SimpleAgent(AgentTemplate):
def... | 32.4 | 76 | 0.748971 | 73 | 486 | 4.917808 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.148148 | 486 | 15 | 77 | 32.4 | 0.850242 | 0.625514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
f96ffcf56dbd7255308f0925c87a38f826c98376 | 595 | py | Python | web_app/routes/Directory.py | AmyBeisel/BW_Med_Cabinet | 3cce7ff14f2324cdb81a7a1ea313037a6e3eead6 | [
"MIT"
] | null | null | null | web_app/routes/Directory.py | AmyBeisel/BW_Med_Cabinet | 3cce7ff14f2324cdb81a7a1ea313037a6e3eead6 | [
"MIT"
] | null | null | null | web_app/routes/Directory.py | AmyBeisel/BW_Med_Cabinet | 3cce7ff14f2324cdb81a7a1ea313037a6e3eead6 | [
"MIT"
] | null | null | null | # Directory.py
# Import
from flask import Blueprint, render_template
# Make Blueprint for __init__.py
Directory = Blueprint("Directory", __name__)
# App Welcome Page
@Directory.route('/')
def index():
return render_template("home.html", message = "DS Med Cabinet API using natural language processing to re... | 17.5 | 168 | 0.734454 | 75 | 595 | 5.666667 | 0.586667 | 0.131765 | 0.127059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156303 | 595 | 33 | 169 | 18.030303 | 0.846614 | 0.171429 | 0 | 0 | 0 | 0 | 0.355967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.272727 | 0.636364 | 0.181818 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f9962c0754c5c1d3d6c4db26b056e29e7ec2794f | 188 | py | Python | tests/data/demo-project/demo/c/d.py | youngquan/goldenmask | 5b16eea94df7ddd988fae0c1a4e265b16af9ded2 | [
"Apache-2.0"
] | 6 | 2020-04-28T18:13:54.000Z | 2021-12-23T18:26:30.000Z | tests/data/demo-project/demo/c/d.py | youngquan/goldenmask | 5b16eea94df7ddd988fae0c1a4e265b16af9ded2 | [
"Apache-2.0"
] | 1 | 2020-04-28T18:08:46.000Z | 2020-04-30T12:49:46.000Z | tests/data/demo-project/demo/c/d.py | youngquan/goldenmask | 5b16eea94df7ddd988fae0c1a4e265b16af9ded2 | [
"Apache-2.0"
] | 1 | 2020-08-18T21:03:39.000Z | 2020-08-18T21:03:39.000Z | def e():
print("This is function e in file d!")
class E:
def __init__(self):
self.content = "This is class E in file d"
def print(self):
print(self.content)
| 17.090909 | 50 | 0.585106 | 30 | 188 | 3.533333 | 0.433333 | 0.113208 | 0.132075 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.297872 | 188 | 10 | 51 | 18.8 | 0.80303 | 0 | 0 | 0 | 0 | 0 | 0.287234 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.571429 | 0.428571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 3 |
f9a2d31ea31e4c014413d3196c6cde1579895080 | 100 | py | Python | data_types/numeric_type/float_type.py | aryanz-co-in/python-indentation-datatypes-tamil | 69c291f0b6bd911fec96e8cd9e670880501d9959 | [
"Apache-2.0"
] | null | null | null | data_types/numeric_type/float_type.py | aryanz-co-in/python-indentation-datatypes-tamil | 69c291f0b6bd911fec96e8cd9e670880501d9959 | [
"Apache-2.0"
] | null | null | null | data_types/numeric_type/float_type.py | aryanz-co-in/python-indentation-datatypes-tamil | 69c291f0b6bd911fec96e8cd9e670880501d9959 | [
"Apache-2.0"
] | null | null | null | # int, float, complex Numeric Types
# Float are nothing but decimal values
pi = 3.14
print(pi)
| 12.5 | 38 | 0.7 | 16 | 100 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.22 | 100 | 7 | 39 | 14.285714 | 0.858974 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
f9a4a4c34323aeec9f75c70fae31ad785ce964df | 721 | py | Python | resotocore/tests/resotocore/dependencies_test.py | someengineering/resoto | ee17313f5376e9797ed305e7fdb62d40139a6608 | [
"Apache-2.0"
] | 126 | 2022-01-13T18:22:03.000Z | 2022-03-31T11:03:14.000Z | resotocore/tests/resotocore/dependencies_test.py | someengineering/resoto | ee17313f5376e9797ed305e7fdb62d40139a6608 | [
"Apache-2.0"
] | 110 | 2022-01-13T22:27:55.000Z | 2022-03-30T22:26:50.000Z | resotocore/tests/resotocore/dependencies_test.py | someengineering/resoto | ee17313f5376e9797ed305e7fdb62d40139a6608 | [
"Apache-2.0"
] | 8 | 2022-01-15T10:28:16.000Z | 2022-03-30T16:38:21.000Z | from typing import Tuple, List
from resotocore.dependencies import parse_args
from resotocore.types import JsonElement
def test_parse_override() -> None:
def parse(args: str) -> List[Tuple[str, JsonElement]]:
return parse_args(args.split()).config_override # type: ignore
assert parse(f"--override a... | 45.0625 | 103 | 0.617198 | 104 | 721 | 4.230769 | 0.326923 | 0.054545 | 0.136364 | 0.227273 | 0.493182 | 0.315909 | 0.156818 | 0 | 0 | 0 | 0 | 0 | 0.144244 | 721 | 15 | 104 | 48.066667 | 0.713128 | 0.016644 | 0 | 0 | 0 | 0 | 0.29703 | 0.114569 | 0 | 0 | 0 | 0 | 0.454545 | 1 | 0.181818 | false | 0 | 0.272727 | 0.090909 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f9af9e5f05d82322479bf82bec5cb2e8770d26f1 | 119 | py | Python | code/aoc/day1.py | souradeepta/PythonPractice | fa956ca4b87a0eb92fee21fa78e59757ce665770 | [
"MIT"
] | null | null | null | code/aoc/day1.py | souradeepta/PythonPractice | fa956ca4b87a0eb92fee21fa78e59757ce665770 | [
"MIT"
] | 4 | 2021-03-19T02:04:20.000Z | 2021-09-22T18:54:16.000Z | code/aoc/day1.py | souradeepta/PythonPractice | fa956ca4b87a0eb92fee21fa78e59757ce665770 | [
"MIT"
] | null | null | null |
def input_parse():
with open("day1.txt", r) as inputFile:
input_list = inputFile.readline()
return | 23.8 | 42 | 0.621849 | 15 | 119 | 4.8 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.260504 | 119 | 5 | 43 | 23.8 | 0.806818 | 0 | 0 | 0 | 0 | 0 | 0.067227 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f9b3824e8469cbf08d1932118a1c35ca85f4a512 | 207 | py | Python | robots/PDF.py | NaskIII/Projeto-Alpha-X | 23e3de59185cdc85b7fc13299cfc51846bfc63b6 | [
"MIT"
] | null | null | null | robots/PDF.py | NaskIII/Projeto-Alpha-X | 23e3de59185cdc85b7fc13299cfc51846bfc63b6 | [
"MIT"
] | 3 | 2019-08-26T03:51:57.000Z | 2019-08-29T04:24:51.000Z | robots/PDF.py | NaskIII/Projeto-Alpha-X | 23e3de59185cdc85b7fc13299cfc51846bfc63b6 | [
"MIT"
] | null | null | null | import sys
import os
class PDF(object):
def pdf(self, docx):
sofficepath = 'soffice'
convertcmd = '%s --headless --convert-to pdf %%s' % sofficepath
os.popen(convertcmd % docx)
| 20.7 | 71 | 0.613527 | 25 | 207 | 5.08 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 207 | 9 | 72 | 23 | 0.830065 | 0 | 0 | 0 | 0 | 0 | 0.198068 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f9b5b83c0da1cf14ae65df8fb1a134313f52638f | 1,181 | py | Python | ntlmlib/__init__.py | Dlat/ntlmlib | 49eadfe4701bcce84a4ca9cbab5b6d5d72eaad05 | [
"Apache-2.0"
] | 1 | 2018-08-20T19:33:58.000Z | 2018-08-20T19:33:58.000Z | ntlmlib/__init__.py | Dlat/ntlmlib | 49eadfe4701bcce84a4ca9cbab5b6d5d72eaad05 | [
"Apache-2.0"
] | null | null | null | ntlmlib/__init__.py | Dlat/ntlmlib | 49eadfe4701bcce84a4ca9cbab5b6d5d72eaad05 | [
"Apache-2.0"
] | null | null | null | """
_ _ _ _ _
_ __ | |_| |_ __ ___ | (_) |__
| '_ \| __| | '_ ` _ \| | | '_ \
| | | | |_| | | | | | | | | |_) |
|_| |_|\__|_|_| |_| |_|_|_|_.__/
A robust, fast and efficient 'first-class' Python Library for NTLM authentication, signing and encryption
(c) 2015, Ian Clegg <ian.clegg@sour... | 33.742857 | 106 | 0.679932 | 147 | 1,181 | 5.170068 | 0.673469 | 0.078947 | 0.034211 | 0.042105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010799 | 0.215919 | 1,181 | 34 | 107 | 34.735294 | 0.809935 | 0.780694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
f9e1ea0fa4cb837c6d62e27ef66230461e2beb01 | 139 | py | Python | libkludge/generate/this_access.py | zhangxiao6776/kludge | 17a561f4b15399edd8175c883f8410a1b23c4d90 | [
"BSD-3-Clause"
] | null | null | null | libkludge/generate/this_access.py | zhangxiao6776/kludge | 17a561f4b15399edd8175c883f8410a1b23c4d90 | [
"BSD-3-Clause"
] | null | null | null | libkludge/generate/this_access.py | zhangxiao6776/kludge | 17a561f4b15399edd8175c883f8410a1b23c4d90 | [
"BSD-3-Clause"
] | 2 | 2017-12-01T20:44:14.000Z | 2021-08-21T21:47:04.000Z | #
# Copyright (c) 2010-2016, Fabric Software Inc. All rights reserved.
#
class ThisAccess(object):
const = 0
mutable = 1
static = 2
| 15.444444 | 68 | 0.676259 | 19 | 139 | 4.947368 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100917 | 0.215827 | 139 | 8 | 69 | 17.375 | 0.761468 | 0.47482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ddab703f80463a12929dce437920fcb4f1403fd4 | 151 | py | Python | assignment2/scripts/exploit15/exploit15.py | vhazali/cs5331 | 3b3618aaa17199ebcd3c01bc6c25ddbdbe4f3d0f | [
"MIT"
] | 8 | 2020-02-22T12:47:12.000Z | 2021-12-03T11:39:19.000Z | assignment2/scripts/exploit15/exploit15.py | vhazali/cs5331 | 3b3618aaa17199ebcd3c01bc6c25ddbdbe4f3d0f | [
"MIT"
] | null | null | null | assignment2/scripts/exploit15/exploit15.py | vhazali/cs5331 | 3b3618aaa17199ebcd3c01bc6c25ddbdbe4f3d0f | [
"MIT"
] | 4 | 2018-08-15T12:58:36.000Z | 2021-12-29T07:06:29.000Z | import webbrowser
url = 'http://www.wsb.com/Assignment2/case15.php?videourl=" onerror="alert(document.cookie)'
new = 2
webbrowser.open(url, new=new)
| 21.571429 | 92 | 0.748344 | 22 | 151 | 5.136364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.086093 | 151 | 6 | 93 | 25.166667 | 0.789855 | 0 | 0 | 0 | 0 | 0.25 | 0.56 | 0.206667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ddba665d13fe8e2f5bc1b2bf2549c77f6e609bdd | 1,213 | py | Python | caosmedicallab.py | erichilarysmithsr/CAOSMedicalLabDb | 9a7acee44f9f3680c0a01332797ce94a0895c2d1 | [
"Apache-2.0"
] | null | null | null | caosmedicallab.py | erichilarysmithsr/CAOSMedicalLabDb | 9a7acee44f9f3680c0a01332797ce94a0895c2d1 | [
"Apache-2.0"
] | 10 | 2021-04-03T14:00:28.000Z | 2022-01-28T23:44:11.000Z | caosmedicallab.py | erichilarysmithsr/CAOSMedicalLabDb | 9a7acee44f9f3680c0a01332797ce94a0895c2d1 | [
"Apache-2.0"
] | null | null | null | >>> S = 'Susceptible'
>>> print(S)
>>> E = 'Exposed'
>>> print(E)
>>> I = 'Infectious'
>>> print(I)
>>> R = 'Removed'
>>> print(R)
>>> N = 'Total Population'
>>> print(N)
>>> C = 'Living with COVID19'
>>> print(C)
>>> D = 'Living with Diabetes'
>>> print(D)
>>> Susceptible = input('Enter number of Susceptible Individua... | 31.921053 | 84 | 0.645507 | 158 | 1,213 | 4.955696 | 0.158228 | 0.127714 | 0.14304 | 0.16092 | 0.148148 | 0.099617 | 0.099617 | 0 | 0 | 0 | 0 | 0.023369 | 0.153339 | 1,213 | 37 | 85 | 32.783784 | 0.739046 | 0 | 0 | 0.054054 | 0 | 0 | 0.300082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.594595 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
ddc2ab09f2aabd1f5e1c2e16308c14b4efc96586 | 101 | py | Python | dask_xgboost/__init__.py | ksangeek/dask-xgboost | 8ca1d69f21a6c666eaf581fb88b20cff2b6b05ef | [
"BSD-3-Clause"
] | null | null | null | dask_xgboost/__init__.py | ksangeek/dask-xgboost | 8ca1d69f21a6c666eaf581fb88b20cff2b6b05ef | [
"BSD-3-Clause"
] | null | null | null | dask_xgboost/__init__.py | ksangeek/dask-xgboost | 8ca1d69f21a6c666eaf581fb88b20cff2b6b05ef | [
"BSD-3-Clause"
] | null | null | null | from .core import _train, train, predict, XGBClassifier, XGBRegressor # noqa
__version__ = '0.1.7'
| 25.25 | 77 | 0.742574 | 13 | 101 | 5.384615 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 0.148515 | 101 | 3 | 78 | 33.666667 | 0.77907 | 0.039604 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ddd29b6ed93109a393ac788b23f262d228d22a8b | 621 | py | Python | reviews/migrations/0016_auto_20180908_1733.py | UrbanBogger/horrorexplosion | 3698e00a6899a5e8b224cd3d1259c3deb3a2ca80 | [
"MIT"
] | null | null | null | reviews/migrations/0016_auto_20180908_1733.py | UrbanBogger/horrorexplosion | 3698e00a6899a5e8b224cd3d1259c3deb3a2ca80 | [
"MIT"
] | 4 | 2020-06-05T18:21:18.000Z | 2021-06-10T20:17:31.000Z | reviews/migrations/0016_auto_20180908_1733.py | UrbanBogger/horrorexplosion | 3698e00a6899a5e8b224cd3d1259c3deb3a2ca80 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2018-09-08 16:33
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('reviews', '0015_auto_20180908_1626'),
]
operations = [
migrations.RemoveField(
... | 22.178571 | 48 | 0.574879 | 62 | 621 | 5.5 | 0.66129 | 0.184751 | 0.228739 | 0.26393 | 0.360704 | 0.360704 | 0.246334 | 0.246334 | 0 | 0 | 0 | 0.077283 | 0.312399 | 621 | 27 | 49 | 23 | 0.721311 | 0.109501 | 0 | 0.45 | 1 | 0 | 0.16 | 0.08 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dddf4b825918a14f6e6549a6e8c4a604f9609cd9 | 295 | py | Python | tests/test_pass.py | zaber-paul/base | 9c4d4e40db7a5059dcaa32d44be0146b6bb829c4 | [
"Apache-2.0"
] | null | null | null | tests/test_pass.py | zaber-paul/base | 9c4d4e40db7a5059dcaa32d44be0146b6bb829c4 | [
"Apache-2.0"
] | null | null | null | tests/test_pass.py | zaber-paul/base | 9c4d4e40db7a5059dcaa32d44be0146b6bb829c4 | [
"Apache-2.0"
] | null | null | null | """ run with
nosetests -v --nocapture
or
nosetests -v
"""
from builtins import object
from cloudmesh_base.util import HEADING
class Test_pass(object):
def setup(self):
pass
def tearDown(self):
pass
def test_dummy(self):
HEADING()
assert True
| 11.8 | 39 | 0.630508 | 37 | 295 | 4.945946 | 0.648649 | 0.10929 | 0.120219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284746 | 295 | 24 | 40 | 12.291667 | 0.867299 | 0.176271 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.3 | false | 0.3 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
ddeff9d5eb6e649b509f4b345051a62872b3798f | 186 | py | Python | homepage/templatetags/infos_tags.py | phodal/phodaldev | b5a48339a21b5674a70d284a85ef8c45e010fe43 | [
"MIT"
] | 94 | 2015-01-28T15:46:02.000Z | 2020-11-02T12:56:15.000Z | homepage/templatetags/infos_tags.py | phodal/phodaldev | b5a48339a21b5674a70d284a85ef8c45e010fe43 | [
"MIT"
] | 56 | 2015-04-05T03:18:41.000Z | 2021-08-29T00:50:57.000Z | homepage/templatetags/infos_tags.py | phodal/phodaldev | b5a48339a21b5674a70d284a85ef8c45e010fe43 | [
"MIT"
] | 38 | 2015-08-26T08:10:12.000Z | 2021-06-11T19:36:31.000Z | from mezzanine import template
from homepage.models import Info
register = template.Library()
@register.as_tag
def about():
about = Info.objects.get(type="ABOUT")
return about
| 18.6 | 42 | 0.747312 | 25 | 186 | 5.52 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155914 | 186 | 9 | 43 | 20.666667 | 0.878981 | 0 | 0 | 0 | 0 | 0 | 0.026882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
fb04b4d690c1875517b3d05188b4d5a597035143 | 865 | py | Python | server/src/dixit/game/test/player.py | rcjsuen/dixit-online | e7a1c9b5b1a2a92160c6d90397adaa81ddcae91a | [
"MIT"
] | 75 | 2016-08-05T10:37:32.000Z | 2022-01-27T17:05:50.000Z | server/src/dixit/game/test/player.py | rcjsuen/dixit-online | e7a1c9b5b1a2a92160c6d90397adaa81ddcae91a | [
"MIT"
] | 15 | 2020-03-19T16:27:59.000Z | 2022-02-13T08:41:54.000Z | server/src/dixit/game/test/player.py | rcjsuen/dixit-online | e7a1c9b5b1a2a92160c6d90397adaa81ddcae91a | [
"MIT"
] | 27 | 2018-02-27T13:32:46.000Z | 2021-12-26T06:42:08.000Z |
from django.test import TestCase
from django.contrib.auth.models import User
from dixit import settings
from dixit.game.models.game import Game, GameStatus
from dixit.game.models.player import Player
class PlayerTest(TestCase):
fixtures = ['game_testcards.json', ]
def setUp(self):
self.user = User.... | 36.041667 | 101 | 0.719075 | 115 | 865 | 5.347826 | 0.356522 | 0.105691 | 0.042276 | 0.061789 | 0.146341 | 0.146341 | 0.146341 | 0.146341 | 0.146341 | 0 | 0 | 0.012295 | 0.153757 | 865 | 23 | 102 | 37.608696 | 0.827869 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | false | 0.125 | 0.3125 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
fb1a14af54cb6584a01ac6a47d46cd0d5260f471 | 293 | py | Python | tests/test_lqr_speed_steer_control.py | pruidzeko/PythonRobotics | 5ff9b70d737121c2947d844ecfb1fa07abdd210c | [
"MIT"
] | 38 | 2019-12-08T12:26:04.000Z | 2022-03-06T11:29:08.000Z | tests/test_lqr_speed_steer_control.py | pruidzeko/PythonRobotics | 5ff9b70d737121c2947d844ecfb1fa07abdd210c | [
"MIT"
] | 61 | 2020-08-17T20:02:09.000Z | 2022-03-14T20:01:01.000Z | tests/test_lqr_speed_steer_control.py | pruidzeko/PythonRobotics | 5ff9b70d737121c2947d844ecfb1fa07abdd210c | [
"MIT"
] | 15 | 2020-02-12T15:57:28.000Z | 2021-08-28T07:39:18.000Z | from unittest import TestCase
import sys
sys.path.append("./PathTracking/lqr_speed_steer_control/")
from PathTracking.lqr_speed_steer_control import lqr_speed_steer_control as m
print(__file__)
class Test(TestCase):
def test1(self):
m.show_animation = False
m.main()
| 18.3125 | 77 | 0.754266 | 41 | 293 | 5.04878 | 0.609756 | 0.115942 | 0.188406 | 0.289855 | 0.309179 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004082 | 0.163823 | 293 | 15 | 78 | 19.533333 | 0.840816 | 0 | 0 | 0 | 0 | 0 | 0.133106 | 0.133106 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.555556 | 0.111111 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fb1f5f0f7eda29bb259446b27b1eadc2e86cdafe | 174 | py | Python | eln/commands/news/templates/articles.py | lehvitus/eln | b78362af20cacffe076bf3dbfd27dcc090e43e39 | [
"BSD-3-Clause"
] | 2 | 2020-02-05T04:00:32.000Z | 2020-03-18T02:12:33.000Z | eln/commands/news/templates/articles.py | oleoneto/eln | b78362af20cacffe076bf3dbfd27dcc090e43e39 | [
"BSD-3-Clause"
] | 1 | 2020-03-18T02:36:04.000Z | 2020-03-18T02:36:04.000Z | eln/commands/news/templates/articles.py | oleoneto/eln | b78362af20cacffe076bf3dbfd27dcc090e43e39 | [
"BSD-3-Clause"
] | null | null | null | from jinja2 import Template
articles_template = Template("""{{ index }}. {{ title }}
\tAuthor: {{ author }}
\tPublished on: {{ publication_date }}
\tSource: {{ url }}
""")
| 19.333333 | 56 | 0.632184 | 17 | 174 | 6.352941 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0.16092 | 174 | 8 | 57 | 21.75 | 0.732877 | 0 | 0 | 0 | 0 | 0 | 0.614943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fb21c669f057d7c99ae18966e97b4d0e1e081af7 | 255 | py | Python | statistical_clear_sky/algorithm/exception.py | elsirdavid/StatisticalClearSky | bc3aa9de56a9347c10e2afe23af486d32d476273 | [
"BSD-2-Clause"
] | 16 | 2019-05-09T14:17:22.000Z | 2022-02-23T18:41:13.000Z | statistical_clear_sky/algorithm/exception.py | elsirdavid/StatisticalClearSky | bc3aa9de56a9347c10e2afe23af486d32d476273 | [
"BSD-2-Clause"
] | 7 | 2019-07-09T18:32:29.000Z | 2021-07-01T22:28:32.000Z | statistical_clear_sky/algorithm/exception.py | tadatoshi/StatisticalClearSky | 40a7354f8e8b65c8008a56c655dddff700031558 | [
"BSD-2-Clause"
] | 4 | 2019-12-20T19:15:09.000Z | 2021-04-29T17:40:40.000Z | """
Defines exceptions used in the context of this module "algorithm"
"""
class ProblemStatusError(Exception):
"""Error thrown when SCSF algorithm experiences something other than
an 'optimal' problem status during one of
the solve steps."""
| 28.333333 | 72 | 0.741176 | 32 | 255 | 5.90625 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180392 | 255 | 8 | 73 | 31.875 | 0.904306 | 0.745098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
fb27d1e80db32688183c68acefc2b5b91660e81e | 852 | py | Python | src/core/schemas/entries/event.py | nefarius/portfolio-backend | f595041354eedee71a4aa5b761501be030b81d09 | [
"Apache-2.0"
] | 6 | 2019-06-19T12:56:42.000Z | 2021-12-26T07:22:47.000Z | src/core/schemas/entries/event.py | nefarius/portfolio-backend | f595041354eedee71a4aa5b761501be030b81d09 | [
"Apache-2.0"
] | 13 | 2019-12-20T10:39:44.000Z | 2022-02-10T09:11:09.000Z | src/core/schemas/entries/event.py | nefarius/portfolio-backend | f595041354eedee71a4aa5b761501be030b81d09 | [
"Apache-2.0"
] | 1 | 2021-12-01T12:03:29.000Z | 2021-12-01T12:03:29.000Z | from ...schemas import ICON_EVENT
from ...skosmos import get_collection_members
from ..base import BaseSchema
from ..general import get_contributors_field, get_date_range_time_range_location_group_field, get_url_field
from ..utils import years_from_date_range_time_range_location_group_field
ICON = ICON_EVENT
TYPES = ... | 42.6 | 112 | 0.805164 | 123 | 852 | 5.097561 | 0.373984 | 0.100478 | 0.145136 | 0.200957 | 0.397129 | 0.314195 | 0.267943 | 0.267943 | 0.143541 | 0 | 0 | 0.003942 | 0.106808 | 852 | 19 | 113 | 44.842105 | 0.819974 | 0 | 0 | 0 | 0 | 0 | 0.158451 | 0.070423 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.357143 | 0 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
34e6daa9b5c20ae4ca92bdc6ec1b8667b677185b | 4,629 | py | Python | rate_coeff.py | emilyng/Chemistry-Solver | f4f21dd37898d35d669f9d0223674e251a4c58dd | [
"MIT"
] | null | null | null | rate_coeff.py | emilyng/Chemistry-Solver | f4f21dd37898d35d669f9d0223674e251a4c58dd | [
"MIT"
] | null | null | null | rate_coeff.py | emilyng/Chemistry-Solver | f4f21dd37898d35d669f9d0223674e251a4c58dd | [
"MIT"
] | null | null | null | ##Rate Coefficients
import numpy as np
def k1(T):
T_eV = T / 11605.
log_T_eV = np.log(T_eV)
rv = np.exp(-32.71396786375
+ 13.53655609057*log_T_eV
- 5.739328757388*log_T_eV**2
+ 1.563154982022*log_T_eV**3
- 0.2877056004391*log_T_eV**4
+ 0.03482559773736999... | 27.885542 | 85 | 0.499244 | 785 | 4,629 | 2.750318 | 0.202548 | 0.120889 | 0.200093 | 0.023159 | 0.30755 | 0.206577 | 0.163038 | 0.146364 | 0.119963 | 0.10051 | 0 | 0.391599 | 0.331389 | 4,629 | 165 | 86 | 28.054545 | 0.305977 | 0.003673 | 0 | 0.267606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133803 | false | 0 | 0.007042 | 0 | 0.274648 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
34fe561195c6b90ab544a5eb2c6644d2c927879f | 433 | py | Python | maniacal-moths/newsly/aggregator/models.py | Kushagra-0801/summer-code-jam-2020 | aae9a678b0b30f20ab3cc6cf2b0606ee1f762ca0 | [
"MIT"
] | null | null | null | maniacal-moths/newsly/aggregator/models.py | Kushagra-0801/summer-code-jam-2020 | aae9a678b0b30f20ab3cc6cf2b0606ee1f762ca0 | [
"MIT"
] | null | null | null | maniacal-moths/newsly/aggregator/models.py | Kushagra-0801/summer-code-jam-2020 | aae9a678b0b30f20ab3cc6cf2b0606ee1f762ca0 | [
"MIT"
] | 1 | 2020-08-04T05:44:34.000Z | 2020-08-04T05:44:34.000Z | from django.db import models
from django.utils import timezone
class Article(models.Model):
title = models.CharField(max_length = 100)
content = models.TextField()
date_posted = models.DateTimeField(default=timezone.now)
author = models.CharField(max_length = 100)
def __str__(self):
re... | 30.928571 | 64 | 0.704388 | 55 | 433 | 5.381818 | 0.618182 | 0.067568 | 0.121622 | 0.162162 | 0.182432 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 0.189376 | 433 | 14 | 64 | 30.928571 | 0.826211 | 0 | 0 | 0 | 0 | 0 | 0.036866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.181818 | 0.181818 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5513ebc4d50ae6eaae27a3d7a14bbfdad406c427 | 712 | py | Python | brainframe/api/stubs/__init__.py | aotuai/brainframe_python | 8397f2fd7a4402716c65d402417995b4862eeb7a | [
"BSD-3-Clause"
] | 4 | 2020-05-20T01:06:10.000Z | 2020-09-12T14:23:05.000Z | brainframe/api/stubs/__init__.py | aotuai/brainframe-python | 8397f2fd7a4402716c65d402417995b4862eeb7a | [
"BSD-3-Clause"
] | 8 | 2021-04-22T00:02:45.000Z | 2022-02-01T08:08:07.000Z | brainframe/api/stubs/__init__.py | aotuai/brainframe-python | 8397f2fd7a4402716c65d402417995b4862eeb7a | [
"BSD-3-Clause"
] | 2 | 2021-02-18T07:28:27.000Z | 2021-10-08T03:22:10.000Z | from .alerts import AlertStubMixin
from .analysis import AnalysisStubMixin
from .identities import IdentityStubMixin
from .capsules import CapsuleStubMixin
from .streams import StreamStubMixin
from .zone_statuses import ZoneStatusStubMixin
from .zones import ZoneStubMixin
from .storage import StorageStubMixin
from .ala... | 37.473684 | 48 | 0.873596 | 77 | 712 | 8.012987 | 0.532468 | 0.035656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003125 | 0.101124 | 712 | 18 | 49 | 39.555556 | 0.960938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9b39ad17854b7e4901af7b84394b158a0378ff8a | 621 | py | Python | testing/framework/factory/compare_utility.py | gigabackup/gigantum-client | 70fe6b39b87b1c56351f2b4c551b6f1693813e4f | [
"MIT"
] | 60 | 2018-09-26T15:46:00.000Z | 2021-10-10T02:37:14.000Z | testing/framework/factory/compare_utility.py | gigabackup/gigantum-client | 70fe6b39b87b1c56351f2b4c551b6f1693813e4f | [
"MIT"
] | 1,706 | 2018-09-26T16:11:22.000Z | 2021-08-20T13:37:59.000Z | testing/framework/factory/compare_utility.py | griffinmilsap/gigantum-client | 70fe6b39b87b1c56351f2b4c551b6f1693813e4f | [
"MIT"
] | 11 | 2019-03-14T13:23:51.000Z | 2022-01-25T01:29:16.000Z | class CompareUtility(object):
"""Compares the text with the passed argument"""
def compare_text(self, *args):
return self.get_text() == args[0]
def check_element(self, *args):
"""Check for an element by it's class name"""
try:
element = self.find_element_by_xpath(args[0]... | 31.05 | 62 | 0.573269 | 79 | 621 | 4.392405 | 0.481013 | 0.069164 | 0.069164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007229 | 0.331723 | 621 | 19 | 63 | 32.684211 | 0.828916 | 0.21095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.071429 | 0 | 0.071429 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
9b465aec5248b4a295d099e00bd63dbcb0fdd474 | 677 | py | Python | config/__init__.py | CSuppan/two-shot-brdf-shape | 352201b66bfa5cd5e25111451a6583a3e7d499f0 | [
"BSD-Source-Code"
] | null | null | null | config/__init__.py | CSuppan/two-shot-brdf-shape | 352201b66bfa5cd5e25111451a6583a3e7d499f0 | [
"BSD-Source-Code"
] | null | null | null | config/__init__.py | CSuppan/two-shot-brdf-shape | 352201b66bfa5cd5e25111451a6583a3e7d499f0 | [
"BSD-Source-Code"
] | null | null | null | # -----------------------------------------------------------------------
# Copyright (c) 2020, NVIDIA Corporation. All rights reserved.
#
# This work is made available
# under the Nvidia Source Code License (1-way Commercial).
#
# Official Implementation of the CVPR2020 Paper
# Two-shot Spatially-varying BRDF and Shap... | 28.208333 | 73 | 0.567208 | 79 | 677 | 4.797468 | 0.797468 | 0.042216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015652 | 0.150665 | 677 | 23 | 74 | 29.434783 | 0.643478 | 0.676514 | 0 | 0 | 0 | 0 | 0.125 | 0.120192 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9b5a7ee5d76db4300a01a1e469082c5cdcc09d8b | 468 | py | Python | polynomials_on_simplices/calculus/test/real_interval_test.py | FAndersson/polynomials_on_simplices | f015a4772c817bfa99b0d6b726667a38a174b064 | [
"MIT"
] | 1 | 2021-03-17T11:41:21.000Z | 2021-03-17T11:41:21.000Z | polynomials_on_simplices/calculus/test/real_interval_test.py | FAndersson/polynomials_on_simplices | f015a4772c817bfa99b0d6b726667a38a174b064 | [
"MIT"
] | null | null | null | polynomials_on_simplices/calculus/test/real_interval_test.py | FAndersson/polynomials_on_simplices | f015a4772c817bfa99b0d6b726667a38a174b064 | [
"MIT"
] | null | null | null | import sys
import pytest
from polynomials_on_simplices.calculus.real_interval import equivalent_periodic_element
def test_equivalent_element():
b = equivalent_periodic_element(1.0, 2.0)
assert 1.0 == b
b = equivalent_periodic_element(3.0, 2.0)
assert 1.0 == b
b = equivalent_periodic_element(-3.0... | 22.285714 | 87 | 0.700855 | 74 | 468 | 4.121622 | 0.364865 | 0.295082 | 0.409836 | 0.340984 | 0.380328 | 0.380328 | 0.380328 | 0.380328 | 0.380328 | 0.380328 | 0 | 0.063325 | 0.190171 | 468 | 20 | 88 | 23.4 | 0.741425 | 0 | 0 | 0.214286 | 0 | 0 | 0.017094 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.071429 | false | 0 | 0.214286 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9b5f1ca95a4bf43c73f0a6830a6c9ae4f3d79f44 | 134 | py | Python | svreal/enums.py | sgherbst/svreal | 62811a3074732554db650b8decde60997fbe8b59 | [
"MIT"
] | 27 | 2019-05-14T10:14:21.000Z | 2022-01-22T03:00:05.000Z | svreal/enums.py | sgherbst/svreal | 62811a3074732554db650b8decde60997fbe8b59 | [
"MIT"
] | 8 | 2020-03-16T07:38:30.000Z | 2021-05-27T17:59:24.000Z | svreal/enums.py | sgherbst/svreal | 62811a3074732554db650b8decde60997fbe8b59 | [
"MIT"
] | 3 | 2020-10-21T19:10:13.000Z | 2022-02-23T12:34:12.000Z | from enum import Enum
class RealType(Enum):
FixedPoint = 'FIXED_POINT'
FloatReal = 'FLOAT_REAL'
HardFloat = 'HARD_FLOAT'
| 19.142857 | 30 | 0.701493 | 16 | 134 | 5.6875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208955 | 134 | 6 | 31 | 22.333333 | 0.858491 | 0 | 0 | 0 | 0 | 0 | 0.231343 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9b6da7ce7169ebed552ff066ea4c100e67f503a4 | 573 | py | Python | importers/base_importer.py | lwhjon/repo-labels-cli | 5a16638f45f0b13e9fdddc59b1a0952f3ba51287 | [
"MIT"
] | 1 | 2021-07-14T06:32:50.000Z | 2021-07-14T06:32:50.000Z | importers/base_importer.py | lwhjon/repo-labels-cli | 5a16638f45f0b13e9fdddc59b1a0952f3ba51287 | [
"MIT"
] | 2 | 2021-08-31T18:14:03.000Z | 2021-12-29T18:14:25.000Z | importers/base_importer.py | lwhjon/repo-labels-cli | 5a16638f45f0b13e9fdddc59b1a0952f3ba51287 | [
"MIT"
] | null | null | null | """
This module contains the BaseImporter Abstract class which all other importers are inherited from.
"""
from abc import ABC, abstractmethod
from utilities.constants import ImportModes
class BaseImporter(ABC):
def __init__(self, link, loaded_json_data):
self.link = link
self.json_data = loaded... | 23.875 | 98 | 0.713787 | 66 | 573 | 6.015152 | 0.545455 | 0.060453 | 0.070529 | 0.09068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225131 | 573 | 23 | 99 | 24.913043 | 0.894144 | 0.17103 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9b7d015d0188b694a8bc8e7bf62510306eb4231c | 375 | py | Python | airflow/ascii.py | dtardoin/airflow | 4d7f413c7db3ffdb1236e7799e4fe647842e5dbd | [
"Apache-2.0"
] | 1 | 2021-03-02T20:08:53.000Z | 2021-03-02T20:08:53.000Z | airflow/ascii.py | dtardoin/airflow | 4d7f413c7db3ffdb1236e7799e4fe647842e5dbd | [
"Apache-2.0"
] | null | null | null | airflow/ascii.py | dtardoin/airflow | 4d7f413c7db3ffdb1236e7799e4fe647842e5dbd | [
"Apache-2.0"
] | 1 | 2019-05-14T16:19:12.000Z | 2019-05-14T16:19:12.000Z | bug = r"""\
=, .=
=.| ,---. |.=
=.| "-(:::::)-" |.=
\\__/`-.|.-'\__//
`-| .::| .::|-' Pillendreher
_|`-._|_.-'|_ (Scarabaeus sacer)
/.-| | .::|-.\
// ,| .::|::::|. \\
|| //\::::|::' /\\ ||
/'\|| `.__|__.' ||/'\
^ \\ //... | 23.4375 | 46 | 0.114667 | 5 | 375 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.48 | 375 | 15 | 47 | 25 | 0.158974 | 0 | 0 | 0 | 0 | 0 | 0.962667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9b7f4ac026f327923c4f012b100b9d4fe6b0b3e2 | 148 | py | Python | examples/test_hanzi_dict.py | smilelight/lightDict | bd21afd90777489b6a62b9f6954f0d24c3f772d1 | [
"Apache-2.0"
] | 4 | 2020-01-15T09:54:40.000Z | 2020-12-13T09:10:25.000Z | examples/test_hanzi_dict.py | smilelight/lightDict | bd21afd90777489b6a62b9f6954f0d24c3f772d1 | [
"Apache-2.0"
] | null | null | null | examples/test_hanzi_dict.py | smilelight/lightDict | bd21afd90777489b6a62b9f6954f0d24c3f772d1 | [
"Apache-2.0"
] | 1 | 2021-05-28T09:40:14.000Z | 2021-05-28T09:40:14.000Z | from lightdict import HanziDict
hanzi_dic = HanziDict(r'D:\Data\NLP\corpus\words\hanzi.csv')
print('和' in hanzi_dic)
x = hanzi_dic['哈']
print(x)
| 16.444444 | 60 | 0.72973 | 26 | 148 | 4.038462 | 0.692308 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114865 | 148 | 8 | 61 | 18.5 | 0.801527 | 0 | 0 | 0 | 0 | 0 | 0.243243 | 0.22973 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.4 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9b814e62cd1712261791628b00ae51e5874b229d | 883 | py | Python | src/quill/fold/wire/html_util.py | spin-systems/quill | b210f840e228295e41feaf4ff79f2cc8bd96889d | [
"MIT"
] | null | null | null | src/quill/fold/wire/html_util.py | spin-systems/quill | b210f840e228295e41feaf4ff79f2cc8bd96889d | [
"MIT"
] | 14 | 2020-11-22T09:59:08.000Z | 2021-11-02T16:05:35.000Z | src/quill/fold/wire/html_util.py | spin-systems/quill | b210f840e228295e41feaf4ff79f2cc8bd96889d | [
"MIT"
] | null | null | null | from bs4 import Tag
__all__ = ["CustomHtmlTag", "Attrs", "PartialAttrs"]
######## General utility classes for tags and attrs
class CustomHtmlTag(Tag):
"Base class defining as_str for a bs4.Tag (may be overridden)"
def as_str(self):
return str(self)#.prettify()
class Attrs(dict):
"For pas... | 30.448276 | 81 | 0.682899 | 118 | 883 | 4.822034 | 0.40678 | 0.147627 | 0.112478 | 0.066784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004292 | 0.208381 | 883 | 28 | 82 | 31.535714 | 0.809728 | 0.257078 | 0 | 0 | 0 | 0 | 0.267073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.1 | 0.05 | 0.1 | 0.55 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
9ba3741e685c1d558d552dcb021080523937b319 | 721 | py | Python | lab_new/locust/locustfile.py | mwardbopp/f5-big-iq-lab | 70d5b766571f8db8b3bc744e98c183dbdd500089 | [
"Apache-2.0"
] | 18 | 2018-07-17T15:17:16.000Z | 2021-12-05T21:13:26.000Z | lab_new/locust/locustfile.py | mwardbopp/f5-big-iq-lab | 70d5b766571f8db8b3bc744e98c183dbdd500089 | [
"Apache-2.0"
] | 34 | 2018-09-11T04:43:47.000Z | 2021-04-19T15:58:50.000Z | lab_new/locust/locustfile.py | mwardbopp/f5-big-iq-lab | 70d5b766571f8db8b3bc744e98c183dbdd500089 | [
"Apache-2.0"
] | 54 | 2018-07-30T12:23:33.000Z | 2021-06-11T17:54:28.000Z | import time
from locust import HttpUser, task, between
# https://docs.locust.io/en/stable/quickstart.html
class QuickstartUser(HttpUser):
wait_time = between(5, 10)
@task
def index_page(self):
self.client.get("/index.php", verify=False)
self.client.get("/contact", verify=False)
se... | 34.333333 | 105 | 0.65742 | 98 | 721 | 4.795918 | 0.479592 | 0.170213 | 0.193617 | 0.268085 | 0.389362 | 0.23617 | 0.23617 | 0.23617 | 0 | 0 | 0 | 0.025084 | 0.170596 | 721 | 20 | 106 | 36.05 | 0.76087 | 0.066574 | 0 | 0 | 0 | 0 | 0.193741 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0.066667 | 0.133333 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
9baf6c3804173cb531cd1c2955cba4bc19bd4390 | 109 | py | Python | CVcontact/urls.py | siavashMehran/Portfolio | a592ec51122d96e8e336365fd3cd039a7f223221 | [
"MIT"
] | null | null | null | CVcontact/urls.py | siavashMehran/Portfolio | a592ec51122d96e8e336365fd3cd039a7f223221 | [
"MIT"
] | null | null | null | CVcontact/urls.py | siavashMehran/Portfolio | a592ec51122d96e8e336365fd3cd039a7f223221 | [
"MIT"
] | null | null | null | from django.urls import path
from .views import contactMe
urlpatterns = [
path('contact', contactMe)
]
| 13.625 | 30 | 0.724771 | 13 | 109 | 6.076923 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183486 | 109 | 7 | 31 | 15.571429 | 0.88764 | 0 | 0 | 0 | 0 | 0 | 0.06422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
32cf7fd469a0aec109e44e66849bad3789086158 | 245 | py | Python | test.py | karttur/geoimagine03-support | 3971db215382bd16f207eca3ef1d9d81e4298b41 | [
"BSD-3-Clause"
] | null | null | null | test.py | karttur/geoimagine03-support | 3971db215382bd16f207eca3ef1d9d81e4298b41 | [
"BSD-3-Clause"
] | null | null | null | test.py | karttur/geoimagine03-support | 3971db215382bd16f207eca3ef1d9d81e4298b41 | [
"BSD-3-Clause"
] | null | null | null | '''
Created on 28 Jan 2021
@author: thomasgumbricht
'''
from string import whitespace
def CheckWhitespace(s):
'''
'''
return True in [c in s for c in whitespace]
s = 'dumsnut'
print (CheckWhitespace(s)) | 13.611111 | 51 | 0.591837 | 29 | 245 | 5 | 0.724138 | 0.22069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.302041 | 245 | 18 | 52 | 13.611111 | 0.812866 | 0.195918 | 0 | 0 | 0 | 0 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
32ebbb19735d64f55f4b8caaf8724aa49e1ddf29 | 172 | py | Python | webapp/models/__init__.py | xaldey/otus_blog | 32600506d447c0b76c7e0323389d17428d197181 | [
"Apache-2.0"
] | null | null | null | webapp/models/__init__.py | xaldey/otus_blog | 32600506d447c0b76c7e0323389d17428d197181 | [
"Apache-2.0"
] | null | null | null | webapp/models/__init__.py | xaldey/otus_blog | 32600506d447c0b76c7e0323389d17428d197181 | [
"Apache-2.0"
] | null | null | null | from .create_db import Session, engine, Base
from .models import User, Post, Tag
__all__ = [
"Session",
"engine",
"Base",
"User",
"Post",
"Tag",
]
| 14.333333 | 44 | 0.569767 | 20 | 172 | 4.65 | 0.6 | 0.27957 | 0.365591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273256 | 172 | 11 | 45 | 15.636364 | 0.744 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
32fc43425ea47a93c10fa87eeeea81ca0922ca0c | 918 | py | Python | AutomateboringStuff/3. Functions/try_nd_except.py | gabriel-marchetti/Exercicios-Python | 0f1eac7eee48081cf899d25bed0ec5dbc70a3542 | [
"MIT"
] | 2 | 2021-12-21T23:28:02.000Z | 2021-12-21T23:28:03.000Z | AutomateboringStuff/3. Functions/try_nd_except.py | gabriel-marchetti/Exercicios-Python | 0f1eac7eee48081cf899d25bed0ec5dbc70a3542 | [
"MIT"
] | 1 | 2021-12-22T12:05:11.000Z | 2021-12-22T13:02:52.000Z | AutomateboringStuff/3. Functions/try_nd_except.py | gabriel-marchetti/Exercicios-Python | 0f1eac7eee48081cf899d25bed0ec5dbc70a3542 | [
"MIT"
] | null | null | null | # Quando tivermos um programa onde claramente temos um caso
# indesejável, então podemos usar a função do python dita
# try_and_except.
# Vamos supor que desejamos fazer uma função que faça uma
# divisão, então podemos fazer a seguinte estrutura de
# código
def divisão(divideBy):
return 42 / divideBy
# veja que n... | 20.863636 | 59 | 0.713508 | 132 | 918 | 4.94697 | 0.560606 | 0.11026 | 0.073507 | 0.073507 | 0.125574 | 0.125574 | 0.125574 | 0.125574 | 0.125574 | 0.125574 | 0 | 0.023256 | 0.203704 | 918 | 43 | 60 | 21.348837 | 0.870041 | 0.492375 | 0 | 0.75 | 0 | 0 | 0.105727 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 1 | 0.15 | false | 0 | 0 | 0.1 | 0.3 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
fd196b9ee70ef729b16290f14477ca8c3d79df73 | 172 | py | Python | exhaustive_search/05_multiple-arrays/05-01-01.py | fumiyanll23/algo-method | d86ea1d399cbc5a1db0ae49d0c82e41042f661ab | [
"MIT"
] | null | null | null | exhaustive_search/05_multiple-arrays/05-01-01.py | fumiyanll23/algo-method | d86ea1d399cbc5a1db0ae49d0c82e41042f661ab | [
"MIT"
] | null | null | null | exhaustive_search/05_multiple-arrays/05-01-01.py | fumiyanll23/algo-method | d86ea1d399cbc5a1db0ae49d0c82e41042f661ab | [
"MIT"
] | null | null | null | # input
N, M = map(int, input().split())
As = [*map(int, input().split())]
Bs = [*map(int, input().split())]
# compute
# output
print(sum(A > B for B in Bs for A in As))
| 17.2 | 41 | 0.569767 | 31 | 172 | 3.16129 | 0.516129 | 0.183673 | 0.336735 | 0.489796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 172 | 9 | 42 | 19.111111 | 0.7 | 0.116279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fd2a11e31304af5fc6efc0099f574785c36f1cf8 | 127 | py | Python | High School/9th Grade APCSP (Python)/Unit 7/07.02.03.py | SomewhereOutInSpace/Computer-Science-Class | f5d21850236a7a18dc53b4a650ecbe9a11781f1d | [
"Unlicense"
] | null | null | null | High School/9th Grade APCSP (Python)/Unit 7/07.02.03.py | SomewhereOutInSpace/Computer-Science-Class | f5d21850236a7a18dc53b4a650ecbe9a11781f1d | [
"Unlicense"
] | null | null | null | High School/9th Grade APCSP (Python)/Unit 7/07.02.03.py | SomewhereOutInSpace/Computer-Science-Class | f5d21850236a7a18dc53b4a650ecbe9a11781f1d | [
"Unlicense"
] | null | null | null | st1 = input()
st2 = input()
st3 = input()
listy = [st1, st2, st3]
listy.sort()
print(listy[0])
print(listy[1])
print(listy[2])
| 14.111111 | 23 | 0.629921 | 21 | 127 | 3.809524 | 0.47619 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082569 | 0.141732 | 127 | 8 | 24 | 15.875 | 0.651376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.375 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fd375dd0458ad06acf734748313eaba69b115090 | 310 | py | Python | email.py | zhaoxiaoyunok/python-library-fuzzers | 83db496f75280795415821097802a96fbf72f50f | [
"MIT"
] | 4 | 2019-07-03T06:01:08.000Z | 2019-07-29T08:07:54.000Z | email.py | zhaoxiaoyunok/python-library-fuzzers | 83db496f75280795415821097802a96fbf72f50f | [
"MIT"
] | null | null | null | email.py | zhaoxiaoyunok/python-library-fuzzers | 83db496f75280795415821097802a96fbf72f50f | [
"MIT"
] | 4 | 2019-07-03T03:24:56.000Z | 2021-12-11T12:30:31.000Z | from email.parser import BytesParser, Parser
from email.policy import default, HTTP
def FuzzerRunOne(FuzzerInput):
try:
Parser(policy=HTTP).parsestr(FuzzerInput.decode("utf-8", "replace"))
# #Parser(policy=default).parsestr(FuzzerInput.decode("utf-8", "replace"))
except:
pass
| 28.181818 | 81 | 0.696774 | 36 | 310 | 6 | 0.527778 | 0.083333 | 0.231481 | 0.259259 | 0.333333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.007782 | 0.170968 | 310 | 10 | 82 | 31 | 0.832685 | 0.229032 | 0 | 0 | 0 | 0 | 0.051724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.285714 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
fd45eaa50a88cd4355e2753ab9dc9b6e727d52ec | 1,198 | py | Python | storyboard/tests/plugin/scheduler/test_base.py | Sitcode-Zoograf/storyboard | 5833f87e20722c524a1e4a0b8e1fb82206fb4e5c | [
"Apache-2.0"
] | null | null | null | storyboard/tests/plugin/scheduler/test_base.py | Sitcode-Zoograf/storyboard | 5833f87e20722c524a1e4a0b8e1fb82206fb4e5c | [
"Apache-2.0"
] | null | null | null | storyboard/tests/plugin/scheduler/test_base.py | Sitcode-Zoograf/storyboard | 5833f87e20722c524a1e4a0b8e1fb82206fb4e5c | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2015 Hewlett-Packard Development Company, L.P.
#
# 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... | 29.219512 | 78 | 0.717863 | 160 | 1,198 | 5.35 | 0.60625 | 0.070093 | 0.030374 | 0.037383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008325 | 0.19783 | 1,198 | 40 | 79 | 29.95 | 0.882414 | 0.541736 | 0 | 0.133333 | 0 | 0 | 0.102662 | 0.102662 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.266667 | false | 0.133333 | 0.133333 | 0.066667 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
fd5911cef504b719bc6cc6d734809ba588ffa54f | 1,433 | py | Python | fhir_dataframes/store.py | Tiro-health/fhir-dataframes | 57086b7bb385ffbce55f57747903eca7a7f84665 | [
"MIT"
] | 1 | 2022-02-09T08:16:09.000Z | 2022-02-09T08:16:09.000Z | fhir_dataframes/store.py | Tiro-health/fhir-dataframes | 57086b7bb385ffbce55f57747903eca7a7f84665 | [
"MIT"
] | null | null | null | fhir_dataframes/store.py | Tiro-health/fhir-dataframes | 57086b7bb385ffbce55f57747903eca7a7f84665 | [
"MIT"
] | null | null | null | from __future__ import annotations
from itertools import tee
from typing import Iterable, Optional, Sequence, Union
import pandas as pd
from tiro_fhir import Resource
from fhir_dataframes import code_accessor
class LocalFHIRStore:
def __init__(self, resources: Iterable[Resource] = []):
self._resources: It... | 30.489362 | 87 | 0.686671 | 171 | 1,433 | 5.508772 | 0.339181 | 0.096603 | 0.055202 | 0.072187 | 0.143312 | 0.098726 | 0.098726 | 0 | 0 | 0 | 0 | 0 | 0.219121 | 1,433 | 46 | 88 | 31.152174 | 0.841823 | 0 | 0 | 0.111111 | 0 | 0 | 0.02582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0.138889 | 0.694444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b5bace535ed77ddf8b3b03e2ed93c9e75ae9c3a6 | 1,488 | py | Python | tests/helpers/fake_tunnel.py | intdata-bsc/idact | 54cb65a711c145351e205970c27c83e6393cccf5 | [
"MIT"
] | 5 | 2018-12-06T15:40:34.000Z | 2019-06-19T11:22:58.000Z | tests/helpers/fake_tunnel.py | garstka/idact | b9c8405c94db362c4a51d6bfdf418b14f06f0da1 | [
"MIT"
] | 9 | 2018-12-06T16:35:26.000Z | 2019-04-28T19:01:40.000Z | tests/helpers/fake_tunnel.py | intdata-bsc/idact | 54cb65a711c145351e205970c27c83e6393cccf5 | [
"MIT"
] | 2 | 2019-04-28T19:18:58.000Z | 2019-06-17T06:56:28.000Z | from contextlib import contextmanager
from idact import ClusterConfig
from idact.detail.nodes.node_impl import NodeImpl
from idact.detail.tunnel.tunnel_internal import TunnelInternal
class FakeTunnel(TunnelInternal):
"""Does nothing besides holding the remote port.
Local port is ignored.
:param ... | 22.892308 | 68 | 0.625672 | 168 | 1,488 | 5.309524 | 0.386905 | 0.035874 | 0.033632 | 0.038117 | 0.076233 | 0.076233 | 0 | 0 | 0 | 0 | 0 | 0.000938 | 0.283602 | 1,488 | 64 | 69 | 23.25 | 0.835835 | 0.133737 | 0 | 0.073171 | 0 | 0 | 0.029647 | 0.029647 | 0 | 0 | 0 | 0 | 0.04878 | 1 | 0.243902 | false | 0.02439 | 0.097561 | 0.146341 | 0.512195 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b5be6e33c1957ff7fe4d9e1d181d17faa43d7603 | 319 | py | Python | setup.py | space-cadet/tncontract | a5503951e218a91e9ba03e11c601b95b6bfcb72a | [
"MIT"
] | 39 | 2016-09-19T01:22:43.000Z | 2022-01-12T07:26:29.000Z | setup.py | space-cadet/tncontract | a5503951e218a91e9ba03e11c601b95b6bfcb72a | [
"MIT"
] | 9 | 2016-09-25T22:51:35.000Z | 2019-07-14T16:56:12.000Z | setup.py | space-cadet/tncontract | a5503951e218a91e9ba03e11c601b95b6bfcb72a | [
"MIT"
] | 12 | 2017-02-14T11:55:30.000Z | 2021-02-01T01:09:31.000Z | from setuptools import setup, find_packages
# Get version from tncontract/version.py
exec(open("tncontract/version.py").read())
setup(
name = "tncontract",
version = __version__,
packages = find_packages(),
author = "Andrew Darmawan",
license = "MIT",
install_requires = ["numpy", "scipy"],
)
| 22.785714 | 43 | 0.677116 | 35 | 319 | 5.971429 | 0.657143 | 0.244019 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184953 | 319 | 13 | 44 | 24.538462 | 0.803846 | 0.119122 | 0 | 0 | 0 | 0 | 0.21147 | 0.075269 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.1 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b5c68bd329a9e17d20d1b6dbb51e72b824cb0447 | 370 | py | Python | shablbot/__main__.py | Blackgard/vk-bot-python | 5d1eb269d76567a8e31dec47c0ea3c5cc1bcbc3c | [
"MIT"
] | 5 | 2019-11-12T05:15:07.000Z | 2022-01-20T06:26:55.000Z | shablbot/__main__.py | Blackgard/vk-bot-python | 5d1eb269d76567a8e31dec47c0ea3c5cc1bcbc3c | [
"MIT"
] | 1 | 2021-06-02T00:33:47.000Z | 2021-06-02T00:33:47.000Z | shablbot/__main__.py | Blackgard/vk-bot-python | 5d1eb269d76567a8e31dec47c0ea3c5cc1bcbc3c | [
"MIT"
] | 2 | 2021-12-18T17:03:10.000Z | 2022-01-29T17:08:35.000Z | """
Shablbot manager commands
"""
import sys
def main():
try:
from shablbot.core.manager_commands import manager_command
except ImportError as exc:
raise ImportError(
"Couldn't import Shablbot. Are you sure it's installed and activate venv?"
) from exc
manager_command(... | 18.5 | 86 | 0.654054 | 45 | 370 | 5.133333 | 0.666667 | 0.12987 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262162 | 370 | 19 | 87 | 19.473684 | 0.846154 | 0.067568 | 0 | 0 | 0 | 0 | 0.237389 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | true | 0 | 0.454545 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
bd14fe29205fb7db4613505f3b8655a44fae871a | 36 | py | Python | workPEMSBAY/Param_HistoricalAverage.py | deepkashiwa20/DeepTraffic | 6ac66258ef9fa9bbe7dcd7c4750cb24946eba58c | [
"MIT"
] | 35 | 2021-06-18T01:03:16.000Z | 2022-03-31T02:16:37.000Z | workPEMSBAY/Param_HistoricalAverage.py | yuanxw5/DL-Traff-Graph | 63f3d81ce3a750e43645c61089c5ca219bfcbfd3 | [
"MIT"
] | null | null | null | workPEMSBAY/Param_HistoricalAverage.py | yuanxw5/DL-Traff-Graph | 63f3d81ce3a750e43645c61089c5ca219bfcbfd3 | [
"MIT"
] | 12 | 2021-06-17T02:54:48.000Z | 2022-03-25T05:21:43.000Z | HISTORYDAY = 7
DAYTIMESTEP = 24 * 12 | 18 | 21 | 0.722222 | 5 | 36 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0.194444 | 36 | 2 | 21 | 18 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bd1ac0aae6302168adf0c1a01d9c3dda3ee533a8 | 6,104 | py | Python | prettytype/__init__.py | stuglaser/prettytype | af31de6017dad56b1f6ba37225f0b17d35a69bd4 | [
"MIT"
] | 1 | 2021-01-06T17:37:40.000Z | 2021-01-06T17:37:40.000Z | prettytype/__init__.py | stuglaser/prettytype | af31de6017dad56b1f6ba37225f0b17d35a69bd4 | [
"MIT"
] | null | null | null | prettytype/__init__.py | stuglaser/prettytype | af31de6017dad56b1f6ba37225f0b17d35a69bd4 | [
"MIT"
] | null | null | null | import numbers
class NoneT(object):
def __repr__(self):
return 'NoneT()'
def __str__(self):
return 'None'
def msct(self, other):
if isinstance(other, NoneT):
return self
return MaybeT(other)
class MaybeT(object):
def __init__(self, childT):
self.... | 23.750973 | 78 | 0.548984 | 710 | 6,104 | 4.532394 | 0.135211 | 0.059043 | 0.03729 | 0.036979 | 0.360472 | 0.336234 | 0.316967 | 0.229646 | 0.229646 | 0.131448 | 0 | 0.000992 | 0.33945 | 6,104 | 256 | 79 | 23.84375 | 0.797123 | 0.014908 | 0 | 0.46114 | 0 | 0 | 0.021634 | 0 | 0 | 0 | 0 | 0.003906 | 0.005181 | 1 | 0.212435 | false | 0 | 0.005181 | 0.11399 | 0.569948 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bd498e34fef15d05b6f453bd45dc8caf7869dd9c | 139 | py | Python | accounts/schemas/validators/__init__.py | aobcvr/rpg_quest_accounts | 960772a159618194ea26e81d6d874e5f69fbbec7 | [
"MIT"
] | 2 | 2021-08-15T14:27:37.000Z | 2021-09-14T10:55:38.000Z | accounts/schemas/validators/__init__.py | aobcvr/rpg_quest_accounts | 960772a159618194ea26e81d6d874e5f69fbbec7 | [
"MIT"
] | 1 | 2021-09-12T12:30:11.000Z | 2021-09-12T12:30:11.000Z | accounts/schemas/validators/__init__.py | aobcvr/rpg_quest_accounts | 960772a159618194ea26e81d6d874e5f69fbbec7 | [
"MIT"
] | null | null | null | from .locale import LocaleValidator
from .timezone import TimezoneValidator
__all__ = (
'LocaleValidator',
'TimezoneValidator',
)
| 17.375 | 39 | 0.755396 | 11 | 139 | 9.181818 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165468 | 139 | 7 | 40 | 19.857143 | 0.87069 | 0 | 0 | 0 | 0 | 0 | 0.230216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1fa55ad9cf461decaa935b9ad2c9830d3dd93f16 | 5,521 | py | Python | tests/test_products.py | lukeshiner/ccp_api | 5bd8a075108df4983b62197ea950e14297f5ad19 | [
"MIT"
] | null | null | null | tests/test_products.py | lukeshiner/ccp_api | 5bd8a075108df4983b62197ea950e14297f5ad19 | [
"MIT"
] | null | null | null | tests/test_products.py | lukeshiner/ccp_api | 5bd8a075108df4983b62197ea950e14297f5ad19 | [
"MIT"
] | null | null | null | import ccp_api
import pytest
from .test_ccp_api import Base_ccp_api_Test
class TestProducts(Base_ccp_api_Test):
@pytest.fixture
def products_wsdl(self, file_fixture):
return file_fixture("products", "wsdl.xml")
@pytest.fixture
def product_by_ID_response(self, file_fixture):
return fi... | 40.007246 | 85 | 0.768339 | 740 | 5,521 | 5.201351 | 0.1 | 0.091193 | 0.077942 | 0.062354 | 0.856326 | 0.748506 | 0.632112 | 0.539361 | 0.387373 | 0.308911 | 0 | 0.017551 | 0.164101 | 5,521 | 137 | 86 | 40.29927 | 0.816468 | 0 | 0 | 0.296296 | 0 | 0 | 0.119544 | 0.064119 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.194444 | false | 0 | 0.027778 | 0.101852 | 0.388889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
1fb8522ba4f170c8979ed698897c6d122c029720 | 196 | py | Python | maximum_average_subarray_i.py | spencercjh/sync-leetcode-today-problem-python3-example | 4957e5eadb697334741df0fc297bec2edaa9e2ab | [
"Apache-2.0"
] | null | null | null | maximum_average_subarray_i.py | spencercjh/sync-leetcode-today-problem-python3-example | 4957e5eadb697334741df0fc297bec2edaa9e2ab | [
"Apache-2.0"
] | null | null | null | maximum_average_subarray_i.py | spencercjh/sync-leetcode-today-problem-python3-example | 4957e5eadb697334741df0fc297bec2edaa9e2ab | [
"Apache-2.0"
] | null | null | null |
class MaximumAverageSubarrayI:
"""
https://leetcode-cn.com/problems/maximum-average-subarray-i/
"""
def findMaxAverage(self, nums: List[int], k: int) -> float:
| 19.6 | 64 | 0.602041 | 20 | 196 | 5.9 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 196 | 9 | 65 | 21.777778 | 0.802721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1fe4750a23a26455a9111641d38426011cdda650 | 141 | py | Python | Chapter 03/ch3_1_38.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 03/ch3_1_38.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 03/ch3_1_38.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | str1 = ' Happy Life '
str2= ' Happy Life '
if (str1.strip()== str2.strip()):
print("Same")
else:
print("Not same")
# same | 17.625 | 34 | 0.531915 | 18 | 141 | 4.166667 | 0.555556 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.276596 | 141 | 8 | 35 | 17.625 | 0.696078 | 0.028369 | 0 | 0 | 0 | 0 | 0.317829 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1feefa448dd4d27276c85f5a38d04e04d811d4b4 | 56 | py | Python | tests/cms_bundles/__init__.py | ff0000/scarlet | 6c37befd810916a2d7ffff2cdb2dab57bcb6d12e | [
"MIT"
] | 9 | 2015-10-13T04:35:56.000Z | 2017-03-16T19:00:44.000Z | tests/cms_bundles/__init__.py | ff0000/scarlet | 6c37befd810916a2d7ffff2cdb2dab57bcb6d12e | [
"MIT"
] | 32 | 2015-02-10T21:09:18.000Z | 2017-07-18T20:26:51.000Z | tests/cms_bundles/__init__.py | ff0000/scarlet | 6c37befd810916a2d7ffff2cdb2dab57bcb6d12e | [
"MIT"
] | 3 | 2017-07-13T13:32:21.000Z | 2019-04-08T20:18:58.000Z | default_app_config = 'tests.cms_bundles.apps.AppConfig'
| 28 | 55 | 0.839286 | 8 | 56 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 56 | 1 | 56 | 56 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9513d85dbfeb9ed30b03373fa4dafc60c0d1a5b4 | 7,512 | py | Python | audino/backend/routes/labels.py | UCSD-E4E/Pyrenote | bede2cfae9cb543a855d5cb01133b8d7c4abaa1c | [
"MIT"
] | 11 | 2021-07-09T21:39:05.000Z | 2022-03-06T23:11:44.000Z | audino/backend/routes/labels.py | UCSD-E4E/Pyrenote | bede2cfae9cb543a855d5cb01133b8d7c4abaa1c | [
"MIT"
] | 120 | 2021-07-08T04:15:18.000Z | 2022-02-26T00:21:25.000Z | audino/backend/routes/labels.py | UCSD-E4E/Pyrenote | bede2cfae9cb543a855d5cb01133b8d7c4abaa1c | [
"MIT"
] | 1 | 2021-10-16T04:55:42.000Z | 2021-10-16T04:55:42.000Z | import sqlalchemy as sa
from flask import jsonify, request
from flask_jwt_extended import jwt_required, get_jwt_identity
import csv
from sqlalchemy.sql.expression import false
from backend import app, db
from backend.models import Label, LabelValue, Project
from .helper_functions import (
check_admin,
check_a... | 29.574803 | 78 | 0.580804 | 915 | 7,512 | 4.574863 | 0.143169 | 0.081223 | 0.043 | 0.028428 | 0.762303 | 0.736264 | 0.729336 | 0.693502 | 0.652413 | 0.610607 | 0 | 0.007329 | 0.309771 | 7,512 | 253 | 79 | 29.6917 | 0.8 | 0 | 0 | 0.648148 | 0 | 0 | 0.155618 | 0.050453 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032407 | false | 0 | 0.041667 | 0 | 0.194444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1f1ad2122b60088ba3e024758a2e26d9b7b4784d | 9,282 | py | Python | bin/punydecode.py | mutedmouse/punydecode | 547900823b874f581a842379a4472b2a27d64c1c | [
"Apache-2.0"
] | 1 | 2021-03-24T00:22:40.000Z | 2021-03-24T00:22:40.000Z | bin/punydecode.py | mutedmouse/punydecode | 547900823b874f581a842379a4472b2a27d64c1c | [
"Apache-2.0"
] | null | null | null | bin/punydecode.py | mutedmouse/punydecode | 547900823b874f581a842379a4472b2a27d64c1c | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2005-2017 Splunk Inc. All Rights Reserved. Version 6.x
# Author: Andrew Quill
import sys,splunk.Intersplunk
import string
import getpass
import re
def replace_xns(field):
try:
punydecode = field.encode("idna").decode("idna")
except:
punydecode = field
return punydecode
def... | 45.058252 | 120 | 0.5195 | 867 | 9,282 | 5.539792 | 0.290657 | 0.177389 | 0.206954 | 0.217364 | 0.239017 | 0.212992 | 0.212992 | 0.133875 | 0.098064 | 0.027899 | 0 | 0.064682 | 0.370394 | 9,282 | 205 | 121 | 45.278049 | 0.757187 | 0.020147 | 0 | 0.166667 | 0 | 0.005376 | 0.10407 | 0.005061 | 0 | 0 | 0.047525 | 0 | 0 | 0 | null | null | 0.005376 | 0.026882 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1f5c32e422bbc6af249f8c6cdbc7e36215c76758 | 371 | py | Python | testapp/models.py | andrewyoung1991/django-redis-pubsub | 6ec9467528919a20bc9db6ebe94d5929ddd028a6 | [
"BSD-3-Clause"
] | 21 | 2016-02-11T06:04:48.000Z | 2021-12-27T07:02:28.000Z | testapp/models.py | kashyap2108/django-redis-pubsub | 6ec9467528919a20bc9db6ebe94d5929ddd028a6 | [
"BSD-3-Clause"
] | 3 | 2020-05-17T13:53:50.000Z | 2021-06-10T20:38:34.000Z | testapp/models.py | kashyap2108/django-redis-pubsub | 6ec9467528919a20bc9db6ebe94d5929ddd028a6 | [
"BSD-3-Clause"
] | 8 | 2016-02-05T20:17:43.000Z | 2020-07-14T17:10:20.000Z | from django.conf import settings
from django.db import models
from redis_pubsub.models import PublishableModel
class Message(PublishableModel):
"""
"""
PUBLISH_ON_CREATE = True
PUBLISH_ON_UPDATE = True
from_user = models.ForeignKey(settings.AUTH_USER_MODEL)
to_user = models.ForeignKey(settin... | 21.823529 | 59 | 0.752022 | 46 | 371 | 5.826087 | 0.521739 | 0.074627 | 0.149254 | 0.208955 | 0.30597 | 0.30597 | 0.30597 | 0 | 0 | 0 | 0 | 0 | 0.172507 | 371 | 16 | 60 | 23.1875 | 0.872964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1f746fdd19456f3c70b06319cd8440bf69081a77 | 190 | py | Python | setup.py | alexisjihyeross/actionable-recourse | a00a0221484d1cf66ff6c0bcba6aaca2220bf9d1 | [
"BSD-3-Clause"
] | null | null | null | setup.py | alexisjihyeross/actionable-recourse | a00a0221484d1cf66ff6c0bcba6aaca2220bf9d1 | [
"BSD-3-Clause"
] | null | null | null | setup.py | alexisjihyeross/actionable-recourse | a00a0221484d1cf66ff6c0bcba6aaca2220bf9d1 | [
"BSD-3-Clause"
] | null | null | null | from setuptools import setup, find_packages
setup(
name="Recourse",
version="0.1.1",
packages=find_packages(),
install_requires=open('requirements.txt').read().split('\n')
) | 23.75 | 64 | 0.689474 | 24 | 190 | 5.333333 | 0.791667 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018405 | 0.142105 | 190 | 8 | 65 | 23.75 | 0.766871 | 0 | 0 | 0 | 0 | 0 | 0.162304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1f7833d48966d1ed49519df9d13f101196d3956c | 3,057 | py | Python | db/csvs_test_examples/project/project_availability/project_availability_types/doc.py | souissim/gridpath | 4eeca2be24b485edc56026e38cfda83f4a6b27ea | [
"Apache-2.0"
] | 44 | 2020-10-27T19:05:44.000Z | 2022-03-22T17:17:37.000Z | db/csvs_test_examples/project/project_availability/project_availability_types/doc.py | souissim/gridpath | 4eeca2be24b485edc56026e38cfda83f4a6b27ea | [
"Apache-2.0"
] | 67 | 2020-10-08T22:36:53.000Z | 2022-03-22T22:58:33.000Z | db/csvs_test_examples/project/project_availability/project_availability_types/doc.py | souissim/gridpath | 4eeca2be24b485edc56026e38cfda83f4a6b27ea | [
"Apache-2.0"
] | 21 | 2020-10-08T23:23:48.000Z | 2022-03-28T01:21:21.000Z | # Copyright 2016-2020 Blue Marble Analytics LLC.
#
# 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 ag... | 51.813559 | 81 | 0.669284 | 372 | 3,057 | 5.38172 | 0.408602 | 0.094905 | 0.042458 | 0.072428 | 0.103896 | 0.071928 | 0 | 0 | 0 | 0 | 0 | 0.004551 | 0.13739 | 3,057 | 58 | 82 | 52.706897 | 0.754645 | 0.972522 | 0 | 0 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
2f093dab61a4920e6658955efc331ab3c70a322c | 850 | py | Python | tests/custom/test_clean_dateTime.py | arkhn/cleaning-scripts | ffe88598b476b2e6b53fd06e8ce6092ef0351b19 | [
"Apache-2.0"
] | 9 | 2019-03-31T03:46:51.000Z | 2020-05-20T13:05:06.000Z | tests/custom/test_clean_dateTime.py | arkhn/cleaning-scripts | ffe88598b476b2e6b53fd06e8ce6092ef0351b19 | [
"Apache-2.0"
] | 18 | 2019-09-11T09:19:45.000Z | 2021-07-13T09:16:23.000Z | tests/custom/test_clean_dateTime.py | arkhn/cleaning-scripts | ffe88598b476b2e6b53fd06e8ce6092ef0351b19 | [
"Apache-2.0"
] | 2 | 2019-09-18T15:20:10.000Z | 2021-07-25T06:46:57.000Z | import pytest
from scripts.custom import clean_dateTime
@pytest.mark.parametrize(
"test_input,expected",
[
("2015", "2015"),
("2015-02", "2015-02"),
("201502", "2015-02"),
("2015-02-07", "2015-02-07"),
("20150207", "2015-02-07"),
("2015-02-07T13:28:17", "2015-0... | 31.481481 | 71 | 0.555294 | 130 | 850 | 3.576923 | 0.292308 | 0.193548 | 0.165591 | 0.195699 | 0.346237 | 0.275269 | 0.275269 | 0.275269 | 0.275269 | 0.275269 | 0 | 0.41194 | 0.211765 | 850 | 26 | 72 | 32.692308 | 0.28209 | 0 | 0 | 0 | 0 | 0 | 0.46 | 0.235294 | 0 | 0 | 0 | 0 | 0.043478 | 1 | 0.043478 | false | 0 | 0.086957 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2f17c5de8625cd4bead31cfebf12c8291e262c52 | 183 | py | Python | jails/routing.py | himrock922/jaisting | a1a53371043c05f0bb82fb7e2e3e16aecb1eba42 | [
"Apache-2.0"
] | 9 | 2019-03-23T08:38:58.000Z | 2021-01-27T05:54:32.000Z | jails/routing.py | himrock922/jaisting | a1a53371043c05f0bb82fb7e2e3e16aecb1eba42 | [
"Apache-2.0"
] | 16 | 2019-03-23T07:35:01.000Z | 2022-01-22T04:23:46.000Z | jails/routing.py | himrock922/jaisting | a1a53371043c05f0bb82fb7e2e3e16aecb1eba42 | [
"Apache-2.0"
] | 1 | 2019-03-24T13:17:18.000Z | 2019-03-24T13:17:18.000Z | from channels.routing import ProtocolTypeRouter
from django.urls import re_path
from . import consumers
websocket_urlpatterns = [
re_path(r'/websocket', consumers.VNCConsumer)
]
| 22.875 | 49 | 0.803279 | 22 | 183 | 6.545455 | 0.636364 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125683 | 183 | 7 | 50 | 26.142857 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.054645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2f38dea668d3c57cb5f9fffdb2e8a23821880993 | 96 | py | Python | pacote-download/Ex24.py | nkonai/Curso-em-video-Python | c05a60b3daa7d448e1e7f0d4d23f62df5d2c8df2 | [
"MIT"
] | null | null | null | pacote-download/Ex24.py | nkonai/Curso-em-video-Python | c05a60b3daa7d448e1e7f0d4d23f62df5d2c8df2 | [
"MIT"
] | null | null | null | pacote-download/Ex24.py | nkonai/Curso-em-video-Python | c05a60b3daa7d448e1e7f0d4d23f62df5d2c8df2 | [
"MIT"
] | null | null | null | cidade = str(input('Qual cidade voce mora?'))
print(cidade.strip().lower().startswith('santo'))
| 32 | 49 | 0.708333 | 13 | 96 | 5.230769 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072917 | 96 | 2 | 50 | 48 | 0.764045 | 0 | 0 | 0 | 0 | 0 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
2f63b5c96ba7f532ebe24f05547c39f51d21dc62 | 1,291 | py | Python | ddlc/database.py | UltiRequiem/ddlc_api | ab542b6b9b1979421531dcce636cfe30d18d3a9d | [
"MIT"
] | 5 | 2021-11-19T18:57:27.000Z | 2022-03-19T23:53:45.000Z | ddlc/database.py | UltiRequiem/ddlc_api | ab542b6b9b1979421531dcce636cfe30d18d3a9d | [
"MIT"
] | 5 | 2021-11-07T02:43:26.000Z | 2022-03-06T03:16:28.000Z | ddlc/database.py | UltiRequiem/ddlc_api | ab542b6b9b1979421531dcce636cfe30d18d3a9d | [
"MIT"
] | 3 | 2021-11-19T18:57:28.000Z | 2021-11-19T19:02:39.000Z | import pymongo
from .config import DB_PASSWORD, DB_USER, CLUSTER_NAME, SUBDOMAIN, DB_NAME
from .exceptions import CharacterNotFound, PoemAuthorNotFound
class DatabaseService:
def __init__(self):
client = pymongo.MongoClient(
f"mongodb+srv://{DB_USER}:{DB_PASSWORD}@{CLUSTER_NAME}.{SUBDOMAIN}.m... | 28.065217 | 101 | 0.652982 | 153 | 1,291 | 5.287582 | 0.313725 | 0.037083 | 0.049444 | 0.044499 | 0.076638 | 0.076638 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235476 | 1,291 | 45 | 102 | 28.688889 | 0.819656 | 0 | 0 | 0 | 0 | 0 | 0.088304 | 0.066615 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258065 | false | 0.064516 | 0.096774 | 0.096774 | 0.548387 | 0.032258 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
85d25582e5cd6979f09e8f1ee727114f02ab78b7 | 1,377 | py | Python | graph/models.py | insung151/piro | aecbf8ce27e6e47856e2afd4a6e9e406bffa7a40 | [
"MIT"
] | null | null | null | graph/models.py | insung151/piro | aecbf8ce27e6e47856e2afd4a6e9e406bffa7a40 | [
"MIT"
] | null | null | null | graph/models.py | insung151/piro | aecbf8ce27e6e47856e2afd4a6e9e406bffa7a40 | [
"MIT"
] | null | null | null | import datetime
from django.db import models
from django.utils import timezone
# from .backends import update_data
class Member(models.Model):
github_username = models.CharField(max_length=100, unique=True)
def save(self, *args, **kwargs):
self.slug = self.github_username
super(Member, self... | 28.102041 | 102 | 0.664488 | 170 | 1,377 | 5.188235 | 0.429412 | 0.063492 | 0.034014 | 0.054422 | 0.166667 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0.004625 | 0.21496 | 1,377 | 49 | 103 | 28.102041 | 0.811286 | 0.042121 | 0 | 0.15625 | 0 | 0 | 0.007593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21875 | false | 0.03125 | 0.09375 | 0.125 | 0.71875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c80564b90308d62159da1bcee2b8ccb5be3d2c50 | 87 | py | Python | HelloPython/Hello.py | itsdamslife/python-ml-udacity | d16b7619a05e1b42fcbd0846f64726bf9741701a | [
"MIT"
] | null | null | null | HelloPython/Hello.py | itsdamslife/python-ml-udacity | d16b7619a05e1b42fcbd0846f64726bf9741701a | [
"MIT"
] | null | null | null | HelloPython/Hello.py | itsdamslife/python-ml-udacity | d16b7619a05e1b42fcbd0846f64726bf9741701a | [
"MIT"
] | null | null | null |
class HelloPy:
def hello(self):
print("Hello Python!")
HelloPy().hello() | 12.428571 | 30 | 0.597701 | 10 | 87 | 5.2 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 87 | 7 | 31 | 12.428571 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c80efb1904e757cf4b1d0964fcfc32592997f16d | 178 | py | Python | lib/__init__.py | irap-omp/deconv3d | 0ab5322f99e28a19ce5540d9a27dcbe340542d0a | [
"MIT"
] | 3 | 2016-09-19T08:52:37.000Z | 2018-12-07T09:33:20.000Z | lib/__init__.py | irap-omp/deconv3d | 0ab5322f99e28a19ce5540d9a27dcbe340542d0a | [
"MIT"
] | 1 | 2015-04-09T12:30:14.000Z | 2015-04-09T14:05:30.000Z | lib/__init__.py | irap-omp/deconv3d | 0ab5322f99e28a19ce5540d9a27dcbe340542d0a | [
"MIT"
] | 3 | 2017-12-13T14:26:24.000Z | 2019-07-26T18:15:37.000Z |
from os.path import abspath, dirname
with open(dirname(abspath(__file__))+'/../VERSION', 'r') as version_file:
__version__ = version_file.read().replace('\n', '').strip()
| 25.428571 | 73 | 0.685393 | 23 | 178 | 4.869565 | 0.695652 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117978 | 178 | 6 | 74 | 29.666667 | 0.713376 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c8418b9ec302c999618cb90b60b9001c7764202e | 448 | py | Python | examples/pybullet/examples/logMinitaur.py | felipeek/bullet3 | 6a59241074720e9df119f2f86bc01765917feb1e | [
"Zlib"
] | 9,136 | 2015-01-02T00:41:45.000Z | 2022-03-31T15:30:02.000Z | examples/pybullet/examples/logMinitaur.py | felipeek/bullet3 | 6a59241074720e9df119f2f86bc01765917feb1e | [
"Zlib"
] | 2,424 | 2015-01-05T08:55:58.000Z | 2022-03-30T19:34:55.000Z | examples/pybullet/examples/logMinitaur.py | felipeek/bullet3 | 6a59241074720e9df119f2f86bc01765917feb1e | [
"Zlib"
] | 2,921 | 2015-01-02T10:19:30.000Z | 2022-03-31T02:48:42.000Z | import pybullet as p
import pybullet_data
cid = p.connect(p.SHARED_MEMORY)
if (cid < 0):
p.connect(p.GUI)
p.setAdditionalSearchPath(pybullet_data.getDataPath())
p.loadURDF("plane.urdf")
quadruped = p.loadURDF("quadruped/quadruped.urdf")
logId = p.startStateLogging(p.STATE_LOGGING_MINITAUR, "LOG00048.TXT", [quadru... | 21.333333 | 82 | 0.776786 | 58 | 448 | 5.913793 | 0.465517 | 0.218659 | 0.233236 | 0.349854 | 0.221574 | 0.221574 | 0.221574 | 0.221574 | 0.221574 | 0 | 0 | 0.014599 | 0.082589 | 448 | 20 | 83 | 22.4 | 0.819951 | 0 | 0 | 0.333333 | 0 | 0 | 0.102679 | 0.053571 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.133333 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c8448b25950b97138001e69363d737fca8d5fa17 | 225 | py | Python | freedscovery_s3_connector/__init__.py | FreeDiscovery/FreeDiscovery-S3-connector | c10a6e1c26f95c199e94908f4e8534f735b94e37 | [
"BSD-3-Clause"
] | null | null | null | freedscovery_s3_connector/__init__.py | FreeDiscovery/FreeDiscovery-S3-connector | c10a6e1c26f95c199e94908f4e8534f735b94e37 | [
"BSD-3-Clause"
] | null | null | null | freedscovery_s3_connector/__init__.py | FreeDiscovery/FreeDiscovery-S3-connector | c10a6e1c26f95c199e94908f4e8534f735b94e37 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from .constants import *
from . import io
from . import ai
from . import filters
from ._version import __version__
__version_date__ = "Sun Feb 14 14:28:51 2016 +0100"
__version_hash__ = "1d5f7f3"
| 16.071429 | 51 | 0.711111 | 32 | 225 | 4.53125 | 0.625 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11413 | 0.182222 | 225 | 13 | 52 | 17.307692 | 0.673913 | 0.093333 | 0 | 0 | 0 | 0 | 0.183168 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c8582ae70ade8be54e5b658dac7c05d734904cb0 | 549 | py | Python | config/config.py | ByeongGil-Jung/Pytorch-Experiments-Boilerplate | 5026fda297460552a076addbf7d29ad826ee0ac8 | [
"Apache-2.0"
] | null | null | null | config/config.py | ByeongGil-Jung/Pytorch-Experiments-Boilerplate | 5026fda297460552a076addbf7d29ad826ee0ac8 | [
"Apache-2.0"
] | null | null | null | config/config.py | ByeongGil-Jung/Pytorch-Experiments-Boilerplate | 5026fda297460552a076addbf7d29ad826ee0ac8 | [
"Apache-2.0"
] | null | null | null | import os
from domain.base import Domain, Yaml
from properties import APPLICATION_PROPERTIES
class Config(Domain):
def __init__(self, file_name, *args, **kwargs):
super(Config, self).__init__(*args, **kwargs)
self.file_name = file_name
@property
def file_path(self):
return os.pa... | 22.875 | 89 | 0.693989 | 70 | 549 | 5.171429 | 0.371429 | 0.088398 | 0.099448 | 0.104972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209472 | 549 | 23 | 90 | 23.869565 | 0.834101 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.1875 | 0.1875 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c07059d11303ea7e0150379f0e66db3230da9433 | 2,899 | py | Python | tests/orca_unit_testing/test_series_str.py | jiajiaxu123/Orca | e86189e70c1d0387816bb98b8047a6232fbda9df | [
"Apache-2.0"
] | 20 | 2019-12-02T11:49:12.000Z | 2021-12-24T19:34:32.000Z | tests/orca_unit_testing/test_series_str.py | jiajiaxu123/Orca | e86189e70c1d0387816bb98b8047a6232fbda9df | [
"Apache-2.0"
] | null | null | null | tests/orca_unit_testing/test_series_str.py | jiajiaxu123/Orca | e86189e70c1d0387816bb98b8047a6232fbda9df | [
"Apache-2.0"
] | 5 | 2019-12-02T12:16:22.000Z | 2021-10-22T02:27:47.000Z | import unittest
import orca
from setup.settings import *
from pandas.util.testing import *
class SeriesStrTest(unittest.TestCase):
def setUp(self):
self.PRECISION = 5
@classmethod
def setUpClass(cls):
# connect to a DolphinDB server
orca.connect(HOST, PORT, "admin", "123456")
@p... | 43.924242 | 118 | 0.675405 | 449 | 2,899 | 4.164811 | 0.191537 | 0.064171 | 0.172727 | 0.213369 | 0.55615 | 0.512299 | 0.51123 | 0.395722 | 0.250267 | 0.208556 | 0 | 0.013861 | 0.153846 | 2,899 | 65 | 119 | 44.6 | 0.748471 | 0.061745 | 0 | 0.085106 | 0 | 0 | 0.016937 | 0 | 0 | 0 | 0 | 0.015385 | 0.382979 | 1 | 0.276596 | false | 0 | 0.085106 | 0.085106 | 0.468085 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c0a1254294cd0330d5440776840a312ac8bb2711 | 1,455 | py | Python | pyatlas/tests/programatic_apikey_pytests.py | jasonmimick/pyatlas | 4b0198d0c6f87691175d79629b2689f02e58ec8b | [
"Apache-2.0"
] | null | null | null | pyatlas/tests/programatic_apikey_pytests.py | jasonmimick/pyatlas | 4b0198d0c6f87691175d79629b2689f02e58ec8b | [
"Apache-2.0"
] | null | null | null | pyatlas/tests/programatic_apikey_pytests.py | jasonmimick/pyatlas | 4b0198d0c6f87691175d79629b2689f02e58ec8b | [
"Apache-2.0"
] | null | null | null | import pytest
import pprint
import string
import random
import os
from pyatlas import AtlasClient
#from testutils import *
@pytest.fixture
def public_key():
return "NGKMIHEO"
@pytest.fixture
def private_key():
return "66bcc7de-b0de-4d8d-9695-ef97637c6895"
@pytest.fixture
def client(public_key, private_key):
r... | 25.982143 | 103 | 0.707904 | 189 | 1,455 | 5.253968 | 0.306878 | 0.166163 | 0.096677 | 0.08862 | 0.052367 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027049 | 0.136082 | 1,455 | 55 | 104 | 26.454545 | 0.762928 | 0.019931 | 0 | 0.139535 | 0 | 0 | 0.257203 | 0.100492 | 0 | 0 | 0 | 0 | 0.023256 | 1 | 0.209302 | false | 0 | 0.139535 | 0.116279 | 0.534884 | 0.162791 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c0a4975e4ff94754e10e515af8e9f52525f2cf81 | 485 | py | Python | tests/skillmap_parser_test.py | niyue/skillmap | ca1011d5f822134ad1d7c5f7f243da30a0731170 | [
"MIT"
] | 69 | 2022-02-27T13:05:20.000Z | 2022-03-31T23:12:48.000Z | tests/skillmap_parser_test.py | chandrab/skillmap | 6d07dc5392b0fd66d310db8cb85051cf9e0e93df | [
"MIT"
] | 1 | 2022-02-27T22:44:36.000Z | 2022-03-02T01:15:52.000Z | tests/skillmap_parser_test.py | chandrab/skillmap | 6d07dc5392b0fd66d310db8cb85051cf9e0e93df | [
"MIT"
] | 2 | 2022-02-27T23:37:15.000Z | 2022-03-14T12:32:22.000Z | from skillmap.skillmap_parser import SkillMapParser
def test_parse_toml():
parser = SkillMapParser()
skill_map = parser.parse('tests/url_shortener.toml')
assert skill_map
assert skill_map['skillmap']['name'] == "url shortener"
assert skill_map['groups']['webui']['name'] == "web ui"
assert skil... | 40.416667 | 93 | 0.682474 | 59 | 485 | 5.40678 | 0.40678 | 0.15047 | 0.219436 | 0.188088 | 0.347962 | 0.269592 | 0.269592 | 0.269592 | 0 | 0 | 0 | 0 | 0.129897 | 485 | 11 | 94 | 44.090909 | 0.755924 | 0 | 0 | 0 | 0 | 0 | 0.321649 | 0.049485 | 0 | 0 | 0 | 0 | 0.555556 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c0ba497faffdf2c98170646061c1181fdbd7ee74 | 1,542 | py | Python | feature_extract/config.py | bradysalz/MinVAD | 4d4a396b381bbb4714b434f60e09fb2fa7d3c474 | [
"MIT"
] | null | null | null | feature_extract/config.py | bradysalz/MinVAD | 4d4a396b381bbb4714b434f60e09fb2fa7d3c474 | [
"MIT"
] | 2 | 2016-12-09T21:16:28.000Z | 2016-12-09T21:29:10.000Z | feature_extract/config.py | bradysalz/MinVAD | 4d4a396b381bbb4714b434f60e09fb2fa7d3c474 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Nov 21 18:51:11 2016
@author: brady
"""
#################### TRAINING ####################
# POS DIRS
TRAIN_CLEAN = r'C:\Users\brady\GitHub\MinVAD\data\train\positive\clean'
TRAIN_0DB = r'C:\Users\brady\GitHub\MinVAD\data\train\positive\0db'
TRAIN_5DB = r'C:\Users\brady\GitHu... | 41.675676 | 106 | 0.732815 | 245 | 1,542 | 4.477551 | 0.208163 | 0.02917 | 0.102097 | 0.175023 | 0.628988 | 0.628988 | 0.628988 | 0.628988 | 0.603464 | 0.083865 | 0 | 0.034698 | 0.065499 | 1,542 | 37 | 107 | 41.675676 | 0.726579 | 0.080415 | 0 | 0 | 0 | 0 | 0.676714 | 0.676714 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c0d5daf30a2f4bfa690f7a0a63f28bb7cf1048fc | 249 | py | Python | smarcambuddy/take_a_photo.py | senaranya/SmartCamBuddy | e60632a7661f4fdcfa994e6424f598538f6b7be6 | [
"MIT"
] | null | null | null | smarcambuddy/take_a_photo.py | senaranya/SmartCamBuddy | e60632a7661f4fdcfa994e6424f598538f6b7be6 | [
"MIT"
] | null | null | null | smarcambuddy/take_a_photo.py | senaranya/SmartCamBuddy | e60632a7661f4fdcfa994e6424f598538f6b7be6 | [
"MIT"
] | null | null | null | from capture_image import CaptureImage
if __name__ == '__main__':
"""
This can be directly used from CLI
e.g.: source /home/pi/.smartcambuddy_venv/bin/activate
python smarcambuddy/take_a_photo.py
"""
CaptureImage.trigger()
| 24.9 | 58 | 0.702811 | 32 | 249 | 5.09375 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196787 | 249 | 9 | 59 | 27.666667 | 0.815 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c0f8d44852a7507fedd1ad9b67823c5e5f22423a | 117 | py | Python | fnexchange/core/config.py | dnif-archive/fnExchange | d75431b37da3193447b919b4be2e0104266156f1 | [
"Apache-2.0"
] | 1 | 2017-07-19T22:13:54.000Z | 2017-07-19T22:13:54.000Z | fnexchange/core/config.py | dnif/fnExchange | d75431b37da3193447b919b4be2e0104266156f1 | [
"Apache-2.0"
] | 1 | 2021-03-25T21:27:21.000Z | 2021-03-25T21:27:21.000Z | fnexchange/core/config.py | dnif-archive/fnExchange | d75431b37da3193447b919b4be2e0104266156f1 | [
"Apache-2.0"
] | 1 | 2021-07-07T18:55:19.000Z | 2021-07-07T18:55:19.000Z | import yaml
def read_config(path):
with open(path, 'r') as f:
conf = yaml.safe_load(f)
return conf
| 14.625 | 32 | 0.615385 | 19 | 117 | 3.684211 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273504 | 117 | 7 | 33 | 16.714286 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
23d6f93dd725259d766c98af0f0522d89793519e | 3,808 | py | Python | m2m/search/models.py | blampe/M2M | d8c025481ba961fe85b95f9e851a7678e08227c3 | [
"MIT"
] | null | null | null | m2m/search/models.py | blampe/M2M | d8c025481ba961fe85b95f9e851a7678e08227c3 | [
"MIT"
] | null | null | null | m2m/search/models.py | blampe/M2M | d8c025481ba961fe85b95f9e851a7678e08227c3 | [
"MIT"
] | 1 | 2018-06-27T14:05:43.000Z | 2018-06-27T14:05:43.000Z | from django.db import models
#from djangosphinx import SphinxSearch, SphinxRelation, SphinxQuerySet
#import djangosphinx.apis.current as sphinxapi
from advancedsearch.models import Movie, Episode, Song
from browseNet.models import Host, Path
# Create your models here.
class File(models.Model):
'''An indexed ... | 39.666667 | 110 | 0.665966 | 451 | 3,808 | 5.507761 | 0.343681 | 0.061192 | 0.099436 | 0.168277 | 0.137279 | 0.115137 | 0.104267 | 0.036232 | 0.036232 | 0.036232 | 0 | 0.007388 | 0.217962 | 3,808 | 95 | 111 | 40.084211 | 0.826729 | 0.19354 | 0 | 0.257143 | 0 | 0.014286 | 0.116409 | 0.065439 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085714 | false | 0.057143 | 0.042857 | 0.014286 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
23ece7de650d89db697b4f1ccb8b587a85d078b4 | 99 | py | Python | jonathan/Aufgabe23/1.py | codingkrabbe/adventofcode | 21965a9519e8c20ab154354fd4b4ad3c807b7b95 | [
"MIT"
] | 5 | 2021-12-01T21:44:22.000Z | 2021-12-09T19:11:21.000Z | jonathan/Aufgabe23/1.py | codingkrabbe/adventofcode | 21965a9519e8c20ab154354fd4b4ad3c807b7b95 | [
"MIT"
] | null | null | null | jonathan/Aufgabe23/1.py | codingkrabbe/adventofcode | 21965a9519e8c20ab154354fd4b4ad3c807b7b95 | [
"MIT"
] | 3 | 2021-12-01T21:41:20.000Z | 2021-12-03T14:17:24.000Z | def main():
lines = open('input.txt', 'r').readlines()
if __name__ == '__main__':
main()
| 14.142857 | 46 | 0.565657 | 12 | 99 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 99 | 6 | 47 | 16.5 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9b0fef936f066c73b4c06e85baae1161aaa35969 | 1,134 | py | Python | src/heap/tests/test_max_binary_heap.py | codermrhasan/data-structures-and-algorithms | 98c828bad792d3d6cdd909a8c6935583a8d9f468 | [
"MIT"
] | null | null | null | src/heap/tests/test_max_binary_heap.py | codermrhasan/data-structures-and-algorithms | 98c828bad792d3d6cdd909a8c6935583a8d9f468 | [
"MIT"
] | null | null | null | src/heap/tests/test_max_binary_heap.py | codermrhasan/data-structures-and-algorithms | 98c828bad792d3d6cdd909a8c6935583a8d9f468 | [
"MIT"
] | null | null | null | from heap.max_binary_heap import MaxBinaryHeap
def test_exists_and_instantiation():
assert MaxBinaryHeap
assert MaxBinaryHeap()
def test_properties():
bh = MaxBinaryHeap()
bh.heapList = [1,2,3]
assert bh.heapList == [1,2,3]
def test_percUp():
bh = MaxBinaryHeap()
bh.heapList = [3,2,1,4]
... | 22.235294 | 46 | 0.611993 | 170 | 1,134 | 4.011765 | 0.158824 | 0.205279 | 0.211144 | 0.183284 | 0.376833 | 0.164223 | 0.143695 | 0.085044 | 0 | 0 | 0 | 0.062429 | 0.223104 | 1,134 | 51 | 47 | 22.235294 | 0.711691 | 0 | 0 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27907 | 1 | 0.186047 | false | 0 | 0.023256 | 0 | 0.209302 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9b17a28e7a678defe48fd07eac1522b08da41fac | 13,312 | py | Python | light8/Configs/Config.danceshow2002.py | drewp/light9 | ab173a40d095051546e532962f7a33ac502943a6 | [
"MIT"
] | 2 | 2018-10-05T13:32:46.000Z | 2022-01-01T22:51:20.000Z | light8/Configs/Config.danceshow2002.py | drewp/light9 | ab173a40d095051546e532962f7a33ac502943a6 | [
"MIT"
] | 4 | 2021-06-08T19:33:40.000Z | 2022-03-11T23:18:06.000Z | light8/Configs/Config.danceshow2002.py | drewp/light9 | ab173a40d095051546e532962f7a33ac502943a6 | [
"MIT"
] | null | null | null | from random import randrange
from time import time
from __future__ import generators,division
from Subs import *
patch = {
'side l' : 45,
'side r' : 46,
'main 1' : 1,
'main 2' : 2,
'main 3' : 3,
'main 4' : 4,
'main 5' : 5,
'main 6' : 6,
'main 7' : 7,
'main 8' : 8,
'main 9' ... | 38.810496 | 100 | 0.457031 | 1,912 | 13,312 | 3.16841 | 0.16318 | 0.009904 | 0.030043 | 0.004952 | 0.090789 | 0.036316 | 0.014526 | 0.008254 | 0.008254 | 0.008254 | 0 | 0.203768 | 0.326097 | 13,312 | 342 | 101 | 38.923977 | 0.471519 | 0.066707 | 0 | 0.097973 | 0 | 0 | 0.20071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.016892 | null | null | 0.003378 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f1aa3fd77846f2c70da5ebcb50efbe7da8be193b | 333 | py | Python | aspen/renderers.py | galuszkak/aspen.py | a29047d6d4eefa47413e35a18068946424898364 | [
"MIT"
] | null | null | null | aspen/renderers.py | galuszkak/aspen.py | a29047d6d4eefa47413e35a18068946424898364 | [
"MIT"
] | null | null | null | aspen/renderers.py | galuszkak/aspen.py | a29047d6d4eefa47413e35a18068946424898364 | [
"MIT"
] | null | null | null | # for backwards compatibility with aspen-renderer modules
from .simplates.renderers import Factory, Renderer
Factory, Renderer # make pyflakes happy
import warnings
warnings.warn('aspen.renderers is deprecated and will be removed in a future version. '
'Please use aspen.simplates.renderers instead.', Fu... | 37 | 87 | 0.780781 | 41 | 333 | 6.341463 | 0.756098 | 0.138462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159159 | 333 | 8 | 88 | 41.625 | 0.928571 | 0.225225 | 0 | 0 | 0 | 0 | 0.454902 | 0.098039 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f1afaf0a95380f8c421a56c623e2af9bfd01fd81 | 27,795 | py | Python | BAT/BAT.py | baba-hashimoto/BAT.py | 8c7ad986dd0854961175079b98ce4f6507fee87a | [
"MIT"
] | null | null | null | BAT/BAT.py | baba-hashimoto/BAT.py | 8c7ad986dd0854961175079b98ce4f6507fee87a | [
"MIT"
] | null | null | null | BAT/BAT.py | baba-hashimoto/BAT.py | 8c7ad986dd0854961175079b98ce4f6507fee87a | [
"MIT"
] | 1 | 2022-03-26T11:34:20.000Z | 2022-03-26T11:34:20.000Z | #!/usr/bin/env python2
import glob as glob
import os as os
import re
import shutil as shutil
import signal as signal
import subprocess as sp
import sys as sys
from lib import build
from lib import scripts
from lib import setup
from lib import analysis
ion_def = []
poses_list = []
poses_def = []
release_eq = []
trans... | 43.565831 | 188 | 0.612916 | 4,316 | 27,795 | 3.794949 | 0.074143 | 0.094145 | 0.061115 | 0.055071 | 0.724831 | 0.710056 | 0.693449 | 0.648941 | 0.638317 | 0.633921 | 0 | 0.024442 | 0.20957 | 27,795 | 637 | 189 | 43.634223 | 0.721074 | 0.048102 | 0 | 0.421144 | 0 | 0.117851 | 0.126287 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.019064 | null | null | 0.079723 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 3 |
f1e2aa05c0131a4119034421ecbeb1cb9810d8c8 | 2,080 | py | Python | boaphys/elements.py | janpipek/boaphys | f32d972e22ebede2f24bf69506125b7c59a4c8c0 | [
"MIT"
] | null | null | null | boaphys/elements.py | janpipek/boaphys | f32d972e22ebede2f24bf69506125b7c59a4c8c0 | [
"MIT"
] | null | null | null | boaphys/elements.py | janpipek/boaphys | f32d972e22ebede2f24bf69506125b7c59a4c8c0 | [
"MIT"
] | null | null | null | class Element:
def __init__(self, name : str, symbol : str, Z : int):
self.name = name
self.symbol = symbol
self.Z = Z
def __repr__(self):
return "Element(\"{0}\", Z={1})".format(self.name, self.Z)
def __str__(self):
return self.symbol
... | 27.012987 | 93 | 0.516827 | 242 | 2,080 | 4.247934 | 0.227273 | 0.074903 | 0.046693 | 0.062257 | 0.194553 | 0.134241 | 0.134241 | 0.134241 | 0.134241 | 0.134241 | 0 | 0.006792 | 0.362981 | 2,080 | 77 | 94 | 27.012987 | 0.769057 | 0.009135 | 0 | 0.152542 | 0 | 0 | 0.029669 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.220339 | false | 0 | 0 | 0.101695 | 0.508475 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7b30e1e10fc484e48de9eae99bc4b49a95428432 | 528 | py | Python | adverse/signals.py | michael-xander/communique-webapp | 85b450d7f6d0313c5e5ef53a262a850b7e93c3d6 | [
"MIT"
] | null | null | null | adverse/signals.py | michael-xander/communique-webapp | 85b450d7f6d0313c5e5ef53a262a850b7e93c3d6 | [
"MIT"
] | null | null | null | adverse/signals.py | michael-xander/communique-webapp | 85b450d7f6d0313c5e5ef53a262a850b7e93c3d6 | [
"MIT"
] | null | null | null | from django.db.models.signals import post_save
from django.dispatch import receiver
from communique.utils.utils_signals import generate_notifications
from user.models import NotificationRegistration
from .models import AdverseEvent
@receiver(post_save, sender=AdverseEvent)
def post_adverse_event_save_callback(sender... | 37.714286 | 103 | 0.829545 | 63 | 528 | 6.793651 | 0.555556 | 0.046729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 528 | 14 | 104 | 37.714286 | 0.91453 | 0.1875 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.625 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9e30175d2516252b61b551241d3a7d897279d318 | 1,563 | py | Python | SimulEval/simuleval/agents/agent.py | ashkanalinejad/Supervised-Simultaneous-MT | d09397ed86bbf4133d5d9b906030a8881ee4c13f | [
"MIT"
] | 2 | 2022-01-11T19:27:11.000Z | 2022-01-12T11:06:53.000Z | SimulEval/simuleval/agents/agent.py | sfu-natlang/Supervised-Simultaneous-MT | 12c3a53887c985ae24199ecef2f7b2335fe214c6 | [
"MIT"
] | 1 | 2022-02-12T03:02:52.000Z | 2022-02-12T04:27:10.000Z | SimulEval/simuleval/agents/agent.py | sfu-natlang/Supervised-Simultaneous-MT | 12c3a53887c985ae24199ecef2f7b2335fe214c6 | [
"MIT"
] | 1 | 2022-02-27T14:22:36.000Z | 2022-02-27T14:22:36.000Z | # Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
from simuleval.states import TextStates, SpeechStates
class Agent(object):
data_type = None
def __init__(self, a... | 26.948276 | 76 | 0.662828 | 192 | 1,563 | 5.260417 | 0.473958 | 0.059406 | 0.035644 | 0.033663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271273 | 1,563 | 57 | 77 | 27.421053 | 0.886743 | 0.252719 | 0 | 0.181818 | 0 | 0 | 0.008643 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.333333 | false | 0.121212 | 0.030303 | 0.060606 | 0.575758 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
9e4e8b052d2746faabafff4026914e35d26807a7 | 532 | py | Python | src/objects/qubit.py | KaroliShp/Quantumformatics | 4166448706c06a1a45abd106da8152b4f4c40a25 | [
"MIT"
] | 2 | 2019-10-28T20:26:14.000Z | 2019-10-29T08:28:45.000Z | src/objects/qubit.py | KaroliShp/Quantumformatics | 4166448706c06a1a45abd106da8152b4f4c40a25 | [
"MIT"
] | 3 | 2019-10-28T09:19:27.000Z | 2019-10-28T13:42:08.000Z | src/objects/qubit.py | KaroliShp/Quantumformatics | 4166448706c06a1a45abd106da8152b4f4c40a25 | [
"MIT"
] | null | null | null | from src.dirac_notation.bra import Bra
from src.dirac_notation.ket import Ket
from src.dirac_notation.matrix import Matrix
from src.dirac_notation import functions as dirac
from src.dirac_notation import constants as const
from src.objects.quantum_system import QuantumSystem, SystemType
class Qubit(QuantumSystem):
... | 29.555556 | 64 | 0.755639 | 75 | 532 | 5.16 | 0.546667 | 0.108527 | 0.155039 | 0.258398 | 0.134367 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004577 | 0.178571 | 532 | 18 | 65 | 29.555556 | 0.881007 | 0.152256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.1 | false | 0 | 0.6 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9e8502300566fe834355583417c7c53166b5b4bb | 871 | py | Python | tests/test_multicollinearity_test.py | flor14/lrasm | dd3a05f34319049f51fdfa9407ab4d5906ea82ed | [
"MIT"
] | null | null | null | tests/test_multicollinearity_test.py | flor14/lrasm | dd3a05f34319049f51fdfa9407ab4d5906ea82ed | [
"MIT"
] | 21 | 2022-01-16T23:56:32.000Z | 2022-02-05T18:51:49.000Z | tests/test_multicollinearity_test.py | flor14/lrasm | dd3a05f34319049f51fdfa9407ab4d5906ea82ed | [
"MIT"
] | 2 | 2022-01-27T20:30:01.000Z | 2022-02-26T01:32:21.000Z | from lrasm.multicollinearity_tst import multicollinearity_test
import numpy as np
import pandas as pd
from statsmodels.stats.outliers_influence import variance_inflation_factor
import pytest
def test_multicollinearity_test():
"""Test multicollinearity test outputs from dataset"""
X_proper = pd.DataFrame({"hea... | 39.590909 | 112 | 0.699196 | 136 | 871 | 4.316176 | 0.426471 | 0.286201 | 0.187394 | 0.143101 | 0.221465 | 0.170358 | 0.149915 | 0.149915 | 0 | 0 | 0 | 0.082432 | 0.150402 | 871 | 22 | 113 | 39.590909 | 0.710811 | 0.055109 | 0 | 0 | 0 | 0 | 0.033007 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.066667 | false | 0 | 0.333333 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9e87ed3751d6a84cde898423e624e0e29e5bc397 | 357 | py | Python | api/static_api.py | SachinKalsi/face-detection-api | 93d012a1b315d3898dbff2612e7beffabdf7d9f7 | [
"MIT"
] | 9 | 2019-02-28T09:32:39.000Z | 2021-07-06T23:12:47.000Z | api/static_api.py | SachinKalsi/face-detection-api | 93d012a1b315d3898dbff2612e7beffabdf7d9f7 | [
"MIT"
] | 2 | 2022-01-13T01:00:20.000Z | 2022-03-11T23:37:01.000Z | api/static_api.py | SachinKalsi/face-api | 93d012a1b315d3898dbff2612e7beffabdf7d9f7 | [
"MIT"
] | 4 | 2020-02-02T17:04:33.000Z | 2020-09-14T05:25:59.000Z | from flask import Blueprint, render_template, send_file
from flask_app import app
static_api = Blueprint('static_api', __name__)
# @static_api.route('/', methods=['GET'])
# def index():
# return render_template('index.html')
@static_api.route('/<image_id>', methods=['GET'])
def get_image(image_id):
return se... | 29.75 | 55 | 0.714286 | 50 | 357 | 4.76 | 0.44 | 0.151261 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 357 | 12 | 56 | 29.75 | 0.755556 | 0.260504 | 0 | 0 | 0 | 0 | 0.1341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.