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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bcc4e6124a8f7e17f2ce8a98da4f225942322cb1 | 229 | py | Python | 09_enumerate.py | AmreshTripathy/Advance-Python | 0cfe3fc263af1080edbf9167895a51d27be64993 | [
"Apache-2.0"
] | null | null | null | 09_enumerate.py | AmreshTripathy/Advance-Python | 0cfe3fc263af1080edbf9167895a51d27be64993 | [
"Apache-2.0"
] | null | null | null | 09_enumerate.py | AmreshTripathy/Advance-Python | 0cfe3fc263af1080edbf9167895a51d27be64993 | [
"Apache-2.0"
] | null | null | null | list1 = [3, 4, 51, 90.1, False, 'Amresh', 7]
# index = 0
# for i in list1:
# print (f'index: {index}, Value: {i}')
# index += 1
for index, item in enumerate(list1):
print (f'index: {index}, Value: {item}') | 28.625 | 45 | 0.532751 | 35 | 229 | 3.485714 | 0.542857 | 0.163934 | 0.180328 | 0.262295 | 0.42623 | 0.42623 | 0 | 0 | 0 | 0 | 0 | 0.077381 | 0.266376 | 229 | 8 | 46 | 28.625 | 0.64881 | 0.358079 | 0 | 0 | 0 | 0 | 0.257353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bcdd08d1274d0f138afbb0dc78e454f4774aa7e7 | 15,780 | py | Python | Tools/SayulispEditor/src/searchparams_windows.py | MetalPhaeton/sayuri | 27a65bc2c2a9be49d394fbc9abbe50ad91dfa718 | [
"MIT"
] | 7 | 2015-09-15T23:56:35.000Z | 2022-01-21T03:06:22.000Z | Tools/SayulispEditor/src/searchparams_windows.py | MetalPhaeton/sayuri | 27a65bc2c2a9be49d394fbc9abbe50ad91dfa718 | [
"MIT"
] | 5 | 2016-04-09T21:37:04.000Z | 2018-06-12T07:12:34.000Z | Tools/SayulispEditor/src/searchparams_windows.py | MetalPhaeton/sayuri | 27a65bc2c2a9be49d394fbc9abbe50ad91dfa718 | [
"MIT"
] | 2 | 2018-08-11T21:30:16.000Z | 2021-08-03T15:43:27.000Z | # The MIT License (MIT)
#
# Copyright (c) 2016 Hironori Ishibashi
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, co... | 33.151261 | 79 | 0.662674 | 1,967 | 15,780 | 5.100153 | 0.109812 | 0.081639 | 0.068581 | 0.066487 | 0.810506 | 0.779107 | 0.716906 | 0.623505 | 0.592803 | 0.524222 | 0 | 0.001976 | 0.230292 | 15,780 | 475 | 80 | 33.221053 | 0.823975 | 0.070976 | 0 | 0.516129 | 0 | 0 | 0.080571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.093842 | false | 0.002933 | 0.020528 | 0 | 0.16129 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bce1d390521efea133e7da887840083c8a8e9bcb | 179 | py | Python | demo/start_napari.py | haesleinhuepf/napari-minimal-plugin | cda2817feca6de8cbdafec58738185579ee58418 | [
"Unlicense"
] | 4 | 2021-01-20T16:41:01.000Z | 2021-02-07T12:42:48.000Z | demo/start_napari.py | haesleinhuepf/napari-minimal-plugin | cda2817feca6de8cbdafec58738185579ee58418 | [
"Unlicense"
] | null | null | null | demo/start_napari.py | haesleinhuepf/napari-minimal-plugin | cda2817feca6de8cbdafec58738185579ee58418 | [
"Unlicense"
] | null | null | null | import napari
import numpy as np
# create Qt GUI context
with napari.gui_qt():
# start napari
viewer = napari.Viewer()
viewer.add_image(np.random.random((512,512)))
| 17.9 | 49 | 0.698324 | 27 | 179 | 4.555556 | 0.592593 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041379 | 0.189944 | 179 | 9 | 50 | 19.888889 | 0.806897 | 0.189944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
bce9c177f965743858a78f8ceacb3a1374da5b68 | 1,493 | py | Python | journey/day-1/Print.py | rishabhio/PythonCave | 4960e10205d7dcc4ab9fea298f284b00c018f89f | [
"MIT"
] | null | null | null | journey/day-1/Print.py | rishabhio/PythonCave | 4960e10205d7dcc4ab9fea298f284b00c018f89f | [
"MIT"
] | null | null | null | journey/day-1/Print.py | rishabhio/PythonCave | 4960e10205d7dcc4ab9fea298f284b00c018f89f | [
"MIT"
] | null | null | null | ################################ Print.py ##################################
# desc : code that describes print command in 8 useful scenarios #
# author : @rishabhio #
# website: https://rishabh.io #
# repo : h... | 37.325 | 84 | 0.546551 | 197 | 1,493 | 4.142132 | 0.522843 | 0.051471 | 0.042892 | 0.031863 | 0.071078 | 0.071078 | 0.071078 | 0.071078 | 0.071078 | 0 | 0 | 0.032403 | 0.255861 | 1,493 | 39 | 85 | 38.282051 | 0.70207 | 0.507033 | 0 | 0 | 0 | 0 | 0.602452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
4c1a32f10a42b7d23d817ccd5aab35ef954523bf | 557 | py | Python | phraseless/contrib/django/forms.py | jocke-l/phraseless | 47b3dcc434a4a12e9cb668d7ae527c3a5478dada | [
"BSD-3-Clause"
] | null | null | null | phraseless/contrib/django/forms.py | jocke-l/phraseless | 47b3dcc434a4a12e9cb668d7ae527c3a5478dada | [
"BSD-3-Clause"
] | null | null | null | phraseless/contrib/django/forms.py | jocke-l/phraseless | 47b3dcc434a4a12e9cb668d7ae527c3a5478dada | [
"BSD-3-Clause"
] | null | null | null | from base64 import urlsafe_b64decode
from django import forms
from phraseless.certificates import deserialize_certificate_chain
class CertificateAuth(forms.Form):
certificate_chain = forms.CharField()
challenge_signature = forms.CharField()
def clean_certificate_chain(self):
return deserialize_... | 26.52381 | 65 | 0.732496 | 57 | 557 | 6.877193 | 0.438596 | 0.204082 | 0.137755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013423 | 0.197487 | 557 | 20 | 66 | 27.85 | 0.863535 | 0 | 0 | 0 | 0 | 0 | 0.064632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.214286 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4c299fafb1a0efba21ec1cfce6fc7b1708bbdb95 | 126 | py | Python | controllers/information_controller.py | VNCompany/vnforum | 770aca3a94ad1ed54628d48867c299d83215f75a | [
"Unlicense"
] | null | null | null | controllers/information_controller.py | VNCompany/vnforum | 770aca3a94ad1ed54628d48867c299d83215f75a | [
"Unlicense"
] | null | null | null | controllers/information_controller.py | VNCompany/vnforum | 770aca3a94ad1ed54628d48867c299d83215f75a | [
"Unlicense"
] | null | null | null | from .__imports import *
class InformationController(Controller):
__view__ = "information"
__title__ = "Информация"
| 18 | 40 | 0.738095 | 10 | 126 | 8.3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 126 | 6 | 41 | 21 | 0.798077 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4c488acaf54c2a9b5a01e985e6ee6c2aaac280a2 | 666 | py | Python | idea_sms_sdk/utils.py | njerucyrus/idea_sms_python_sdk | 4f171f91c6ae29f75943a9bb7bb39de0b8bbf4e6 | [
"MIT"
] | null | null | null | idea_sms_sdk/utils.py | njerucyrus/idea_sms_python_sdk | 4f171f91c6ae29f75943a9bb7bb39de0b8bbf4e6 | [
"MIT"
] | null | null | null | idea_sms_sdk/utils.py | njerucyrus/idea_sms_python_sdk | 4f171f91c6ae29f75943a9bb7bb39de0b8bbf4e6 | [
"MIT"
] | null | null | null | class CleanPhoneNumber(object):
def __init__(self, phone_number):
self.phone_number = phone_number
def sanitize_phone_number(self):
phone_number = self.phone_number
phone = list(phone_number)
prefix = phone[0]
length = len(phone_number)
if prefix == '+' and leng... | 24.666667 | 44 | 0.521021 | 72 | 666 | 4.625 | 0.361111 | 0.297297 | 0.18018 | 0.18018 | 0.243243 | 0.21021 | 0.21021 | 0 | 0 | 0 | 0 | 0.038005 | 0.367868 | 666 | 26 | 45 | 25.615385 | 0.752969 | 0 | 0 | 0.2 | 0 | 0 | 0.009009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4c49592c0e4c3a73f32bd792900339deddee823f | 190 | py | Python | sendemail/urls.py | pauljeffrey/portfolio | ff91ab2a6e30886f0a686aae56fe2df45e497fbd | [
"MIT"
] | 3 | 2019-06-23T11:35:15.000Z | 2022-03-28T15:39:23.000Z | sendemail/urls.py | pauljeffrey/portfolio | ff91ab2a6e30886f0a686aae56fe2df45e497fbd | [
"MIT"
] | 2 | 2019-01-30T21:00:41.000Z | 2020-03-06T00:15:20.000Z | sendemail/urls.py | pauljeffrey/portfolio | ff91ab2a6e30886f0a686aae56fe2df45e497fbd | [
"MIT"
] | 3 | 2019-03-19T06:18:43.000Z | 2021-06-23T16:30:51.000Z | from django.urls import path
from .views import emailView, successView
urlpatterns = [
path('contact/', emailView, name='contact'),
path('success/', successView, name='success'),
] | 23.75 | 50 | 0.705263 | 21 | 190 | 6.380952 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147368 | 190 | 8 | 51 | 23.75 | 0.82716 | 0 | 0 | 0 | 0 | 0 | 0.157068 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4c4f0e1918e8da2ab65e3e124b647495840ad005 | 1,066 | py | Python | task.py | rsarthak/To-do-app | 7b9365272b9b0ff53a816e725ff605005c0fc00a | [
"Apache-2.0"
] | null | null | null | task.py | rsarthak/To-do-app | 7b9365272b9b0ff53a816e725ff605005c0fc00a | [
"Apache-2.0"
] | null | null | null | task.py | rsarthak/To-do-app | 7b9365272b9b0ff53a816e725ff605005c0fc00a | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
import pymongo
import json
from bson import json_util
from bson.objectid import ObjectId
class TaskDAO:
def __init__(self, database):
self.database = database
self.task_collection = self.database.task
def create(self, data):
task = {
'title':... | 25.380952 | 79 | 0.603189 | 129 | 1,066 | 4.790698 | 0.333333 | 0.064725 | 0.145631 | 0.106796 | 0.213592 | 0.213592 | 0.213592 | 0.132686 | 0.132686 | 0 | 0 | 0.001316 | 0.287054 | 1,066 | 41 | 80 | 26 | 0.811842 | 0.011257 | 0 | 0.137931 | 0 | 0 | 0.0455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0.068966 | 0.137931 | 0.034483 | 0.551724 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
4c6efc94659d5886b7c2fcfbb67412f8fc73cfc2 | 87 | py | Python | f5cli/docs/__init__.py | f5devcentral/f5-cli | 22a5c6902e3f78a969a86116a73fcad817f220be | [
"Apache-2.0"
] | 13 | 2020-03-06T22:35:47.000Z | 2021-06-28T23:08:46.000Z | f5cli/docs/__init__.py | f5devcentral/f5-cli | 22a5c6902e3f78a969a86116a73fcad817f220be | [
"Apache-2.0"
] | 19 | 2020-03-11T15:14:06.000Z | 2022-01-26T23:56:56.000Z | f5cli/docs/__init__.py | f5devcentral/f5-cli | 22a5c6902e3f78a969a86116a73fcad817f220be | [
"Apache-2.0"
] | 1 | 2020-03-24T13:29:30.000Z | 2020-03-24T13:29:30.000Z | """Documentation module """
from .utils import get_docs
__all__ = [
'get_docs'
]
| 10.875 | 27 | 0.655172 | 10 | 87 | 5.1 | 0.8 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 87 | 7 | 28 | 12.428571 | 0.73913 | 0.229885 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d5bd38716660d1b5227bf6196ba3457b03a382c9 | 426 | py | Python | uoftscrapers/scrapers/calendar/utm.py | kshvmdn/uoft-scrapers | 6a8f00d9a581464c3303fe478d59a86b051e671e | [
"MIT"
] | 49 | 2015-11-29T07:46:06.000Z | 2021-05-12T14:10:45.000Z | uoftscrapers/scrapers/calendar/utm.py | kshvmdn/uoft-scrapers | 6a8f00d9a581464c3303fe478d59a86b051e671e | [
"MIT"
] | 49 | 2015-11-21T23:38:31.000Z | 2020-05-16T19:13:02.000Z | uoftscrapers/scrapers/calendar/utm.py | kshvmdn/uoft-scrapers | 6a8f00d9a581464c3303fe478d59a86b051e671e | [
"MIT"
] | 28 | 2016-03-28T21:25:32.000Z | 2022-01-04T04:24:07.000Z | from ..utils import Scraper
from bs4 import BeautifulSoup
from collections import OrderedDict
import json
import os
import requests
class UTMCalendar:
host = 'http://www.artsandscience.utoronto.ca/ofr/calendar/'
@staticmethod
def scrape(location='.'):
Scraper.logger.info('UTMCalendar initialized... | 23.666667 | 64 | 0.7277 | 47 | 426 | 6.595745 | 0.659574 | 0.125806 | 0.164516 | 0.180645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002825 | 0.169014 | 426 | 17 | 65 | 25.058824 | 0.872881 | 0 | 0 | 0 | 0 | 0 | 0.267606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.461538 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d5ca28300c2f766e4018679de56e8c25f45278d7 | 243 | py | Python | CURSO PYTHON/pythonsexercicios/ex012.py | Sabrinaparussoli/PYTHON | 77436608ffd799e9e2bbe4fa5084443fb7382793 | [
"MIT"
] | null | null | null | CURSO PYTHON/pythonsexercicios/ex012.py | Sabrinaparussoli/PYTHON | 77436608ffd799e9e2bbe4fa5084443fb7382793 | [
"MIT"
] | null | null | null | CURSO PYTHON/pythonsexercicios/ex012.py | Sabrinaparussoli/PYTHON | 77436608ffd799e9e2bbe4fa5084443fb7382793 | [
"MIT"
] | null | null | null | print('-'*12, 'DESCONTO DE PRODUTOS', '-'*12)
preco = float(input('Qual o preço do produto: '))
desc = preco - (preco * 5 / 100)
print('O produto que custava R${:.2f}, na promoção com desconto de 5% vai custar R${:.2f}'.format(preco, desc))
| 34.714286 | 111 | 0.641975 | 39 | 243 | 4 | 0.666667 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053922 | 0.160494 | 243 | 6 | 112 | 40.5 | 0.710784 | 0 | 0 | 0 | 0 | 0.25 | 0.533058 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
d5cbbfb2d6b4adb3038dcc78ad2349595bc6a66e | 1,145 | py | Python | oo/pessoa.py | juliofelipe/pythonbirds | 0cf7c4d227fe04eb650eb7f62d94808e642e6ca3 | [
"MIT"
] | null | null | null | oo/pessoa.py | juliofelipe/pythonbirds | 0cf7c4d227fe04eb650eb7f62d94808e642e6ca3 | [
"MIT"
] | null | null | null | oo/pessoa.py | juliofelipe/pythonbirds | 0cf7c4d227fe04eb650eb7f62d94808e642e6ca3 | [
"MIT"
] | null | null | null | class Pessoa:
olhos = 2
def __init__(self, *filhos, nome=None, idade=43):
self.idade = idade
self.nome = nome
self.filhos = list(filhos)
def cumprimentar(self):
return f'Olá'
# >>> julio.nome
# 'Julio'
# >>> julio.idade
# 43
# >>> for filho in julio.filhos:
# ... print... | 26.022727 | 117 | 0.575546 | 136 | 1,145 | 4.669118 | 0.25 | 0.113386 | 0.110236 | 0.125984 | 0.344882 | 0.269291 | 0.269291 | 0.165354 | 0 | 0 | 0 | 0.034409 | 0.187773 | 1,145 | 44 | 118 | 26.022727 | 0.648387 | 0.749345 | 0 | 0 | 0 | 0 | 0.011765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d5d3b945c839d535f083f5a3455b79ffecd607af | 948 | py | Python | tests/conftest.py | ConnectionMaster/robotpy-wpilib-utilities | b62e563c7df113e9e513a36b9039f47f34157be1 | [
"BSD-3-Clause"
] | null | null | null | tests/conftest.py | ConnectionMaster/robotpy-wpilib-utilities | b62e563c7df113e9e513a36b9039f47f34157be1 | [
"BSD-3-Clause"
] | 1 | 2022-03-15T18:03:43.000Z | 2022-03-15T18:03:43.000Z | tests/conftest.py | ConnectionMaster/robotpy-wpilib-utilities | b62e563c7df113e9e513a36b9039f47f34157be1 | [
"BSD-3-Clause"
] | null | null | null | # TODO: remove this once WPILib is public, and use the real thing
import sys
import pytest
from unittest.mock import MagicMock
def pytest_runtest_setup():
pass
def pytest_runtest_teardown():
pass
@pytest.fixture(scope="function")
def wpimock(monkeypatch):
mock = MagicMock(name="wpimock")
monkeyp... | 18.230769 | 65 | 0.695148 | 109 | 948 | 6.009174 | 0.495413 | 0.158779 | 0.082443 | 0.119084 | 0.132824 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009309 | 0.206751 | 948 | 51 | 66 | 18.588235 | 0.861702 | 0.109705 | 0 | 0.241379 | 0 | 0 | 0.044048 | 0 | 0 | 0 | 0 | 0.019608 | 0 | 1 | 0.206897 | false | 0.068966 | 0.172414 | 0 | 0.448276 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
d5e4313c5143b9aa63e46ecdefef2b2b29763677 | 210 | py | Python | system/apps.py | ugractf/terminal-board | c08c9c2c54034aa91a8ce657c5c519acb245d0b0 | [
"MIT"
] | null | null | null | system/apps.py | ugractf/terminal-board | c08c9c2c54034aa91a8ce657c5c519acb245d0b0 | [
"MIT"
] | null | null | null | system/apps.py | ugractf/terminal-board | c08c9c2c54034aa91a8ce657c5c519acb245d0b0 | [
"MIT"
] | null | null | null | import os
from django.apps import AppConfig
from ctf.settings import *
class SystemConfig(AppConfig):
name = 'system'
verbose_name = open(os.path.join(BASE_DIR, 'ctf', 'eventname'), 'r').read().strip()
| 19.090909 | 85 | 0.714286 | 29 | 210 | 5.103448 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138095 | 210 | 10 | 86 | 21 | 0.81768 | 0 | 0 | 0 | 0 | 0 | 0.090476 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d5edc51a5b1b016d511749923a1dac2f1b7efdd7 | 912 | py | Python | Python/empire/data_structures/key_value.py | Tombmyst/Empire | f28782787c5fa9127e353549b73ec90d3c82c003 | [
"Apache-2.0"
] | null | null | null | Python/empire/data_structures/key_value.py | Tombmyst/Empire | f28782787c5fa9127e353549b73ec90d3c82c003 | [
"Apache-2.0"
] | null | null | null | Python/empire/data_structures/key_value.py | Tombmyst/Empire | f28782787c5fa9127e353549b73ec90d3c82c003 | [
"Apache-2.0"
] | null | null | null | from empire.core import *
class KeyValue:
def __init__(self, key: Any, value: Any = None):
self._key: Any = key
self._value: Any = value
@property
def key(self) -> Any:
return self._key
@key.setter
def key(self, key: Any):
self._key = key
@property
def va... | 21.209302 | 72 | 0.563596 | 115 | 912 | 4.156522 | 0.26087 | 0.117155 | 0.062762 | 0.07113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.314693 | 912 | 42 | 73 | 21.714286 | 0.7648 | 0 | 0 | 0.064516 | 0 | 0 | 0.04057 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.322581 | false | 0 | 0.032258 | 0.193548 | 0.645161 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9100ce21ba24b813659adcabf1afb5d1a877ade7 | 766 | py | Python | aula05082019/App.py | mariosiqueira/aedpython | 27276aba5555a02b5a162b3a3d2807669ade8a8e | [
"CNRI-Python"
] | null | null | null | aula05082019/App.py | mariosiqueira/aedpython | 27276aba5555a02b5a162b3a3d2807669ade8a8e | [
"CNRI-Python"
] | null | null | null | aula05082019/App.py | mariosiqueira/aedpython | 27276aba5555a02b5a162b3a3d2807669ade8a8e | [
"CNRI-Python"
] | null | null | null | from aula05082019.ListaDuplamenteLigada import ListaDuplamenteLigada
listaDuplamenteLigada = ListaDuplamenteLigada()
listaDuplamenteLigada.inserirInicio(2)
listaDuplamenteLigada.inserirInicio(1)
listaDuplamenteLigada.inserirFim(3)
listaDuplamenteLigada.inserir(100, 3)
print('---Imprimir Diretamente:')
listaDuplamente... | 31.916667 | 68 | 0.828982 | 63 | 766 | 10.079365 | 0.444444 | 0.198425 | 0.198425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022008 | 0.050914 | 766 | 24 | 69 | 31.916667 | 0.851444 | 0 | 0 | 0.1 | 0 | 0 | 0.183833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.05 | 0.5 | 0 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
9104ecc2d4835f85068234be7d3cfbc689345b0c | 42,358 | py | Python | tests/onegov/election_day/screen_widgets/test_election_widgets.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | tests/onegov/election_day/screen_widgets/test_election_widgets.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | tests/onegov/election_day/screen_widgets/test_election_widgets.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | from chameleon import PageTemplate
from datetime import date
from lxml import etree
from onegov.ballot import Election
from onegov.ballot import ElectionCompound
from onegov.ballot import ProporzElection
from onegov.core.widgets import inject_variables
from onegov.core.widgets import transform_structure
from onegov.ele... | 39.075646 | 79 | 0.502975 | 4,263 | 42,358 | 4.946282 | 0.131363 | 0.06336 | 0.104904 | 0.054633 | 0.813431 | 0.765816 | 0.657498 | 0.63554 | 0.628047 | 0.622451 | 0 | 0.062844 | 0.314037 | 42,358 | 1,083 | 80 | 39.111727 | 0.662858 | 0.003447 | 0 | 0.6423 | 0 | 0.003899 | 0.338704 | 0.058102 | 0 | 0 | 0 | 0 | 0.180312 | 1 | 0.002924 | false | 0 | 0.021443 | 0 | 0.024366 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
91328e065e28cec093506bd0b92c8120a36efe5e | 76 | py | Python | code/ans2/ans2.py | hedgerow512/coding-question-answers | 72ffa6aefac660f226470029b02db2ea87999b4f | [
"CC0-1.0"
] | null | null | null | code/ans2/ans2.py | hedgerow512/coding-question-answers | 72ffa6aefac660f226470029b02db2ea87999b4f | [
"CC0-1.0"
] | null | null | null | code/ans2/ans2.py | hedgerow512/coding-question-answers | 72ffa6aefac660f226470029b02db2ea87999b4f | [
"CC0-1.0"
] | null | null | null | i = 0
for i in range(0, 100):
if i % 2 == 0:
print(i)
i+= i
| 12.666667 | 23 | 0.394737 | 16 | 76 | 1.875 | 0.5625 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 0.434211 | 76 | 5 | 24 | 15.2 | 0.534884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9132cdcfe4a39791c09285b7be39ac7c19ba3ca3 | 219 | py | Python | app/api/dependencies/authentication/__init__.py | maxzhenzhera/my_vocab_backend | 2e9f968374e0bc2fcc0ae40830ca40f3cf5754d1 | [
"MIT"
] | null | null | null | app/api/dependencies/authentication/__init__.py | maxzhenzhera/my_vocab_backend | 2e9f968374e0bc2fcc0ae40830ca40f3cf5754d1 | [
"MIT"
] | null | null | null | app/api/dependencies/authentication/__init__.py | maxzhenzhera/my_vocab_backend | 2e9f968374e0bc2fcc0ae40830ca40f3cf5754d1 | [
"MIT"
] | null | null | null | from .injection import inject_authentication
from .markers import (
CurrentSuperuserMarker,
CurrentUserMarker
)
__all__ = [
'inject_authentication',
'CurrentSuperuserMarker',
'CurrentUserMarker'
]
| 16.846154 | 44 | 0.744292 | 15 | 219 | 10.466667 | 0.6 | 0.254777 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182648 | 219 | 12 | 45 | 18.25 | 0.877095 | 0 | 0 | 0 | 0 | 0 | 0.273973 | 0.196347 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
91349b8ccbc07309ecab8006e702546d97191b77 | 1,771 | py | Python | infoblox_netmri/api/remote/models/issue_summary_by_type_network_analysis_grid_remote.py | infobloxopen/infoblox_netmri | aa1c744df7e439dbe163bb9edd165e4e85a9771b | [
"Apache-2.0"
] | 12 | 2016-02-19T12:37:54.000Z | 2022-03-04T20:11:08.000Z | infoblox_netmri/api/remote/models/issue_summary_by_type_network_analysis_grid_remote.py | azinfoblox/infoblox-netmri | 02372c5231e2677ab6299cb659a73c9a41b4b0f4 | [
"Apache-2.0"
] | 18 | 2015-11-12T18:37:00.000Z | 2021-05-19T07:59:55.000Z | infoblox_netmri/api/remote/models/issue_summary_by_type_network_analysis_grid_remote.py | azinfoblox/infoblox-netmri | 02372c5231e2677ab6299cb659a73c9a41b4b0f4 | [
"Apache-2.0"
] | 18 | 2016-01-07T12:04:34.000Z | 2022-03-31T11:05:41.000Z | from ..remote import RemoteModel
class IssueSummaryByTypeNetworkAnalysisGridRemote(RemoteModel):
"""
| ``id:`` none
| ``attribute type:`` string
| ``SeverityName:`` none
| ``attribute type:`` string
| ``SeverityID:`` none
| ``attribute type:`` string
| ``Timestamp:`` none
... | 21.083333 | 63 | 0.447205 | 116 | 1,771 | 6.827586 | 0.25 | 0.295455 | 0.386364 | 0.522727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.392434 | 1,771 | 83 | 64 | 21.337349 | 0.736059 | 0.535855 | 0 | 0 | 0 | 0 | 0.212991 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
913f6f7f89e274e177336d448709d3696a5b2c36 | 927 | py | Python | Ene-Jun-2021/perez-arroyo-jose-fernando/Parcial_1/Practica_2/DecoradoresN.py | bryanbalderas/DAS_Sistemas | 1e31f088c0de7134471025a5730b0abfc19d936e | [
"MIT"
] | 41 | 2017-09-26T09:36:32.000Z | 2022-03-19T18:05:25.000Z | Ene-Jun-2021/perez-arroyo-jose-fernando/Parcial_1/Practica_2/DecoradoresN.py | bryanbalderas/DAS_Sistemas | 1e31f088c0de7134471025a5730b0abfc19d936e | [
"MIT"
] | 67 | 2017-09-11T05:06:12.000Z | 2022-02-14T04:44:04.000Z | Ene-Jun-2021/perez-arroyo-jose-fernando/Parcial_1/Practica_2/DecoradoresN.py | bryanbalderas/DAS_Sistemas | 1e31f088c0de7134471025a5730b0abfc19d936e | [
"MIT"
] | 210 | 2017-09-01T00:10:08.000Z | 2022-03-19T18:05:12.000Z | class componente:
def equip(self):
pass
class CharacterConcreteComponent(componente):
def __init__(self, name: str):
self.name = name
self.p1 = ''
def e2(x):
def a2(self):
return f"{self.name} equipment:"+ x(self)
return a2
@e2
def equip(self):
... | 22.071429 | 52 | 0.607335 | 99 | 927 | 5.484848 | 0.282828 | 0.143646 | 0.088398 | 0.077348 | 0.519337 | 0.482505 | 0.482505 | 0.482505 | 0.482505 | 0.482505 | 0 | 0.013595 | 0.285868 | 927 | 42 | 53 | 22.071429 | 0.806647 | 0 | 0 | 0.424242 | 0 | 0 | 0.064655 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.030303 | 0 | 0.121212 | 0.575758 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
914bb4082612e8c912332e887baccfc7f86b7b68 | 62 | py | Python | skorecard/preprocessing/__init__.py | orchardbirds/skorecard-1 | 0f5375a6c159bb35f4b62c5be75a742bf50885e2 | [
"MIT"
] | null | null | null | skorecard/preprocessing/__init__.py | orchardbirds/skorecard-1 | 0f5375a6c159bb35f4b62c5be75a742bf50885e2 | [
"MIT"
] | null | null | null | skorecard/preprocessing/__init__.py | orchardbirds/skorecard-1 | 0f5375a6c159bb35f4b62c5be75a742bf50885e2 | [
"MIT"
] | null | null | null | from ._WoEEncoder import WoeEncoder
__all__ = ["WoeEncoder"]
| 15.5 | 35 | 0.774194 | 6 | 62 | 7.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 3 | 36 | 20.666667 | 0.796296 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
914e51d9942e03cb7b55f185dc7ba64f28a26e6f | 669 | py | Python | roomai/kuhn/KuhnPokerPlayer.py | 1696012928/RoomAI | 37be09590489ab5f7c85083173e83ea31c40b76c | [
"MIT"
] | 1 | 2018-03-02T00:49:31.000Z | 2018-03-02T00:49:31.000Z | roomai/kuhn/KuhnPokerPlayer.py | 1696012928/RoomAI | 37be09590489ab5f7c85083173e83ea31c40b76c | [
"MIT"
] | null | null | null | roomai/kuhn/KuhnPokerPlayer.py | 1696012928/RoomAI | 37be09590489ab5f7c85083173e83ea31c40b76c | [
"MIT"
] | null | null | null | #!/bin/python
#coding:utf-8
import random
import roomai.common
import roomai.kuhn.KuhnPokerActionChance
class KuhnPokerChancePlayer(roomai.common.AbstractPlayer):
def receive_info(self, info):
self.available_actions_list = list(info.person_state.available_actions.values())
def take_action(self):
... | 24.777778 | 88 | 0.714499 | 77 | 669 | 6.064935 | 0.441558 | 0.077088 | 0.111349 | 0.124197 | 0.205567 | 0.205567 | 0.205567 | 0.205567 | 0 | 0 | 0 | 0.001859 | 0.195815 | 669 | 26 | 89 | 25.730769 | 0.866171 | 0.035874 | 0 | 0.5 | 0 | 0 | 0.00468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0.055556 | 0.722222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
9154352f3bb1fb2d88a7f314bbe36a8c5b24ff8e | 105 | py | Python | Chapter07/function_with_default_argument.py | LuisPereda/Learning_Python | e89e69346c5584be10d991010f39b59329793ba5 | [
"MIT"
] | null | null | null | Chapter07/function_with_default_argument.py | LuisPereda/Learning_Python | e89e69346c5584be10d991010f39b59329793ba5 | [
"MIT"
] | null | null | null | Chapter07/function_with_default_argument.py | LuisPereda/Learning_Python | e89e69346c5584be10d991010f39b59329793ba5 | [
"MIT"
] | null | null | null | def info(name, age=50):
print "Name", name
print "age", age
info("John", age=28)
info("James") | 21 | 24 | 0.590476 | 17 | 105 | 3.647059 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0.209524 | 105 | 5 | 25 | 21 | 0.698795 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e682166b9fda04570deae384e03eb9547e77594a | 821 | py | Python | backend/userapp/serializers.py | GoodGuy4221/my-todo-site-on-drf | 788bc9f8c33432ccd6a92a3c07ee6953b039478b | [
"MIT"
] | null | null | null | backend/userapp/serializers.py | GoodGuy4221/my-todo-site-on-drf | 788bc9f8c33432ccd6a92a3c07ee6953b039478b | [
"MIT"
] | null | null | null | backend/userapp/serializers.py | GoodGuy4221/my-todo-site-on-drf | 788bc9f8c33432ccd6a92a3c07ee6953b039478b | [
"MIT"
] | null | null | null | from rest_framework.serializers import ModelSerializer, HyperlinkedModelSerializer
from .models import User
class UserSerializer(HyperlinkedModelSerializer):
class Meta:
model = User
fields = (
'id',
'url',
'username',
'first_name',
'las... | 21.605263 | 82 | 0.47503 | 57 | 821 | 6.649123 | 0.508772 | 0.163588 | 0.184697 | 0.211082 | 0.569921 | 0.569921 | 0.569921 | 0.569921 | 0.569921 | 0.569921 | 0 | 0 | 0.428745 | 821 | 37 | 83 | 22.189189 | 0.808102 | 0 | 0 | 0.75 | 0 | 0 | 0.175396 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e684305f22844040dbf1cdb3412734d916ebad77 | 1,052 | py | Python | master/bopytest-code/code/ch7/tasks_proj_v2/tests/func/test_api_exceptions.py | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 4 | 2018-09-07T15:35:24.000Z | 2019-03-27T09:48:12.000Z | master/bopytest-code/code/ch7/tasks_proj_v3/tests/func/test_api_exceptions.py | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 371 | 2020-03-04T21:51:56.000Z | 2022-03-31T20:59:11.000Z | master/bopytest-code/code/ch7/tasks_proj_v2/tests/func/test_api_exceptions.py | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 3 | 2019-06-18T19:57:17.000Z | 2020-11-06T03:55:08.000Z | import pytest
import tasks
def test_add_TypeError(tasks_db):
with pytest.raises(TypeError):
tasks.add(task='not a Task object')
def test_list_TypeError(tasks_db):
with pytest.raises(TypeError):
tasks.list(owner=123)
def test_get_TypeError(tasks_db):
with pytest.raises(TypeError):
... | 27.684211 | 65 | 0.670152 | 149 | 1,052 | 4.516779 | 0.33557 | 0.208024 | 0.114413 | 0.17682 | 0.465082 | 0.430906 | 0.430906 | 0.430906 | 0.157504 | 0.157504 | 0 | 0.014493 | 0.212928 | 1,052 | 37 | 66 | 28.432432 | 0.798309 | 0 | 0 | 0.222222 | 0 | 0 | 0.092381 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 1 | 0.259259 | false | 0 | 0.074074 | 0 | 0.37037 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e68484532f24551cc67d1c48ef03bb337b802521 | 231 | py | Python | mayan/apps/django_gpg/icons.py | Fourdee/mayan-edms | 39a94f8b4fed519a3b20ab419e920ea53c11eb84 | [
"Apache-2.0"
] | null | null | null | mayan/apps/django_gpg/icons.py | Fourdee/mayan-edms | 39a94f8b4fed519a3b20ab419e920ea53c11eb84 | [
"Apache-2.0"
] | null | null | null | mayan/apps/django_gpg/icons.py | Fourdee/mayan-edms | 39a94f8b4fed519a3b20ab419e920ea53c11eb84 | [
"Apache-2.0"
] | 1 | 2020-02-05T18:07:08.000Z | 2020-02-05T18:07:08.000Z | from __future__ import absolute_import, unicode_literals
from appearance.classes import Icon
icon_key_setup = Icon(driver_name='fontawesome', symbol='key')
icon_keyserver_search = Icon(driver_name='fontawesome', symbol='search')
| 33 | 72 | 0.822511 | 30 | 231 | 5.933333 | 0.566667 | 0.11236 | 0.157303 | 0.280899 | 0.348315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082251 | 231 | 6 | 73 | 38.5 | 0.839623 | 0 | 0 | 0 | 0 | 0 | 0.134199 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 3 |
e684e9641511f02610e5e5c25d7baac89c9cfd51 | 1,711 | py | Python | jacdac/dc_voltage_measurement/client.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/dc_voltage_measurement/client.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/dc_voltage_measurement/client.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated file. Do not edit.
from jacdac.bus import Bus, SensorClient
from .constants import *
from typing import Optional
class DcVoltageMeasurementClient(SensorClient):
"""
A service that reports a voltage measurement.
Implements a client for the `DC Voltage Measurement <https://microsoft.github.i... | 41.731707 | 194 | 0.727645 | 206 | 1,711 | 5.796117 | 0.446602 | 0.120603 | 0.100503 | 0.073702 | 0.135678 | 0.135678 | 0.135678 | 0.135678 | 0.135678 | 0 | 0 | 0.001447 | 0.192285 | 1,711 | 40 | 195 | 42.775 | 0.862518 | 0.360608 | 0 | 0.176471 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.176471 | 0 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e68c16a462957eab121ebdc1cb78817a2d0fdc6b | 2,767 | py | Python | src/plainenglishmarkuplanguage/util.py | TheGreatGeek25/Prank2019 | 3a8e83192ff6ddb8879425f8d01e6cd2f2b0e498 | [
"Apache-2.0"
] | null | null | null | src/plainenglishmarkuplanguage/util.py | TheGreatGeek25/Prank2019 | 3a8e83192ff6ddb8879425f8d01e6cd2f2b0e498 | [
"Apache-2.0"
] | null | null | null | src/plainenglishmarkuplanguage/util.py | TheGreatGeek25/Prank2019 | 3a8e83192ff6ddb8879425f8d01e6cd2f2b0e498 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 TheGreatGeek
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, sof... | 29.43617 | 105 | 0.647633 | 363 | 2,767 | 4.746556 | 0.352617 | 0.046431 | 0.034823 | 0.018572 | 0.032501 | 0.032501 | 0.032501 | 0 | 0 | 0 | 0 | 0.006641 | 0.238164 | 2,767 | 93 | 106 | 29.752688 | 0.810721 | 0.196964 | 0 | 0.111111 | 0 | 0 | 0.027627 | 0.009964 | 0 | 0 | 0 | 0 | 0 | 1 | 0.259259 | false | 0 | 0.055556 | 0.148148 | 0.740741 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e6bf440ba06b7cb19efa24d961de2fcb91d2db62 | 120 | py | Python | file handling w.py | Srinivassan-Ramamurthy/python_programs | 53b390669c7e88532c67d80b758a9199d6fde8cf | [
"bzip2-1.0.6"
] | null | null | null | file handling w.py | Srinivassan-Ramamurthy/python_programs | 53b390669c7e88532c67d80b758a9199d6fde8cf | [
"bzip2-1.0.6"
] | null | null | null | file handling w.py | Srinivassan-Ramamurthy/python_programs | 53b390669c7e88532c67d80b758a9199d6fde8cf | [
"bzip2-1.0.6"
] | null | null | null | f=open('demo1.txt','a')
a=int(input('enter number '))
f.write('hello hi\n')
f.write('world')
f.write(str(a))
f.close()
| 15 | 29 | 0.625 | 24 | 120 | 3.125 | 0.666667 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0.083333 | 120 | 7 | 30 | 17.142857 | 0.672727 | 0 | 0 | 0 | 0 | 0 | 0.319328 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e6e97e8ecc7ab20507e7aa9b07f2c0593f73b786 | 224 | py | Python | demos/megawidgets/settingsviewer.py | JamesGKent/memtkinter | c4e178b33f24e609c812b20bddfff7448782a192 | [
"MIT"
] | null | null | null | demos/megawidgets/settingsviewer.py | JamesGKent/memtkinter | c4e178b33f24e609c812b20bddfff7448782a192 | [
"MIT"
] | 3 | 2018-06-04T09:32:20.000Z | 2018-06-07T15:27:56.000Z | demos/megawidgets/settingsviewer.py | JamesGKent/memtkinter | c4e178b33f24e609c812b20bddfff7448782a192 | [
"MIT"
] | null | null | null | import memtkinter as tk
from memtkinter.megawidgets import SettingsViewer
if __name__ == '__main__':
root = tk.Tk(keytype=tk.HKCU, filepath='./test.xml', name='test')
sv = SettingsViewer(root)
root.mainloop() | 24.888889 | 67 | 0.709821 | 28 | 224 | 5.392857 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 224 | 9 | 68 | 24.888889 | 0.803191 | 0 | 0 | 0 | 0 | 0 | 0.101382 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fc0321881a08459ead3b5752ec66cc490df9fd6f | 71 | py | Python | All Codes/URI_1017.py | Habibu-R-ahman/URI-Online-Judge-Solutions | 62aa23f4bfcf9ea2a1054451c6380ed827816b3c | [
"MIT"
] | 12 | 2020-03-05T15:18:25.000Z | 2022-01-29T18:38:25.000Z | All Codes/URI_1017.py | Habibu-R-ahman/URI-Online-Judge-Solutions | 62aa23f4bfcf9ea2a1054451c6380ed827816b3c | [
"MIT"
] | null | null | null | All Codes/URI_1017.py | Habibu-R-ahman/URI-Online-Judge-Solutions | 62aa23f4bfcf9ea2a1054451c6380ed827816b3c | [
"MIT"
] | 19 | 2020-01-08T18:04:28.000Z | 2021-08-18T12:27:41.000Z | time = int(input())
km = int(input())
print(f"{(time * km) / 12:.3f}") | 17.75 | 32 | 0.535211 | 12 | 71 | 3.166667 | 0.666667 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.15493 | 71 | 4 | 32 | 17.75 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fc0386b1693a75e54bd700b26d7355511fb57fa4 | 3,814 | py | Python | battleship/ships.py | misslame/BattleShipAIBUTTS | 9a7cb82adbf42e570bf8bda02c83fad7d9fdea14 | [
"MIT"
] | null | null | null | battleship/ships.py | misslame/BattleShipAIBUTTS | 9a7cb82adbf42e570bf8bda02c83fad7d9fdea14 | [
"MIT"
] | 8 | 2020-10-04T12:10:13.000Z | 2020-12-20T19:10:09.000Z | battleship/ships.py | misslame/BattleShipAIBUTTS | 9a7cb82adbf42e570bf8bda02c83fad7d9fdea14 | [
"MIT"
] | 4 | 2020-10-05T00:30:48.000Z | 2020-12-17T07:13:21.000Z | from exceptions.exception import * # All the Exception Classes
from repository.image_repository import ImageRepository # Repository of images as base 64
'''*****************************************************************
Class Ship:
- Parent class of 5 distinct ships.
- Abstract
Why different classes?
- Only ... | 29.114504 | 129 | 0.667016 | 527 | 3,814 | 4.59962 | 0.250474 | 0.052805 | 0.039604 | 0.037129 | 0.258251 | 0.235561 | 0.215759 | 0.135314 | 0.110561 | 0.082508 | 0 | 0.013668 | 0.175144 | 3,814 | 131 | 130 | 29.114504 | 0.756834 | 0.139748 | 0 | 0.325581 | 0 | 0 | 0.022597 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.244186 | false | 0.011628 | 0.023256 | 0.104651 | 0.523256 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
fc0fd140afcefa05c30b7b372036c8fb3aa7669e | 200 | py | Python | setup.py | Snijderfrey/pyRandomWalk | 8d60dc7298faeb0823eb3641da60c0b1c95714eb | [
"MIT"
] | null | null | null | setup.py | Snijderfrey/pyRandomWalk | 8d60dc7298faeb0823eb3641da60c0b1c95714eb | [
"MIT"
] | null | null | null | setup.py | Snijderfrey/pyRandomWalk | 8d60dc7298faeb0823eb3641da60c0b1c95714eb | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(
name='pyRandomWalk',
version='0.0.1',
packages=find_packages(where='src'),
install_requires=['numpy', 'pandas', 'little_helpers']
)
| 22.222222 | 58 | 0.695 | 24 | 200 | 5.625 | 0.791667 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017647 | 0.15 | 200 | 8 | 59 | 25 | 0.776471 | 0 | 0 | 0 | 0 | 0 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fc14f53340f9b97336c58fbb7037f814f639676d | 284 | py | Python | tests/test_decaylanguage.py | chrisburr/decaylanguage | 12aaaf10cc4e8e9aad8667a1acec5a7f7d0bbeb1 | [
"BSD-3-Clause"
] | null | null | null | tests/test_decaylanguage.py | chrisburr/decaylanguage | 12aaaf10cc4e8e9aad8667a1acec5a7f7d0bbeb1 | [
"BSD-3-Clause"
] | null | null | null | tests/test_decaylanguage.py | chrisburr/decaylanguage | 12aaaf10cc4e8e9aad8667a1acec5a7f7d0bbeb1 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2018-2020, Eduardo Rodrigues and Henry Schreiner.
#
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
# or https://github.com/scikit-hep/decaylanguage for details.
import decaylanguage
def test_main():
assert decaylanguage is not None
| 25.818182 | 75 | 0.774648 | 39 | 284 | 5.615385 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03719 | 0.147887 | 284 | 10 | 76 | 28.4 | 0.867769 | 0.693662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fc32c7292e508fbc6e7c554aa4f50361eaa64f61 | 46 | py | Python | secrets.py | xanthics/poe_filter | d01bc823f97e247ebdf2921b86b720e2b6edc673 | [
"MIT"
] | 4 | 2016-05-03T17:49:13.000Z | 2019-03-30T03:22:40.000Z | secrets.py | xanthics/poe_filter | d01bc823f97e247ebdf2921b86b720e2b6edc673 | [
"MIT"
] | 2 | 2016-05-03T09:07:52.000Z | 2018-12-24T08:47:12.000Z | secrets.py | xanthics/poe_filter | d01bc823f97e247ebdf2921b86b720e2b6edc673 | [
"MIT"
] | 1 | 2018-11-21T15:54:08.000Z | 2018-11-21T15:54:08.000Z | account = ''
poe_sessid = ''
header_from = ''
| 11.5 | 16 | 0.608696 | 5 | 46 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 46 | 3 | 17 | 15.333333 | 0.702703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fc35c4a9d92f11a9d5d7c8aa8467b0e172e0682e | 151 | py | Python | src/mcookbook/exchanges/__init__.py | s0undt3ch/mommas-cookbook | ccca526eee9241f12674cad8c1e1da1a900cef82 | [
"Apache-2.0"
] | 2 | 2022-01-02T23:47:32.000Z | 2022-01-07T11:14:15.000Z | src/mcookbook/exchanges/__init__.py | UfSoft/mommas-cookbook | ccca526eee9241f12674cad8c1e1da1a900cef82 | [
"Apache-2.0"
] | 1 | 2022-01-17T12:47:37.000Z | 2022-01-17T12:47:37.000Z | src/mcookbook/exchanges/__init__.py | s0undt3ch/mommas-cookbook | ccca526eee9241f12674cad8c1e1da1a900cef82 | [
"Apache-2.0"
] | 1 | 2022-01-10T18:49:36.000Z | 2022-01-10T18:49:36.000Z | from __future__ import annotations
from .abc import Exchange
from .binance import BinanceFutures
__all__ = [
"Exchange",
"BinanceFutures",
]
| 15.1 | 35 | 0.741722 | 15 | 151 | 6.933333 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18543 | 151 | 9 | 36 | 16.777778 | 0.845528 | 0 | 0 | 0 | 0 | 0 | 0.145695 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fc4686a693f3248c80046bdfcdda5d69e9c7dd5c | 146 | py | Python | archapp/__init__.py | pcdshub/archapp | 3544d9eb94f56ae2635a0fa73e12ed67bd38a242 | [
"BSD-3-Clause-LBNL"
] | 1 | 2017-08-03T16:48:45.000Z | 2017-08-03T16:48:45.000Z | archapp/__init__.py | slaclab/archapp | 3544d9eb94f56ae2635a0fa73e12ed67bd38a242 | [
"BSD-3-Clause-LBNL"
] | 7 | 2020-02-15T03:31:09.000Z | 2021-12-01T21:32:23.000Z | archapp/__init__.py | slaclab/archapp | 3544d9eb94f56ae2635a0fa73e12ed67bd38a242 | [
"BSD-3-Clause-LBNL"
] | 5 | 2017-07-26T15:00:00.000Z | 2018-05-23T21:09:52.000Z | from . import _version
from .interactive import EpicsArchive
__version__ = _version.get_versions()["version"]
__all__ = [
"EpicsArchive",
]
| 16.222222 | 48 | 0.739726 | 14 | 146 | 6.928571 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 146 | 8 | 49 | 18.25 | 0.782258 | 0 | 0 | 0 | 0 | 0 | 0.130137 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fc4d416272d1abaef5fb02341c705ad3ec2017a7 | 254 | py | Python | pydec/math/__init__.py | hirani/pydec | 0574d1148952510b0e59b1f5cb1d9a673193be7f | [
"BSD-3-Clause"
] | 49 | 2016-07-03T14:40:48.000Z | 2022-03-08T01:33:03.000Z | pydec/math/__init__.py | hirani/pydec | 0574d1148952510b0e59b1f5cb1d9a673193be7f | [
"BSD-3-Clause"
] | 4 | 2016-09-16T18:51:06.000Z | 2020-06-20T03:53:24.000Z | pydec/math/__init__.py | hirani/pydec | 0574d1148952510b0e59b1f5cb1d9a673193be7f | [
"BSD-3-Clause"
] | 15 | 2015-09-26T20:06:57.000Z | 2021-06-21T17:01:02.000Z | "General math/geometry functionality"
from .info import __doc__
from .combinatorial import *
from .parity import *
from .volume import *
from .circumcenter import *
from .kd_tree import *
__all__ = list(filter(lambda s:not s.startswith('_'),dir()))
| 18.142857 | 60 | 0.744094 | 33 | 254 | 5.424242 | 0.666667 | 0.223464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145669 | 254 | 13 | 61 | 19.538462 | 0.824885 | 0.137795 | 0 | 0 | 0 | 0 | 0.142292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
fc4f9596013eb6e120680c2db01605739576e7ed | 275 | py | Python | Move.py | EngineerYo/Exapunks-Automation | 72b52e2e6977d15799707ece7b5604ec07965bab | [
"MIT"
] | 5 | 2021-12-06T10:28:08.000Z | 2021-12-08T22:34:40.000Z | Move.py | EngineerYo/Exapunks-Automation | 72b52e2e6977d15799707ece7b5604ec07965bab | [
"MIT"
] | null | null | null | Move.py | EngineerYo/Exapunks-Automation | 72b52e2e6977d15799707ece7b5604ec07965bab | [
"MIT"
] | 1 | 2021-12-07T07:10:07.000Z | 2021-12-07T07:10:07.000Z | class Move:
def __init__(self, dest_rank_id, from_rank_id):
self.dest_rank_id = dest_rank_id
self.from_rank_id = from_rank_id
def output(self):
out_str = ''
out_str += str(self.from_rank_id)
out_str += ' -> '
out_str += str(self.dest_rank_id)
print(out_str) | 22.916667 | 48 | 0.709091 | 49 | 275 | 3.469388 | 0.265306 | 0.282353 | 0.235294 | 0.247059 | 0.411765 | 0.223529 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167273 | 275 | 12 | 49 | 22.916667 | 0.742358 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.3 | 0.1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fc5171cf2234fb47fe4f3a86a7b5a087c9866053 | 476 | py | Python | workerInfra/domain/cacheInterface.py | jtom38/newsbot.worker | 6f5d93c474d21542f1af20e3b2537f26e2bcbbc3 | [
"MIT"
] | 1 | 2021-09-23T16:19:46.000Z | 2021-09-23T16:19:46.000Z | workerInfra/domain/cacheInterface.py | jtom38/newsbot.worker | 6f5d93c474d21542f1af20e3b2537f26e2bcbbc3 | [
"MIT"
] | 10 | 2021-09-26T05:53:11.000Z | 2022-01-07T00:38:46.000Z | workerInfra/domain/cacheInterface.py | jtom38/newsbot.worker | 6f5d93c474d21542f1af20e3b2537f26e2bcbbc3 | [
"MIT"
] | null | null | null | from abc import abstractclassmethod, ABC
class CacheInterface(ABC):
@abstractclassmethod
def find(self, key: str) -> str:
raise NotImplementedError
@abstractclassmethod
def findBool(self, key: str) -> bool:
raise NotImplementedError
@abstractclassmethod
def add(self, key: str... | 23.8 | 47 | 0.680672 | 46 | 476 | 7.043478 | 0.413043 | 0.271605 | 0.123457 | 0.425926 | 0.320988 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239496 | 476 | 19 | 48 | 25.052632 | 0.895028 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fc593b9acbbdf4e5c130be0f141be686c69fb1e7 | 160 | py | Python | torchpwl/__init__.py | PiotrDabkowski/torchpwl | 6c35d28a7d8e2a04d0167ac5f7b99b5aa736acb4 | [
"MIT"
] | 31 | 2020-01-17T14:49:53.000Z | 2022-02-01T04:20:52.000Z | torchpwl/__init__.py | PiotrDabkowski/torchpwl | 6c35d28a7d8e2a04d0167ac5f7b99b5aa736acb4 | [
"MIT"
] | null | null | null | torchpwl/__init__.py | PiotrDabkowski/torchpwl | 6c35d28a7d8e2a04d0167ac5f7b99b5aa736acb4 | [
"MIT"
] | 2 | 2021-01-12T22:46:50.000Z | 2022-03-16T08:45:36.000Z | __all__ = ["PWL", "MonoPWL", "PointPWL", "MonoPointPWL", "Calibrator"]
__version__ = "0.1.1"
from .pwl import PointPWL, MonoPointPWL, PWL, MonoPWL, Calibrator
| 32 | 70 | 0.7125 | 18 | 160 | 5.888889 | 0.611111 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.11875 | 160 | 4 | 71 | 40 | 0.730496 | 0 | 0 | 0 | 0 | 0 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fc5cdb437ed04bfe4527f8667b0a553af1f14de3 | 892 | py | Python | pincer/objects/events/typing_start.py | mjneff2/Pincer | a11bc3e4bad319fdf927d913c58c933576ec7c99 | [
"MIT"
] | null | null | null | pincer/objects/events/typing_start.py | mjneff2/Pincer | a11bc3e4bad319fdf927d913c58c933576ec7c99 | [
"MIT"
] | null | null | null | pincer/objects/events/typing_start.py | mjneff2/Pincer | a11bc3e4bad319fdf927d913c58c933576ec7c99 | [
"MIT"
] | null | null | null | # Copyright Pincer 2021-Present
# Full MIT License can be found in `LICENSE` at the project root.
from dataclasses import dataclass
from ..guild.member import GuildMember
from ...utils.api_object import APIObject
from ...utils.snowflake import Snowflake
from ...utils.types import APINullable, MISSING
@dataclass
cla... | 23.473684 | 65 | 0.700673 | 118 | 892 | 5.237288 | 0.440678 | 0.043689 | 0.029126 | 0.043689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005874 | 0.236547 | 892 | 37 | 66 | 24.108108 | 0.901615 | 0.460762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.416667 | 0 | 0.916667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
fc6988df939c12502f6694101c1d5e3ae9081004 | 4,463 | py | Python | aes/key_expension.py | thomasperrot/aes-square-attack | cdc63f4552324a91fa0e7d9bb14cd481bff65740 | [
"MIT"
] | 8 | 2020-02-05T18:56:46.000Z | 2022-02-13T22:27:21.000Z | aes/key_expension.py | thomasperrot/aes-square-attack | cdc63f4552324a91fa0e7d9bb14cd481bff65740 | [
"MIT"
] | null | null | null | aes/key_expension.py | thomasperrot/aes-square-attack | cdc63f4552324a91fa0e7d9bb14cd481bff65740 | [
"MIT"
] | 1 | 2022-02-28T21:08:47.000Z | 2022-02-28T21:08:47.000Z | from typing import List
from .common import S_BOX, Word, xor
def key_expension(key: bytes, rounds: int) -> List[Word]:
if len(key) != 16:
raise ValueError(f"Wrong key length: {len(key)}")
expended_key = [key[i : i + len(key) // 4] for i in range(0, len(key), 4)]
for r in range(1, rounds):
... | 14.078864 | 79 | 0.49339 | 552 | 4,463 | 3.882246 | 0.190217 | 0.10266 | 0.037331 | 0.048997 | 0.713019 | 0.665422 | 0.625292 | 0.625292 | 0.625292 | 0.625292 | 0 | 0.227538 | 0.386511 | 4,463 | 316 | 80 | 14.123418 | 0.55515 | 0 | 0 | 0.903654 | 0 | 0 | 0.02868 | 0 | 0 | 0 | 0.229442 | 0 | 0 | 1 | 0.019934 | false | 0 | 0.006645 | 0 | 0.046512 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fc738612c1424c65e6fe66bbff628589fcc314c4 | 288 | py | Python | mtproxy/proxy/streams/wappers/base_stream_reader.py | i-Naji/mtproxy | b8fe68023cf35bc6bc8e96d797f1f39304d4e5fa | [
"MIT"
] | 16 | 2019-06-21T11:26:26.000Z | 2021-03-14T08:06:36.000Z | mtproxy/proxy/streams/wappers/base_stream_reader.py | WhymustIhaveaname/mtproxy | b8fe68023cf35bc6bc8e96d797f1f39304d4e5fa | [
"MIT"
] | 2 | 2020-02-27T16:25:41.000Z | 2021-03-14T08:31:14.000Z | mtproxy/proxy/streams/wappers/base_stream_reader.py | WhymustIhaveaname/mtproxy | b8fe68023cf35bc6bc8e96d797f1f39304d4e5fa | [
"MIT"
] | 4 | 2019-06-21T15:59:56.000Z | 2021-03-17T04:54:42.000Z | class LayeredStreamReaderBase:
__slots__ = {'upstream'}
def __init__(self, upstream):
self.upstream = upstream
async def read(self, n):
return await self.upstream.read(n)
async def readexactly(self, n):
return await self.upstream.readexactly(n)
| 24 | 49 | 0.666667 | 33 | 288 | 5.575758 | 0.393939 | 0.26087 | 0.119565 | 0.173913 | 0.304348 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236111 | 288 | 11 | 50 | 26.181818 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
fc7b3b2756f8d3718ea8c0085d7816f7a8506af6 | 740 | py | Python | class_athlete.py | SanghunOh/test_python | eb2212d0a61e51d83521e10929e804d056d847e2 | [
"Apache-2.0"
] | null | null | null | class_athlete.py | SanghunOh/test_python | eb2212d0a61e51d83521e10929e804d056d847e2 | [
"Apache-2.0"
] | null | null | null | class_athlete.py | SanghunOh/test_python | eb2212d0a61e51d83521e10929e804d056d847e2 | [
"Apache-2.0"
] | null | null | null | # class class_name:
# def __init__(self):
#
# def function_name(self):
# return
class Athlete:
def __init__(self, value='Jane'):
self.inner_value = value
print(self.inner_value)
def getInnerValue(self):
return self.inner_value
class InheritanceClass(Athlete):
def _... | 20.555556 | 62 | 0.659459 | 80 | 740 | 5.725 | 0.25 | 0.045852 | 0.072052 | 0.078603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210811 | 740 | 36 | 63 | 20.555556 | 0.784247 | 0.408108 | 0 | 0 | 0 | 0 | 0.009479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0 | 0.153846 | 0.692308 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
fc7fe5642604d30e0e59281d975b3a6d610d094e | 2,967 | py | Python | Shared_Exp_Beh/scripts/scratch.py | mrakhsha/Shared_Exp_Beh | bf3c6b1fa2a9ae1f24dfa55749207770a70c0348 | [
"MIT"
] | 1 | 2019-04-06T16:35:51.000Z | 2019-04-06T16:35:51.000Z | Shared_Exp_Beh/scripts/scratch.py | mrakhsha/Shared_Exp_Beh | bf3c6b1fa2a9ae1f24dfa55749207770a70c0348 | [
"MIT"
] | 1 | 2019-04-09T19:52:30.000Z | 2019-04-09T19:52:30.000Z | Shared_Exp_Beh/scripts/scratch.py | mrakhsha/Shared_Exp_Beh | bf3c6b1fa2a9ae1f24dfa55749207770a70c0348 | [
"MIT"
] | null | null | null | # # idx_side = 0 means all the trials
# # idx_side = 1 means the trials of side 1
# # idx_side = 2 means the trials of side 2
#
# # idx_rew = 0 means all the trials
# # idx_rew = 3 means the trials with reward 3
# # idx_rew = 1 means the trials with reward 1
#
# # idx_conf = 0 means all the trials
# # idx_conf = 2 mean... | 53.945455 | 118 | 0.740479 | 495 | 2,967 | 4.262626 | 0.2 | 0.03981 | 0.062559 | 0.072512 | 0.518009 | 0.386256 | 0.356398 | 0.272986 | 0.272986 | 0.179147 | 0 | 0.077756 | 0.12875 | 2,967 | 54 | 119 | 54.944444 | 0.738491 | 0.944725 | 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 | 0 | 0 | 0 | 3 |
5d8b675261c0806611840c3cf40aa1ea3574e5c0 | 1,714 | py | Python | lib/exabgp/bgp/message/update/attribute/nexthop.py | tehnerd/exabgp | 81b7d68351e678669db16ba873de41a9b60ca90a | [
"BSD-3-Clause"
] | null | null | null | lib/exabgp/bgp/message/update/attribute/nexthop.py | tehnerd/exabgp | 81b7d68351e678669db16ba873de41a9b60ca90a | [
"BSD-3-Clause"
] | null | null | null | lib/exabgp/bgp/message/update/attribute/nexthop.py | tehnerd/exabgp | 81b7d68351e678669db16ba873de41a9b60ca90a | [
"BSD-3-Clause"
] | null | null | null | # encoding: utf-8
"""
nexthop.py
Created by Thomas Mangin on 2009-11-05.
Copyright (c) 2009-2015 Exa Networks. All rights reserved.
"""
from exabgp.protocol.family import AFI
from exabgp.protocol.ip import IP
from exabgp.protocol.ip import NoNextHop
from exabgp.bgp.message.update.attribute.attribute import Attribute
... | 23.479452 | 99 | 0.696033 | 243 | 1,714 | 4.757202 | 0.407407 | 0.051903 | 0.046713 | 0.034602 | 0.122837 | 0.077855 | 0.077855 | 0.077855 | 0.077855 | 0 | 0 | 0.013899 | 0.160443 | 1,714 | 72 | 100 | 23.805556 | 0.789437 | 0.236873 | 0 | 0.095238 | 0 | 0 | 0.003086 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.095238 | 0.214286 | 0.809524 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5d9069dc4117afd998b00ad4ec823a945ccdbccd | 477 | py | Python | melati/wallet/cc_wallet/cc_info.py | luzofex/melati-blockchain | bddc95ed3a8c5631488cd44a9e76b764c19b4568 | [
"Apache-2.0"
] | 12 | 2021-07-13T15:39:57.000Z | 2022-02-09T04:32:12.000Z | melati/wallet/cc_wallet/cc_info.py | luzofex/melati-blockchain | bddc95ed3a8c5631488cd44a9e76b764c19b4568 | [
"Apache-2.0"
] | 1 | 2021-07-16T12:41:41.000Z | 2021-07-16T12:42:48.000Z | melati/wallet/cc_wallet/cc_info.py | luzofex/melati-blockchain | bddc95ed3a8c5631488cd44a9e76b764c19b4568 | [
"Apache-2.0"
] | 3 | 2021-07-13T05:35:30.000Z | 2021-08-06T13:11:14.000Z | from dataclasses import dataclass
from typing import List, Optional, Tuple
from melati.types.blockchain_format.program import Program
from melati.types.blockchain_format.sized_bytes import bytes32
from melati.util.streamable import Streamable, streamable
@dataclass(frozen=True)
@streamable
class CCInfo(Streamable):
... | 34.071429 | 91 | 0.809224 | 61 | 477 | 6.213115 | 0.540984 | 0.079156 | 0.079156 | 0.131926 | 0.163588 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.111111 | 477 | 13 | 92 | 36.692308 | 0.884434 | 0.100629 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5d971a9f877431a5ded761b28cedc156514982a4 | 367 | py | Python | server/online/urls.py | eIGato/mahjong-portal | 550a2a872c4287adab6ce30c3440dc2141430a20 | [
"MIT"
] | null | null | null | server/online/urls.py | eIGato/mahjong-portal | 550a2a872c4287adab6ce30c3440dc2141430a20 | [
"MIT"
] | null | null | null | server/online/urls.py | eIGato/mahjong-portal | 550a2a872c4287adab6ce30c3440dc2141430a20 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from online.views import add_user_to_the_pantheon, disable_user_in_pantheon
urlpatterns = [
url(r"^add_user_to_the_pantheon/(?P<record_id>\d+)/$", add_user_to_the_pantheon, name="add_user_to_the_pantheon"),
url(r"^disable_user_in_pantheon/(?P<record_id>\d+)/$", disable_user_in... | 40.777778 | 118 | 0.787466 | 61 | 367 | 4.245902 | 0.360656 | 0.108108 | 0.138996 | 0.185328 | 0.416988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079019 | 367 | 8 | 119 | 45.875 | 0.766272 | 0 | 0 | 0 | 0 | 0 | 0.381471 | 0.381471 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 3 |
5db149151b57f457251b699abf0ec730bdaac57a | 96 | py | Python | books/python-3-oop-packt/Chapter8/8_04_format_some_positions_broken.py | phiratio/lpthw | a32240d4355fb331805d515f96e1d009914e5c47 | [
"MIT"
] | 73 | 2016-09-15T23:07:04.000Z | 2022-03-05T15:09:48.000Z | books/python-3-oop-packt/Chapter8/8_04_format_some_positions_broken.py | phiratio/lpthw | a32240d4355fb331805d515f96e1d009914e5c47 | [
"MIT"
] | 34 | 2019-12-16T16:53:24.000Z | 2022-01-13T02:29:30.000Z | books/python-3-oop-packt/Chapter8/8_04_format_some_positions_broken.py | phiratio/lpthw | a32240d4355fb331805d515f96e1d009914e5c47 | [
"MIT"
] | 51 | 2016-10-07T20:47:51.000Z | 2021-12-22T21:00:24.000Z | template = "Hello {}, you are {}. Your name is {0}."
print(template.format('Dusty', 'writing'))
| 32 | 52 | 0.635417 | 13 | 96 | 4.692308 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.135417 | 96 | 2 | 53 | 48 | 0.722892 | 0 | 0 | 0 | 0 | 0 | 0.53125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
5db94a55145753f591f3c052b73d3457893a1024 | 868 | py | Python | project/app/models.py | Point-SimoSiren/Docker-Django-Postgres-Suppliers | 49f8291b4db41df0afa71fcc027478fd9582a5eb | [
"MIT"
] | null | null | null | project/app/models.py | Point-SimoSiren/Docker-Django-Postgres-Suppliers | 49f8291b4db41df0afa71fcc027478fd9582a5eb | [
"MIT"
] | null | null | null | project/app/models.py | Point-SimoSiren/Docker-Django-Postgres-Suppliers | 49f8291b4db41df0afa71fcc027478fd9582a5eb | [
"MIT"
] | null | null | null | from django.db import models
class Supplier(models.Model):
companyname = models.CharField(max_length = 50, default = 'lakufirma')
contactname = models.CharField(max_length = 50, default = 'tommi')
address = models.CharField(max_length = 100, default = 'tie 3')
phone = models.CharField(max_length = 20, ... | 51.058824 | 83 | 0.717742 | 106 | 868 | 5.773585 | 0.424528 | 0.220588 | 0.264706 | 0.352941 | 0.496732 | 0.496732 | 0.173203 | 0.173203 | 0 | 0 | 0 | 0.049383 | 0.160138 | 868 | 16 | 84 | 54.25 | 0.790123 | 0 | 0 | 0.142857 | 0 | 0 | 0.078341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5dbbf0f82f35842b4b22546907dc9adf8aa6eaaf | 258 | py | Python | ex004.py | lucasalcantarap/Exercicios-de-python | f8fb4ced327785e8835c1c588db13806ebdc501c | [
"MIT"
] | null | null | null | ex004.py | lucasalcantarap/Exercicios-de-python | f8fb4ced327785e8835c1c588db13806ebdc501c | [
"MIT"
] | null | null | null | ex004.py | lucasalcantarap/Exercicios-de-python | f8fb4ced327785e8835c1c588db13806ebdc501c | [
"MIT"
] | null | null | null | algo: str = input('Digite algo:')
print('O tipo de primitivo da variável é ', type(algo))
print('É um número? ', algo.isnumeric())
print('É alfabético?', algo.isalpha())
print('É decimal?', algo.isdecimal())
print('Esta em minusculas?',algo.islower())
| 36.857143 | 56 | 0.674419 | 37 | 258 | 4.702703 | 0.648649 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131783 | 258 | 6 | 57 | 43 | 0.776786 | 0 | 0 | 0 | 0 | 0 | 0.400794 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.833333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
5dcd7611f68c77be2417bc3c0f4dec0a5c21ea44 | 143 | py | Python | tweet/urls.py | Murtuza47/tweet-me | 2cbeee8a0ebccd4340f231ed8835f63fff8760aa | [
"MIT"
] | null | null | null | tweet/urls.py | Murtuza47/tweet-me | 2cbeee8a0ebccd4340f231ed8835f63fff8760aa | [
"MIT"
] | null | null | null | tweet/urls.py | Murtuza47/tweet-me | 2cbeee8a0ebccd4340f231ed8835f63fff8760aa | [
"MIT"
] | null | null | null | from django.urls import path
from .views import TweetListView
urlpatterns =[
path("tweets/", TweetListView.as_view(), name='tweet-list')
] | 23.833333 | 63 | 0.741259 | 18 | 143 | 5.833333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125874 | 143 | 6 | 64 | 23.833333 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.118056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5dcd966a8f75d2ff997797b9576a425f96b5a7c2 | 275 | py | Python | src/core/tests/test_untils.py | KorawichSCG/data-engine | 2a76679f113b525d7205812ee02c6b432082aa83 | [
"MIT"
] | null | null | null | src/core/tests/test_untils.py | KorawichSCG/data-engine | 2a76679f113b525d7205812ee02c6b432082aa83 | [
"MIT"
] | null | null | null | src/core/tests/test_untils.py | KorawichSCG/data-engine | 2a76679f113b525d7205812ee02c6b432082aa83 | [
"MIT"
] | null | null | null | import unittest
import src.core.utils as utils
class UtilitiesTest(unittest.TestCase):
def setUp(self) -> None:
pass
def tearDown(self) -> None:
pass
def test_default_mapping(self):
pass
if __name__ == '__main__':
unittest.main() | 16.176471 | 39 | 0.643636 | 33 | 275 | 5.060606 | 0.636364 | 0.095808 | 0.143713 | 0.179641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258182 | 275 | 17 | 40 | 16.176471 | 0.818627 | 0 | 0 | 0.272727 | 0 | 0 | 0.028986 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.272727 | 0.181818 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
5dd0ab042f9376d05c5183fe4df3d58f3efdb297 | 188 | py | Python | ThinkPython/chap7/ex4.py | sokolowskik/Tutorials | d2681d4f18b03e00f90f9132c77f0b23b74d2629 | [
"MIT"
] | null | null | null | ThinkPython/chap7/ex4.py | sokolowskik/Tutorials | d2681d4f18b03e00f90f9132c77f0b23b74d2629 | [
"MIT"
] | null | null | null | ThinkPython/chap7/ex4.py | sokolowskik/Tutorials | d2681d4f18b03e00f90f9132c77f0b23b74d2629 | [
"MIT"
] | null | null | null | def eval_loop():
while True:
s = raw_input('> ')
if s == 'done':
print s_eval
break
s_eval = eval(s)
print s_eval
eval_loop()
| 15.666667 | 27 | 0.452128 | 24 | 188 | 3.291667 | 0.5 | 0.189873 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.441489 | 188 | 11 | 28 | 17.090909 | 0.752381 | 0 | 0 | 0.222222 | 0 | 0 | 0.032086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.222222 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5dd59dd1b15d4ddbbd0651ea5e762ee68e9d5fd1 | 27,905 | py | Python | cfgov/ask_cfpb/migrations/0038_recreated2.py | thephillipsequation/cfgov-refresh | 1412dd4215fce5597c0ec704b0d480cf00aeb82c | [
"CC0-1.0"
] | 37 | 2020-08-18T19:52:39.000Z | 2022-03-23T08:08:41.000Z | cfgov/ask_cfpb/migrations/0038_recreated2.py | thephillipsequation/cfgov-refresh | 1412dd4215fce5597c0ec704b0d480cf00aeb82c | [
"CC0-1.0"
] | 338 | 2020-08-14T20:46:36.000Z | 2022-03-31T20:49:32.000Z | cfgov/ask_cfpb/migrations/0038_recreated2.py | raft-tech/cfgov-refresh | 7c63c31fd6bb95ed4f7d368f1e1252175f0c71ca | [
"CC0-1.0"
] | 14 | 2020-10-21T15:27:03.000Z | 2022-03-17T03:16:36.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.25 on 2019-12-20 16:24
import ask_cfpb.models.pages
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import modelcluster.fields
import v1.atomic_elements.molecules
import v1.atomic_elements.organisms
import v1.... | 110.734127 | 5,413 | 0.691381 | 3,389 | 27,905 | 5.498082 | 0.155503 | 0.080502 | 0.061182 | 0.024687 | 0.657114 | 0.618741 | 0.592766 | 0.570118 | 0.541083 | 0.511512 | 0 | 0.01373 | 0.154345 | 27,905 | 251 | 5,414 | 111.175299 | 0.775871 | 0.002473 | 0 | 0.378601 | 1 | 0.08642 | 0.352208 | 0.046599 | 0.004115 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.057613 | 0 | 0.074074 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5ddb27278defea4f1e6492a3608e3ad1ff6454ac | 15,060 | py | Python | tests/test_compute.py | compositedev/provider | b5fd24e6132ad7a42225fabf475e2e070184df72 | [
"Apache-2.0"
] | null | null | null | tests/test_compute.py | compositedev/provider | b5fd24e6132ad7a42225fabf475e2e070184df72 | [
"Apache-2.0"
] | null | null | null | tests/test_compute.py | compositedev/provider | b5fd24e6132ad7a42225fabf475e2e070184df72 | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2021 Ocean Protocol Foundation
# SPDX-License-Identifier: Apache-2.0
#
import time
from ocean_provider.constants import BaseURLs
from ocean_provider.utils.accounts import sign_message
from ocean_provider.utils.datatoken import get_dt_contract
from ocean_provider.validation.algo import build_stage_output_... | 36.201923 | 91 | 0.648539 | 1,687 | 15,060 | 5.506224 | 0.128038 | 0.066315 | 0.038433 | 0.049952 | 0.740876 | 0.738293 | 0.723975 | 0.689956 | 0.689956 | 0.665626 | 0 | 0.006664 | 0.252722 | 15,060 | 415 | 92 | 36.289157 | 0.818731 | 0.043028 | 0 | 0.594118 | 0 | 0 | 0.209063 | 0.01112 | 0 | 0 | 0 | 0 | 0.076471 | 1 | 0.023529 | false | 0 | 0.020588 | 0 | 0.044118 | 0.005882 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5de0489266c01c86f93c121779e5595dd29f3376 | 161 | py | Python | course.py | yavichra/py_enroll | 768585c4f84711617f9568d0bf97fcc6c4a5af42 | [
"MIT"
] | null | null | null | course.py | yavichra/py_enroll | 768585c4f84711617f9568d0bf97fcc6c4a5af42 | [
"MIT"
] | null | null | null | course.py | yavichra/py_enroll | 768585c4f84711617f9568d0bf97fcc6c4a5af42 | [
"MIT"
] | null | null | null | class Course:
def __init__(self, **kw):
self.name = kw.pop('name')
#def full_name(self):
# return self.first_name + " " + self.last_name | 23 | 54 | 0.583851 | 22 | 161 | 3.954545 | 0.545455 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 161 | 7 | 54 | 23 | 0.731092 | 0.428571 | 0 | 0 | 0 | 0 | 0.043956 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5de7ce08b5c0dfbbbc89843566780ff3e7f16343 | 1,448 | py | Python | setup.py | cielavenir/pytest-teamcity-logblock | 7f5959d530fe193c18373500083821878348c681 | [
"BSD-2-Clause"
] | null | null | null | setup.py | cielavenir/pytest-teamcity-logblock | 7f5959d530fe193c18373500083821878348c681 | [
"BSD-2-Clause"
] | null | null | null | setup.py | cielavenir/pytest-teamcity-logblock | 7f5959d530fe193c18373500083821878348c681 | [
"BSD-2-Clause"
] | null | null | null | from setuptools import setup
setup(
name='pytest-teamcity-logblock',
description='py.test plugin to introduce block structure in teamcity build log, if output is not captured',
long_description=open("README.md").read(),
version='0.0.0.2',
url='https://github.com/cielavenir/pytest-teamcity-logblock'... | 39.135135 | 111 | 0.630525 | 150 | 1,448 | 6.006667 | 0.606667 | 0.147614 | 0.194229 | 0.115427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016919 | 0.224448 | 1,448 | 36 | 112 | 40.222222 | 0.785396 | 0 | 0 | 0 | 0 | 0 | 0.616713 | 0.064227 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.028571 | 0 | 0.028571 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5def6f83304e189ee01cb0740a8f7c28e00a09d9 | 401 | py | Python | jesse/models/__init__.py | noenfugler/jesse | 217a3168620a755c1a9576d9deb27105db7dccf8 | [
"MIT"
] | 3,999 | 2018-11-09T10:38:51.000Z | 2022-03-31T12:29:12.000Z | jesse/models/__init__.py | noenfugler/jesse | 217a3168620a755c1a9576d9deb27105db7dccf8 | [
"MIT"
] | 172 | 2020-04-16T16:19:08.000Z | 2022-03-28T13:28:55.000Z | jesse/models/__init__.py | noenfugler/jesse | 217a3168620a755c1a9576d9deb27105db7dccf8 | [
"MIT"
] | 495 | 2019-03-01T21:48:53.000Z | 2022-03-30T15:35:19.000Z | from .Candle import Candle
from .CompletedTrade import CompletedTrade
from .Exchange import Exchange
from .FuturesExchange import FuturesExchange
from .Order import Order
from .Position import Position
from .Route import Route
from .SpotExchange import SpotExchange
from .Ticker import Ticker
from .utils import store_ca... | 36.454545 | 107 | 0.860349 | 55 | 401 | 6.054545 | 0.309091 | 0.072072 | 0.099099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107232 | 401 | 10 | 108 | 40.1 | 0.930168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b90fdead3906a04066d2740315c0e6907ddeec8f | 349 | py | Python | data_wizard/backends/__init__.py | ahoazure/khro-data_wizard | 4925113ffeea54057a062fc8a0cdab7c23a8e18a | [
"MIT"
] | 2 | 2020-12-24T09:54:25.000Z | 2020-12-24T09:54:28.000Z | data_wizard/backends/__init__.py | ahoazure/khro-data_wizard | 4925113ffeea54057a062fc8a0cdab7c23a8e18a | [
"MIT"
] | null | null | null | data_wizard/backends/__init__.py | ahoazure/khro-data_wizard | 4925113ffeea54057a062fc8a0cdab7c23a8e18a | [
"MIT"
] | null | null | null | from data_wizard.signals import progress
from data_wizard.settings import get_setting, import_from_string
def create_backend():
backend_path = get_setting('BACKEND')
backend_class = import_from_string(backend_path + '.Backend', 'BACKEND')
backend = backend_class()
progress.connect(backend.progress, we... | 31.727273 | 76 | 0.773639 | 44 | 349 | 5.840909 | 0.431818 | 0.272374 | 0.108949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140401 | 349 | 10 | 77 | 34.9 | 0.856667 | 0 | 0 | 0 | 0 | 0 | 0.063037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f8dab2485fd6b679374c449ab1420a41abd74a36 | 1,971 | py | Python | src/torchprune/torchprune/method/thres_filter/thres_filter_net.py | dani3l125/torchprune | f2589ec7514bd531ddaa7da3aed6388bb13712d3 | [
"MIT"
] | 74 | 2021-03-05T01:25:00.000Z | 2022-03-26T06:15:32.000Z | src/torchprune/torchprune/method/thres_filter/thres_filter_net.py | dani3l125/torchprune | f2589ec7514bd531ddaa7da3aed6388bb13712d3 | [
"MIT"
] | 4 | 2021-05-25T06:01:22.000Z | 2022-01-24T22:38:09.000Z | src/torchprune/torchprune/method/thres_filter/thres_filter_net.py | dani3l125/torchprune | f2589ec7514bd531ddaa7da3aed6388bb13712d3 | [
"MIT"
] | 7 | 2021-03-24T14:14:32.000Z | 2022-02-19T17:27:56.000Z | """Module containing norm-based filter thresholding heuristics."""
import torch
from ..uni_filter.uni_filter_allocator import FilterUniAllocator
from ..base import DetFilterPruner, FilterSparsifier, FilterNet
class SoftNet(FilterNet):
"""Filter thresholding for pruning based on l_2-norm of filter.
Pruning S... | 25.934211 | 76 | 0.671233 | 233 | 1,971 | 5.527897 | 0.386266 | 0.046584 | 0.03028 | 0.051242 | 0.206522 | 0.167702 | 0.127329 | 0.071429 | 0.071429 | 0.071429 | 0 | 0.016903 | 0.249619 | 1,971 | 75 | 77 | 26.28 | 0.853955 | 0.332826 | 0 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.297297 | false | 0.054054 | 0.081081 | 0.135135 | 0.675676 | 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 | 0 | 0 | 0 | 3 |
f8e591b68bbf898a4c2a7d86ea847bd7883dfe8c | 2,879 | py | Python | test.py | tclarke/ricecomp-cfitsio-python | aa9768c7d075ffda9dbd9bf2385fadd5d1ef110d | [
"BSD-2-Clause"
] | 2 | 2017-10-28T02:08:30.000Z | 2019-11-20T14:00:27.000Z | test.py | tclarke/ricecomp-cfitsio-python | aa9768c7d075ffda9dbd9bf2385fadd5d1ef110d | [
"BSD-2-Clause"
] | 1 | 2017-10-28T02:22:49.000Z | 2017-11-13T00:57:17.000Z | test.py | tclarke/ricecomp-cfitsio-python | aa9768c7d075ffda9dbd9bf2385fadd5d1ef110d | [
"BSD-2-Clause"
] | 1 | 2021-11-05T17:00:19.000Z | 2021-11-05T17:00:19.000Z | #!/usr/bin/env python
"Come basic tests for the interface."
import numpy as np
import ricecomp
print "Testing rcomp/rdecomp with int8"
input = np.random.randint(-127,127,(20,5)).astype(np.int8)
buf = ricecomp.rcomp(input, 32)
output = ricecomp.rdecomp(buf, np.int8, input.size, 32).reshape(input.shape)
if (input!=out... | 35.9875 | 80 | 0.709621 | 445 | 2,879 | 4.591011 | 0.161798 | 0.059227 | 0.086148 | 0.113069 | 0.806657 | 0.69163 | 0.69163 | 0.69163 | 0.652472 | 0.652472 | 0 | 0.070411 | 0.121917 | 2,879 | 79 | 81 | 36.443038 | 0.737737 | 0.031261 | 0 | 0.536232 | 0 | 0 | 0.193398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.014493 | 0.028986 | null | null | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f8ed1ea3698d71b6991caf550308781febbebd78 | 69 | py | Python | #4-3 Counting to Twenty.py | nemuelpalomo/Python-Crash-Course | 6873e3a4ae98074aacd86188d51ce81b2b3a1d90 | [
"Apache-2.0"
] | null | null | null | #4-3 Counting to Twenty.py | nemuelpalomo/Python-Crash-Course | 6873e3a4ae98074aacd86188d51ce81b2b3a1d90 | [
"Apache-2.0"
] | null | null | null | #4-3 Counting to Twenty.py | nemuelpalomo/Python-Crash-Course | 6873e3a4ae98074aacd86188d51ce81b2b3a1d90 | [
"Apache-2.0"
] | null | null | null | # 4-3 Counting to Twenty
for value in range(1, 21):
print(value) | 17.25 | 27 | 0.666667 | 13 | 69 | 3.538462 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 0.217391 | 69 | 4 | 28 | 17.25 | 0.759259 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
f8f1958500e8f493a29bab58fd9d1dd5187c3a65 | 100 | py | Python | Python/list_iteration.py | MichaelSDavid/TwilioQuest-Code | 7dcdf6b11b27831a1c07896d0796757e379189cf | [
"MIT"
] | null | null | null | Python/list_iteration.py | MichaelSDavid/TwilioQuest-Code | 7dcdf6b11b27831a1c07896d0796757e379189cf | [
"MIT"
] | 5 | 2020-07-27T15:42:52.000Z | 2020-07-27T15:59:26.000Z | Python/list_iteration.py | MichaelSDavid/TwilioQuest-Code | 7dcdf6b11b27831a1c07896d0796757e379189cf | [
"MIT"
] | null | null | null | import sys
sys.argv.pop(0)
number = 1
for arg in sys.argv:
print(f"{number}. {arg}")
number += 1 | 12.5 | 26 | 0.64 | 19 | 100 | 3.368421 | 0.631579 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.18 | 100 | 8 | 27 | 12.5 | 0.743902 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d04d47615d9c63778aca566e8873be0f1fc0fcb | 134 | py | Python | login/urls.py | NJnisarg/IEEEProfMatch | 0a67108c910b40f878cc3e0ed9f37ec59089f02d | [
"MIT"
] | null | null | null | login/urls.py | NJnisarg/IEEEProfMatch | 0a67108c910b40f878cc3e0ed9f37ec59089f02d | [
"MIT"
] | null | null | null | login/urls.py | NJnisarg/IEEEProfMatch | 0a67108c910b40f878cc3e0ed9f37ec59089f02d | [
"MIT"
] | null | null | null | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^login/', views.login.as_view(), name='login'),
] | 22.333333 | 58 | 0.656716 | 19 | 134 | 4.578947 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 134 | 6 | 59 | 22.333333 | 0.790909 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5d050c773e2f1bbedb2a18d5b7ce4a128688c05f | 281 | py | Python | python_basics/fileProcessing_workspace.py | juanvalen15/python_course_udemy | cbb383298834d0c2d0d542877799ed7dc2aa51c1 | [
"MIT"
] | null | null | null | python_basics/fileProcessing_workspace.py | juanvalen15/python_course_udemy | cbb383298834d0c2d0d542877799ed7dc2aa51c1 | [
"MIT"
] | null | null | null | python_basics/fileProcessing_workspace.py | juanvalen15/python_course_udemy | cbb383298834d0c2d0d542877799ed7dc2aa51c1 | [
"MIT"
] | null | null | null | from inspect import modulesbyfile
# with content manager closes the file automatically
# # to read
# with open('files/fruits.txt', "r") as myfile:
# content = myfile.read()
# to write
with open('files/fruits.txt', "w") as myfile:
myfile.write("Tomato\nCucumber\nOnion")
| 23.416667 | 52 | 0.704626 | 39 | 281 | 5.076923 | 0.641026 | 0.080808 | 0.131313 | 0.191919 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163701 | 281 | 11 | 53 | 25.545455 | 0.842553 | 0.505338 | 0 | 0 | 0 | 0 | 0.30303 | 0.174242 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5d2be4b4857d3873dd5b1378a8f688fbf3ff6c80 | 1,350 | py | Python | jdcomment/util/exceptions.py | jdstar-666/maroon | 9ff449cc30cba49f94cbbd1361bce4c37586aa7b | [
"MIT"
] | null | null | null | jdcomment/util/exceptions.py | jdstar-666/maroon | 9ff449cc30cba49f94cbbd1361bce4c37586aa7b | [
"MIT"
] | null | null | null | jdcomment/util/exceptions.py | jdstar-666/maroon | 9ff449cc30cba49f94cbbd1361bce4c37586aa7b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#-*- coding:utf8 -*-
# @Author: lisnb
# @Date: 2016-04-27T11:05:16+08:00
# @Email: lisnb.h@hotmail.com
# @Last modified by: lisnb
# @Last modified time: 2016-06-18T22:20:18+08:00
class UnknownError(Exception):
pass
class ImproperlyConfigured(Exception):
"""Wiesler is somehow imprope... | 21.428571 | 72 | 0.711852 | 154 | 1,350 | 6.24026 | 0.590909 | 0.131113 | 0.037461 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033424 | 0.18 | 1,350 | 62 | 73 | 21.774194 | 0.834688 | 0.413333 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.1 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
5d34b5887f33a6fd0b19185c8f0c2966faa38c30 | 3,029 | py | Python | tests/test_expr.py | pediapress/mwlib | 1074fbc429e65180de09671dbc369ed1eeb2345d | [
"Unlicense"
] | 53 | 2015-02-17T16:20:06.000Z | 2022-03-18T09:22:00.000Z | tests/test_expr.py | h4ck3rm1k3/mwlib | 11475c6ad7480e35a4a59f276c47f6a5203435cc | [
"Unlicense"
] | 23 | 2015-01-30T16:26:20.000Z | 2022-03-11T23:26:03.000Z | tests/test_expr.py | h4ck3rm1k3/mwlib | 11475c6ad7480e35a4a59f276c47f6a5203435cc | [
"Unlicense"
] | 19 | 2015-01-21T13:55:46.000Z | 2019-02-23T23:14:31.000Z | #! /usr/bin/env py.test
# -*- coding: utf-8 -*-
import math
from mwlib.expander import expandstr
from mwlib import expr
def ee(s, expected=None):
s = expandstr("{{#expr:%s}}" % (s,))
if isinstance(expected, (float, int, long)):
assert math.fabs(float(s) - expected) < 1e-5
elif expected is not Non... | 18.246988 | 94 | 0.561902 | 493 | 3,029 | 3.359026 | 0.239351 | 0.122585 | 0.038647 | 0.021739 | 0.164251 | 0.115338 | 0.069444 | 0.041667 | 0 | 0 | 0 | 0.205117 | 0.212942 | 3,029 | 165 | 95 | 18.357576 | 0.489513 | 0.014526 | 0 | 0.020202 | 0 | 0.010101 | 0.243612 | 0.0477 | 0 | 0 | 0 | 0 | 0.040404 | 0 | null | null | 0 | 0.030303 | null | null | 0.020202 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d4d83d00edac43605bcf549deedb52d42f67437 | 4,532 | py | Python | tests/simple/arith.py | parag-hub/arrayfire-python | 65040c10833506f212f13e5bcc0e49cb20645e6e | [
"BSD-3-Clause"
] | 420 | 2015-07-30T00:02:21.000Z | 2022-03-28T16:52:28.000Z | tests/simple/arith.py | parag-hub/arrayfire-python | 65040c10833506f212f13e5bcc0e49cb20645e6e | [
"BSD-3-Clause"
] | 198 | 2015-07-29T17:17:36.000Z | 2022-01-20T18:31:28.000Z | tests/simple/arith.py | parag-hub/arrayfire-python | 65040c10833506f212f13e5bcc0e49cb20645e6e | [
"BSD-3-Clause"
] | 75 | 2015-07-29T15:17:54.000Z | 2022-02-24T06:50:23.000Z | #!/usr/bin/env python
#######################################################
# Copyright (c) 2015, ArrayFire
# All rights reserved.
#
# This file is distributed under 3-clause BSD license.
# The complete license agreement can be obtained at:
# http://arrayfire.com/licenses/BSD-3-Clause
###############################... | 20.32287 | 56 | 0.568182 | 768 | 4,532 | 3.1875 | 0.151042 | 0.539216 | 0.276144 | 0.200163 | 0.480801 | 0.441176 | 0.363154 | 0.363154 | 0.348448 | 0.333742 | 0 | 0.03284 | 0.254192 | 4,532 | 222 | 57 | 20.414414 | 0.69142 | 0.048102 | 0 | 0.155689 | 0 | 0 | 0.001192 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011976 | false | 0 | 0.011976 | 0.005988 | 0.02994 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d542ca415d254e1fe1d56f4496f207930d1c7ca | 130 | py | Python | util/cpt_upgraders/multiple-event-queues.py | hyu-iot/gem5 | aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5 | [
"BSD-3-Clause"
] | 765 | 2015-01-14T16:17:04.000Z | 2022-03-28T07:46:28.000Z | util/cpt_upgraders/multiple-event-queues.py | hyu-iot/gem5 | aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5 | [
"BSD-3-Clause"
] | 148 | 2018-07-20T00:58:36.000Z | 2021-11-16T01:52:33.000Z | util/cpt_upgraders/multiple-event-queues.py | hyu-iot/gem5 | aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5 | [
"BSD-3-Clause"
] | 807 | 2015-01-06T09:55:38.000Z | 2022-03-30T10:23:36.000Z | # Add support for multiple event queues
def upgrader(cpt):
cpt.set('Globals', 'numMainEventQueues', '1')
legacy_version = 12
| 21.666667 | 49 | 0.723077 | 17 | 130 | 5.470588 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 0.153846 | 130 | 5 | 50 | 26 | 0.818182 | 0.284615 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d6197298028bb12380edfa16832ec2ffda86400 | 83 | py | Python | Baekjoon/Python/10818.py | KHJcode/Algorithm-study | fa08d3c752fcb3557fd45fb394157926afc0de4a | [
"MIT"
] | 2 | 2020-05-23T01:55:38.000Z | 2020-07-07T15:59:00.000Z | Baekjoon/Python/10818.py | KHJcode/Algorithm-study | fa08d3c752fcb3557fd45fb394157926afc0de4a | [
"MIT"
] | null | null | null | Baekjoon/Python/10818.py | KHJcode/Algorithm-study | fa08d3c752fcb3557fd45fb394157926afc0de4a | [
"MIT"
] | null | null | null | n = int(input())
ints = list(map(int, input().split()))
print(min(ints),max(ints))
| 20.75 | 38 | 0.626506 | 14 | 83 | 3.714286 | 0.714286 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 83 | 3 | 39 | 27.666667 | 0.693333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
53711a431948b92762e4300e48cee113ad3fdfe1 | 291 | py | Python | lotto/models.py | mcallaghan/djangolotto | 25bc977c687e2c6570ae1bdefbb7b5576f7ec021 | [
"MIT"
] | null | null | null | lotto/models.py | mcallaghan/djangolotto | 25bc977c687e2c6570ae1bdefbb7b5576f7ec021 | [
"MIT"
] | null | null | null | lotto/models.py | mcallaghan/djangolotto | 25bc977c687e2c6570ae1bdefbb7b5576f7ec021 | [
"MIT"
] | null | null | null | from django.db import models
import django.contrib.postgres.fields as dpg
from django.contrib.auth.models import User
# Create your models here.
class Ticket(models.Model):
user = models.ForeignKey(User, on_delete=models.CASCADE, null=True)
draw_date = models.DateField(null=True)
| 29.1 | 71 | 0.780069 | 43 | 291 | 5.232558 | 0.627907 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127148 | 291 | 9 | 72 | 32.333333 | 0.885827 | 0.082474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
537e7887d22b368224ff61ee73e628cf94ac482a | 3,996 | py | Python | backend/server/MyAPI/migrations/0001_initial.py | boorishboy/cross-validation-web-app | eee4d452bf2654a2070fb0f5499600302fe004a8 | [
"MIT"
] | null | null | null | backend/server/MyAPI/migrations/0001_initial.py | boorishboy/cross-validation-web-app | eee4d452bf2654a2070fb0f5499600302fe004a8 | [
"MIT"
] | null | null | null | backend/server/MyAPI/migrations/0001_initial.py | boorishboy/cross-validation-web-app | eee4d452bf2654a2070fb0f5499600302fe004a8 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.8 on 2021-12-27 16:04
import django.core.files.storage
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Param... | 56.28169 | 247 | 0.615115 | 399 | 3,996 | 5.974937 | 0.270677 | 0.17995 | 0.192953 | 0.22651 | 0.641359 | 0.498742 | 0.39807 | 0.207215 | 0 | 0 | 0 | 0.010942 | 0.245245 | 3,996 | 70 | 248 | 57.085714 | 0.779509 | 0.011261 | 0 | 0.15873 | 1 | 0.015873 | 0.195999 | 0.108382 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
53837ee3f252d50c089248368b2d7ed9e47151ae | 3,294 | py | Python | dags/mysql_dump_dag.py | dodoyuan/docker-airflow-datax | 3fb37a34dd61b6694bf1845219f9392089424645 | [
"Apache-2.0"
] | 10 | 2018-12-01T20:15:00.000Z | 2022-02-28T05:11:50.000Z | dags/mysql_dump_dag.py | dodoyuan/docker-airflow-datax | 3fb37a34dd61b6694bf1845219f9392089424645 | [
"Apache-2.0"
] | null | null | null | dags/mysql_dump_dag.py | dodoyuan/docker-airflow-datax | 3fb37a34dd61b6694bf1845219f9392089424645 | [
"Apache-2.0"
] | 2 | 2020-10-12T09:37:54.000Z | 2021-02-04T03:23:35.000Z | from airflow import DAG
from airflow.operators.bash_operator import BashOperator
from datetime import datetime, timedelta
gRPC_CLIENT_PATH = '/usr/local/airflow/grpcHandle/grpcclient'
default_args = {
'owner': 'CloudIn',
'depends_on_past': False,
'start_date': datetime.now(),
'email': ['dingguoqiang@c... | 53.129032 | 128 | 0.498786 | 334 | 3,294 | 4.817365 | 0.299401 | 0.054692 | 0.109385 | 0.164077 | 0.359851 | 0.359851 | 0.359851 | 0.359851 | 0.359851 | 0.359851 | 0 | 0.088535 | 0.314208 | 3,294 | 61 | 129 | 54 | 0.623727 | 0.405586 | 0 | 0.054054 | 0 | 0 | 0.214948 | 0.049485 | 0 | 0 | 0 | 0.016393 | 0 | 1 | 0 | false | 0.081081 | 0.081081 | 0 | 0.081081 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
53996646ab03d46a9d91b33541e3dddcdd4bdcec | 618 | py | Python | cloudshell/sdn/runners/remove_openflow_runner.py | QualiSystems/cloudshell-sdn-odl | 47e30b9439dc7b29736d5114ecbfb7f392f8b6b1 | [
"Apache-2.0"
] | 1 | 2017-09-15T06:30:03.000Z | 2017-09-15T06:30:03.000Z | cloudshell/sdn/runners/remove_openflow_runner.py | QualiSystems/cloudshell-sdn-odl | 47e30b9439dc7b29736d5114ecbfb7f392f8b6b1 | [
"Apache-2.0"
] | null | null | null | cloudshell/sdn/runners/remove_openflow_runner.py | QualiSystems/cloudshell-sdn-odl | 47e30b9439dc7b29736d5114ecbfb7f392f8b6b1 | [
"Apache-2.0"
] | null | null | null | from abc import ABCMeta
from abc import abstractproperty
class SDNRemoveOpenflowRunner(object):
__metaclass__ = ABCMeta
def __init__(self, logger):
"""
:param logging.Logger logger:
"""
self._logger = logger
@abstractproperty
def remove_openflow_flow(self):
p... | 22.071429 | 106 | 0.63754 | 73 | 618 | 5.027397 | 0.356164 | 0.065395 | 0.073569 | 0.070845 | 0.081744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278317 | 618 | 27 | 107 | 22.888889 | 0.82287 | 0.160194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.090909 | 0.181818 | 0 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
53a1297d81b9fb5b52dfa06c3b2e6f9364e85cfc | 89 | py | Python | Program's_Contributed_By_Contributors/AI-Summer-Course/py-master/Basics/Hindi/10_name_/utility.py | SDGraph/Hacktoberfest2k21 | 8f8aead15afa10ea12e1b23ece515a10a882de28 | [
"MIT"
] | null | null | null | Program's_Contributed_By_Contributors/AI-Summer-Course/py-master/Basics/Hindi/10_name_/utility.py | SDGraph/Hacktoberfest2k21 | 8f8aead15afa10ea12e1b23ece515a10a882de28 | [
"MIT"
] | null | null | null | Program's_Contributed_By_Contributors/AI-Summer-Course/py-master/Basics/Hindi/10_name_/utility.py | SDGraph/Hacktoberfest2k21 | 8f8aead15afa10ea12e1b23ece515a10a882de28 | [
"MIT"
] | null | null | null | def foo():
print("In utility.py ==> foo()")
if __name__=='__main__':
foo()
| 8.090909 | 36 | 0.516854 | 11 | 89 | 3.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258427 | 89 | 10 | 37 | 8.9 | 0.575758 | 0 | 0 | 0 | 0 | 0 | 0.369048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.25 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
53abc882e564f4c9effc46bb440c1b84ff97d902 | 102 | py | Python | 03. SimpleConditions/09. PasswordGuess.py | indieza/Python-Developing | f7b5fa7e9ca5d9e8ad30fc7d2a1a21e2ad4b75a4 | [
"MIT"
] | null | null | null | 03. SimpleConditions/09. PasswordGuess.py | indieza/Python-Developing | f7b5fa7e9ca5d9e8ad30fc7d2a1a21e2ad4b75a4 | [
"MIT"
] | null | null | null | 03. SimpleConditions/09. PasswordGuess.py | indieza/Python-Developing | f7b5fa7e9ca5d9e8ad30fc7d2a1a21e2ad4b75a4 | [
"MIT"
] | null | null | null | line = input()
if line == 's3cr3t!P@ssw0rd':
print("Welcome")
else:
print("Wrong password!")
| 14.571429 | 29 | 0.607843 | 13 | 102 | 4.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.196078 | 102 | 6 | 30 | 17 | 0.719512 | 0 | 0 | 0 | 0 | 0 | 0.362745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
53af5b03a627c56b036cdd034639cf0261425e87 | 355 | py | Python | test_c01.py | clfs/cryptopals-new | 67f49d37778083ade3488d3c838bbcddacd8540a | [
"MIT"
] | null | null | null | test_c01.py | clfs/cryptopals-new | 67f49d37778083ade3488d3c838bbcddacd8540a | [
"MIT"
] | null | null | null | test_c01.py | clfs/cryptopals-new | 67f49d37778083ade3488d3c838bbcddacd8540a | [
"MIT"
] | null | null | null | """1. Convert hex to base64."""
import lib.encoding as encoding
def test_solution() -> None:
"""Solution to Challenge 1."""
a = "49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d"
b = b"SSdtIGtpbGxpbmcgeW91ciBicmFpbiBsaWtlIGEgcG9pc29ub3VzIG11c2hyb29t"
ass... | 35.5 | 106 | 0.783099 | 30 | 355 | 9.166667 | 0.633333 | 0.036364 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.309677 | 0.126761 | 355 | 9 | 107 | 39.444444 | 0.577419 | 0.140845 | 0 | 0 | 0 | 0 | 0.544218 | 0.544218 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
99042c5abd826279a7d6e53be475f2314aef5b66 | 2,236 | py | Python | qrcode/LUT.py | cbalfour/python-qrcode | d91982b601da0ae3d8219e25adc6cc72c900c381 | [
"BSD-3-Clause"
] | 2,651 | 2015-01-07T03:10:41.000Z | 2022-03-31T08:02:22.000Z | qrcode/LUT.py | cbalfour/python-qrcode | d91982b601da0ae3d8219e25adc6cc72c900c381 | [
"BSD-3-Clause"
] | 175 | 2018-09-10T19:52:20.000Z | 2022-03-30T04:37:30.000Z | qrcode/LUT.py | cbalfour/python-qrcode | d91982b601da0ae3d8219e25adc6cc72c900c381 | [
"BSD-3-Clause"
] | 451 | 2015-01-02T07:17:20.000Z | 2022-03-31T16:00:29.000Z | # Store all kinds of lookup table.
# # generate rsPoly lookup table.
# from qrcode import base
# def create_bytes(rs_blocks):
# for r in range(len(rs_blocks)):
# dcCount = rs_blocks[r].data_count
# ecCount = rs_blocks[r].total_count - dcCount
# rsPoly = base.Polynomial([1], 0)
# ... | 43.843137 | 80 | 0.549195 | 390 | 2,236 | 3.097436 | 0.502564 | 0.046358 | 0.049669 | 0.031457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416054 | 0.270125 | 2,236 | 50 | 81 | 44.72 | 0.324142 | 0.354651 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
99072eb2e1e397815907f60c63156769557f0d93 | 216 | py | Python | chap02/1.py | Zhang21/automate-Python | 5bba991e167e319539df35b2a42981ee2027a419 | [
"MIT"
] | null | null | null | chap02/1.py | Zhang21/automate-Python | 5bba991e167e319539df35b2a42981ee2027a419 | [
"MIT"
] | null | null | null | chap02/1.py | Zhang21/automate-Python | 5bba991e167e319539df35b2a42981ee2027a419 | [
"MIT"
] | null | null | null | #!/bin/python3
# coding: utf-8
print ('input name: ')
name = input()
print ('input passwd: ')
passwd = input()
if name == 'A':
print('A')
if passwd == 'BB':
print('BB')
else:
print('Other!')
| 15.428571 | 24 | 0.527778 | 28 | 216 | 4.071429 | 0.5 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012422 | 0.25463 | 216 | 13 | 25 | 16.615385 | 0.695652 | 0.125 | 0 | 0 | 0 | 0 | 0.203209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.3 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 3 |
54caa52afe67086935ac16a6fac500b27eb80bd5 | 141 | py | Python | protreim/gui/icon.py | hinihatetsu/protreim | 01d9a2183399d6e9848cb7110af0e2220e1fe0fd | [
"MIT"
] | null | null | null | protreim/gui/icon.py | hinihatetsu/protreim | 01d9a2183399d6e9848cb7110af0e2220e1fe0fd | [
"MIT"
] | null | null | null | protreim/gui/icon.py | hinihatetsu/protreim | 01d9a2183399d6e9848cb7110af0e2220e1fe0fd | [
"MIT"
] | null | null | null |
from pathlib import Path
import base64
with (Path(__file__).parent / 'icon.png').open('rb') as f:
MAINICON = base64.b64encode(f.read()) | 23.5 | 58 | 0.702128 | 21 | 141 | 4.52381 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049587 | 0.141844 | 141 | 6 | 59 | 23.5 | 0.735537 | 0 | 0 | 0 | 0 | 0 | 0.070922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
54ccaa2944a19a61e92269b1412d68198d6dca71 | 141 | py | Python | airfs/_automount/github.py | JGoutin/rfs | 6e68968fada828adab7fd7011893871a3bd58ecd | [
"Apache-2.0"
] | 5 | 2020-07-25T16:52:22.000Z | 2021-07-22T02:03:15.000Z | airfs/_automount/github.py | JGoutin/rfs | 6e68968fada828adab7fd7011893871a3bd58ecd | [
"Apache-2.0"
] | 27 | 2020-01-13T21:16:23.000Z | 2021-11-09T11:18:17.000Z | airfs/_automount/github.py | JGoutin/rfs | 6e68968fada828adab7fd7011893871a3bd58ecd | [
"Apache-2.0"
] | 1 | 2022-03-25T13:32:13.000Z | 2022-03-25T13:32:13.000Z | """GitHub"""
from re import compile
ROOTS = (
compile(r"https?://github\.com"),
compile(r"https?://raw\.githubusercontent\.com"),
)
| 17.625 | 53 | 0.624113 | 17 | 141 | 5.176471 | 0.647059 | 0.181818 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141844 | 141 | 7 | 54 | 20.142857 | 0.727273 | 0.042553 | 0 | 0 | 0 | 0 | 0.434109 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
54dc7a2c738528fb9da8b299b0923d23b3c04655 | 3,046 | py | Python | src/tt_calendar/tt_calendar/datetime.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 85 | 2017-11-21T12:22:02.000Z | 2022-03-27T23:07:17.000Z | src/tt_calendar/tt_calendar/datetime.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 545 | 2017-11-04T14:15:04.000Z | 2022-03-27T14:19:27.000Z | src/tt_calendar/tt_calendar/datetime.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 45 | 2017-11-11T12:36:30.000Z | 2022-02-25T06:10:44.000Z |
from . import date
from . import time
class DateTime(object):
__slots__ = ('date', 'time')
def __init__(self, year=0, month=0, day=0, hour=0, minute=0, second=0):
self.date = date.Date(year=year, month=month, day=day)
self.time = time.Time(hour=hour, minute=minute, second=second)
def r... | 35.011494 | 103 | 0.534471 | 345 | 3,046 | 4.530435 | 0.130435 | 0.095969 | 0.098528 | 0.092131 | 0.283429 | 0.12412 | 0.084453 | 0.084453 | 0.084453 | 0.084453 | 0 | 0.003106 | 0.365726 | 3,046 | 86 | 104 | 35.418605 | 0.805901 | 0 | 0 | 0.163934 | 0 | 0 | 0.027595 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.344262 | false | 0 | 0.04918 | 0.311475 | 0.590164 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0708e68b311a41f5eb7e7ec1e096f5631053739c | 1,202 | py | Python | d1lod/tests/test_dataone.py | DataONEorg/slinky | 1f0f774b7b5556126d75524ac9fd328ad0fc1ba2 | [
"Apache-2.0"
] | 2 | 2019-03-07T21:14:27.000Z | 2021-03-30T00:24:13.000Z | d1lod/tests/test_dataone.py | DataONEorg/slinky | 1f0f774b7b5556126d75524ac9fd328ad0fc1ba2 | [
"Apache-2.0"
] | 64 | 2021-03-11T22:28:45.000Z | 2022-03-17T18:41:08.000Z | d1lod/tests/test_dataone.py | DataONEorg/slinky | 1f0f774b7b5556126d75524ac9fd328ad0fc1ba2 | [
"Apache-2.0"
] | 2 | 2018-09-05T16:38:42.000Z | 2021-03-12T18:07:20.000Z | """test_dataone.py
Test the DataOne utility library.
"""
from d1lod import dataone
def test_parsing_resource_map():
pid = 'resourceMap_df35d.3.2'
aggd_pids = dataone.getAggregatedIdentifiers(pid)
assert len(aggd_pids) == 7
def test_extracting_identifiers_from_urls():
# Returns None when it shoul... | 40.066667 | 120 | 0.755408 | 151 | 1,202 | 5.927152 | 0.357616 | 0.130726 | 0.412291 | 0.256983 | 0.624581 | 0.624581 | 0.624581 | 0.586592 | 0.586592 | 0.586592 | 0 | 0.042254 | 0.113977 | 1,202 | 29 | 121 | 41.448276 | 0.798122 | 0.086522 | 0 | 0 | 0 | 0 | 0.311927 | 0.019266 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.133333 | false | 0 | 0.066667 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0729946872e62e73dab0829ffd3fac0a71a03840 | 79 | py | Python | dendrol/version.py | cblades-tc/dendrol | f91d15ff5f22231dee220d3c7ed09a43c0e632fd | [
"MIT",
"BSD-3-Clause"
] | 17 | 2018-11-27T03:46:40.000Z | 2020-01-06T13:30:15.000Z | dendrol/version.py | cblades-tc/dendrol | f91d15ff5f22231dee220d3c7ed09a43c0e632fd | [
"MIT",
"BSD-3-Clause"
] | 7 | 2018-11-25T18:12:27.000Z | 2019-07-05T23:11:23.000Z | dendrol/version.py | cblades-tc/dendrol | f91d15ff5f22231dee220d3c7ed09a43c0e632fd | [
"MIT",
"BSD-3-Clause"
] | 2 | 2020-09-14T02:41:00.000Z | 2020-11-09T15:44:52.000Z | version_info = (0, 0, 5)
__version__ = '.'.join(str(n) for n in version_info)
| 19.75 | 52 | 0.658228 | 14 | 79 | 3.285714 | 0.642857 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.164557 | 79 | 3 | 53 | 26.333333 | 0.651515 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0733c5ed979584c4ba53aaebaf64a06924df5127 | 367 | py | Python | ccep/siting/admin.py | tmarthal/ccep | 5b79ea76d1790ce8de64bb98f935e34660fa282e | [
"MIT"
] | null | null | null | ccep/siting/admin.py | tmarthal/ccep | 5b79ea76d1790ce8de64bb98f935e34660fa282e | [
"MIT"
] | null | null | null | ccep/siting/admin.py | tmarthal/ccep | 5b79ea76d1790ce8de64bb98f935e34660fa282e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.contrib.gis import admin
# Register your models here.
from siting.models import County, SitingModel, ModelLayer
# regular geodjango admin
#admin.site.register(County, admin.GeoModelAdmin)
# open street map admin
admin.site.register(County, admin.OSMGeoAdmin)
admin.site.register(... | 20.388889 | 57 | 0.779292 | 47 | 367 | 6.085106 | 0.531915 | 0.125874 | 0.237762 | 0.153846 | 0.230769 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0.003077 | 0.114441 | 367 | 17 | 58 | 21.588235 | 0.876923 | 0.386921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0733cea7f5b1d3e014622f0ff816f32aca7c1ae8 | 179 | py | Python | Octo Demo/quantizer/KMQATScheme.py | kimihe/Tiny-On-Device-Learning-Demo | 9436e660d7a1622f86d0c54094bdf91bf694fe90 | [
"Apache-2.0"
] | 14 | 2021-05-13T15:02:29.000Z | 2022-03-07T12:25:53.000Z | Octo Demo/quantizer/KMQATScheme.py | kimihe/Tiny-On-Device-Learning-Demo | 9436e660d7a1622f86d0c54094bdf91bf694fe90 | [
"Apache-2.0"
] | null | null | null | Octo Demo/quantizer/KMQATScheme.py | kimihe/Tiny-On-Device-Learning-Demo | 9436e660d7a1622f86d0c54094bdf91bf694fe90 | [
"Apache-2.0"
] | 5 | 2021-11-16T12:40:01.000Z | 2022-03-14T09:44:05.000Z | from enum import Enum, unique
@unique
class KMQATScheme(Enum):
FullPrecision = 0
Dequantization = 1
ErrorCompensation = 2
LossAwareCompensation = 3
Other = 4
| 17.9 | 29 | 0.698324 | 19 | 179 | 6.578947 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.24581 | 179 | 9 | 30 | 19.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.875 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
07486eafa16e38493221dccf65746288330e5c82 | 452 | py | Python | app/main/errors.py | iflyings/flask-website | ce433869f9b93d59b50af152562debe86e3ad544 | [
"Apache-2.0"
] | null | null | null | app/main/errors.py | iflyings/flask-website | ce433869f9b93d59b50af152562debe86e3ad544 | [
"Apache-2.0"
] | null | null | null | app/main/errors.py | iflyings/flask-website | ce433869f9b93d59b50af152562debe86e3ad544 | [
"Apache-2.0"
] | null | null | null | from flask import render_template
from . import bapp
# 向程序全局注册404 错误处理,其他路由处理可以省掉
@bapp.app_errorhandler(404)
def page_not_found(e):
return render_template('404.html'), 404
# 向程序全局注册404 错误处理,其他路由处理可以省掉
@bapp.app_errorhandler(403)
def page_not_found(e):
return render_template('403.html'), 403
# 向... | 25.111111 | 44 | 0.75 | 62 | 452 | 5.258065 | 0.403226 | 0.171779 | 0.165644 | 0.193252 | 0.58589 | 0.484663 | 0.220859 | 0.220859 | 0 | 0 | 0 | 0.093506 | 0.14823 | 452 | 17 | 45 | 26.588235 | 0.753247 | 0.176991 | 0 | 0.181818 | 0 | 0 | 0.068376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0.272727 | 0.727273 | 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 | 0 | 0 | 0 | 3 |
0749c14e3a7c68dce5cda6847ee63648c36a037d | 7,756 | py | Python | tfx_bsl/tfxio/tfxio.py | martinbomio/tfx-bsl | 14b46fad556527009497f0de0161400ed7e234df | [
"Apache-2.0"
] | 53 | 2019-09-19T17:00:30.000Z | 2022-03-09T23:27:16.000Z | tfx_bsl/tfxio/tfxio.py | dhruvesh09/tfx-bsl | 52f7aeab4a528ee81ae308534c9fcc1ce431d569 | [
"Apache-2.0"
] | 21 | 2020-01-09T21:09:48.000Z | 2022-03-28T17:55:19.000Z | tfx_bsl/tfxio/tfxio.py | dhruvesh09/tfx-bsl | 52f7aeab4a528ee81ae308534c9fcc1ce431d569 | [
"Apache-2.0"
] | 44 | 2019-10-10T18:28:46.000Z | 2022-03-09T22:18:38.000Z | # Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 36.933333 | 92 | 0.730015 | 986 | 7,756 | 5.689655 | 0.257606 | 0.023529 | 0.020856 | 0.019964 | 0.400178 | 0.348307 | 0.270232 | 0.270232 | 0.270232 | 0.270232 | 0 | 0.002551 | 0.191465 | 7,756 | 209 | 93 | 37.110048 | 0.892043 | 0.584064 | 0 | 0.461538 | 0 | 0 | 0.014874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.292308 | false | 0 | 0.107692 | 0.123077 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4ac9d9ac70f42f3b68a1cf98efa1dbd5ceae6ffb | 453 | py | Python | backend/apps/ineedstudent/converters.py | match4healthcare/match4healthcare | acf69e3b781d715f0a947c2a9df6646e94f1ca6b | [
"MIT"
] | 2 | 2020-03-28T13:56:39.000Z | 2020-03-29T10:16:12.000Z | backend/apps/ineedstudent/converters.py | match4healthcare/match4healthcare | acf69e3b781d715f0a947c2a9df6646e94f1ca6b | [
"MIT"
] | 76 | 2020-03-27T21:53:04.000Z | 2020-03-30T20:27:43.000Z | backend/apps/ineedstudent/converters.py | match4healthcare/match4healthcare | acf69e3b781d715f0a947c2a9df6646e94f1ca6b | [
"MIT"
] | null | null | null | class DecimalPointFloatConverter:
"""
Custom Django converter for URLs.
Parses floats with a decimal point (not with a comma!)
Allows for integers too, parses values in this or similar form:
- 100.0
- 100
Will NOT work for these forms:
- 100.000.000
- 100,0
"""
regex = "[0... | 20.590909 | 67 | 0.604857 | 63 | 453 | 4.31746 | 0.666667 | 0.036765 | 0.110294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074303 | 0.286976 | 453 | 21 | 68 | 21.571429 | 0.767802 | 0.487859 | 0 | 0 | 0 | 0 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4ae29680192059fc2bf8de0ad47a56b93ed03a3a | 95 | py | Python | crawlib2/tests/dummy_site_crawler/config.py | MacHu-GWU/crawlib2-project | 618d72522d5b36d40607b53b7de7623976460712 | [
"MIT"
] | null | null | null | crawlib2/tests/dummy_site_crawler/config.py | MacHu-GWU/crawlib2-project | 618d72522d5b36d40607b53b7de7623976460712 | [
"MIT"
] | null | null | null | crawlib2/tests/dummy_site_crawler/config.py | MacHu-GWU/crawlib2-project | 618d72522d5b36d40607b53b7de7623976460712 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class Config:
class MongoDB:
database = "crawlib2_test"
| 13.571429 | 34 | 0.568421 | 10 | 95 | 5.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.284211 | 95 | 6 | 35 | 15.833333 | 0.75 | 0.221053 | 0 | 0 | 0 | 0 | 0.183099 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
4ae507e3e929bf335b848071b35d73ef7303c39c | 314 | py | Python | __init__.py | bparker667/launcher-skill | 57f9f6749a98506d1bef1cc561692a8a9b3a1beb | [
"MIT"
] | null | null | null | __init__.py | bparker667/launcher-skill | 57f9f6749a98506d1bef1cc561692a8a9b3a1beb | [
"MIT"
] | null | null | null | __init__.py | bparker667/launcher-skill | 57f9f6749a98506d1bef1cc561692a8a9b3a1beb | [
"MIT"
] | null | null | null | from mycroft import MycroftSkill, intent_file_handler
class Launcher(MycroftSkill):
def __init__(self):
MycroftSkill.__init__(self)
@intent_file_handler('launcher.intent')
def handle_launcher(self, message):
self.speak_dialog('launcher')
def create_skill():
return Launcher()
| 19.625 | 53 | 0.72293 | 35 | 314 | 6.057143 | 0.542857 | 0.09434 | 0.160377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181529 | 314 | 15 | 54 | 20.933333 | 0.824903 | 0 | 0 | 0 | 0 | 0 | 0.073482 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4af1704cb918446d4cb25af0957dd3964c3289ce | 540 | py | Python | src/yggdrasil/cython-0.25.2/tests/run/ass2global.py | fengjixuchui/hydra | d49e652018a007bae9d22cb59dfa086deff7ad2f | [
"MIT"
] | 110 | 2019-08-21T04:23:22.000Z | 2022-01-20T16:08:36.000Z | src/yggdrasil/cython-0.25.2/tests/run/ass2global.py | fengjixuchui/hydra | d49e652018a007bae9d22cb59dfa086deff7ad2f | [
"MIT"
] | 16 | 2019-11-19T03:46:35.000Z | 2021-12-19T19:26:07.000Z | src/yggdrasil/cython-0.25.2/tests/run/ass2global.py | fengjixuchui/hydra | d49e652018a007bae9d22cb59dfa086deff7ad2f | [
"MIT"
] | 24 | 2019-09-30T21:38:08.000Z | 2021-11-22T00:22:18.000Z | """
>>> getg()
5
>>> setg(42)
>>> getg()
42
"""
g = 5
def setg(a):
global g
g = a
def getg():
return g
class Test(object):
"""
>>> global_in_class
9
>>> Test.global_in_class
Traceback (most recent call last):
AttributeError: type object 'Test' has no attrib... | 15.882353 | 73 | 0.592593 | 71 | 540 | 4.309859 | 0.338028 | 0.183007 | 0.297386 | 0.091503 | 0.555556 | 0.555556 | 0.379085 | 0.379085 | 0.379085 | 0.379085 | 0 | 0.020619 | 0.281481 | 540 | 33 | 74 | 16.363636 | 0.768041 | 0.588889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.555556 | 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 | 0 | 0 | 0 | 3 |
ab062d9eb6963fa698956e87f7baa096a1ff093e | 121 | py | Python | firestore_rest/__init__.py | evan-richard/firestore_rest | 68da3cfa0813a8697e8470e3e76cee2061d7ddee | [
"MIT"
] | null | null | null | firestore_rest/__init__.py | evan-richard/firestore_rest | 68da3cfa0813a8697e8470e3e76cee2061d7ddee | [
"MIT"
] | null | null | null | firestore_rest/__init__.py | evan-richard/firestore_rest | 68da3cfa0813a8697e8470e3e76cee2061d7ddee | [
"MIT"
] | null | null | null | from credentials import Credentials
from firestore import Firestore
credentials = Credentials()
firestore = Firestore() | 20.166667 | 35 | 0.826446 | 12 | 121 | 8.333333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123967 | 121 | 6 | 36 | 20.166667 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ab175d2cb9267285de0ae62d86965ed0cd70b953 | 317 | py | Python | 20.py | Bascil/python-data-structures-code-challenge | d3ec548b828746ec1dfab0236666be543d27c35c | [
"MIT"
] | null | null | null | 20.py | Bascil/python-data-structures-code-challenge | d3ec548b828746ec1dfab0236666be543d27c35c | [
"MIT"
] | null | null | null | 20.py | Bascil/python-data-structures-code-challenge | d3ec548b828746ec1dfab0236666be543d27c35c | [
"MIT"
] | null | null | null | # Stack implementation
'''
Stack using python list. Use append to push an item
onto the stack and pop to remove an item
'''
my_stack = list()
my_stack.append(4)
my_stack.append(7)
my_stack.append(12)
my_stack.append(19)
print(my_stack)
print(my_stack.pop()) # 19
print(my_stack.pop()) # 12
print(my_stack) # [4,7]
| 18.647059 | 51 | 0.725552 | 58 | 317 | 3.810345 | 0.37931 | 0.285068 | 0.235294 | 0.126697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.138801 | 317 | 16 | 52 | 19.8125 | 0.765568 | 0.400631 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
ab19146d56721f3b1b4ed39d78cdb183ac57c50d | 598 | py | Python | pip_audit/_dependency_source/__init__.py | westonsteimel/pip-audit | 3b29e66418de9236c92b3ffaa254ae9def2bdcbf | [
"Apache-2.0"
] | 447 | 2021-09-02T17:06:18.000Z | 2022-03-28T20:58:22.000Z | pip_audit/_dependency_source/__init__.py | westonsteimel/pip-audit | 3b29e66418de9236c92b3ffaa254ae9def2bdcbf | [
"Apache-2.0"
] | 177 | 2021-09-02T16:45:42.000Z | 2022-03-29T14:19:11.000Z | pip_audit/_dependency_source/__init__.py | westonsteimel/pip-audit | 3b29e66418de9236c92b3ffaa254ae9def2bdcbf | [
"Apache-2.0"
] | 25 | 2021-09-13T16:04:23.000Z | 2022-03-21T17:47:28.000Z | """
Dependency source interfaces and implementations for `pip-audit`.
"""
from .interface import (
DependencyFixError,
DependencyResolver,
DependencyResolverError,
DependencySource,
DependencySourceError,
)
from .pip import PipSource, PipSourceError
from .requirement import RequirementSource
from .... | 22.148148 | 65 | 0.740803 | 39 | 598 | 11.25641 | 0.589744 | 0.164009 | 0.268793 | 0.341686 | 0.437358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172241 | 598 | 26 | 66 | 23 | 0.886869 | 0.108696 | 0 | 0 | 0 | 0 | 0.293333 | 0.08381 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.190476 | 0 | 0.190476 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ab19b33878e4231a0251e6da9bae691e64d9f0b0 | 207 | py | Python | frontadmin/urls.py | washim/django-frontadmin | 6be3d5a745523bec72f2afb71483b8a29d979150 | [
"MIT"
] | null | null | null | frontadmin/urls.py | washim/django-frontadmin | 6be3d5a745523bec72f2afb71483b8a29d979150 | [
"MIT"
] | null | null | null | frontadmin/urls.py | washim/django-frontadmin | 6be3d5a745523bec72f2afb71483b8a29d979150 | [
"MIT"
] | null | null | null | from django.urls import path, include
from frontadmin import views
urlpatterns = [
path('accounts/', include('django.contrib.auth.urls')),
path('accounts/profile/', views.profile, name='profile'),
] | 29.571429 | 61 | 0.719807 | 25 | 207 | 5.96 | 0.56 | 0.161074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125604 | 207 | 7 | 62 | 29.571429 | 0.823204 | 0 | 0 | 0 | 0 | 0 | 0.274038 | 0.115385 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.