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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7c9858a9b0222ecc18d90bd07511f2c938f7afa9 | 42,668 | py | Python | scripts/dict/highlands_basis_output.py | Shadybloom/sea-tribes | 5cbfa25b6f70050303005965e9ad8efc0918cd36 | [
"WTFPL"
] | null | null | null | scripts/dict/highlands_basis_output.py | Shadybloom/sea-tribes | 5cbfa25b6f70050303005965e9ad8efc0918cd36 | [
"WTFPL"
] | null | null | null | scripts/dict/highlands_basis_output.py | Shadybloom/sea-tribes | 5cbfa25b6f70050303005965e9ad8efc0918cd36 | [
"WTFPL"
] | null | null | null | #----
# Подавление вывода данных:
metadict_detail['-Рыночная цена (фоллисов)'] = {
}
metadict_detail['-Мёд (требуется/килограмм)'] = {
}
metadict_detail['-Сыворотка творожная коровья (требуется/килограмм)'] = {
}
metadict_detail['-Молоко коровье (требуется/килограмм)'] = {
}
metadic... | 25.859394 | 100 | 0.618918 | 3,925 | 42,668 | 6.57707 | 0.132229 | 0.137982 | 0.097114 | 0.073949 | 0.707844 | 0.557118 | 0.407476 | 0.34232 | 0.313229 | 0.260779 | 0 | 0.012689 | 0.224243 | 42,668 | 1,649 | 101 | 25.875076 | 0.767221 | 0.04985 | 0 | 0.123364 | 0 | 0 | 0.547772 | 0.02804 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
7c9a5c4073489e8aa50a19454f676d492c242b0f | 1,353 | py | Python | common/configuration.py | adamrehn/charcoal-morphotypes | 4a70d86e5734a009129b3e6d5a3cca3c8ab71fdd | [
"MIT"
] | 3 | 2019-12-22T08:35:22.000Z | 2020-11-12T15:49:30.000Z | common/configuration.py | adamrehn/charcoal-morphotypes | 4a70d86e5734a009129b3e6d5a3cca3c8ab71fdd | [
"MIT"
] | null | null | null | common/configuration.py | adamrehn/charcoal-morphotypes | 4a70d86e5734a009129b3e6d5a3cca3c8ab71fdd | [
"MIT"
] | 1 | 2022-03-13T04:14:33.000Z | 2022-03-13T04:14:33.000Z | from os import path
# The full paths to each of our key directories
_PATHS = {}
_PATHS['root'] = path.dirname(path.dirname(__file__))
_PATHS['checkpoints'] = path.join(_PATHS['root'], 'checkpoints')
_PATHS['logs'] = path.join(_PATHS['root'], 'logs'... | 50.111111 | 97 | 0.638581 | 139 | 1,353 | 5.877698 | 0.266187 | 0.117503 | 0.190942 | 0.083231 | 0.259486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207687 | 1,353 | 26 | 98 | 52.038462 | 0.762127 | 0.079084 | 0 | 0 | 0 | 0 | 0.341977 | 0.099676 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.052632 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
7ca039675c4d288cc9a8cbce0dac01d4fcd2cb37 | 7,664 | py | Python | modules/web/examples/justhttpd.py | hryknkgw/pymolwin | 4a1335e90497dbcbfa789f1285a7c1ad84a051f8 | [
"CNRI-Python"
] | null | null | null | modules/web/examples/justhttpd.py | hryknkgw/pymolwin | 4a1335e90497dbcbfa789f1285a7c1ad84a051f8 | [
"CNRI-Python"
] | null | null | null | modules/web/examples/justhttpd.py | hryknkgw/pymolwin | 4a1335e90497dbcbfa789f1285a7c1ad84a051f8 | [
"CNRI-Python"
] | null | null | null | # Copyright (C) Schrodinger, LLC.
# All Rights Reserved
#
# For more information, see LICENSE in PyMOL's home directory.
#
# justhttpd.py
#
# vanilla web server designed for testing multi-origin applications
# by serving up content on 127.0.0.1:xxxx instead of localhost:yyyy
import BaseHTTPServer, cgi, urlparse, socke... | 34.367713 | 81 | 0.520616 | 868 | 7,664 | 4.506912 | 0.329493 | 0.03681 | 0.05726 | 0.038344 | 0.099693 | 0.065951 | 0.016871 | 0 | 0 | 0 | 0 | 0.012572 | 0.36691 | 7,664 | 222 | 82 | 34.522523 | 0.793693 | 0.151096 | 0 | 0.183673 | 0 | 0 | 0.103688 | 0.010838 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.020408 | 0.040816 | null | null | 0.013605 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
7ca2b03dee75ec50eb1448aec6ec2de5f1fa4a5d | 2,902 | py | Python | service/app.py | alceballosa/BikeDemandEACD | b9edc2af5326b407872a791643b74f0d47728b43 | [
"MIT"
] | null | null | null | service/app.py | alceballosa/BikeDemandEACD | b9edc2af5326b407872a791643b74f0d47728b43 | [
"MIT"
] | null | null | null | service/app.py | alceballosa/BikeDemandEACD | b9edc2af5326b407872a791643b74f0d47728b43 | [
"MIT"
] | null | null | null | import sys
import typing as t
from datetime import datetime
from functools import lru_cache
import joblib
import numpy as np
import pandas as pd
from fastapi import Body # type: ignore # noqa: E402
from fastapi import Depends
from fastapi import FastAPI
from pydantic import BaseSettings
from pydantic import PositiveF... | 25.234783 | 117 | 0.667471 | 363 | 2,902 | 5.212121 | 0.330579 | 0.015856 | 0.02537 | 0.046512 | 0.329281 | 0.311839 | 0.296512 | 0.296512 | 0.296512 | 0.263214 | 0 | 0.011121 | 0.194349 | 2,902 | 114 | 118 | 25.45614 | 0.798118 | 0.383184 | 0 | 0.038462 | 0 | 0 | 0.050611 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096154 | false | 0 | 0.269231 | 0.038462 | 0.538462 | 0.019231 | 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 | 0 | 0 | 1 | 0 | 0 | 1 |
7ca4d0e492a2b59b63fbf6e5b7ac6c76adf4f2ec | 370 | py | Python | 06/Part2.py | iammanish17/AOC2020 | afbed26492b8cd0025e6c6b196e1a944e0a84109 | [
"MIT"
] | 1 | 2020-12-02T11:34:42.000Z | 2020-12-02T11:34:42.000Z | 06/Part2.py | iammanish17/AOC2020 | afbed26492b8cd0025e6c6b196e1a944e0a84109 | [
"MIT"
] | null | null | null | 06/Part2.py | iammanish17/AOC2020 | afbed26492b8cd0025e6c6b196e1a944e0a84109 | [
"MIT"
] | 1 | 2020-12-23T06:56:51.000Z | 2020-12-23T06:56:51.000Z | s = open('input.txt','r').read()
s = [k for k in s.split("\n")]
ans = 0
p = ""
q = 0
for line in s:
if line == "":
x = [0]*26
for i in p:
j = ord(i) - 97
if 0 <= j < 26:
x[j] += 1
ans += len([k for k in x if k == q])
p = ""
q = 0
... | 16.818182 | 44 | 0.332432 | 63 | 370 | 1.952381 | 0.428571 | 0.065041 | 0.081301 | 0.113821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068063 | 0.483784 | 370 | 21 | 45 | 17.619048 | 0.575916 | 0 | 0 | 0.210526 | 0 | 0 | 0.032432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
7ca6f4d3b7af9780b9532566fdca3df5f3a95c2f | 486 | py | Python | nycrime/urls.py | nearj/UOS_2019_crime_graph_analysis | 6e5b373fd78eb38e0cf2dbe4584b36fa57eed667 | [
"MIT"
] | null | null | null | nycrime/urls.py | nearj/UOS_2019_crime_graph_analysis | 6e5b373fd78eb38e0cf2dbe4584b36fa57eed667 | [
"MIT"
] | null | null | null | nycrime/urls.py | nearj/UOS_2019_crime_graph_analysis | 6e5b373fd78eb38e0cf2dbe4584b36fa57eed667 | [
"MIT"
] | null | null | null | from django.urls import path, include
from django.contrib import admin
from . import settings
from django.contrib.staticfiles.urls import static
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('interface.urls')),
pa... | 27 | 76 | 0.76749 | 57 | 486 | 6.45614 | 0.333333 | 0.108696 | 0.138587 | 0.152174 | 0.206522 | 0.206522 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117284 | 486 | 18 | 76 | 27 | 0.857809 | 0 | 0 | 0 | 0 | 0 | 0.094456 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 0.416667 | 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 | 0 | 0 | 0 | 0 | 1 |
7cb213a346afc27b725508d5fce177926ff9bfcc | 2,337 | py | Python | tests/confmeasure.py | Mic92/vmsh | 296a09102abece5df0135afb9678261d5a7b6c20 | [
"MIT"
] | 39 | 2021-02-15T17:31:32.000Z | 2022-03-26T14:31:56.000Z | tests/confmeasure.py | Mic92/vmsh | 296a09102abece5df0135afb9678261d5a7b6c20 | [
"MIT"
] | 82 | 2021-02-27T09:16:48.000Z | 2022-03-21T07:06:59.000Z | tests/confmeasure.py | Mic92/vmsh | 296a09102abece5df0135afb9678261d5a7b6c20 | [
"MIT"
] | 4 | 2021-04-02T14:37:32.000Z | 2021-10-05T14:14:10.000Z | #!/usr/bin/env python3
import contextlib
import sys
from datetime import datetime
from pathlib import Path
from typing import List, Type, Optional
import pytest
from qemu import QemuVm, VmImage, spawn_qemu
from nix import notos_image, busybox_image
from root import TEST_ROOT
from vmsh import spawn_vmsh_command, VmshP... | 27.174419 | 87 | 0.617458 | 274 | 2,337 | 5.054745 | 0.354015 | 0.051986 | 0.046209 | 0.043321 | 0.19639 | 0.170397 | 0.170397 | 0.170397 | 0.170397 | 0.170397 | 0 | 0.007679 | 0.275567 | 2,337 | 85 | 88 | 27.494118 | 0.810396 | 0.047497 | 0 | 0.149254 | 0 | 0 | 0.138676 | 0.098604 | 0 | 0 | 0 | 0.011765 | 0.014925 | 1 | 0.104478 | false | 0 | 0.149254 | 0.074627 | 0.373134 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
7cb31da25581a28eaab5f3cd1a307dcdd534ea86 | 21,940 | py | Python | protobuf-2.0.3/src/gtest/gen_gtest_pred_impl.py | BADKOD/metasyntactic | cea5408f8c575aae4f280df983f511b5fa7ed541 | [
"Apache-2.0"
] | 1 | 2016-01-02T10:37:45.000Z | 2016-01-02T10:37:45.000Z | protobuf-2.0.3/src/gtest/gen_gtest_pred_impl.py | BADKOD/metasyntactic | cea5408f8c575aae4f280df983f511b5fa7ed541 | [
"Apache-2.0"
] | 1 | 2016-12-15T12:24:46.000Z | 2016-12-15T12:24:46.000Z | protobuf-2.0.3/src/gtest/gen_gtest_pred_impl.py | BADKOD/metasyntactic | cea5408f8c575aae4f280df983f511b5fa7ed541 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python2.4
#
# Copyright 2006, Google Inc.
# 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, this list ... | 29.891008 | 75 | 0.6433 | 3,032 | 21,940 | 4.556728 | 0.164248 | 0.004632 | 0.01035 | 0.007093 | 0.487768 | 0.42914 | 0.397148 | 0.375434 | 0.352345 | 0.343732 | 0 | 0.005241 | 0.22598 | 21,940 | 733 | 76 | 29.931787 | 0.808326 | 0.093209 | 0 | 0.267267 | 0 | 0 | 0.474016 | 0.111456 | 0.003003 | 0 | 0 | 0 | 0.108108 | 0 | null | null | 0 | 0.009009 | null | null | 0.015015 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
7cb648fe3492a7e70e8b3d461f1e15ff96178075 | 1,264 | py | Python | lib/servo_process.py | mlensment/rebot | 427ff3e3ac2a230a87f2c7237c2fc34815df4629 | [
"MIT"
] | null | null | null | lib/servo_process.py | mlensment/rebot | 427ff3e3ac2a230a87f2c7237c2fc34815df4629 | [
"MIT"
] | null | null | null | lib/servo_process.py | mlensment/rebot | 427ff3e3ac2a230a87f2c7237c2fc34815df4629 | [
"MIT"
] | null | null | null | from multiprocessing import Process, Value
import os
import config
import servo
import signal
class ServoProcess(Process):
def __init__(self):
print '----> Checking servo driver...'
if not os.path.exists('/dev/servoblaster'):
raise Exception('Servo driver was not found. Is servoblaster ... | 30.095238 | 88 | 0.571203 | 140 | 1,264 | 5.007143 | 0.464286 | 0.051355 | 0.045649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009379 | 0.325158 | 1,264 | 41 | 89 | 30.829268 | 0.812427 | 0.026108 | 0 | 0 | 0 | 0 | 0.164361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.029412 | 0.147059 | null | null | 0.117647 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
7cb64eae77ac0d8b8cfffac51b97cadc82461505 | 8,305 | py | Python | cm/app/api_v1/calculation_module.py | HotMaps/excess_heat_cm | 3c022c1fdfb4b85e9cdc55adcb7dbb112d303289 | [
"Apache-2.0"
] | null | null | null | cm/app/api_v1/calculation_module.py | HotMaps/excess_heat_cm | 3c022c1fdfb4b85e9cdc55adcb7dbb112d303289 | [
"Apache-2.0"
] | 3 | 2021-02-08T10:57:59.000Z | 2022-03-08T21:23:16.000Z | cm/app/api_v1/calculation_module.py | HotMaps/excess_heat_cm | 3c022c1fdfb4b85e9cdc55adcb7dbb112d303289 | [
"Apache-2.0"
] | null | null | null | import os
import sys
import pandas as pd
path = os.path.dirname(os.path.abspath(__file__))
from ..constant import CM_NAME
from ..helper import generate_output_file_tif, create_zip_shapefiles, generate_output_file_shp, generate_output_file_csv
""" Entry point of the calculation module function"""
if path not in sys.pa... | 56.496599 | 120 | 0.612763 | 874 | 8,305 | 5.540046 | 0.244851 | 0.061958 | 0.099133 | 0.040479 | 0.422966 | 0.265799 | 0.198678 | 0.116068 | 0.099959 | 0.078067 | 0 | 0.017143 | 0.262492 | 8,305 | 146 | 121 | 56.883562 | 0.773388 | 0.147261 | 0 | 0.085106 | 1 | 0 | 0.232022 | 0.017187 | 0 | 0 | 0 | 0.006849 | 0 | 1 | 0.021277 | false | 0 | 0.06383 | 0 | 0.12766 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
7cba9e35579f19f7ac266d2416fe84baafdd09cd | 712 | py | Python | facebook_example/userena_settings.py | devhub/Django-facebook | fec1b5dbd37f7840ee325f372ecf8754ce265c2a | [
"BSD-3-Clause"
] | null | null | null | facebook_example/userena_settings.py | devhub/Django-facebook | fec1b5dbd37f7840ee325f372ecf8754ce265c2a | [
"BSD-3-Clause"
] | null | null | null | facebook_example/userena_settings.py | devhub/Django-facebook | fec1b5dbd37f7840ee325f372ecf8754ce265c2a | [
"BSD-3-Clause"
] | null | null | null | from facebook_example.settings import *
MODE = 'userena'
FACEBOOK_REGISTRATION_BACKEND = 'django_facebook.registration_backends.UserenaBackend'
'''
Settings based on these docs
http://docs.django-userena.org/en/latest/installation.html#installing-django-userena
'''
AUTHENTICATION_BACKENDS = (
'django_facebook.... | 22.25 | 86 | 0.768258 | 77 | 712 | 6.896104 | 0.649351 | 0.062147 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001572 | 0.106742 | 712 | 31 | 87 | 22.967742 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.520339 | 0.423729 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
7cbb7eff631e41270ea8fad1edeca126b29ab368 | 196 | py | Python | python/ABC/174/a.py | KATO-Hiro/atcoder-1 | c2cbfcfd5c3d46ac9810ba330a37d437aa2839c2 | [
"MIT"
] | null | null | null | python/ABC/174/a.py | KATO-Hiro/atcoder-1 | c2cbfcfd5c3d46ac9810ba330a37d437aa2839c2 | [
"MIT"
] | null | null | null | python/ABC/174/a.py | KATO-Hiro/atcoder-1 | c2cbfcfd5c3d46ac9810ba330a37d437aa2839c2 | [
"MIT"
] | null | null | null | import sys
input = sys.stdin.readline
def main():
X = int(input())
if X >= 30:
ans = "Yes"
else:
ans = "No"
print(ans)
if __name__ == "__main__":
main()
| 10.315789 | 26 | 0.489796 | 25 | 196 | 3.52 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.357143 | 196 | 18 | 27 | 10.888889 | 0.68254 | 0 | 0 | 0 | 0 | 0 | 0.066327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.090909 | 0 | 0.181818 | 0.090909 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
7cbb82bf5e7fae2109c8079c92372576f30ce63e | 1,832 | py | Python | examples/gnmf_lastfm.py | amirsh/MorpheusPy | 8eda959e71a3b377c3f6629802bad2bd4f5a5ee6 | [
"Apache-2.0"
] | 12 | 2018-10-04T08:27:33.000Z | 2022-01-11T15:41:29.000Z | examples/gnmf_lastfm.py | amirsh/MorpheusPy | 8eda959e71a3b377c3f6629802bad2bd4f5a5ee6 | [
"Apache-2.0"
] | 3 | 2020-09-22T16:18:51.000Z | 2021-12-28T19:01:00.000Z | examples/gnmf_lastfm.py | amirsh/MorpheusPy | 8eda959e71a3b377c3f6629802bad2bd4f5a5ee6 | [
"Apache-2.0"
] | 4 | 2019-12-13T17:52:19.000Z | 2021-12-17T12:43:44.000Z | # Copyright 2018 Side Li and Arun Kumar
# 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 writ... | 31.050847 | 81 | 0.737445 | 302 | 1,832 | 4.39404 | 0.427152 | 0.045215 | 0.027129 | 0.049736 | 0.128109 | 0.128109 | 0.058779 | 0.058779 | 0.058779 | 0.058779 | 0 | 0.02024 | 0.137009 | 1,832 | 58 | 82 | 31.586207 | 0.819102 | 0.305131 | 0 | 0.114286 | 0 | 0 | 0.204437 | 0.097464 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.171429 | null | null | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
7cbdd60371686980de194ba052508e3051312181 | 2,453 | py | Python | recipes/Python/576556_Generating_random_numbers_arbitrary/recipe-576556.py | tdiprima/code | 61a74f5f93da087d27c70b2efe779ac6bd2a3b4f | [
"MIT"
] | 2,023 | 2017-07-29T09:34:46.000Z | 2022-03-24T08:00:45.000Z | recipes/Python/576556_Generating_random_numbers_arbitrary/recipe-576556.py | unhacker/code | 73b09edc1b9850c557a79296655f140ce5e853db | [
"MIT"
] | 32 | 2017-09-02T17:20:08.000Z | 2022-02-11T17:49:37.000Z | recipes/Python/576556_Generating_random_numbers_arbitrary/recipe-576556.py | unhacker/code | 73b09edc1b9850c557a79296655f140ce5e853db | [
"MIT"
] | 780 | 2017-07-28T19:23:28.000Z | 2022-03-25T20:39:41.000Z | import pylab
import numpy
class GeneralRandom:
"""This class enables us to generate random numbers with an arbitrary
distribution."""
def __init__(self, x = pylab.arange(-1.0, 1.0, .01), p = None, Nrl = 1000):
"""Initialize the lookup table (with default values if necessary)
Inputs:
x = random nu... | 32.276316 | 158 | 0.60212 | 382 | 2,453 | 3.803665 | 0.290576 | 0.041294 | 0.024088 | 0.035788 | 0.100482 | 0.028906 | 0 | 0 | 0 | 0 | 0 | 0.034122 | 0.259274 | 2,453 | 75 | 159 | 32.706667 | 0.765548 | 0.2287 | 0 | 0 | 1 | 0 | 0.000548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106383 | false | 0 | 0.042553 | 0 | 0.191489 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
7cbf2b432407c1d0c3098c94ad6a0bd2bce6c6ff | 1,297 | py | Python | app/board/handlers/figure.py | CodeSopranos/SopranosWeb | ec4a719d8ebc4d585e284852f80ee53ce8adae30 | [
"MIT"
] | null | null | null | app/board/handlers/figure.py | CodeSopranos/SopranosWeb | ec4a719d8ebc4d585e284852f80ee53ce8adae30 | [
"MIT"
] | 3 | 2020-06-16T20:55:19.000Z | 2020-06-16T21:23:37.000Z | app/board/handlers/figure.py | CodeSopranos/SopranosWeb | ec4a719d8ebc4d585e284852f80ee53ce8adae30 | [
"MIT"
] | null | null | null | from django.urls import reverse
from django.http import HttpResponse, HttpResponseRedirect
from django.contrib.auth import login, logout, authenticate
from django.contrib.auth.forms import UserCreationForm
from django.contrib.auth.decorators import login_required
from django.shortcuts import render, redirect, get_obj... | 39.30303 | 102 | 0.744025 | 157 | 1,297 | 5.961783 | 0.407643 | 0.074786 | 0.07265 | 0.089744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007387 | 0.164996 | 1,297 | 32 | 103 | 40.53125 | 0.856879 | 0 | 0 | 0 | 0 | 0 | 0.082498 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.346154 | 0 | 0.461538 | 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 | 0 | 0 | 0 | 0 | 1 |
7cc079ba0d5962b151bf17eb5ed9b413dc5d76a6 | 454 | py | Python | poetry/console/commands/develop.py | maggyero/poetry | 3c7592c2f3d481f5e655a68fc1fa15c5bc024cda | [
"MIT"
] | 2 | 2019-06-19T15:07:58.000Z | 2019-11-24T14:08:55.000Z | poetry/console/commands/develop.py | djetelina/poetry | 1aa1ab2962bb8b6aed33c2308cf8352809d91685 | [
"MIT"
] | 1 | 2021-02-15T17:05:58.000Z | 2021-02-15T17:05:58.000Z | poetry/console/commands/develop.py | djetelina/poetry | 1aa1ab2962bb8b6aed33c2308cf8352809d91685 | [
"MIT"
] | 1 | 2019-06-19T15:08:05.000Z | 2019-06-19T15:08:05.000Z | from .env_command import EnvCommand
class DevelopCommand(EnvCommand):
"""
Installs the current project in development mode. (<error>Deprecated</error>)
develop
"""
help = """\
The <info>develop</> command is deprecated. Please use <info>install</info> instead.
"""
def handle(self):
... | 22.7 | 84 | 0.654185 | 51 | 454 | 5.803922 | 0.607843 | 0.081081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209251 | 454 | 19 | 85 | 23.894737 | 0.824513 | 0.189427 | 0 | 0 | 0 | 0.111111 | 0.445402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
7cd1bada2897140c4562922e3368e2bb70f12d55 | 8,563 | py | Python | hvorg_style.py | wafels/hv-analysis | 7eed4735a8a64cbeb9660cd49211874d4af057a2 | [
"BSD-3-Clause"
] | null | null | null | hvorg_style.py | wafels/hv-analysis | 7eed4735a8a64cbeb9660cd49211874d4af057a2 | [
"BSD-3-Clause"
] | 1 | 2018-05-03T21:03:48.000Z | 2018-05-16T14:39:05.000Z | hvorg_style.py | wafels/hv-analysis | 7eed4735a8a64cbeb9660cd49211874d4af057a2 | [
"BSD-3-Clause"
] | null | null | null | #
# Styles and constants used in the HV analysis
#
import re
import os
from copy import deepcopy
from collections import OrderedDict
import astropy.units as u
# Where to save the images
img = os.path.expanduser('~/hvp/hv-analysis/img')
imgfiletype = 'png'
# Times we are interested in
d = {1*u.hour: {"linestyle": "dot... | 48.931429 | 115 | 0.326755 | 659 | 8,563 | 4.179059 | 0.306525 | 0.034858 | 0.026144 | 0.04321 | 0.339143 | 0.248729 | 0.248729 | 0.248729 | 0.248729 | 0.248729 | 0 | 0.089313 | 0.534509 | 8,563 | 174 | 116 | 49.212644 | 0.601606 | 0.041691 | 0 | 0.291971 | 0 | 0.007299 | 0.24295 | 0.016482 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043796 | false | 0 | 0.036496 | 0.036496 | 0.124088 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 |
7cda0f0477b73da35c7cbcb5f96c3290d1e2152c | 1,201 | py | Python | backend/mentoring/models.py | osamhack2021/web_Guntor-Guntee_EarlyFried | 69ad93b88e4e3d9c21af690d85b8f2e1494ad6f0 | [
"MIT"
] | 4 | 2021-09-11T14:38:11.000Z | 2022-01-27T05:46:13.000Z | backend/mentoring/models.py | osamhack2021/web_ArmyMentoring_TeamName | 69ad93b88e4e3d9c21af690d85b8f2e1494ad6f0 | [
"MIT"
] | 62 | 2021-09-25T13:32:25.000Z | 2021-10-20T13:48:25.000Z | backend/mentoring/models.py | osamhack2021/web_Guntor-Guntee_EarlyFried | 69ad93b88e4e3d9c21af690d85b8f2e1494ad6f0 | [
"MIT"
] | 2 | 2021-09-18T11:31:39.000Z | 2022-02-22T17:11:58.000Z | from django.db import models
from core.models import AbstractTimeStampModel
from users.models import User
from portfolio.models import Portfolio
from tags.models import Tag
class Mentoring(AbstractTimeStampModel):
mentor=models.ForeignKey(User, related_name='opened_mentoring', on_delete=models.CASCADE)
mentee... | 37.53125 | 96 | 0.784346 | 143 | 1,201 | 6.440559 | 0.370629 | 0.058632 | 0.045603 | 0.068404 | 0.193268 | 0.123779 | 0 | 0 | 0 | 0 | 0 | 0.005676 | 0.1199 | 1,201 | 31 | 97 | 38.741935 | 0.865658 | 0 | 0 | 0.230769 | 0 | 0 | 0.040799 | 0.018318 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.038462 | 0.192308 | 0.076923 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
7cde1639de51c9e11f14b5339dab71aa34f21e88 | 2,747 | py | Python | docs/conf.py | rusticpenguin/opensphere | 17536d4f403fc4377049d34af4813437382b69f8 | [
"Apache-2.0"
] | null | null | null | docs/conf.py | rusticpenguin/opensphere | 17536d4f403fc4377049d34af4813437382b69f8 | [
"Apache-2.0"
] | null | null | null | docs/conf.py | rusticpenguin/opensphere | 17536d4f403fc4377049d34af4813437382b69f8 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# OpenSphere documentation build configuration file, created by
# sphinx-quickstart on Mon Jan 22 13:37:02 2018.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
... | 30.186813 | 79 | 0.67783 | 360 | 2,747 | 5.083333 | 0.513889 | 0.019672 | 0.030601 | 0.018579 | 0.080874 | 0.029508 | 0 | 0 | 0 | 0 | 0 | 0.009032 | 0.153622 | 2,747 | 90 | 80 | 30.522222 | 0.778065 | 0.681471 | 0 | 0 | 0 | 0 | 0.3213 | 0 | 0 | 0 | 0 | 0.011111 | 0 | 1 | 0.038462 | false | 0 | 0.038462 | 0 | 0.076923 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
7ce2473012929c047f1d6c3bae4b6966969b58b2 | 2,857 | py | Python | clarity-ext-scripts/clarity_ext_scripts/covid/services/knm_service.py | ctmrbio/claritylims | e4f193e9cd3aa54b2a1974a2ce5b573c397a88eb | [
"MIT"
] | 4 | 2020-04-13T14:52:33.000Z | 2022-02-03T14:50:41.000Z | clarity-ext-scripts/clarity_ext_scripts/covid/services/knm_service.py | ctmrbio/claritylims | e4f193e9cd3aa54b2a1974a2ce5b573c397a88eb | [
"MIT"
] | 104 | 2019-04-01T08:35:59.000Z | 2021-05-04T11:53:00.000Z | clarity-ext-scripts/clarity_ext_scripts/covid/services/knm_service.py | ctmrbio/claritylims | e4f193e9cd3aa54b2a1974a2ce5b573c397a88eb | [
"MIT"
] | 4 | 2020-04-02T07:06:41.000Z | 2021-08-20T06:42:27.000Z | from clarity_ext_scripts.covid.partner_api_client import PartnerAPIV7Client
from clarity_ext.utils import lazyprop
class NoSupportedCountyCodeFound(Exception):
pass
class KNMService(object):
NoSupportedCountyCodeFound = NoSupportedCountyCodeFound
def __init__(self, config):
self.config = KNMCon... | 30.72043 | 91 | 0.695135 | 337 | 2,857 | 5.652819 | 0.341246 | 0.062992 | 0.070866 | 0.027297 | 0.148032 | 0.114436 | 0.08294 | 0.052493 | 0.052493 | 0.052493 | 0 | 0.001365 | 0.230662 | 2,857 | 92 | 92 | 31.054348 | 0.865332 | 0.252013 | 0 | 0.137255 | 0 | 0 | 0.073638 | 0.036819 | 0 | 0 | 0 | 0 | 0 | 1 | 0.215686 | false | 0.039216 | 0.039216 | 0.078431 | 0.490196 | 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 | 0 | 0 | 0 | 0 | 1 |
7ce25f7d6311a2f98713caade3316d1d3ef27655 | 10,164 | py | Python | scripts/generate_ssl_debug_helpers.py | warmsocks/mbedtls | 2b9aa6644052582faa178dcd20945d8d65dba010 | [
"Apache-2.0"
] | null | null | null | scripts/generate_ssl_debug_helpers.py | warmsocks/mbedtls | 2b9aa6644052582faa178dcd20945d8d65dba010 | [
"Apache-2.0"
] | null | null | null | scripts/generate_ssl_debug_helpers.py | warmsocks/mbedtls | 2b9aa6644052582faa178dcd20945d8d65dba010 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
"""Generate library/ssl_debug_helps_generated.c
The code generated by this module includes debug helper functions that can not be
implemented by fixed codes.
"""
# Copyright The Mbed TLS Contributors
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the... | 31.467492 | 93 | 0.569461 | 1,132 | 10,164 | 4.961131 | 0.2447 | 0.021368 | 0.016026 | 0.011396 | 0.254986 | 0.220798 | 0.190527 | 0.190527 | 0.190527 | 0.190527 | 0 | 0.003042 | 0.32074 | 10,164 | 322 | 94 | 31.565217 | 0.8104 | 0.165584 | 0 | 0.125628 | 1 | 0.005025 | 0.25776 | 0.036315 | 0 | 0 | 0 | 0 | 0.025126 | 1 | 0.060302 | false | 0.005025 | 0.030151 | 0.015075 | 0.150754 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
7ce3edae5641b667179f5b9c471b7c4f6f38c231 | 415 | py | Python | arfi/migrations/0003_add_details.py | alsoncahyadi/orange | 6376ad09302cdce613d314ec5b71c66018114650 | [
"MIT"
] | null | null | null | arfi/migrations/0003_add_details.py | alsoncahyadi/orange | 6376ad09302cdce613d314ec5b71c66018114650 | [
"MIT"
] | 8 | 2018-12-30T08:56:15.000Z | 2021-06-10T21:02:41.000Z | arfi/migrations/0003_add_details.py | alsoncahyadi/orange | 6376ad09302cdce613d314ec5b71c66018114650 | [
"MIT"
] | null | null | null | # Generated by Django 2.1.4 on 2018-12-11 17:05
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('arfi', '0002_add_expenditure'),
]
operations = [
migrations.AddField(
model_name='item',
name='name',
fi... | 21.842105 | 91 | 0.6 | 46 | 415 | 5.304348 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07309 | 0.274699 | 415 | 18 | 92 | 23.055556 | 0.737542 | 0.108434 | 0 | 0 | 1 | 0 | 0.116848 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
7ce7e767ee0b52e74267192cf9d51791bdbd1b8a | 1,191 | py | Python | hmwk/0/3.py | ForrestHurley/compPhys | 34c2d93b77858150a1c099deff812d961ab6378d | [
"MIT"
] | null | null | null | hmwk/0/3.py | ForrestHurley/compPhys | 34c2d93b77858150a1c099deff812d961ab6378d | [
"MIT"
] | null | null | null | hmwk/0/3.py | ForrestHurley/compPhys | 34c2d93b77858150a1c099deff812d961ab6378d | [
"MIT"
] | null | null | null | import numpy as np
from scipy.spatial.distance import pdist, squareform
from itertools import permutations
import matplotlib.pyplot as plt
def generate_points(num = 7):
return np.random.rand(num, 2) #technically this is [0,1) rather than (0,1)
def calculate_distance_matrix(point_array):
return squareform(#Not str... | 28.357143 | 99 | 0.725441 | 174 | 1,191 | 4.775862 | 0.442529 | 0.084236 | 0.040915 | 0.043321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013834 | 0.150294 | 1,191 | 41 | 100 | 29.04878 | 0.807312 | 0.101595 | 0 | 0 | 1 | 0 | 0.053371 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.133333 | 0.1 | 0.4 | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
7cecb4447c3e8a5ac302ba94576d151524b54497 | 65,883 | py | Python | st2client/st2client/commands/action.py | magiceses/st2 | a048ba92a8a1a5d272f277bf8fab0951df903306 | [
"Apache-2.0"
] | null | null | null | st2client/st2client/commands/action.py | magiceses/st2 | a048ba92a8a1a5d272f277bf8fab0951df903306 | [
"Apache-2.0"
] | 2 | 2020-03-04T08:33:36.000Z | 2020-03-04T08:34:14.000Z | st2client/st2client/commands/action.py | magiceses/st2 | a048ba92a8a1a5d272f277bf8fab0951df903306 | [
"Apache-2.0"
] | null | null | null | # Licensed to the StackStorm, Inc ('StackStorm') under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use th... | 42.753407 | 99 | 0.569039 | 6,900 | 65,883 | 5.243043 | 0.119565 | 0.013545 | 0.01114 | 0.017414 | 0.37065 | 0.323769 | 0.285568 | 0.265141 | 0.247671 | 0.232993 | 0 | 0.002394 | 0.34068 | 65,883 | 1,540 | 100 | 42.781169 | 0.830448 | 0.087306 | 0 | 0.32964 | 0 | 0 | 0.129788 | 0.003227 | 0 | 0 | 0 | 0.000649 | 0 | 0 | null | null | 0.006464 | 0.021237 | null | null | 0.053555 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
7cf273411bf57461c8d0d853ca0b660d111c4b0a | 1,106 | py | Python | tasks/EPAM/python_course/foundation-python/l2/m2-5.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | 2 | 2022-01-19T18:01:35.000Z | 2022-02-06T06:54:38.000Z | tasks/EPAM/python_course/foundation-python/l2/m2-5.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | null | null | null | tasks/EPAM/python_course/foundation-python/l2/m2-5.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | null | null | null | #1) Indexing lists and tuples
list_values = [1, 2, 3]
set_values = (10, 20, 30)
print(list_values[0])
print(set_values[0])
#2) Changing values: lists vs tuples
list_values = [1, 2, 3]
set_values = (10, 20, 30)
list_values[0] = 100
print(list_values)
set_values[0] = 100
#3) Tuple vs List Expanding
list_values = ... | 14.363636 | 40 | 0.689873 | 186 | 1,106 | 4.010753 | 0.247312 | 0.131367 | 0.042895 | 0.048257 | 0.327078 | 0.327078 | 0.327078 | 0.297587 | 0.209115 | 0.209115 | 0 | 0.067236 | 0.152803 | 1,106 | 77 | 41 | 14.363636 | 0.728922 | 0.174503 | 0 | 0.468085 | 0 | 0 | 0.045154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.574468 | 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 | 0 | 0 | 0 | 1 | 0 | 1 |
7cf368aa898b9244e35f2ff6918cca4c21dc03e1 | 4,858 | py | Python | verify.py | tgphelps/bj-python | 0ef579bc7ab954b9bad5e2f5c061cda89aaf58bf | [
"MIT"
] | null | null | null | verify.py | tgphelps/bj-python | 0ef579bc7ab954b9bad5e2f5c061cda89aaf58bf | [
"MIT"
] | null | null | null | verify.py | tgphelps/bj-python | 0ef579bc7ab954b9bad5e2f5c061cda89aaf58bf | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""
This reads a log file and verifies that all the 'action' entries are
corrent. And action entry looks like:
act: key value up-card action
"""
act_line = ''
def main():
global act_line
with open('trace.txt', 'rt') as fd:
for line in fd:
line = line.rstrip()
... | 37.658915 | 78 | 0.460889 | 826 | 4,858 | 2.681598 | 0.110169 | 0.132731 | 0.079458 | 0.054176 | 0.758916 | 0.666817 | 0.593228 | 0.510158 | 0.443341 | 0.223476 | 0 | 0.077308 | 0.342322 | 4,858 | 128 | 79 | 37.953125 | 0.615962 | 0.040346 | 0 | 0.128713 | 0 | 0 | 0.092628 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 1 | 0.079208 | false | 0.059406 | 0 | 0 | 0.079208 | 0.019802 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
7cf49c2ae0259c82940a0cc6958d4ca5ba85435f | 908 | py | Python | web_applications/social_network/account/signals.py | Had96dad/Python | 9b5cdf0a18fdb195abb8ed9861ff471d6dacde1b | [
"MIT"
] | null | null | null | web_applications/social_network/account/signals.py | Had96dad/Python | 9b5cdf0a18fdb195abb8ed9861ff471d6dacde1b | [
"MIT"
] | null | null | null | web_applications/social_network/account/signals.py | Had96dad/Python | 9b5cdf0a18fdb195abb8ed9861ff471d6dacde1b | [
"MIT"
] | null | null | null | from django.dispatch import receiver
from django.db.models.signals import post_delete
from django.db.models.signals import post_save, pre_save
from rest_framework.authtoken.models import Token
from .models import *
def gender_create(sender, instance, **kwargs):
instance.type = instance.type.lower()
pre_save.c... | 25.942857 | 70 | 0.763216 | 126 | 908 | 5.373016 | 0.349206 | 0.070901 | 0.088626 | 0.053176 | 0.20384 | 0.103397 | 0.103397 | 0 | 0 | 0 | 0 | 0 | 0.132159 | 908 | 34 | 71 | 26.705882 | 0.859137 | 0.069383 | 0 | 0 | 0 | 0 | 0.027284 | 0.027284 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.263158 | 0 | 0.473684 | 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 | 0 | 0 | 0 | 0 | 1 |
6b004777333f757a9f671cd7d4861b9d849af3bb | 1,258 | py | Python | l5kit/setup.py | pondruska/l5kit | 7bf4936fe7f1e9825b90d34d6c5619c7d5122d05 | [
"Apache-2.0"
] | null | null | null | l5kit/setup.py | pondruska/l5kit | 7bf4936fe7f1e9825b90d34d6c5619c7d5122d05 | [
"Apache-2.0"
] | null | null | null | l5kit/setup.py | pondruska/l5kit | 7bf4936fe7f1e9825b90d34d6c5619c7d5122d05 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from setuptools import find_packages, setup
from l5kit import __version__
setup(
name="l5kit",
version=__version__,
description="Lyft Autonomous Vehicle Research library",
author="Lyft Level 5",
author_email="l5kit@lyft.com",
url="https://github.com/lyft/l5kit",
licen... | 27.347826 | 89 | 0.538156 | 125 | 1,258 | 5.312 | 0.68 | 0.045181 | 0.045181 | 0.078313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038631 | 0.279809 | 1,258 | 45 | 90 | 27.955556 | 0.69426 | 0.015898 | 0 | 0.047619 | 0 | 0 | 0.438965 | 0.044462 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.047619 | 0 | 0.047619 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
6b0133dd75fc4a70b98104567f30fc13aee4a504 | 953 | py | Python | var/spack/repos/builtin/packages/linux-headers/package.py | adrianjhpc/spack | 0a9e4fcee57911f2db586aa50c8873d9cca8de92 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 2 | 2020-10-15T01:08:42.000Z | 2021-10-18T01:28:18.000Z | var/spack/repos/builtin/packages/linux-headers/package.py | adrianjhpc/spack | 0a9e4fcee57911f2db586aa50c8873d9cca8de92 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 2 | 2019-07-30T10:12:28.000Z | 2019-12-17T09:02:27.000Z | var/spack/repos/builtin/packages/linux-headers/package.py | adrianjhpc/spack | 0a9e4fcee57911f2db586aa50c8873d9cca8de92 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 5 | 2019-07-30T09:42:14.000Z | 2021-01-25T05:39:20.000Z | # Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class LinuxHeaders(Package):
"""The Linux kernel headers."""
homepage = "https://www.kernel... | 35.296296 | 96 | 0.697796 | 133 | 953 | 4.932331 | 0.661654 | 0.050305 | 0.064024 | 0.077744 | 0.103659 | 0.103659 | 0.103659 | 0.103659 | 0 | 0 | 0 | 0.085161 | 0.186779 | 953 | 26 | 97 | 36.653846 | 0.76129 | 0.377754 | 0 | 0 | 0 | 0.090909 | 0.404475 | 0.110155 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.090909 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
6b054c07b0b3df1991fb05a34e3808975cedd83d | 4,414 | py | Python | aether-couchdb-sync-module/aether/sync/api/tests/test_credentials.py | lordmallam/aether | 7ceb71d2ef8b09d704d94dfcb243dbbdf8356135 | [
"Apache-2.0"
] | null | null | null | aether-couchdb-sync-module/aether/sync/api/tests/test_credentials.py | lordmallam/aether | 7ceb71d2ef8b09d704d94dfcb243dbbdf8356135 | [
"Apache-2.0"
] | null | null | null | aether-couchdb-sync-module/aether/sync/api/tests/test_credentials.py | lordmallam/aether | 7ceb71d2ef8b09d704d94dfcb243dbbdf8356135 | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2018 by eHealth Africa : http://www.eHealthAfrica.org
#
# See the NOTICE file distributed with this work for additional information
# regarding copyright ownership.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with
# the License. Y... | 37.092437 | 78 | 0.691889 | 600 | 4,414 | 4.805 | 0.221667 | 0.066597 | 0.033299 | 0.031564 | 0.507111 | 0.493583 | 0.423864 | 0.385016 | 0.360735 | 0.337149 | 0 | 0.016939 | 0.21092 | 4,414 | 118 | 79 | 37.40678 | 0.810795 | 0.172406 | 0 | 0.5 | 0 | 0 | 0.100496 | 0.045705 | 0 | 0 | 0 | 0 | 0.202703 | 1 | 0.108108 | false | 0.162162 | 0.040541 | 0 | 0.162162 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
6b0f88c324481ea198d0d2e0079e81b0a8c3c489 | 11,599 | py | Python | rnntutor/lib/python2.7/site-packages/theano/gof/utils.py | lucaskingjade/RNNTutorial | b641e50014b56bb8e0f8762c76f1178a9a7c911f | [
"Apache-2.0"
] | null | null | null | rnntutor/lib/python2.7/site-packages/theano/gof/utils.py | lucaskingjade/RNNTutorial | b641e50014b56bb8e0f8762c76f1178a9a7c911f | [
"Apache-2.0"
] | null | null | null | rnntutor/lib/python2.7/site-packages/theano/gof/utils.py | lucaskingjade/RNNTutorial | b641e50014b56bb8e0f8762c76f1178a9a7c911f | [
"Apache-2.0"
] | null | null | null | import linecache
import traceback
import re
import sys
from theano import config
def simple_extract_stack(f=None, limit=None):
"""This is traceback.extract_stack from python 2.7 with this
change:
- Comment the update of the cache
This is because this update cause an call to os.stat to get the
l... | 26.974419 | 79 | 0.567376 | 1,522 | 11,599 | 4.160972 | 0.245072 | 0.013895 | 0.005685 | 0.008685 | 0.158535 | 0.145745 | 0.135007 | 0.12427 | 0.114322 | 0.114322 | 0 | 0.012184 | 0.327787 | 11,599 | 429 | 80 | 27.037296 | 0.800051 | 0.085611 | 0 | 0.240157 | 0 | 0 | 0.06621 | 0.005808 | 0 | 0 | 0 | 0.002331 | 0 | 0 | null | null | 0.003937 | 0.019685 | null | null | 0.023622 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
6b1b41beaef6bf2f653e665d99c4f0def8b821a9 | 3,193 | py | Python | Graph algorithms/18_check_and_bishop.py | Szymon-Budziak/ASD_exercises_solutions | 36ccbdae03a6c7e4ad141a2b7b01bef9353574ee | [
"MIT"
] | 7 | 2021-12-28T23:38:42.000Z | 2022-03-29T16:36:16.000Z | Graph algorithms/18_check_and_bishop.py | Szymon-Budziak/ASD_exercises_solutions | 36ccbdae03a6c7e4ad141a2b7b01bef9353574ee | [
"MIT"
] | null | null | null | Graph algorithms/18_check_and_bishop.py | Szymon-Budziak/ASD_exercises_solutions | 36ccbdae03a6c7e4ad141a2b7b01bef9353574ee | [
"MIT"
] | 4 | 2021-06-29T20:21:52.000Z | 2022-03-12T10:04:17.000Z | # Algocia is placed on a great dessert and consists of cities and oases connected by roads. There is
# exactly one road leading from each gate to one oasis (but any given oasis can have any number of roads
# leading to them, oases can also be interconnected by roads). Algocian law requires that if someone
# enters a ci... | 46.275362 | 112 | 0.591293 | 511 | 3,193 | 3.585127 | 0.234834 | 0.242358 | 0.092249 | 0.042031 | 0.433406 | 0.376638 | 0.314956 | 0.267467 | 0.169214 | 0.169214 | 0 | 0.032751 | 0.282806 | 3,193 | 68 | 113 | 46.955882 | 0.767249 | 0.26057 | 0 | 0.163636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018182 | false | 0 | 0 | 0 | 0.054545 | 0.018182 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
6b1c5d4e5f071c3dd695de1eae0bb91670c6f990 | 1,608 | py | Python | dace/codegen/targets/mlir/mlir.py | Walon1998/dace | 95ddfd3e9a5c654f0f0d66d026e0b64ec0f028a0 | [
"BSD-3-Clause"
] | 1 | 2022-03-11T13:36:34.000Z | 2022-03-11T13:36:34.000Z | dace/codegen/targets/mlir/mlir.py | Walon1998/dace | 95ddfd3e9a5c654f0f0d66d026e0b64ec0f028a0 | [
"BSD-3-Clause"
] | null | null | null | dace/codegen/targets/mlir/mlir.py | Walon1998/dace | 95ddfd3e9a5c654f0f0d66d026e0b64ec0f028a0 | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2019-2021 ETH Zurich and the DaCe authors. All rights reserved.
from dace import registry, dtypes
from dace.codegen.codeobject import CodeObject
from dace.codegen.targets.target import TargetCodeGenerator
from dace.codegen.targets.cpu import CPUCodeGen
from dace.sdfg import nodes
@registry.autoregister_pa... | 42.315789 | 119 | 0.722015 | 200 | 1,608 | 5.55 | 0.34 | 0.036036 | 0.040541 | 0.03964 | 0.082883 | 0.082883 | 0.082883 | 0.082883 | 0.082883 | 0 | 0 | 0.006056 | 0.178483 | 1,608 | 37 | 120 | 43.459459 | 0.834217 | 0.045398 | 0 | 0 | 0 | 0 | 0.030659 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.178571 | false | 0 | 0.178571 | 0.071429 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
6b1cf051a8fa844f4f4d335f2efc1b67336b2ea9 | 533 | py | Python | nlutestframework/types.py | emundo/nlutestframework | fcda0028b4d04557f951c0eacdaf8895d3af2e3d | [
"Apache-2.0"
] | null | null | null | nlutestframework/types.py | emundo/nlutestframework | fcda0028b4d04557f951c0eacdaf8895d3af2e3d | [
"Apache-2.0"
] | null | null | null | nlutestframework/types.py | emundo/nlutestframework | fcda0028b4d04557f951c0eacdaf8895d3af2e3d | [
"Apache-2.0"
] | null | null | null | from typing import Optional, Dict, Union, List
DataSetTitle = str
FrameworkTitle = str
Intent = Optional[str]
ConfusionMatrix = Dict[Optional[str], Dict[Optional[str], int]]
# TODO: See: https://github.com/agronholm/sphinx-autodoc-typehints/issues/91
# Some types are ignored because the mypy checker complains on recu... | 28.052632 | 79 | 0.697936 | 63 | 533 | 5.904762 | 0.650794 | 0.08871 | 0.080645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004651 | 0.193246 | 533 | 18 | 80 | 29.611111 | 0.860465 | 0.358349 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
6b1ebd6e103b530a56fbcc3d2ad466fd37438925 | 19,421 | py | Python | pygeostat/plotting/correlation_matrix_plot.py | ericbdaniels/pygeostat | 94d9cba9265945268f08302f86ce5ba1848fd601 | [
"MIT"
] | null | null | null | pygeostat/plotting/correlation_matrix_plot.py | ericbdaniels/pygeostat | 94d9cba9265945268f08302f86ce5ba1848fd601 | [
"MIT"
] | null | null | null | pygeostat/plotting/correlation_matrix_plot.py | ericbdaniels/pygeostat | 94d9cba9265945268f08302f86ce5ba1848fd601 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Generate a correlation matrix plot"""
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import absolute_import, division, print_func... | 45.270396 | 128 | 0.622985 | 2,520 | 19,421 | 4.714286 | 0.204365 | 0.032828 | 0.003535 | 0.004377 | 0.193013 | 0.147138 | 0.10202 | 0.076094 | 0.071212 | 0.059091 | 0 | 0.010869 | 0.279903 | 19,421 | 428 | 129 | 45.376168 | 0.838613 | 0.422017 | 0 | 0.187755 | 1 | 0 | 0.054834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004082 | false | 0.004082 | 0.053061 | 0 | 0.061224 | 0.004082 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
6b1fde1ab62f7e68bc02cd75f93edfa8cb7d1576 | 3,860 | py | Python | HW6_Submit/HW6_Q1.py | munir-bd/python-machine-learning-basic | b02fc22ce83895b7598bbc3aee9031684db2aa9f | [
"MIT"
] | null | null | null | HW6_Submit/HW6_Q1.py | munir-bd/python-machine-learning-basic | b02fc22ce83895b7598bbc3aee9031684db2aa9f | [
"MIT"
] | null | null | null | HW6_Submit/HW6_Q1.py | munir-bd/python-machine-learning-basic | b02fc22ce83895b7598bbc3aee9031684db2aa9f | [
"MIT"
] | null | null | null | import mnist_loader
import matplotlib.pyplot as plt
training_data, validation_data, test_data = mnist_loader.load_data_wrapper()
import network2
# For example, if the list was [2, 3, 1] then it would be a three-layer network, with the first layer
# containing 2 neurons, the second layer 3 neurons, and the third ... | 37.843137 | 334 | 0.75544 | 544 | 3,860 | 5.15625 | 0.253676 | 0.070588 | 0.025668 | 0.025668 | 0.46631 | 0.455971 | 0.455971 | 0.425312 | 0.348663 | 0.348663 | 0 | 0.069304 | 0.129016 | 3,860 | 101 | 335 | 38.217822 | 0.765021 | 0.317617 | 0 | 0.25 | 0 | 0 | 0.044188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.071429 | null | null | 0.178571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
6b25f598645e25566eea635805c8afbd175d76fb | 4,231 | py | Python | data_managers/data_manager_homer_preparsed/data_manager/homer_genome_preparse.py | supernord/tools-iuc | 9a0c41967765d120a8fc519c0c7f09cbe3a6efbe | [
"MIT"
] | 142 | 2015-03-13T18:08:34.000Z | 2022-03-30T23:52:34.000Z | data_managers/data_manager_homer_preparsed/data_manager/homer_genome_preparse.py | mtekman/tools-iuc | 95f1ae4ed1cdd56114df76d215f9e1ed549aa4c5 | [
"MIT"
] | 3,402 | 2015-01-05T18:04:20.000Z | 2022-03-30T22:09:36.000Z | data_managers/data_manager_homer_preparsed/data_manager/homer_genome_preparse.py | mtekman/tools-iuc | 95f1ae4ed1cdd56114df76d215f9e1ed549aa4c5 | [
"MIT"
] | 438 | 2015-01-07T20:33:59.000Z | 2022-03-30T04:39:18.000Z | #!/usr/bin/env python
# Dan Blankenberg for bowtie2
# Modified by Lucille Delisle for homer
from __future__ import print_function
import json
import optparse
import os
import subprocess
import sys
DEFAULT_DATA_TABLE_NAME = "homer_preparse"
def get_id_name(params, dbkey, fasta_description=None):
# TODO: ensure s... | 44.536842 | 147 | 0.691799 | 559 | 4,231 | 4.926655 | 0.252236 | 0.065359 | 0.066086 | 0.041394 | 0.302832 | 0.250545 | 0.206245 | 0.173203 | 0.087146 | 0.087146 | 0 | 0.001739 | 0.184354 | 4,231 | 94 | 148 | 45.010638 | 0.796291 | 0.049397 | 0 | 0.029412 | 0 | 0 | 0.164343 | 0 | 0 | 0 | 0 | 0.010638 | 0 | 1 | 0.058824 | false | 0 | 0.088235 | 0 | 0.176471 | 0.029412 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
6b294ce7ee0297bb497834cc568159bffd967675 | 2,303 | py | Python | backend/news/schema.py | pe2mbs/example_webapp_angular | 05122bbf6ad954ad8a14ead7a9f90ee6fff60871 | [
"MIT"
] | null | null | null | backend/news/schema.py | pe2mbs/example_webapp_angular | 05122bbf6ad954ad8a14ead7a9f90ee6fff60871 | [
"MIT"
] | 8 | 2020-12-08T07:22:58.000Z | 2022-03-02T10:32:49.000Z | backend/news/schema.py | pe2mbs/example_webapp_angular | 05122bbf6ad954ad8a14ead7a9f90ee6fff60871 | [
"MIT"
] | null | null | null | #
# Python backend and Angular frontend code generation by gencrud
# Copyright (C) 2018-2021 Marc Bertens-Nguyen m.bertens@pe2mbs.nl
#
# This library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Library General Public License GPL-2.0-only
# as published by the Free S... | 41.125 | 102 | 0.689535 | 335 | 2,303 | 4.59403 | 0.468657 | 0.032489 | 0.02729 | 0.038986 | 0.217024 | 0.150747 | 0.129305 | 0.129305 | 0.129305 | 0.05718 | 0 | 0.028571 | 0.209726 | 2,303 | 55 | 103 | 41.872727 | 0.817033 | 0.444637 | 0 | 0 | 0 | 0 | 0.108521 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.12 | 0 | 0.64 | 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 | 0 | 0 | 1 | 0 | 0 | 1 |
6b35937d91a91406e08ab2c2fa89144398e633cc | 2,678 | py | Python | Chart.py | mrozekma/Sprint | 0bf531d2f16a7bc5b56dbc8c6eae5dc9e251b2f1 | [
"MIT"
] | 2 | 2015-03-18T13:58:46.000Z | 2020-04-10T14:54:56.000Z | Chart.py | mrozekma/Sprint | 0bf531d2f16a7bc5b56dbc8c6eae5dc9e251b2f1 | [
"MIT"
] | 20 | 2015-01-16T18:46:53.000Z | 2016-02-18T22:01:00.000Z | Chart.py | mrozekma/Sprint | 0bf531d2f16a7bc5b56dbc8c6eae5dc9e251b2f1 | [
"MIT"
] | 2 | 2015-08-24T15:39:20.000Z | 2016-01-03T06:03:13.000Z | from json import dumps as toJS, loads as fromJS
import re
class Index(object):
def __init__(self, name, chartOrParent):
self._name = name
if isinstance(chartOrParent, Index):
self._parent = chartOrParent
self._chart = self._parent._chart
else:
self._parent = None
self._chart = chartOrParent
def ge... | 24.568807 | 143 | 0.654593 | 379 | 2,678 | 4.345646 | 0.253298 | 0.051609 | 0.032787 | 0.031573 | 0.436551 | 0.394657 | 0.394657 | 0.394657 | 0.394657 | 0.394657 | 0 | 0.001815 | 0.176998 | 2,678 | 108 | 144 | 24.796296 | 0.745463 | 0.057506 | 0 | 0.375 | 0 | 0 | 0.08687 | 0.02023 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.022727 | 0.022727 | null | null | 0.113636 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
6b3a063a0de04f3ad34e2df0743dc7bac09f7a56 | 5,148 | py | Python | tests/parsers/winreg_plugins/timezone.py | Defense-Cyber-Crime-Center/plaso | 4f3a85fbea10637c1cdbf0cde9fc539fdcea9c47 | [
"Apache-2.0"
] | 2 | 2016-02-18T12:46:29.000Z | 2022-03-13T03:04:59.000Z | tests/parsers/winreg_plugins/timezone.py | Defense-Cyber-Crime-Center/plaso | 4f3a85fbea10637c1cdbf0cde9fc539fdcea9c47 | [
"Apache-2.0"
] | null | null | null | tests/parsers/winreg_plugins/timezone.py | Defense-Cyber-Crime-Center/plaso | 4f3a85fbea10637c1cdbf0cde9fc539fdcea9c47 | [
"Apache-2.0"
] | 6 | 2016-12-18T08:05:36.000Z | 2021-04-06T14:19:11.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""Tests for the timezone Windows Registry plugin."""
import unittest
from plaso.dfwinreg import definitions as dfwinreg_definitions
from plaso.formatters import winreg as _ # pylint: disable=unused-import
from plaso.lib import timelib
from plaso.parsers.winreg_plugins impor... | 35.75 | 79 | 0.702214 | 640 | 5,148 | 5.407813 | 0.225 | 0.041606 | 0.046807 | 0.048541 | 0.715111 | 0.715111 | 0.671193 | 0.616296 | 0.616296 | 0.575845 | 0 | 0.049359 | 0.18143 | 5,148 | 143 | 80 | 36 | 0.771951 | 0.059246 | 0 | 0.621359 | 0 | 0.019417 | 0.237591 | 0.062513 | 0 | 0 | 0 | 0 | 0.038835 | 1 | 0.029126 | false | 0 | 0.067961 | 0 | 0.106796 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
6b40f5fa0a514c7b4ff880b571c19f93803f8c6a | 676 | py | Python | commerrors/__init__.py | deepspaceghost/deme | 324741ee8e6ef30de5116f6018966829302796ed | [
"MIT"
] | null | null | null | commerrors/__init__.py | deepspaceghost/deme | 324741ee8e6ef30de5116f6018966829302796ed | [
"MIT"
] | 6 | 2021-07-09T16:56:28.000Z | 2022-03-12T00:58:06.000Z | commerrors/__init__.py | deepspaceghost/demeter.py | 324741ee8e6ef30de5116f6018966829302796ed | [
"MIT"
] | 1 | 2021-06-01T23:49:44.000Z | 2021-06-01T23:49:44.000Z | from .__version__ import \
__title__, __description__, __url__, __version__, __author__, __author_email__, __license__, \
__copyright__
from commerrors.main import \
get_error, ancient_errors, architecture_errors, biology_errors, \
chemical_and_materials_science, computing_and_the_internet_errors, ... | 61.454545 | 99 | 0.819527 | 78 | 676 | 6.102564 | 0.615385 | 0.05042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12574 | 676 | 10 | 100 | 67.6 | 0.805415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
6b483de5c0ae6166cc5be6800aeb2e83347361ff | 2,829 | py | Python | pepper/framework/component/statistics.py | cltl/pepper | 5d34fc5074473163aa9273016d89e5e2b8edffa9 | [
"MIT"
] | 29 | 2018-01-20T08:51:42.000Z | 2022-01-25T11:59:28.000Z | pepper/framework/component/statistics.py | cltl/pepper | 5d34fc5074473163aa9273016d89e5e2b8edffa9 | [
"MIT"
] | 32 | 2018-09-20T13:09:34.000Z | 2021-06-04T15:23:45.000Z | pepper/framework/component/statistics.py | cltl/pepper | 5d34fc5074473163aa9273016d89e5e2b8edffa9 | [
"MIT"
] | 10 | 2018-10-25T02:45:21.000Z | 2020-10-03T12:59:10.000Z | from __future__ import print_function
from sys import stdout, stderr
from pepper.framework.abstract import AbstractComponent
from pepper.framework.util import Scheduler
from pepper.framework.component import SpeechRecognitionComponent
from pepper import config
import threading
import urllib
from time import time
cl... | 36.269231 | 126 | 0.637681 | 309 | 2,829 | 5.624595 | 0.355987 | 0.051784 | 0.048331 | 0.021864 | 0.06214 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013793 | 0.282432 | 2,829 | 77 | 127 | 36.74026 | 0.842365 | 0.187345 | 0 | 0 | 0 | 0.022727 | 0.044287 | 0 | 0 | 0 | 0 | 0.012987 | 0 | 1 | 0.045455 | false | 0 | 0.204545 | 0 | 0.363636 | 0.136364 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
6b486cf2d01b34650fff37f2dd1045caabbd722b | 405 | py | Python | lexpredict_openedgar/openedgar/migrations/0007_auto_20210126_1647.py | matthew-w-lee/sec_database_parser | e01b9956deac385f2459c450a9e552139b15be96 | [
"MIT"
] | null | null | null | lexpredict_openedgar/openedgar/migrations/0007_auto_20210126_1647.py | matthew-w-lee/sec_database_parser | e01b9956deac385f2459c450a9e552139b15be96 | [
"MIT"
] | null | null | null | lexpredict_openedgar/openedgar/migrations/0007_auto_20210126_1647.py | matthew-w-lee/sec_database_parser | e01b9956deac385f2459c450a9e552139b15be96 | [
"MIT"
] | null | null | null | # Generated by Django 2.2 on 2021-01-26 16:47
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('openedgar', '0006_tablebookmark'),
]
operations = [
migrations.AlterField(
model_name='tablebookmark',
name='end_index... | 21.315789 | 64 | 0.612346 | 42 | 405 | 5.809524 | 0.738095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061433 | 0.276543 | 405 | 18 | 65 | 22.5 | 0.771331 | 0.106173 | 0 | 0 | 1 | 0 | 0.136111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
6b4a53c0d0be823391071b80b46ec0fc82ae2327 | 425 | py | Python | src/scheduler/scheduler/application/scheduler/JobService.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:28.000Z | 2020-12-18T21:37:28.000Z | src/scheduler/scheduler/application/scheduler/JobService.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | null | null | null | src/scheduler/scheduler/application/scheduler/JobService.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:31.000Z | 2020-12-18T21:37:31.000Z | from pdip.cqrs import Dispatcher
from pdip.dependency.container import DependencyContainer
from scheduler.application.StartJob.StartJobCommand import StartJobCommand
class JobService:
@staticmethod
def job_start_data_operation(job_id, data_operation_id: int):
command = StartJobCommand(DataOperationId... | 35.416667 | 82 | 0.818824 | 47 | 425 | 7.212766 | 0.595745 | 0.115044 | 0.088496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 425 | 11 | 83 | 38.636364 | 0.906417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
860850245e17e1bfa6c248fc4947017fb96dce4b | 8,650 | py | Python | kgx/source/source.py | gouttegd/kgx | 1efa0bfaf62113855ffc1d002903236e4ff8706a | [
"BSD-3-Clause"
] | 32 | 2020-10-21T17:35:27.000Z | 2022-03-17T02:40:08.000Z | kgx/source/source.py | gouttegd/kgx | 1efa0bfaf62113855ffc1d002903236e4ff8706a | [
"BSD-3-Clause"
] | 136 | 2020-10-02T11:06:50.000Z | 2022-03-29T03:55:53.000Z | kgx/source/source.py | gouttegd/kgx | 1efa0bfaf62113855ffc1d002903236e4ff8706a | [
"BSD-3-Clause"
] | 13 | 2020-10-20T18:17:50.000Z | 2022-02-02T07:09:54.000Z | from typing import Dict, Union, Optional
from kgx.utils.infores import InfoResContext
from kgx.prefix_manager import PrefixManager
from kgx.config import get_logger
log = get_logger()
class Source(object):
"""
A Source is responsible for reading data as records
from a store where the store is a file or ... | 32.397004 | 98 | 0.512601 | 959 | 8,650 | 4.506778 | 0.162669 | 0.048357 | 0.041647 | 0.021981 | 0.542804 | 0.473392 | 0.377603 | 0.330403 | 0.311893 | 0.2559 | 0 | 0 | 0.407746 | 8,650 | 266 | 99 | 32.518797 | 0.843646 | 0.27815 | 0 | 0.412698 | 0 | 0 | 0.070073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103175 | false | 0.087302 | 0.031746 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
86125143ff7399d7fa0825f0b9dee6aafa1b00c6 | 2,222 | py | Python | Bugscan_exploits-master/exp_list/exp-1709.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 11 | 2020-05-30T13:53:49.000Z | 2021-03-17T03:20:59.000Z | Bugscan_exploits-master/exp_list/exp-1709.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 6 | 2020-05-13T03:25:18.000Z | 2020-07-21T06:24:16.000Z | Bugscan_exploits-master/exp_list/exp-1709.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 6 | 2020-05-30T13:53:51.000Z | 2020-12-01T21:44:26.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#author:小光
#refer:http://www.wooyun.org/bugs/wooyun-2015-0137503
import random
import re
def assign(service, arg):
if service == 'yongyou_crm':
return True, arg
def audit(arg):
shellName = ""
for i in range(16):
shellName += chr... | 37.661017 | 122 | 0.657966 | 307 | 2,222 | 4.693811 | 0.527687 | 0.041638 | 0.062457 | 0.072866 | 0.315059 | 0.23109 | 0.07009 | 0.036086 | 0 | 0 | 0 | 0.082011 | 0.149415 | 2,222 | 59 | 123 | 37.661017 | 0.680423 | 0.046355 | 0 | 0.042553 | 0 | 0.042553 | 0.606414 | 0.225462 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042553 | false | 0 | 0.06383 | 0 | 0.12766 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
8619d99948730779d970bc88f37a26079de37c0d | 884 | py | Python | datahub/omis/order/migrations/0007_populate_uk_region.py | Staberinde/data-hub-api | 3d0467dbceaf62a47158eea412a3dba827073300 | [
"MIT"
] | 6 | 2019-12-02T16:11:24.000Z | 2022-03-18T10:02:02.000Z | datahub/omis/order/migrations/0007_populate_uk_region.py | Staberinde/data-hub-api | 3d0467dbceaf62a47158eea412a3dba827073300 | [
"MIT"
] | 1,696 | 2019-10-31T14:08:37.000Z | 2022-03-29T12:35:57.000Z | datahub/omis/order/migrations/0007_populate_uk_region.py | Staberinde/data-hub-api | 3d0467dbceaf62a47158eea412a3dba827073300 | [
"MIT"
] | 9 | 2019-11-22T12:42:03.000Z | 2021-09-03T14:25:05.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.8 on 2017-12-08 10:23
from __future__ import unicode_literals
from datetime import datetime
from django.db import migrations
from django.utils.timezone import utc
def update_uk_regions(apps, schema_editor):
Order = apps.get_model('order', 'Order')
release_d... | 27.625 | 90 | 0.71267 | 117 | 884 | 5.136752 | 0.57265 | 0.053245 | 0.049917 | 0.076539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040166 | 0.183258 | 884 | 31 | 91 | 28.516129 | 0.792244 | 0.116516 | 0 | 0 | 1 | 0 | 0.065637 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
861c0c356e7619fe8248ee11e46046c0fa671e7b | 7,751 | py | Python | symphony/tfparser.py | bdastur/symphony | 19678b7900b20d0e90318e91c114b264525b0ef4 | [
"Apache-2.0"
] | 2 | 2016-12-19T22:20:50.000Z | 2022-02-07T19:52:27.000Z | symphony/tfparser.py | bdastur/symphony | 19678b7900b20d0e90318e91c114b264525b0ef4 | [
"Apache-2.0"
] | null | null | null | symphony/tfparser.py | bdastur/symphony | 19678b7900b20d0e90318e91c114b264525b0ef4 | [
"Apache-2.0"
] | 1 | 2022-02-07T19:52:27.000Z | 2022-02-07T19:52:27.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Terraform Parser.
-----------------
Terraform is a tool developed by Hashicorp inc. It can be used to
build, change and version infrastructure safely and efficiently. It has support
for several popular cloud/service providers.
Terraform reads user generated .tf config... | 33.554113 | 79 | 0.525868 | 793 | 7,751 | 5.016393 | 0.245902 | 0.030166 | 0.042735 | 0.021116 | 0.221468 | 0.127451 | 0.080191 | 0.07089 | 0.06184 | 0.06184 | 0 | 0.001869 | 0.37879 | 7,751 | 230 | 80 | 33.7 | 0.824299 | 0.005419 | 0 | 0.25 | 0 | 0 | 0.100833 | 0.004086 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.044118 | null | null | 0.073529 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
86205a84809a5a0e179423bc7d2dd5fcc4e08818 | 932 | py | Python | src/mhb.site/mhb/site/upgrades.py | potzenheimer/mhb | 69386757f51e219c888432d096613ccb0148c7c2 | [
"MIT"
] | null | null | null | src/mhb.site/mhb/site/upgrades.py | potzenheimer/mhb | 69386757f51e219c888432d096613ccb0148c7c2 | [
"MIT"
] | null | null | null | src/mhb.site/mhb/site/upgrades.py | potzenheimer/mhb | 69386757f51e219c888432d096613ccb0148c7c2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Module providing version specific upgrade steps
import logging
import os
from ade25.base.utils import register_image_scales, package_image_scales
from ade25.widgets.utils import register_content_widgets
from mhb.site.config import PKG_WIDGETS
from mhb.site.config import PKG_IMAGE_SCALES
from... | 28.242424 | 84 | 0.802575 | 120 | 932 | 5.891667 | 0.35 | 0.171146 | 0.053748 | 0.065064 | 0.175389 | 0.093352 | 0.093352 | 0 | 0 | 0 | 0 | 0.011084 | 0.128755 | 932 | 32 | 85 | 29.125 | 0.859606 | 0.225322 | 0 | 0 | 0 | 0 | 0.03352 | 0.03352 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.388889 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
862d1c7077800c273daf0624336ae6861366e2ee | 27,715 | py | Python | EntranceRandomizer.py | draguscloud/MultiWorld-Utilities | 0157f348cd46fce1bc6ff58a7eaec9f0a482f4be | [
"MIT"
] | null | null | null | EntranceRandomizer.py | draguscloud/MultiWorld-Utilities | 0157f348cd46fce1bc6ff58a7eaec9f0a482f4be | [
"MIT"
] | null | null | null | EntranceRandomizer.py | draguscloud/MultiWorld-Utilities | 0157f348cd46fce1bc6ff58a7eaec9f0a482f4be | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import argparse
import copy
import os
import logging
import random
import textwrap
import shlex
import sys
from Main import main, get_seed
from Rom import get_sprite_from_name
from Utils import is_bundled, close_console
class ArgumentDefaultsHelpFormatter(argparse.RawTextHelpFormatter):
d... | 71.064103 | 268 | 0.528053 | 2,805 | 27,715 | 5.15615 | 0.24492 | 0.040448 | 0.076402 | 0.023232 | 0.252022 | 0.228652 | 0.175828 | 0.145613 | 0.135449 | 0.117403 | 0 | 0.008923 | 0.377305 | 27,715 | 389 | 269 | 71.246787 | 0.829123 | 0.015082 | 0 | 0.162983 | 0 | 0.022099 | 0.674252 | 0.008355 | 0 | 0 | 0.00044 | 0.002571 | 0 | 1 | 0.01105 | false | 0.019337 | 0.035912 | 0.005525 | 0.058011 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
862ff91599547aadbc1b7ad7559acc383025966c | 504 | py | Python | tinder_api/utils/config.py | peterchun2000/TinderBioBot | bf968e1c4923a4d7b201df3b5bd5b9a950a81156 | [
"MIT"
] | null | null | null | tinder_api/utils/config.py | peterchun2000/TinderBioBot | bf968e1c4923a4d7b201df3b5bd5b9a950a81156 | [
"MIT"
] | null | null | null | tinder_api/utils/config.py | peterchun2000/TinderBioBot | bf968e1c4923a4d7b201df3b5bd5b9a950a81156 | [
"MIT"
] | null | null | null | with open("tinder_api/utils/token.txt", "r") as f:
tinder_token = f.read()
# it is best for you to write in the token to save yourself the file I/O
# especially if you have python byte code off
#tinder_token = ""
headers = {
'app_version': '6.9.4',
'platform': 'ios',
'content-type': 'application/json'... | 25.2 | 72 | 0.640873 | 82 | 504 | 3.768293 | 0.780488 | 0.071197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031785 | 0.188492 | 504 | 19 | 73 | 26.526316 | 0.723716 | 0.259921 | 0 | 0 | 0 | 0.083333 | 0.536585 | 0.070461 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
8630fb183de527655e6c1e8de8930394ee9b3381 | 333 | py | Python | setup.py | samcaf/JetMonteCarlo | 71f50f3bb53a4f68ed927eaeaed5ee258da0dd34 | [
"MIT"
] | null | null | null | setup.py | samcaf/JetMonteCarlo | 71f50f3bb53a4f68ed927eaeaed5ee258da0dd34 | [
"MIT"
] | null | null | null | setup.py | samcaf/JetMonteCarlo | 71f50f3bb53a4f68ed927eaeaed5ee258da0dd34 | [
"MIT"
] | null | null | null | # JetMonteCarlo - Python package for high-energy particle physics.
# Copyright (C) 2020-2021 Samuel Alipour-fard
import re
import sys
from setuptools import setup
with open('jetmontecarlo/__init__.py', 'r') as f:
__version__ = re.search(r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read()).group(1)
setup(version=... | 25.615385 | 88 | 0.6997 | 45 | 333 | 4.822222 | 0.755556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030822 | 0.123123 | 333 | 12 | 89 | 27.75 | 0.712329 | 0.324324 | 0 | 0 | 0 | 0 | 0.243243 | 0.112613 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 1 |
863681a11f8415ea22e97b34b794ee7bca9bcc22 | 5,218 | py | Python | Docs/torch_code_examples/quantsim_code_example.py | lipovsek/aimet | 236fb02cc6c45e65c067030416c49a09ace82045 | [
"BSD-3-Clause"
] | null | null | null | Docs/torch_code_examples/quantsim_code_example.py | lipovsek/aimet | 236fb02cc6c45e65c067030416c49a09ace82045 | [
"BSD-3-Clause"
] | null | null | null | Docs/torch_code_examples/quantsim_code_example.py | lipovsek/aimet | 236fb02cc6c45e65c067030416c49a09ace82045 | [
"BSD-3-Clause"
] | null | null | null | # /usr/bin/env python3.6
# -*- mode: python -*-
# =============================================================================
# @@-COPYRIGHT-START-@@
#
# Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification,... | 39.530303 | 123 | 0.694902 | 658 | 5,218 | 5.3769 | 0.440729 | 0.027134 | 0.015263 | 0.013002 | 0.074618 | 0.061051 | 0.061051 | 0.061051 | 0.03844 | 0.03844 | 0 | 0.01148 | 0.215408 | 5,218 | 131 | 124 | 39.832061 | 0.852711 | 0.590456 | 0 | 0 | 0 | 0 | 0.058248 | 0.035242 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0.052632 | 0.157895 | 0 | 0.210526 | 0.026316 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
863687688bc659b1d42d9bee3efb1d311940782b | 1,470 | py | Python | asmdot/arch/__init__.py | 6A/asmsq | bcece68e6fee2091225da8ef3e7c874900a55b53 | [
"MIT"
] | 16 | 2019-01-22T08:37:02.000Z | 2021-05-28T11:48:32.000Z | asmdot/arch/__init__.py | 6A/asmsq | bcece68e6fee2091225da8ef3e7c874900a55b53 | [
"MIT"
] | 8 | 2018-05-16T21:15:13.000Z | 2018-07-01T09:58:49.000Z | asmdot/arch/__init__.py | 71/asmdot | bcece68e6fee2091225da8ef3e7c874900a55b53 | [
"MIT"
] | 1 | 2018-05-16T16:39:26.000Z | 2018-05-16T16:39:26.000Z | from abc import ABC, abstractmethod
from argparse import ArgumentParser, Namespace
from parsy import regex, eof, seq, Parser
from typing import Callable, IO, Iterator, List
from ..ast import Declaration, Function, TestCase, TestCaseCall
from ..helpers import relative, parse, ws, end
from ..options import Options
from ... | 28.823529 | 93 | 0.680952 | 157 | 1,470 | 6.369427 | 0.433121 | 0.09 | 0.076 | 0.066 | 0.108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 1,470 | 51 | 94 | 28.823529 | 0.881834 | 0.262585 | 0 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.193548 | false | 0.16129 | 0.258065 | 0 | 0.483871 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
86381c7f1e07e71b2c2061e093921d18e86fe1f5 | 14,990 | py | Python | figures/tasks.py | guipenedo/figures | c1b54038249d0dd79ae76b5bfa69e90fb6aacb82 | [
"MIT"
] | null | null | null | figures/tasks.py | guipenedo/figures | c1b54038249d0dd79ae76b5bfa69e90fb6aacb82 | [
"MIT"
] | null | null | null | figures/tasks.py | guipenedo/figures | c1b54038249d0dd79ae76b5bfa69e90fb6aacb82 | [
"MIT"
] | null | null | null | """
Figures Celery tasks. Initially this module contains tasks for the ETL pipeline.
The higher level task is responsible for error handling of functions it calls
"""
from __future__ import absolute_import
import datetime
import time
import six
from django.contrib.sites.models import Site
from django.utils.timezone... | 38.834197 | 91 | 0.654236 | 1,974 | 14,990 | 4.763425 | 0.184904 | 0.036371 | 0.020419 | 0.0268 | 0.381155 | 0.310433 | 0.280017 | 0.227055 | 0.176965 | 0.148251 | 0 | 0.001637 | 0.266578 | 14,990 | 385 | 92 | 38.935065 | 0.853647 | 0.280854 | 0 | 0.399083 | 0 | 0.009174 | 0.155102 | 0.073781 | 0 | 0 | 0 | 0.018182 | 0 | 1 | 0.055046 | false | 0 | 0.087156 | 0 | 0.151376 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
863c67150e00c6ca77713137350a8c19902c7dd8 | 767 | py | Python | swampdragon/tests/test_base_router_get_subscription_channel.py | h-hirokawa/swampdragon | 064ee71a5838e1363b69eef9af6b1a56be96fe23 | [
"BSD-3-Clause"
] | null | null | null | swampdragon/tests/test_base_router_get_subscription_channel.py | h-hirokawa/swampdragon | 064ee71a5838e1363b69eef9af6b1a56be96fe23 | [
"BSD-3-Clause"
] | null | null | null | swampdragon/tests/test_base_router_get_subscription_channel.py | h-hirokawa/swampdragon | 064ee71a5838e1363b69eef9af6b1a56be96fe23 | [
"BSD-3-Clause"
] | null | null | null | from ..route_handler import BaseRouter, ERROR, SUCCESS, LOGIN_REQUIRED
from .dragon_test_case import DragonTestCase
class FooRouter(BaseRouter):
route_name = 'foo'
class BarRouter(BaseRouter):
channels = ['channel_a', 'channel_b']
def get_subscription_channels(self, **kwargs):
return self.chann... | 28.407407 | 70 | 0.735332 | 84 | 767 | 6.47619 | 0.440476 | 0.110294 | 0.126838 | 0.099265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177314 | 767 | 26 | 71 | 29.5 | 0.862124 | 0 | 0 | 0 | 0 | 0 | 0.027379 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.176471 | false | 0 | 0.117647 | 0.058824 | 0.647059 | 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 | 0 | 0 | 1 | 0 | 0 | 1 |
863fe2a2e518fb75075c8ceb5942079bee84f267 | 3,606 | py | Python | login.py | stuartwishart/enphase_scraper | 3c32eae13faf5831bee4bc0d811e9a3a6b9d504f | [
"MIT"
] | 3 | 2020-09-17T20:10:42.000Z | 2021-03-04T09:44:44.000Z | login.py | stuartwishart/enphase_scraper | 3c32eae13faf5831bee4bc0d811e9a3a6b9d504f | [
"MIT"
] | 3 | 2020-08-06T00:21:54.000Z | 2021-10-30T01:18:50.000Z | login.py | stuartwishart/enphase_scraper | 3c32eae13faf5831bee4bc0d811e9a3a6b9d504f | [
"MIT"
] | 1 | 2022-01-10T05:19:13.000Z | 2022-01-10T05:19:13.000Z | #!/usr/bin/env python3
BASE_URL = 'https://enlighten.enphaseenergy.com'
STARTING_URL = BASE_URL + '/login'
LOGIN_URL = BASE_URL + '/login/login'
LOGIN_SUCCESS_URL = BASE_URL + '/systems'
STATE_DIR = '~/.enphase_scraper'
import os
import errno
import http.cookiejar
import urllib
import urllib.request
import urllib.err... | 29.557377 | 120 | 0.650582 | 479 | 3,606 | 4.826722 | 0.402923 | 0.047578 | 0.028114 | 0.012976 | 0.081315 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012698 | 0.21381 | 3,606 | 121 | 121 | 29.801653 | 0.802822 | 0.206323 | 0 | 0.102564 | 0 | 0.012821 | 0.161972 | 0.010563 | 0 | 0 | 0 | 0.008264 | 0 | 1 | 0.012821 | false | 0.051282 | 0.153846 | 0 | 0.179487 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
8644a33783a0b18cc67e57468d51cb4f7d05b944 | 1,574 | py | Python | endpoint_server.py | octabytes/quran | 974d351cf5e6a12a28a5ac9f29c8d2753ae6dd86 | [
"Apache-2.0"
] | null | null | null | endpoint_server.py | octabytes/quran | 974d351cf5e6a12a28a5ac9f29c8d2753ae6dd86 | [
"Apache-2.0"
] | null | null | null | endpoint_server.py | octabytes/quran | 974d351cf5e6a12a28a5ac9f29c8d2753ae6dd86 | [
"Apache-2.0"
] | null | null | null | from concurrent import futures
import time
import grpc
import quran.endpoints.grpc.audio_pb2_grpc as audio_rpc
import quran.endpoints.grpc.ayah_pb2_grpc as ayah_rpc
import quran.endpoints.grpc.edition_pb2_grpc as edition_rpc
import quran.endpoints.grpc.image_pb2_grpc as image_rpc
import quran.endpoints.grpc.surah_pb2_... | 35.772727 | 83 | 0.811944 | 201 | 1,574 | 6.054726 | 0.303483 | 0.138044 | 0.098603 | 0.118324 | 0.110929 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014347 | 0.114358 | 1,574 | 44 | 84 | 35.772727 | 0.85868 | 0 | 0 | 0 | 0 | 0 | 0.011429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.454545 | 0 | 0.484848 | 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 | 0 | 0 | 0 | 0 | 1 |
86478f14f1e160235224f7dbf954ae61209c5639 | 1,332 | py | Python | parse_ot.py | szoz/flat-scraper | 276b5fb043b80c83d2de2e410f1d001120a90088 | [
"MIT"
] | null | null | null | parse_ot.py | szoz/flat-scraper | 276b5fb043b80c83d2de2e410f1d001120a90088 | [
"MIT"
] | 2 | 2021-03-31T19:56:46.000Z | 2021-12-13T20:42:47.000Z | parse_ot.py | szoz/flat-scraper | 276b5fb043b80c83d2de2e410f1d001120a90088 | [
"MIT"
] | null | null | null | import requests
from datetime import date
import json
def parse_response(resp):
"""Parses given JSON from Otodom API response.
:param resp: Dict from API response body.
:return: Dict with parsed parameters.
"""
filter_only = ['url', 'title', 'features', 'status']
parsed_resp = {key: val for k... | 38.057143 | 120 | 0.658408 | 169 | 1,332 | 5.011834 | 0.431953 | 0.141677 | 0.035419 | 0.03778 | 0.0732 | 0.0732 | 0.0732 | 0 | 0 | 0 | 0 | 0.014273 | 0.158408 | 1,332 | 34 | 121 | 39.176471 | 0.741302 | 0.093093 | 0 | 0 | 0 | 0 | 0.333053 | 0.057191 | 0 | 0 | 0 | 0.029412 | 0 | 1 | 0.045455 | false | 0 | 0.136364 | 0 | 0.227273 | 0.045455 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
864ff1ec049517e290cf101918f9637e7b990b76 | 437 | py | Python | app/__init__.py | jo-adithya/note-app | 03200ed1e5f2dd37ecd55f59061d60904dab200b | [
"MIT"
] | null | null | null | app/__init__.py | jo-adithya/note-app | 03200ed1e5f2dd37ecd55f59061d60904dab200b | [
"MIT"
] | null | null | null | app/__init__.py | jo-adithya/note-app | 03200ed1e5f2dd37ecd55f59061d60904dab200b | [
"MIT"
] | null | null | null | from flask import Flask
from config import Config
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from flask_login import LoginManager
app = Flask(__name__)
# Initialize Configurations
app.config.from_object(Config)
# Initialize Database Connection
db = SQLAlchemy(app)
migrate = Migrate(app... | 20.809524 | 39 | 0.80778 | 57 | 437 | 6.035088 | 0.350877 | 0.104651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132723 | 437 | 20 | 40 | 21.85 | 0.907652 | 0.185355 | 0 | 0 | 0 | 0 | 0.014205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 1 |
8657f1f588427853bfaa79d54348c84f49504f4c | 4,912 | py | Python | attic/mix_fix.py | Paul-St-Young/QMC | 62ec2e503f8814c0e1a9abdf516e617c93916a3e | [
"MIT"
] | null | null | null | attic/mix_fix.py | Paul-St-Young/QMC | 62ec2e503f8814c0e1a9abdf516e617c93916a3e | [
"MIT"
] | null | null | null | attic/mix_fix.py | Paul-St-Young/QMC | 62ec2e503f8814c0e1a9abdf516e617c93916a3e | [
"MIT"
] | null | null | null | #!/usr/bin/python
import h5py
import numpy as np
import matplotlib.pyplot as plt
import pandas
import argparse
from scipy.optimize import curve_fit
def gofrGrabber(h5file,myi,myj):
# get gofr list with label "gofr_ion0_myi_myj"
dr = 0.0
r = []
GR = []
f = h5py.File(h5file)
for name,quant... | 28.393064 | 84 | 0.580008 | 773 | 4,912 | 3.59379 | 0.22251 | 0.040317 | 0.015119 | 0.027718 | 0.207343 | 0.165947 | 0.133189 | 0.113031 | 0.083513 | 0.065515 | 0 | 0.019564 | 0.27158 | 4,912 | 172 | 85 | 28.55814 | 0.756847 | 0.104845 | 0 | 0.044643 | 0 | 0 | 0.09009 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.0625 | null | null | 0.026786 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
865e02a8061fa00e281a2221761c961ce290a816 | 2,485 | py | Python | other_setting/rpn-concat-s/lib/layer_utils/proposal_layer.py | chriszhenghaochen/CCnet | 34df9a7bc82802a8eeb5d8e8e11a0409052b1dde | [
"MIT"
] | 6 | 2017-11-20T16:50:03.000Z | 2018-06-17T14:51:50.000Z | other_setting/rpn-concat-s/lib/layer_utils/proposal_layer.py | chriszhenghaochen/CCnet | 34df9a7bc82802a8eeb5d8e8e11a0409052b1dde | [
"MIT"
] | 1 | 2018-11-07T02:37:18.000Z | 2018-11-07T11:57:04.000Z | other_setting/rpn-concat-s/lib/layer_utils/proposal_layer.py | chriszhenghaochen/CCnet_Tensorflow | 34df9a7bc82802a8eeb5d8e8e11a0409052b1dde | [
"MIT"
] | null | null | null | # --------------------------------------------------------
# Faster R-CNN
# Licensed under The MIT License [see LICENSE for details]
# Written by Ross Girshick and Xinlei Chen
# --------------------------------------------------------
from __future__ import absolute_import
from __future__ import division
from __future_... | 33.133333 | 132 | 0.63501 | 338 | 2,485 | 4.384615 | 0.357988 | 0.067476 | 0.037112 | 0.024292 | 0.025641 | 0.025641 | 0 | 0 | 0 | 0 | 0 | 0.01513 | 0.148893 | 2,485 | 75 | 133 | 33.133333 | 0.685579 | 0.259155 | 0 | 0 | 0 | 0 | 0.002915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02439 | false | 0.073171 | 0.170732 | 0 | 0.219512 | 0.02439 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
8660d7e9c3ffe30bdf14c2a2c4bc901be6e9e43f | 1,766 | py | Python | PYTHON/NURBSReconstruction/DualContouring/projection.py | mlaradji/CADO | 33cf9a5e3eb84e2caee5cb07ca1401d60de621da | [
"BSD-3-Clause"
] | 16 | 2016-12-20T17:02:49.000Z | 2021-12-11T20:07:34.000Z | PYTHON/NURBSReconstruction/DualContouring/projection.py | mlaradji/CADO | 33cf9a5e3eb84e2caee5cb07ca1401d60de621da | [
"BSD-3-Clause"
] | null | null | null | PYTHON/NURBSReconstruction/DualContouring/projection.py | mlaradji/CADO | 33cf9a5e3eb84e2caee5cb07ca1401d60de621da | [
"BSD-3-Clause"
] | 4 | 2019-03-10T14:44:15.000Z | 2021-08-29T20:08:01.000Z | import numpy as np
def find_closest_quads(_point, _quadlist, _n_closest):
d_sq_list = [None] * _quadlist.__len__() # empty list for distances point to all quads
for i in range(_quadlist.__len__()): # iterate over all quads
d_sq = _quadlist[i].measure_centroid_distance_squared(_point) # distance to cen... | 43.073171 | 163 | 0.682899 | 245 | 1,766 | 4.595918 | 0.330612 | 0.056838 | 0.024867 | 0.063943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009566 | 0.230464 | 1,766 | 41 | 164 | 43.073171 | 0.818985 | 0.227633 | 0 | 0 | 0 | 0 | 0.04056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.033333 | null | null | 0.033333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
86628cd2c457c23c7a00814d32a8cba1ac91d6df | 3,117 | py | Python | tests/st/ops/gpu/test_broadcast_to_ops.py | GuoSuiming/mindspore | 48afc4cfa53d970c0b20eedfb46e039db2a133d5 | [
"Apache-2.0"
] | 4 | 2021-01-26T09:14:01.000Z | 2021-01-26T09:17:24.000Z | tests/st/ops/gpu/test_broadcast_to_ops.py | forwhat461/mindspore | 59a277756eb4faad9ac9afcc7fd526e8277d4994 | [
"Apache-2.0"
] | null | null | null | tests/st/ops/gpu/test_broadcast_to_ops.py | forwhat461/mindspore | 59a277756eb4faad9ac9afcc7fd526e8277d4994 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Huawei Technologies Co., Ltd
#
# 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... | 34.633333 | 78 | 0.690407 | 486 | 3,117 | 4.290123 | 0.263374 | 0.023022 | 0.033573 | 0.047002 | 0.667626 | 0.667146 | 0.667146 | 0.653717 | 0.653717 | 0.63789 | 0 | 0.036426 | 0.163298 | 3,117 | 89 | 79 | 35.022472 | 0.763037 | 0.25762 | 0 | 0.592593 | 0 | 0 | 0.003972 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.055556 | false | 0 | 0.092593 | 0 | 0.148148 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
8664666ea8ac78e5d6aedb9fbd604ba6bbc1af7a | 1,162 | py | Python | data/adapt.py | mendrugory/Airports | f9eebf76030f6c1f01fac38eedf420c9a46c0e62 | [
"Apache-2.0"
] | 8 | 2016-05-21T17:52:50.000Z | 2021-02-06T10:01:28.000Z | data/adapt.py | mendrugory/Airports | f9eebf76030f6c1f01fac38eedf420c9a46c0e62 | [
"Apache-2.0"
] | null | null | null | data/adapt.py | mendrugory/Airports | f9eebf76030f6c1f01fac38eedf420c9a46c0e62 | [
"Apache-2.0"
] | 3 | 2016-06-10T09:10:11.000Z | 2021-02-06T10:01:32.000Z | # -*- coding: utf-8 -*-
import json
import csv
PATH = "airports.dat"
OUT = "airports.json"
def make_register(headers, line):
register = {}
latlon = {}
for header, data in zip(headers, line):
header = header.lower()
if header in ["lat", "lon"]:
latlon[header] = float(data)
... | 24.208333 | 53 | 0.566265 | 133 | 1,162 | 4.917293 | 0.421053 | 0.050459 | 0.058104 | 0.070336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001214 | 0.290878 | 1,162 | 47 | 54 | 24.723404 | 0.792476 | 0.018072 | 0 | 0 | 0 | 0 | 0.087796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.051282 | null | null | 0.051282 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
866945d3da00b329dda8447d05b21d250d5fdc0b | 520 | py | Python | nablapps/interactive/migrations/0003_adventcalendar_requires_login.py | pettaroni/nablaweb | 5e610698a276884b9cd779a718dfdee641713636 | [
"MIT"
] | null | null | null | nablapps/interactive/migrations/0003_adventcalendar_requires_login.py | pettaroni/nablaweb | 5e610698a276884b9cd779a718dfdee641713636 | [
"MIT"
] | null | null | null | nablapps/interactive/migrations/0003_adventcalendar_requires_login.py | pettaroni/nablaweb | 5e610698a276884b9cd779a718dfdee641713636 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.5 on 2018-01-31 19:37
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('interactive', '0002_auto_20171106_2322'),
]
operations = [
migrations.AddFi... | 24.761905 | 101 | 0.648077 | 58 | 520 | 5.62069 | 0.844828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083756 | 0.242308 | 520 | 20 | 102 | 26 | 0.743655 | 0.130769 | 0 | 0 | 1 | 0 | 0.207127 | 0.051225 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
866a094dd17dd5a1d4046f8aada1e61031702fab | 470 | py | Python | data/frag_tel.py | Kiny-Kiny/TelegramBrazilianDoxxing | b83bd745c83e16beae73f8ed92387a1335a4d795 | [
"Apache-2.0"
] | 1 | 2022-03-24T01:48:42.000Z | 2022-03-24T01:48:42.000Z | data/frag_tel.py | Kiny-Kiny/TelegramBrazilianDoxxing | b83bd745c83e16beae73f8ed92387a1335a4d795 | [
"Apache-2.0"
] | null | null | null | data/frag_tel.py | Kiny-Kiny/TelegramBrazilianDoxxing | b83bd745c83e16beae73f8ed92387a1335a4d795 | [
"Apache-2.0"
] | 2 | 2022-03-23T20:22:16.000Z | 2022-03-28T03:58:10.000Z | def consulta(message):
resultado = {}
#################
resultado['telefone'] = message.split('TELEFONE: ')[1].split('\n')[0]
resultado['nome'] = message.split('NOME: ')[1].split('\n')[0]
resultado['cpfCnpj'] = message.split('CPF/CNPJ: ')[1].split('\n')[0]
resultado['operadora'] = message.split(... | 42.727273 | 75 | 0.551064 | 52 | 470 | 4.980769 | 0.326923 | 0.23166 | 0.135135 | 0.15444 | 0.262548 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.138298 | 470 | 10 | 76 | 47 | 0.614815 | 0 | 0 | 0 | 0 | 0 | 0.213303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
8672276d0020a85b77727010dcb4af7a93eb7a0e | 1,307 | py | Python | ext/bookstructures.py | kawaken/typescript-guide | e3f6731e370fb834f4f292ff5806556e203c9233 | [
"CC0-1.0"
] | 456 | 2019-06-11T15:48:52.000Z | 2022-03-28T06:44:10.000Z | ext/bookstructures.py | kawaken/typescript-guide | e3f6731e370fb834f4f292ff5806556e203c9233 | [
"CC0-1.0"
] | 18 | 2019-06-13T19:33:24.000Z | 2022-02-27T21:31:26.000Z | ext/bookstructures.py | kawaken/typescript-guide | e3f6731e370fb834f4f292ff5806556e203c9233 | [
"CC0-1.0"
] | 62 | 2019-06-12T10:11:14.000Z | 2022-03-29T07:31:09.000Z | from docutils import nodes
from docutils.parsers.rst import Directive
from sphinx.locale import _
def frontmatter(name, arguments, options, content, lineno,
content_offset, block_text, state, state_machine):
return [nodes.raw(
'',
r"""
\include{tobiraura}
\frontmatter
\setcounter{pa... | 25.627451 | 66 | 0.626626 | 145 | 1,307 | 5.531034 | 0.289655 | 0.01995 | 0.099751 | 0.134663 | 0.504988 | 0.504988 | 0.504988 | 0.433915 | 0.433915 | 0.433915 | 0 | 0.016932 | 0.231829 | 1,307 | 50 | 67 | 26.14 | 0.781873 | 0 | 0 | 0.625 | 0 | 0 | 0.051619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15625 | false | 0 | 0.09375 | 0.125 | 0.375 | 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 | 0 | 1 | 0 | 0 | 0 | 1 |
8677b99eedf1beb80fa3643b5e61ce367885ca28 | 11,303 | py | Python | examples/tutorials/test.py | soominimini/vector_python_sdk_0.5.0_2version | e14042f20f71f60abb30831643b40b38599ebdf8 | [
"Apache-2.0"
] | null | null | null | examples/tutorials/test.py | soominimini/vector_python_sdk_0.5.0_2version | e14042f20f71f60abb30831643b40b38599ebdf8 | [
"Apache-2.0"
] | null | null | null | examples/tutorials/test.py | soominimini/vector_python_sdk_0.5.0_2version | e14042f20f71f60abb30831643b40b38599ebdf8 | [
"Apache-2.0"
] | null | null | null | from multiprocessing import Process
import threading
import time
import anki_vector
from anki_vector.events import Events
from anki_vector import util
from anki_vector import behavior
from anki_vector.util import *
from anki_vector.behavior import *
from anki_vector import connection
import asyncio
wake_word_heard = ... | 35.432602 | 120 | 0.645315 | 1,447 | 11,303 | 4.810643 | 0.133379 | 0.089068 | 0.113777 | 0.052866 | 0.72389 | 0.698176 | 0.687401 | 0.679356 | 0.622181 | 0.610975 | 0 | 0.021762 | 0.239759 | 11,303 | 319 | 121 | 35.432602 | 0.788316 | 0.046271 | 0 | 0.414063 | 0 | 0 | 0.135823 | 0.02592 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0.03125 | 0.042969 | 0 | 0.074219 | 0.105469 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
867d5d93261d306e9ee218606fbe6481a17d83b7 | 461 | py | Python | examples/lsm6ds_lsm6dsox_simpletest.py | askpatrickw/Adafruit_CircuitPython_LSM6DS | 25ea19fde98fb316eda9e7372c6411caa0eb7527 | [
"Unlicense",
"MIT-0",
"MIT"
] | 47 | 2021-02-15T23:02:36.000Z | 2022-03-04T21:30:03.000Z | examples/lsm6ds_lsm6dsox_simpletest.py | askpatrickw/Adafruit_CircuitPython_LSM6DS | 25ea19fde98fb316eda9e7372c6411caa0eb7527 | [
"Unlicense",
"MIT-0",
"MIT"
] | 7 | 2021-02-19T20:00:08.000Z | 2022-01-14T10:51:12.000Z | examples/lsm6ds_lsm6dsox_simpletest.py | askpatrickw/Adafruit_CircuitPython_LSM6DS | 25ea19fde98fb316eda9e7372c6411caa0eb7527 | [
"Unlicense",
"MIT-0",
"MIT"
] | 14 | 2021-02-20T17:40:56.000Z | 2022-01-01T19:53:38.000Z | # SPDX-FileCopyrightText: Copyright (c) 2020 Bryan Siepert for Adafruit Industries
#
# SPDX-License-Identifier: MIT
import time
import board
import busio
from adafruit_lsm6ds.lsm6dsox import LSM6DSOX
i2c = busio.I2C(board.SCL, board.SDA)
sensor = LSM6DSOX(i2c)
while True:
print("Acceleration: X:%.2f, Y: %.2f, Z:... | 25.611111 | 82 | 0.687636 | 68 | 461 | 4.647059 | 0.588235 | 0.06962 | 0.025316 | 0.037975 | 0.056962 | 0.056962 | 0 | 0 | 0 | 0 | 0 | 0.051414 | 0.156182 | 461 | 17 | 83 | 27.117647 | 0.760925 | 0.236443 | 0 | 0 | 0 | 0 | 0.238506 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.363636 | 0 | 0.363636 | 0.272727 | 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 | 0 | 0 | 0 | 0 | 1 |
86848512cdf042db7abb5997043e584bc838dd2e | 1,285 | py | Python | PythonClient/car_stress_test.py | TalatCikikci/AirSim | d71527274de468dad4fb1a229605a68dd9246061 | [
"MIT"
] | 3 | 2018-02-10T13:14:39.000Z | 2018-04-24T15:41:51.000Z | PythonClient/car_stress_test.py | TalatCikikci/AirSim | d71527274de468dad4fb1a229605a68dd9246061 | [
"MIT"
] | 2 | 2019-01-13T08:40:31.000Z | 2019-02-11T06:43:53.000Z | PythonClient/car_stress_test.py | TalatCikikci/AirSim | d71527274de468dad4fb1a229605a68dd9246061 | [
"MIT"
] | 4 | 2019-08-06T04:48:07.000Z | 2022-01-15T09:20:30.000Z | from AirSimClient import *
# connect to the AirSim simulator
client = CarClient()
client.confirmConnection()
client.enableApiControl(True)
car_controls = CarControls()
for idx in xrange(3000):
# get state of the car
car_state = client.getCarState()
print("Speed %d, Gear %d" % (car_state.speed, car_state.... | 26.22449 | 67 | 0.687938 | 178 | 1,285 | 4.820225 | 0.337079 | 0.217949 | 0.107226 | 0.144522 | 0.481352 | 0.45338 | 0.45338 | 0.416084 | 0.344988 | 0.344988 | 0 | 0.0251 | 0.224903 | 1,285 | 48 | 68 | 26.770833 | 0.836345 | 0.198444 | 0 | 0.4 | 0 | 0 | 0.016732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033333 | 0 | 0.033333 | 0.033333 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
8686ade6a7148e2ff5f6ebac5f8e581dc661a648 | 413 | py | Python | blacklistparser/core/types.py | Armorless-Visage/blacklistparser | 4cda87fe31107e49b338d972824d3ec9fa61c9af | [
"0BSD"
] | null | null | null | blacklistparser/core/types.py | Armorless-Visage/blacklistparser | 4cda87fe31107e49b338d972824d3ec9fa61c9af | [
"0BSD"
] | null | null | null | blacklistparser/core/types.py | Armorless-Visage/blacklistparser | 4cda87fe31107e49b338d972824d3ec9fa61c9af | [
"0BSD"
] | null | null | null | #!/usr/bin/env python3
# Liam Nolan (c) 2019 ISC
# Full licence terms located in LICENCE file
from os import path
'''
some types for argparse type argument
'''
def base_path_type(pathname):
'''
custom type for checking that a file path is valid
returns input if the base dir exists, None otherwise
''... | 20.65 | 56 | 0.692494 | 62 | 413 | 4.580645 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015723 | 0.230024 | 413 | 19 | 57 | 21.736842 | 0.877358 | 0.464891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
86880d3c136cbf921039e68138e4784ec779e3da | 1,278 | py | Python | applications/budget/models/tables.py | jtintin/CS183_Project | 69489636635be75a9d4b63aae833d6191418725b | [
"BSD-3-Clause"
] | 2 | 2018-05-25T01:36:38.000Z | 2018-06-01T12:20:27.000Z | applications/budget/models/tables.py | jtintin/CS183_Project | 69489636635be75a9d4b63aae833d6191418725b | [
"BSD-3-Clause"
] | null | null | null | applications/budget/models/tables.py | jtintin/CS183_Project | 69489636635be75a9d4b63aae833d6191418725b | [
"BSD-3-Clause"
] | 1 | 2020-10-21T02:56:52.000Z | 2020-10-21T02:56:52.000Z | # Define your tables below (or better in another model file) for example
#
# >>> db.define_table('mytable', Field('myfield', 'string'))
#
# Fields can be 'string','text','password','integer','double','boolean'
# 'date','time','datetime','blob','upload', 'reference TABLENAME'
# There is an implicit 'id integer aut... | 38.727273 | 88 | 0.704225 | 161 | 1,278 | 5.496894 | 0.496894 | 0.158192 | 0.107345 | 0.122034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001866 | 0.161189 | 1,278 | 32 | 89 | 39.9375 | 0.823694 | 0.36385 | 0 | 0 | 0 | 0 | 0.098504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | true | 0 | 0.066667 | 0.066667 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
8689f0da9b08c662aad063948c05f3b98d30234c | 227 | py | Python | Classes/quiz.py | abrusebas1997/CS-1.3-Core-Data-Structures | 7e3805e624caf427709d774e053cdb9e90457520 | [
"MIT"
] | null | null | null | Classes/quiz.py | abrusebas1997/CS-1.3-Core-Data-Structures | 7e3805e624caf427709d774e053cdb9e90457520 | [
"MIT"
] | null | null | null | Classes/quiz.py | abrusebas1997/CS-1.3-Core-Data-Structures | 7e3805e624caf427709d774e053cdb9e90457520 | [
"MIT"
] | null | null | null | def reverse(number):
stack = []
result = ""
for num in str(number):
stack.append(num)
for i in range(len(stack)):
result += stack.pop()
print(result)
return int(result)
reverse(3479)
| 15.133333 | 31 | 0.563877 | 29 | 227 | 4.413793 | 0.62069 | 0.171875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025157 | 0.299559 | 227 | 14 | 32 | 16.214286 | 0.779874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.2 | 0.1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
868d320d971f812a6c83179a390e9bfb8af3134f | 533 | py | Python | authlib/client/errors.py | tk193192/authlib | 4c60a628f64c6d385a06ea55e416092726b94d07 | [
"BSD-3-Clause"
] | 2 | 2021-04-26T18:17:37.000Z | 2021-04-28T21:39:45.000Z | authlib/client/errors.py | tk193192/authlib | 4c60a628f64c6d385a06ea55e416092726b94d07 | [
"BSD-3-Clause"
] | null | null | null | authlib/client/errors.py | tk193192/authlib | 4c60a628f64c6d385a06ea55e416092726b94d07 | [
"BSD-3-Clause"
] | 1 | 2019-10-07T02:01:48.000Z | 2019-10-07T02:01:48.000Z | from authlib.common.errors import AuthlibBaseError
OAuthError = AuthlibBaseError
class MissingRequestTokenError(OAuthError):
error = 'missing_request_token'
class MissingTokenError(OAuthError):
error = 'missing_token'
class TokenExpiredError(OAuthError):
error = 'token_expired'
class UnsupportedTo... | 20.5 | 74 | 0.780488 | 50 | 533 | 8.18 | 0.6 | 0.183374 | 0.107579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148218 | 533 | 25 | 75 | 21.32 | 0.900881 | 0 | 0 | 0 | 0 | 0 | 0.262664 | 0.080675 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.923077 | 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 | 0 | 0 | 1 | 0 | 0 | 1 |
869b0ca81aa5f2799e48bd799439da5003d38c7d | 1,397 | py | Python | game/languageenums/message.py | leonfers/thecipherbot | 14a5a5abb6a449cf350932a6c5798b4abf80e2ef | [
"CC0-1.0"
] | null | null | null | game/languageenums/message.py | leonfers/thecipherbot | 14a5a5abb6a449cf350932a6c5798b4abf80e2ef | [
"CC0-1.0"
] | 12 | 2020-03-24T18:11:18.000Z | 2022-01-13T02:11:51.000Z | game/languageenums/message.py | leonfers/thecipherbot | 14a5a5abb6a449cf350932a6c5798b4abf80e2ef | [
"CC0-1.0"
] | null | null | null | from enum import Enum
class Message(Enum):
ENTER = "enter_message"
ENTER_TERRITORY = "enter_territory_message"
ENTER_TERRITORY_LEAVE = "enter_territory_leave_message"
START = "start_message"
OVERVIEW_INTRO = "overview_intro_message"
OVERVIEW_CONTENT = "overview_content_message"
OVERVIEW_EN... | 39.914286 | 63 | 0.787402 | 169 | 1,397 | 5.91716 | 0.248521 | 0.088 | 0.072 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14388 | 1,397 | 35 | 64 | 39.914286 | 0.83612 | 0 | 0 | 0 | 0 | 0 | 0.461373 | 0.290415 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030303 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
86a1d7fe916cb17c7cf9ecc89f2aef0e9e1db71c | 16,387 | py | Python | windows/systrace/catapult/common/bin/update_chrome_reference_binaries.py | s3q/andrunlook-apy | a19d21a59ac10d641dc0bd84db452b6ecf8c1d5c | [
"Apache-2.0"
] | 7 | 2021-06-02T06:55:50.000Z | 2022-03-29T10:32:33.000Z | common/bin/update_chrome_reference_binaries.py | Keshawnjones/catapult | b226a4b7af31ec65e2c3ae3fcf3f46eb89df28ac | [
"BSD-3-Clause"
] | 7 | 2020-07-19T11:24:45.000Z | 2022-03-02T07:11:57.000Z | common/bin/update_chrome_reference_binaries.py | Keshawnjones/catapult | b226a4b7af31ec65e2c3ae3fcf3f46eb89df28ac | [
"BSD-3-Clause"
] | 1 | 2020-06-02T01:31:18.000Z | 2020-06-02T01:31:18.000Z | #!/usr/bin/env python
#
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Updates the Chrome reference builds.
Usage:
$ /path/to/update_reference_build.py
$ git commit -a
$ git cl upload
"""
impor... | 41.591371 | 80 | 0.644047 | 1,920 | 16,387 | 5.266667 | 0.203646 | 0.015229 | 0.012856 | 0.016614 | 0.23843 | 0.159118 | 0.133307 | 0.115111 | 0.10087 | 0.098695 | 0 | 0.014104 | 0.260145 | 16,387 | 393 | 81 | 41.697201 | 0.819944 | 0.126259 | 0 | 0.201439 | 0 | 0 | 0.195817 | 0.026764 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.043165 | null | null | 0.017986 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
86a294f325c5d42a115a448fa4f74cf31fbf46f2 | 517 | py | Python | solutions/Find First and Last Position of Element in Sorted Array/solution.py | nilax97/leetcode-solutions | d3c12f2b289662d199510e0431e177bbf3cda121 | [
"MIT"
] | 3 | 2021-06-06T22:03:15.000Z | 2021-06-08T08:49:04.000Z | solutions/Find First and Last Position of Element in Sorted Array/solution.py | nilax97/leetcode-solutions | d3c12f2b289662d199510e0431e177bbf3cda121 | [
"MIT"
] | null | null | null | solutions/Find First and Last Position of Element in Sorted Array/solution.py | nilax97/leetcode-solutions | d3c12f2b289662d199510e0431e177bbf3cda121 | [
"MIT"
] | null | null | null | class Solution:
def searchRange(self, nums: List[int], target: int) -> List[int]:
def search(lo, hi):
if nums[lo] == target == nums[hi]:
return [lo, hi]
if nums[lo] <= target <= nums[hi]:
mid = (lo + hi) // 2
l, r = search(lo, mid), sea... | 36.928571 | 69 | 0.439072 | 74 | 517 | 3.067568 | 0.324324 | 0.052863 | 0.052863 | 0.088106 | 0.211454 | 0.211454 | 0.211454 | 0.211454 | 0 | 0 | 0 | 0.038095 | 0.390716 | 517 | 13 | 70 | 39.769231 | 0.68254 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0 | 0 | 0.615385 | 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 | 0 | 0 | 1 | 0 | 0 | 1 |
86a707ead99519e2ce7c5d5328801d88667836c7 | 862 | py | Python | src/colorvector.py | Novice052/colorvector | 26773568963af9af1a288223a3b25adce37c3c0d | [
"MIT"
] | null | null | null | src/colorvector.py | Novice052/colorvector | 26773568963af9af1a288223a3b25adce37c3c0d | [
"MIT"
] | null | null | null | src/colorvector.py | Novice052/colorvector | 26773568963af9af1a288223a3b25adce37c3c0d | [
"MIT"
] | null | null | null | # Generate n colors along a vector
def get_vector(a, b):
"""Given two points (3D), Returns the common vector"""
vector = ((b[0] - a[0]), (b[1] - a[1]), (b[2] - a[2]))
return vector
def get_t(n):
if n <= 2:
return [0, 1]
else:
t = []
for i in range(n):
if i == 0... | 24.628571 | 99 | 0.423434 | 132 | 862 | 2.727273 | 0.242424 | 0.05 | 0.066667 | 0.061111 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053846 | 0.396752 | 862 | 34 | 100 | 25.352941 | 0.638462 | 0.095128 | 0 | 0.259259 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.259259 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
86a81d6b26b0c07b6278f6367f3883e154d3d5d6 | 67,194 | py | Python | src/sage/interfaces/maxima_abstract.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | null | null | null | src/sage/interfaces/maxima_abstract.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | null | null | null | src/sage/interfaces/maxima_abstract.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | 1 | 2020-07-24T12:20:37.000Z | 2020-07-24T12:20:37.000Z | r"""
Abstract interface to Maxima
Maxima is a free GPL'd general purpose computer algebra system
whose development started in 1968 at MIT. It contains symbolic
manipulation algorithms, as well as implementations of special
functions, including elliptic functions and generalized
hypergeometric functions. Moreover, Maxi... | 28.351899 | 173 | 0.501563 | 8,151 | 67,194 | 4.062446 | 0.121089 | 0.029354 | 0.012956 | 0.013197 | 0.376559 | 0.320418 | 0.282185 | 0.24202 | 0.207773 | 0.16939 | 0 | 0.041562 | 0.358693 | 67,194 | 2,369 | 174 | 28.363867 | 0.726863 | 0.045971 | 0 | 0.163043 | 0 | 0.006522 | 0.072987 | 0.003503 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.01087 | 0.030435 | null | null | 0.01087 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
86ada9e7983f40ecc945978189ebf228c56bfcf8 | 2,805 | py | Python | falmer/content/migrations/0022_auto_20180124_1547.py | sussexstudent/services-api | ae735bd9d6177002c3d986e5c19a78102233308f | [
"MIT"
] | 2 | 2017-04-27T19:35:59.000Z | 2017-06-13T16:19:33.000Z | falmer/content/migrations/0022_auto_20180124_1547.py | sussexstudent/falmer | ae735bd9d6177002c3d986e5c19a78102233308f | [
"MIT"
] | 975 | 2017-04-13T11:31:07.000Z | 2022-02-10T07:46:18.000Z | falmer/content/migrations/0022_auto_20180124_1547.py | sussexstudent/services-api | ae735bd9d6177002c3d986e5c19a78102233308f | [
"MIT"
] | 3 | 2018-05-09T06:42:25.000Z | 2020-12-10T18:29:30.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2018-01-24 15:47
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import falmer.content.blocks
import wagtail.core.blocks
import wagtail.core.fields
class Migration(migrations.Migration):
dep... | 48.362069 | 741 | 0.639572 | 293 | 2,805 | 6.010239 | 0.412969 | 0.074957 | 0.096536 | 0.0795 | 0.341283 | 0.309483 | 0.26519 | 0.202726 | 0.139693 | 0 | 0 | 0.015916 | 0.216043 | 2,805 | 57 | 742 | 49.210526 | 0.784902 | 0.024242 | 0 | 0.3 | 1 | 0 | 0.206657 | 0.01902 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.12 | 0 | 0.18 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
86ae9707551e8d3510fe2f23d2862dbbfb00f2c9 | 474 | py | Python | finder.py | jroimartin/androguard_plugins | 1cfb73d7347e1729a8f6ff52e51fd0bfe0081ed2 | [
"BSD-3-Clause"
] | null | null | null | finder.py | jroimartin/androguard_plugins | 1cfb73d7347e1729a8f6ff52e51fd0bfe0081ed2 | [
"BSD-3-Clause"
] | null | null | null | finder.py | jroimartin/androguard_plugins | 1cfb73d7347e1729a8f6ff52e51fd0bfe0081ed2 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
import re
def find_str(d, regexp):
r = re.compile(regexp)
strings = d.get_strings()
for s in strings:
m = r.search(s)
if m != None:
print "[MATCH FOUND] " + s
def find_src(d, regexp):
r = re.compile(regexp)
for c in d.get_classes():
sourc... | 23.7 | 83 | 0.535865 | 72 | 474 | 3.444444 | 0.458333 | 0.056452 | 0.064516 | 0.080645 | 0.362903 | 0.362903 | 0 | 0 | 0 | 0 | 0 | 0.003106 | 0.320675 | 474 | 19 | 84 | 24.947368 | 0.767081 | 0.042194 | 0 | 0.266667 | 0 | 0 | 0.09713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.066667 | null | null | 0.133333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
86afa031cd90a44014c895e0d6fcb1ef582733d5 | 25,720 | py | Python | Lib/site-packages/OCC/AdvApprox.py | JWerbrouck/RWTH_M1_Projekt | 7ae63a2277361fa3273cf0677b297379482b8240 | [
"bzip2-1.0.6"
] | null | null | null | Lib/site-packages/OCC/AdvApprox.py | JWerbrouck/RWTH_M1_Projekt | 7ae63a2277361fa3273cf0677b297379482b8240 | [
"bzip2-1.0.6"
] | 1 | 2022-03-17T16:46:04.000Z | 2022-03-17T16:46:04.000Z | Lib/site-packages/OCC/AdvApprox.py | JWerbrouck/RWTH_M1_Projekt | 7ae63a2277361fa3273cf0677b297379482b8240 | [
"bzip2-1.0.6"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.1
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (3,0,0):
new_instancemethod = lambda func, inst, cls: _AdvApp... | 36.123596 | 730 | 0.712908 | 2,608 | 25,720 | 6.712807 | 0.118482 | 0.077112 | 0.072771 | 0.065974 | 0.680299 | 0.465128 | 0.424116 | 0.407894 | 0.366882 | 0.34272 | 0 | 0.004606 | 0.206493 | 25,720 | 711 | 731 | 36.174402 | 0.853202 | 0.28818 | 0 | 0.315018 | 1 | 0 | 0.021377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0.029304 | 0.069597 | 0.007326 | 0.483516 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
86b3a8b785dc46e751dc5e8b14507f6dc4fbddcb | 25,885 | py | Python | libcloud/test/loadbalancer/test_dimensiondata.py | jimbobhickville/libcloud | bef1f94cbc2029a19a00745d3fc3470d72a23e61 | [
"Apache-2.0"
] | null | null | null | libcloud/test/loadbalancer/test_dimensiondata.py | jimbobhickville/libcloud | bef1f94cbc2029a19a00745d3fc3470d72a23e61 | [
"Apache-2.0"
] | null | null | null | libcloud/test/loadbalancer/test_dimensiondata.py | jimbobhickville/libcloud | bef1f94cbc2029a19a00745d3fc3470d72a23e61 | [
"Apache-2.0"
] | null | null | null | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... | 44.861352 | 159 | 0.676415 | 3,037 | 25,885 | 5.494896 | 0.10405 | 0.083593 | 0.01582 | 0.036913 | 0.77343 | 0.710451 | 0.68714 | 0.660774 | 0.621345 | 0.592402 | 0 | 0.117097 | 0.219084 | 25,885 | 576 | 160 | 44.939236 | 0.708469 | 0.031292 | 0 | 0.524691 | 0 | 0 | 0.187797 | 0.150565 | 0 | 0 | 0 | 0 | 0.213992 | 1 | 0.127572 | false | 0.004115 | 0.024691 | 0.002058 | 0.209877 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
86bbefe96b1c3d1f215b6f1c99308d36e5a57300 | 352 | py | Python | sphinx-autobuild.py | goodking-bq/operation-platform | 6f843eb6e9f2708a53cb71f6503529f8630bb44f | [
"MIT"
] | 1 | 2020-07-06T06:10:09.000Z | 2020-07-06T06:10:09.000Z | sphinx-autobuild.py | goodking-bq/operation-platform | 6f843eb6e9f2708a53cb71f6503529f8630bb44f | [
"MIT"
] | null | null | null | sphinx-autobuild.py | goodking-bq/operation-platform | 6f843eb6e9f2708a53cb71f6503529f8630bb44f | [
"MIT"
] | 6 | 2020-11-04T06:06:53.000Z | 2022-01-27T04:13:09.000Z | #!/root/anaconda3/bin/python
# coding:utf-8
from __future__ import absolute_import, unicode_literals
from sphinx_autobuild import main
import re
import sys
__author__ = "golden"
__date__ = '2017/8/11'
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.argv += ['-p... | 23.466667 | 69 | 0.670455 | 51 | 352 | 4.176471 | 0.686275 | 0.098592 | 0.075117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049669 | 0.142045 | 352 | 14 | 70 | 25.142857 | 0.655629 | 0.113636 | 0 | 0 | 0 | 0 | 0.167742 | 0.074194 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
86be8802ef5a17ce4bcf2cdc71d703b5402ab4b9 | 2,530 | py | Python | client/socket_connection.py | tahmidbintaslim/pyre-check | 59d694f7733d7b160ecaddbe79d5d79cef0e83bc | [
"MIT"
] | null | null | null | client/socket_connection.py | tahmidbintaslim/pyre-check | 59d694f7733d7b160ecaddbe79d5d79cef0e83bc | [
"MIT"
] | null | null | null | client/socket_connection.py | tahmidbintaslim/pyre-check | 59d694f7733d7b160ecaddbe79d5d79cef0e83bc | [
"MIT"
] | null | null | null | # Copyright (c) 2019-present, Facebook, Inc.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import logging
import os
import socket
from types import TracebackType
from typing import BinaryIO, Optional
from . import json_rpc
LOG: logging... | 30.119048 | 86 | 0.624506 | 290 | 2,530 | 5.286207 | 0.37931 | 0.052185 | 0.046967 | 0.046967 | 0.127854 | 0.065232 | 0.065232 | 0.065232 | 0.065232 | 0.065232 | 0 | 0.003263 | 0.273123 | 2,530 | 83 | 87 | 30.481928 | 0.830343 | 0.114625 | 0 | 0.186441 | 0 | 0 | 0.089566 | 0 | 0 | 0 | 0 | 0.012048 | 0 | 1 | 0.169492 | false | 0.033898 | 0.101695 | 0.033898 | 0.372881 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
86bf0acf8d73a1a0b852adc12b11c9808841fda1 | 3,332 | py | Python | Boilermake2018/Lib/site-packages/nltk/book.py | TejPatel98/voice_your_professional_email | 9cc48f7bcd6576a6962711755e5d5d485832128c | [
"CC0-1.0"
] | 69 | 2020-03-31T06:40:17.000Z | 2022-02-25T11:48:18.000Z | Boilermake2018/Lib/site-packages/nltk/book.py | TejPatel98/voice_your_professional_email | 9cc48f7bcd6576a6962711755e5d5d485832128c | [
"CC0-1.0"
] | 11 | 2019-12-26T17:21:03.000Z | 2022-03-21T22:17:07.000Z | Boilermake2018/Lib/site-packages/nltk/book.py | TejPatel98/voice_your_professional_email | 9cc48f7bcd6576a6962711755e5d5d485832128c | [
"CC0-1.0"
] | 28 | 2020-04-15T15:24:17.000Z | 2021-12-26T04:05:02.000Z | # Natural Language Toolkit: Some texts for exploration in chapter 1 of the book
#
# Copyright (C) 2001-2018 NLTK Project
# Author: Steven Bird <stevenbird1@gmail.com>
#
# URL: <http://nltk.org/>
# For license information, see LICENSE.TXT
from __future__ import print_function
from nltk.corpus import (gutenberg, genesis... | 36.217391 | 79 | 0.584634 | 405 | 3,332 | 4.790123 | 0.42716 | 0.037113 | 0.027835 | 0.019588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033635 | 0.170168 | 3,332 | 91 | 80 | 36.615385 | 0.667993 | 0.066927 | 0 | 0.264706 | 0 | 0 | 0.335376 | 0.014511 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.073529 | 0 | 0.102941 | 0.470588 | 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 | 0 | 0 | 0 | 1 | 0 | 1 |
86c4cf9f08b133158d9b47073a9e60acbb9d88bf | 535 | py | Python | services/textAnalytics/flask-cog-services/analytics/mockAnalytics.py | Team-RAVL/civic-qa | cb6d819743d38b2486c0bdbe4a31ec081f3e851a | [
"MIT"
] | 2 | 2021-02-27T19:31:38.000Z | 2021-03-02T03:27:40.000Z | services/textAnalytics/flask-cog-services/analytics/mockAnalytics.py | vivian-hua/civic-qa | cb6d819743d38b2486c0bdbe4a31ec081f3e851a | [
"MIT"
] | 25 | 2021-01-23T00:04:21.000Z | 2021-03-04T23:09:29.000Z | services/textAnalytics/flask-cog-services/analytics/mockAnalytics.py | vivian-hua/civic-qa | cb6d819743d38b2486c0bdbe4a31ec081f3e851a | [
"MIT"
] | null | null | null | import string
# letters, numbers, and space
ALLOWED_CHARS = f"{string.ascii_letters} {string.digits}"
class MockAnalytics:
def __init__(self):
pass
def extract_key_phrases(self, document):
document = self.clean(document[0])
words = document.split(" ")
words.sort(key=lambda wo... | 23.26087 | 57 | 0.6 | 63 | 535 | 4.952381 | 0.587302 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002646 | 0.293458 | 535 | 23 | 58 | 23.26087 | 0.822751 | 0.050467 | 0 | 0 | 0 | 0 | 0.076923 | 0.043393 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0.0625 | 0.0625 | 0 | 0.4375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
86c5c9e3217e8e4feac82319954aa0d0429caccc | 3,310 | py | Python | tools/telemetry/telemetry/page/actions/pinch.py | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-01-25T10:18:18.000Z | 2021-01-23T15:29:56.000Z | tools/telemetry/telemetry/page/actions/pinch.py | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | tools/telemetry/telemetry/page/actions/pinch.py | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:24:13.000Z | 2020-11-04T07:24:13.000Z | # Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
from telemetry.page.actions.gesture_action import GestureAction
from telemetry.page.actions import page_action
class PinchAction(GestureAction):
... | 38.941176 | 79 | 0.661631 | 342 | 3,310 | 6.172515 | 0.374269 | 0.090952 | 0.056845 | 0.070109 | 0.132639 | 0.108006 | 0.108006 | 0.108006 | 0.108006 | 0.055898 | 0 | 0.006012 | 0.246224 | 3,310 | 84 | 80 | 39.404762 | 0.84008 | 0.086707 | 0 | 0.283582 | 0 | 0 | 0.357971 | 0.131256 | 0 | 0 | 0 | 0.011905 | 0 | 1 | 0.059701 | false | 0 | 0.044776 | 0 | 0.134328 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
86c809f2f15ee3347a0306387fd58fd25b2fe787 | 1,050 | py | Python | setup.py | HaiBinh/slack_for_trello | 4a854ab43208498ce5972f60f13bf143ac5ad29c | [
"MIT"
] | 8 | 2015-08-15T03:56:51.000Z | 2017-03-15T03:33:01.000Z | setup.py | underdogio/slack-to-trello | ddd3f4aec56fa82cd0dca0d0e2d46cf07bfb400c | [
"MIT"
] | 3 | 2015-08-17T13:01:05.000Z | 2018-03-19T19:06:55.000Z | setup.py | HaiBinh/slack_for_trello | 4a854ab43208498ce5972f60f13bf143ac5ad29c | [
"MIT"
] | 4 | 2016-02-15T00:30:21.000Z | 2019-09-23T22:49:10.000Z | from setuptools import setup, find_packages
setup(
name='slack_to_trello',
version='1.0.0',
description='Perform Trello actions via slash commands in Slack',
long_description=open('README.rst').read(),
keywords=[
'slack',
'trello'
],
author='Todd Wolfson',
author_email=... | 32.8125 | 84 | 0.638095 | 115 | 1,050 | 5.747826 | 0.617391 | 0.114977 | 0.151286 | 0.051437 | 0.121029 | 0.121029 | 0.121029 | 0.121029 | 0 | 0 | 0 | 0.013317 | 0.213333 | 1,050 | 31 | 85 | 33.870968 | 0.786925 | 0.052381 | 0 | 0 | 0 | 0 | 0.526687 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.035714 | 0 | 0.035714 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
86d0884e49e136fdbe7aa4e8aa71940b06efb50c | 429 | py | Python | django_eveonline_group_states/migrations/0006_auto_20191112_1807.py | KryptedGaming/django-group-states | 2c37ca53604eef5ca77c2bd0c8bce018387e090b | [
"MIT"
] | null | null | null | django_eveonline_group_states/migrations/0006_auto_20191112_1807.py | KryptedGaming/django-group-states | 2c37ca53604eef5ca77c2bd0c8bce018387e090b | [
"MIT"
] | 1 | 2020-11-24T05:01:30.000Z | 2020-12-29T16:09:11.000Z | django_eveonline_group_states/migrations/0006_auto_20191112_1807.py | KryptedGaming/django-eveonline-group-states | 2c37ca53604eef5ca77c2bd0c8bce018387e090b | [
"MIT"
] | null | null | null | # Generated by Django 2.2.4 on 2019-11-12 18:07
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('django_eveonline_group_states', '0005_auto_20191105_1757'),
]
operations = [
migrations.AlterField(
model_name='evegroupstate',
... | 22.578947 | 69 | 0.631702 | 46 | 429 | 5.73913 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100946 | 0.261072 | 429 | 18 | 70 | 23.833333 | 0.731861 | 0.104895 | 0 | 0 | 1 | 0 | 0.191099 | 0.136126 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
86d691294cb5a67977a9d40b81395034f00fd37e | 4,986 | py | Python | akshare/index/index_cni.py | togoon/akshare | acfe2fd0f0e839869efa2dc9c723fa158f0d1127 | [
"MIT"
] | 5 | 2020-09-08T02:51:37.000Z | 2022-03-23T07:43:45.000Z | akshare/index/index_cni.py | Satori-He/akshare | edbf8fc3ff1f029d22990dfb33d5d610458200b7 | [
"MIT"
] | 3 | 2021-01-26T09:31:43.000Z | 2021-12-08T08:31:54.000Z | akshare/index/index_cni.py | Satori-He/akshare | edbf8fc3ff1f029d22990dfb33d5d610458200b7 | [
"MIT"
] | 13 | 2020-07-08T08:48:33.000Z | 2022-03-23T08:37:11.000Z | # -*- coding:utf-8 -*-
# /usr/bin/env python
"""
Date: 2021/6/16 15:18
Desc: 国证指数
http://www.cnindex.com.cn/index.html
"""
import pandas as pd
import requests
def index_cni_all() -> pd.DataFrame:
"""
国证指数-所有指数
http://www.cnindex.com.cn/zh_indices/sese/index.html?act_menu=1&index_type=-1
:return: 国证指数-... | 23.299065 | 83 | 0.532692 | 587 | 4,986 | 4.301533 | 0.195911 | 0.071287 | 0.066535 | 0.067327 | 0.721188 | 0.70297 | 0.607129 | 0.531485 | 0.531485 | 0.484752 | 0 | 0.032891 | 0.304854 | 4,986 | 213 | 84 | 23.408451 | 0.695615 | 0.19274 | 0 | 0.653333 | 0 | 0 | 0.180942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.013333 | 0 | 0.08 | 0.033333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
86d7bfe707d7a3df227d4f226c0535b0e4d50abe | 7,257 | py | Python | homecontrol/auth/login_flows/__init__.py | lennart-k/HomeControl | ee630d3ebf96d5b1d2055487d49968bdbb93d5b9 | [
"MIT"
] | 7 | 2018-11-02T07:59:23.000Z | 2021-11-30T10:03:54.000Z | homecontrol/auth/login_flows/__init__.py | lennart-k/HomeControl | ee630d3ebf96d5b1d2055487d49968bdbb93d5b9 | [
"MIT"
] | 5 | 2019-05-27T16:48:31.000Z | 2019-09-06T21:04:14.000Z | homecontrol/auth/login_flows/__init__.py | lennart-k/HomeControl | ee630d3ebf96d5b1d2055487d49968bdbb93d5b9 | [
"MIT"
] | 4 | 2019-07-31T13:31:13.000Z | 2021-02-28T02:16:47.000Z | """Provides login flows"""
import uuid
from functools import partial
from typing import Callable, Optional, cast
import bcrypt
import voluptuous as vol
from .. import AuthManager
from ..credential_provider import PasswordCredentialProvider
from ..models import User
# pylint: disable=redefined-builtin,invalid-name
... | 30.364017 | 78 | 0.587019 | 857 | 7,257 | 4.791132 | 0.162194 | 0.02338 | 0.032879 | 0.019484 | 0.23624 | 0.129566 | 0.099367 | 0.099367 | 0.064296 | 0.064296 | 0 | 0.00181 | 0.314868 | 7,257 | 238 | 79 | 30.491597 | 0.824014 | 0.063938 | 0 | 0.17341 | 0 | 0 | 0.043819 | 0.009225 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057803 | false | 0.080925 | 0.046243 | 0 | 0.271676 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
86da17ef748ef7895bf63f10159af59d13d9e785 | 381 | py | Python | io.py | PRASAD-DANGARE/PYTHON | 36214f7dc3762d327e5a29e40752edeb098249c8 | [
"MIT"
] | 1 | 2021-06-07T07:55:28.000Z | 2021-06-07T07:55:28.000Z | io.py | PRASAD-DANGARE/PYTHON | 36214f7dc3762d327e5a29e40752edeb098249c8 | [
"MIT"
] | null | null | null | io.py | PRASAD-DANGARE/PYTHON | 36214f7dc3762d327e5a29e40752edeb098249c8 | [
"MIT"
] | null | null | null | '''
Description : Use Of Basic Input / Output
Function Date : 07 Feb 2021
Function Author : Prasad Dangare
Input : Str
Output : --
'''
print("Enter One Number") # to display on screen
no = input() # to accept the standard input device ie keyword
print ("Your Number Is :... | 27.214286 | 62 | 0.598425 | 50 | 381 | 4.56 | 0.7 | 0.070175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022642 | 0.304462 | 381 | 13 | 63 | 29.307692 | 0.837736 | 0.608924 | 0 | 0 | 0 | 0 | 0.496063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 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 | 0 | 0 | 0 | 1 | 0 | 1 |
86dba953e479204257b360ad1bcb7f4703f48b55 | 1,389 | py | Python | code/_init_stuff.py | TheShadow29/vognet-pytorch | 238e93c37cf9f03a2fd376a14760bb3d334a113d | [
"MIT"
] | 70 | 2020-03-25T00:58:59.000Z | 2022-03-29T08:56:57.000Z | code/_init_stuff.py | TheShadow29/vognet-pytorch | 238e93c37cf9f03a2fd376a14760bb3d334a113d | [
"MIT"
] | 7 | 2020-04-05T03:12:51.000Z | 2022-03-04T12:10:44.000Z | code/_init_stuff.py | TheShadow29/vognet-pytorch | 238e93c37cf9f03a2fd376a14760bb3d334a113d | [
"MIT"
] | 8 | 2020-03-25T12:41:59.000Z | 2021-11-13T06:28:43.000Z | """
Initialize stuff
"""
import pdb
from pathlib import Path
from typing import List, Dict, Any, Union
from yacs.config import CfgNode as CN
import numpy as np
import torch
from torch.utils.data import Dataset, DataLoader
import os
import sys
import yaml
import re
import pandas as pd
Fpath = Union[Path, str]
Cft = CN... | 24.803571 | 67 | 0.594672 | 203 | 1,389 | 4.009852 | 0.522167 | 0.031941 | 0.03317 | 0.039312 | 0.035627 | 0.034398 | 0.034398 | 0.034398 | 0.034398 | 0.034398 | 0 | 0.039356 | 0.195104 | 1,389 | 55 | 68 | 25.254545 | 0.68873 | 0.211663 | 0 | 0 | 0 | 0.027778 | 0.292844 | 0.221281 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0 | 0.333333 | 0 | 0.388889 | 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 | 0 | 0 | 0 | 0 | 1 |
86dcc1de74c6a1fd0e34c0001a23e80ddfdf5f21 | 11,489 | py | Python | tests/test_socket.py | drdaeman/python-engineio | 41aa69b811b39c4774b31424deaa5a5cf8c259b5 | [
"MIT"
] | 1 | 2015-08-11T15:20:06.000Z | 2015-08-11T15:20:06.000Z | tests/test_socket.py | drdaeman/python-engineio | 41aa69b811b39c4774b31424deaa5a5cf8c259b5 | [
"MIT"
] | null | null | null | tests/test_socket.py | drdaeman/python-engineio | 41aa69b811b39c4774b31424deaa5a5cf8c259b5 | [
"MIT"
] | 1 | 2021-08-10T08:24:40.000Z | 2021-08-10T08:24:40.000Z | import time
import unittest
import six
if six.PY3:
from unittest import mock
else:
import mock
from engineio import packet
from engineio import payload
from engineio import socket
class TestSocket(unittest.TestCase):
def _get_mock_server(self):
mock_server = mock.Mock()
mock_server.ping_... | 39.4811 | 77 | 0.629124 | 1,424 | 11,489 | 4.833567 | 0.106039 | 0.130757 | 0.075839 | 0.057533 | 0.766672 | 0.691995 | 0.650879 | 0.622258 | 0.610199 | 0.598286 | 0 | 0.00557 | 0.249978 | 11,489 | 290 | 78 | 39.617241 | 0.793199 | 0 | 0 | 0.587786 | 0 | 0 | 0.045435 | 0 | 0 | 0 | 0 | 0 | 0.152672 | 0 | null | null | 0 | 0.045802 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
86de6bb9932a9d02b00d9f5131bea4148f9fe19c | 13,810 | py | Python | faulty_device_cleanup.py | Vnet-as/vnx-faulty-device-cleanup | a5a93f4fcaf5bc67c56d046e0dd1d82ae20b8e03 | [
"Apache-2.0"
] | null | null | null | faulty_device_cleanup.py | Vnet-as/vnx-faulty-device-cleanup | a5a93f4fcaf5bc67c56d046e0dd1d82ae20b8e03 | [
"Apache-2.0"
] | null | null | null | faulty_device_cleanup.py | Vnet-as/vnx-faulty-device-cleanup | a5a93f4fcaf5bc67c56d046e0dd1d82ae20b8e03 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Copyright (c) 2014 - 2015 EMC Corporation, Inc.
# Copyright (c) 2016 Federal University of Sao Carlos
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of ... | 39.798271 | 84 | 0.574222 | 1,749 | 13,810 | 4.308748 | 0.228702 | 0.053079 | 0.024151 | 0.019108 | 0.23129 | 0.171311 | 0.136545 | 0.108148 | 0.075902 | 0.067144 | 0 | 0.028797 | 0.331137 | 13,810 | 346 | 85 | 39.913295 | 0.787052 | 0.188704 | 0 | 0.114537 | 0 | 0.004405 | 0.133575 | 0.012752 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.066079 | null | null | 0.061674 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
86e30b469fba5bc4d3d799ee635a7d360cfc42a9 | 6,959 | py | Python | sdk/luminesce/models/background_query_cancel_response.py | finbourne/luminesce-sdk-python-preview | 7af198cfa9c0fbd619272fb90601162fb7db0a67 | [
"MIT"
] | null | null | null | sdk/luminesce/models/background_query_cancel_response.py | finbourne/luminesce-sdk-python-preview | 7af198cfa9c0fbd619272fb90601162fb7db0a67 | [
"MIT"
] | null | null | null | sdk/luminesce/models/background_query_cancel_response.py | finbourne/luminesce-sdk-python-preview | 7af198cfa9c0fbd619272fb90601162fb7db0a67 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
FINBOURNE Honeycomb Web API
FINBOURNE Technology # noqa: E501
The version of the OpenAPI document: 1.9.129
Contact: info@finbourne.com
Generated by: https://openapi-generator.tech
"""
try:
from inspect import getfullargspec
except ImportError:
from inspect import ge... | 30.256522 | 141 | 0.619486 | 732 | 6,959 | 5.711749 | 0.192623 | 0.038508 | 0.133939 | 0.111935 | 0.420474 | 0.307582 | 0.267879 | 0.172208 | 0.028701 | 0.028701 | 0 | 0.011673 | 0.298319 | 6,959 | 229 | 142 | 30.388646 | 0.844563 | 0.328927 | 0 | 0.103774 | 1 | 0 | 0.065425 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.141509 | false | 0 | 0.066038 | 0 | 0.377358 | 0.018868 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
86e4ab982faa541c2f2ea7bca58b47ffbbad3f3a | 244 | py | Python | setup.py | stepan-perlov/las-parser | ed0c5e725e84b0b68b4431ef1b1281e8d5542edf | [
"MIT"
] | null | null | null | setup.py | stepan-perlov/las-parser | ed0c5e725e84b0b68b4431ef1b1281e8d5542edf | [
"MIT"
] | 2 | 2018-02-23T20:13:12.000Z | 2018-03-04T14:14:57.000Z | setup.py | stepan-perlov/las-parser | ed0c5e725e84b0b68b4431ef1b1281e8d5542edf | [
"MIT"
] | 3 | 2018-10-02T05:29:59.000Z | 2021-04-14T03:48:36.000Z | #!/usr/bin/env python
from distutils.core import setup
setup(
name="Las Parser",
version="1.2",
description="Parsed data in las file",
author="Perlov Stepan",
author_email="stepanperlov@gmail.com",
packages=["lasp"]
)
| 18.769231 | 42 | 0.663934 | 32 | 244 | 5.03125 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.188525 | 244 | 12 | 43 | 20.333333 | 0.80303 | 0.081967 | 0 | 0 | 0 | 0 | 0.336323 | 0.098655 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
86e52886180708223a577b60fb074470bee65ad6 | 20,982 | py | Python | sphinx_toolbox/more_autosummary/__init__.py | arisp99/sphinx-toolbox | 2987080e2d65c0dd2d392dcf7f1f5a904a9231f5 | [
"MIT"
] | 30 | 2021-03-01T00:15:55.000Z | 2022-03-01T13:23:59.000Z | sphinx_toolbox/more_autosummary/__init__.py | arisp99/sphinx-toolbox | 2987080e2d65c0dd2d392dcf7f1f5a904a9231f5 | [
"MIT"
] | 56 | 2020-12-17T12:39:04.000Z | 2022-03-21T19:00:55.000Z | sphinx_toolbox/more_autosummary/__init__.py | arisp99/sphinx-toolbox | 2987080e2d65c0dd2d392dcf7f1f5a904a9231f5 | [
"MIT"
] | 4 | 2021-07-04T16:57:52.000Z | 2022-03-21T19:35:31.000Z | #!/usr/bin/env python3
#
# __init__.py
r"""
Extensions to :mod:`sphinx.ext.autosummary`.
Provides an enhanced version of https://autodocsumm.readthedocs.io/
which respects the autodoc ``member-order`` option.
This can be given for an individual directive, in the
`autodoc_member_order <https://www.sphinx-doc.org/en/ma... | 31.647059 | 121 | 0.720999 | 2,803 | 20,982 | 5.27756 | 0.222262 | 0.01859 | 0.00649 | 0.00676 | 0.224701 | 0.168458 | 0.135064 | 0.119719 | 0.106604 | 0.096329 | 0 | 0.006372 | 0.177247 | 20,982 | 662 | 122 | 31.694864 | 0.850489 | 0.48513 | 0 | 0.20915 | 0 | 0 | 0.091541 | 0.022329 | 0 | 0 | 0 | 0.02568 | 0.003268 | 1 | 0.035948 | false | 0.003268 | 0.078431 | 0 | 0.186275 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.