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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
364f6afb2930fd4a640e360b90c120d3d67c7e03 | 3,555 | py | Python | powerapi/test_utils/db/db.py | jorgermurillo/powerapi | 0636a693db2a0f3491ffd45a623de98a563fbd4d | [
"BSD-3-Clause"
] | null | null | null | powerapi/test_utils/db/db.py | jorgermurillo/powerapi | 0636a693db2a0f3491ffd45a623de98a563fbd4d | [
"BSD-3-Clause"
] | null | null | null | powerapi/test_utils/db/db.py | jorgermurillo/powerapi | 0636a693db2a0f3491ffd45a623de98a563fbd4d | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2018, INRIA
# Copyright (c) 2018, University of Lille
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, thi... | 32.318182 | 96 | 0.703797 | 472 | 3,555 | 5.17161 | 0.385593 | 0.04957 | 0.013519 | 0.02458 | 0.347808 | 0.318312 | 0.318312 | 0.29578 | 0.29578 | 0.283081 | 0 | 0.002895 | 0.222785 | 3,555 | 109 | 97 | 32.614679 | 0.880565 | 0.529395 | 0 | 0.617021 | 0 | 0 | 0.022656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.340426 | false | 0.085106 | 0.021277 | 0.042553 | 0.574468 | 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 |
3656a10e096097217bf0393424b2bd70c07974f3 | 1,974 | py | Python | root/mobility_top_v1.py | transitanalystisarel/TransitAnalystIsrael | 341de9272b352c18333ff136a00de0b97cd82216 | [
"MIT"
] | null | null | null | root/mobility_top_v1.py | transitanalystisarel/TransitAnalystIsrael | 341de9272b352c18333ff136a00de0b97cd82216 | [
"MIT"
] | null | null | null | root/mobility_top_v1.py | transitanalystisarel/TransitAnalystIsrael | 341de9272b352c18333ff136a00de0b97cd82216 | [
"MIT"
] | 3 | 2019-05-08T04:36:03.000Z | 2020-11-23T19:46:52.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
"""
This script is the top level script for compare of mobility from city/town to POIs at two different dates
prerequisit:
create navitia graph for date1
coverage_name = "ondemand-" + cfg.gtfsdate1
graph_name = coverage_name + ".nav.lz4"
navit... | 44.863636 | 119 | 0.753799 | 269 | 1,974 | 5.319703 | 0.327138 | 0.072676 | 0.083857 | 0.067086 | 0.51153 | 0.388539 | 0.388539 | 0.388539 | 0.388539 | 0.331237 | 0 | 0.021831 | 0.16464 | 1,974 | 43 | 120 | 45.906977 | 0.845967 | 0.820162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.444444 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
365fa6d4e5c95de747c9b3c24f6250f396819d7a | 80 | py | Python | BOJ_Solved/BOJ-16600.py | CodingLeeSeungHoon/Python_Algorithm_TeamNote | 1e92986999b45aa9951e12e67b23062e410e9b36 | [
"MIT"
] | 7 | 2021-11-19T14:50:59.000Z | 2022-02-25T20:00:20.000Z | BOJ_Solved/BOJ-16600.py | CodingLeeSeungHoon/Python_Algorithm_TeamNote | 1e92986999b45aa9951e12e67b23062e410e9b36 | [
"MIT"
] | null | null | null | BOJ_Solved/BOJ-16600.py | CodingLeeSeungHoon/Python_Algorithm_TeamNote | 1e92986999b45aa9951e12e67b23062e410e9b36 | [
"MIT"
] | null | null | null | """
백준 16600번 : Contemporary Art
"""
a = int(input())**0.5
print(round(a*4, 8)) | 13.333333 | 28 | 0.5875 | 14 | 80 | 3.357143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 0.15 | 80 | 6 | 29 | 13.333333 | 0.558824 | 0.35 | 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 |
36756aafd138c27e1ece03f642c22efc0f6fdb14 | 1,894 | py | Python | firmware/dev_quectel.py | andreacorbo/Buoy_Controller_v1 | 108e5aca54466fa5d0162585dc8d22be1433ac90 | [
"MIT"
] | null | null | null | firmware/dev_quectel.py | andreacorbo/Buoy_Controller_v1 | 108e5aca54466fa5d0162585dc8d22be1433ac90 | [
"MIT"
] | null | null | null | firmware/dev_quectel.py | andreacorbo/Buoy_Controller_v1 | 108e5aca54466fa5d0162585dc8d22be1433ac90 | [
"MIT"
] | null | null | null | # The MIT License (MIT)
#
# Copyright (c) 2018 OGS
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge... | 43.045455 | 239 | 0.673178 | 251 | 1,894 | 5.035857 | 0.553785 | 0.06962 | 0.02057 | 0.033228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009292 | 0.261352 | 1,894 | 43 | 240 | 44.046512 | 0.89421 | 0.86642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3685e9f91d31ebbb1fed7cd6810436e55b051df0 | 520 | py | Python | insertion_sort/insertion_sort.py | krzysztofzuraw/learn-algorithms | 23d3fc9e0d6eef9d90163288acaacebe98a8c2b6 | [
"MIT"
] | 1 | 2017-09-27T07:21:48.000Z | 2017-09-27T07:21:48.000Z | insertion_sort/insertion_sort.py | krzysztofzuraw/learn-algorithms-data-structures-design-patterns | 23d3fc9e0d6eef9d90163288acaacebe98a8c2b6 | [
"MIT"
] | null | null | null | insertion_sort/insertion_sort.py | krzysztofzuraw/learn-algorithms-data-structures-design-patterns | 23d3fc9e0d6eef9d90163288acaacebe98a8c2b6 | [
"MIT"
] | null | null | null | def insertion_sort(array):
for i in range(1, len(array)):
key = array[i]
j = i - 1
while j >= 0 and array[i] < array[j]:
array[i], array[j] = array[j], array[i]
j -= 1
i -= 1
return array
def test_insertion_sort_simple():
assert insertion_sort([4... | 23.636364 | 61 | 0.557692 | 81 | 520 | 3.395062 | 0.333333 | 0.330909 | 0.12 | 0.218182 | 0.105455 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056757 | 0.288462 | 520 | 21 | 62 | 24.761905 | 0.686486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.266667 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3686b6b63a1c34b9b4efd3e86f24a78fe2b5900e | 984 | py | Python | tests/unit/server_test.py | cybergarage/round-py | fb9404835ad1eb3f4b63eac92a8de2a3e60aa38a | [
"BSD-3-Clause"
] | null | null | null | tests/unit/server_test.py | cybergarage/round-py | fb9404835ad1eb3f4b63eac92a8de2a3e60aa38a | [
"BSD-3-Clause"
] | null | null | null | tests/unit/server_test.py | cybergarage/round-py | fb9404835ad1eb3f4b63eac92a8de2a3e60aa38a | [
"BSD-3-Clause"
] | null | null | null | #################################################################
#
# Round for Python
#
# Copyright (C) Satoshi Konno 2016
#
# This is licensed under BSD-style license, see file COPYING.
#
##################################################################
import pytest
from round import Server, ProcessServer, Contai... | 19.68 | 66 | 0.551829 | 117 | 984 | 4.589744 | 0.333333 | 0.148976 | 0.201117 | 0.284916 | 0.478585 | 0.478585 | 0.478585 | 0.476723 | 0.418994 | 0.418994 | 0 | 0.018065 | 0.212398 | 984 | 49 | 67 | 20.081633 | 0.674839 | 0.137195 | 0 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 1 | 0.111111 | false | 0 | 0.074074 | 0 | 0.296296 | 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 |
36876313a4579ee85eb08fec0928a889ac486bcb | 458 | py | Python | main.py | gdikov/MNIST_Challenge | 56834aeeaeefc440cb1d9882c95b73b84fe20edf | [
"MIT"
] | 1 | 2017-02-15T12:19:46.000Z | 2017-02-15T12:19:46.000Z | main.py | gdikov/MNIST-challenge | 56834aeeaeefc440cb1d9882c95b73b84fe20edf | [
"MIT"
] | 1 | 2017-02-07T12:51:17.000Z | 2017-02-07T12:51:17.000Z | main.py | gdikov/MNIST_Challenge | 56834aeeaeefc440cb1d9882c95b73b84fe20edf | [
"MIT"
] | 1 | 2019-01-22T17:06:03.000Z | 2019-01-22T17:06:03.000Z | from experiments.evaluate_models import evaluate_knn, \
evaluate_logreg, evaluate_convnet, evaluate_basicnet, evaluate_gp
if __name__ == "__main__":
evaluate_knn(train_from_scratch=False)
# evaluate_logreg(train_from_scratch=True)
# evaluate_convnet(train_from_scratch=False, continue_from_checkpoint... | 32.714286 | 80 | 0.805677 | 56 | 458 | 6 | 0.410714 | 0.133929 | 0.238095 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115721 | 458 | 13 | 81 | 35.230769 | 0.82963 | 0.50655 | 0 | 0 | 0 | 0 | 0.036364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
36a330c3500e7e3ee1014f78eb38348248f40870 | 4,112 | py | Python | tests/test_args_and_kwargs.py | fransking/flink-statefun-tasks | 20c26896a3448a06e4af0742a3d885194e46c727 | [
"Apache-2.0"
] | 16 | 2020-10-19T11:55:36.000Z | 2022-02-22T12:13:57.000Z | tests/test_args_and_kwargs.py | fransking/flink-statefun-tasks | 20c26896a3448a06e4af0742a3d885194e46c727 | [
"Apache-2.0"
] | 20 | 2020-09-29T17:14:49.000Z | 2022-02-25T20:34:31.000Z | tests/test_args_and_kwargs.py | fransking/flink-statefun-tasks | 20c26896a3448a06e4af0742a3d885194e46c727 | [
"Apache-2.0"
] | 3 | 2020-10-30T10:05:37.000Z | 2021-08-11T21:51:09.000Z | import unittest
from tests.utils import TestHarness, tasks, TaskErrorException
@tasks.bind()
def hello_workflow(first_name='Jane', last_name='Doe'):
return f'Hello {first_name} {last_name}'
@tasks.bind()
def pass_into_multi_arg_workflow(initial_return, *args, **kwargs):
return tasks.send(pass_through, *ini... | 38.074074 | 92 | 0.689446 | 578 | 4,112 | 4.589965 | 0.152249 | 0.015831 | 0.020354 | 0.022616 | 0.754617 | 0.738032 | 0.652469 | 0.619676 | 0.618168 | 0.599322 | 0 | 0 | 0.178988 | 4,112 | 107 | 93 | 38.429907 | 0.785841 | 0 | 0 | 0.379747 | 0 | 0 | 0.064202 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 1 | 0.240506 | false | 0.126582 | 0.025316 | 0.063291 | 0.341772 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
36aed7496ac4c5dfa42cb6e43422bd2e8dc88a52 | 631 | py | Python | opennem/core/network_region_bom_station_map.py | paulculmsee/opennem | 9ebe4ab6d3b97bdeebc352e075bbd5c22a8ddea1 | [
"MIT"
] | 22 | 2020-06-30T05:27:21.000Z | 2022-02-21T12:13:51.000Z | opennem/core/network_region_bom_station_map.py | paulculmsee/opennem | 9ebe4ab6d3b97bdeebc352e075bbd5c22a8ddea1 | [
"MIT"
] | 71 | 2020-08-07T13:06:30.000Z | 2022-03-15T06:44:49.000Z | opennem/core/network_region_bom_station_map.py | paulculmsee/opennem | 9ebe4ab6d3b97bdeebc352e075bbd5c22a8ddea1 | [
"MIT"
] | 13 | 2020-06-30T03:28:32.000Z | 2021-12-30T08:17:16.000Z | """
Map network regions to BOM stations
"""
from typing import Optional
from opennem.core.loader import load_data
NETWORK_REGION_BOM_STATION = load_data("network_region_bom_station_map.json")
def get_network_region_weather_station(region_code: str) -> Optional[str]:
"""
Maps a network region to a weath... | 23.37037 | 77 | 0.752773 | 89 | 631 | 5 | 0.426966 | 0.233708 | 0.21573 | 0.310112 | 0.139326 | 0.139326 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180666 | 631 | 26 | 78 | 24.269231 | 0.860735 | 0.128368 | 0 | 0 | 0 | 0 | 0.151341 | 0.116858 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.2 | 0 | 0.5 | 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 |
36ba4ee8c0c39b622df75593689fae364e33219b | 1,366 | py | Python | setup.py | jcapili/crowpy | 64a6244966bb3be0b1c80fab6a1db06b19c3e77c | [
"MIT"
] | 2 | 2020-07-11T05:11:55.000Z | 2022-01-20T14:26:16.000Z | setup.py | jcapili/crowpy | 64a6244966bb3be0b1c80fab6a1db06b19c3e77c | [
"MIT"
] | 3 | 2021-03-31T19:49:25.000Z | 2022-03-06T23:57:20.000Z | setup.py | jcapili/crowpy | 64a6244966bb3be0b1c80fab6a1db06b19c3e77c | [
"MIT"
] | 1 | 2022-01-20T14:32:22.000Z | 2022-01-20T14:32:22.000Z | from setuptools import setup
setup(
name='crowpy',
version='0.1.8',
author='Jason Capili',
author_email='jcapili@alumni.scu.edu',
packages=['crowpy'],
include_package_data=True,
install_requires=[
'geopy==1.20.0',
'lxml==4.3.1',
'pandas==0.24.2',
'requests==2... | 34.15 | 80 | 0.593704 | 150 | 1,366 | 5.346667 | 0.646667 | 0.142145 | 0.187032 | 0.162095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035122 | 0.249634 | 1,366 | 40 | 81 | 34.15 | 0.747317 | 0.029283 | 0 | 0.052632 | 0 | 0 | 0.547925 | 0.016604 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.026316 | 0 | 0.026316 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
36c6aedd613bb3381466fca308276e5d039163aa | 137 | py | Python | quiz/urls.py | Biplob14/drf_quiz | 5e04369656a40458af8b506d93f7d013d2131149 | [
"MIT"
] | null | null | null | quiz/urls.py | Biplob14/drf_quiz | 5e04369656a40458af8b506d93f7d013d2131149 | [
"MIT"
] | null | null | null | quiz/urls.py | Biplob14/drf_quiz | 5e04369656a40458af8b506d93f7d013d2131149 | [
"MIT"
] | null | null | null | from django.urls import path
from .views import Quiz
app_name='quiz'
urlpatterns = [
path('', Quiz.as_view(), name='quiz'),
]
| 13.7 | 42 | 0.649635 | 19 | 137 | 4.578947 | 0.631579 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19708 | 137 | 9 | 43 | 15.222222 | 0.790909 | 0 | 0 | 0 | 0 | 0 | 0.058394 | 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 |
36d72b5c0ad0a19d3a9fa1f45f186cec7bd136a8 | 287 | py | Python | home/models.py | jackbicknell14/surftone | 007c3c143e88f60ad4cf6a87e07fa1d2d65f969d | [
"MIT"
] | 1 | 2019-03-04T09:53:43.000Z | 2019-03-04T09:53:43.000Z | home/models.py | jackbicknell14/surftone | 007c3c143e88f60ad4cf6a87e07fa1d2d65f969d | [
"MIT"
] | 9 | 2019-04-14T16:24:13.000Z | 2022-03-11T23:41:12.000Z | home/models.py | jackbicknell14/surftone | 007c3c143e88f60ad4cf6a87e07fa1d2d65f969d | [
"MIT"
] | 1 | 2019-03-08T08:18:04.000Z | 2019-03-08T08:18:04.000Z | from django.db import models
class Song(models.Model):
artist = models.CharField(max_length=255, blank=True)
title = models.CharField(max_length=255, blank=True)
audio_file = models.FileField(upload_to='documents/')
uploaded_at = models.DateTimeField(auto_now_add=True) | 35.875 | 57 | 0.759582 | 40 | 287 | 5.275 | 0.7 | 0.14218 | 0.170616 | 0.227488 | 0.341232 | 0.341232 | 0.341232 | 0 | 0 | 0 | 0 | 0.024 | 0.12892 | 287 | 8 | 58 | 35.875 | 0.82 | 0 | 0 | 0 | 0 | 0 | 0.034722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
36e67826e2cff69eaaba06ca571779cef7b1da84 | 88,205 | py | Python | stage/test_directory_origin.py | Pragatibs/datacollector-tests | aac53b2f0e056009ef0e437c8430651e3cf4d502 | [
"Apache-2.0"
] | 1 | 2021-11-24T16:17:25.000Z | 2021-11-24T16:17:25.000Z | stage/test_directory_origin.py | Pragatibs/datacollector-tests | aac53b2f0e056009ef0e437c8430651e3cf4d502 | [
"Apache-2.0"
] | null | null | null | stage/test_directory_origin.py | Pragatibs/datacollector-tests | aac53b2f0e056009ef0e437c8430651e3cf4d502 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 StreamSets Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | 46.156463 | 135 | 0.688986 | 11,046 | 88,205 | 5.178436 | 0.065273 | 0.046153 | 0.020716 | 0.022115 | 0.765179 | 0.734288 | 0.705128 | 0.679831 | 0.638887 | 0.617297 | 0 | 0.010841 | 0.217788 | 88,205 | 1,910 | 136 | 46.180628 | 0.818219 | 0.164537 | 0 | 0.580592 | 0 | 0.000822 | 0.12767 | 0.027369 | 0 | 0 | 0 | 0 | 0.069901 | 1 | 0.036184 | false | 0 | 0.010691 | 0 | 0.059211 | 0.000822 | 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 |
36eb5130f51ea45d5ad4f1879d32bfa6eada2e50 | 52,612 | py | Python | __init__.py | jimmyahacker/adversarial | 84c55868693054f8dc8bbd99e6f4cfa3535432f1 | [
"BSD-3-Clause"
] | null | null | null | __init__.py | jimmyahacker/adversarial | 84c55868693054f8dc8bbd99e6f4cfa3535432f1 | [
"BSD-3-Clause"
] | null | null | null | __init__.py | jimmyahacker/adversarial | 84c55868693054f8dc8bbd99e6f4cfa3535432f1 | [
"BSD-3-Clause"
] | null | null | null | """
Code for "Generative Adversarial Networks". Please cite the ArXiv paper in
any published research work making use of this code.
"""
import functools
wraps = functools.wraps
import itertools
import numpy
np = numpy
import theano
import warnings
from theano.compat import OrderedDict
from theano.sandbox.rng_mrg impor... | 38.856721 | 221 | 0.614993 | 6,871 | 52,612 | 4.421191 | 0.067094 | 0.038712 | 0.030647 | 0.037099 | 0.745671 | 0.713773 | 0.687899 | 0.676773 | 0.662881 | 0.657384 | 0 | 0.011953 | 0.287615 | 52,612 | 1,353 | 222 | 38.88544 | 0.798559 | 0.065707 | 0 | 0.663347 | 0 | 0.02988 | 0.023485 | 0.00107 | 0 | 0 | 0 | 0.000739 | 0.033865 | 0 | null | null | 0 | 0.020916 | null | null | 0.007968 | 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 |
36f07f9bc5e8ba0272c79994c7be41b4e6a27860 | 28,766 | py | Python | ckanext/issues/tests/logic/action/test_issue.py | fjelltopp/ckanext-issues | 485e068e723c51220003dec2e50449f4e43696ef | [
"MIT"
] | null | null | null | ckanext/issues/tests/logic/action/test_issue.py | fjelltopp/ckanext-issues | 485e068e723c51220003dec2e50449f4e43696ef | [
"MIT"
] | null | null | null | ckanext/issues/tests/logic/action/test_issue.py | fjelltopp/ckanext-issues | 485e068e723c51220003dec2e50449f4e43696ef | [
"MIT"
] | null | null | null | import mock
from nose.tools import assert_equals, assert_raises, assert_not_in, assert_in
try:
from ckan.tests import factories, helpers
from ckan.tests.helpers import FunctionalTestBase
except ImportError:
from ckan.new_tests import factories, helpers
from ckan.new_tests.helpers import FunctionalTest... | 38.716016 | 78 | 0.534033 | 2,911 | 28,766 | 5.056682 | 0.085538 | 0.076427 | 0.045584 | 0.053804 | 0.768003 | 0.720856 | 0.702174 | 0.681182 | 0.658899 | 0.630978 | 0 | 0.007455 | 0.347146 | 28,766 | 742 | 79 | 38.768194 | 0.776358 | 0.028819 | 0 | 0.636808 | 0 | 0 | 0.104833 | 0.00735 | 0 | 0 | 0 | 0 | 0.110749 | 1 | 0.065147 | false | 0.001629 | 0.02443 | 0 | 0.102606 | 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 |
36f26406eadcd8626b454744e755b26700b35dee | 1,151 | py | Python | hmi/pages/page1.py | z1mEk/CamPanel2 | 1474931f913e7137e228323061f058a612310e4a | [
"MIT"
] | null | null | null | hmi/pages/page1.py | z1mEk/CamPanel2 | 1474931f913e7137e228323061f058a612310e4a | [
"MIT"
] | null | null | null | hmi/pages/page1.py | z1mEk/CamPanel2 | 1474931f913e7137e228323061f058a612310e4a | [
"MIT"
] | null | null | null | from hmi.pages import controls
from hmi import hmi
from plugins import relays
import asyncio
async def Show():
await hmi.client.command('page 1')
class b0(controls.TButton):
name = 'page1.b0'
pass
class bt0(controls.TDualStateButton):
name = 'page1.bt0'
@classmethod
async def onRelease(c... | 20.553571 | 40 | 0.661164 | 142 | 1,151 | 5.359155 | 0.28169 | 0.073587 | 0.220762 | 0.260184 | 0.370565 | 0.323259 | 0.323259 | 0 | 0 | 0 | 0 | 0.031782 | 0.234579 | 1,151 | 55 | 41 | 20.927273 | 0.832009 | 0 | 0 | 0.365854 | 0 | 0 | 0.059079 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.073171 | 0.097561 | 0 | 0.439024 | 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 |
36f98241fc533c80f185badfec9fe0fa4033c14e | 186 | py | Python | bot/cogs/fun.py | Spaxly/Starter-Dashboard | 93d4039a441275c74da80c6942e622362a09bec7 | [
"Apache-2.0"
] | 3 | 2021-05-28T06:46:41.000Z | 2021-07-22T12:47:54.000Z | bot/cogs/fun.py | Spaxly/Starter-Dashboard | 93d4039a441275c74da80c6942e622362a09bec7 | [
"Apache-2.0"
] | null | null | null | bot/cogs/fun.py | Spaxly/Starter-Dashboard | 93d4039a441275c74da80c6942e622362a09bec7 | [
"Apache-2.0"
] | 3 | 2021-05-12T14:35:54.000Z | 2021-11-15T19:02:34.000Z | import discord
from discord.ext import commands
class Fun(commands.Cog):
def __init__(self, client):
self.client = client
def setup(client):
client.add_cog(Fun(client)) | 20.666667 | 32 | 0.715054 | 26 | 186 | 4.923077 | 0.538462 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182796 | 186 | 9 | 33 | 20.666667 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.714286 | 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 |
7fc2df76f8d53a943dfb03a76f75d17b66182ba8 | 1,431 | py | Python | mysite/main/models.py | sripadha/AutoINFO | e479620d5c7d2648ea11cab6ae1b8bb628cd1cd4 | [
"BSD-3-Clause"
] | null | null | null | mysite/main/models.py | sripadha/AutoINFO | e479620d5c7d2648ea11cab6ae1b8bb628cd1cd4 | [
"BSD-3-Clause"
] | 9 | 2020-06-05T20:45:14.000Z | 2021-12-13T20:31:47.000Z | mysite/main/models.py | sripadha/AutoINFO | e479620d5c7d2648ea11cab6ae1b8bb628cd1cd4 | [
"BSD-3-Clause"
] | null | null | null | from django.db import models
from datetime import datetime
class TutorialCategory(models.Model):
tutorial_category = models.CharField(max_length=200)
category_summary = models.CharField(max_length=200)
category_slug = models.CharField(max_length=200, default=1)
class Meta:
# Giv... | 32.522727 | 126 | 0.71768 | 168 | 1,431 | 5.857143 | 0.321429 | 0.106707 | 0.128049 | 0.170732 | 0.397358 | 0.348577 | 0.079268 | 0.079268 | 0 | 0 | 0 | 0.021815 | 0.199161 | 1,431 | 43 | 127 | 33.27907 | 0.836824 | 0.075472 | 0 | 0.192308 | 0 | 0 | 0.03451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0 | 0.076923 | 0.115385 | 0.923077 | 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 |
7fd6433fb4ed6783ce3b25bc3c048c97dd2e4538 | 3,125 | py | Python | src/scs_core/comms/mqtt_conf.py | south-coast-science/scs_core | 81ad4010abb37ca935f3a31ac805639ef53b1bcf | [
"MIT"
] | 3 | 2019-03-12T01:59:58.000Z | 2020-09-12T07:27:42.000Z | src/scs_core/comms/mqtt_conf.py | south-coast-science/scs_core | 81ad4010abb37ca935f3a31ac805639ef53b1bcf | [
"MIT"
] | 1 | 2018-04-20T07:58:38.000Z | 2021-03-27T08:52:45.000Z | src/scs_core/comms/mqtt_conf.py | south-coast-science/scs_core | 81ad4010abb37ca935f3a31ac805639ef53b1bcf | [
"MIT"
] | 4 | 2017-09-29T13:08:43.000Z | 2019-10-09T09:13:58.000Z | """
Created on 17 May 2018
@author: Bruno Beloff (bruno.beloff@southcoastscience.com)
example JSON:
{"inhibit-publishing": false, "report-file": "/tmp/southcoastscience/mqtt_queue_report.json", "debug": true}
"""
from collections import OrderedDict
from scs_core.data.json import PersistentJSONable
# -------------... | 30.940594 | 118 | 0.45856 | 246 | 3,125 | 5.560976 | 0.313008 | 0.186404 | 0.092105 | 0.040936 | 0.093567 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00245 | 0.21632 | 3,125 | 100 | 119 | 31.25 | 0.556145 | 0.3536 | 0 | 0.113636 | 0 | 0 | 0.071247 | 0.016285 | 0 | 0 | 0 | 0 | 0 | 1 | 0.204545 | false | 0 | 0.045455 | 0.113636 | 0.522727 | 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 |
7fdad922957ba13e62b87c5128f8260afbdebfce | 229 | py | Python | build.py | corollari/MIMETypeJSON | 2130d8b99fe144514f23ec108ead4eace009e15c | [
"MIT"
] | 2 | 2018-09-24T18:44:39.000Z | 2019-03-06T19:43:45.000Z | build.py | corollari/MIMETypeJSON | 2130d8b99fe144514f23ec108ead4eace009e15c | [
"MIT"
] | null | null | null | build.py | corollari/MIMETypeJSON | 2130d8b99fe144514f23ec108ead4eace009e15c | [
"MIT"
] | null | null | null | import re, json
text=open("./MimeTypeMap/src/MimeTypes/MimeTypeMap.cs", 'r').read().replace(' ', '')
mimeTypes=dict(re.findall(ur'{"\.(.+?)","(.+?)"}+?', text))
open("mimeTypes.json", "w+").write(json.dumps(mimeTypes, indent=4))
| 45.8 | 84 | 0.628821 | 29 | 229 | 4.965517 | 0.689655 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004608 | 0.052402 | 229 | 4 | 85 | 57.25 | 0.658986 | 0 | 0 | 0 | 0 | 0 | 0.353712 | 0.275109 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | 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 |
7fe91453f18215fa1c7a6c6b3f99329fc71e3f06 | 290 | py | Python | examples/debug.py | gitter-badger/pywebview | 2770330bc265b65dedd7874d579c2c9fde22159e | [
"BSD-3-Clause"
] | 1 | 2021-11-22T05:24:27.000Z | 2021-11-22T05:24:27.000Z | examples/debug.py | gitter-badger/pywebview | 2770330bc265b65dedd7874d579c2c9fde22159e | [
"BSD-3-Clause"
] | null | null | null | examples/debug.py | gitter-badger/pywebview | 2770330bc265b65dedd7874d579c2c9fde22159e | [
"BSD-3-Clause"
] | 3 | 2021-02-09T22:27:34.000Z | 2021-12-28T14:49:23.000Z | import webview
"""
This example demonstrates how to enable debugging of webview content. To open
up debugging console, right click on an element and select Inspect.
"""
if __name__ == '__main__':
webview.create_window('Debug window', 'https://pywebview.flowrl.com/hello', debug=True)
| 29 | 91 | 0.755172 | 40 | 290 | 5.25 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141379 | 290 | 9 | 92 | 32.222222 | 0.843373 | 0 | 0 | 0 | 0 | 0 | 0.394161 | 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 |
3d09d244564557174a89d9ba1850f13349c6e5f4 | 185 | py | Python | Approaching_Machine_Learning_Projects/mnist_project/src/config.py | harshmehta227/AMLP | 4a1d13bc5a2f04885a6854f552d67335a2ef228f | [
"MIT"
] | 6 | 2021-03-07T15:10:14.000Z | 2021-08-25T03:36:40.000Z | Approaching_Machine_Learning_Projects/mnist_project/src/config.py | harshmehta227/AMLP | 4a1d13bc5a2f04885a6854f552d67335a2ef228f | [
"MIT"
] | null | null | null | Approaching_Machine_Learning_Projects/mnist_project/src/config.py | harshmehta227/AMLP | 4a1d13bc5a2f04885a6854f552d67335a2ef228f | [
"MIT"
] | 8 | 2021-02-12T18:38:21.000Z | 2022-02-20T16:37:30.000Z | # configuration file
TRAINING_FILE_ORIGINAL = '../mnist_train.csv'
TRAINING_FILE = '../input/mnist_train_folds.csv'
TESTING_FILE = '../input/mnist_test.csv'
MODEL_OUTPUT = "../models/" | 30.833333 | 48 | 0.751351 | 24 | 185 | 5.416667 | 0.583333 | 0.184615 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 185 | 6 | 49 | 30.833333 | 0.764706 | 0.097297 | 0 | 0 | 0 | 0 | 0.487952 | 0.319277 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3d14e43942ccf6f90aa540c88c3acbcfe2252a85 | 14,171 | py | Python | iedb/api.py | mattfemia/iedb-python | 3412eec81526f6166f40b0c4698635b66153fb17 | [
"MIT"
] | null | null | null | iedb/api.py | mattfemia/iedb-python | 3412eec81526f6166f40b0c4698635b66153fb17 | [
"MIT"
] | 1 | 2021-12-03T00:18:39.000Z | 2021-12-08T13:40:01.000Z | iedb/api.py | mattfemia/iedb-python | 3412eec81526f6166f40b0c4698635b66153fb17 | [
"MIT"
] | 1 | 2022-02-06T23:54:58.000Z | 2022-02-06T23:54:58.000Z | from typing import Union
import re
import pandas as pd
import requests
def query_mhci_binding(method: str, sequence: Union[str, list], allele: Union[str, list], length: Union[int, list]):
'''
Query IC50 values for MHC class I peptide binding of either a single amino
acid sequence or set of sequences to an... | 40.031073 | 134 | 0.522828 | 1,524 | 14,171 | 4.823491 | 0.19357 | 0.017141 | 0.016324 | 0.019045 | 0.721262 | 0.703306 | 0.686165 | 0.680316 | 0.672289 | 0.664399 | 0 | 0.017857 | 0.399337 | 14,171 | 353 | 135 | 40.144476 | 0.845747 | 0.669678 | 0 | 0.730769 | 0 | 0 | 0.172238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048077 | false | 0 | 0.038462 | 0 | 0.182692 | 0.048077 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3d21846362349241419df7e3e5eafc8bdbf72a82 | 2,387 | py | Python | server-rest/app.py | dthompsen/art-app | 9c61538e8c219978037e3547cf54459574ba3249 | [
"MIT"
] | null | null | null | server-rest/app.py | dthompsen/art-app | 9c61538e8c219978037e3547cf54459574ba3249 | [
"MIT"
] | 2 | 2021-09-13T17:25:13.000Z | 2021-09-21T15:16:24.000Z | server-rest/app.py | dthompsen/art-app | 9c61538e8c219978037e3547cf54459574ba3249 | [
"MIT"
] | null | null | null | from fastapi import Depends, FastAPI, HTTPException
from fastapi.middleware.cors import CORSMiddleware
from sqlalchemy.orm import Session
from starlette.responses import RedirectResponse
from typing import List
from schemas import Product, Exhibit, Display
from database import db_session, engine, ProductTable, Exhibit... | 33.152778 | 81 | 0.729786 | 326 | 2,387 | 5.239264 | 0.205521 | 0.052693 | 0.074941 | 0.088993 | 0.500585 | 0.452576 | 0.452576 | 0.363583 | 0.316745 | 0.221897 | 0 | 0 | 0.133641 | 2,387 | 71 | 82 | 33.619718 | 0.825919 | 0.127357 | 0 | 0 | 0 | 0 | 0.061293 | 0.022201 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208333 | false | 0 | 0.145833 | 0.1875 | 0.541667 | 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 |
3d4261a3742c63486541b6cb72857f1d164e9962 | 2,510 | py | Python | interpreter/interpreter.py | jodorganistaca/Projet_SI | e640ccf37252cb22a92a858ab2d1fd409a63aecf | [
"MIT"
] | null | null | null | interpreter/interpreter.py | jodorganistaca/Projet_SI | e640ccf37252cb22a92a858ab2d1fd409a63aecf | [
"MIT"
] | null | null | null | interpreter/interpreter.py | jodorganistaca/Projet_SI | e640ccf37252cb22a92a858ab2d1fd409a63aecf | [
"MIT"
] | null | null | null |
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--file', required=True)
args = parser.parse_args()
file1 = open(f'{args.file}', 'r')
lines = file1.readlines()
Data_Memory={}
#While not end of line
i = 0
j= []
#print(len(lines))
while (i<len(lines)) :
arr = lines[i].split(" ")
... | 29.186047 | 105 | 0.5 | 352 | 2,510 | 3.460227 | 0.227273 | 0.287356 | 0.352217 | 0.433498 | 0.576355 | 0.49179 | 0.458949 | 0.458949 | 0.458949 | 0.458949 | 0 | 0.029345 | 0.294024 | 2,510 | 86 | 106 | 29.186047 | 0.658014 | 0.084861 | 0 | 0.038462 | 0 | 0 | 0.03715 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019231 | 0 | 0.019231 | 0.038462 | 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 |
3d44e0ab9f776bbd9aad7ae89261e65c03d41df2 | 231 | py | Python | 0.Data/utils/conf.py | imageslr/NLP | f56796a86620accd487480e5c3bd992cf3dc7578 | [
"MIT"
] | 2 | 2019-03-25T03:10:02.000Z | 2020-07-05T22:05:44.000Z | 0.Data/utils/conf.py | imageslr/NLP | f56796a86620accd487480e5c3bd992cf3dc7578 | [
"MIT"
] | null | null | null | 0.Data/utils/conf.py | imageslr/NLP | f56796a86620accd487480e5c3bd992cf3dc7578 | [
"MIT"
] | null | null | null | class gen_config(object):
vocab_size = 35000
train_dir = "/home/ssc/project/dataset/dataset/weibo/v0.0/"
data_dir = "/home/ssc/project/dataset/dataset/weibo/v0.0/"
buckets = [(5, 10), (10, 15), (20, 25), (40, 50)] | 33 | 63 | 0.636364 | 36 | 231 | 3.972222 | 0.694444 | 0.097902 | 0.13986 | 0.237762 | 0.545455 | 0.545455 | 0.545455 | 0.545455 | 0.545455 | 0 | 0 | 0.124352 | 0.164502 | 231 | 7 | 64 | 33 | 0.61658 | 0 | 0 | 0 | 0 | 0 | 0.387931 | 0.387931 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3d578e0ea430f60f9b98564961ab433f407229bd | 7,461 | py | Python | tests/unit_test/test_predict.py | NickleDave/hybrid-vocal-classifier | 2d95256437f90c9fe69ea1cf7b5e57e709f1d514 | [
"BSD-3-Clause"
] | 26 | 2017-05-01T10:18:23.000Z | 2021-12-30T04:06:54.000Z | tests/unit_test/test_predict.py | NickleDave/hybrid-vocal-classifier | 2d95256437f90c9fe69ea1cf7b5e57e709f1d514 | [
"BSD-3-Clause"
] | 94 | 2017-03-13T14:14:53.000Z | 2021-05-09T16:25:28.000Z | tests/unit_test/test_predict.py | NickleDave/hybrid-vocal-classifier | 2d95256437f90c9fe69ea1cf7b5e57e709f1d514 | [
"BSD-3-Clause"
] | 10 | 2017-08-26T00:36:30.000Z | 2022-02-12T13:59:43.000Z | """module to test high-level extract function in hvc.predict"""
import os
from glob import glob
import joblib
import hvc
from config import rewrite_config
class TestPredict:
def _generic_predict_asserts(self, predict):
# assertions shared by all unit tests for hvc.predict
assert type(predict) ==... | 40.994505 | 88 | 0.636242 | 932 | 7,461 | 4.782189 | 0.150215 | 0.05856 | 0.05654 | 0.02827 | 0.741306 | 0.723805 | 0.715055 | 0.693291 | 0.671977 | 0.641687 | 0 | 0.009445 | 0.290444 | 7,461 | 181 | 89 | 41.220994 | 0.832452 | 0.179333 | 0 | 0.551724 | 0 | 0 | 0.118004 | 0.014443 | 0 | 0 | 0 | 0 | 0.062069 | 1 | 0.055172 | false | 0 | 0.034483 | 0 | 0.096552 | 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 |
e9eb38f7514581754480777cbae2196f2ad5629c | 166 | py | Python | src/sage/version.py | saraedum/sage-renamed | d2da67b14da2ad766a5906425d60d43a3b3e1270 | [
"BSL-1.0"
] | null | null | null | src/sage/version.py | saraedum/sage-renamed | d2da67b14da2ad766a5906425d60d43a3b3e1270 | [
"BSL-1.0"
] | null | null | null | src/sage/version.py | saraedum/sage-renamed | d2da67b14da2ad766a5906425d60d43a3b3e1270 | [
"BSL-1.0"
] | null | null | null | # Sage version information for Python scripts
# This file is auto-generated by the sage-update-version script, do not edit!
version = '8.3.beta3'
date = '2018-05-27'
| 33.2 | 77 | 0.746988 | 28 | 166 | 4.428571 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078014 | 0.150602 | 166 | 4 | 78 | 41.5 | 0.801418 | 0.716867 | 0 | 0 | 1 | 0 | 0.431818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e9f0950986586cc7d8e5d2bd1e5cccb6f8da9fb0 | 277 | wsgi | Python | serve/application.wsgi | almlab/microbiome-tracker | 8353ac1d18e12e2d11890435a9368b9cd6fc20ef | [
"MIT"
] | null | null | null | serve/application.wsgi | almlab/microbiome-tracker | 8353ac1d18e12e2d11890435a9368b9cd6fc20ef | [
"MIT"
] | null | null | null | serve/application.wsgi | almlab/microbiome-tracker | 8353ac1d18e12e2d11890435a9368b9cd6fc20ef | [
"MIT"
] | null | null | null | import os
import sys
current_location = os.path.dirname(os.path.realpath(__file__))+'/'
sys.path.append(current_location)
sys.path.append(current_location+'../src/')
import serve
serve.init_db()
from serve import app as application
import monitor
monitor.start(interval=1.0)
| 21.307692 | 66 | 0.787004 | 42 | 277 | 5 | 0.547619 | 0.214286 | 0.12381 | 0.190476 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.083032 | 277 | 12 | 67 | 23.083333 | 0.818898 | 0 | 0 | 0 | 0 | 0 | 0.028881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e9ff1dc403a0891f23ac3f9e14f2cfe3822c5704 | 295 | py | Python | secundario.py | bombero2020/python_tools | 393092609c4555e47b9789eb3fcb614ea25fdef9 | [
"MIT"
] | null | null | null | secundario.py | bombero2020/python_tools | 393092609c4555e47b9789eb3fcb614ea25fdef9 | [
"MIT"
] | null | null | null | secundario.py | bombero2020/python_tools | 393092609c4555e47b9789eb3fcb614ea25fdef9 | [
"MIT"
] | null | null | null |
class dispatcher:
name = 'dispatcher'
def __init__(self, function_to_exec):
self.function = function_to_exec
return self.function
def get_name(self):
return self.name
def function_one(a,b):
return a + b
def function_two():
return 'function two' | 16.388889 | 41 | 0.650847 | 39 | 295 | 4.641026 | 0.384615 | 0.198895 | 0.154696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264407 | 295 | 18 | 42 | 16.388889 | 0.834101 | 0 | 0 | 0 | 0 | 0 | 0.075085 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.272727 | 0.909091 | 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 |
181573a43c2244d3752d3f0152ed40c227249b40 | 653 | py | Python | thread/1.py | lcl1026504480/mfpython | c1b1689a42488129299e31152764c535eb8e66e0 | [
"MIT"
] | null | null | null | thread/1.py | lcl1026504480/mfpython | c1b1689a42488129299e31152764c535eb8e66e0 | [
"MIT"
] | null | null | null | thread/1.py | lcl1026504480/mfpython | c1b1689a42488129299e31152764c535eb8e66e0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Oct 8 14:24:13 2020
@author: lenovouser
"""
import threading
# def main():
# print(threading.active_count())
# print(threading.enumerate()) # see the thread list
# print(threading.current_thread())
def thread_job():
print(threading.active_count())
print(... | 19.205882 | 64 | 0.658499 | 81 | 653 | 5.111111 | 0.444444 | 0.236715 | 0.144928 | 0.181159 | 0.451691 | 0.379227 | 0.379227 | 0.21256 | 0 | 0 | 0 | 0.022727 | 0.191424 | 653 | 33 | 65 | 19.787879 | 0.761364 | 0.361409 | 0 | 0.285714 | 0 | 0 | 0.074442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.071429 | 0 | 0.214286 | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
1821beebb1e5cca4eb15bf3370cd81f9477e97a7 | 536 | py | Python | mg/color.py | matomatical/memograph | 0560e246cc9485c0d1792836d4a52db65a3354ad | [
"MIT"
] | 13 | 2020-11-26T07:23:16.000Z | 2022-02-20T05:46:34.000Z | mg/color.py | matomatical/memograph | 0560e246cc9485c0d1792836d4a52db65a3354ad | [
"MIT"
] | null | null | null | mg/color.py | matomatical/memograph | 0560e246cc9485c0d1792836d4a52db65a3354ad | [
"MIT"
] | 1 | 2021-02-19T08:49:24.000Z | 2021-02-19T08:49:24.000Z | import collections
class RGB(collections.namedtuple("RGB", "r g b")):
"""
Wrap a red, green, blue triple.
"""
HEXDIGITS = set("0123456789abcdefABCDEF")
def is_hex(s):
return len(s) == 7 and s[0] == "#" and all(d in HEXDIGITS for d in s[1:])
def to_hex(rgb):
return f"#{rgb.r:02x}{rgb.g:02x}{rgb.b... | 22.333333 | 77 | 0.591418 | 100 | 536 | 3.12 | 0.42 | 0.038462 | 0.032051 | 0.038462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091549 | 0.205224 | 536 | 23 | 78 | 23.304348 | 0.640845 | 0.057836 | 0 | 0 | 0 | 0 | 0.132924 | 0.114519 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.214286 | 0.714286 | 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 |
182b602e532780f16c5f83076c70120e0a78b4f0 | 198 | py | Python | car_dealership/provider/urls.py | Failjak/CarDealership | a8e108c74abca080a665f88e8f1690c32159c90e | [
"BSD-3-Clause"
] | null | null | null | car_dealership/provider/urls.py | Failjak/CarDealership | a8e108c74abca080a665f88e8f1690c32159c90e | [
"BSD-3-Clause"
] | null | null | null | car_dealership/provider/urls.py | Failjak/CarDealership | a8e108c74abca080a665f88e8f1690c32159c90e | [
"BSD-3-Clause"
] | null | null | null | from rest_framework import routers
from .views import ProviderViewSet
router = routers.SimpleRouter()
router.register(r'provider', ProviderViewSet, basename='provider')
urlpatterns = router.urls
| 22 | 66 | 0.813131 | 22 | 198 | 7.272727 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 198 | 8 | 67 | 24.75 | 0.898876 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 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 |
18377dc254d192fcdc999d3433f6dae5561a2ae3 | 446 | py | Python | amfe/linalg/__init__.py | sivasanarul/amfe_topopt | ba7fa1ce756e7ea6e4fd7b2bdb609b83bbfac472 | [
"BSD-3-Clause"
] | null | null | null | amfe/linalg/__init__.py | sivasanarul/amfe_topopt | ba7fa1ce756e7ea6e4fd7b2bdb609b83bbfac472 | [
"BSD-3-Clause"
] | null | null | null | amfe/linalg/__init__.py | sivasanarul/amfe_topopt | ba7fa1ce756e7ea6e4fd7b2bdb609b83bbfac472 | [
"BSD-3-Clause"
] | null | null | null | #
# Copyright (c) 2018 TECHNICAL UNIVERSITY OF MUNICH, DEPARTMENT OF MECHANICAL ENGINEERING, CHAIR OF APPLIED MECHANICS,
# BOLTZMANNSTRASSE 15, 85748 GARCHING/MUNICH, GERMANY, RIXEN@TUM.DE.
#
# Distributed under 3-Clause BSD license. See LICENSE file for more information.
#
"""
Linear Algebra Module.
"""
from .linea... | 22.3 | 118 | 0.751121 | 57 | 446 | 5.877193 | 0.754386 | 0.149254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032 | 0.159193 | 446 | 19 | 119 | 23.473684 | 0.861333 | 0.641256 | 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 |
184464c4f06aeee89dbec8dffca24898d4054641 | 157 | py | Python | tests/samples/decorator_exception.py | gpshead/snoop | 9e52c2ad10061905c35e185c5031e13751a0eec3 | [
"MIT"
] | 751 | 2019-07-03T13:40:38.000Z | 2022-03-30T02:28:00.000Z | tests/samples/decorator_exception.py | gpshead/snoop | 9e52c2ad10061905c35e185c5031e13751a0eec3 | [
"MIT"
] | 42 | 2019-07-04T19:30:36.000Z | 2022-03-26T09:19:19.000Z | tests/samples/decorator_exception.py | gpshead/snoop | 9e52c2ad10061905c35e185c5031e13751a0eec3 | [
"MIT"
] | 30 | 2019-07-14T15:55:27.000Z | 2022-03-19T16:38:12.000Z | import snoop
@snoop
def main():
try:
@int
def foo():
pass
except:
pass
if __name__ == '__main__':
main()
| 9.8125 | 26 | 0.452229 | 16 | 157 | 3.9375 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.43949 | 157 | 15 | 27 | 10.466667 | 0.715909 | 0 | 0 | 0.181818 | 0 | 0 | 0.050955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | true | 0.181818 | 0.090909 | 0 | 0.272727 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
1849b28c260e96b991272aac9cbd48dbd44d4cd3 | 51 | py | Python | assets/osisoft_pi2aws_root.py | 47lining/quickstart-osisoft-pisystem2aws-connector | f6bdcb84b3cb271d3498d057474be6833f67b5be | [
"Apache-2.0"
] | 1 | 2019-04-15T16:27:50.000Z | 2019-04-15T16:27:50.000Z | assets/osisoft_pi2aws_root.py | DalavanCloud/quickstart-47lining-industrial-data-connector | 6ad5530a793cfc22fe71677f14cc5775b2971697 | [
"Apache-2.0"
] | null | null | null | assets/osisoft_pi2aws_root.py | DalavanCloud/quickstart-47lining-industrial-data-connector | 6ad5530a793cfc22fe71677f14cc5775b2971697 | [
"Apache-2.0"
] | null | null | null | import os
PROJECT_DIR = os.path.dirname(__file__)
| 12.75 | 39 | 0.784314 | 8 | 51 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 51 | 3 | 40 | 17 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
186f38ae5f09a5b636757ebc76121320a1aa9799 | 48,613 | py | Python | functions/text_functions.py | mtasa-typescript/mtasa-wiki-dump | edea1746850fb6c99d6155d1d7891e2cceb33a5c | [
"MIT"
] | null | null | null | functions/text_functions.py | mtasa-typescript/mtasa-wiki-dump | edea1746850fb6c99d6155d1d7891e2cceb33a5c | [
"MIT"
] | 1 | 2021-02-24T21:50:18.000Z | 2021-02-24T21:50:18.000Z | functions/text_functions.py | mtasa-typescript/mtasa-wiki-dump | edea1746850fb6c99d6155d1d7891e2cceb33a5c | [
"MIT"
] | null | null | null | # Autogenerated file. ANY CHANGES WILL BE OVERWRITTEN
from to_python.core.types import FunctionType, \
FunctionArgument, \
FunctionArgumentValues, \
FunctionReturnTypes, \
FunctionSignature, \
FunctionDoc, \
FunctionData, \
CompoundFunctionData
DUMP_PARTIAL = [
CompoundFunctionData(
... | 39.362753 | 420 | 0.341493 | 2,602 | 48,613 | 6.280938 | 0.114912 | 0.070734 | 0.054152 | 0.078076 | 0.72759 | 0.699015 | 0.684207 | 0.581166 | 0.560117 | 0.55149 | 0 | 0.005154 | 0.592887 | 48,613 | 1,234 | 421 | 39.394652 | 0.820626 | 0.001049 | 0 | 0.732773 | 1 | 0.018487 | 0.169728 | 0.004613 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.00084 | 0.002521 | 0 | 0.002521 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1875fd8f849caf1403fecdbc42862db77e95f0ca | 1,142 | py | Python | test/domain/card_test.py | sorasful/Contree-online | bfee175eee1c1d62246a6325947fb4195daaefa1 | [
"MIT"
] | 1 | 2017-12-11T13:29:45.000Z | 2017-12-11T13:29:45.000Z | test/domain/card_test.py | sorasful/Contree-online | bfee175eee1c1d62246a6325947fb4195daaefa1 | [
"MIT"
] | null | null | null | test/domain/card_test.py | sorasful/Contree-online | bfee175eee1c1d62246a6325947fb4195daaefa1 | [
"MIT"
] | null | null | null | import pytest
from domain.card import Suit, Rank, Card, CardKey, Deck
@pytest.mark.parametrize("c1, c2, trump, lead_suit", [
(Card(Suit.HEARTS, Rank.ACE), Card(Suit.HEARTS, Rank.TEN), Suit.SPADES, Suit.HEARTS),
(Card(Suit.SPADES, Rank.TEN), Card(Suit.HEARTS, Rank.ACE), Suit.SPADES, Suit.HEARTS),
(Card(Suit... | 43.923077 | 94 | 0.670753 | 176 | 1,142 | 4.306818 | 0.1875 | 0.25066 | 0.203166 | 0.261214 | 0.707124 | 0.612137 | 0.501319 | 0.436675 | 0.386544 | 0.307388 | 0 | 0.010309 | 0.150613 | 1,142 | 26 | 95 | 43.923077 | 0.771134 | 0 | 0 | 0 | 0 | 0 | 0.020997 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.2 | 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 |
43f6f996a89bafab174fa6ecaf2e629d84d7d91e | 158 | py | Python | extension-libs/grp-web-app/Flask/calculator/manage.py | vjudge/python-study | 7602bb770ba7b113656fbe21cb634d84ff723836 | [
"MIT"
] | null | null | null | extension-libs/grp-web-app/Flask/calculator/manage.py | vjudge/python-study | 7602bb770ba7b113656fbe21cb634d84ff723836 | [
"MIT"
] | null | null | null | extension-libs/grp-web-app/Flask/calculator/manage.py | vjudge/python-study | 7602bb770ba7b113656fbe21cb634d84ff723836 | [
"MIT"
] | null | null | null | # coding = utf-8
from app import create_app
if __name__ == '__main__':
app = create_app()
app.run(host='127.0.0.1', debug=True, port=8080)
| 17.555556 | 53 | 0.613924 | 25 | 158 | 3.48 | 0.76 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.234177 | 158 | 8 | 54 | 19.75 | 0.628099 | 0.088608 | 0 | 0 | 0 | 0 | 0.126866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
43f8531773abb93bd5c405b39ef8afb5c8fb2609 | 488 | py | Python | forms.py | EngSciMath-team/splashpage | 18451457acb80e25c625560bbde31155052fdc36 | [
"MIT"
] | null | null | null | forms.py | EngSciMath-team/splashpage | 18451457acb80e25c625560bbde31155052fdc36 | [
"MIT"
] | 2 | 2018-11-20T07:45:29.000Z | 2018-11-20T08:30:27.000Z | forms.py | EngSciMath-team/splashpage | 18451457acb80e25c625560bbde31155052fdc36 | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField, TextAreaField, SubmitField
from wtforms.validators import DataRequired
class IntroForm(FlaskForm):
email = StringField('Email Address (see notes below)', validators=[DataRequired()])
blurb = TextAreaField('Tell us a little about your background o... | 54.222222 | 199 | 0.786885 | 59 | 488 | 6.491525 | 0.745763 | 0.057441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137295 | 488 | 8 | 200 | 61 | 0.909739 | 0 | 0 | 0 | 0 | 0.142857 | 0.364754 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a1041e2e72c9c0bf78ef13edd3d8e2aa652b07cb | 2,373 | py | Python | Django/myblog/orm1.py | taoyan/python | 3fbb1e534ec91b33cd2ac690966d7253c2f5d757 | [
"MIT"
] | 1 | 2019-05-04T09:21:52.000Z | 2019-05-04T09:21:52.000Z | Django/myblog/orm1.py | taoyan/python | 3fbb1e534ec91b33cd2ac690966d7253c2f5d757 | [
"MIT"
] | 26 | 2020-07-18T02:02:54.000Z | 2022-02-26T10:49:58.000Z | Django/myblog/orm1.py | taoyan/python | 3fbb1e534ec91b33cd2ac690966d7253c2f5d757 | [
"MIT"
] | null | null | null | import os
if __name__ == '__main__':
#还在django项目配置
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "myblog.settings")
import django
django.setup()
from user import models
#查询所有
ret = models.UserInfo.objects.all()
print(ret)
#查询某个,满足条件的没有会保存
ret = models.UserInfo.objects.get(id=... | 27.917647 | 73 | 0.643911 | 307 | 2,373 | 4.85342 | 0.250814 | 0.144966 | 0.273826 | 0.386577 | 0.604027 | 0.583893 | 0.371141 | 0.151678 | 0.130201 | 0.130201 | 0 | 0.01822 | 0.190476 | 2,373 | 84 | 74 | 28.25 | 0.757418 | 0.057311 | 0 | 0.42623 | 0 | 0 | 0.086253 | 0.019766 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04918 | 0 | 0.04918 | 0.508197 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
a110d3fc1e25928cb81eb8c6fc2387f6cf353a71 | 173 | py | Python | lang/Python/equilibrium-index-2.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 5 | 2021-01-29T20:08:05.000Z | 2022-03-22T06:16:05.000Z | lang/Python/equilibrium-index-2.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/equilibrium-index-2.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2021-04-13T04:19:31.000Z | 2021-04-13T04:19:31.000Z | def eqindexMultiPass(data):
"Multi pass"
for i in range(len(data)):
suml, sumr = sum(data[:i]), sum(data[i+1:])
if suml == sumr:
yield i
| 24.714286 | 51 | 0.526012 | 25 | 173 | 3.64 | 0.64 | 0.175824 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.317919 | 173 | 6 | 52 | 28.833333 | 0.762712 | 0.057803 | 0 | 0 | 0 | 0 | 0.057803 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.333333 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
a156746a739c4566bc79cb221427ea0622d50053 | 46,067 | py | Python | cwfs/cwfsTools.py | lsst-ts/lib_cwfs | c5a73be1252dc1056437cbc1c7f4dd443d9c4bba | [
"BSD-3-Clause"
] | 2 | 2018-12-05T17:31:06.000Z | 2020-12-13T14:58:42.000Z | cwfs/cwfsTools.py | lsst-ts/lib_cwfs | c5a73be1252dc1056437cbc1c7f4dd443d9c4bba | [
"BSD-3-Clause"
] | null | null | null | cwfs/cwfsTools.py | lsst-ts/lib_cwfs | c5a73be1252dc1056437cbc1c7f4dd443d9c4bba | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
##
# @package cwfs
# @file cwfsTools.py
##
# @authors: Bo Xin & Chuck Claver
# @ Large Synoptic Survey Telescope
# getCenterAndR() is partly based on the EF wavefront sensing software
# by Laplacian Optics
##
import sys
import numpy as np
def padArray(inArray, dim):
m, n = inArray.s... | 40.659312 | 79 | 0.337725 | 7,979 | 46,067 | 1.949743 | 0.040231 | 0.101048 | 0.028347 | 0.031818 | 0.718455 | 0.663367 | 0.627756 | 0.592145 | 0.568811 | 0.498361 | 0 | 0.232113 | 0.44813 | 46,067 | 1,132 | 80 | 40.69523 | 0.379814 | 0.022011 | 0 | 0.439838 | 0 | 0.002022 | 0.022065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015167 | false | 0.001011 | 0.002022 | 0 | 0.0364 | 0.0182 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a170fd372c003f4ec6aa976d5b0c389614c44a20 | 302 | py | Python | src/process/process/domain/dto/PagingModifier.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:28.000Z | 2020-12-18T21:37:28.000Z | src/process/process/domain/dto/PagingModifier.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | null | null | null | src/process/process/domain/dto/PagingModifier.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:31.000Z | 2020-12-18T21:37:31.000Z | class PagingModifier:
def __init__(self,
Id: int = None,
End: int = None,
Start: int = None,
Limit: int = None,
):
self.Id = Id
self.Start = Start
self.End = End
self.Limit = Limit
| 25.166667 | 35 | 0.407285 | 29 | 302 | 4.103448 | 0.37931 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.509934 | 302 | 11 | 36 | 27.454545 | 0.804054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0 | 0 | 0.181818 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a172d854656e30704a57f2558aea181e7985943a | 84 | py | Python | tetris_human_ai/version.py | jamart28/Tetris-Human-AI | 3b49777846e900bec0410fabbeb8442819000986 | [
"MIT"
] | 8 | 2019-07-02T20:29:31.000Z | 2022-01-03T18:20:41.000Z | tetris_human_ai/version.py | jamart28/Tetris-Human-AI | 3b49777846e900bec0410fabbeb8442819000986 | [
"MIT"
] | 1,011 | 2019-07-02T18:00:48.000Z | 2022-03-25T14:56:32.000Z | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/version.py | rgabbard/vista-python-template | 4288372e9697c23efed3cd5a17a1dba47745a2d5 | [
"MIT"
] | 4 | 2020-08-05T15:36:55.000Z | 2022-01-12T17:16:28.000Z | # pylint:disable=missing-docstring
version = "0.1.0" # pylint:disable=invalid-name
| 28 | 48 | 0.75 | 12 | 84 | 5.25 | 0.75 | 0.412698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 0.095238 | 84 | 2 | 49 | 42 | 0.789474 | 0.714286 | 0 | 0 | 0 | 0 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a178eec478749c9041fe794153ef7efe65994529 | 27 | py | Python | basics-14-os-sys-packages/example/sum.py | jerinisready/python-for-beginners | a61e19236ab5c9336328d1d2ac8d055c1fbd800f | [
"Apache-2.0"
] | null | null | null | basics-14-os-sys-packages/example/sum.py | jerinisready/python-for-beginners | a61e19236ab5c9336328d1d2ac8d055c1fbd800f | [
"Apache-2.0"
] | null | null | null | basics-14-os-sys-packages/example/sum.py | jerinisready/python-for-beginners | a61e19236ab5c9336328d1d2ac8d055c1fbd800f | [
"Apache-2.0"
] | 3 | 2017-11-02T12:58:25.000Z | 2018-05-05T07:29:23.000Z | a=5
b=10
sum=a+b
print(sum) | 6.75 | 10 | 0.666667 | 9 | 27 | 2 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.111111 | 27 | 4 | 10 | 6.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 |
a179cd710fc2a32dce48debf329995198d228328 | 129 | py | Python | libarea-read-only/test.py | play113/swer | 78764c67885dfacb1fa24e494a20681265f5254c | [
"MIT"
] | 7 | 2016-04-18T15:38:40.000Z | 2019-11-18T23:17:10.000Z | libarea-read-only/test.py | play113/swer | 78764c67885dfacb1fa24e494a20681265f5254c | [
"MIT"
] | 2 | 2016-01-25T14:01:54.000Z | 2020-03-03T17:34:13.000Z | test.py | danielfalck/libarea | 51e67781b6c5e451b2732941ff88fa65797e4b41 | [
"BSD-3-Clause"
] | 5 | 2017-02-09T23:27:16.000Z | 2020-03-17T14:57:03.000Z | import area
p = area.Point(0,0)
m = area.Matrix([1,0,0,12, 0,1,0,0, 0,0,1,0, 0,0,0,1])
p.Transform(m)
print p.x, p.y | 14.333333 | 55 | 0.542636 | 34 | 129 | 2.058824 | 0.382353 | 0.228571 | 0.171429 | 0.114286 | 0.171429 | 0.171429 | 0.171429 | 0 | 0 | 0 | 0 | 0.186275 | 0.209302 | 129 | 9 | 56 | 14.333333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a18f4970db2e06effc7a15eb531dbd90297e92c2 | 641 | py | Python | bands_inspect/kpoints/_base.py | Z2PackDev/bands_inspect | 76fdb0130d9ff64c738365a1911bc61f035927f2 | [
"Apache-2.0"
] | 1 | 2017-12-19T07:21:56.000Z | 2017-12-19T07:21:56.000Z | bands_inspect/kpoints/_base.py | Z2PackDev/bands-inspect | 76fdb0130d9ff64c738365a1911bc61f035927f2 | [
"Apache-2.0"
] | 3 | 2018-02-27T09:07:46.000Z | 2018-03-06T12:26:04.000Z | bands_inspect/kpoints/_base.py | Z2PackDev/bands_inspect | 76fdb0130d9ff64c738365a1911bc61f035927f2 | [
"Apache-2.0"
] | 1 | 2017-12-19T07:21:55.000Z | 2017-12-19T07:21:55.000Z | # -*- coding: utf-8 -*-
# (c) 2017-2019, ETH Zurich, Institut fuer Theoretische Physik
# Author: Dominik Gresch <greschd@gmx.ch>
"""
Defines the base class for k-point data classes.
"""
import abc
from fsc.export import export
from fsc.hdf5_io import HDF5Enabled
@export
class KpointsBase(HDF5Enabled):
"""
... | 20.677419 | 62 | 0.670827 | 80 | 641 | 5.225 | 0.6375 | 0.107656 | 0.057416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024194 | 0.226209 | 641 | 30 | 63 | 21.366667 | 0.818548 | 0.411856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.272727 | 0.181818 | 0.818182 | 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 |
a1f9d46d8a0b04f3288853f6345d2a165bd7ac3d | 53 | py | Python | python/testData/refactoring/introduceParameter/localVariable.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/introduceParameter/localVariable.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/introduceParameter/localVariable.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def f():
a = 1
print <selection>a + 3</selection> | 17.666667 | 36 | 0.584906 | 9 | 53 | 3.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.226415 | 53 | 3 | 36 | 17.666667 | 0.707317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 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 |
62a6fc002318fe574ff294b7fc571230ee115632 | 428 | py | Python | isic/core/models/doi.py | ImageMarkup/isic | 607b2b103d0d2a67adb61f8ea88f1461c85ec8f3 | [
"Apache-2.0"
] | null | null | null | isic/core/models/doi.py | ImageMarkup/isic | 607b2b103d0d2a67adb61f8ea88f1461c85ec8f3 | [
"Apache-2.0"
] | 18 | 2021-06-10T05:14:34.000Z | 2022-03-22T02:15:59.000Z | isic/core/models/doi.py | ImageMarkup/isic | 607b2b103d0d2a67adb61f8ea88f1461c85ec8f3 | [
"Apache-2.0"
] | null | null | null | from django.core.validators import RegexValidator
from django.db import models
from django_extensions.db.models import TimeStampedModel
class Doi(TimeStampedModel):
# TODO: figure out which fields to store here
id = models.CharField(
max_length=30, primary_key=True, validators=[RegexValidator(r'^\d+\.... | 28.533333 | 87 | 0.71729 | 56 | 428 | 5.339286 | 0.642857 | 0.100334 | 0.120401 | 0.160535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014205 | 0.17757 | 428 | 14 | 88 | 30.571429 | 0.835227 | 0.100467 | 0 | 0 | 0 | 0 | 0.036554 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 1 | 0.1 | false | 0 | 0.3 | 0.1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
62bd65bfdd80a3ffb128417b6d579048b7c3ea1c | 195 | py | Python | src/undersample/__init__.py | shreyasbapat/undersample | 058d2a97d9f7ede4d60221ffb80393a7e0d502ec | [
"MIT"
] | null | null | null | src/undersample/__init__.py | shreyasbapat/undersample | 058d2a97d9f7ede4d60221ffb80393a7e0d502ec | [
"MIT"
] | null | null | null | src/undersample/__init__.py | shreyasbapat/undersample | 058d2a97d9f7ede4d60221ffb80393a7e0d502ec | [
"MIT"
] | null | null | null | """
===========
undersample
===========
Undersampling array made easy
"""
from .radial import get_radial
from .circle import get_circles
from .spiral import get_spiral
__version__ = "0.1.dev0"
| 15 | 31 | 0.682051 | 24 | 195 | 5.25 | 0.666667 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017751 | 0.133333 | 195 | 12 | 32 | 16.25 | 0.727811 | 0.333333 | 0 | 0 | 0 | 0 | 0.065574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
62beab4193f362edfd63fed0083f7380ea754921 | 385 | py | Python | swagger_client/apis/__init__.py | smartsdk/ngsi-sdk-python | 66f9affab71f2df5e2ede4a4c9746c231cfa118b | [
"Apache-2.0"
] | 3 | 2017-07-26T07:52:32.000Z | 2019-09-24T11:34:39.000Z | swagger_client/apis/__init__.py | smartsdk/ngsi-sdk-python | 66f9affab71f2df5e2ede4a4c9746c231cfa118b | [
"Apache-2.0"
] | 1 | 2019-09-24T13:01:18.000Z | 2020-06-25T11:19:56.000Z | swagger_client/apis/__init__.py | smartsdk/ngsi-sdk-python | 66f9affab71f2df5e2ede4a4c9746c231cfa118b | [
"Apache-2.0"
] | 2 | 2017-11-29T01:31:30.000Z | 2020-10-26T16:22:52.000Z | from __future__ import absolute_import
# import apis into api package
from .api_entry_point_api import APIEntryPointApi
from .attribute_value_api import AttributeValueApi
from .attributes_api import AttributesApi
from .batch_operations_api import BatchOperationsApi
from .entities_api import EntitiesApi
from .subscript... | 35 | 52 | 0.877922 | 49 | 385 | 6.571429 | 0.510204 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101299 | 385 | 10 | 53 | 38.5 | 0.930636 | 0.072727 | 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 |
62d3dbcc9d6f0d1becf99f815fb2b0f31609d7d9 | 263 | py | Python | pytoulbar2/tests/test_pytoulbar2.py | Pierre-Mont/toulbar2 | 623b92d593eab2dc1e21df9f853c28cc84626ed6 | [
"MIT"
] | null | null | null | pytoulbar2/tests/test_pytoulbar2.py | Pierre-Mont/toulbar2 | 623b92d593eab2dc1e21df9f853c28cc84626ed6 | [
"MIT"
] | null | null | null | pytoulbar2/tests/test_pytoulbar2.py | Pierre-Mont/toulbar2 | 623b92d593eab2dc1e21df9f853c28cc84626ed6 | [
"MIT"
] | null | null | null | from unittest import TestCase
import pytoulbar2
class TestExtension(TestCase):
def test_1(self):
myCFN = pytoulbar2.CFN(2)
res = myCFN.Solve()
self.assertEqual(res[0],[])
self.assertEqual(res[1],0.0)
self.assertEqual(res[2],1)
| 21.916667 | 34 | 0.657795 | 35 | 263 | 4.914286 | 0.514286 | 0.261628 | 0.313953 | 0.22093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048077 | 0.209125 | 263 | 11 | 35 | 23.909091 | 0.778846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.111111 | 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 |
62da7b7d2306657942eca958600ed14ac4e82ca4 | 396 | py | Python | libs/WebNuke.py | bugbound/jsfs | 2471b1b78b54f604e0cf2b0bc9b325f7890c0abb | [
"MIT"
] | 2 | 2019-12-27T19:25:15.000Z | 2020-02-04T13:31:26.000Z | libs/WebNuke.py | bugbound/jsfs | 2471b1b78b54f604e0cf2b0bc9b325f7890c0abb | [
"MIT"
] | null | null | null | libs/WebNuke.py | bugbound/jsfs | 2471b1b78b54f604e0cf2b0bc9b325f7890c0abb | [
"MIT"
] | null | null | null | from libs.WebManager import WebManager
class WebNuke:
def __init__(self, start_page, proxy):
self.version = 0.1
self.status = "working..."
self.webmanager = WebManager(start_page, proxy)
def run_javascript(self, script_to_run):
return self.webmanager.run_javascript(script_to_run)
def get(self, url):
r... | 23.294118 | 54 | 0.742424 | 56 | 396 | 5.035714 | 0.446429 | 0.198582 | 0.099291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0059 | 0.143939 | 396 | 16 | 55 | 24.75 | 0.825959 | 0 | 0 | 0 | 0 | 0 | 0.025253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.083333 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
62dbffb087c386e4731cf6d09e1284ff9c1ca5e5 | 194 | py | Python | Python/Sets/set-add.py | ekant1999/HackerRank | 084d4550b4eaf130837ab26a4efdbcaf8b667cdc | [
"MIT"
] | 9 | 2017-03-19T16:27:31.000Z | 2022-02-17T11:42:21.000Z | Python/Sets/set-add.py | ekant1999/HackerRank | 084d4550b4eaf130837ab26a4efdbcaf8b667cdc | [
"MIT"
] | null | null | null | Python/Sets/set-add.py | ekant1999/HackerRank | 084d4550b4eaf130837ab26a4efdbcaf8b667cdc | [
"MIT"
] | 6 | 2019-02-18T11:26:24.000Z | 2022-03-21T14:13:15.000Z | # Enter your code here. Read input from STDIN. Print output to STDOUT
n = int(raw_input())
countries = set()
for i in range(n):
countries.add(raw_input())
print len(countries) | 21.555556 | 70 | 0.664948 | 30 | 194 | 4.233333 | 0.766667 | 0.125984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226804 | 194 | 9 | 71 | 21.555556 | 0.846667 | 0.345361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
62edc1992b0429fa9b6def287b9398ea536d7863 | 2,746 | py | Python | test/test_bigtable.py | Wangqge/PowerLog_ae | 8546afbcb9a77d516e8c3f0dfbaf2041a4b888f9 | [
"Apache-2.0"
] | null | null | null | test/test_bigtable.py | Wangqge/PowerLog_ae | 8546afbcb9a77d516e8c3f0dfbaf2041a4b888f9 | [
"Apache-2.0"
] | null | null | null | test/test_bigtable.py | Wangqge/PowerLog_ae | 8546afbcb9a77d516e8c3f0dfbaf2041a4b888f9 | [
"Apache-2.0"
] | null | null | null | """
Testing join operations.
"""
import socialite as s
import unittest
class TestDynamicTable(unittest.TestCase):
@classmethod
def setUpClass(cls):
s.decl("""Foo(int a, int b) indexby a.""")
s.decl("""Corge(int a, int b) groupby(1).""")
cls.initTables()
@classmethod
def ini... | 28.604167 | 88 | 0.53059 | 372 | 2,746 | 3.889785 | 0.155914 | 0.01935 | 0.038701 | 0.044229 | 0.840359 | 0.762958 | 0.718037 | 0.628196 | 0.496199 | 0.496199 | 0 | 0.1 | 0.25346 | 2,746 | 95 | 89 | 28.905263 | 0.605854 | 0.00874 | 0 | 0.617647 | 0 | 0 | 0.264381 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 1 | 0.176471 | false | 0 | 0.029412 | 0 | 0.264706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
62fb4e124da8e1dd454a5114ec6e8b78bf11675d | 1,771 | py | Python | flask/config.py | mtang724/sqid | a27d20e68100e5f183cca2e3dc020eeb2dce7ebe | [
"Apache-2.0"
] | 1 | 2020-12-04T20:32:05.000Z | 2020-12-04T20:32:05.000Z | flask/config.py | mtang724/sqid | a27d20e68100e5f183cca2e3dc020eeb2dce7ebe | [
"Apache-2.0"
] | null | null | null | flask/config.py | mtang724/sqid | a27d20e68100e5f183cca2e3dc020eeb2dce7ebe | [
"Apache-2.0"
] | null | null | null | import sys
sys.path.append("..")
from global_config import PROPERTY_FILES, ES_INDEX, ELASTICSEARCH_HOST, SPARQL_ENDPOINT, FLASK_PORT, SQID_DOMAIN
MOCK_HEADERS = [('Date', 'Wed, 13 May 2020 17:27:28 GMT'), ('Server', 'mw1363.eqiad.wmnet'), ('X-Content-Type-Options', 'nosniff'), ('P3p', 'CP="See https://www.wikidata.o... | 77 | 701 | 0.708639 | 250 | 1,771 | 4.944 | 0.568 | 0.031553 | 0.021845 | 0.032362 | 0.110841 | 0.082524 | 0.082524 | 0.082524 | 0.082524 | 0.082524 | 0 | 0.062847 | 0.083569 | 1,771 | 22 | 702 | 80.5 | 0.698706 | 0.012422 | 0 | 0 | 0 | 0.384615 | 0.655982 | 0.274184 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.076923 | 0.153846 | 0 | 0.153846 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
1a0b2116d8440931739cf3d0bff9e9e2e6379817 | 434 | py | Python | tests/helpers.py | cmfcmf/python-snapcast | 20fdc5df28291c95595c9601cc7111857dae0b4c | [
"MIT"
] | 60 | 2016-01-18T07:28:30.000Z | 2022-01-20T00:08:53.000Z | tests/helpers.py | cmfcmf/python-snapcast | 20fdc5df28291c95595c9601cc7111857dae0b4c | [
"MIT"
] | 40 | 2016-05-12T17:58:07.000Z | 2022-01-12T18:34:46.000Z | tests/helpers.py | cmfcmf/python-snapcast | 20fdc5df28291c95595c9601cc7111857dae0b4c | [
"MIT"
] | 23 | 2016-09-30T11:53:56.000Z | 2022-03-18T19:18:06.000Z | """Asyncio test helpers from https://blog.miguelgrinberg.com/post/unit-testing-asyncio-code"""
import asyncio
from unittest import mock
def async_run(coro):
return asyncio.get_event_loop().run_until_complete(coro)
def AsyncMock(*args, **kwargs):
m = mock.MagicMock(*args, **kwargs)
@asyncio.coroutine
... | 21.7 | 94 | 0.700461 | 59 | 434 | 5.016949 | 0.525424 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168203 | 434 | 19 | 95 | 22.842105 | 0.819945 | 0.202765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0.181818 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1a19e02ea5753629392fe5de0aa315552afeaf39 | 638 | py | Python | lintcode/04MathOrBitOperation/142CheckPowerOf2.py | zhaoxinlu/leetcode-algorithms | f5e1c94c99628e7fb04ba158f686a55a8093e933 | [
"MIT"
] | null | null | null | lintcode/04MathOrBitOperation/142CheckPowerOf2.py | zhaoxinlu/leetcode-algorithms | f5e1c94c99628e7fb04ba158f686a55a8093e933 | [
"MIT"
] | null | null | null | lintcode/04MathOrBitOperation/142CheckPowerOf2.py | zhaoxinlu/leetcode-algorithms | f5e1c94c99628e7fb04ba158f686a55a8093e933 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Editor: Zhao Xinlu
School: BUPT
Date: 2018-03-07
算法思想: O(1)时间检测2的幂次--位操作
"""
class Solution:
"""
@param n: An integer
@return: True or false
"""
def checkPowerOf2(self, n):
# write your code here
"""
2 = (10)2(10)2 --> 1 = (01)2(01)2 --> 2&1==0
... | 22.785714 | 59 | 0.46395 | 95 | 638 | 3.031579 | 0.526316 | 0.041667 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189125 | 0.336991 | 638 | 28 | 60 | 22.785714 | 0.491726 | 0.065831 | 0 | 0 | 0 | 0 | 0.034483 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 0 | null | null | 0 | 0 | null | null | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a7df3370f33f6db439e77f3fd99a7231478d780f | 583 | py | Python | src/preprocessing/text_stripper.py | alecokas/swahili-text-gcn | 14b8196b30baac2a05c869a1f6c17a912d1adcea | [
"MIT"
] | 4 | 2021-03-17T08:44:52.000Z | 2021-04-23T13:24:49.000Z | src/preprocessing/text_stripper.py | Davisy/swahili-text-gcn | c07493a2a2384a999aa4481f56ca872ffa169664 | [
"MIT"
] | 1 | 2021-03-25T12:38:19.000Z | 2021-04-18T16:02:29.000Z | src/preprocessing/text_stripper.py | Davisy/swahili-text-gcn | c07493a2a2384a999aa4481f56ca872ffa169664 | [
"MIT"
] | 3 | 2021-03-23T11:58:51.000Z | 2022-01-14T11:11:21.000Z | from html.parser import HTMLParser
from unidecode import unidecode_expect_ascii
class HTMLStripper(HTMLParser):
def __init__(self):
super().__init__()
self.reset()
self.strict = False
self.convert_charrefs = True
self.text = []
def handle_data(self, d):
self.te... | 20.821429 | 47 | 0.643225 | 75 | 583 | 4.746667 | 0.48 | 0.067416 | 0.11236 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243568 | 583 | 27 | 48 | 21.592593 | 0.807256 | 0 | 0 | 0 | 0 | 0 | 0.001715 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.105263 | 0.105263 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a7e579000c2af253a97706dc5d46cb49cf489e15 | 505 | py | Python | Translation/models.py | dukechain2333/TranslHero | b9ad54777b24aad70e3bd5ffc53d3fd0854a499b | [
"MIT"
] | null | null | null | Translation/models.py | dukechain2333/TranslHero | b9ad54777b24aad70e3bd5ffc53d3fd0854a499b | [
"MIT"
] | null | null | null | Translation/models.py | dukechain2333/TranslHero | b9ad54777b24aad70e3bd5ffc53d3fd0854a499b | [
"MIT"
] | null | null | null | from django.db import models
from django.utils import timezone
# Create your models here.
class History(models.Model):
userId = models.CharField(max_length=100)
username = models.CharField(max_length=100)
from_language = models.CharField(max_length=100)
to_language = models.CharField(max_length=100)
... | 29.705882 | 61 | 0.740594 | 64 | 505 | 5.65625 | 0.53125 | 0.165746 | 0.198895 | 0.265193 | 0.342541 | 0.19337 | 0 | 0 | 0 | 0 | 0 | 0.028504 | 0.166337 | 505 | 16 | 62 | 31.5625 | 0.831354 | 0.047525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.166667 | 0.083333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a7ecd6df1d70c3396f26102ed65ee876e3a934a8 | 126 | py | Python | examples/scikitlearn/adhoc_function.py | zrcahyx/advisor | 1b608f8401c4aa611ee80ed9c6f25b8dbcafd16d | [
"Apache-2.0"
] | 1,498 | 2017-09-14T15:59:10.000Z | 2022-03-29T07:42:00.000Z | examples/scikitlearn/adhoc_function.py | zrcahyx/advisor | 1b608f8401c4aa611ee80ed9c6f25b8dbcafd16d | [
"Apache-2.0"
] | 43 | 2017-10-02T10:19:03.000Z | 2021-03-02T15:12:21.000Z | examples/scikitlearn/adhoc_function.py | zrcahyx/advisor | 1b608f8401c4aa611ee80ed9c6f25b8dbcafd16d | [
"Apache-2.0"
] | 274 | 2017-09-19T00:40:43.000Z | 2022-03-28T07:31:32.000Z | #!/usr/bin/env python
from scikitlearn_util import main
def f(**kwargs):
return 1
if __name__ == "__main__":
main(f)
| 10.5 | 33 | 0.674603 | 19 | 126 | 4 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.190476 | 126 | 11 | 34 | 11.454545 | 0.735294 | 0.15873 | 0 | 0 | 0 | 0 | 0.07619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
a7f03189633b00521c658d8fb33c310a878b910c | 793 | py | Python | projects/proquint/test/python/test_hypothesis.py | arrdem/source | df9aae1253ed415ade3a2b59e8a0996ff659543d | [
"MIT"
] | 4 | 2021-08-17T15:47:38.000Z | 2021-10-06T01:59:32.000Z | projects/proquint/test/python/test_hypothesis.py | arrdem/source | df9aae1253ed415ade3a2b59e8a0996ff659543d | [
"MIT"
] | 8 | 2021-08-14T17:47:08.000Z | 2021-09-20T20:22:47.000Z | projects/proquint/test/python/test_hypothesis.py | arrdem/source | df9aae1253ed415ade3a2b59e8a0996ff659543d | [
"MIT"
] | 1 | 2021-10-09T21:24:35.000Z | 2021-10-09T21:24:35.000Z | """Tests based off of round-tripping randomly generated examples."""
from hypothesis import given
from hypothesis.strategies import integers
import proquint
@given(integers(min_value=0, max_value=1 << 16))
def test_round_trip_16(val):
assert proquint.Proquint.decode(proquint.Proquint.encode(val, 16)) == val
@g... | 30.5 | 78 | 0.757881 | 120 | 793 | 4.841667 | 0.266667 | 0.22031 | 0.110155 | 0.144578 | 0.614458 | 0.614458 | 0.614458 | 0.614458 | 0.561102 | 0 | 0 | 0.049575 | 0.10971 | 793 | 25 | 79 | 31.72 | 0.773371 | 0.078184 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 1 | 0.266667 | false | 0 | 0.2 | 0 | 0.466667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a7f5d5a3d114fd4aec6cede740dcfb3d6de0c997 | 111 | py | Python | other.py | harjotbarn99/Work_log | 15f9aa12b7d05ed6516b4e2deaecf51aa1f645a2 | [
"MIT"
] | null | null | null | other.py | harjotbarn99/Work_log | 15f9aa12b7d05ed6516b4e2deaecf51aa1f645a2 | [
"MIT"
] | null | null | null | other.py | harjotbarn99/Work_log | 15f9aa12b7d05ed6516b4e2deaecf51aa1f645a2 | [
"MIT"
] | null | null | null | def dateCorrect(date):
arr = date.split("-")
nDate = arr[1]+"/"+arr[2]+"/"+arr[0][2:4]
return nDate | 27.75 | 45 | 0.540541 | 17 | 111 | 3.529412 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.189189 | 111 | 4 | 46 | 27.75 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0.026786 | 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 |
a7f729d4a8392f580e0ba71a8eaa43e0455599d9 | 76 | py | Python | python/testData/quickFixes/PyAddImportQuickFixTest/combineFromImportsForReferencesInTypeComment/main_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/quickFixes/PyAddImportQuickFixTest/combineFromImportsForReferencesInTypeComment/main_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/quickFixes/PyAddImportQuickFixTest/combineFromImportsForReferencesInTypeComment/main_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from typing import List, Set
xs = [] # type: List
ys = set() # type: Set
| 15.2 | 28 | 0.592105 | 12 | 76 | 3.75 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 76 | 4 | 29 | 19 | 0.803571 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 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 |
a7fb98dbd2503d23679c7388d6cc6425d3ef9334 | 298 | py | Python | neural_sp/models/modules/swish.py | ishine/neural_sp | 7995613541d994976b00d80dcc12e2835163acfb | [
"Apache-2.0"
] | 577 | 2018-09-17T14:39:34.000Z | 2022-03-29T10:48:09.000Z | neural_sp/models/modules/swish.py | ishine/neural_sp | 7995613541d994976b00d80dcc12e2835163acfb | [
"Apache-2.0"
] | 221 | 2019-04-21T01:44:09.000Z | 2022-02-10T02:08:47.000Z | neural_sp/models/modules/swish.py | ishine/neural_sp | 7995613541d994976b00d80dcc12e2835163acfb | [
"Apache-2.0"
] | 139 | 2019-01-09T02:18:00.000Z | 2022-03-29T07:40:08.000Z | # Copyright 2020 Kyoto University (Hirofumi Inaguma)
# Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
"""Swish activation.
See details in https://arxiv.org/abs/1710.05941."""
import torch
class Swish(torch.nn.Module):
def forward(self, x):
return x * torch.sigmoid(x)
| 22.923077 | 59 | 0.687919 | 44 | 298 | 4.659091 | 0.795455 | 0.019512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068273 | 0.16443 | 298 | 12 | 60 | 24.833333 | 0.75502 | 0.590604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c512944a48786839e3f761016dd063a9f8352335 | 3,857 | py | Python | WEEKS/CD_Sata-Structures/_RESOURCES/course-work/Sprint-Challenge--Data-Structures-Python/ring_buffer/ring_buffer.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_RESOURCES/course-work/Sprint-Challenge--Data-Structures-Python/ring_buffer/ring_buffer.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_RESOURCES/course-work/Sprint-Challenge--Data-Structures-Python/ring_buffer/ring_buffer.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | # A ring buffer is a non-growable buffer with a fixed size. When the ring buffer is full
# and a new element is inserted, the oldest element in the ring buffer is overwritten with
# the newest element. This kind of data structure is very useful for use cases such as
# storing logs and history information, where you typ... | 60.265625 | 1,970 | 0.696655 | 739 | 3,857 | 3.61705 | 0.239513 | 0.152637 | 0.186308 | 0.191545 | 0.391321 | 0.349794 | 0.31388 | 0.2948 | 0.26113 | 0.24018 | 0 | 0.193681 | 0.113819 | 3,857 | 63 | 1,971 | 61.222222 | 0.588356 | 0.763806 | 0 | 0.151515 | 0 | 0 | 0.151345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0 | 0 | 0.151515 | 0.090909 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c51f8c60ecf5a46fb99f490b13d17a4477c78680 | 22,107 | py | Python | buildscripts/tests/test_burn_in_tests.py | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | buildscripts/tests/test_burn_in_tests.py | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | buildscripts/tests/test_burn_in_tests.py | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | """Unit tests for buildscripts/burn_in_tests.py."""
from __future__ import absolute_import
import collections
import datetime
import os
import sys
import subprocess
import unittest
from mock import Mock, patch, MagicMock
import buildscripts.burn_in_tests as under_test
from buildscripts.ciconfig.evergreen import par... | 39.547406 | 100 | 0.67603 | 2,848 | 22,107 | 4.871138 | 0.084972 | 0.026598 | 0.02458 | 0.016651 | 0.779356 | 0.739782 | 0.712391 | 0.670367 | 0.650544 | 0.617026 | 0 | 0.011498 | 0.217126 | 22,107 | 558 | 101 | 39.61828 | 0.790085 | 0.010856 | 0 | 0.526682 | 0 | 0 | 0.104146 | 0.022696 | 0 | 0 | 0 | 0 | 0.185615 | 1 | 0.106729 | false | 0.00232 | 0.025522 | 0.00232 | 0.174014 | 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 |
c527e053ace18fa7209d835408f5adb698920c57 | 294 | py | Python | Cursoemvideo/Desafios/Desafio 34.py | Guilherme-Lanna/Python | fc5b677300f9829eb3ef58c288a083e398ada3fa | [
"MIT"
] | null | null | null | Cursoemvideo/Desafios/Desafio 34.py | Guilherme-Lanna/Python | fc5b677300f9829eb3ef58c288a083e398ada3fa | [
"MIT"
] | null | null | null | Cursoemvideo/Desafios/Desafio 34.py | Guilherme-Lanna/Python | fc5b677300f9829eb3ef58c288a083e398ada3fa | [
"MIT"
] | null | null | null | s = float(input('Qual o seu salário atual? R$'))
a10 = s * (10/100)
a15 = s * (15/100)
if s >= 1250:
print('Você receberá um aumento de 10%, seu novo salário será de R${:.2f}'.format(s+a10))
else:
print('Você receberá um aumento de 15%, seu novo salário derá de R${:.2f}'.format(s+a15)) | 42 | 93 | 0.636054 | 55 | 294 | 3.4 | 0.509091 | 0.096257 | 0.181818 | 0.203209 | 0.427807 | 0.299465 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 0.183673 | 294 | 7 | 94 | 42 | 0.6625 | 0 | 0 | 0 | 0 | 0 | 0.542373 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 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 |
c52fcdaa1c1195438f07e524b221c8e54171c6ff | 151 | py | Python | src/pymmails/render/renderer_exceptions.py | sdpython/pymmails | 9d4e15aa161bf48ae4fb97ec79185e7f510411e8 | [
"MIT"
] | 3 | 2016-08-16T01:08:40.000Z | 2019-04-29T08:43:54.000Z | src/pymmails/render/renderer_exceptions.py | sdpython/pymmails | 9d4e15aa161bf48ae4fb97ec79185e7f510411e8 | [
"MIT"
] | 4 | 2018-04-14T08:14:33.000Z | 2019-10-24T13:04:08.000Z | src/pymmails/render/renderer_exceptions.py | sdpython/pymmails | 9d4e15aa161bf48ae4fb97ec79185e7f510411e8 | [
"MIT"
] | null | null | null | """
@file
@brief Exceptions.
"""
class RenderException(Exception):
"""
Custom exception for all class and functions below.
"""
pass
| 11.615385 | 55 | 0.629139 | 15 | 151 | 6.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245033 | 151 | 12 | 56 | 12.583333 | 0.833333 | 0.503311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
c53e66d4854956e5d1fb208a3c02a6bfa3dd962c | 5,397 | py | Python | docs/conf.py | Axelancerr/slate | 885692ae53846416ebb7e927047bcdbbdaa5564e | [
"MIT"
] | 1 | 2021-10-03T11:39:25.000Z | 2021-10-03T11:39:25.000Z | docs/conf.py | Axelancerr/slate | 885692ae53846416ebb7e927047bcdbbdaa5564e | [
"MIT"
] | 1 | 2021-09-30T08:31:02.000Z | 2021-09-30T08:31:02.000Z | docs/conf.py | Axelancerr/slate | 885692ae53846416ebb7e927047bcdbbdaa5564e | [
"MIT"
] | null | null | null | # Future
from __future__ import annotations
# Standard Library
import os
import re
import sys
from typing import Any
_DISCORD: str = "https://discord.com/invite/w9f6NkQbde"
_DISCORD_SVG: str = """
<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 16 16" height="1em" width="1em" xmlns="http... | 34.596154 | 849 | 0.606633 | 900 | 5,397 | 3.548889 | 0.376667 | 0.006888 | 0.008766 | 0.010019 | 0.074515 | 0.074515 | 0.067001 | 0.067001 | 0.067001 | 0.067001 | 0 | 0.218716 | 0.15453 | 5,397 | 155 | 850 | 34.819355 | 0.481262 | 0.029276 | 0 | 0.056604 | 0 | 0.04717 | 0.590486 | 0.222398 | 0 | 0 | 0 | 0.006452 | 0 | 1 | 0 | true | 0 | 0.04717 | 0 | 0.04717 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c546a1cb84816d9a89c15eb66267332903e4ca70 | 34,159 | py | Python | src/nitclk/metadata/functions.py | kurtp-ni/nimi-python | 4f0bccce67a69ca9f46a8ab9b07dc26ca0049729 | [
"MIT"
] | 88 | 2017-08-03T18:07:27.000Z | 2022-01-28T13:55:06.000Z | src/nitclk/metadata/functions.py | kurtp-ni/nimi-python | 4f0bccce67a69ca9f46a8ab9b07dc26ca0049729 | [
"MIT"
] | 1,310 | 2017-07-11T18:42:44.000Z | 2022-03-28T21:03:57.000Z | src/nitclk/metadata/functions.py | kurtp-ni/nimi-python | 4f0bccce67a69ca9f46a8ab9b07dc26ca0049729 | [
"MIT"
] | 70 | 2017-07-25T14:52:53.000Z | 2022-03-31T14:14:23.000Z | # -*- coding: utf-8 -*-
# This file is generated from NI-TClk API metadata version 255.0.0d0
functions = {
'ConfigureForHomogeneousTriggers': {
'documentation': {
'description': '\nConfigures the attributes commonly required for the TClk synchronization\nof device sessions with homogeneous trigg... | 56.367987 | 6,828 | 0.576803 | 3,347 | 34,159 | 5.793546 | 0.136839 | 0.079212 | 0.054458 | 0.079418 | 0.651178 | 0.618741 | 0.596204 | 0.585684 | 0.564334 | 0.553607 | 0 | 0.007093 | 0.335548 | 34,159 | 605 | 6,829 | 56.461157 | 0.847249 | 0.002576 | 0 | 0.600332 | 1 | 0.034826 | 0.652078 | 0.116033 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.014925 | 0.001658 | 0 | 0.001658 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c56463116762bd5a3b701e2cf10f6dbf0e6d530f | 254 | py | Python | prize_exchange.py | HayatoDoi/automatic-sakito | 9fed0ef4484c05ce177ed9450c4b7cb277c76276 | [
"MIT"
] | 3 | 2017-10-30T06:31:56.000Z | 2019-07-05T14:21:12.000Z | prize_exchange.py | HayatoDoi/automatic-sakito | 9fed0ef4484c05ce177ed9450c4b7cb277c76276 | [
"MIT"
] | 10 | 2017-10-29T14:36:08.000Z | 2019-03-13T04:19:05.000Z | prize_exchange.py | HayatoDoi/automatic-sakito | 9fed0ef4484c05ce177ed9450c4b7cb277c76276 | [
"MIT"
] | 2 | 2017-11-02T04:15:03.000Z | 2018-10-09T09:44:07.000Z | import config
import SakitoScrap
def main():
sakitoScrap = SakitoScrap.SakitoScrap(config.sakito['email'], config.sakito['password'])
while sakitoScrap.getExchangePoint() > 4:
sakitoScrap. prizeExchange()
if __name__ == '__main__':
main()
| 21.166667 | 90 | 0.728346 | 25 | 254 | 7.08 | 0.56 | 0.248588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004587 | 0.141732 | 254 | 11 | 91 | 23.090909 | 0.807339 | 0 | 0 | 0 | 0 | 0 | 0.082677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.25 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
c5690969f078f5cd0231a11fe305db2eee81171a | 27 | py | Python | tests/__init__.py | srafehi/taskall | 98846fbe09358ed2e1666d76bf7d4c0dac05fd40 | [
"MIT"
] | null | null | null | tests/__init__.py | srafehi/taskall | 98846fbe09358ed2e1666d76bf7d4c0dac05fd40 | [
"MIT"
] | null | null | null | tests/__init__.py | srafehi/taskall | 98846fbe09358ed2e1666d76bf7d4c0dac05fd40 | [
"MIT"
] | null | null | null | __author__ = 'shadyrafehi'
| 13.5 | 26 | 0.777778 | 2 | 27 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0.407407 | 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 |
c56e1be0fabdf26fee34f97cee30915b38b24c03 | 776 | py | Python | src/models/author.py | JonanOribe/PyRetailMarket | ad2f207eac139f482666e57a1d60bf085bc117ac | [
"MIT"
] | null | null | null | src/models/author.py | JonanOribe/PyRetailMarket | ad2f207eac139f482666e57a1d60bf085bc117ac | [
"MIT"
] | null | null | null | src/models/author.py | JonanOribe/PyRetailMarket | ad2f207eac139f482666e57a1d60bf085bc117ac | [
"MIT"
] | null | null | null | from typing import List
from src.models.user import User
class Author(User):
def __init__(self, name: str, phone: str, email: str, birthday: str,user_type: str, reviews: List[int]):
User.__init__(self, name, phone, email, birthday,user_type)
self.reviews = reviews
@property
def rev... | 36.952381 | 176 | 0.634021 | 97 | 776 | 4.804124 | 0.329897 | 0.06867 | 0.051502 | 0.094421 | 0.128755 | 0.128755 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240979 | 776 | 21 | 176 | 36.952381 | 0.791171 | 0 | 0 | 0 | 0 | 0 | 0.122265 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.117647 | 0.117647 | 0.529412 | 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 |
3d7382a5ba8ede2e0c766d581db978aab0bfac0e | 421 | py | Python | RecoMuon/MuonIdentification/python/me0MuonReco_cff.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 6 | 2017-09-08T14:12:56.000Z | 2022-03-09T23:57:01.000Z | RecoMuon/MuonIdentification/python/me0MuonReco_cff.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 545 | 2017-09-19T17:10:19.000Z | 2022-03-07T16:55:27.000Z | RecoMuon/MuonIdentification/python/me0MuonReco_cff.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 14 | 2017-10-04T09:47:21.000Z | 2019-10-23T18:04:45.000Z | import FWCore.ParameterSet.Config as cms
#from FastSimulation.Muons.me0SegmentProducer_cfi import *
from RecoMuon.MuonIdentification.me0SegmentMatcher_cfi import *
from RecoMuon.MuonIdentification.me0MuonConverter_cfi import *
#me0MuonReco = cms.Sequence(me0SegmentProducer*me0SegmentMatcher*me0MuonConverter)
me0MuonR... | 42.1 | 82 | 0.869359 | 39 | 421 | 9.307692 | 0.538462 | 0.07438 | 0.071625 | 0.115702 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030457 | 0.064133 | 421 | 9 | 83 | 46.777778 | 0.890863 | 0.327791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3d7957c44f2d8234a993b966f33fd20dfe0bda53 | 13,025 | py | Python | cloudkittyclient/tests/functional/v1/test_hashmap.py | mmariani/python-cloudkittyclient | 92f51ded48b261231f226669f75c52f199584d5c | [
"Apache-2.0"
] | null | null | null | cloudkittyclient/tests/functional/v1/test_hashmap.py | mmariani/python-cloudkittyclient | 92f51ded48b261231f226669f75c52f199584d5c | [
"Apache-2.0"
] | null | null | null | cloudkittyclient/tests/functional/v1/test_hashmap.py | mmariani/python-cloudkittyclient | 92f51ded48b261231f226669f75c52f199584d5c | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2018 Objectif Libre
#
# 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 ... | 40.703125 | 79 | 0.612975 | 1,536 | 13,025 | 5.039714 | 0.097005 | 0.073634 | 0.120785 | 0.097662 | 0.82302 | 0.787237 | 0.730397 | 0.623304 | 0.557163 | 0.542566 | 0 | 0.011957 | 0.268023 | 13,025 | 319 | 80 | 40.830721 | 0.799979 | 0.09858 | 0 | 0.593074 | 0 | 0 | 0.168263 | 0 | 0 | 0 | 0 | 0 | 0.21645 | 1 | 0.060606 | false | 0.021645 | 0.004329 | 0 | 0.073593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3d797525a6d8f7ccdda3aa6598463c8ac6b7e27b | 267 | py | Python | zang/domain/list/calls.py | vlastikczech/zang-python | 980f5243071404d6838554500a6955ff7bc2a0c7 | [
"MIT"
] | 1 | 2019-02-18T21:51:58.000Z | 2019-02-18T21:51:58.000Z | zang/domain/list/calls.py | vlastikczech/zang-python | 980f5243071404d6838554500a6955ff7bc2a0c7 | [
"MIT"
] | 6 | 2019-06-26T13:56:22.000Z | 2022-02-17T16:40:48.000Z | zang/domain/list/calls.py | vlastikczech/zang-python | 980f5243071404d6838554500a6955ff7bc2a0c7 | [
"MIT"
] | 6 | 2017-10-17T12:44:32.000Z | 2020-02-07T20:45:00.000Z | from zang.domain.list.base_list import BaseList
from zang.domain.call import Call
class Calls(BaseList):
_arrays = {'calls': Call}
def __init__(self):
super(Calls, self).__init__()
@property
def elements(self):
return self._calls
| 17.8 | 47 | 0.670412 | 34 | 267 | 4.941176 | 0.529412 | 0.095238 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224719 | 267 | 14 | 48 | 19.071429 | 0.811594 | 0 | 0 | 0 | 0 | 0 | 0.018727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3d851622d8fdd0aca70f23a8d218960492fcb30a | 495 | py | Python | snippets/tests/numpy/core/fromnumeric.py | oojBuffalo/micropython-ulab | 4407bec88c3a7585ffbdfdd98e72bed12329ff3c | [
"MIT"
] | 1 | 2022-03-07T08:54:35.000Z | 2022-03-07T08:54:35.000Z | snippets/tests/numpy/core/fromnumeric.py | oojBuffalo/micropython-ulab | 4407bec88c3a7585ffbdfdd98e72bed12329ff3c | [
"MIT"
] | null | null | null | snippets/tests/numpy/core/fromnumeric.py | oojBuffalo/micropython-ulab | 4407bec88c3a7585ffbdfdd98e72bed12329ff3c | [
"MIT"
] | null | null | null | import math
import sys
sys.path.append('.')
from snippets import numpy
from ulab import numpy as np
a = np.array([[1,2,3],[4,5,6]])
print(numpy.size(a))
print(numpy.size(a,1))
print(numpy.size(a,0))
print(numpy.prod([1, 10, 100, 5]))
print(numpy.prod([]))
print(numpy.prod([1.,2.]))
a = np.array([1,2,3])
print(nump... | 17.678571 | 47 | 0.616162 | 99 | 495 | 3.080808 | 0.313131 | 0.327869 | 0.222951 | 0.088525 | 0.24918 | 0.12459 | 0.085246 | 0.085246 | 0 | 0 | 0 | 0.083333 | 0.127273 | 495 | 27 | 48 | 18.333333 | 0.622685 | 0 | 0 | 0 | 0 | 0 | 0.002028 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.210526 | 0 | 0.210526 | 0.526316 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
3d8d7078b849a189a20db8da5f1bd3b4b366baab | 1,735 | py | Python | engines/base.py | codingjerk/deadbot | cd65fe3c552262b5479d12108369a88bd5173fc6 | [
"MIT"
] | 5 | 2016-09-12T08:14:37.000Z | 2016-10-19T11:39:02.000Z | engines/base.py | codingjerk/deadbot | cd65fe3c552262b5479d12108369a88bd5173fc6 | [
"MIT"
] | null | null | null | engines/base.py | codingjerk/deadbot | cd65fe3c552262b5479d12108369a88bd5173fc6 | [
"MIT"
] | 1 | 2016-09-15T13:52:35.000Z | 2016-09-15T13:52:35.000Z | # Base engine
import events
import threading
class Engine:
def __init__(self, config):
self.config = config
self.terminated = False
self.working_thread = threading.Thread(target=self.work_base)
# TODO: make in beauty too
self.on_join_listeners = []
self.on_leave_listeners = []
self.on_message_listene... | 22.24359 | 63 | 0.72219 | 251 | 1,735 | 4.820717 | 0.247012 | 0.059504 | 0.033058 | 0.047107 | 0.218182 | 0.173554 | 0.069421 | 0 | 0 | 0 | 0 | 0 | 0.165994 | 1,735 | 77 | 64 | 22.532468 | 0.836213 | 0.020749 | 0 | 0.087719 | 0 | 0 | 0.041863 | 0 | 0 | 0 | 0 | 0.012987 | 0 | 1 | 0.210526 | false | 0.052632 | 0.035088 | 0.017544 | 0.350877 | 0.017544 | 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 |
3dba6163ef304fdeb09192079f3daf3884355c12 | 722 | py | Python | ClickUp/clickupconnect.py | martincho5/vscode | 7d9568590d307de5319e7f7c94cc6a88ca0563d0 | [
"MIT"
] | null | null | null | ClickUp/clickupconnect.py | martincho5/vscode | 7d9568590d307de5319e7f7c94cc6a88ca0563d0 | [
"MIT"
] | null | null | null | ClickUp/clickupconnect.py | martincho5/vscode | 7d9568590d307de5319e7f7c94cc6a88ca0563d0 | [
"MIT"
] | null | null | null | import requests
tecnologia = requests.get('https://api.clickup.com/api/v2/user', headers={'Authorization': '######'})
print(tecnologia.text)
tecnologia2 = requests.get('https://api.clickup.com/api/v2/team', headers={'Authorization': '######'})
print(tecnologia2.text)
tecnologia3 = requests.get('https://api.clickup.... | 38 | 132 | 0.728532 | 94 | 722 | 5.574468 | 0.287234 | 0.091603 | 0.171756 | 0.206107 | 0.507634 | 0.362595 | 0.274809 | 0.274809 | 0.145038 | 0 | 0 | 0.037846 | 0.048476 | 722 | 18 | 133 | 40.111111 | 0.724891 | 0.180055 | 0 | 0 | 0 | 0.222222 | 0.466102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.444444 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
3dbde69580e1285d92cc630fc0336c9cca37929c | 201 | py | Python | cudatbx/__init__.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | cudatbx/__init__.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | cudatbx/__init__.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | from __future__ import division
import boost.python
import libtbx.load_env
if (libtbx.env.build_options.enable_cuda):
cudatbx_ext = boost.python.import_ext("cudatbx_ext")
from cudatbx_ext import *
| 28.714286 | 54 | 0.81592 | 30 | 201 | 5.1 | 0.533333 | 0.196078 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 201 | 6 | 55 | 33.5 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.054726 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3dc8c76c5daa045239f329d6a38e8b6481ced967 | 405 | py | Python | server/src/repositories/notationAverageFilm.py | alexfire008/centrale | f08c66f6064005fa371cbe56401a0e2c692ce905 | [
"MIT"
] | 1 | 2019-06-17T08:24:52.000Z | 2019-06-17T08:24:52.000Z | server/src/repositories/notationAverageFilm.py | alexfire008/centrale | f08c66f6064005fa371cbe56401a0e2c692ce905 | [
"MIT"
] | null | null | null | server/src/repositories/notationAverageFilm.py | alexfire008/centrale | f08c66f6064005fa371cbe56401a0e2c692ce905 | [
"MIT"
] | null | null | null | """ Defines the User repository """
from models import Notation
from models import db
from sqlalchemy import func
class NotationAverageFilmRepository:
"""The repository for the notation average truc"""
@staticmethod
def get(movie_title):
return db.session.query(Notation.movie_title, func.avg(Not... | 28.928571 | 150 | 0.765432 | 53 | 405 | 5.716981 | 0.566038 | 0.165017 | 0.105611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140741 | 405 | 13 | 151 | 31.153846 | 0.87069 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0.142857 | 0.857143 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
3dcb54ead41b50ac5503335347e8ba31cf61dab3 | 201 | py | Python | ch2_1/rect.py | o-kei/design-computing-aij | 954b46fb5f2192ab79fc003a2ca3a259e41dc7a4 | [
"MIT"
] | 11 | 2017-11-11T05:09:45.000Z | 2022-02-14T05:01:22.000Z | ch2_1/rect.py | o-kei/design-computing-aij | 954b46fb5f2192ab79fc003a2ca3a259e41dc7a4 | [
"MIT"
] | 3 | 2017-02-09T18:20:25.000Z | 2017-11-10T01:32:40.000Z | ch2_1/rect.py | o-kei/design-computing-aij | 954b46fb5f2192ab79fc003a2ca3a259e41dc7a4 | [
"MIT"
] | 6 | 2016-12-17T03:06:57.000Z | 2021-04-28T15:37:06.000Z | class Rectangle:
def __init__(self, dx, dy): # 初期化関数
self.dx = dx
self.dy = dy
def cal_area(self): # 面積を計算する関数
self.area = self.dx * self.dy
return self.area | 22.333333 | 40 | 0.557214 | 28 | 201 | 3.821429 | 0.428571 | 0.168224 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.338308 | 201 | 9 | 41 | 22.333333 | 0.804511 | 0.074627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3dd0d213572b20738afa31698400080f0046fc71 | 486 | py | Python | elderflower/__init__.py | NGC4676/minister | f94af26c81a3e95452018aa1c920f35c7db8fbb8 | [
"MIT"
] | 1 | 2019-12-20T15:49:40.000Z | 2019-12-20T15:49:40.000Z | elderflower/__init__.py | NGC4676/minister | f94af26c81a3e95452018aa1c920f35c7db8fbb8 | [
"MIT"
] | 1 | 2020-03-27T02:32:18.000Z | 2020-03-27T02:32:18.000Z | elderflower/__init__.py | NGC4676/PSF_Modeling | 24e28967b64f2fca540e373fd50498abead3c444 | [
"MIT"
] | null | null | null | __version__ = "0.3"
# Pixel scale (arcsec/pixel) for reduced and raw Dragonfly data
DF_pixel_scale = 2.5
DF_raw_pixel_scale = 2.85
# Gain (e-/ADU) of Dragonfly
DF_Gain = 0.37
from . import io
from . import utils
from . import modeling
from . import image
from . import mask
from . import crossmatch
from . import det... | 16.758621 | 63 | 0.744856 | 75 | 486 | 4.693333 | 0.493333 | 0.397727 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.187243 | 486 | 28 | 64 | 17.357143 | 0.865823 | 0.18107 | 0 | 0 | 0 | 0 | 0.007614 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.777778 | 0 | 0.777778 | 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 |
3dd6938c1e46dad007b7a0e8da4c383d47c34bb7 | 3,272 | py | Python | scrapper/Inactive/bet365.py | simonemastella/SureBetFinder | 8dd1fb9ea2f8c42ee54c48af1ccdff878edfc7c0 | [
"MIT"
] | 10 | 2020-12-11T15:28:37.000Z | 2022-01-28T04:07:11.000Z | scrapper/Inactive/bet365.py | simonemastella/SureBetFinder | 8dd1fb9ea2f8c42ee54c48af1ccdff878edfc7c0 | [
"MIT"
] | 1 | 2021-06-28T17:59:23.000Z | 2021-06-28T18:19:12.000Z | scrapper/Inactive/bet365.py | simonemastella/SureBetFinder | 8dd1fb9ea2f8c42ee54c48af1ccdff878edfc7c0 | [
"MIT"
] | 3 | 2021-05-28T17:36:27.000Z | 2022-01-27T18:28:28.000Z | import requests
import webbrowser
from bs4 import BeautifulSoup as bs4 #per scrap
import pandas as pd #per analizzare e creare dataframe
from requests_html import HTMLSession
'''
# Establish chrome driver and go to report site URL
link="https://www.bet365.it/#/AC/B1/C1/D8/E93855159/F3/I1/"
driver = webdriver.Chrome()
... | 37.181818 | 141 | 0.678178 | 451 | 3,272 | 4.842572 | 0.266075 | 0.049451 | 0.041209 | 0.09478 | 0.675824 | 0.675824 | 0.675824 | 0.675824 | 0.675824 | 0.675824 | 0 | 0.034354 | 0.101467 | 3,272 | 88 | 142 | 37.181818 | 0.708503 | 0.012836 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3dda874690dc7618ea62028de75d0b1b62dac4e4 | 459 | py | Python | libkludge/dir_qual_type_info.py | zhangxiao6776/kludge | 17a561f4b15399edd8175c883f8410a1b23c4d90 | [
"BSD-3-Clause"
] | null | null | null | libkludge/dir_qual_type_info.py | zhangxiao6776/kludge | 17a561f4b15399edd8175c883f8410a1b23c4d90 | [
"BSD-3-Clause"
] | null | null | null | libkludge/dir_qual_type_info.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 DirQualTypeInfo:
def __init__(self, dir_qual, type_info):
self.dir_qual = dir_qual
self.type_info = type_info
@property
def dq(self):
return self.dir_qual
@property
def ti(self):
return self.type_info
def g... | 19.125 | 74 | 0.681917 | 69 | 459 | 4.217391 | 0.391304 | 0.120275 | 0.151203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.198257 | 459 | 23 | 75 | 19.956522 | 0.769022 | 0.143791 | 0 | 0.142857 | 0 | 0 | 0.012853 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0 | 0.285714 | 0.714286 | 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 |
3de22afa0276d8ed0744fddff315fe4fe8d69a46 | 152 | py | Python | comscience/python/controlflow.py | StewartStack/comscicar | bd9c9b8fd88626687f9183534a2d4553876cb255 | [
"MIT"
] | null | null | null | comscience/python/controlflow.py | StewartStack/comscicar | bd9c9b8fd88626687f9183534a2d4553876cb255 | [
"MIT"
] | null | null | null | comscience/python/controlflow.py | StewartStack/comscicar | bd9c9b8fd88626687f9183534a2d4553876cb255 | [
"MIT"
] | null | null | null | grade = 95
if grade >= 90:
print("A")
elif grade >= 80:
print("B")
elif grade >= 70:
print("C")
elif grade >= 60:
print("D")
else:
print("F") | 12.666667 | 17 | 0.546053 | 25 | 152 | 3.32 | 0.6 | 0.325301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08547 | 0.230263 | 152 | 12 | 18 | 12.666667 | 0.623932 | 0 | 0 | 0 | 0 | 0 | 0.03268 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.454545 | 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 | 0 | 1 | 0 | 3 |
3de7d0b7f44f2ef444812347b9fa1d43e61bdd57 | 21 | py | Python | __init__.py | doccaz/labvirtual | e7fd64dece564dac8e81e80e620f1e0027cd4821 | [
"BSD-2-Clause"
] | 3 | 2019-01-10T11:42:50.000Z | 2022-01-13T15:41:03.000Z | __init__.py | doccaz/labvirtual | e7fd64dece564dac8e81e80e620f1e0027cd4821 | [
"BSD-2-Clause"
] | null | null | null | __init__.py | doccaz/labvirtual | e7fd64dece564dac8e81e80e620f1e0027cd4821 | [
"BSD-2-Clause"
] | null | null | null | name = 'labvirtual'
| 7 | 19 | 0.666667 | 2 | 21 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 2 | 20 | 10.5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.5 | 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 |
3df62d1154756aa628d30a88a167c442907d7f13 | 1,146 | py | Python | src/TDD/application/calculator.py | paulossjunior/TDD-Python | e860e4be3b594ace3123b8f579d5d907d476a37c | [
"MIT"
] | null | null | null | src/TDD/application/calculator.py | paulossjunior/TDD-Python | e860e4be3b594ace3123b8f579d5d907d476a37c | [
"MIT"
] | null | null | null | src/TDD/application/calculator.py | paulossjunior/TDD-Python | e860e4be3b594ace3123b8f579d5d907d476a37c | [
"MIT"
] | null | null | null | ##Exemplo retirado do site http://code.tutsplus.com/tutorials/beginning-test-driven-development-in-python--net-30137
##//lhekheklqhlekhqkehqkehqkhelqw
##//ljkfhjdhfjkdhfkjlsdhlfkhslkjkljdflksgflsgdf
##//lkhdsklfskfgshgfsjhgfs
class Calculator(object):
def add(self, x, y):
number_types = (int, float, compl... | 29.384615 | 116 | 0.578534 | 127 | 1,146 | 5.125984 | 0.338583 | 0.202765 | 0.147465 | 0.073733 | 0.652842 | 0.652842 | 0.652842 | 0.652842 | 0.652842 | 0.652842 | 0 | 0.006485 | 0.327225 | 1,146 | 38 | 117 | 30.157895 | 0.837873 | 0.186736 | 0 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0 | 0 | 0 | 0.36 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9a79cfe8c6ab987cf8115aa9486a2665f011599c | 745 | py | Python | src/data/CocoDefaultData.py | stefantaubert/imageclef-lifelog-2019 | e779526583978be828ebc096538d094cc3cc260e | [
"MIT"
] | 1 | 2020-08-15T01:55:07.000Z | 2020-08-15T01:55:07.000Z | src/data/CocoDefaultData.py | stefantaubert/imageclef-lifelog-2019 | e779526583978be828ebc096538d094cc3cc260e | [
"MIT"
] | null | null | null | src/data/CocoDefaultData.py | stefantaubert/imageclef-lifelog-2019 | e779526583978be828ebc096538d094cc3cc260e | [
"MIT"
] | null | null | null | from src.io.ReadingContext import ReadingContext
from src.data.DataBase import DataBase
from src.data.unify_coco import unify_coco
name_coco_default = "coco_default"
class CocoDefaultData(DataBase):
def __init__(self, ctx: ReadingContext):
return super().__init__(ctx)
def get_name(self):
retu... | 28.653846 | 79 | 0.692617 | 103 | 745 | 4.601942 | 0.300971 | 0.059072 | 0.056962 | 0.084388 | 0.223629 | 0.223629 | 0.223629 | 0.223629 | 0.223629 | 0.223629 | 0 | 0 | 0.222819 | 745 | 26 | 80 | 28.653846 | 0.818653 | 0 | 0 | 0 | 0 | 0 | 0.050938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.277778 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9a7b468263e264891814686dee950245682b4844 | 895 | py | Python | desafio2.py | justinharringa/aprendendo-python | b4e472033cc31e7827190cb18bc01b2d425e2f86 | [
"MIT"
] | null | null | null | desafio2.py | justinharringa/aprendendo-python | b4e472033cc31e7827190cb18bc01b2d425e2f86 | [
"MIT"
] | null | null | null | desafio2.py | justinharringa/aprendendo-python | b4e472033cc31e7827190cb18bc01b2d425e2f86 | [
"MIT"
] | null | null | null | # Tem alguns brinquedos no parque que não permitem pessoas abaixo de uma determinada altura usarlos
#
# Brinquedo Altura mínima em centimitros
# Tomorrowland Speedway 82
# The Barnstormer 89
# Seven Dwarfs Mine Train 97
# Big Thunder Mountain Railroad 102
# Spl... | 28.870968 | 102 | 0.705028 | 109 | 895 | 5.788991 | 0.522936 | 0.050713 | 0.071315 | 0.095087 | 0.393027 | 0.393027 | 0.278922 | 0.278922 | 0.278922 | 0.278922 | 0 | 0.032984 | 0.254749 | 895 | 30 | 103 | 29.833333 | 0.913043 | 0.934078 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.033333 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9a85b86c91b699f30873deecf017d5a8a26c0b81 | 5,536 | py | Python | WFIRST_SIM/coolTLUSTY_model.py | blacy/direct-imaging-sims | 189aab885d968a280aca56bed8458b1e075a4a61 | [
"MIT"
] | 5 | 2019-03-11T14:30:31.000Z | 2021-12-04T14:11:54.000Z | WFIRST_SIM/coolTLUSTY_model.py | blacy/direct-imaging-sims | 189aab885d968a280aca56bed8458b1e075a4a61 | [
"MIT"
] | null | null | null | WFIRST_SIM/coolTLUSTY_model.py | blacy/direct-imaging-sims | 189aab885d968a280aca56bed8458b1e075a4a61 | [
"MIT"
] | 1 | 2021-12-04T18:17:09.000Z | 2021-12-04T18:17:09.000Z | import numpy as np
import matplotlib.pyplot as plt
from scipy.interpolate import interp1d
import misc_utils as mu
def ctlustyAg(metallicity):
# input - metallicity of atmosphere
# in multiples of solar metallicity
# can range from 1 to 30 times
# output - returns a fuction for
# ... | 42.914729 | 148 | 0.636922 | 769 | 5,536 | 4.539662 | 0.209363 | 0.151246 | 0.043541 | 0.059582 | 0.735319 | 0.727299 | 0.701232 | 0.666285 | 0.666285 | 0.666285 | 0 | 0.063607 | 0.224711 | 5,536 | 128 | 149 | 43.25 | 0.749767 | 0.126445 | 0 | 0.536842 | 0 | 0.084211 | 0.148287 | 0.115057 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063158 | false | 0 | 0.042105 | 0 | 0.221053 | 0.021053 | 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 |
9a8dbcb2d1e850d653d353de9568117b0c473ad9 | 3,614 | py | Python | src/fabricflow/fibc/ofc/ofdpa2.py | RudSmith/beluganos | 7a3f8524e1d9d9313d96476c783a96096180654c | [
"Apache-2.0"
] | 119 | 2017-10-05T11:37:37.000Z | 2022-02-23T05:01:54.000Z | src/fabricflow/fibc/ofc/ofdpa2.py | RudSmith/beluganos | 7a3f8524e1d9d9313d96476c783a96096180654c | [
"Apache-2.0"
] | 5 | 2017-10-23T00:49:09.000Z | 2020-08-17T14:58:16.000Z | src/fabricflow/fibc/ofc/ofdpa2.py | RudSmith/beluganos | 7a3f8524e1d9d9313d96476c783a96096180654c | [
"Apache-2.0"
] | 17 | 2017-10-21T12:33:44.000Z | 2022-02-03T10:55:18.000Z | # -*- coding: utf-8 -*-
# Copyright (C) 2017 Nippon Telegraph and Telephone Corporation.
#
# 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
#
#... | 21.640719 | 69 | 0.677643 | 494 | 3,614 | 4.793522 | 0.255061 | 0.121622 | 0.197635 | 0.152027 | 0.564189 | 0.404983 | 0.110642 | 0.054899 | 0 | 0 | 0 | 0.010168 | 0.210847 | 3,614 | 166 | 70 | 21.771084 | 0.820126 | 0.281129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.066667 | 0 | 0.955556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9a90ac659c2a44b5d073f3397bb5a8e92f00babe | 1,886 | py | Python | tests/sentry/event_manager/interfaces/test_single_exception.py | pierredup/sentry | 0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80 | [
"BSD-3-Clause"
] | null | null | null | tests/sentry/event_manager/interfaces/test_single_exception.py | pierredup/sentry | 0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80 | [
"BSD-3-Clause"
] | null | null | null | tests/sentry/event_manager/interfaces/test_single_exception.py | pierredup/sentry | 0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import
import pytest
from sentry import eventstore
from sentry.event_manager import EventManager
@pytest.fixture
def make_single_exception_snapshot(insta_snapshot):
def inner(data):
mgr = EventManager(data={"exception": {"values": [data]}})
... | 31.433333 | 98 | 0.76087 | 237 | 1,886 | 5.649789 | 0.303797 | 0.12696 | 0.241225 | 0.342793 | 0.54593 | 0.500373 | 0.463032 | 0.463032 | 0.463032 | 0.315907 | 0 | 0.003051 | 0.130965 | 1,886 | 59 | 99 | 31.966102 | 0.813911 | 0.038706 | 0 | 0.060606 | 0 | 0 | 0.121547 | 0.024309 | 0 | 0 | 0 | 0 | 0 | 1 | 0.30303 | false | 0 | 0.121212 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9a9a51f573bc7988132bfc2dcdf857257a76724a | 327 | py | Python | __init__.py | raulbarbosa1996/create-voip-skill | 36352f894a5a88c5ecca385a6d6ded80447c4bf3 | [
"Apache-2.0"
] | null | null | null | __init__.py | raulbarbosa1996/create-voip-skill | 36352f894a5a88c5ecca385a6d6ded80447c4bf3 | [
"Apache-2.0"
] | null | null | null | __init__.py | raulbarbosa1996/create-voip-skill | 36352f894a5a88c5ecca385a6d6ded80447c4bf3 | [
"Apache-2.0"
] | null | null | null | from mycroft import MycroftSkill, intent_file_handler
class CreateVoip(MycroftSkill):
def __init__(self):
MycroftSkill.__init__(self)
@intent_file_handler('voip.create.intent')
def handle_voip_create(self, message):
self.speak_dialog('voip.create')
def create_skill():
return CreateV... | 20.4375 | 53 | 0.727829 | 38 | 327 | 5.842105 | 0.526316 | 0.135135 | 0.153153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174312 | 327 | 15 | 54 | 21.8 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0.088957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9afad793c8d5589e2692367d6ce6aa5eaed03a57 | 4,284 | py | Python | stubs.min/System/Net/__init___parts/HttpListenerPrefixCollection.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2017-07-25T14:30:18.000Z | 2017-07-25T14:30:18.000Z | stubs.min/System/Net/__init___parts/HttpListenerPrefixCollection.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/System/Net/__init___parts/HttpListenerPrefixCollection.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class HttpListenerPrefixCollection(object,ICollection[str],IEnumerable[str],IEnumerable):
""" Represents the collection used to store Uniform Resource Identifier (URI) prefixes for System.Net.HttpListener objects. """
def Add(self,uriPrefix):
"""
Add(self: HttpListenerPrefixCollection,uriPrefix: str)
Add... | 36.615385 | 215 | 0.704015 | 510 | 4,284 | 5.756863 | 0.252941 | 0.026226 | 0.059605 | 0.066757 | 0.448569 | 0.339237 | 0.314714 | 0.271798 | 0.271798 | 0.271798 | 0 | 0 | 0.203782 | 4,284 | 116 | 216 | 36.931034 | 0.860745 | 0.639356 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
9afe94f7b72812db5712ef7339e8d24835232d2d | 3,831 | py | Python | pyinterfaces/enum/ENUM_STUBS.py | OaklandPeters/pyinterfaces | c60efaad92e8d2e1ec25df718dfb43f034a083bb | [
"MIT"
] | null | null | null | pyinterfaces/enum/ENUM_STUBS.py | OaklandPeters/pyinterfaces | c60efaad92e8d2e1ec25df718dfb43f034a083bb | [
"MIT"
] | null | null | null | pyinterfaces/enum/ENUM_STUBS.py | OaklandPeters/pyinterfaces | c60efaad92e8d2e1ec25df718dfb43f034a083bb | [
"MIT"
] | null | null | null | """
Example of implementation detail for the desired functionality of enum.
This is the compliment to ENUM_USAGE.py
@todo: Provide interfaces for EnumeratorMetaInterface, EnumeratorInterface, EnumerateeInterface
@todo: Rebuild cls.cases as a class (inherit from Sequence)
@todo: Provide some mechanism to ensure that c... | 29.929688 | 156 | 0.654398 | 441 | 3,831 | 5.52381 | 0.385488 | 0.036946 | 0.010673 | 0.012315 | 0.019704 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001049 | 0.253198 | 3,831 | 127 | 157 | 30.165354 | 0.850402 | 0.48734 | 0 | 0.045455 | 0 | 0 | 0.011669 | 0 | 0 | 0 | 0 | 0.055118 | 0 | 1 | 0.25 | false | 0 | 0.045455 | 0.068182 | 0.568182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b11a9f05a2861ac56cf6966aa9fa2ba6b127b5b3 | 139 | py | Python | cdhweb/events/__init__.py | bwhicks/cdh-web | d6002dc1933a4d6e97f5459aafc9ab92cb1f8050 | [
"Apache-2.0"
] | 1 | 2017-11-21T16:02:33.000Z | 2017-11-21T16:02:33.000Z | cdhweb/events/__init__.py | bwhicks/cdh-web | d6002dc1933a4d6e97f5459aafc9ab92cb1f8050 | [
"Apache-2.0"
] | 367 | 2017-08-14T16:05:41.000Z | 2021-11-03T15:29:18.000Z | cdhweb/events/__init__.py | bwhicks/cdh-web | d6002dc1933a4d6e97f5459aafc9ab92cb1f8050 | [
"Apache-2.0"
] | 5 | 2017-09-08T21:08:49.000Z | 2020-10-02T04:39:37.000Z | """
Events app for the CDH webapp.
Provides event types, locations, and events
"""
default_app_config = "cdhweb.events.apps.EventsConfig"
| 19.857143 | 54 | 0.76259 | 19 | 139 | 5.473684 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129496 | 139 | 6 | 55 | 23.166667 | 0.859504 | 0.532374 | 0 | 0 | 0 | 0 | 0.54386 | 0.54386 | 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 |
b134df6a49ce7cd90a0350902ece46c38e3b7ab0 | 506 | py | Python | manage.py | NexellCorp/infrastructure_server_fileserver | b2d0cd30b7658735f914c29e401a670d9bb42f92 | [
"Net-SNMP",
"Xnet",
"Info-ZIP",
"OML"
] | null | null | null | manage.py | NexellCorp/infrastructure_server_fileserver | b2d0cd30b7658735f914c29e401a670d9bb42f92 | [
"Net-SNMP",
"Xnet",
"Info-ZIP",
"OML"
] | null | null | null | manage.py | NexellCorp/infrastructure_server_fileserver | b2d0cd30b7658735f914c29e401a670d9bb42f92 | [
"Net-SNMP",
"Xnet",
"Info-ZIP",
"OML"
] | null | null | null | #!/usr/bin/env python
from django.core.management import execute_manager
import imp
try:
imp.find_module('settings')
except ImportError:
import sys
sys.stderr.write(
"Error: Can't find the file 'settings.py' in the directory "
"containing %r. It appears you've customized things.\n"
"... | 26.631579 | 68 | 0.683794 | 71 | 506 | 4.661972 | 0.704225 | 0.084592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002506 | 0.211462 | 506 | 18 | 69 | 28.111111 | 0.827068 | 0.039526 | 0 | 0 | 0 | 0 | 0.406186 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.066667 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.