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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
58b39d610eae8b36afa5ec0f450ede4efe4c78d4 | 342 | py | Python | blog/views.py | artkapl/django-blog-project | 16494465042dd6846f3a2cd560c0cfe7737cc8e0 | [
"MIT"
] | null | null | null | blog/views.py | artkapl/django-blog-project | 16494465042dd6846f3a2cd560c0cfe7737cc8e0 | [
"MIT"
] | null | null | null | blog/views.py | artkapl/django-blog-project | 16494465042dd6846f3a2cd560c0cfe7737cc8e0 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from .models import Post
def home(request):
context = {
'posts': Post.objects.all()
}
return render(request=request, template_name='blog/home.html', context=context)
def about(request):
return render(request=request, template_name='blog/about.html', contex... | 24.428571 | 95 | 0.701754 | 43 | 342 | 5.534884 | 0.488372 | 0.10084 | 0.159664 | 0.218487 | 0.352941 | 0.352941 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0.160819 | 342 | 13 | 96 | 26.307692 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0.128655 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
58ba74567e6fec0a65ad5136fbd9ca609c0ebda8 | 416 | py | Python | Python/6 - kyu/6 kyu - Detect Pangram.py | danielbom/codewars | d45b5a813c6f1d952a50d22f0b2fcea4ef3d0e27 | [
"MIT"
] | null | null | null | Python/6 - kyu/6 kyu - Detect Pangram.py | danielbom/codewars | d45b5a813c6f1d952a50d22f0b2fcea4ef3d0e27 | [
"MIT"
] | null | null | null | Python/6 - kyu/6 kyu - Detect Pangram.py | danielbom/codewars | d45b5a813c6f1d952a50d22f0b2fcea4ef3d0e27 | [
"MIT"
] | null | null | null | # https://www.codewars.com/kata/detect-pangram/train/python
# My solution
import string
def is_pangram(text):
return len( {letter.lower() for letter in text if letter.isalpha()} ) == 26
# ...
import string
def is_pangram(s):
return set(string.lowercase) <= set(s.lower())
# ...
import string
def i... | 23.111111 | 80 | 0.658654 | 61 | 416 | 4.442623 | 0.47541 | 0.132841 | 0.166052 | 0.188192 | 0.273063 | 0.184502 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0.201923 | 416 | 17 | 81 | 24.470588 | 0.810241 | 0.185096 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.3 | 0.2 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
58d1b1562239fddc199cba78a4c7fd5ac432e0af | 102 | py | Python | src/mtvs/__init__.py | digsim/mtvs | d89d12d4cd65eafe732226e588a54874123db7f4 | [
"Apache-2.0"
] | 2 | 2017-11-19T05:51:31.000Z | 2020-01-22T08:12:53.000Z | src/mtvs/__init__.py | digsim/mtvs | d89d12d4cd65eafe732226e588a54874123db7f4 | [
"Apache-2.0"
] | 3 | 2015-12-03T00:34:46.000Z | 2016-01-04T15:49:14.000Z | src/mtvs/__init__.py | digsim/missingTvShows | f17660dc965c7a6eef1b0cfad9577d62087cba56 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import pkg_resources
__version__ = pkg_resources.require("mtvs")[0].version
| 17 | 54 | 0.705882 | 13 | 102 | 5.076923 | 0.769231 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.117647 | 102 | 5 | 55 | 20.4 | 0.711111 | 0.205882 | 0 | 0 | 0 | 0 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
58fae9bfd3e0a20200a7b3dc48f407ee12665c55 | 246 | py | Python | import_new_tournaments/process_hh_files/process/hands/extract/position_info/extract_stack_from_seat_line.py | michaelcukier/Poker-Hand-Tracker | 9adae42fab9f640e6939ba06bd588ab1a2feb90f | [
"MIT"
] | 5 | 2021-02-28T18:33:02.000Z | 2022-03-12T01:43:40.000Z | import_new_tournaments/process_hh_files/process/hands/extract/position_info/extract_stack_from_seat_line.py | michaelcukier/Poker-Hand-Tracker | 9adae42fab9f640e6939ba06bd588ab1a2feb90f | [
"MIT"
] | null | null | null | import_new_tournaments/process_hh_files/process/hands/extract/position_info/extract_stack_from_seat_line.py | michaelcukier/Poker-Hand-Tracker | 9adae42fab9f640e6939ba06bd588ab1a2feb90f | [
"MIT"
] | 2 | 2021-03-01T03:08:04.000Z | 2021-12-31T17:53:46.000Z | def extract_stack_from_seat_line(seat_line: str) -> float or None:
# Seat 3: PokerPete24 (40518.00)
if 'will be allowed to play after the button' in seat_line:
return None
return float(seat_line.split(' (')[1].split(')')[0])
| 35.142857 | 66 | 0.670732 | 39 | 246 | 4.051282 | 0.717949 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060914 | 0.199187 | 246 | 6 | 67 | 41 | 0.741117 | 0.121951 | 0 | 0 | 0 | 0 | 0.200935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
58fc01c36853b26f8562e022eac13585ff61105f | 69 | py | Python | nbviewerbot/__main__.py | JohnPaton/nbviewerbot | a9564655ba041e53db9a6916fb424e9582704321 | [
"MIT"
] | 7 | 2018-08-06T20:02:13.000Z | 2021-04-12T06:04:46.000Z | nbviewerbot/__main__.py | JohnPaton/nbviewerbot | a9564655ba041e53db9a6916fb424e9582704321 | [
"MIT"
] | 5 | 2018-09-13T20:53:32.000Z | 2021-03-31T18:55:48.000Z | nbviewerbot/__main__.py | JohnPaton/nbviewerbot | a9564655ba041e53db9a6916fb424e9582704321 | [
"MIT"
] | null | null | null | import nbviewerbot
if __name__ == "__main__":
nbviewerbot.cli()
| 13.8 | 26 | 0.710145 | 7 | 69 | 5.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 4 | 27 | 17.25 | 0.719298 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
45168a0a61e3273b57493bda1e9d073423e6c698 | 8,105 | py | Python | tests/hahm/test_config_flow.py | Voxxie/custom_homematic | d199f1fcc565febe42e686198a9eb33ef4d755f6 | [
"MIT"
] | null | null | null | tests/hahm/test_config_flow.py | Voxxie/custom_homematic | d199f1fcc565febe42e686198a9eb33ef4d755f6 | [
"MIT"
] | null | null | null | tests/hahm/test_config_flow.py | Voxxie/custom_homematic | d199f1fcc565febe42e686198a9eb33ef4d755f6 | [
"MIT"
] | null | null | null | """Test the HaHomematic config flow."""
from typing import Any
from unittest.mock import patch
from homeassistant import config_entries
from homeassistant.components.hahm.config_flow import (
ATTR_BICDOS_RF_ENABLED,
ATTR_BICDOS_RF_PORT,
ATTR_HMIP_RF_ENABLED,
ATTR_HOST,
ATTR_HS485D_ENABLED,
ATTR... | 33.217213 | 84 | 0.664405 | 996 | 8,105 | 5.067269 | 0.109438 | 0.041213 | 0.04042 | 0.049931 | 0.732118 | 0.721617 | 0.702199 | 0.702199 | 0.668516 | 0.659402 | 0 | 0.01621 | 0.238865 | 8,105 | 243 | 85 | 33.353909 | 0.801913 | 0.004072 | 0 | 0.535354 | 0 | 0 | 0.090492 | 0.039383 | 0 | 0 | 0 | 0 | 0.227273 | 1 | 0 | false | 0.030303 | 0.035354 | 0 | 0.040404 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
45278aea9c424ae5e3cd32a1bd843d89d29dbea4 | 156 | py | Python | project euler/q2.py | milkmeat/thomas | fbc72af34267488d931a4885d4e19fce22fea582 | [
"MIT"
] | null | null | null | project euler/q2.py | milkmeat/thomas | fbc72af34267488d931a4885d4e19fce22fea582 | [
"MIT"
] | null | null | null | project euler/q2.py | milkmeat/thomas | fbc72af34267488d931a4885d4e19fce22fea582 | [
"MIT"
] | null | null | null | l=[0]*100
l[0]=1
l[1]=2
for x in range (2,100):
l[x]=l[x-1]+l[x-2]
#print l
f=0
for c in l:
if c%2==0 and c<4000000:
f=f+c
print f | 14.181818 | 29 | 0.474359 | 43 | 156 | 1.72093 | 0.348837 | 0.081081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.307692 | 156 | 11 | 30 | 14.181818 | 0.462963 | 0.044872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
189105da68157256feb66cf959f48a9d4b0c8a3a | 51 | py | Python | tests/development/destination/gcs/test_delete_bucket.py | denssk/backup | 292d5f1b1a3765ce0ea8d3cab8bd1ae0c583f72e | [
"Apache-2.0"
] | 69 | 2016-06-29T16:13:55.000Z | 2022-03-21T06:38:37.000Z | tests/development/destination/gcs/test_delete_bucket.py | denssk/backup | 292d5f1b1a3765ce0ea8d3cab8bd1ae0c583f72e | [
"Apache-2.0"
] | 237 | 2016-09-28T02:12:34.000Z | 2022-03-25T13:32:23.000Z | tests/development/destination/gcs/test_delete_bucket.py | denssk/backup | 292d5f1b1a3765ce0ea8d3cab8bd1ae0c583f72e | [
"Apache-2.0"
] | 45 | 2017-01-04T21:20:27.000Z | 2021-12-29T10:42:22.000Z | def test_delete_bucket(gs):
gs.delete_bucket()
| 17 | 27 | 0.745098 | 8 | 51 | 4.375 | 0.625 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 51 | 2 | 28 | 25.5 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
18b566b173e3af542df61de7dc132ac1fb281305 | 231 | py | Python | tests/WebkitGtkDriverBenchmarkTest.py | hiroshitoda/WebDriverBenchmark.py | 74b643b9f299436ef6fb50741a60f04c0c69cf8c | [
"Apache-2.0"
] | null | null | null | tests/WebkitGtkDriverBenchmarkTest.py | hiroshitoda/WebDriverBenchmark.py | 74b643b9f299436ef6fb50741a60f04c0c69cf8c | [
"Apache-2.0"
] | null | null | null | tests/WebkitGtkDriverBenchmarkTest.py | hiroshitoda/WebDriverBenchmark.py | 74b643b9f299436ef6fb50741a60f04c0c69cf8c | [
"Apache-2.0"
] | null | null | null | import unittest
from selenium import webdriver
from tests import Base
class WebKitGTKDriverBenchmarkTest(Base.Base):
def getDriver(self):
return webdriver.WebKitGTK()
if __name__ == "__main__":
unittest.main()
| 16.5 | 46 | 0.74026 | 25 | 231 | 6.52 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 231 | 13 | 47 | 17.769231 | 0.862434 | 0 | 0 | 0 | 0 | 0 | 0.034632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
18d67d5d9fabdd711ac5fef81a528edb66bc9e9b | 136 | py | Python | lms_python/lms_app/admin.py | gabrielmdsantos/LMSBD | dff3001a560f8cccb938957bf2d5732d4ae3d163 | [
"Apache-2.0"
] | null | null | null | lms_python/lms_app/admin.py | gabrielmdsantos/LMSBD | dff3001a560f8cccb938957bf2d5732d4ae3d163 | [
"Apache-2.0"
] | null | null | null | lms_python/lms_app/admin.py | gabrielmdsantos/LMSBD | dff3001a560f8cccb938957bf2d5732d4ae3d163 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from lms_app.models import Professor
admin.site.register(Professor)
# Register your models here.
| 22.666667 | 37 | 0.794118 | 19 | 136 | 5.631579 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 136 | 5 | 38 | 27.2 | 0.922414 | 0.191176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
18d91850121d98d86b712bda14df3f044488a26e | 479 | py | Python | Exercício feitos pela primeira vez/ex004colorido.py | Claayton/pythonExerciciosLinux | 696cdb16983638418bd0d0d4fe44dc72662b9c97 | [
"MIT"
] | 1 | 2021-01-23T15:43:34.000Z | 2021-01-23T15:43:34.000Z | Exercício feitos pela primeira vez/ex004colorido.py | Claayton/pythonExerciciosLinux | 696cdb16983638418bd0d0d4fe44dc72662b9c97 | [
"MIT"
] | null | null | null | Exercício feitos pela primeira vez/ex004colorido.py | Claayton/pythonExerciciosLinux | 696cdb16983638418bd0d0d4fe44dc72662b9c97 | [
"MIT"
] | null | null | null | #Ex004b
algo = (input('\033[34m''Digite algo: ''\033[m'))
print('São letras ou palavras?: \033[33m{}\033[m'.format(algo.isalpha()))
print('Está em maiúsculo?: \033[34m{}\033[m'.format(algo.isupper()))
print('Está em minúsculo?: \033[35m{}\033[m'.format(algo.islower()))
print('Está captalizada?: \033[36m{}\033[m'.format... | 47.9 | 73 | 0.668058 | 76 | 479 | 4.210526 | 0.460526 | 0.0875 | 0.1875 | 0.2625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131403 | 0.06263 | 479 | 9 | 74 | 53.222222 | 0.581292 | 0.012526 | 0 | 0 | 0 | 0 | 0.504237 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.875 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
18e8661bfba7a01963831fc9dac3f2b59f8ea633 | 2,074 | py | Python | examples/set_holidaydates.py | ultratolido/ekmmetters | e15325023262e228b4dc037021c28a8d2b9b9b03 | [
"MIT"
] | null | null | null | examples/set_holidaydates.py | ultratolido/ekmmetters | e15325023262e228b4dc037021c28a8d2b9b9b03 | [
"MIT"
] | null | null | null | examples/set_holidaydates.py | ultratolido/ekmmetters | e15325023262e228b4dc037021c28a8d2b9b9b03 | [
"MIT"
] | null | null | null | """ Simple example set holiday dates
(c) 2016 EKM Metering.
"""
import random
from ekmmeters import *
#port setup
my_port_name = "COM3"
my_meter_address = "300001162"
#log to console
ekm_set_log(ekm_print_log)
# init port and meter
port = SerialPort(my_port_name)
if (port.initPort() == True):
my_meter = V4Meter(... | 27.289474 | 49 | 0.747348 | 350 | 2,074 | 4.031429 | 0.222857 | 0.238129 | 0.42523 | 0.317505 | 0.54146 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067103 | 0.116201 | 2,074 | 76 | 50 | 27.289474 | 0.702673 | 0.045323 | 0 | 0 | 0 | 0 | 0.332985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.032787 | null | null | 0.04918 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
18ea8109933fbbfe2b0922e33bce91ae934e86e1 | 2,010 | py | Python | StateTracing/tester_helper.py | junchenfeng/diagnosis_tracing | 4e26e2ad0c7abc547f22774b6c9c299999a152c3 | [
"MIT"
] | null | null | null | StateTracing/tester_helper.py | junchenfeng/diagnosis_tracing | 4e26e2ad0c7abc547f22774b6c9c299999a152c3 | [
"MIT"
] | null | null | null | StateTracing/tester_helper.py | junchenfeng/diagnosis_tracing | 4e26e2ad0c7abc547f22774b6c9c299999a152c3 | [
"MIT"
] | 1 | 2020-09-08T13:42:16.000Z | 2020-09-08T13:42:16.000Z | # -*- coding: utf-8 -*-
import numpy as np
from torch import load as Tload
from torch import tensor
from dataloader import read_data,DataLoader,load_init
from cdkt import CDKT
if 'model' not in dir():
model = CDKT()
model.load_state_dict(Tload('model.pkl'))
#
inits = load_init()
data = """0... | 35.892857 | 60 | 0.783085 | 152 | 2,010 | 10.322368 | 0.506579 | 0.011472 | 0.01912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.728733 | 0.163682 | 2,010 | 56 | 60 | 35.892857 | 0.20464 | 0.346269 | 0 | 0.064516 | 0 | 0 | 0.597905 | 0.493151 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.16129 | 0 | 0.16129 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7a1607febbd34072033d2922ea13752164e46320 | 357 | py | Python | src/__init__.py | w9PcJLyb/GFootball | b271238bd0dc922787a0a9b984a8ae598cea2b2b | [
"Apache-2.0"
] | null | null | null | src/__init__.py | w9PcJLyb/GFootball | b271238bd0dc922787a0a9b984a8ae598cea2b2b | [
"Apache-2.0"
] | null | null | null | src/__init__.py | w9PcJLyb/GFootball | b271238bd0dc922787a0a9b984a8ae598cea2b2b | [
"Apache-2.0"
] | null | null | null | from .board import Board
from .slide import slide_action
from .corner import corner_action
from .control import control_action
from .penalty import penalty_action
from .throwin import throwin_action
from .kickoff import kickoff_action
from .goalkick import goalkick_action
from .freekick import freekick_action
from .wit... | 32.454545 | 45 | 0.859944 | 51 | 357 | 5.803922 | 0.27451 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112045 | 357 | 10 | 46 | 35.7 | 0.933754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7a1eab82419109b15e6baf92f1df08cd9c6fa14b | 856 | py | Python | class_exercises/using_numpy.py | Eddz7/astr-19 | 380c6b45762e0207cd6c237fa28a4d796b1aef94 | [
"MIT"
] | null | null | null | class_exercises/using_numpy.py | Eddz7/astr-19 | 380c6b45762e0207cd6c237fa28a4d796b1aef94 | [
"MIT"
] | 1 | 2022-03-31T17:57:17.000Z | 2022-03-31T17:57:17.000Z | class_exercises/using_numpy.py | Eddz7/astr-19 | 380c6b45762e0207cd6c237fa28a4d796b1aef94 | [
"MIT"
] | null | null | null | import numpy as np
x = 1.0 #define a float
y = 2.0 #define another float
#trigonometry
print(f"np.sin({x}) = {np.sin(x)}") #sin(x)
print(f"np.cos({x}) = {np.cos(x)}") #cos(x)
print(f"np.tan({x}) = {np.tan(x)}") #tan(x)
print(f"np.arcsin({x}) = {np.arcsin(x)}") #arcsin(x)
print(f"np.arccos({x}) = {np.arccos(x)... | 40.761905 | 67 | 0.580607 | 163 | 856 | 3.04908 | 0.220859 | 0.169014 | 0.225352 | 0.199195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010568 | 0.115654 | 856 | 21 | 68 | 40.761905 | 0.645971 | 0.226636 | 0 | 0 | 0 | 0 | 0.6656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0.823529 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e12ea6090b7a3fc25058fb7f99f94d6f336e2f07 | 17,628 | py | Python | docs/pyqbdi.py | pbrunet/QBDI | 39a936b2efd000f0c5def0a8ea27538d7d5fab47 | [
"Apache-2.0"
] | 1 | 2019-10-01T08:32:41.000Z | 2019-10-01T08:32:41.000Z | docs/pyqbdi.py | pbrunet/QBDI | 39a936b2efd000f0c5def0a8ea27538d7d5fab47 | [
"Apache-2.0"
] | null | null | null | docs/pyqbdi.py | pbrunet/QBDI | 39a936b2efd000f0c5def0a8ea27538d7d5fab47 | [
"Apache-2.0"
] | null | null | null | # This file is only used to generate documentation
# VM class
class vm():
def getGPRState():
"""Obtain the current general purpose register state.
:returns: GPRState (an object containing the GPR state).
"""
pass
def getFPRState():
"""Obtain the current floating p... | 35.90224 | 271 | 0.645677 | 2,219 | 17,628 | 5.107256 | 0.169896 | 0.024089 | 0.032119 | 0.020118 | 0.501015 | 0.487779 | 0.469073 | 0.447896 | 0.427424 | 0.398306 | 0 | 0.002021 | 0.270082 | 17,628 | 490 | 272 | 35.97551 | 0.87876 | 0.579986 | 0 | 0.370079 | 1 | 0 | 0 | 0 | 0 | 0 | 0.001773 | 0 | 0 | 1 | 0.322835 | false | 0.322835 | 0 | 0 | 0.661417 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
e13042781e2e380894da0aab1c6ec72861b3ce01 | 227 | py | Python | krkbipscraper/settings.py | pawmar/krkbipscraper | f2629bede33930cf91378caa7f2ee5d683cf1616 | [
"BSD-3-Clause"
] | null | null | null | krkbipscraper/settings.py | pawmar/krkbipscraper | f2629bede33930cf91378caa7f2ee5d683cf1616 | [
"BSD-3-Clause"
] | null | null | null | krkbipscraper/settings.py | pawmar/krkbipscraper | f2629bede33930cf91378caa7f2ee5d683cf1616 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""Scrapy settings."""
BOT_NAME = 'krkbipscraper'
SPIDER_MODULES = ['krkbipscraper.spiders']
NEWSPIDER_MODULE = 'krkbipscraper.spiders'
ITEM_PIPELINES = ['krkbipscraper.pipelines.JsonWriterPipeline']
| 22.7 | 63 | 0.744493 | 21 | 227 | 7.857143 | 0.761905 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004878 | 0.096916 | 227 | 9 | 64 | 25.222222 | 0.8 | 0.171806 | 0 | 0 | 0 | 0 | 0.532967 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e13fba4b45b4ccda568c26a9f752c38c0cf1cb17 | 97 | py | Python | venv/lib/python3.8/site-packages/pip/_internal/network/__init__.py | realxwx/leetcode-solve | 3a7d7d8e92a5fd5fecc347d141a1c532b92e763e | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/pip/_internal/network/__init__.py | realxwx/leetcode-solve | 3a7d7d8e92a5fd5fecc347d141a1c532b92e763e | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/pip/_internal/network/__init__.py | realxwx/leetcode-solve | 3a7d7d8e92a5fd5fecc347d141a1c532b92e763e | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2020
# Author: xiaoweixiang
"""Contains purely network-related utilities.
"""
| 16.166667 | 45 | 0.71134 | 10 | 97 | 6.9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.154639 | 97 | 5 | 46 | 19.4 | 0.792683 | 0.876289 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e13fc219ca69c0c1e1bed3ebfc6ec504fbe94731 | 1,153 | py | Python | server/global_config.py | CLG0125/elemesdk | 344466398bad7cf026e082e47c77d3ca98621ef3 | [
"MIT"
] | 1 | 2021-04-03T05:11:29.000Z | 2021-04-03T05:11:29.000Z | server/global_config.py | CLG0125/elemesdk | 344466398bad7cf026e082e47c77d3ca98621ef3 | [
"MIT"
] | null | null | null | server/global_config.py | CLG0125/elemesdk | 344466398bad7cf026e082e47c77d3ca98621ef3 | [
"MIT"
] | null | null | null | class Global:
sand_box = True
app_key = None
# your secret
secret = None
callback_url = None
server_url = None
log = None
def __init__(self, config):
Global.sand_box = config.get_env()
Global.app_key = config.get_app_key()
Global.secret = config.get_secret()... | 20.589286 | 55 | 0.632264 | 139 | 1,153 | 4.920863 | 0.194245 | 0.197368 | 0.236842 | 0.078947 | 0.118421 | 0.118421 | 0 | 0 | 0 | 0 | 0 | 0.001203 | 0.279271 | 1,153 | 56 | 56 | 20.589286 | 0.821901 | 0.00954 | 0 | 0.225 | 0 | 0 | 0.021034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.225 | 0.65 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
e15f893232695e92454619ed0274fe5e5ba282b5 | 101 | py | Python | src/myapp/admin.py | anmquangw/viu-upload-file | bfbff413cc92e454226fced5fe504b7cebc6c102 | [
"MIT"
] | null | null | null | src/myapp/admin.py | anmquangw/viu-upload-file | bfbff413cc92e454226fced5fe504b7cebc6c102 | [
"MIT"
] | 2 | 2020-06-21T01:47:59.000Z | 2020-06-27T12:39:24.000Z | src/myapp/admin.py | sonnhfit/DocShare | 50d9b8c333144780385f970197519ddda61bd502 | [
"MIT"
] | null | null | null | """from django.contrib import admin
from .models import DemoModel
admin.site.register(DemoModel)"""
| 20.2 | 35 | 0.782178 | 13 | 101 | 6.076923 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 101 | 4 | 36 | 25.25 | 0.868132 | 0.930693 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e163903fd0678839e9ef90435028e77dc1cbf097 | 103 | py | Python | src/moredataframes/mdf_core.py | GlorifiedStatistics/MoreDataframes | 147d5b8104d1cbd1cf2836220f43fb6c8ca099b7 | [
"MIT"
] | null | null | null | src/moredataframes/mdf_core.py | GlorifiedStatistics/MoreDataframes | 147d5b8104d1cbd1cf2836220f43fb6c8ca099b7 | [
"MIT"
] | null | null | null | src/moredataframes/mdf_core.py | GlorifiedStatistics/MoreDataframes | 147d5b8104d1cbd1cf2836220f43fb6c8ca099b7 | [
"MIT"
] | null | null | null | """
A collection of useful functions for manipulating/encoding pandas dataframes for data science.
"""
| 25.75 | 94 | 0.786408 | 13 | 103 | 6.230769 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135922 | 103 | 3 | 95 | 34.333333 | 0.910112 | 0.912621 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e16c926aa6450fc30f72e50b4463f6a0fcd7d9ad | 276 | py | Python | venv/Lib/site-packages/numpy/typing/tests/data/fail/lib_utils.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 11 | 2020-06-28T04:30:26.000Z | 2022-03-26T08:40:47.000Z | venv/Lib/site-packages/numpy/typing/tests/data/fail/lib_utils.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 150 | 2019-09-30T11:22:36.000Z | 2021-08-02T06:19:29.000Z | venv/Lib/site-packages/numpy/typing/tests/data/fail/lib_utils.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 20 | 2021-11-07T13:55:56.000Z | 2021-12-02T10:54:01.000Z | import numpy as np
np.deprecate(1) # E: No overload variant
np.deprecate_with_doc(1) # E: incompatible type
np.byte_bounds(1) # E: incompatible type
np.who(1) # E: incompatible type
np.lookfor(None) # E: incompatible type
np.safe_eval(None) # E: incompatible type
| 19.714286 | 48 | 0.721014 | 45 | 276 | 4.333333 | 0.466667 | 0.333333 | 0.435897 | 0.389744 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017467 | 0.17029 | 276 | 13 | 49 | 21.230769 | 0.834061 | 0.460145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e1a1374935fa7cc8ec68a7212a8ba5b8c016fac8 | 2,107 | py | Python | pyob/mixins/pyob_set_label.py | khunspoonzi/pyob | b1b134b708585add15d04fa75001f3364f31dd74 | [
"MIT"
] | null | null | null | pyob/mixins/pyob_set_label.py | khunspoonzi/pyob | b1b134b708585add15d04fa75001f3364f31dd74 | [
"MIT"
] | null | null | null | pyob/mixins/pyob_set_label.py | khunspoonzi/pyob | b1b134b708585add15d04fa75001f3364f31dd74 | [
"MIT"
] | null | null | null | # ┌─────────────────────────────────────────────────────────────────────────────────────
# │ PYOB SET LABEL MIXIN
# └─────────────────────────────────────────────────────────────────────────────────────
class PyObSetLabelMixin:
"""A mixin class for PyOb set label methods"""
# ┌───────────────────────────────... | 36.327586 | 88 | 0.366398 | 172 | 2,107 | 9.168605 | 0.255814 | 0.057705 | 0.235891 | 0.130628 | 0.485732 | 0.148383 | 0.148383 | 0.05707 | 0 | 0 | 0 | 0.000584 | 0.18747 | 2,107 | 57 | 89 | 36.964912 | 0.433995 | 0.613194 | 0 | 0.266667 | 0 | 0 | 0.018205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e1b1b1bf75362e9f77713c3b8bcaddbf1477de81 | 55 | py | Python | Tests/playground.py | mbtaPredict/Main | e1c3320ff08b61355ac96f51be9e20c57372f13b | [
"MIT"
] | null | null | null | Tests/playground.py | mbtaPredict/Main | e1c3320ff08b61355ac96f51be9e20c57372f13b | [
"MIT"
] | null | null | null | Tests/playground.py | mbtaPredict/Main | e1c3320ff08b61355ac96f51be9e20c57372f13b | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
plt.plot()
plt.show() | 11 | 31 | 0.745455 | 9 | 55 | 4.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 5 | 32 | 11 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e1b37b3b7be2be9f06bdec60a631822373a8b7f7 | 185 | py | Python | awards/forms.py | danalvin/Django-IP3 | 6df0adaddf998fd4195b23ee97f81938e741215a | [
"MIT"
] | null | null | null | awards/forms.py | danalvin/Django-IP3 | 6df0adaddf998fd4195b23ee97f81938e741215a | [
"MIT"
] | 4 | 2020-06-05T19:20:59.000Z | 2021-09-08T00:32:49.000Z | awards/forms.py | danalvin/Django-IP3 | 6df0adaddf998fd4195b23ee97f81938e741215a | [
"MIT"
] | null | null | null | from django import forms
from .models import Project
class ProjectForm(forms.ModelForm):
class Meta:
model = Project
exclude = ['profile', 'posted_time', 'user']
| 18.5 | 52 | 0.67027 | 21 | 185 | 5.857143 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232432 | 185 | 9 | 53 | 20.555556 | 0.866197 | 0 | 0 | 0 | 0 | 0 | 0.118919 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e1ba723285119341020fa35acb08aec8be4bb131 | 200 | py | Python | src/resdk/__init__.py | AGregorc/resolwe-bio-py | 62304e5d4c54c917575421701c6977dc63fc3a8f | [
"Apache-2.0"
] | 4 | 2016-09-28T16:00:05.000Z | 2018-08-16T16:14:10.000Z | src/resdk/__init__.py | AGregorc/resolwe-bio-py | 62304e5d4c54c917575421701c6977dc63fc3a8f | [
"Apache-2.0"
] | 229 | 2016-03-28T19:41:00.000Z | 2022-03-16T15:02:15.000Z | src/resdk/__init__.py | AGregorc/resolwe-bio-py | 62304e5d4c54c917575421701c6977dc63fc3a8f | [
"Apache-2.0"
] | 18 | 2016-03-10T16:11:57.000Z | 2021-06-01T10:01:49.000Z | """Resolwe SDK for Python."""
from .collection_tables import CollectionTables # noqa
from .resdk_logger import log_to_stdout, start_logging # noqa
from .resolwe import Resolwe, ResolweQuery # noqa
| 40 | 62 | 0.79 | 26 | 200 | 5.884615 | 0.692308 | 0.104575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135 | 200 | 4 | 63 | 50 | 0.884393 | 0.195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bed0237d9ebc522d5a4384033d2b57c729cc7ede | 39 | py | Python | __init__.py | amueller/information-theoretic-mst | 178fd4396bc9a9a499ec3d18d5047b320a5c32f2 | [
"Unlicense"
] | 20 | 2016-05-03T13:29:09.000Z | 2021-10-06T20:41:36.000Z | __init__.py | amueller/information-theoretic-mst | 178fd4396bc9a9a499ec3d18d5047b320a5c32f2 | [
"Unlicense"
] | 1 | 2018-04-21T15:32:07.000Z | 2020-05-19T00:28:52.000Z | __init__.py | amueller/information-theoretic-mst | 178fd4396bc9a9a499ec3d18d5047b320a5c32f2 | [
"Unlicense"
] | 5 | 2015-04-21T00:27:49.000Z | 2019-02-23T20:46:33.000Z | from itm import ITM
__all__ = ['ITM']
| 9.75 | 19 | 0.666667 | 6 | 39 | 3.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 39 | 3 | 20 | 13 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bef16a350cb321f3059e524b8af8bbcaac507956 | 123 | py | Python | email_log/apps.py | bernd-wechner/django-email-log | dbbe0ef6cee8b8067d6420dccc7a8f2061662a68 | [
"MIT"
] | 26 | 2015-04-14T18:24:54.000Z | 2022-03-07T13:01:34.000Z | email_log/apps.py | bernd-wechner/django-email-log | dbbe0ef6cee8b8067d6420dccc7a8f2061662a68 | [
"MIT"
] | 23 | 2015-06-23T02:40:39.000Z | 2022-02-08T05:07:42.000Z | email_log/apps.py | bernd-wechner/django-email-log | dbbe0ef6cee8b8067d6420dccc7a8f2061662a68 | [
"MIT"
] | 25 | 2015-02-04T16:16:05.000Z | 2021-09-28T10:53:00.000Z | from django.apps import AppConfig
class EmailLogConfig(AppConfig):
name = 'email_log'
verbose_name = "Email log"
| 17.571429 | 33 | 0.731707 | 15 | 123 | 5.866667 | 0.733333 | 0.204545 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186992 | 123 | 6 | 34 | 20.5 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bef32dc0efa2656e8a84216ea747c7b952e1b452 | 43 | py | Python | moban/_version.py | CLiu13/moban | 5deada1af7ff24a6adf698de6a8b589a258d4dc2 | [
"MIT"
] | 1 | 2018-12-16T01:16:22.000Z | 2018-12-16T01:16:22.000Z | moban/_version.py | CLiu13/moban | 5deada1af7ff24a6adf698de6a8b589a258d4dc2 | [
"MIT"
] | null | null | null | moban/_version.py | CLiu13/moban | 5deada1af7ff24a6adf698de6a8b589a258d4dc2 | [
"MIT"
] | null | null | null | __version__ = "0.3.9"
__author__ = "C. W."
| 14.333333 | 21 | 0.604651 | 7 | 43 | 2.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.162791 | 43 | 2 | 22 | 21.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bef57e6edf7a67698588bda9e271df4b1e689682 | 131 | py | Python | catalyst/dl/experiment/__init__.py | andrey-avdeev/catalyst | fd17aaba7775c99b7e2b1ce86e60aa8f2379acc3 | [
"Apache-2.0"
] | 3 | 2019-11-02T05:37:06.000Z | 2020-01-13T02:26:07.000Z | catalyst/dl/experiment/__init__.py | andrey-avdeev/catalyst | fd17aaba7775c99b7e2b1ce86e60aa8f2379acc3 | [
"Apache-2.0"
] | null | null | null | catalyst/dl/experiment/__init__.py | andrey-avdeev/catalyst | fd17aaba7775c99b7e2b1ce86e60aa8f2379acc3 | [
"Apache-2.0"
] | 1 | 2021-12-20T07:32:25.000Z | 2021-12-20T07:32:25.000Z | # flake8: noqa
from .base import BaseExperiment
from .config import ConfigExperiment
from .supervised import SupervisedExperiment
| 21.833333 | 44 | 0.839695 | 14 | 131 | 7.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.122137 | 131 | 5 | 45 | 26.2 | 0.947826 | 0.091603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bef6dbd81f470e4f916903c6f30ebc2cb970bd0a | 310 | py | Python | url_shortener_client/exceptions/__init__.py | Andrelpoj/hire.me | 79428e2094a6b56e762a7f958e1b75f395f59cef | [
"Apache-2.0"
] | null | null | null | url_shortener_client/exceptions/__init__.py | Andrelpoj/hire.me | 79428e2094a6b56e762a7f958e1b75f395f59cef | [
"Apache-2.0"
] | null | null | null | url_shortener_client/exceptions/__init__.py | Andrelpoj/hire.me | 79428e2094a6b56e762a7f958e1b75f395f59cef | [
"Apache-2.0"
] | null | null | null | class AliasNotFound(Exception):
def __init__(self, alias):
self.alias = alias
class AliasAlreadyExists(Exception):
def __init__(self, alias):
self.alias = alias
class UnexpectedServerResponse(Exception):
def __init__(self, response):
self.response = response
| 25.833333 | 43 | 0.670968 | 30 | 310 | 6.533333 | 0.333333 | 0.183673 | 0.244898 | 0.306122 | 0.44898 | 0.44898 | 0.44898 | 0.44898 | 0.44898 | 0 | 0 | 0 | 0.241935 | 310 | 11 | 44 | 28.181818 | 0.834043 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8316bb71d181ce8ce3eff4b2a0a627c1843d8260 | 485 | py | Python | syndata/__init__.py | Menelau/synthetic_datasets | 86fd99042cff6a8bbdfa195fe6eee938a9c9d8f5 | [
"MIT"
] | 6 | 2018-02-07T02:02:00.000Z | 2020-01-22T10:33:01.000Z | syndata/__init__.py | Menelau/synthetic_datasets | 86fd99042cff6a8bbdfa195fe6eee938a9c9d8f5 | [
"MIT"
] | null | null | null | syndata/__init__.py | Menelau/synthetic_datasets | 86fd99042cff6a8bbdfa195fe6eee938a9c9d8f5 | [
"MIT"
] | null | null | null | # coding=utf-8
# Author: Rafael Menelau Oliveira e Cruz <rafaelmenelau@gmail.com>
#
# License: MIT
"""
The :mod:`deslib.util` This module includes various utilities. They are divided into three parts:
syndata.synthethic_datasets - Provide functions to generate several 2D classification datasets.
syndata.plot_tools ... | 28.529412 | 118 | 0.785567 | 66 | 485 | 5.712121 | 0.848485 | 0.047745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004796 | 0.140206 | 485 | 16 | 119 | 30.3125 | 0.899281 | 0.837113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
83404f40a03d9276b97c34aee6e5fb4ad81499f8 | 101 | py | Python | gen_newsletter.py | pnijjar/google-calendar-rss | 6f4e6b9acbeffcf74112e6b33d99eaf1ea912be4 | [
"Apache-2.0"
] | 1 | 2021-06-29T04:10:48.000Z | 2021-06-29T04:10:48.000Z | gen_newsletter.py | pnijjar/google-calendar-rss | 6f4e6b9acbeffcf74112e6b33d99eaf1ea912be4 | [
"Apache-2.0"
] | 1 | 2021-06-29T05:03:36.000Z | 2021-06-29T05:03:36.000Z | gen_newsletter.py | pnijjar/google-calendar-rss | 6f4e6b9acbeffcf74112e6b33d99eaf1ea912be4 | [
"Apache-2.0"
] | 2 | 2019-08-07T15:33:25.000Z | 2021-06-29T04:37:21.000Z | #!/usr/bin/env python3
from gcal_helpers import helpers
helpers.write_transformation("newsletter")
| 16.833333 | 42 | 0.811881 | 13 | 101 | 6.153846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.089109 | 101 | 5 | 43 | 20.2 | 0.858696 | 0.207921 | 0 | 0 | 0 | 0 | 0.126582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
55d7d78c6937d21c0eddc062cc73761c958ba202 | 1,175 | py | Python | python/setup.py | chrisdembia/StateMint | 53fdaabc7ba83fb477523ae9b79ccc964e791080 | [
"BSD-3-Clause"
] | null | null | null | python/setup.py | chrisdembia/StateMint | 53fdaabc7ba83fb477523ae9b79ccc964e791080 | [
"BSD-3-Clause"
] | null | null | null | python/setup.py | chrisdembia/StateMint | 53fdaabc7ba83fb477523ae9b79ccc964e791080 | [
"BSD-3-Clause"
] | null | null | null | import setuptools
with open('README.md') as f:
long_description=f.read()
setuptools.setup(
name="StateMint",
version="1.0.0",
author="Cameron Devine",
author_email="camdev@uw.edu",
description="A library for finding State Space models of dynamical systems.",
long_description=long_description,
long_description... | 31.756757 | 78 | 0.691064 | 140 | 1,175 | 5.728571 | 0.542857 | 0.236908 | 0.311721 | 0.259352 | 0.067332 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026839 | 0.14383 | 1,175 | 36 | 79 | 32.638889 | 0.770378 | 0 | 0 | 0 | 0 | 0 | 0.628936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.029412 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
360246393544aa24389fdcd4c6b8786fa1b242b5 | 232 | py | Python | src/CodeLearn/plaintextCode/BloomTech/BTU5W1/U5W1P2_Task3_w1.py | MingjunGeng/Code-Knowledge | 5b376f6b3ff9e7fa0ab41c7b57e3a80313fa0daa | [
"MIT"
] | null | null | null | src/CodeLearn/plaintextCode/BloomTech/BTU5W1/U5W1P2_Task3_w1.py | MingjunGeng/Code-Knowledge | 5b376f6b3ff9e7fa0ab41c7b57e3a80313fa0daa | [
"MIT"
] | null | null | null | src/CodeLearn/plaintextCode/BloomTech/BTU5W1/U5W1P2_Task3_w1.py | MingjunGeng/Code-Knowledge | 5b376f6b3ff9e7fa0ab41c7b57e3a80313fa0daa | [
"MIT"
] | 1 | 2022-03-18T04:52:10.000Z | 2022-03-18T04:52:10.000Z | #!/usr/bin/python3
# --- 001 > U5W2P1_Task3_w1
def solution(i):
return float(i)
if __name__ == "__main__":
print('----------start------------')
i = 12
print(solution( i ))
print('------------end------------')
| 19.333333 | 40 | 0.465517 | 25 | 232 | 3.92 | 0.76 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.193966 | 232 | 11 | 41 | 21.090909 | 0.465241 | 0.185345 | 0 | 0 | 0 | 0 | 0.331551 | 0.28877 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0.142857 | 0.285714 | 0.428571 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 4 |
36087ed60369c020bd543832aa6b41bed88a5c17 | 100 | py | Python | easyfl/test.py | weimingwill/easyfl-pypi | f9135ab14f8d486d4a1065fa62ade43fa14490a5 | [
"MIT"
] | 2 | 2021-11-08T12:24:06.000Z | 2021-11-08T12:24:33.000Z | easyfl/test.py | weimingwill/easyfl-pypi | f9135ab14f8d486d4a1065fa62ade43fa14490a5 | [
"MIT"
] | null | null | null | easyfl/test.py | weimingwill/easyfl-pypi | f9135ab14f8d486d4a1065fa62ade43fa14490a5 | [
"MIT"
] | null | null | null | class Test:
def __init__(self):
pass
def hi(self):
print("hello world") | 16.666667 | 28 | 0.52 | 12 | 100 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.37 | 100 | 6 | 28 | 16.666667 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
3610620368663e7a20b5544000c84c6865a97120 | 88 | py | Python | sum of digits using recursion.py | kingRovo/PythonCodingChalenge | b62938592df10ccafec9930b69c14c778e19ad37 | [
"bzip2-1.0.6"
] | 1 | 2021-08-02T16:52:55.000Z | 2021-08-02T16:52:55.000Z | sum of digits using recursion.py | kingRovo/PythonCodingChalenge | b62938592df10ccafec9930b69c14c778e19ad37 | [
"bzip2-1.0.6"
] | null | null | null | sum of digits using recursion.py | kingRovo/PythonCodingChalenge | b62938592df10ccafec9930b69c14c778e19ad37 | [
"bzip2-1.0.6"
] | null | null | null | def rec_sum(n):
if(n<=1):
return n
else:
return(n+rec_sum(n-1))
| 14.666667 | 30 | 0.477273 | 16 | 88 | 2.5 | 0.5 | 0.3 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.352273 | 88 | 5 | 31 | 17.6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
36134c0670c8fbaeb545400c9c8d63641cf7bd8e | 248 | py | Python | accounts/management/commands/run-stats.py | ChristianJStarr/Scratch-Bowling-Series-Website | 283c7b1b38ffce660464889de3f4dc8050b4008c | [
"MIT"
] | 1 | 2021-05-19T19:30:40.000Z | 2021-05-19T19:30:40.000Z | accounts/management/commands/run-stats.py | ChristianJStarr/Scratch-Bowling-Series-Website | 283c7b1b38ffce660464889de3f4dc8050b4008c | [
"MIT"
] | null | null | null | accounts/management/commands/run-stats.py | ChristianJStarr/Scratch-Bowling-Series-Website | 283c7b1b38ffce660464889de3f4dc8050b4008c | [
"MIT"
] | null | null | null | from django.core.management.base import BaseCommand, CommandError
from scoreboard.ranking import calculate_statistics
class Command(BaseCommand):
help = 'Run Statistics'
def handle(self, *args, **options):
calculate_statistics() | 24.8 | 65 | 0.758065 | 27 | 248 | 6.888889 | 0.777778 | 0.204301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157258 | 248 | 10 | 66 | 24.8 | 0.889952 | 0 | 0 | 0 | 0 | 0 | 0.056225 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
36360d07dd0f1e6bcc68b6986125359b768850eb | 885 | py | Python | VersionMonitorDeamonForPy/deamon/ZTest.py | xblia/Upgrade-service-for-java-application | 6118cb270daba5d6511f41a2b3f0784c5a444c17 | [
"Apache-2.0"
] | null | null | null | VersionMonitorDeamonForPy/deamon/ZTest.py | xblia/Upgrade-service-for-java-application | 6118cb270daba5d6511f41a2b3f0784c5a444c17 | [
"Apache-2.0"
] | null | null | null | VersionMonitorDeamonForPy/deamon/ZTest.py | xblia/Upgrade-service-for-java-application | 6118cb270daba5d6511f41a2b3f0784c5a444c17 | [
"Apache-2.0"
] | null | null | null | #coding=utf-8
'''/*
* Copyright 2015 lixiaobo
*
* VersionUpgrade project licenses this file to you 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
... | 34.038462 | 145 | 0.748023 | 125 | 885 | 5.216 | 0.68 | 0.092025 | 0.039877 | 0.04908 | 0.147239 | 0.147239 | 0 | 0 | 0 | 0 | 0 | 0.025503 | 0.158192 | 885 | 26 | 145 | 34.038462 | 0.849664 | 0.710734 | 0 | 0 | 0 | 0 | 0.691489 | 0.648936 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3662bd8e72712ef2032fb1273a5b29f2780ed323 | 144 | py | Python | users.py | VinasRibeiro/DownStoriesInsta | 56c8dc402b50a07db2b207c683e39e045fda83e1 | [
"MIT"
] | null | null | null | users.py | VinasRibeiro/DownStoriesInsta | 56c8dc402b50a07db2b207c683e39e045fda83e1 | [
"MIT"
] | null | null | null | users.py | VinasRibeiro/DownStoriesInsta | 56c8dc402b50a07db2b207c683e39e045fda83e1 | [
"MIT"
] | null | null | null | class Users:
usernamep = 'your_user_email'
passwordp = 'your_password'
linkp = 'https://www.instagram.com/stories/cznburak/'
| 18 | 57 | 0.666667 | 16 | 144 | 5.8125 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 144 | 7 | 58 | 20.571429 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0.496504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
366b6bc762ff4618c8e2b630d09921664231bc91 | 53 | py | Python | 3_team/tests/unittest_sample_ng/sample.py | pyfirst/pymook-samplecode | 82321237c34515d287f28bd51ea86f870c1f5514 | [
"MIT"
] | 31 | 2017-09-27T14:54:39.000Z | 2021-05-26T14:03:44.000Z | 3_team/tests/unittest_sample_ng/sample.py | pyfirst/pymook-samplecode | 82321237c34515d287f28bd51ea86f870c1f5514 | [
"MIT"
] | 11 | 2018-03-11T05:28:14.000Z | 2022-03-11T23:19:36.000Z | 3_team/tests/unittest_sample_ng/sample.py | pyfirst/pymook-samplecode | 82321237c34515d287f28bd51ea86f870c1f5514 | [
"MIT"
] | 41 | 2017-10-21T04:45:56.000Z | 2021-07-16T14:12:33.000Z | def add(m, n):
"""mとnを加算して返す"""
return m - n
| 13.25 | 20 | 0.490566 | 8 | 53 | 3.25 | 0.75 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.301887 | 53 | 3 | 21 | 17.666667 | 0.702703 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
369370477fede6ca05479665d356d7b8ddbbef42 | 211 | py | Python | src/settings/settings.py | lamas1901/telegram__pdf-bot | 995bd3a41edba744efc07a99296ff109427ed310 | [
"MIT"
] | null | null | null | src/settings/settings.py | lamas1901/telegram__pdf-bot | 995bd3a41edba744efc07a99296ff109427ed310 | [
"MIT"
] | null | null | null | src/settings/settings.py | lamas1901/telegram__pdf-bot | 995bd3a41edba744efc07a99296ff109427ed310 | [
"MIT"
] | null | null | null | from ..utils import get_env_var
from pathlib import Path
BASE_DIR = Path(__file__).parent.parent
TG_TOKEN = get_env_var('TG_TOKEN')
YMONEY_TOKEN = get_env_var('YTOKEN')
PROMO_CODE = get_env_var('PROMO_CODE')
| 21.1 | 39 | 0.78673 | 36 | 211 | 4.111111 | 0.5 | 0.162162 | 0.243243 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109005 | 211 | 9 | 40 | 23.444444 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0.113744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
36b8bfd65b80b877d57938c5b868d8f66abde496 | 65 | py | Python | ml/av/io/__init__.py | necla-ml/ml | 7ebd29382326e3958297607da7182c211865e7ff | [
"BSD-3-Clause"
] | 1 | 2022-02-21T21:06:29.000Z | 2022-02-21T21:06:29.000Z | ml/av/io/__init__.py | necla-ml/ml | 7ebd29382326e3958297607da7182c211865e7ff | [
"BSD-3-Clause"
] | null | null | null | ml/av/io/__init__.py | necla-ml/ml | 7ebd29382326e3958297607da7182c211865e7ff | [
"BSD-3-Clause"
] | null | null | null | """APIs from ml.vision.io and ml.audio.io
"""
from .api import * | 16.25 | 41 | 0.661538 | 12 | 65 | 3.583333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 65 | 4 | 42 | 16.25 | 0.781818 | 0.584615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7fcd0efe44d52a8f5eb0ccaff5033e799faefab2 | 503 | py | Python | json-read.py | ccoffrin/py-json-examples | c01bf6994e4480470939621ed0b4b7043b38819f | [
"MIT"
] | null | null | null | json-read.py | ccoffrin/py-json-examples | c01bf6994e4480470939621ed0b4b7043b38819f | [
"MIT"
] | null | null | null | json-read.py | ccoffrin/py-json-examples | c01bf6994e4480470939621ed0b4b7043b38819f | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import json
data_json = {}
with open('data/json_00.json', 'r') as file:
data_json = json.load(file)
print(data_json)
print(data_json[0])
print(data_json[1])
print(data_json[2])
print(data_json[3])
print(data_json[4])
print(data_json[5])
print(data_json[6])
print(data_json[5][0])
print(d... | 16.766667 | 44 | 0.691849 | 97 | 503 | 3.381443 | 0.268041 | 0.487805 | 0.67378 | 0.256098 | 0.164634 | 0.164634 | 0.164634 | 0 | 0 | 0 | 0 | 0.05 | 0.085487 | 503 | 29 | 45 | 17.344828 | 0.663043 | 0.04175 | 0 | 0.095238 | 0 | 0 | 0.045738 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.047619 | 0.809524 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7fda7ecbf9da0226a54341ecb40e210f62c31957 | 1,951 | py | Python | proj/python/Test/dictStock.py | jumib/BlackTensor | d66a4fb5289dbe86104900072284e4a881f55645 | [
"MIT"
] | null | null | null | proj/python/Test/dictStock.py | jumib/BlackTensor | d66a4fb5289dbe86104900072284e4a881f55645 | [
"MIT"
] | null | null | null | proj/python/Test/dictStock.py | jumib/BlackTensor | d66a4fb5289dbe86104900072284e4a881f55645 | [
"MIT"
] | null | null | null | import requests
# host = 'localhost:8080'
# path = '/member/changeAppId'
# payload = {'UserId' : userId }
# r = requests.get('localhost:8080/member/changeAppId', params=payload)
# import requests
# import json
#
# # GET
# res = requests.get('http://localhost:8080/member/changeAppId')
# print(str(res.status_code) + " ... | 26.364865 | 123 | 0.538186 | 187 | 1,951 | 5.529412 | 0.491979 | 0.048356 | 0.055126 | 0.087041 | 0.205029 | 0.139265 | 0.139265 | 0.085106 | 0.085106 | 0 | 0 | 0.020935 | 0.265505 | 1,951 | 73 | 124 | 26.726027 | 0.700628 | 0.892363 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7ff1b8e6fdd883cf61f529bf469c18df4b7174fc | 166 | py | Python | django_gotolong/bhav/apps.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 15 | 2019-12-06T16:19:45.000Z | 2021-08-20T13:22:22.000Z | django_gotolong/bhav/apps.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 14 | 2020-12-08T10:45:05.000Z | 2021-09-21T17:23:45.000Z | django_gotolong/bhav/apps.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 9 | 2020-01-01T03:04:29.000Z | 2021-04-18T08:42:30.000Z | from django.apps import AppConfig
from django_gotolong.bhav.views import start
class BhavConfig(AppConfig):
name = 'bhav'
def ready(self):
start()
| 16.6 | 44 | 0.704819 | 21 | 166 | 5.52381 | 0.714286 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210843 | 166 | 9 | 45 | 18.444444 | 0.885496 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7ff4886052822174f0f2c10e163f3567d0699ee7 | 133 | py | Python | geotweet/tests/integration/twitter/__init__.py | meyersj/geotweet | 1a6b55f98adf34d1b91f172d9187d599616412d9 | [
"MIT"
] | 6 | 2016-03-26T19:29:25.000Z | 2020-07-12T02:18:22.000Z | geotweet/tests/integration/twitter/__init__.py | meyersj/geotweet | 1a6b55f98adf34d1b91f172d9187d599616412d9 | [
"MIT"
] | null | null | null | geotweet/tests/integration/twitter/__init__.py | meyersj/geotweet | 1a6b55f98adf34d1b91f172d9187d599616412d9 | [
"MIT"
] | 1 | 2020-01-06T01:25:05.000Z | 2020-01-06T01:25:05.000Z | import os
from os.path import dirname
import sys
ROOT = dirname(dirname(dirname(os.path.abspath(__file__))))
sys.path.append(ROOT)
| 16.625 | 59 | 0.774436 | 21 | 133 | 4.714286 | 0.47619 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 133 | 7 | 60 | 19 | 0.831933 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7ffeda80306a79591e192335e97b6bc94abc7f4b | 160 | py | Python | DublinBusTest/forms.py | Eimg851/DublinBusApp_ResearchPracticum | 41b2c559dc4608705fd1348480ce729c645d6d5a | [
"BSD-2-Clause"
] | null | null | null | DublinBusTest/forms.py | Eimg851/DublinBusApp_ResearchPracticum | 41b2c559dc4608705fd1348480ce729c645d6d5a | [
"BSD-2-Clause"
] | null | null | null | DublinBusTest/forms.py | Eimg851/DublinBusApp_ResearchPracticum | 41b2c559dc4608705fd1348480ce729c645d6d5a | [
"BSD-2-Clause"
] | 1 | 2020-06-20T09:53:15.000Z | 2020-06-20T09:53:15.000Z | from django import forms
from .models import *
class routeForm(forms.ModelForm):
class Meta:
model = Routes
fields = ('route_short_name',)
| 20 | 38 | 0.66875 | 19 | 160 | 5.526316 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24375 | 160 | 7 | 39 | 22.857143 | 0.867769 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3d1b7856aab4b6896a8bd50f1e84b7518ab5535b | 21 | py | Python | custom_components/ztm/__init__.py | peetereczek/ztm | 1fd4870720dca16863d085759a360f1ebdd9ab1f | [
"MIT"
] | 4 | 2020-02-23T08:08:12.000Z | 2021-06-26T15:46:27.000Z | custom_components/ztm/__init__.py | peetereczek/ztm | 1fd4870720dca16863d085759a360f1ebdd9ab1f | [
"MIT"
] | 15 | 2020-01-30T09:54:58.000Z | 2022-02-02T11:13:32.000Z | custom_components/ztm/__init__.py | peetereczek/ztm | 1fd4870720dca16863d085759a360f1ebdd9ab1f | [
"MIT"
] | 1 | 2022-01-17T08:51:34.000Z | 2022-01-17T08:51:34.000Z | """
module init
""" | 7 | 12 | 0.47619 | 2 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 21 | 3 | 13 | 7 | 0.625 | 0.52381 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3d319597951dce7996b3f7f4aeae76d89320c801 | 2,716 | py | Python | ROS/my_initials.py | Vishwajeetiitb/Autumn-of-Automation | bd8c78662734f867b6aa6fd9179a12913387a01c | [
"MIT"
] | null | null | null | ROS/my_initials.py | Vishwajeetiitb/Autumn-of-Automation | bd8c78662734f867b6aa6fd9179a12913387a01c | [
"MIT"
] | null | null | null | ROS/my_initials.py | Vishwajeetiitb/Autumn-of-Automation | bd8c78662734f867b6aa6fd9179a12913387a01c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import rospy
from geometry_msgs.msg import Twist
import math
import os
from turtlesim.msg import Pose
import time
os.system("rosrun")
def callback(msg):
global current_angle
current_angle = msg.theta
# print(msg)
def move():
# Starts a new node
rospy.init_node('robot_cleaner'... | 28 | 82 | 0.645066 | 384 | 2,716 | 4.341146 | 0.205729 | 0.115177 | 0.085783 | 0.092382 | 0.715057 | 0.715057 | 0.703659 | 0.703659 | 0.685063 | 0.685063 | 0 | 0.023973 | 0.247423 | 2,716 | 97 | 83 | 28 | 0.791585 | 0.064801 | 0 | 0.653846 | 0 | 0 | 0.021705 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0.012821 | 0.076923 | 0 | 0.102564 | 0.025641 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3d34e6acbf5b6084146e881a817272a730156e45 | 525 | py | Python | performanceplatform/collector/ga/plugins/load_plugin.py | alphagov/performanceplatform-collector | de68ab4aa500c31e436e050fa1268fa928c522a5 | [
"MIT"
] | 3 | 2015-05-01T14:57:28.000Z | 2016-04-08T12:53:59.000Z | performanceplatform/collector/ga/plugins/load_plugin.py | alphagov/performanceplatform-collector | de68ab4aa500c31e436e050fa1268fa928c522a5 | [
"MIT"
] | 15 | 2015-02-11T11:43:02.000Z | 2021-03-24T10:54:35.000Z | performanceplatform/collector/ga/plugins/load_plugin.py | alphagov/performanceplatform-collector | de68ab4aa500c31e436e050fa1268fa928c522a5 | [
"MIT"
] | 7 | 2015-05-04T16:56:02.000Z | 2021-04-10T19:42:35.000Z | """
load_plugin.py
--------------
Responsible for taking plugin strings and returning plugin callables.
"""
# For the linter
import __builtin__
import performanceplatform.collector.ga.plugins
def load_plugins(plugin_names):
return [load_plugin(plugin_name) for plugin_name in plugin_names]
def load_plugin(pl... | 21 | 79 | 0.744762 | 61 | 525 | 5.983607 | 0.442623 | 0.109589 | 0.164384 | 0.20274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150476 | 525 | 24 | 80 | 21.875 | 0.818386 | 0.220952 | 0 | 0 | 0 | 0 | 0.1 | 0.0725 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
3d49f7eaf598f54df886dcfb77904d84e8c9f173 | 108 | py | Python | nylas/util/__init__.py | nylas/nylas-production-python | a0979cd104a43f80750b2361aa580516b8dbfcfc | [
"Apache-2.0",
"MIT"
] | 19 | 2015-11-20T12:38:34.000Z | 2022-01-13T15:40:25.000Z | nylas/api/__init__.py | nylas/nylas-production-python | a0979cd104a43f80750b2361aa580516b8dbfcfc | [
"Apache-2.0",
"MIT"
] | null | null | null | nylas/api/__init__.py | nylas/nylas-production-python | a0979cd104a43f80750b2361aa580516b8dbfcfc | [
"Apache-2.0",
"MIT"
] | 10 | 2016-03-12T00:38:54.000Z | 2018-12-13T05:58:13.000Z | from pkgutil import extend_path
# Allow out-of-tree submodules.
__path__ = extend_path(__path__, __name__)
| 21.6 | 42 | 0.805556 | 15 | 108 | 4.866667 | 0.733333 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12037 | 108 | 4 | 43 | 27 | 0.768421 | 0.268519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3d5394f2af4816cbcec8e499c06b15d66ed6fb8e | 920 | py | Python | simple_ml/__init__.py | Yangruipis/simple_ml | 09657f6b017b973a5201aa611774d6ac8f0fc0a2 | [
"MIT"
] | 25 | 2018-04-17T04:38:51.000Z | 2021-10-09T04:07:53.000Z | simple_ml/__init__.py | Yangruipis/simple_ml | 09657f6b017b973a5201aa611774d6ac8f0fc0a2 | [
"MIT"
] | null | null | null | simple_ml/__init__.py | Yangruipis/simple_ml | 09657f6b017b973a5201aa611774d6ac8f0fc0a2 | [
"MIT"
] | 5 | 2018-04-17T05:27:00.000Z | 2020-12-01T02:55:15.000Z | # -*- coding:utf-8 -*-
"""
==================================
Simple Machine Learning
一个简单的机器学习算法实现
==================================
"""
from simple_ml.bayes import *
from simple_ml.classify_data import *
from simple_ml.auto import *
from simple_ml.classify_data import *
from simple_ml.ensemble import *
from simp... | 20 | 38 | 0.644565 | 109 | 920 | 5.174312 | 0.284404 | 0.265957 | 0.319149 | 0.446809 | 0.170213 | 0.170213 | 0.170213 | 0.170213 | 0.170213 | 0.170213 | 0 | 0.001319 | 0.176087 | 920 | 45 | 39 | 20.444444 | 0.742744 | 0.173913 | 0 | 0.0625 | 0 | 0 | 0.174434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4375 | 0 | 0.4375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
180d3a3f60ca987d84a73cb66042ea85d5cffea9 | 758 | py | Python | tests/contrib/django/testapp/middleware.py | mvas/apm-agent-python | f4582e90eb5308b915ca51e2e98620fc22af09ec | [
"BSD-3-Clause"
] | null | null | null | tests/contrib/django/testapp/middleware.py | mvas/apm-agent-python | f4582e90eb5308b915ca51e2e98620fc22af09ec | [
"BSD-3-Clause"
] | null | null | null | tests/contrib/django/testapp/middleware.py | mvas/apm-agent-python | f4582e90eb5308b915ca51e2e98620fc22af09ec | [
"BSD-3-Clause"
] | null | null | null | try:
from django.utils.deprecation import MiddlewareMixin
except ImportError:
# no-op class for Django < 1.10
class MiddlewareMixin(object):
pass
class BrokenRequestMiddleware(MiddlewareMixin):
def process_request(self, request):
raise ImportError('request')
class BrokenResponseMiddl... | 27.071429 | 56 | 0.740106 | 73 | 758 | 7.589041 | 0.493151 | 0.129964 | 0.180505 | 0.119134 | 0.187726 | 0.187726 | 0.187726 | 0 | 0 | 0 | 0 | 0.004831 | 0.180739 | 758 | 27 | 57 | 28.074074 | 0.887279 | 0.038259 | 0 | 0.111111 | 0 | 0 | 0.034388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.055556 | 0.277778 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
183cd22d8adcd570cdd6c5eceb4ba00ee9152282 | 61 | py | Python | src/yookassa_payout/domain/response/__init__.py | yoomoney/yookassa-payout-sdk-python | f6953e97573bb4a4ee6f830f726a6fcfdf504e2a | [
"MIT"
] | 5 | 2021-03-11T14:38:25.000Z | 2021-08-13T10:41:50.000Z | src/yookassa_payout/domain/common/__init__.py | yoomoney/yookassa-payout-sdk-python | f6953e97573bb4a4ee6f830f726a6fcfdf504e2a | [
"MIT"
] | 2 | 2021-02-15T18:18:34.000Z | 2021-08-13T13:49:46.000Z | src/yookassa_payout/domain/request/__init__.py | yoomoney/yookassa-payout-sdk-python | f6953e97573bb4a4ee6f830f726a6fcfdf504e2a | [
"MIT"
] | 1 | 2022-01-29T08:47:02.000Z | 2022-01-29T08:47:02.000Z | """Package for YooKassa Payout API Python Client Library."""
| 30.5 | 60 | 0.754098 | 8 | 61 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 1 | 61 | 61 | 0.867925 | 0.885246 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
18412368254bcf43c33a2c706aa24bebe16b5a08 | 16 | py | Python | roomai/games/__init__.py | tonyxxq/RoomAI | 5f28e31e659dd7808127c3c3cc386e6892a93982 | [
"MIT"
] | 1 | 2018-11-29T01:57:18.000Z | 2018-11-29T01:57:18.000Z | roomai/models/texasholdem/__init__.py | tonyxxq/RoomAI | 5f28e31e659dd7808127c3c3cc386e6892a93982 | [
"MIT"
] | null | null | null | roomai/models/texasholdem/__init__.py | tonyxxq/RoomAI | 5f28e31e659dd7808127c3c3cc386e6892a93982 | [
"MIT"
] | null | null | null | #!/bin/python
| 4 | 13 | 0.5625 | 2 | 16 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 16 | 3 | 14 | 5.333333 | 0.692308 | 0.75 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1878e0fb7794287a25d9e67514272eb4ae4e8c3c | 148 | py | Python | WD/Cwiczenia/rzymskie.py | galursa/UWM | b7ab4a275662764a91af6c5bc79da0d98177d0ac | [
"MIT"
] | 1 | 2020-02-29T14:38:33.000Z | 2020-02-29T14:38:33.000Z | WD/Cwiczenia/rzymskie.py | galursa/UWM | b7ab4a275662764a91af6c5bc79da0d98177d0ac | [
"MIT"
] | null | null | null | WD/Cwiczenia/rzymskie.py | galursa/UWM | b7ab4a275662764a91af6c5bc79da0d98177d0ac | [
"MIT"
] | null | null | null | rzymskie={'I':1,'II':2,'III':3,'IV':4,'V':5,'VI':6,'VII':7,'VIII':8}
print(rzymskie)
print('Jeden element slownika: \n')
print(rzymskie['I'])
| 24.666667 | 69 | 0.587838 | 27 | 148 | 3.222222 | 0.814815 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059259 | 0.087838 | 148 | 5 | 70 | 29.6 | 0.585185 | 0 | 0 | 0 | 0 | 0 | 0.314685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
43ebc0969b2793f79841f3adb90ba457341afae3 | 67,834 | py | Python | sdk/python/pulumi_google_native/vmmigration/v1alpha1/outputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 44 | 2021-04-18T23:00:48.000Z | 2022-02-14T17:43:15.000Z | sdk/python/pulumi_google_native/vmmigration/v1alpha1/outputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 354 | 2021-04-16T16:48:39.000Z | 2022-03-31T17:16:39.000Z | sdk/python/pulumi_google_native/vmmigration/v1alpha1/outputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 8 | 2021-04-24T17:46:51.000Z | 2022-01-05T10:40:21.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | 38.542045 | 653 | 0.637306 | 7,863 | 67,834 | 5.294798 | 0.064734 | 0.020513 | 0.033723 | 0.049288 | 0.776379 | 0.731727 | 0.709365 | 0.668316 | 0.655754 | 0.640502 | 0 | 0.000222 | 0.26873 | 67,834 | 1,759 | 654 | 38.563957 | 0.839069 | 0.309358 | 0 | 0.597289 | 1 | 0.013553 | 0.20527 | 0.060905 | 0 | 0 | 0 | 0 | 0 | 1 | 0.160697 | false | 0.003872 | 0.006776 | 0.000968 | 0.314618 | 0.003872 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a10b1c87fe2ffd2a2fe1dee4b23ec1fe16f8cf15 | 287 | py | Python | electroPyy/io/__init__.py | ludo67100/electroPyy_Dev | 3b940adbfdf005dd8231e7ac61aca708033d5a95 | [
"OML"
] | null | null | null | electroPyy/io/__init__.py | ludo67100/electroPyy_Dev | 3b940adbfdf005dd8231e7ac61aca708033d5a95 | [
"OML"
] | null | null | null | electroPyy/io/__init__.py | ludo67100/electroPyy_Dev | 3b940adbfdf005dd8231e7ac61aca708033d5a95 | [
"OML"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Nov 21 14:54:51 2019
@author: Ludovic.SPAETH
"""
from electroPyy.io.BaseRawIO import BaseRawIO
from electroPyy.io.HdF5IO import HdF5IO
from electroPyy.io.NeuroExIO import NeuroExIO
from electroPyy.io.WinWcpRawIO import WinWcpRawIO
| 23.916667 | 50 | 0.745645 | 39 | 287 | 5.487179 | 0.589744 | 0.261682 | 0.299065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061983 | 0.156794 | 287 | 11 | 51 | 26.090909 | 0.822314 | 0.289199 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a14dc76d87023f8e5ab3f4a7babd9708c41bf004 | 34,030 | py | Python | Project1/cl1_p1_wsd.py | Sanghyun-Hong/NLPProjects | 9f81fa680946648f64ac25e5ca8197e9f3386deb | [
"MIT"
] | null | null | null | Project1/cl1_p1_wsd.py | Sanghyun-Hong/NLPProjects | 9f81fa680946648f64ac25e5ca8197e9f3386deb | [
"MIT"
] | null | null | null | Project1/cl1_p1_wsd.py | Sanghyun-Hong/NLPProjects | 9f81fa680946648f64ac25e5ca8197e9f3386deb | [
"MIT"
] | null | null | null | import numpy as np
import operator
# SHHONG: custom modules imported
import json
import random
import itertools
from math import pow, log
from collections import Counter
import os
import sys
sys.stdout = open(os.devnull, 'w')
"""
CMSC723 / INST725 / LING723 -- Fall 2016
Project 1: Implementing Word Sense Disambiguati... | 43.075949 | 211 | 0.614634 | 4,849 | 34,030 | 4.064756 | 0.079192 | 0.012177 | 0.015221 | 0.020294 | 0.746778 | 0.718924 | 0.70761 | 0.688382 | 0.681431 | 0.650381 | 0 | 0.021244 | 0.201881 | 34,030 | 789 | 212 | 43.130545 | 0.704455 | 0.085542 | 0 | 0.647913 | 0 | 0.041742 | 0.173983 | 0.046483 | 0 | 0 | 0 | 0 | 0.009074 | 0 | null | null | 0 | 0.019964 | null | null | 0.094374 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a173546fb4be8c1b52e29b792d62de5b919bbc8f | 97 | py | Python | Python/Phani.py | baroood/Hacktoberfest-2k17 | 87383df4bf705358866a5a4120dd678a3f2acd3e | [
"MIT"
] | 28 | 2017-10-04T19:42:26.000Z | 2021-03-26T04:00:48.000Z | Python/Phani.py | baroood/Hacktoberfest-2k17 | 87383df4bf705358866a5a4120dd678a3f2acd3e | [
"MIT"
] | 375 | 2017-09-28T02:58:37.000Z | 2019-10-31T09:10:38.000Z | Python/Phani.py | baroood/Hacktoberfest-2k17 | 87383df4bf705358866a5a4120dd678a3f2acd3e | [
"MIT"
] | 519 | 2017-09-28T02:40:29.000Z | 2021-02-15T08:29:17.000Z | a = input("Enter the first number")
b = input("Enter the second number")
print('the sum is',a+b)
| 24.25 | 36 | 0.680412 | 18 | 97 | 3.666667 | 0.611111 | 0.30303 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 3 | 37 | 32.333333 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0.56701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a1841c43709e67515946480883952c56edc55654 | 57 | py | Python | run.py | JonLMyers/MetroTransitAPI | d8f467570368cd563d69564b680cfdd47ad6b622 | [
"MIT"
] | null | null | null | run.py | JonLMyers/MetroTransitAPI | d8f467570368cd563d69564b680cfdd47ad6b622 | [
"MIT"
] | null | null | null | run.py | JonLMyers/MetroTransitAPI | d8f467570368cd563d69564b680cfdd47ad6b622 | [
"MIT"
] | null | null | null | """ Runs the server """
from aaxus import app
app.run()
| 11.4 | 23 | 0.649123 | 9 | 57 | 4.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 57 | 4 | 24 | 14.25 | 0.804348 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a1ab946e745fb18496c5d63e37229b34b0071a28 | 112 | py | Python | libs/test_utils.py | bongnv/sublime-go | 9f5f4f9795357ec595f73c1f71e479eca694b61e | [
"MIT"
] | 6 | 2018-05-12T04:43:36.000Z | 2018-09-21T17:44:53.000Z | libs/test_utils.py | bongnv/sublime-go | 9f5f4f9795357ec595f73c1f71e479eca694b61e | [
"MIT"
] | null | null | null | libs/test_utils.py | bongnv/sublime-go | 9f5f4f9795357ec595f73c1f71e479eca694b61e | [
"MIT"
] | null | null | null | import unittest
class TestIsGoView(unittest.TestCase):
def test_nil(self):
self.assertFalse(None)
| 16 | 38 | 0.723214 | 13 | 112 | 6.153846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 112 | 6 | 39 | 18.666667 | 0.879121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a1d4680a92b1711d0003c4bd4a72a28789727f68 | 221 | py | Python | Muta3DMaps/core/__init__.py | NatureGeorge/SIFTS_Plus_Muta_Maps | 60f84e6024508e65ee3791103762b95666d3c646 | [
"MIT"
] | null | null | null | Muta3DMaps/core/__init__.py | NatureGeorge/SIFTS_Plus_Muta_Maps | 60f84e6024508e65ee3791103762b95666d3c646 | [
"MIT"
] | null | null | null | Muta3DMaps/core/__init__.py | NatureGeorge/SIFTS_Plus_Muta_Maps | 60f84e6024508e65ee3791103762b95666d3c646 | [
"MIT"
] | null | null | null | # @Created Date: 2019-11-24 09:07:07 pm
# @Filename: __init__.py
# @Email: 1730416009@stu.suda.edu.cn
# @Author: ZeFeng Zhu
# @Last Modified: 2019-12-23 04:23:51 pm
# @Copyright (c) 2019 MinghuiGroup, Soochow University
| 31.571429 | 54 | 0.714932 | 36 | 221 | 4.277778 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219895 | 0.135747 | 221 | 6 | 55 | 36.833333 | 0.586387 | 0.941176 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
62a6cdcc5cf9bca5a11b6dc4e9f38e91015abe52 | 502 | py | Python | cortex/export/__init__.py | mvdoc/pycortex | bc8a93cac9518e3c1cd89650c703f9f3814e805b | [
"BSD-2-Clause"
] | 423 | 2015-01-06T02:46:46.000Z | 2022-03-23T17:20:38.000Z | cortex/export/__init__.py | mvdoc/pycortex | bc8a93cac9518e3c1cd89650c703f9f3814e805b | [
"BSD-2-Clause"
] | 243 | 2015-01-03T02:10:03.000Z | 2022-03-31T19:29:48.000Z | cortex/export/__init__.py | mvdoc/pycortex | bc8a93cac9518e3c1cd89650c703f9f3814e805b | [
"BSD-2-Clause"
] | 136 | 2015-03-23T20:35:59.000Z | 2022-03-09T13:39:10.000Z | from .save_views import save_3d_views
from .panels import plot_panels
from ._default_params import (
params_inflatedless_lateral_medial_ventral,
params_flatmap_lateral_medial,
params_occipital_triple_view,
params_inflated_dorsal_lateral_medial_ventral,
)
__all__ = [
"save_3d_views",
"plot_panel... | 27.888889 | 52 | 0.804781 | 60 | 502 | 6.016667 | 0.333333 | 0.216066 | 0.221607 | 0.171745 | 0.714681 | 0.714681 | 0.315789 | 0.315789 | 0.315789 | 0 | 0 | 0.004608 | 0.135458 | 502 | 17 | 53 | 29.529412 | 0.827189 | 0 | 0 | 0 | 0 | 0 | 0.334661 | 0.286853 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1875 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
62bd6807be95587bd7a23aaac66d6f7511aacb65 | 156 | py | Python | tensorflowonspark/__init__.py | DerekRen/TensorFlowOnSpark | 52dda7b006f2dd0d98f0cc5d362de555263623fd | [
"Apache-2.0"
] | 1 | 2020-11-06T08:30:30.000Z | 2020-11-06T08:30:30.000Z | tensorflowonspark/__init__.py | DerekRen/TensorFlowOnSpark | 52dda7b006f2dd0d98f0cc5d362de555263623fd | [
"Apache-2.0"
] | null | null | null | tensorflowonspark/__init__.py | DerekRen/TensorFlowOnSpark | 52dda7b006f2dd0d98f0cc5d362de555263623fd | [
"Apache-2.0"
] | null | null | null | import logging
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s (%(threadName)s-%(process)d) %(message)s")
__version__ = "2.2.0"
| 26 | 116 | 0.717949 | 22 | 156 | 4.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.076923 | 156 | 5 | 117 | 31.2 | 0.729167 | 0 | 0 | 0 | 0 | 0.333333 | 0.455128 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
62dd4a508db411e5b7ff314613aafdeaeb5656d2 | 376 | py | Python | muon/__init__.py | WeilerP/muon | 8e0988f07ae23be4fa913bb297ef059e5ab702a0 | [
"BSD-3-Clause"
] | null | null | null | muon/__init__.py | WeilerP/muon | 8e0988f07ae23be4fa913bb297ef059e5ab702a0 | [
"BSD-3-Clause"
] | null | null | null | muon/__init__.py | WeilerP/muon | 8e0988f07ae23be4fa913bb297ef059e5ab702a0 | [
"BSD-3-Clause"
] | null | null | null | """Multimodal omics analysis framework"""
from ._core.mudata import MuData
from ._core import preproc as pp
from ._core import tools as tl
from ._core import plot as pl
from ._core import utils
from ._core.io import *
from ._core.config import set_options
from . import atac
from . import prot
__version__ = "0.1.0"
_... | 22.117647 | 41 | 0.755319 | 59 | 376 | 4.474576 | 0.457627 | 0.212121 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028302 | 0.154255 | 376 | 16 | 42 | 23.5 | 0.801887 | 0.093085 | 0 | 0 | 0 | 0 | 0.044776 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1a018ecb1b4832d82200c28fb3048b3345de111f | 33 | py | Python | gmocoin/__init__.py | makotookamura/GmoCoin | 025d3e68364bf52418dbc3445987ff21528db732 | [
"Apache-2.0"
] | null | null | null | gmocoin/__init__.py | makotookamura/GmoCoin | 025d3e68364bf52418dbc3445987ff21528db732 | [
"Apache-2.0"
] | null | null | null | gmocoin/__init__.py | makotookamura/GmoCoin | 025d3e68364bf52418dbc3445987ff21528db732 | [
"Apache-2.0"
] | 1 | 2021-07-17T16:56:03.000Z | 2021-07-17T16:56:03.000Z | #!python3
__version__ = '0.0.12'
| 11 | 22 | 0.666667 | 5 | 33 | 3.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0.121212 | 33 | 2 | 23 | 16.5 | 0.448276 | 0.242424 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1a11560f409eb43a0ed24b3b54e89719dbd21b76 | 171 | py | Python | Theseus/Tests/__init__.py | amias-iohk/theseus | 88d9294721e3bbbb756b983f55df6d669e632da4 | [
"MIT"
] | 4 | 2018-08-08T07:11:29.000Z | 2018-11-08T02:43:11.000Z | Theseus/Tests/__init__.py | amias-iohk/theseus | 88d9294721e3bbbb756b983f55df6d669e632da4 | [
"MIT"
] | null | null | null | Theseus/Tests/__init__.py | amias-iohk/theseus | 88d9294721e3bbbb756b983f55df6d669e632da4 | [
"MIT"
] | 3 | 2018-10-18T13:42:24.000Z | 2021-01-20T15:21:25.000Z | __author__ = 'Amias Channer <amias.channer@iohk.io> for IOHK'
__doc__ = 'Daedalus Testing functions'
from .Cardano import *
from .Daedalus import *
from .Common import *
| 24.428571 | 61 | 0.754386 | 22 | 171 | 5.5 | 0.636364 | 0.198347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146199 | 171 | 6 | 62 | 28.5 | 0.828767 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 0.134503 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1a12b43b837e725bb85bfe8e14b6c166c2be8e99 | 691 | py | Python | model/sample/adg.py | sdy99/PowerAI | ef40bacddbad72322e3e423417ae13d478d56a6d | [
"MIT"
] | 7 | 2020-04-11T03:28:50.000Z | 2021-03-29T14:53:36.000Z | model/sample/adg.py | sdy99/PowerAI | ef40bacddbad72322e3e423417ae13d478d56a6d | [
"MIT"
] | null | null | null | model/sample/adg.py | sdy99/PowerAI | ef40bacddbad72322e3e423417ae13d478d56a6d | [
"MIT"
] | 5 | 2020-04-11T03:28:52.000Z | 2021-11-27T05:23:12.000Z | # coding: gbk
"""
@author: sdy
@email: sdy@epri.sgcc.com.cn
Abstract distribution and generation class
"""
class ADG(object):
def __init__(self, work_path, fmt):
self.work_path = work_path
self.fmt = fmt
self.features = None
self.mode = 'all'
def distribution_assess(self):
... | 20.323529 | 49 | 0.662808 | 78 | 691 | 5.705128 | 0.5 | 0.323596 | 0.303371 | 0.208989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256151 | 691 | 33 | 50 | 20.939394 | 0.865759 | 0.141823 | 0 | 0.333333 | 0 | 0 | 0.005128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.388889 | false | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a7de746c56c67620e56b1437e51a6c5e5965554a | 1,102 | py | Python | rssfly/tests/common.py | lidavidm/rssfly | 1cfb893a249e4095412b966a1bf50fc3de7744e7 | [
"Apache-2.0"
] | 1 | 2021-02-14T03:44:35.000Z | 2021-02-14T03:44:35.000Z | rssfly/tests/common.py | lidavidm/rssfly | 1cfb893a249e4095412b966a1bf50fc3de7744e7 | [
"Apache-2.0"
] | 6 | 2021-07-15T13:03:19.000Z | 2022-03-26T14:14:14.000Z | rssfly/tests/common.py | lidavidm/rssfly | 1cfb893a249e4095412b966a1bf50fc3de7744e7 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 David Li
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | 29.783784 | 74 | 0.696915 | 166 | 1,102 | 4.542169 | 0.578313 | 0.079576 | 0.034483 | 0.04244 | 0.148541 | 0.148541 | 0.148541 | 0.148541 | 0.148541 | 0.148541 | 0 | 0.009206 | 0.211434 | 1,102 | 36 | 75 | 30.611111 | 0.858458 | 0.540835 | 0 | 0.142857 | 0 | 0 | 0.04898 | 0.042857 | 0 | 0 | 0 | 0.027778 | 0 | 1 | 0.285714 | false | 0 | 0.214286 | 0.142857 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a7f04cab3ce9aa87269ec6d3083f5676dec9b76a | 421 | py | Python | Algorithm/Mathematical/453. Minimum Moves to Equal Array Elements.py | smsubham/Data-Structure-Algorithms-Questions | 45da68231907068ef4e4a0444ffdac69b337fa7c | [
"Apache-2.0"
] | null | null | null | Algorithm/Mathematical/453. Minimum Moves to Equal Array Elements.py | smsubham/Data-Structure-Algorithms-Questions | 45da68231907068ef4e4a0444ffdac69b337fa7c | [
"Apache-2.0"
] | null | null | null | Algorithm/Mathematical/453. Minimum Moves to Equal Array Elements.py | smsubham/Data-Structure-Algorithms-Questions | 45da68231907068ef4e4a0444ffdac69b337fa7c | [
"Apache-2.0"
] | null | null | null | # https://leetcode.com/problems/minimum-moves-to-equal-array-elements/
# Explanation: https://leetcode.com/problems/minimum-moves-to-equal-array-elements/discuss/93817/It-is-a-math-question
# Source: https://leetcode.com/problems/minimum-moves-to-equal-array-elements/discuss/272994/Python-Greedy-Sum-Min*Len
class Solu... | 60.142857 | 118 | 0.752969 | 62 | 421 | 5.112903 | 0.548387 | 0.123028 | 0.15142 | 0.227129 | 0.574132 | 0.574132 | 0.574132 | 0.574132 | 0.574132 | 0.574132 | 0 | 0.028351 | 0.078385 | 421 | 7 | 119 | 60.142857 | 0.78866 | 0.71734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
a7fa41d77e47cb4e42dcb175ead24d162418cceb | 363 | py | Python | Python Backend/diarization/build/lib/s4d/__init__.py | AdityaK1211/Final_Year_Project_SCET | 1a6092e1345dad473375ada787fb5cb00ee7515f | [
"MIT"
] | 1 | 2022-02-15T02:49:22.000Z | 2022-02-15T02:49:22.000Z | Python Backend/diarization/build/lib/s4d/__init__.py | AdityaK1211/Final_Year_Project_SCET | 1a6092e1345dad473375ada787fb5cb00ee7515f | [
"MIT"
] | null | null | null | Python Backend/diarization/build/lib/s4d/__init__.py | AdityaK1211/Final_Year_Project_SCET | 1a6092e1345dad473375ada787fb5cb00ee7515f | [
"MIT"
] | 2 | 2021-07-11T12:42:43.000Z | 2022-02-15T02:49:24.000Z | __author__ = 'meignier'
import s4d.clustering.hac_bic
import s4d.clustering.hac_clr
import s4d.clustering.hac_iv
import s4d.clustering.hac_utils
import s4d.model_iv
from s4d.clustering.cc_iv import ConnectedComponent
from s4d.diar import Diar
from s4d.segmentation import sanity_check, bic_linear, div_gauss
from s4d.vi... | 27.923077 | 64 | 0.837466 | 57 | 363 | 5.035088 | 0.438596 | 0.156794 | 0.264808 | 0.30662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.096419 | 363 | 13 | 65 | 27.923077 | 0.838415 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.818182 | 0 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c50ac3b029d23e93f95a2998c1cb8c9b33f3b8ee | 294 | py | Python | core/middleware/scheduler.py | jiangxuewen16/hq-crawler | f03ec1e454513307e335943f224f4d927eaf2bbf | [
"MIT"
] | 1 | 2021-02-25T08:33:40.000Z | 2021-02-25T08:33:40.000Z | core/middleware/scheduler.py | jiangxuewen16/hq-crawler | f03ec1e454513307e335943f224f4d927eaf2bbf | [
"MIT"
] | null | null | null | core/middleware/scheduler.py | jiangxuewen16/hq-crawler | f03ec1e454513307e335943f224f4d927eaf2bbf | [
"MIT"
] | 2 | 2021-03-08T07:25:16.000Z | 2021-12-07T15:28:02.000Z | from django.utils.deprecation import MiddlewareMixin
from django.utils.autoreload import logger
class Scheduler(MiddlewareMixin):
def process_request(self, request):
pass
# logger.info(request)
def process_response(self, request, response):
return response
| 21 | 52 | 0.731293 | 32 | 294 | 6.65625 | 0.5625 | 0.093897 | 0.140845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20068 | 294 | 13 | 53 | 22.615385 | 0.906383 | 0.068027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
c522238afd1828d1190c7360573f7b8dc442a5a0 | 1,537 | py | Python | SourceWatch/buffer.py | spezifanta/SourceWatch | aaf2cf1ba00015947689181daf77b80bde9b4feb | [
"MIT"
] | 6 | 2019-07-09T19:40:01.000Z | 2022-01-24T12:01:37.000Z | SourceWatch/buffer.py | spezifanta/SourceWatch | aaf2cf1ba00015947689181daf77b80bde9b4feb | [
"MIT"
] | null | null | null | SourceWatch/buffer.py | spezifanta/SourceWatch | aaf2cf1ba00015947689181daf77b80bde9b4feb | [
"MIT"
] | 1 | 2020-11-07T13:06:58.000Z | 2020-11-07T13:06:58.000Z | import io
import struct
class SteamPacketBuffer(io.BytesIO):
"""In-memory byte buffer."""
def __len__(self):
return len(self.getvalue())
def __repr__(self):
return '<PacketBuffer: {}: {}>'.format(len(self), self.getvalue())
def __str__(self):
return str(self.getvalue())
... | 25.616667 | 74 | 0.573845 | 204 | 1,537 | 4.196078 | 0.29902 | 0.093458 | 0.091122 | 0.126168 | 0.275701 | 0.214953 | 0.074766 | 0 | 0 | 0 | 0 | 0.014991 | 0.262199 | 1,537 | 59 | 75 | 26.050847 | 0.739859 | 0.04229 | 0 | 0 | 0 | 0 | 0.039563 | 0 | 0 | 0 | 0 | 0.016949 | 0 | 1 | 0.375 | false | 0 | 0.05 | 0.2 | 0.675 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c53ebab62d8ce95d55ec92330a072c34d445b216 | 296 | py | Python | tests/polynomials.py | mernst/cozy | d7b2c0ee575057dea4ebec201d579f0ecd785b1b | [
"Apache-2.0"
] | 188 | 2017-11-27T18:59:34.000Z | 2021-12-31T02:28:33.000Z | tests/polynomials.py | mernst/cozy | d7b2c0ee575057dea4ebec201d579f0ecd785b1b | [
"Apache-2.0"
] | 95 | 2017-11-13T01:21:48.000Z | 2020-10-30T06:38:14.000Z | tests/polynomials.py | mernst/cozy | d7b2c0ee575057dea4ebec201d579f0ecd785b1b | [
"Apache-2.0"
] | 16 | 2018-02-13T04:49:09.000Z | 2021-02-06T13:26:46.000Z | import unittest
from cozy.polynomials import Polynomial
class TestPolynomials(unittest.TestCase):
def test_sorting(self):
self.assertLess(Polynomial([2019, 944, 95]), Polynomial([2012, 945, 95]))
self.assertGreater(Polynomial([2012, 945, 95]), Polynomial([2019, 944, 95]))
| 29.6 | 84 | 0.712838 | 35 | 296 | 6 | 0.571429 | 0.133333 | 0.161905 | 0.180952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143426 | 0.152027 | 296 | 9 | 85 | 32.888889 | 0.693227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c55a6c83c0c4deda47ef169a2a79ced739a7f4c8 | 106 | py | Python | src/invoice_medicine/apps.py | vandana0608/Pharmacy-Managament | f99bdec11c24027a432858daa19247a21cecc092 | [
"bzip2-1.0.6"
] | null | null | null | src/invoice_medicine/apps.py | vandana0608/Pharmacy-Managament | f99bdec11c24027a432858daa19247a21cecc092 | [
"bzip2-1.0.6"
] | null | null | null | src/invoice_medicine/apps.py | vandana0608/Pharmacy-Managament | f99bdec11c24027a432858daa19247a21cecc092 | [
"bzip2-1.0.6"
] | null | null | null | from django.apps import AppConfig
class InvoiceMedicineConfig(AppConfig):
name = 'invoice_medicine'
| 17.666667 | 39 | 0.792453 | 11 | 106 | 7.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 106 | 5 | 40 | 21.2 | 0.912088 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c570fd6a05953760ae560c4fbed0f8ac9f2fd02d | 100 | py | Python | src/cattrs/errors.py | aha79/cattrs | 50ba769c8349f5891b157d2bb7f06602822ac0a3 | [
"MIT"
] | null | null | null | src/cattrs/errors.py | aha79/cattrs | 50ba769c8349f5891b157d2bb7f06602822ac0a3 | [
"MIT"
] | null | null | null | src/cattrs/errors.py | aha79/cattrs | 50ba769c8349f5891b157d2bb7f06602822ac0a3 | [
"MIT"
] | null | null | null | from cattr.errors import StructureHandlerNotFoundError
__all__ = ["StructureHandlerNotFoundError"]
| 25 | 54 | 0.86 | 7 | 100 | 11.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 100 | 3 | 55 | 33.333333 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0.29 | 0.29 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3dfe1030cd691567d0eb0ceab815ccdf039f3393 | 269 | py | Python | python-crypt-service/services/dbservice.py | Shirish-Singh/crypt-analysis | eed6d00925389ee0973733e6b7397cd460f97f99 | [
"Apache-2.0"
] | null | null | null | python-crypt-service/services/dbservice.py | Shirish-Singh/crypt-analysis | eed6d00925389ee0973733e6b7397cd460f97f99 | [
"Apache-2.0"
] | null | null | null | python-crypt-service/services/dbservice.py | Shirish-Singh/crypt-analysis | eed6d00925389ee0973733e6b7397cd460f97f99 | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function
from configurations import configuration
from pymongo import MongoClient
MONGO_HOST= configuration.MONGO_HOST
client = MongoClient(MONGO_HOST)
class DBConnection():
def getConnection(self):
return client.analyticsDB
| 20.692308 | 40 | 0.814126 | 30 | 269 | 7.033333 | 0.633333 | 0.127962 | 0.189573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141264 | 269 | 12 | 41 | 22.416667 | 0.91342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.75 | 0.125 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
9a91a0bb1c2222107ec4d2fbb68724bb0b797301 | 247 | py | Python | paperplane/backends/click/choice.py | abhilash1in/paperplane | 1dfda182dc8a70fe08fa2284ea63b434246c394b | [
"MIT"
] | null | null | null | paperplane/backends/click/choice.py | abhilash1in/paperplane | 1dfda182dc8a70fe08fa2284ea63b434246c394b | [
"MIT"
] | null | null | null | paperplane/backends/click/choice.py | abhilash1in/paperplane | 1dfda182dc8a70fe08fa2284ea63b434246c394b | [
"MIT"
] | null | null | null | import click
from typing import Any, Optional
from paperplane.backends.click import _prompt
def run(prompt: str, choices: list, default: Optional[Any] = None):
return _prompt(text=prompt, default=default, type=click.Choice(choices=choices))
| 30.875 | 84 | 0.777328 | 34 | 247 | 5.588235 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121457 | 247 | 7 | 85 | 35.285714 | 0.875576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
9aa8e28e915cdb48539530ca48ffdc1fa280bc82 | 140 | py | Python | setup.py | adrienbrunet/mixt | d725ec752ce430d135e993bc988bfdf2b8457c4b | [
"MIT"
] | 27 | 2018-06-04T19:11:42.000Z | 2022-02-23T22:46:39.000Z | setup.py | adrienbrunet/mixt | d725ec752ce430d135e993bc988bfdf2b8457c4b | [
"MIT"
] | 7 | 2018-06-09T15:27:51.000Z | 2021-03-11T20:00:35.000Z | setup.py | adrienbrunet/mixt | d725ec752ce430d135e993bc988bfdf2b8457c4b | [
"MIT"
] | 3 | 2018-07-29T10:20:02.000Z | 2021-11-18T19:55:07.000Z | #!/usr/bin/env python
"""Setup file for the ``mixt`` module. Configuration is in ``setup.cfg``."""
from setuptools import setup
setup()
| 15.555556 | 76 | 0.678571 | 20 | 140 | 4.75 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 140 | 8 | 77 | 17.5 | 0.798319 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9aaf20b86321deb4ac2d2c3951af5c3c52764470 | 115 | py | Python | rplint/__main__.py | lpozo/rplint | 907cb5342827b2c38e79721bc2dc99b3b6f7912b | [
"MIT"
] | 7 | 2020-09-10T15:39:07.000Z | 2021-02-15T17:45:04.000Z | rplint/__main__.py | lpozo/rplint | 907cb5342827b2c38e79721bc2dc99b3b6f7912b | [
"MIT"
] | 6 | 2020-11-11T02:42:37.000Z | 2021-03-17T01:00:27.000Z | rplint/__main__.py | lpozo/rplint | 907cb5342827b2c38e79721bc2dc99b3b6f7912b | [
"MIT"
] | 3 | 2020-11-11T02:10:22.000Z | 2020-12-12T01:02:29.000Z | #!/usr/bin/env python3
from .main import rplint
if __name__ == "__main__":
rplint.main(prog_name=__package__)
| 19.166667 | 38 | 0.730435 | 16 | 115 | 4.4375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.13913 | 115 | 5 | 39 | 23 | 0.707071 | 0.182609 | 0 | 0 | 0 | 0 | 0.086022 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9ac1c767370071e77aa1a0a522794a49b7886db3 | 205 | py | Python | python/test/is_prime.test.py | hotate29/kyopro_lib | 20085381372d2555439980c79887ca6b0809bb77 | [
"MIT"
] | null | null | null | python/test/is_prime.test.py | hotate29/kyopro_lib | 20085381372d2555439980c79887ca6b0809bb77 | [
"MIT"
] | 2 | 2020-10-13T17:02:12.000Z | 2020-10-17T16:04:48.000Z | python/test/is_prime.test.py | hotate29/kyopro_lib | 20085381372d2555439980c79887ca6b0809bb77 | [
"MIT"
] | null | null | null | # verification-helper: PROBLEM http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_C
from python.lib.is_prime import isprime
print(sum(isprime(int(input())) for _ in range(int(input()))))
| 25.625 | 97 | 0.756098 | 33 | 205 | 4.575758 | 0.909091 | 0.10596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.082927 | 205 | 7 | 98 | 29.285714 | 0.792553 | 0.463415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
9acd4db9f55911f16eb79b057e6fc8abf0b3c6d4 | 210 | py | Python | resident/views.py | felipeue/SmartBuilding | 57d904c6166c87f836bc8fada9eb5a2bc82069b8 | [
"MIT"
] | null | null | null | resident/views.py | felipeue/SmartBuilding | 57d904c6166c87f836bc8fada9eb5a2bc82069b8 | [
"MIT"
] | null | null | null | resident/views.py | felipeue/SmartBuilding | 57d904c6166c87f836bc8fada9eb5a2bc82069b8 | [
"MIT"
] | null | null | null | from django.views.generic import TemplateView
from main.permissions import ResidentLoginRequiredMixin
class DashboardView(ResidentLoginRequiredMixin, TemplateView):
template_name = "index_dashboard.html"
| 30 | 62 | 0.852381 | 20 | 210 | 8.85 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 210 | 6 | 63 | 35 | 0.931579 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9ae1bc0d9c8249afc93cd2e786ee58fa70373ce4 | 2,544 | py | Python | tests/importing/test_read_genes.py | EKingma/Transposonmapper | 1413bda16a0bd5f5f3ccf84d86193c2dba0ab01b | [
"Apache-2.0"
] | 2 | 2021-11-23T09:39:35.000Z | 2022-01-25T15:49:45.000Z | tests/importing/test_read_genes.py | EKingma/Transposonmapper | 1413bda16a0bd5f5f3ccf84d86193c2dba0ab01b | [
"Apache-2.0"
] | 76 | 2021-07-07T18:31:44.000Z | 2022-03-22T10:04:40.000Z | tests/importing/test_read_genes.py | EKingma/Transposonmapper | 1413bda16a0bd5f5f3ccf84d86193c2dba0ab01b | [
"Apache-2.0"
] | 2 | 2021-09-16T10:56:20.000Z | 2022-01-25T12:33:25.000Z |
from transposonmapper.importing import (
load_default_files,read_genes
)
def test_output_format():
a,b,c=load_default_files(gff_file=None,essentials_file=None,gene_names_file=None)
a_0,b_0,c_0=read_genes(gff_file=a,essentials_file=b,gene_names_file=c)
assert type(a_0)==dict, "the gene coordinates... | 39.138462 | 107 | 0.717374 | 447 | 2,544 | 3.836689 | 0.14094 | 0.069971 | 0.075802 | 0.052478 | 0.797085 | 0.763848 | 0.738776 | 0.738776 | 0.686297 | 0.686297 | 0 | 0.040191 | 0.178459 | 2,544 | 65 | 108 | 39.138462 | 0.780383 | 0.060142 | 0 | 0.277778 | 0 | 0 | 0.25283 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.138889 | false | 0 | 0.027778 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9aff8c7e14210fed3124a5e6c2fdfe6fc51837d4 | 58 | py | Python | contest/abc106/A.py | mola1129/atcoder | 1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db | [
"MIT"
] | null | null | null | contest/abc106/A.py | mola1129/atcoder | 1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db | [
"MIT"
] | null | null | null | contest/abc106/A.py | mola1129/atcoder | 1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db | [
"MIT"
] | null | null | null | A, B = map(int, input().split())
print((A - 1) * (B - 1))
| 19.333333 | 32 | 0.465517 | 11 | 58 | 2.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.206897 | 58 | 2 | 33 | 29 | 0.543478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b114d5a538b75c9a4b75747db2d55272076b7fcc | 232 | py | Python | oldcontrib/media/image/servee_registry.py | servee/django-servee-oldcontrib | 836447ebbd53db0b53879a35468c02e57f65105f | [
"BSD-Source-Code"
] | null | null | null | oldcontrib/media/image/servee_registry.py | servee/django-servee-oldcontrib | 836447ebbd53db0b53879a35468c02e57f65105f | [
"BSD-Source-Code"
] | null | null | null | oldcontrib/media/image/servee_registry.py | servee/django-servee-oldcontrib | 836447ebbd53db0b53879a35468c02e57f65105f | [
"BSD-Source-Code"
] | null | null | null | from servee import frontendadmin
from servee.frontendadmin.insert import ModelInsert
from oldcontrib.media.image.models import Image
class ImageInsert(ModelInsert):
model = Image
frontendadmin.site.register_insert(ImageInsert) | 29 | 51 | 0.844828 | 27 | 232 | 7.222222 | 0.555556 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099138 | 232 | 8 | 52 | 29 | 0.933014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b12709adc431ec818c3f1dc683d016b6ef1c240b | 508 | py | Python | mamba/exceptions.py | bmintz/mamba-lang | f63e205dc4de5e8ba3308e2b47b1675a9b508e70 | [
"MIT"
] | 20 | 2015-01-15T19:40:33.000Z | 2021-09-22T15:26:27.000Z | mamba/exceptions.py | bmintz/mamba-lang | f63e205dc4de5e8ba3308e2b47b1675a9b508e70 | [
"MIT"
] | 3 | 2015-03-25T21:53:48.000Z | 2017-05-07T12:22:20.000Z | mamba/exceptions.py | bmintz/mamba-lang | f63e205dc4de5e8ba3308e2b47b1675a9b508e70 | [
"MIT"
] | 11 | 2017-09-15T21:41:04.000Z | 2021-09-22T15:15:58.000Z | class InterpreterException(Exception):
def __init__(self, message):
self.message = message
def __str__(self):
return self.message
class SymbolNotFound(InterpreterException):
pass
class UnexpectedCharacter(InterpreterException):
pass
class ParserSyntaxError(InterpreterException):
... | 16.933333 | 52 | 0.761811 | 40 | 508 | 9.475 | 0.4 | 0.316623 | 0.382586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177165 | 508 | 30 | 53 | 16.933333 | 0.906699 | 0 | 0 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0.352941 | 0 | 0.058824 | 0.588235 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
b1318eb081bf81d3b2433e9aac0b4bedfc511b35 | 186 | py | Python | notes/notebook/apps.py | spam128/notes | 100008b7e0a2afa5677c15826588105027f52883 | [
"MIT"
] | null | null | null | notes/notebook/apps.py | spam128/notes | 100008b7e0a2afa5677c15826588105027f52883 | [
"MIT"
] | null | null | null | notes/notebook/apps.py | spam128/notes | 100008b7e0a2afa5677c15826588105027f52883 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class NotebookConfig(AppConfig):
name = "notes.notebook"
verbose_name = _("Notebook")
| 20.666667 | 54 | 0.763441 | 22 | 186 | 6.272727 | 0.727273 | 0.144928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155914 | 186 | 8 | 55 | 23.25 | 0.878981 | 0 | 0 | 0 | 0 | 0 | 0.118919 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b133ecf4dd2609e5dbd8da4502d3368bb3abe2c9 | 172 | py | Python | test.py | uuidd/SimilarCharacter | 22e5f4b0b2798d903435aeb989ff2d0a4ad59d70 | [
"MIT"
] | 199 | 2019-09-09T08:44:19.000Z | 2022-03-24T12:42:04.000Z | test.py | uuidd/SimilarCharacter | 22e5f4b0b2798d903435aeb989ff2d0a4ad59d70 | [
"MIT"
] | 4 | 2020-08-06T08:03:28.000Z | 2022-01-06T15:14:36.000Z | test.py | uuidd/SimilarCharacter | 22e5f4b0b2798d903435aeb989ff2d0a4ad59d70 | [
"MIT"
] | 58 | 2019-10-10T06:56:43.000Z | 2022-03-21T02:58:01.000Z | import cv2
import ProcessWithCV2
img1 = cv2.imread("D:/py/chinese/7.png")
img2 = cv2.imread("D:/py/chinese/8.png")
a = ProcessWithCV2.dHash(img1, img2, 1)
print(a)
| 21.5 | 41 | 0.686047 | 28 | 172 | 4.214286 | 0.571429 | 0.152542 | 0.169492 | 0.20339 | 0.322034 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.139535 | 172 | 7 | 42 | 24.571429 | 0.716216 | 0 | 0 | 0 | 0 | 0 | 0.230303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b14a72da64d12a7c8066ba502beb5c9606168931 | 147 | py | Python | Booleans/4.2.4 If/4.2.5 Fix the problem.py | ferrerinicolas/python_samples | 107cead4fbee30b275a5e2be1257833129ce5e46 | [
"MIT"
] | null | null | null | Booleans/4.2.4 If/4.2.5 Fix the problem.py | ferrerinicolas/python_samples | 107cead4fbee30b275a5e2be1257833129ce5e46 | [
"MIT"
] | null | null | null | Booleans/4.2.4 If/4.2.5 Fix the problem.py | ferrerinicolas/python_samples | 107cead4fbee30b275a5e2be1257833129ce5e46 | [
"MIT"
] | null | null | null | can_juggle = True
# The code below has problems. See if
# you can fix them!
#if can_juggle print("I can juggle!")
#else
print("I can't juggle.")
| 16.333333 | 37 | 0.693878 | 27 | 147 | 3.703704 | 0.62963 | 0.27 | 0.18 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 147 | 8 | 38 | 18.375 | 0.833333 | 0.632653 | 0 | 0 | 0 | 0 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b1542cd589e62fb7173b027c1b40c713b7897ca2 | 615 | py | Python | sample_project/env/lib/python3.9/site-packages/qtpy/tests/test_qtprintsupport.py | Istiakmorsalin/ML-Data-Science | 681e68059b146343ef55b0671432dc946970730d | [
"MIT"
] | 4 | 2021-11-19T03:25:13.000Z | 2022-02-24T15:32:30.000Z | sample_project/env/lib/python3.9/site-packages/qtpy/tests/test_qtprintsupport.py | Istiakmorsalin/ML-Data-Science | 681e68059b146343ef55b0671432dc946970730d | [
"MIT"
] | null | null | null | sample_project/env/lib/python3.9/site-packages/qtpy/tests/test_qtprintsupport.py | Istiakmorsalin/ML-Data-Science | 681e68059b146343ef55b0671432dc946970730d | [
"MIT"
] | 3 | 2020-08-04T02:48:32.000Z | 2020-08-17T01:20:09.000Z | from __future__ import absolute_import
import pytest
from qtpy import QtPrintSupport
def test_qtprintsupport():
"""Test the qtpy.QtPrintSupport namespace"""
assert QtPrintSupport.QAbstractPrintDialog is not None
assert QtPrintSupport.QPageSetupDialog is not None
assert QtPrintSupport.QPrint... | 32.368421 | 59 | 0.782114 | 67 | 615 | 7.089552 | 0.343284 | 0.336842 | 0.151579 | 0.221053 | 0.427368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188618 | 615 | 18 | 60 | 34.166667 | 0.951904 | 0.061789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.083333 | true | 0 | 0.25 | 0 | 0.333333 | 0.083333 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b16bfa5767e1c86af8aeaefb5fff8896cc5aa5cc | 1,523 | py | Python | dxlnmapclient/constants.py | camilastock/opendxl-nmap-client-python | 2221adcb154a412c14925935159afc67ed9ba7a5 | [
"Apache-2.0"
] | null | null | null | dxlnmapclient/constants.py | camilastock/opendxl-nmap-client-python | 2221adcb154a412c14925935159afc67ed9ba7a5 | [
"Apache-2.0"
] | null | null | null | dxlnmapclient/constants.py | camilastock/opendxl-nmap-client-python | 2221adcb154a412c14925935159afc67ed9ba7a5 | [
"Apache-2.0"
] | 1 | 2018-02-12T18:20:18.000Z | 2018-02-12T18:20:18.000Z | class DxlNmapOptions:
"""
Constants that are used to execute Nmap tool
+-------------+---------+----------------------------------------------------------+
| Option | Command | Description |
+=============+=========+=============================... | 60.92 | 88 | 0.169402 | 47 | 1,523 | 5.382979 | 0.553191 | 0.166008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.512147 | 1,523 | 24 | 89 | 63.458333 | 0.340511 | 0.86671 | 0 | 0 | 0 | 0 | 0.07377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b16c522c8657dbedfb8cc24e18349f5784c77002 | 8,203 | py | Python | 2019/intcode/intcode/tests/test_intcode.py | Ganon11/AdventCode | eebf3413c8e73c45d0e0a65a80e57eaf594baead | [
"MIT"
] | null | null | null | 2019/intcode/intcode/tests/test_intcode.py | Ganon11/AdventCode | eebf3413c8e73c45d0e0a65a80e57eaf594baead | [
"MIT"
] | null | null | null | 2019/intcode/intcode/tests/test_intcode.py | Ganon11/AdventCode | eebf3413c8e73c45d0e0a65a80e57eaf594baead | [
"MIT"
] | null | null | null | import intcode
def test_default_constructor(): # pylint: disable=C0116
values = [0, 1, 2, 0, 99]
program = intcode.IntCodeProgram(values)
assert program.instruction_pointer == 0
assert program.memory == values
def test_noun_verb(): # pylint: disable=C0116
values = [0, 1, 2, 0, 99]
program = intcode.IntCod... | 31.30916 | 85 | 0.720224 | 1,098 | 8,203 | 5.24408 | 0.098361 | 0.115144 | 0.15422 | 0.199201 | 0.80462 | 0.784995 | 0.661167 | 0.589614 | 0.491316 | 0.417332 | 0 | 0.085174 | 0.161282 | 8,203 | 261 | 86 | 31.429119 | 0.751744 | 0.066927 | 0 | 0.528302 | 0 | 0 | 0.007997 | 0 | 0 | 0 | 0 | 0 | 0.466981 | 1 | 0.113208 | false | 0 | 0.004717 | 0 | 0.117925 | 0.009434 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b17454e4938df93dd6729a10260ca6df34c9564c | 84 | py | Python | scripts/python/make-dist-cfg.py | brakmic/cm3 | b99e280eca00c322e04e0586951de50108e51343 | [
"BSD-4-Clause-UC",
"BSD-4-Clause",
"BSD-3-Clause"
] | 2 | 2015-03-02T17:01:32.000Z | 2021-12-29T14:34:46.000Z | scripts/python/make-dist-cfg.py | ganeshbabuNN/cm3 | 9fb432d44a2ba89575febb38f7c1eb3dca6a3879 | [
"BSD-4-Clause-UC",
"BSD-4-Clause",
"BSD-3-Clause"
] | 1 | 2015-07-23T07:51:22.000Z | 2015-07-23T07:51:22.000Z | scripts/python/make-dist-cfg.py | RodneyBates/M3Devel | 7b8dd3fc8f5b05d1c69774d92234ea50d143a692 | [
"BSD-4-Clause-UC",
"BSD-4-Clause"
] | 1 | 2021-12-29T14:35:47.000Z | 2021-12-29T14:35:47.000Z | #! /usr/bin/env python
from pylib import *
CopyConfigForDistribution(InstallRoot)
| 14 | 38 | 0.785714 | 9 | 84 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 84 | 5 | 39 | 16.8 | 0.891892 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b1784fe113bca2d558cd14a80d284029cd03a532 | 92 | py | Python | tests/samples/importing/nested/base.py | machinable-org/machinable | 9d96e942dde05d68699bc7bc0c3d062ee18652ad | [
"MIT"
] | 23 | 2020-02-28T14:29:04.000Z | 2021-12-23T20:50:54.000Z | tests/samples/importing/nested/base.py | machinable-org/machinable | 9d96e942dde05d68699bc7bc0c3d062ee18652ad | [
"MIT"
] | 172 | 2020-02-24T12:12:11.000Z | 2022-03-29T03:08:24.000Z | tests/samples/importing/nested/base.py | machinable-org/machinable | 9d96e942dde05d68699bc7bc0c3d062ee18652ad | [
"MIT"
] | 1 | 2020-11-23T22:42:20.000Z | 2020-11-23T22:42:20.000Z | from machinable import Component
class BaseComponent(Component):
"""Base component"""
| 15.333333 | 32 | 0.75 | 9 | 92 | 7.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 92 | 5 | 33 | 18.4 | 0.884615 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b17998122b0c9414fb547e0a5c5bf8d5f8b4473a | 63 | py | Python | src/oscar/apps/customer/__init__.py | QueoLda/django-oscar | 8dd992d82e31d26c929b3caa0e08b57e9701d097 | [
"BSD-3-Clause"
] | 4,639 | 2015-01-01T00:42:33.000Z | 2022-03-29T18:32:12.000Z | src/oscar/apps/customer/__init__.py | QueoLda/django-oscar | 8dd992d82e31d26c929b3caa0e08b57e9701d097 | [
"BSD-3-Clause"
] | 2,215 | 2015-01-02T22:32:51.000Z | 2022-03-29T12:16:23.000Z | src/oscar/apps/customer/__init__.py | QueoLda/django-oscar | 8dd992d82e31d26c929b3caa0e08b57e9701d097 | [
"BSD-3-Clause"
] | 2,187 | 2015-01-02T06:33:31.000Z | 2022-03-31T15:32:36.000Z | default_app_config = 'oscar.apps.customer.apps.CustomerConfig'
| 31.5 | 62 | 0.84127 | 8 | 63 | 6.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 63 | 1 | 63 | 63 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.619048 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b17eab4940677c2202b0aa8a880f82fca874b795 | 2,732 | py | Python | examples/example_hello_world.py | clbarnes/figurefirst | ed38e246a96f28530bf663eb6920da1c3ccee610 | [
"MIT"
] | 67 | 2016-06-03T20:37:56.000Z | 2022-03-08T19:05:06.000Z | examples/example_hello_world.py | clbarnes/figurefirst | ed38e246a96f28530bf663eb6920da1c3ccee610 | [
"MIT"
] | 56 | 2016-05-23T17:44:04.000Z | 2021-11-18T19:23:52.000Z | examples/example_hello_world.py | clbarnes/figurefirst | ed38e246a96f28530bf663eb6920da1c3ccee610 | [
"MIT"
] | 11 | 2017-07-13T14:25:08.000Z | 2021-12-01T00:15:01.000Z | #!/usr/bin/env python
import numpy as np
import matplotlib.pyplot as plt
plt.ion()
from figurefirst import FigureLayout
layout = FigureLayout('example_hello_world_layout.svg')
layout.make_mplfigures()
d = np.array([[144, 57], [138, 57], [138, 59], [141, 61], [141, 82], [138, 84], [138, 85], [142, 85], [147, 85], [147... | 143.789474 | 2,363 | 0.493411 | 490 | 2,732 | 2.726531 | 0.312245 | 0.011228 | 0.025449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.468461 | 0.170205 | 2,732 | 18 | 2,364 | 151.777778 | 0.120865 | 0.007321 | 0 | 0 | 0 | 0 | 0.03246 | 0.022132 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.272727 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b1a93d370fc62aa987aa9250ab1bac4da3444f9c | 35 | py | Python | tests/__init__.py | jsta/nhdpy | 38f52a68907e4d838715c77b18e61450eb775c72 | [
"MIT"
] | null | null | null | tests/__init__.py | jsta/nhdpy | 38f52a68907e4d838715c77b18e61450eb775c72 | [
"MIT"
] | 8 | 2020-11-12T16:42:23.000Z | 2021-03-04T19:00:09.000Z | tests/__init__.py | jsta/nhdpy | 38f52a68907e4d838715c77b18e61450eb775c72 | [
"MIT"
] | null | null | null | """Unit test package for nhdpy."""
| 17.5 | 34 | 0.657143 | 5 | 35 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.766667 | 0.8 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b1ac9e7af9abde201568a2b9eff7f851241bb02a | 168 | py | Python | configs/tsmnet/tsmnet_r50-d1_769x769_40k_cityscapes_video.py | labdeeman7/TRDP_temporal_stability_semantic_segmentation | efe0f13c2ed4e203d1caa41810e39e09152b508e | [
"Apache-2.0"
] | null | null | null | configs/tsmnet/tsmnet_r50-d1_769x769_40k_cityscapes_video.py | labdeeman7/TRDP_temporal_stability_semantic_segmentation | efe0f13c2ed4e203d1caa41810e39e09152b508e | [
"Apache-2.0"
] | null | null | null | configs/tsmnet/tsmnet_r50-d1_769x769_40k_cityscapes_video.py | labdeeman7/TRDP_temporal_stability_semantic_segmentation | efe0f13c2ed4e203d1caa41810e39e09152b508e | [
"Apache-2.0"
] | null | null | null | _base_ = [
'../_base_/models/tsm_r50-d8.py', '../_base_/datasets/cityscapes_769x769.py',
'../_base_/default_runtime.py', '../_base_/schedules/schedule_40k.py'
] | 42 | 81 | 0.684524 | 21 | 168 | 4.809524 | 0.666667 | 0.178218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071895 | 0.089286 | 168 | 4 | 82 | 42 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0.786982 | 0.786982 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.