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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9da7392c6d54874ceb22e1b18fd4ca08b7fb1d46 | 187 | py | Python | CorePythonProg/ch06/0603ex_a.py | mallius/CppPrimer | 0285fabe5934492dfed0a9cf67ba5650982a5f76 | [
"MIT"
] | null | null | null | CorePythonProg/ch06/0603ex_a.py | mallius/CppPrimer | 0285fabe5934492dfed0a9cf67ba5650982a5f76 | [
"MIT"
] | null | null | null | CorePythonProg/ch06/0603ex_a.py | mallius/CppPrimer | 0285fabe5934492dfed0a9cf67ba5650982a5f76 | [
"MIT"
] | 1 | 2022-01-25T15:51:34.000Z | 2022-01-25T15:51:34.000Z | #!usr/bin/env python
myInput = raw_input('Enter some number: ').split()
print myInput
num = [int(x) for x in myInput]
num = sorted(num)
print num
for x in reversed(num):
print x
| 14.384615 | 50 | 0.673797 | 32 | 187 | 3.90625 | 0.59375 | 0.16 | 0.096 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197861 | 187 | 12 | 51 | 15.583333 | 0.833333 | 0.101604 | 0 | 0 | 0 | 0 | 0.114458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.428571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
9db4d30c568d0af440eb1439e6ebe666bafef15b | 1,889 | py | Python | cryptography/02-oneuseonly/crib_drag.py | cscosu/ctf0 | 1c56962e2e26b73408a92fb789cf690c816f2ca7 | [
"MIT"
] | null | null | null | cryptography/02-oneuseonly/crib_drag.py | cscosu/ctf0 | 1c56962e2e26b73408a92fb789cf690c816f2ca7 | [
"MIT"
] | 1 | 2017-04-02T01:20:56.000Z | 2017-04-03T18:26:42.000Z | cryptography/02-oneuseonly/crib_drag.py | cscosu/ctf0 | 1c56962e2e26b73408a92fb789cf690c816f2ca7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
'''
Crib-dragging implementation for solving this problem
'''
from binascii import unhexlify
from itertools import combinations
# The given ciphertext
m1 = '0x02 0x00 0x08 0x23 0x38 0x31 0x11 0x2e 0x1e 0x5d 0x48 0x46 0x5d 0x00 0x40 0x5a 0x54 0x12 0x1d 0x09 0x13 0x12 ' \
'0x1b 0x03 0x1e 0x08 ... | 35.641509 | 119 | 0.660667 | 318 | 1,889 | 3.924528 | 0.455975 | 0.009615 | 0.033654 | 0.045673 | 0.08734 | 0.064904 | 0.064904 | 0.064904 | 0.064904 | 0 | 0 | 0.295883 | 0.241398 | 1,889 | 52 | 120 | 36.326923 | 0.575017 | 0.15352 | 0 | 0 | 0 | 0.222222 | 0.489172 | 0 | 0 | 0 | 0.389809 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.074074 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
9dbda95751d94fbdf94c091e1491ce5d0d0a0156 | 1,423 | py | Python | flink-libraries/flink-streaming-python/src/test/python/org/apache/flink/streaming/python/api/utils/pygeneratorbase.py | Silven1117/flink | 518adb0437de2d3383c4b1c744199adb6bd48dfd | [
"Apache-2.0"
] | 9 | 2016-09-22T22:53:13.000Z | 2019-11-30T03:07:29.000Z | flink-libraries/flink-streaming-python/src/test/python/org/apache/flink/streaming/python/api/utils/pygeneratorbase.py | fjl121029xx/flink | 50b1a5287a315ee117cae480c68a8db131f13b25 | [
"Apache-2.0"
] | 204 | 2019-05-21T09:54:29.000Z | 2019-07-26T21:04:30.000Z | flink-libraries/flink-streaming-python/src/test/python/org/apache/flink/streaming/python/api/utils/pygeneratorbase.py | fjl121029xx/flink | 50b1a5287a315ee117cae480c68a8db131f13b25 | [
"Apache-2.0"
] | 2 | 2018-08-14T15:08:26.000Z | 2018-08-15T21:41:21.000Z | ################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this... | 38.459459 | 80 | 0.631061 | 177 | 1,423 | 5 | 0.559322 | 0.067797 | 0.040678 | 0.036158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008757 | 0.19747 | 1,423 | 36 | 81 | 39.527778 | 0.7662 | 0.536894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.071429 | 0.071429 | 0 | 0.428571 | 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 | 0 | 0 | 0 | 2 |
9dc294aa0e17b8e67005aac93a40addb53f3d392 | 7,234 | py | Python | languages/python/class.py | sanjosh/csdocs | 76daad74fb7735bc2f4d8a2198ed4b10e6fcb978 | [
"Apache-2.0"
] | 5 | 2018-11-30T08:49:53.000Z | 2021-09-14T10:25:01.000Z | languages/python/class.py | sanjosh/csdocs | 76daad74fb7735bc2f4d8a2198ed4b10e6fcb978 | [
"Apache-2.0"
] | null | null | null | languages/python/class.py | sanjosh/csdocs | 76daad74fb7735bc2f4d8a2198ed4b10e6fcb978 | [
"Apache-2.0"
] | 2 | 2019-02-18T20:46:18.000Z | 2021-07-16T15:05:06.000Z | #!/usr/bin/python
'''
https://docs.python.org/2/reference/datamodel.html
'''
class Empty:
pass
#base class is object
class BankAccount(object):
#__doc__ next string becomes doc
""" Bank acount class """
# static variable
class_variable="bank"
#__new___??
#default args
def __init__(self, initia... | 21.921212 | 72 | 0.604645 | 910 | 7,234 | 4.302198 | 0.307692 | 0.09834 | 0.129502 | 0.122605 | 0.134355 | 0.119796 | 0.051596 | 0.021456 | 0 | 0 | 0 | 0.002989 | 0.306193 | 7,234 | 329 | 73 | 21.987842 | 0.777047 | 0.238319 | 0 | 0.407895 | 0 | 0 | 0.013249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.407895 | 0 | null | null | 0.035088 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
9dcf0894c20342400862064577ceb8a6fdcb9477 | 571 | py | Python | src/python/create_klist_band.py | chanul13/EDMFTF | 967d85d898924991b31861b4e1f45129e3eff180 | [
"BSD-3-Clause"
] | 7 | 2018-04-03T06:37:42.000Z | 2021-11-08T11:44:06.000Z | src/python/create_klist_band.py | chanul13/EDMFTF | 967d85d898924991b31861b4e1f45129e3eff180 | [
"BSD-3-Clause"
] | null | null | null | src/python/create_klist_band.py | chanul13/EDMFTF | 967d85d898924991b31861b4e1f45129e3eff180 | [
"BSD-3-Clause"
] | 3 | 2016-10-27T20:23:34.000Z | 2019-12-13T13:54:11.000Z | from scipy import *
P = [ ('$Y$', [0,1,0]),
('$\Gamma$', [0,0,0]),
('$X$', [1,0,0])
]
Ni = [50,50]
SCALE = max(Ni)
l=0
for i in range(len(P)-1):
p0 = array(P[i][1])
p1 = array(P[i+1][1])
for j in range(Ni[i]):
l+=1
kk = (p0 + (p1-p0)*j/(Ni[i]+0.0))*SCALE
if j==0: ... | 20.392857 | 80 | 0.436077 | 117 | 571 | 2.128205 | 0.290598 | 0.096386 | 0.096386 | 0.064257 | 0.313253 | 0.313253 | 0.313253 | 0.313253 | 0.313253 | 0.313253 | 0 | 0.138095 | 0.264448 | 571 | 27 | 81 | 21.148148 | 0.454762 | 0 | 0 | 0.095238 | 0 | 0 | 0.107018 | 0.077193 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.047619 | null | null | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
9dd131f774ee8b9f4cf4dabf9f35c627f827c159 | 4,483 | py | Python | babywedge/subsystems/drivetrain.py | TeamIllusion/RapidReact | 638b0b8c0192b7e71ed5cb608586eca12f1e8f00 | [
"BSD-3-Clause"
] | null | null | null | babywedge/subsystems/drivetrain.py | TeamIllusion/RapidReact | 638b0b8c0192b7e71ed5cb608586eca12f1e8f00 | [
"BSD-3-Clause"
] | 1 | 2022-01-29T16:42:23.000Z | 2022-01-29T16:42:23.000Z | babywedge/subsystems/drivetrain.py | TeamIllusion/RapidReact | 638b0b8c0192b7e71ed5cb608586eca12f1e8f00 | [
"BSD-3-Clause"
] | 4 | 2022-01-28T20:05:26.000Z | 2022-01-31T21:05:40.000Z | # Copyright (c) FIRST and other WPILib contributors.
# Open Source Software; you can modify and/or share it under the terms of
# the WPILib BSD license file in the root directory of this project.
import math
import commands2
import wpilib
import wpilib.drive
from sensors.romigyro import RomiGyro
class Drivetrain(c... | 32.021429 | 108 | 0.646665 | 520 | 4,483 | 5.559615 | 0.323077 | 0.044967 | 0.028018 | 0.035282 | 0.287444 | 0.285368 | 0.223106 | 0.223106 | 0.145278 | 0.060187 | 0 | 0.010616 | 0.264555 | 4,483 | 139 | 109 | 32.251799 | 0.866242 | 0.328352 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269841 | false | 0 | 0.079365 | 0.095238 | 0.603175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
9dec18d34fb459239ced3474a8dd4b1af8c087b6 | 258 | py | Python | report/admin.py | pravu02280/ProMinor | 916bf3f81526bb6f97966ba877320583058fb835 | [
"CC0-1.0"
] | null | null | null | report/admin.py | pravu02280/ProMinor | 916bf3f81526bb6f97966ba877320583058fb835 | [
"CC0-1.0"
] | null | null | null | report/admin.py | pravu02280/ProMinor | 916bf3f81526bb6f97966ba877320583058fb835 | [
"CC0-1.0"
] | null | null | null | from django.contrib import admin
from .models import RLeave, RProgress
# Register your models here.
admin.site.register(RProgress)
@admin.register(RLeave)
class RleaveAdmin(admin.ModelAdmin):
list_display = ('subject', 'leavedate', 'approve', 'user')
| 23.454545 | 62 | 0.75969 | 31 | 258 | 6.290323 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120155 | 258 | 10 | 63 | 25.8 | 0.859031 | 0.100775 | 0 | 0 | 0 | 0 | 0.117391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
9deda4e6b43706838d4ddc5f721425509cf0a80b | 1,017 | py | Python | src/tests/system/t104.py | ArtemovSA/PyMite | a22fbae773b285ccf4993905a46dd396cb762f69 | [
"OLDAP-2.6",
"Python-2.0"
] | 51 | 2015-03-24T07:53:03.000Z | 2021-08-06T12:55:53.000Z | src/tests/system/t104.py | ArtemovSA/PyMite | a22fbae773b285ccf4993905a46dd396cb762f69 | [
"OLDAP-2.6",
"Python-2.0"
] | null | null | null | src/tests/system/t104.py | ArtemovSA/PyMite | a22fbae773b285ccf4993905a46dd396cb762f69 | [
"OLDAP-2.6",
"Python-2.0"
] | 15 | 2015-04-09T14:17:27.000Z | 2022-01-26T02:42:47.000Z | # This file is Copyright 2003, 2006, 2007, 2009 Dean Hall.
#
# This file is part of the Python-on-a-Chip program.
# Python-on-a-Chip is free software: you can redistribute it and/or modify
# it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1.
#
# Python-on-a-Chip is distributed in the hope that it ... | 27.486486 | 74 | 0.705015 | 178 | 1,017 | 4.02809 | 0.55618 | 0.020921 | 0.037657 | 0.054393 | 0.209205 | 0.119944 | 0.119944 | 0.119944 | 0.119944 | 0.119944 | 0 | 0.039312 | 0.199607 | 1,017 | 36 | 75 | 28.25 | 0.841523 | 0.737463 | 0 | 0.25 | 0 | 0 | 0.222672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.083333 | null | null | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
9df2af6a5f79fa04f0a2edbd5b2d65a3b0277bc3 | 511 | py | Python | Source/Utility/python-twitter/twitter/error.py | guissy/StockRecommendSystem | 2e8694d0bb2ceaa42585ee7414564d921cc5a854 | [
"MIT"
] | 137 | 2017-06-13T06:54:40.000Z | 2022-03-30T22:19:38.000Z | Source/Utility/python-twitter/twitter/error.py | guissy/StockRecommendSystem | 2e8694d0bb2ceaa42585ee7414564d921cc5a854 | [
"MIT"
] | 27 | 2017-04-01T15:06:36.000Z | 2021-02-08T20:19:58.000Z | Source/Utility/python-twitter/twitter/error.py | guissy/StockRecommendSystem | 2e8694d0bb2ceaa42585ee7414564d921cc5a854 | [
"MIT"
] | 61 | 2017-07-03T01:30:36.000Z | 2022-01-11T08:50:44.000Z | #!/usr/bin/env python
class TwitterError(Exception):
"""Base class for Twitter errors"""
@property
def message(self):
'''Returns the first argument used to construct this error.'''
return self.args[0]
class PythonTwitterDeprecationWarning(DeprecationWarning):
"""Base class for pytho... | 24.333333 | 74 | 0.7182 | 55 | 511 | 6.672727 | 0.727273 | 0.049046 | 0.065395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016827 | 0.18591 | 511 | 20 | 75 | 25.55 | 0.865385 | 0.410959 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.25 | 0 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
9df73d2c5f820a031918e9c64d5611af344fbfc0 | 1,643 | py | Python | src/anyio/abc/__init__.py | sobolevn/anyio | 6b37d4112f71d5eb83dfec9c9758af392b37e1e6 | [
"MIT"
] | null | null | null | src/anyio/abc/__init__.py | sobolevn/anyio | 6b37d4112f71d5eb83dfec9c9758af392b37e1e6 | [
"MIT"
] | null | null | null | src/anyio/abc/__init__.py | sobolevn/anyio | 6b37d4112f71d5eb83dfec9c9758af392b37e1e6 | [
"MIT"
] | null | null | null | __all__ = ('AsyncResource', 'SocketProvider', 'SocketStream', 'SocketListener', 'UDPSocket',
'ConnectedUDPSocket', 'UnreliableObjectReceiveStream', 'UnreliableObjectSendStream',
'UnreliableObjectStream', 'ObjectReceiveStream', 'ObjectSendStream', 'ObjectStream',
'ByteReceiveStream', 'By... | 60.851852 | 97 | 0.766281 | 119 | 1,643 | 10.445378 | 0.571429 | 0.041834 | 0.06436 | 0.078842 | 0.662912 | 0.48753 | 0.48753 | 0.48753 | 0.48753 | 0.48753 | 0 | 0 | 0.135727 | 1,643 | 26 | 98 | 63.192308 | 0.875352 | 0.042605 | 0 | 0 | 0 | 0 | 0.315722 | 0.099936 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.347826 | 0 | 0.347826 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
d17f87b6bdb2fd5ea5fd18025d87aa746f677ec8 | 1,033 | py | Python | assistant/products/migrations/0007_auto_20200907_0348.py | kapiak/ware_prod | ae61256890834c434d2e38cc2ccacf00b638665a | [
"MIT"
] | null | null | null | assistant/products/migrations/0007_auto_20200907_0348.py | kapiak/ware_prod | ae61256890834c434d2e38cc2ccacf00b638665a | [
"MIT"
] | null | null | null | assistant/products/migrations/0007_auto_20200907_0348.py | kapiak/ware_prod | ae61256890834c434d2e38cc2ccacf00b638665a | [
"MIT"
] | null | null | null | # Generated by Django 3.1 on 2020-09-07 03:48
from django.db import migrations
import django_measurement.models
import measurement.measures.distance
class Migration(migrations.Migration):
dependencies = [
('products', '0006_auto_20200907_0342'),
]
operations = [
migrations.AlterField(
... | 33.322581 | 136 | 0.67183 | 98 | 1,033 | 6.979592 | 0.408163 | 0.099415 | 0.134503 | 0.127193 | 0.675439 | 0.675439 | 0.606725 | 0.606725 | 0.606725 | 0.606725 | 0 | 0.037547 | 0.226525 | 1,033 | 30 | 137 | 34.433333 | 0.818523 | 0.041626 | 0 | 0.5 | 1 | 0 | 0.090081 | 0.023279 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
d182e31840492c6be58be1faf13162b91bd64699 | 91 | py | Python | projectkeys.default.py | DaVukovic/script.artwork.beef | cb6e54cd2b3bccc82660ad277c13618746f36e08 | [
"MIT"
] | 40 | 2017-10-29T22:43:43.000Z | 2022-03-12T05:59:05.000Z | projectkeys.default.py | supmagc/script.artwork.beef | afd76b290d13b2e9ea00d7f9772961353f4640b8 | [
"MIT"
] | 47 | 2017-01-31T21:28:20.000Z | 2021-03-23T06:53:51.000Z | projectkeys.default.py | supmagc/script.artwork.beef | afd76b290d13b2e9ea00d7f9772961353f4640b8 | [
"MIT"
] | 31 | 2017-10-16T05:28:53.000Z | 2022-02-24T19:50:24.000Z | FANARTTV_PROJECTKEY = ''
TADB_PROJECTKEY = ''
TMDB_PROJECTKEY = ''
THETVDB_PROJECTKEY = ''
| 18.2 | 24 | 0.736264 | 8 | 91 | 7.875 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 91 | 4 | 25 | 22.75 | 0.797468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
d1876ae41d21fb2dfd9a2d7b7ae5dd7489220601 | 3,101 | py | Python | seqpos/lib/python2.7/site-packages/mercurial/thirdparty/zope/interface/__init__.py | guanjue/seqpos | ab9308ad128547ca968a1d944490710e583703bc | [
"MIT"
] | 4 | 2021-02-05T10:57:39.000Z | 2022-02-25T04:43:23.000Z | venv/lib/python3.8/site-packages/mercurial/thirdparty/zope/interface/__init__.py | JesseDavids/mqtta | 389eb4f06242d4473fe1bcff7fc6a22290e0d99c | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/mercurial/thirdparty/zope/interface/__init__.py | JesseDavids/mqtta | 389eb4f06242d4473fe1bcff7fc6a22290e0d99c | [
"Apache-2.0"
] | null | null | null | ##############################################################################
#
# Copyright (c) 2001, 2002 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# TH... | 32.989362 | 79 | 0.75653 | 369 | 3,101 | 6.311653 | 0.466125 | 0.123658 | 0.17003 | 0.028338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004542 | 0.148017 | 3,101 | 93 | 80 | 33.344086 | 0.876987 | 0.563044 | 0 | 0 | 0 | 0 | 0.028814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.83871 | 0 | 0.83871 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
d1d345b83653387c5e9f51a1d0622a5dcdac8f41 | 14,662 | py | Python | pyEX/platform/platform.py | vishalbelsare/pyEX | 254acd2b0cf7cb7183100106f4ecc11d1860c46a | [
"Apache-2.0"
] | 107 | 2021-03-05T05:18:34.000Z | 2022-03-30T22:25:13.000Z | pyEX/platform/platform.py | vishalbelsare/pyEX | 254acd2b0cf7cb7183100106f4ecc11d1860c46a | [
"Apache-2.0"
] | 112 | 2021-03-05T03:41:21.000Z | 2021-12-01T03:24:22.000Z | pyEX/platform/platform.py | vishalbelsare/pyEX | 254acd2b0cf7cb7183100106f4ecc11d1860c46a | [
"Apache-2.0"
] | 37 | 2021-03-04T18:32:09.000Z | 2022-03-24T02:20:12.000Z | # *****************************************************************************
#
# Copyright (c) 2021, the pyEX authors.
#
# This file is part of the pyEX library, distributed under the terms of
# the Apache License 2.0. The full license can be found in the LICENSE file.
#
from functools import wraps
import json
impo... | 21.561765 | 117 | 0.547265 | 1,505 | 14,662 | 5.203987 | 0.106977 | 0.048264 | 0.043667 | 0.058223 | 0.700843 | 0.690501 | 0.67952 | 0.676966 | 0.66739 | 0.659091 | 0 | 0.004046 | 0.308826 | 14,662 | 679 | 118 | 21.59352 | 0.768798 | 0.036489 | 0 | 0.728814 | 0 | 0 | 0.042588 | 0 | 0 | 0 | 0 | 0.001473 | 0 | 1 | 0.025424 | false | 0 | 0.00678 | 0.00678 | 0.072881 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
d1e139539ce7676fdd5fe48fb5eb49a40d575af5 | 83 | py | Python | ws_sdk/_version.py | meramsey/ws-sdk | b5c783ac53a36347c813cf0a87ffc8a3fca4c4e4 | [
"Apache-2.0"
] | 14 | 2021-06-11T18:11:53.000Z | 2022-02-22T14:09:31.000Z | ws_sdk/_version.py | meramsey/ws-sdk | b5c783ac53a36347c813cf0a87ffc8a3fca4c4e4 | [
"Apache-2.0"
] | 6 | 2021-08-02T14:57:44.000Z | 2022-03-20T09:30:24.000Z | ws_sdk/_version.py | meramsey/ws-sdk | b5c783ac53a36347c813cf0a87ffc8a3fca4c4e4 | [
"Apache-2.0"
] | 3 | 2021-08-04T21:05:36.000Z | 2022-02-22T14:09:35.000Z | __version__ = "0.0.0.dev0"
__tool_name__ = "sdk"
__description__ = "WS Python SDK"
| 20.75 | 33 | 0.722892 | 12 | 83 | 3.916667 | 0.75 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.13253 | 83 | 3 | 34 | 27.666667 | 0.597222 | 0 | 0 | 0 | 0 | 0 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
d1e5aa118d8bf05e65c9380f7f6f5dbbceb9a367 | 188 | py | Python | django_demo/users/urls.py | 591flybird/Django_demo_2019_0427 | b2a092bfdadff77ba5fb4e1cb58ff951b57b0332 | [
"MIT"
] | null | null | null | django_demo/users/urls.py | 591flybird/Django_demo_2019_0427 | b2a092bfdadff77ba5fb4e1cb58ff951b57b0332 | [
"MIT"
] | null | null | null | django_demo/users/urls.py | 591flybird/Django_demo_2019_0427 | b2a092bfdadff77ba5fb4e1cb58ff951b57b0332 | [
"MIT"
] | null | null | null | # _*_ coding:utf-8 _*_
__author__ = 'hjl'
__date__ = '19-1-9 下午10:37'
from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^index/', views.index,name='index'),
]
| 20.888889 | 46 | 0.670213 | 28 | 188 | 4.071429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.154255 | 188 | 8 | 47 | 23.5 | 0.660377 | 0.106383 | 0 | 0 | 0 | 0 | 0.174699 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 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 | 0 | 0 | 0 | 2 |
0603f11c0552b039a301dace1b74915fc09100f4 | 212 | py | Python | chapter 3/c3q31.py | jonathanmonreal/nltk-examples | 95fb0b28c9ba433bac20990715496edc469293b4 | [
"Apache-2.0"
] | 2 | 2015-08-06T18:58:44.000Z | 2018-05-11T13:00:28.000Z | chapter 3/c3q31.py | jonathanmonreal/nltk-examples | 95fb0b28c9ba433bac20990715496edc469293b4 | [
"Apache-2.0"
] | null | null | null | chapter 3/c3q31.py | jonathanmonreal/nltk-examples | 95fb0b28c9ba433bac20990715496edc469293b4 | [
"Apache-2.0"
] | null | null | null | # Jonathan Monreal
saying = ['After', 'all', 'is', 'said', 'and', 'done', ',', 'more', 'is',
'said', 'than', 'done', '.']
lengths = []
for word in saying:
lengths.append(len(word))
print lengths
| 19.272727 | 73 | 0.537736 | 25 | 212 | 4.56 | 0.72 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212264 | 212 | 10 | 74 | 21.2 | 0.682635 | 0.075472 | 0 | 0 | 0 | 0 | 0.21134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
0605cffb2e645e794b613ef54a83047cc45b39a7 | 2,077 | py | Python | handler.py | dujinle/AccountByTornado | ef76be1d8cfffea2797bf024dcb0eaa887ca0aff | [
"Apache-2.0"
] | null | null | null | handler.py | dujinle/AccountByTornado | ef76be1d8cfffea2797bf024dcb0eaa887ca0aff | [
"Apache-2.0"
] | null | null | null | handler.py | dujinle/AccountByTornado | ef76be1d8cfffea2797bf024dcb0eaa887ca0aff | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
import sys, os, uuid
import json, time
import tornado.web
import tornado_mysql.pools
import redis
import logging
reload(sys)
sys.setdefaultencoding('utf8')
import common
import config
logger = logging.getLogger('web')
class RequestHandler(tornado.web.RequestHandler):
def write(self, trunk):
i... | 22.576087 | 65 | 0.681271 | 301 | 2,077 | 4.604651 | 0.292359 | 0.055556 | 0.054834 | 0.060606 | 0.422799 | 0.422799 | 0.382395 | 0.382395 | 0.382395 | 0.382395 | 0 | 0.005319 | 0.185364 | 2,077 | 91 | 66 | 22.824176 | 0.81383 | 0.020703 | 0 | 0.466667 | 0 | 0 | 0.149754 | 0 | 0 | 0 | 0 | 0.010989 | 0 | 0 | null | null | 0 | 0.106667 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ae087ec1fa6d2c87e8f3d25cbe3d076fd941054e | 164 | py | Python | kleenextractor/__about__.py | Edenskull/KleenExtractor | bcff22254ffa3692888e755e0488fc2556d02d3e | [
"MIT"
] | null | null | null | kleenextractor/__about__.py | Edenskull/KleenExtractor | bcff22254ffa3692888e755e0488fc2556d02d3e | [
"MIT"
] | null | null | null | kleenextractor/__about__.py | Edenskull/KleenExtractor | bcff22254ffa3692888e755e0488fc2556d02d3e | [
"MIT"
] | null | null | null | _title = 'KleenExtractor'
_description = 'Clean extract system to export folder content and sub content.'
_version = '0.1.2'
_author = 'Edenskull'
_license = 'MIT'
| 27.333333 | 79 | 0.743902 | 21 | 164 | 5.571429 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021429 | 0.146341 | 164 | 5 | 80 | 32.8 | 0.814286 | 0 | 0 | 0 | 0 | 0 | 0.567073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ae119073353e8a0c5f01d0842f33b8844567baca | 1,336 | py | Python | app/utils_dependency.py | yabukota/YPPF | 5c7995925e76b043ce973230dc925538e957699e | [
"MIT"
] | null | null | null | app/utils_dependency.py | yabukota/YPPF | 5c7995925e76b043ce973230dc925538e957699e | [
"MIT"
] | null | null | null | app/utils_dependency.py | yabukota/YPPF | 5c7995925e76b043ce973230dc925538e957699e | [
"MIT"
] | null | null | null | '''
utils_dependency.py
内容
----
- 常量和设置
- log记录
- 消息传递
- 加密
- 原子化操作
utils
-----
- 任何视图文件应尽量首先导入本依赖,并按下列顺序导入其他所需模块
- 从app.models导入所有视图依赖的模型类
- 不同于views, utils文件之间可以相互依赖,但**只能**导入所有依赖的变量或函数
- 例如`from app.utils import get_person_or_org`取代`import app.utils`
- 若有必要,导入所有的其它工具函数,不能成环,如comment_utils可能依赖通知
- 再导入必要... | 21.206349 | 78 | 0.769461 | 146 | 1,336 | 6.883562 | 0.69863 | 0.027861 | 0.043781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013962 | 0.142216 | 1,336 | 62 | 79 | 21.548387 | 0.863002 | 0.496257 | 0 | 0 | 0 | 0 | 0.025758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.095238 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 2 |
ae11c810db692d998193de8e0770729432115e96 | 113,755 | py | Python | packages/tencent-cloud-sdk-serverless-functions/tencent/cloud/serverless/functions/client.py | nobody-night/tencent-cloud-sdk-python | 4b02c49c587da002c96fff6cadbd0cf6dbae40f9 | [
"MIT"
] | 3 | 2020-07-31T13:29:20.000Z | 2021-04-07T09:06:39.000Z | packages/tencent-cloud-sdk-serverless-functions/tencent/cloud/serverless/functions/client.py | nobody-night/tencent-cloud-sdk-python | 4b02c49c587da002c96fff6cadbd0cf6dbae40f9 | [
"MIT"
] | null | null | null | packages/tencent-cloud-sdk-serverless-functions/tencent/cloud/serverless/functions/client.py | nobody-night/tencent-cloud-sdk-python | 4b02c49c587da002c96fff6cadbd0cf6dbae40f9 | [
"MIT"
] | 1 | 2020-02-06T16:54:56.000Z | 2020-02-06T16:54:56.000Z | # tencent.cloud.serverless.functions.client is python-3.6 source file
# MIT License
#
# Copyright (c) 2021 Handle.
#
# 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, in... | 36.424912 | 108 | 0.594005 | 11,281 | 113,755 | 5.767574 | 0.049375 | 0.034305 | 0.026558 | 0.027634 | 0.771763 | 0.729313 | 0.697636 | 0.68531 | 0.672768 | 0.669495 | 0 | 0.003384 | 0.337524 | 113,755 | 3,122 | 109 | 36.436579 | 0.859992 | 0.162736 | 0 | 0.55205 | 0 | 0 | 0.14223 | 0.008433 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025237 | false | 0.005047 | 0.006309 | 0 | 0.071293 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ae178412fb602bee6ffd0e400515ca6780b61d67 | 2,066 | py | Python | cocoa/web/main/utils.py | ijcai2022-5500/anego | 9a2e5f29f0ec0787ad8ce7822089345053442887 | [
"MIT"
] | 12 | 2021-03-17T05:15:33.000Z | 2022-01-19T06:09:21.000Z | cocoa/web/main/utils.py | ijcai2022-5500/anego | 9a2e5f29f0ec0787ad8ce7822089345053442887 | [
"MIT"
] | 2 | 2021-05-25T07:28:46.000Z | 2022-02-11T01:54:43.000Z | cocoa/web/main/utils.py | ijcai2022-5500/anego | 9a2e5f29f0ec0787ad8ce7822089345053442887 | [
"MIT"
] | 4 | 2021-10-11T03:39:38.000Z | 2022-02-01T23:58:50.000Z | __author__ = 'anushabala'
import time
import datetime
#import src.config as config
class Status(object):
Waiting = "waiting"
Chat = "chat"
Finished = "finished"
Survey = "survey"
Redirected = "redirected"
Incomplete = "incomplete"
Reporting = "reporting"
class UnexpectedStatusException(E... | 29.098592 | 132 | 0.685866 | 250 | 2,066 | 5.548 | 0.5 | 0.037491 | 0.051911 | 0.034607 | 0.025955 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008783 | 0.228461 | 2,066 | 70 | 133 | 29.514286 | 0.861355 | 0.013069 | 0 | 0.078431 | 0 | 0.019608 | 0.275761 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0.078431 | 0.039216 | 0.019608 | 0.607843 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
ae203e44dfe23d8150d8cc68690cde7105044d85 | 946 | py | Python | gamestonk_terminal/stocks/dark_pool_shorts/quandl_model.py | minhhoang1023/GamestonkTerminal | 195dc19b491052df080178c0cc6a9d535a91a704 | [
"MIT"
] | 1 | 2022-02-18T04:02:52.000Z | 2022-02-18T04:02:52.000Z | gamestonk_terminal/stocks/dark_pool_shorts/quandl_model.py | minhhoang1023/GamestonkTerminal | 195dc19b491052df080178c0cc6a9d535a91a704 | [
"MIT"
] | null | null | null | gamestonk_terminal/stocks/dark_pool_shorts/quandl_model.py | minhhoang1023/GamestonkTerminal | 195dc19b491052df080178c0cc6a9d535a91a704 | [
"MIT"
] | null | null | null | """ Quandl Model """
__docformat__ = "numpy"
import logging
import pandas as pd
import quandl
from gamestonk_terminal import config_terminal as cfg
from gamestonk_terminal.decorators import log_start_end
logger = logging.getLogger(__name__)
@log_start_end(log=logger)
def get_short_interest(ticker: str, nyse: bool... | 24.25641 | 68 | 0.694503 | 130 | 946 | 4.884615 | 0.530769 | 0.08189 | 0.066142 | 0.050394 | 0.066142 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217759 | 946 | 38 | 69 | 24.894737 | 0.858108 | 0.417548 | 0 | 0 | 0 | 0 | 0.08866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.384615 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
ae20b49c34e13440862d09e4b662783cf4297756 | 117 | py | Python | test_data/short_files/first_line.py | guykisel/detect-secrets | d7f62971628a9009db99c251175add3499200c47 | [
"Apache-2.0"
] | null | null | null | test_data/short_files/first_line.py | guykisel/detect-secrets | d7f62971628a9009db99c251175add3499200c47 | [
"Apache-2.0"
] | null | null | null | test_data/short_files/first_line.py | guykisel/detect-secrets | d7f62971628a9009db99c251175add3499200c47 | [
"Apache-2.0"
] | null | null | null | secret = 'BEEF0123456789a'
skipped_sequential_false_positive = '0123456789a'
print('second line')
var = 'third line'
| 23.4 | 49 | 0.786325 | 13 | 117 | 6.846154 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.102564 | 117 | 4 | 50 | 29.25 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 0.401709 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ae302c4438ed609f073729adcd72abc52f8c2724 | 1,910 | py | Python | bioresources/models/aux/BatchSubmission.py | ezequieljsosa/sndg-web | 7763c8fbc83dc92abb9c53326e2fe227bcabf607 | [
"MIT"
] | null | null | null | bioresources/models/aux/BatchSubmission.py | ezequieljsosa/sndg-web | 7763c8fbc83dc92abb9c53326e2fe227bcabf607 | [
"MIT"
] | null | null | null | bioresources/models/aux/BatchSubmission.py | ezequieljsosa/sndg-web | 7763c8fbc83dc92abb9c53326e2fe227bcabf607 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from model_utils import Choices
from django.utils.translation import gettext_lazy as _, ngettext as __
from django.db import models
from sndg.users.models import User
class BatchSubmission(models.Model):
BATCH_STATUS = Choices(
*[(i, x, _(x))... | 33.508772 | 100 | 0.71466 | 228 | 1,910 | 5.649123 | 0.333333 | 0.055901 | 0.069876 | 0.093168 | 0.592391 | 0.569099 | 0.409938 | 0.38354 | 0.350932 | 0.350932 | 0 | 0.008811 | 0.168063 | 1,910 | 57 | 101 | 33.508772 | 0.801762 | 0.010995 | 0 | 0.4 | 0 | 0 | 0.058792 | 0.013242 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15 | false | 0 | 0.15 | 0.15 | 0.925 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
ae32f73ce593da89d14940250733d82bf1049b51 | 857 | py | Python | mtp_api/apps/transaction/migrations/0021_auto_20160111_1636.py | ministryofjustice/mtp-api | b1c34c29e4aa9f48598cb060abe1368ae7686e0b | [
"MIT"
] | 5 | 2016-01-05T12:21:35.000Z | 2020-10-28T17:06:02.000Z | mtp_api/apps/transaction/migrations/0021_auto_20160111_1636.py | ministryofjustice/mtp-api | b1c34c29e4aa9f48598cb060abe1368ae7686e0b | [
"MIT"
] | 209 | 2015-06-12T09:39:41.000Z | 2022-03-21T16:01:19.000Z | mtp_api/apps/transaction/migrations/0021_auto_20160111_1636.py | ministryofjustice/mtp-api | b1c34c29e4aa9f48598cb060abe1368ae7686e0b | [
"MIT"
] | 1 | 2021-04-11T06:19:23.000Z | 2021-04-11T06:19:23.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.9.1 on 2016-01-11 16:36
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('transaction', '0020_auto_20151203_0955'),
]
operations = [
migrations.AlterF... | 27.645161 | 74 | 0.609102 | 89 | 857 | 5.651685 | 0.550562 | 0.119284 | 0.149105 | 0.172962 | 0.544732 | 0.544732 | 0.457256 | 0.258449 | 0 | 0 | 0 | 0.063005 | 0.277713 | 857 | 30 | 75 | 28.566667 | 0.749596 | 0.07818 | 0 | 0.478261 | 1 | 0 | 0.151207 | 0.055909 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.086957 | 0 | 0.217391 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ae387d4b43b7050ea1fad0a27ef4b53ad6a3cf3b | 679 | py | Python | tests/postprocessing/test_postprocess_EURO.py | lshtm-gis/WHO_PHSM_Cleaning | 5892673922fc555fb86d6e0be548b48c7dc66814 | [
"MIT"
] | null | null | null | tests/postprocessing/test_postprocess_EURO.py | lshtm-gis/WHO_PHSM_Cleaning | 5892673922fc555fb86d6e0be548b48c7dc66814 | [
"MIT"
] | 123 | 2020-10-12T11:06:27.000Z | 2021-04-28T15:32:29.000Z | tests/postprocessing/test_postprocess_EURO.py | lshtm-gis/WHO_PHSM_Cleaning | 5892673922fc555fb86d6e0be548b48c7dc66814 | [
"MIT"
] | null | null | null | import pandas as pd
from src.postprocess import EURO
class Test_weekly_import:
'''Test that the function correctly retrieve the specified weekly who_code'''
def test_weekly_import(self):
data = pd.DataFrame({
'who_code': ['3.1.2', '1.4', '14', '4.1.2'],
'dataset': ['EURO', 'E... | 28.291667 | 81 | 0.543446 | 88 | 679 | 4.045455 | 0.454545 | 0.117978 | 0.025281 | 0.101124 | 0.117978 | 0.117978 | 0.117978 | 0 | 0 | 0 | 0 | 0.04277 | 0.276878 | 679 | 23 | 82 | 29.521739 | 0.682281 | 0.104566 | 0 | 0 | 0 | 0 | 0.157807 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.071429 | false | 0 | 0.571429 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
ae44e660f377d65badc82feb7b7af61d9e9497fc | 360 | py | Python | apps/view/__init__.py | tiantaozhang/flask-login-oauth2 | 696d9a3f1e55fa8880c2e7ef73a1dbdb25ed7e5a | [
"MIT"
] | 2 | 2018-03-04T07:34:07.000Z | 2018-03-07T15:14:36.000Z | apps/view/__init__.py | tiantaozhang/flask-login-oauth2 | 696d9a3f1e55fa8880c2e7ef73a1dbdb25ed7e5a | [
"MIT"
] | null | null | null | apps/view/__init__.py | tiantaozhang/flask-login-oauth2 | 696d9a3f1e55fa8880c2e7ef73a1dbdb25ed7e5a | [
"MIT"
] | 1 | 2019-08-14T07:27:35.000Z | 2019-08-14T07:27:35.000Z | from flask import Blueprint, request
# from cerberus import Validator
# from admin.exception import BadRequest, YMException
main = Blueprint("main", __name__)
main.config = {}
# @main.record
# def record_params(setup_state):
# apps = setup_state.apps
# main.config = dict([(key, value) for (key, value) in app... | 24 | 80 | 0.719444 | 47 | 360 | 5.361702 | 0.574468 | 0.079365 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161111 | 360 | 15 | 81 | 24 | 0.834437 | 0.65 | 0 | 0 | 0 | 0 | 0.033333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 2 |
ae61bf3c337efd3c2230c09219931d166fd1b15a | 20,654 | py | Python | src/main/python/minqlx/_player.py | mgaertne/minqlx-plugin-tests | 10a827fe063c86481560dcc00a8a3ce2ba60861b | [
"BSD-3-Clause"
] | 4 | 2017-11-01T04:49:27.000Z | 2020-08-08T12:11:51.000Z | src/main/python/minqlx/_player.py | mgaertne/minqlx-plugin-tests | 10a827fe063c86481560dcc00a8a3ce2ba60861b | [
"BSD-3-Clause"
] | null | null | null | src/main/python/minqlx/_player.py | mgaertne/minqlx-plugin-tests | 10a827fe063c86481560dcc00a8a3ce2ba60861b | [
"BSD-3-Clause"
] | 1 | 2021-04-26T09:04:36.000Z | 2021-04-26T09:04:36.000Z | # minqlx - Extends Quake Live's dedicated server with extra functionality and scripting.
# Copyright (C) 2015 Mino <mino@minomino.org>
# This file is part of minqlx.
# minqlx is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Softw... | 31.389058 | 119 | 0.605549 | 2,750 | 20,654 | 4.453091 | 0.161455 | 0.018782 | 0.04132 | 0.056345 | 0.327781 | 0.271681 | 0.162747 | 0.138086 | 0.134003 | 0.134003 | 0 | 0.007996 | 0.285465 | 20,654 | 657 | 120 | 31.436834 | 0.821792 | 0.141667 | 0 | 0.259574 | 0 | 0 | 0.072513 | 0.013304 | 0 | 0 | 0 | 0.001522 | 0 | 1 | 0.204255 | false | 0.006383 | 0.004255 | 0.102128 | 0.385106 | 0.002128 | 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 | 0 | 0 | 0 | 2 |
ae6aac5103ceaf13f89f59bf98001054dd15139e | 6,151 | py | Python | blaster_rdp.py | sn0wfa11/Red-Team-Toolkit | e21f539425cc7653c6232fbbe15c8fa75ddf6cbb | [
"MIT"
] | 3 | 2019-03-31T19:48:45.000Z | 2019-04-03T02:23:37.000Z | blaster_rdp.py | sn0wfa11/Red-Team-Toolkit | e21f539425cc7653c6232fbbe15c8fa75ddf6cbb | [
"MIT"
] | null | null | null | blaster_rdp.py | sn0wfa11/Red-Team-Toolkit | e21f539425cc7653c6232fbbe15c8fa75ddf6cbb | [
"MIT"
] | null | null | null | #!/usr/bin/env python2
# This is
#
#
# by sn0wfa11
import sys
try:
import os
import socket
import multiprocessing
import threading
import argparse
import subprocess
import re
import time
from lib.common import *
from lib.network import *
except Exception, err:
print >> sys.stderr, err
sys.e... | 29.290476 | 204 | 0.662656 | 855 | 6,151 | 4.630409 | 0.232749 | 0.040414 | 0.034352 | 0.018944 | 0.250063 | 0.235918 | 0.175802 | 0.175802 | 0.143218 | 0.117454 | 0 | 0.005974 | 0.21086 | 6,151 | 209 | 205 | 29.430622 | 0.809642 | 0.05999 | 0 | 0.222222 | 0 | 0.006173 | 0.165915 | 0.003814 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.160494 | 0.067901 | null | null | 0.080247 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
ae8941a058201fcf6c38020fdaa58699f158661e | 64 | py | Python | example_snippets/multimenus_snippets/Snippets/NumPy/Creating arrays/Numbers spaced evenly on a log scale.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/NumPy/Creating arrays/Numbers spaced evenly on a log scale.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/NumPy/Creating arrays/Numbers spaced evenly on a log scale.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | new_array = np.logspace(1., 10., num=120, endpoint=True, base=2) | 64 | 64 | 0.703125 | 12 | 64 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 0.09375 | 64 | 1 | 64 | 64 | 0.637931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ae91ce695884ccd5549d137b99fe4f235be9c8fd | 2,085 | py | Python | tests/spectral/test_S2_conv.py | machism0/lie_learn | 676355ab18ea50ce90e6d1838b08e021d570338c | [
"MIT"
] | 140 | 2017-09-22T09:09:09.000Z | 2022-03-05T05:40:39.000Z | tests/spectral/test_S2_conv.py | machism0/lie_learn | 676355ab18ea50ce90e6d1838b08e021d570338c | [
"MIT"
] | 15 | 2018-04-12T10:15:58.000Z | 2022-01-08T10:06:31.000Z | tests/spectral/test_S2_conv.py | machism0/lie_learn | 676355ab18ea50ce90e6d1838b08e021d570338c | [
"MIT"
] | 33 | 2018-04-28T09:34:12.000Z | 2021-10-14T04:20:37.000Z |
import numpy as np
import lie_learn.spaces.S2 as S2
import lie_learn.spaces.S3 as S3
import lie_learn.groups.SO3 as SO3
from lie_learn.representations.SO3.spherical_harmonics import sh
from lie_learn.spectral.S2_conv import naive_S2_conv, spectral_S2_conv, naive_S2_conv_v2
def compare_naive_and_spectral_conv():
... | 40.096154 | 127 | 0.656595 | 369 | 2,085 | 3.542005 | 0.211382 | 0.018363 | 0.027544 | 0.078041 | 0.698546 | 0.695486 | 0.684009 | 0.684009 | 0.631217 | 0.631217 | 0 | 0.055655 | 0.198561 | 2,085 | 51 | 128 | 40.882353 | 0.726511 | 0.020624 | 0 | 0.4 | 0 | 0 | 0.041708 | 0 | 0 | 0 | 0 | 0.019608 | 0 | 1 | 0.057143 | false | 0 | 0.171429 | 0 | 0.285714 | 0.057143 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ae997ab52a1484e9bb1120122b25264b1cc2d8f5 | 96 | py | Python | src/tensor/op/granularity/coarsen.py | jedhsu/tensor | 3b2fe21029fa7c50b034190e77d79d1a94ea5e8f | [
"Apache-2.0"
] | null | null | null | src/tensor/op/granularity/coarsen.py | jedhsu/tensor | 3b2fe21029fa7c50b034190e77d79d1a94ea5e8f | [
"Apache-2.0"
] | null | null | null | src/tensor/op/granularity/coarsen.py | jedhsu/tensor | 3b2fe21029fa7c50b034190e77d79d1a94ea5e8f | [
"Apache-2.0"
] | null | null | null | """
*Coarsen*
"""
__all__ = ["Coarsen"]
class Coarsen(
TensorOperator,
):
pass
| 6.857143 | 21 | 0.53125 | 7 | 96 | 6.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 96 | 13 | 22 | 7.384615 | 0.691176 | 0.09375 | 0 | 0 | 0 | 0 | 0.09589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
ae9b36053b3415faba9b9830c22c759683d62ab7 | 572 | py | Python | etldjango/etldata/log_middleware.py | DavidCastilloAlvarado/opencovid_ETL | 0cd7afcb0e7e6247a01c0aced9aab02b8ad1edaf | [
"MIT"
] | 5 | 2021-05-21T20:02:34.000Z | 2021-08-04T21:06:19.000Z | etldjango/etldata/log_middleware.py | DavidCastilloAlvarado/opencovid_ETL | 0cd7afcb0e7e6247a01c0aced9aab02b8ad1edaf | [
"MIT"
] | 1 | 2021-06-04T06:17:17.000Z | 2021-06-04T06:17:17.000Z | etldjango/etldata/log_middleware.py | DavidCastilloAlvarado/opencovid_ETL | 0cd7afcb0e7e6247a01c0aced9aab02b8ad1edaf | [
"MIT"
] | null | null | null | from etldjango.settings import DEBUG
from .utiles import get_client_and_log_resource
import io
import logging
import json
client, _LOG_RESOURCE = get_client_and_log_resource()
class StackDriverHandler(logging.Handler):
def __init__(self):
logging.Handler.__init__(self)
def emit(self, record):
... | 26 | 76 | 0.723776 | 73 | 572 | 5.356164 | 0.479452 | 0.112532 | 0.061381 | 0.076726 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002146 | 0.185315 | 572 | 21 | 77 | 27.238095 | 0.83691 | 0.033217 | 0 | 0 | 0 | 0 | 0.058501 | 0.058501 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.357143 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
8817bb34f9504cc7bc44c7cc8001863be2968691 | 8,664 | py | Python | cs15211/ArithmeticSlicesII-Subsequence.py | JulyKikuAkita/PythonPrac | 0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c | [
"Apache-2.0"
] | 1 | 2021-07-05T01:53:30.000Z | 2021-07-05T01:53:30.000Z | cs15211/ArithmeticSlicesII-Subsequence.py | JulyKikuAkita/PythonPrac | 0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c | [
"Apache-2.0"
] | null | null | null | cs15211/ArithmeticSlicesII-Subsequence.py | JulyKikuAkita/PythonPrac | 0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c | [
"Apache-2.0"
] | 1 | 2018-01-08T07:14:08.000Z | 2018-01-08T07:14:08.000Z | __source__ = 'https://github.com/kamyu104/LeetCode/blob/master/Python/arithmetic-slices-ii-subsequence.py'
# https://leetcode.com/problems/arithmetic-slices-ii-subsequence/
# Time: O(n^2)
# Space: O(n * d)
#
# # Description: Leetcode # 413. Arithmetic Slices
#
# A sequence of numbers is called arithmetic if it consist... | 47.604396 | 120 | 0.704871 | 1,498 | 8,664 | 4.066756 | 0.249666 | 0.051707 | 0.04432 | 0.021011 | 0.131648 | 0.105384 | 0.099475 | 0.076822 | 0.039724 | 0.022981 | 0 | 0.019585 | 0.210295 | 8,664 | 182 | 121 | 47.604396 | 0.870798 | 0.150046 | 0 | 0 | 0 | 0.272727 | 0.904559 | 0.022796 | 0 | 0 | 0 | 0 | 0.009091 | 1 | 0.018182 | false | 0 | 0.018182 | 0 | 0.072727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
881d75bc3c57c73a37c01f390993c2b282933131 | 15,459 | py | Python | plot_test/test_plot_2.py | westernmarslab/tanager-feeder | 59bc4d5deca474e2c915ea49aaba791f247de41f | [
"MIT"
] | null | null | null | plot_test/test_plot_2.py | westernmarslab/tanager-feeder | 59bc4d5deca474e2c915ea49aaba791f247de41f | [
"MIT"
] | null | null | null | plot_test/test_plot_2.py | westernmarslab/tanager-feeder | 59bc4d5deca474e2c915ea49aaba791f247de41f | [
"MIT"
] | 1 | 2021-04-23T00:03:46.000Z | 2021-04-23T00:03:46.000Z | '''
========================
3D surface (solid color)
========================
Demonstrates a very basic plot of a 3D surface using a solid color.
'''
import matplotlib.pyplot as plt
import numpy as np
import matplotlib as mpl
from tanager_feeder.utils import cos, sin
data = [
(30.0, 80.0, 90.0),
(30.0, 75.... | 22.767305 | 94 | 0.509671 | 2,767 | 15,459 | 2.805927 | 0.155764 | 0.096213 | 0.127769 | 0.023184 | 0.422463 | 0.201185 | 0.179547 | 0.11476 | 0.091577 | 0.068393 | 0 | 0.408556 | 0.280225 | 15,459 | 678 | 95 | 22.800885 | 0.289206 | 0.048968 | 0 | 0.072013 | 0 | 0 | 0.002589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.003273 | 0.008183 | 0 | 0.008183 | 0.008183 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
88283592245e04789ae6ddce2237c824bb7252e2 | 1,810 | py | Python | automated-setup.py | WoGCloud/Server | 78cfa9dbf1550248edd3a81c0506864be80fe20c | [
"MIT"
] | null | null | null | automated-setup.py | WoGCloud/Server | 78cfa9dbf1550248edd3a81c0506864be80fe20c | [
"MIT"
] | null | null | null | automated-setup.py | WoGCloud/Server | 78cfa9dbf1550248edd3a81c0506864be80fe20c | [
"MIT"
] | null | null | null | #automated-install.py
#only for debian distros
# Python Config file
import os
import webbrowser
if(os.path.exists("/opt/lampp") or os.path.exists("/var/www")):
print "Your PC has a local server software installed. Files are to be copied to respective locations"
choic=raw_input("Wish to continue(y/n)? ")
... | 54.848485 | 159 | 0.645304 | 243 | 1,810 | 4.798354 | 0.415638 | 0.048027 | 0.051458 | 0.036021 | 0.512864 | 0.43482 | 0.375643 | 0.375643 | 0.375643 | 0.375643 | 0 | 0.018118 | 0.207182 | 1,810 | 33 | 160 | 54.848485 | 0.794425 | 0.058564 | 0 | 0.413793 | 0 | 0.137931 | 0.638107 | 0.031156 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.068966 | null | null | 0.275862 | 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 | 0 | 0 | 2 |
882f143c950cc0a3119393f1b8a6f372dd3f15bd | 645 | py | Python | src/lesson2/exercises/b_5_2.py | saji-ryu/pyxel-study | b10ef781a86cfea4dad28efee89f851195189560 | [
"MIT"
] | null | null | null | src/lesson2/exercises/b_5_2.py | saji-ryu/pyxel-study | b10ef781a86cfea4dad28efee89f851195189560 | [
"MIT"
] | null | null | null | src/lesson2/exercises/b_5_2.py | saji-ryu/pyxel-study | b10ef781a86cfea4dad28efee89f851195189560 | [
"MIT"
] | null | null | null | import pyxel
import math
pyxel.init(200, 200)
pyxel.cls(7)
for i in range(0, 360, 1):
iRadian = math.radians(i)
if(i <= 90):
pyxel.line(120, 80, 100 + 100 * math.cos(iRadian),
100 - 100 * math.sin(iRadian), 0)
elif(i <= 180):
pyxel.line(80, 80, 100 + 100 * math.cos(iRadia... | 30.714286 | 59 | 0.517829 | 94 | 645 | 3.553191 | 0.308511 | 0.143713 | 0.239521 | 0.155689 | 0.550898 | 0.550898 | 0.550898 | 0.550898 | 0.550898 | 0.550898 | 0 | 0.210526 | 0.322481 | 645 | 20 | 60 | 32.25 | 0.553776 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.105263 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 2 |
8839d1c4b046430f982406f8545318b9d07f974b | 1,612 | py | Python | pages/migrations/0015_create_redirects.py | JoshZero87/site | c8024b805ff5ff0e16f54dce7bf05097fd2f08e0 | [
"MIT"
] | 4 | 2017-01-29T00:38:41.000Z | 2019-09-04T14:30:24.000Z | pages/migrations/0015_create_redirects.py | JoshZero87/site | c8024b805ff5ff0e16f54dce7bf05097fd2f08e0 | [
"MIT"
] | 74 | 2017-10-02T04:42:54.000Z | 2022-01-13T00:44:16.000Z | pages/migrations/0015_create_redirects.py | JoshZero87/site | c8024b805ff5ff0e16f54dce7bf05097fd2f08e0 | [
"MIT"
] | 3 | 2017-03-24T23:26:46.000Z | 2019-10-21T01:16:03.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.2 on 2016-10-25 18:21
from __future__ import unicode_literals
from django.db import migrations
REDIRECTS = {
"/candidates/martin-quezeda": "martin-quezada",
"/candidates/elizabeth-thompson": "elizabeth-thomson",
"/stop-the-tpp": "stop-tpp-now",
"/vol... | 28.280702 | 93 | 0.655707 | 180 | 1,612 | 5.75 | 0.533333 | 0.031884 | 0.019324 | 0.044444 | 0.203865 | 0.203865 | 0 | 0 | 0 | 0 | 0 | 0.017885 | 0.202233 | 1,612 | 56 | 94 | 28.785714 | 0.786936 | 0.042184 | 0 | 0.052632 | 1 | 0.052632 | 0.304348 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.131579 | null | null | 0.026316 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
88550a2db089e61edc4d806789d2ac7c18ab959e | 209 | py | Python | Resources/directory_locator.py | VerceRL/Agilis-v1.0 | 396cf76c3c49f9bc2ce8aeb353bfc866525e45bb | [
"Unlicense"
] | null | null | null | Resources/directory_locator.py | VerceRL/Agilis-v1.0 | 396cf76c3c49f9bc2ce8aeb353bfc866525e45bb | [
"Unlicense"
] | null | null | null | Resources/directory_locator.py | VerceRL/Agilis-v1.0 | 396cf76c3c49f9bc2ce8aeb353bfc866525e45bb | [
"Unlicense"
] | null | null | null | from tkinter import filedialog
from tkinter import *
def custom_directory():
root = Tk()
root.withdraw()
folder_selected = filedialog.askdirectory()
print(folder_selected)
custom_directory()
| 19 | 47 | 0.736842 | 23 | 209 | 6.521739 | 0.608696 | 0.146667 | 0.226667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177033 | 209 | 10 | 48 | 20.9 | 0.872093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.25 | 0 | 0.375 | 0.125 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
885c2776a657efe839871198c0699d36138ebd71 | 1,708 | py | Python | amy/extforms/deprecated_forms.py | mattipt/amy | c8c7212fd51d875d22c413781d28e94837a3db2e | [
"MIT"
] | null | null | null | amy/extforms/deprecated_forms.py | mattipt/amy | c8c7212fd51d875d22c413781d28e94837a3db2e | [
"MIT"
] | 1 | 2019-12-13T11:22:47.000Z | 2019-12-13T11:22:47.000Z | amy/extforms/deprecated_forms.py | mattipt/amy | c8c7212fd51d875d22c413781d28e94837a3db2e | [
"MIT"
] | null | null | null | from captcha.fields import ReCaptchaField
from extrequests.deprecated_forms import (
SWCEventRequestNoCaptchaForm,
DCEventRequestNoCaptchaForm,
DCSelfOrganizedEventRequestFormNoCaptcha,
EventSubmitFormNoCaptcha,
)
from workshops.forms import (
BootstrapHelper,
PrivacyConsentMixin,
)
class SWC... | 31.054545 | 76 | 0.730094 | 120 | 1,708 | 10.266667 | 0.3 | 0.071429 | 0.087662 | 0.136364 | 0.319805 | 0.319805 | 0.319805 | 0.319805 | 0.319805 | 0.319805 | 0 | 0 | 0.196136 | 1,708 | 54 | 77 | 31.62963 | 0.897305 | 0 | 0 | 0.351351 | 0 | 0 | 0.023419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.081081 | 0 | 0.513514 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
885e70ed8efc07e39503f39717b9e207dff2f986 | 164 | py | Python | exercicios curso em video/ex051.py | Nilton-Miguel/Prog_Python3 | 4cabcb1a30dde6ababce3cb8d1fbb7d417cb1d8b | [
"MIT"
] | null | null | null | exercicios curso em video/ex051.py | Nilton-Miguel/Prog_Python3 | 4cabcb1a30dde6ababce3cb8d1fbb7d417cb1d8b | [
"MIT"
] | null | null | null | exercicios curso em video/ex051.py | Nilton-Miguel/Prog_Python3 | 4cabcb1a30dde6ababce3cb8d1fbb7d417cb1d8b | [
"MIT"
] | null | null | null | n = int(input('Primeiro número: '))
r = int(input('Razão: '))
valor = n
for c in range(0, 10):
print(valor, end=' -> ')
valor += r
print('ACABOU')
| 18.222222 | 36 | 0.530488 | 24 | 164 | 3.625 | 0.708333 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02459 | 0.256098 | 164 | 8 | 37 | 20.5 | 0.688525 | 0 | 0 | 0 | 0 | 0 | 0.217949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 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 | 0 | 0 | 2 |
886e04bb36b92d0ea95445a938b236e35788f8ae | 279 | py | Python | Python3/1185-Day-of-the-Week/soln.py | wyaadarsh/LeetCode-Solutions | 3719f5cb059eefd66b83eb8ae990652f4b7fd124 | [
"MIT"
] | 5 | 2020-07-24T17:48:59.000Z | 2020-12-21T05:56:00.000Z | Python3/1185-Day-of-the-Week/soln.py | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | null | null | null | Python3/1185-Day-of-the-Week/soln.py | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | 2 | 2020-07-24T17:49:01.000Z | 2020-08-31T19:57:35.000Z | import datetime
class Solution:
def dayOfTheWeek(self, day: int, month: int, year: int) -> str:
d = datetime.date(year, month, day)
weekdays = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]
return weekdays[d.weekday()]
| 39.857143 | 97 | 0.62724 | 32 | 279 | 5.46875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207885 | 279 | 6 | 98 | 46.5 | 0.791855 | 0 | 0 | 0 | 0 | 0 | 0.179211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
887edc398af3f96bf2db0f819b027d670b674d90 | 3,005 | py | Python | lib/ScriptGenerator.py | MrMasterplan/CWtrainer | 843b79c8863bf5c4838b0669708f758577850a58 | [
"MIT"
] | null | null | null | lib/ScriptGenerator.py | MrMasterplan/CWtrainer | 843b79c8863bf5c4838b0669708f758577850a58 | [
"MIT"
] | null | null | null | lib/ScriptGenerator.py | MrMasterplan/CWtrainer | 843b79c8863bf5c4838b0669708f758577850a58 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import random
import os.path
import yaml
import sys
def RandCallSign(Nmin,Nmax,charset):
"""Generate random Call Signs"""
length = random.randint(Nmin,Nmax)
call_sign = ''.join([random.choice(charset) for i in range(length)])
return (call_sign,)
#the braces are doubly encloes... | 33.021978 | 105 | 0.583361 | 327 | 3,005 | 5.284404 | 0.437309 | 0.016204 | 0.020833 | 0.018519 | 0.024306 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000471 | 0.292845 | 3,005 | 90 | 106 | 33.388889 | 0.812706 | 0.088519 | 0 | 0.063492 | 1 | 0 | 0.142645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.015873 | 0.079365 | null | null | 0.031746 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
88828dcf1c53a30b7e064d6745a7e003597ed97f | 117 | py | Python | app/blog/choices.py | yc19890920/DBlog | c0128ab8c767ff84b7858322b76440d6359a8373 | [
"MIT"
] | 2 | 2018-01-23T14:12:04.000Z | 2019-09-24T13:00:31.000Z | app/blog/choices.py | yc19890920/DBlog | c0128ab8c767ff84b7858322b76440d6359a8373 | [
"MIT"
] | 23 | 2020-02-12T02:35:49.000Z | 2022-02-11T03:45:40.000Z | app/blog/choices.py | yc19890920/dblog | c0128ab8c767ff84b7858322b76440d6359a8373 | [
"MIT"
] | 2 | 2020-04-08T15:39:46.000Z | 2020-10-10T10:13:09.000Z | # -*- coding: utf-8 -*-
# 文章的状态
STATUS_CHOICES = (
('d', '延迟发布'), # delay
('p', '发布'), # publish
) | 16.714286 | 31 | 0.418803 | 12 | 117 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.316239 | 117 | 7 | 32 | 16.714286 | 0.5875 | 0.350427 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
88876422c720417544de7978e7d42260e7828c65 | 439 | py | Python | SmartAPI/model/UnitPriceSpecification.py | Kreastr/SmartAPI-HEILA | 97dbe9e6e27267c60a4f94f60692d5f391e2ef7f | [
"BSD-2-Clause"
] | null | null | null | SmartAPI/model/UnitPriceSpecification.py | Kreastr/SmartAPI-HEILA | 97dbe9e6e27267c60a4f94f60692d5f391e2ef7f | [
"BSD-2-Clause"
] | null | null | null | SmartAPI/model/UnitPriceSpecification.py | Kreastr/SmartAPI-HEILA | 97dbe9e6e27267c60a4f94f60692d5f391e2ef7f | [
"BSD-2-Clause"
] | null | null | null | from SmartAPI.common.PROPERTY import PROPERTY
from SmartAPI.common.RESOURCE import RESOURCE
from SmartAPI.model.PriceSpecification import PriceSpecification
class UnitPriceSpecification(PriceSpecification):
'''
classdocs
'''
def __init__(self, uri = None):
'''
Constructor
'''
... | 27.4375 | 64 | 0.703872 | 37 | 439 | 8.135135 | 0.513514 | 0.119601 | 0.119601 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214123 | 439 | 16 | 65 | 27.4375 | 0.872464 | 0.047836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
888d31563296f54a3fd17d423710460b0547807a | 50 | py | Python | virtual/lib/python3.7/site-packages/PIL/_version.py | Atsalibram/Skynet | eee3a69e99159995553719dbb3266ce9dfc983cd | [
"MIT"
] | 4 | 2021-03-29T19:15:29.000Z | 2021-06-08T05:34:00.000Z | senv/Lib/site-packages/PIL/_version.py | Sayed-Noman/E-Classroom-LMS | 1f168fd92a265e8bee6ff0fe370114d9a5a1d666 | [
"CC0-1.0"
] | 3 | 2021-05-10T08:21:33.000Z | 2021-05-10T08:25:43.000Z | senv/Lib/site-packages/PIL/_version.py | Sayed-Noman/E-Classroom-LMS | 1f168fd92a265e8bee6ff0fe370114d9a5a1d666 | [
"CC0-1.0"
] | 3 | 2021-03-28T16:13:00.000Z | 2021-07-16T10:27:25.000Z | # Master version for Pillow
__version__ = "8.1.2"
| 16.666667 | 27 | 0.72 | 8 | 50 | 4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.16 | 50 | 2 | 28 | 25 | 0.690476 | 0.5 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
889570303b029e026094314387f31383c3ceb80b | 694 | py | Python | hbos_output/delete_source.py | robscetury/hbos | 6d6cc52a2e490e67dbf0d31adcd6c1499aaa1a44 | [
"MIT"
] | null | null | null | hbos_output/delete_source.py | robscetury/hbos | 6d6cc52a2e490e67dbf0d31adcd6c1499aaa1a44 | [
"MIT"
] | null | null | null | hbos_output/delete_source.py | robscetury/hbos | 6d6cc52a2e490e67dbf0d31adcd6c1499aaa1a44 | [
"MIT"
] | null | null | null | import typing
from typing import Dict
from pandas import DataFrame
from hbos_server.outputbase import OutputBase
class DeleteSourceOutput(OutputBase):
def output(self, name: str, input_data: Dict[str,DataFrame]) -> typing.Tuple[str, object]:
"""
This output filter will delete data sets that are n... | 38.555556 | 130 | 0.707493 | 100 | 694 | 4.83 | 0.63 | 0.055901 | 0.033126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229107 | 694 | 18 | 131 | 38.555556 | 0.902804 | 0.391931 | 0 | 0 | 0 | 0 | 0.02611 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.444444 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
8896a44bb72bccdecb7a528b5bb7a07bb15365f4 | 91 | py | Python | docs/control-flows/with.py | veit/python-basics-tutorial | c1cac1eab000a681bce0495881b08ed094e68da6 | [
"BSD-3-Clause"
] | null | null | null | docs/control-flows/with.py | veit/python-basics-tutorial | c1cac1eab000a681bce0495881b08ed094e68da6 | [
"BSD-3-Clause"
] | 3 | 2021-10-20T17:46:40.000Z | 2021-11-08T21:42:09.000Z | docs/control-flows/with.py | veit/python-basics-tutorial | c1cac1eab000a681bce0495881b08ed094e68da6 | [
"BSD-3-Clause"
] | null | null | null | filename = "myFile1.py"
with open(filename, "r") as f:
for line in f:
print(f)
| 18.2 | 30 | 0.582418 | 15 | 91 | 3.533333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.274725 | 91 | 4 | 31 | 22.75 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0.120879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
88a2f2f5d2d0ea4f8cb0b1d0a8108b3d707b1db8 | 41,031 | py | Python | src/numbers_parser/generated/TSDArchives_sos_pb2.py | jessie-murray/numbers-parser | 8a3b9453f66d4b39e0d789d86541d14ea1765dba | [
"MIT"
] | 110 | 2021-04-02T16:44:05.000Z | 2022-03-25T08:12:30.000Z | src/numbers_parser/generated/TSDArchives_sos_pb2.py | jessie-murray/numbers-parser | 8a3b9453f66d4b39e0d789d86541d14ea1765dba | [
"MIT"
] | 17 | 2021-06-26T04:23:26.000Z | 2022-03-26T09:45:50.000Z | src/numbers_parser/generated/TSDArchives_sos_pb2.py | jessie-murray/numbers-parser | 8a3b9453f66d4b39e0d789d86541d14ea1765dba | [
"MIT"
] | 4 | 2021-12-31T23:40:14.000Z | 2022-03-01T08:01:04.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: TSDArchives_sos.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google... | 50.406634 | 3,965 | 0.787551 | 4,829 | 41,031 | 6.319114 | 0.054877 | 0.042471 | 0.062887 | 0.055743 | 0.725315 | 0.647223 | 0.62153 | 0.571391 | 0.565755 | 0.561036 | 0 | 0.032721 | 0.106188 | 41,031 | 813 | 3,966 | 50.468635 | 0.79934 | 0.025079 | 0 | 0.699599 | 1 | 0.001335 | 0.233817 | 0.193622 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008011 | 0 | 0.008011 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
88b1532f26501ded9a7fa15c0df60868a2fe680a | 2,789 | py | Python | pages/herr.py | mikedcurry/Ebola-Web-App | 5fa18f26cc41a414d9d0b229f00c7abd49b2635f | [
"MIT"
] | null | null | null | pages/herr.py | mikedcurry/Ebola-Web-App | 5fa18f26cc41a414d9d0b229f00c7abd49b2635f | [
"MIT"
] | null | null | null | pages/herr.py | mikedcurry/Ebola-Web-App | 5fa18f26cc41a414d9d0b229f00c7abd49b2635f | [
"MIT"
] | null | null | null | # # Dash imports
# import dash
# import dash_bootstrap_components as dbc
# import dash_core_components as dcc
# import dash_html_components as html
# from dash.dependencies import Input, Output
# # My app imports
# from app import app
# # Other 3rd party library imports
# from joblib import load
# import pandas as pd... | 28.752577 | 102 | 0.527788 | 306 | 2,789 | 4.761438 | 0.379085 | 0.037749 | 0.032944 | 0.070007 | 0.10501 | 0.072752 | 0.072752 | 0.072752 | 0.072752 | 0.072752 | 0 | 0.02637 | 0.306561 | 2,789 | 97 | 103 | 28.752577 | 0.726991 | 0.922194 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
31f7d045434240083f9856adf41e2a7ee80db1bf | 612 | py | Python | main/migrations/0005_auto_20180603_0449.py | OpenHumans/jupyter-gallery | 4b90ab87721384c363ea37d35eecb1616d693d5e | [
"MIT"
] | 10 | 2018-12-17T23:11:03.000Z | 2022-03-04T06:46:44.000Z | main/migrations/0005_auto_20180603_0449.py | gedankenstuecke/jupyter-gallery | 4b90ab87721384c363ea37d35eecb1616d693d5e | [
"MIT"
] | 24 | 2018-05-31T23:49:27.000Z | 2018-07-27T19:55:21.000Z | main/migrations/0005_auto_20180603_0449.py | OpenHumans/jupyter-gallery | 4b90ab87721384c363ea37d35eecb1616d693d5e | [
"MIT"
] | 4 | 2018-12-21T02:39:00.000Z | 2022-02-01T08:51:27.000Z | # Generated by Django 2.0.6 on 2018-06-03 04:49
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('main', '0004_auto_20180601_2005'),
]
operations = [
migrations.AlterField(
model_name='sharednotebook',
name='create... | 25.5 | 76 | 0.594771 | 69 | 612 | 5.173913 | 0.57971 | 0.033613 | 0.140056 | 0.162465 | 0.54902 | 0.54902 | 0.285714 | 0.285714 | 0.285714 | 0.285714 | 0 | 0.151584 | 0.277778 | 612 | 23 | 77 | 26.608696 | 0.656109 | 0.073529 | 0 | 0.470588 | 1 | 0 | 0.221239 | 0.040708 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
31f9333dc7aa495fce16cbe36ce07ba351b5f3b6 | 431 | py | Python | LineCounter.py | General-101/undefine | b3236b08070e55c7ac79c1793fa666ee38100949 | [
"MIT"
] | 37 | 2017-12-06T13:29:22.000Z | 2022-03-06T08:37:53.000Z | LineCounter.py | General-101/undefine | b3236b08070e55c7ac79c1793fa666ee38100949 | [
"MIT"
] | null | null | null | LineCounter.py | General-101/undefine | b3236b08070e55c7ac79c1793fa666ee38100949 | [
"MIT"
] | 3 | 2020-04-30T12:48:58.000Z | 2021-05-19T02:32:29.000Z | from Model.Block import Block
def count_body(body):
return sum([count_block(m) if type(m) is Block else count_text(m) for m in body])
def count_branch(branch):
return sum([count_text(branch.condition.text), count_body(branch.body)])
def count_block(block):
return sum([count_branch(b) for b in block.br... | 22.684211 | 85 | 0.707657 | 75 | 431 | 3.933333 | 0.346667 | 0.108475 | 0.142373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157773 | 431 | 18 | 86 | 23.944444 | 0.812672 | 0 | 0 | 0 | 0 | 0 | 0.004651 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.444444 | 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 | 0 | 0 | 0 | 2 |
ee01fc3319244a74a5ead3fb4b0a3ed1402a92c9 | 335 | py | Python | AutomatedTrading/CommandTools.py | JeffreyZh4ng/automated-trading | 5aba7b0aae19d52973074c4ed9588ddb02842e44 | [
"MIT"
] | null | null | null | AutomatedTrading/CommandTools.py | JeffreyZh4ng/automated-trading | 5aba7b0aae19d52973074c4ed9588ddb02842e44 | [
"MIT"
] | null | null | null | AutomatedTrading/CommandTools.py | JeffreyZh4ng/automated-trading | 5aba7b0aae19d52973074c4ed9588ddb02842e44 | [
"MIT"
] | null | null | null | class CommandTools:
@staticmethod
def get_token():
""" Simple helper that will return the token stored in the text file.
:return: Your Robinhood API token
"""
robinhood_token_file = open('robinhood_token.txt')
current_token = robinhood_token_file.read()
return... | 23.928571 | 77 | 0.653731 | 39 | 335 | 5.410256 | 0.589744 | 0.199052 | 0.180095 | 0.218009 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274627 | 335 | 13 | 78 | 25.769231 | 0.868313 | 0.298507 | 0 | 0 | 0 | 0 | 0.090047 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ee0c280325f73ccebb0d3108a69a72394c633eee | 8,101 | py | Python | sdk/python/pulumi_sonarqube/provider.py | jshield/pulumi-sonarqube | 53664a97903af3ecdf4f613117d83d0acae8e53e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_sonarqube/provider.py | jshield/pulumi-sonarqube | 53664a97903af3ecdf4f613117d83d0acae8e53e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_sonarqube/provider.py | jshield/pulumi-sonarqube | 53664a97903af3ecdf4f613117d83d0acae8e53e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 43.320856 | 191 | 0.650537 | 939 | 8,101 | 5.340788 | 0.173589 | 0.061416 | 0.055833 | 0.066999 | 0.691924 | 0.638684 | 0.612961 | 0.54656 | 0.453639 | 0.392223 | 0 | 0.000165 | 0.253796 | 8,101 | 186 | 192 | 43.553763 | 0.829446 | 0.236761 | 0 | 0.374046 | 1 | 0 | 0.09901 | 0.019634 | 0 | 0 | 0 | 0 | 0 | 1 | 0.145038 | false | 0.129771 | 0.038168 | 0.061069 | 0.267176 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
ee20929ba407b51b3b4762fc49d3a28084e79b08 | 73 | py | Python | techgig/prfstchar.py | suhasksv/py-ground | 8c04a845c6b5c4efcb335c8ad59416874e8226d1 | [
"Apache-2.0"
] | 3 | 2020-06-01T09:40:41.000Z | 2020-08-26T12:09:27.000Z | techgig/prfstchar.py | suhasksv/py-ground | 8c04a845c6b5c4efcb335c8ad59416874e8226d1 | [
"Apache-2.0"
] | null | null | null | techgig/prfstchar.py | suhasksv/py-ground | 8c04a845c6b5c4efcb335c8ad59416874e8226d1 | [
"Apache-2.0"
] | 4 | 2020-07-20T10:38:23.000Z | 2020-10-16T08:41:05.000Z | def main():
st = input("")
print(st[0])
print(end="")
main()
| 12.166667 | 18 | 0.465753 | 10 | 73 | 3.4 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.273973 | 73 | 5 | 19 | 14.6 | 0.622642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ee21ccf13e0d5c4aa0c937ba127c176acdf3eebe | 873 | py | Python | mt/2_brute_force.py | wuyudi/2021-spring-enrollment | 8b66e013dd2f96843323a765a99b39ad0566a121 | [
"MIT"
] | 1 | 2021-08-06T03:13:23.000Z | 2021-08-06T03:13:23.000Z | mt/2_brute_force.py | wuyudi/2021-spring-enrollment | 8b66e013dd2f96843323a765a99b39ad0566a121 | [
"MIT"
] | null | null | null | mt/2_brute_force.py | wuyudi/2021-spring-enrollment | 8b66e013dd2f96843323a765a99b39ad0566a121 | [
"MIT"
] | null | null | null | # 题目描述:
# M 队和 T 队将要进行射箭比赛,M 队的队长是小美,T 队的队长是小团。
# 这场射箭比赛的规则是,每个队员都可以选择一个距离进行射击,
# 若射中靶心且距离小于等于 d 则团队得 1 分,若射中靶心且距离大于 d 则团队得 2 分。
# 小团对敌我情况了如指掌,他知道接下来 M 队将会有 n 名队员射中靶心,
# 且知道这些队员选择的射箭距离,
# 以及自己所带领的 T 队会有 m 名队员射中靶心和他们选择的射箭距离。
# 假定 d 的值可以由小团确定(d 的范围恒为 [1,1000]),
# 小团想知道自己的队伍最多能赢小美的队伍多少分(T 队得分减去 M 队得分的最大值)。
# 输入描述
# 第一行两... | 19.840909 | 55 | 0.667812 | 157 | 873 | 3.713376 | 0.528662 | 0.010292 | 0.056604 | 0.082333 | 0.123499 | 0.054889 | 0 | 0 | 0 | 0 | 0 | 0.069735 | 0.178694 | 873 | 43 | 56 | 20.302326 | 0.737796 | 0.58992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.125 | 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 | 0 | 0 | 0 | 2 |
ee2ba09d7e95cea6842032b7f081cd1a5d4ec27d | 152 | py | Python | yolo_labels/shared/object_name_id.py | AIForMobility/datasets | cfc38eff479736ea4faca5301b64f422dcbf61d1 | [
"Apache-2.0"
] | null | null | null | yolo_labels/shared/object_name_id.py | AIForMobility/datasets | cfc38eff479736ea4faca5301b64f422dcbf61d1 | [
"Apache-2.0"
] | 13 | 2020-05-17T18:32:23.000Z | 2020-08-15T19:20:12.000Z | yolo_labels/shared/object_name_id.py | AIForMobility/datasets | cfc38eff479736ea4faca5301b64f422dcbf61d1 | [
"Apache-2.0"
] | 1 | 2020-10-22T10:32:40.000Z | 2020-10-22T10:32:40.000Z | from enum import Enum
class ObjectNameId(Enum):
E_SCOOTER = 0
CAR = 1
MOTORCYCLE = 2
BICYCLE = 3
SEGWAY = 4
LICENCE_PLATE = 5
| 13.818182 | 25 | 0.611842 | 21 | 152 | 4.333333 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.328947 | 152 | 10 | 26 | 15.2 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 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 | 0 | 0 | 1 | 0 | 0 | 2 |
ee31f3fecf77a77468747c0ea2fcc2c108f31581 | 783 | py | Python | app/forms.py | guan080/personal_website | 7d8dcce1dd9c85d466c899f609b511ff4a2bbc96 | [
"MIT"
] | null | null | null | app/forms.py | guan080/personal_website | 7d8dcce1dd9c85d466c899f609b511ff4a2bbc96 | [
"MIT"
] | null | null | null | app/forms.py | guan080/personal_website | 7d8dcce1dd9c85d466c899f609b511ff4a2bbc96 | [
"MIT"
] | null | null | null | # coding:utf-8
from flask_wtf import Form
from wtforms import StringField, PasswordField, BooleanField, SubmitField, ValidationError, TextAreaField, SelectField
from wtforms.validators import DataRequired, Email
from flask_pagedown.fields import PageDownField
from .models import Category
class LoginForm(Form):
em... | 35.590909 | 118 | 0.743295 | 80 | 783 | 7.2375 | 0.55 | 0.151986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001477 | 0.135377 | 783 | 21 | 119 | 37.285714 | 0.853767 | 0.015326 | 0 | 0 | 0 | 0 | 0.045514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.3125 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 2 |
ee3209f425bd42126d8243483bf5f3ca444f4411 | 8,438 | py | Python | projects/vdk-plugins/vdk-control-api-auth/tests/test_core_auth.py | alod83/versatile-data-kit | 9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8 | [
"Apache-2.0"
] | 100 | 2021-10-04T09:32:04.000Z | 2022-03-30T11:23:53.000Z | projects/vdk-plugins/vdk-control-api-auth/tests/test_core_auth.py | alod83/versatile-data-kit | 9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8 | [
"Apache-2.0"
] | 208 | 2021-10-04T16:56:40.000Z | 2022-03-31T10:41:44.000Z | projects/vdk-plugins/vdk-control-api-auth/tests/test_core_auth.py | alod83/versatile-data-kit | 9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8 | [
"Apache-2.0"
] | 14 | 2021-10-11T14:15:13.000Z | 2022-03-11T13:39:17.000Z | # Copyright 2021 VMware, Inc.
# SPDX-License-Identifier: Apache-2.0
"""
This script contains test cases, verifying the core authentication components
of the plugin, like authentication cache, configurations, etc.
"""
import json
import os
from time import time
from unittest.mock import patch
from pytest_httpserver.pyt... | 38.354545 | 256 | 0.703958 | 968 | 8,438 | 5.77376 | 0.143595 | 0.070853 | 0.020934 | 0.027196 | 0.786545 | 0.75577 | 0.71265 | 0.670066 | 0.610843 | 0.569869 | 0 | 0.004857 | 0.17042 | 8,438 | 219 | 257 | 38.52968 | 0.793571 | 0.125148 | 0 | 0.486486 | 0 | 0.006757 | 0.167958 | 0.060198 | 0 | 0 | 0 | 0 | 0.101351 | 1 | 0.087838 | false | 0 | 0.060811 | 0 | 0.155405 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 2 |
ee3a180bb50e8a2143c5b99f9d156a39ec2f08c3 | 174 | py | Python | Exercicios/desafio10_convertermoeda.py | lbarrosandre/Resolucao-Desafios-Python | d30897d9d5cb179579fd67a70f3d74af7a3293a1 | [
"MIT"
] | null | null | null | Exercicios/desafio10_convertermoeda.py | lbarrosandre/Resolucao-Desafios-Python | d30897d9d5cb179579fd67a70f3d74af7a3293a1 | [
"MIT"
] | null | null | null | Exercicios/desafio10_convertermoeda.py | lbarrosandre/Resolucao-Desafios-Python | d30897d9d5cb179579fd67a70f3d74af7a3293a1 | [
"MIT"
] | null | null | null | carteira = float(input('Quantos reais tenho na carteira: '))
x = carteira/3.27
print('Tenho R$ {} na minha carteira e consigo comprar $ {:.2f} dollares'.format(carteira, x))
| 43.5 | 94 | 0.706897 | 26 | 174 | 4.730769 | 0.730769 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.137931 | 174 | 3 | 95 | 58 | 0.793333 | 0 | 0 | 0 | 0 | 0 | 0.563218 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ee3aa3b23d62bb8d9a6dded93a8d344323ce24b5 | 639 | py | Python | teamcat_service/docker_build/target/one_step_build/teamcat/doraemon/project/views/portal_view.py | zhangyin2088/Teamcat | be9be8d7c1e58c8d2d22ab78d25783d9aee4de71 | [
"Apache-2.0"
] | 6 | 2018-11-26T08:42:52.000Z | 2020-06-01T08:33:48.000Z | teamcat_service/docker_build/target/one_step_build/teamcat/doraemon/project/views/portal_view.py | zhangyin2088/Teamcat | be9be8d7c1e58c8d2d22ab78d25783d9aee4de71 | [
"Apache-2.0"
] | null | null | null | teamcat_service/docker_build/target/one_step_build/teamcat/doraemon/project/views/portal_view.py | zhangyin2088/Teamcat | be9be8d7c1e58c8d2d22ab78d25783d9aee4de71 | [
"Apache-2.0"
] | 1 | 2019-01-22T06:45:36.000Z | 2019-01-22T06:45:36.000Z | #coding=utf-8
#coding=utf-8
'''
Created on 2017年5月22日
@author: ethan
'''
from django.shortcuts import render_to_response
from django.http import HttpResponse
from django.template import RequestContext
from django.contrib.auth.decorators import login_required
from doraemon.project.pagefactory.project_portal_pagework... | 22.034483 | 90 | 0.791862 | 79 | 639 | 6.240506 | 0.544304 | 0.081136 | 0.040568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02305 | 0.117371 | 639 | 29 | 91 | 22.034483 | 0.851064 | 0.114241 | 0 | 0.153846 | 0 | 0 | 0.036232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.384615 | 0 | 0.615385 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
ee4affc9ed35ea2c880d69f17a94f328cc4dbd3c | 452 | py | Python | imcapicli/notify.py | Pack3tL0ss/imc-api-scripts | eb911b44c859b41e65367cc8093aa4b5a20c7444 | [
"MIT"
] | null | null | null | imcapicli/notify.py | Pack3tL0ss/imc-api-scripts | eb911b44c859b41e65367cc8093aa4b5a20c7444 | [
"MIT"
] | null | null | null | imcapicli/notify.py | Pack3tL0ss/imc-api-scripts | eb911b44c859b41e65367cc8093aa4b5a20c7444 | [
"MIT"
] | null | null | null | from pushbullet import Pushbullet
class Push:
def __init__(self, pb_key: str = None):
self.pb = Pushbullet(pb_key)
def sendpush(self, title: str = None, body: str = None, **kwargs) -> dict:
# def push_note(self, title, body, device=None, chat=None, email=None, channel=None):
if title ... | 30.133333 | 93 | 0.617257 | 61 | 452 | 4.442623 | 0.459016 | 0.066421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267699 | 452 | 14 | 94 | 32.285714 | 0.818731 | 0.183628 | 0 | 0 | 0 | 0 | 0.035422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
ee54838660b601d7c5e8eb5cf207cdc3d0dbdede | 939 | py | Python | lookatweb/rules/poweredcms.py | ivbeg/lookatweb | b98e3ebd29c00e2f718c3392bb31b7202aa82a99 | [
"BSD-3-Clause"
] | 2 | 2018-01-18T13:22:29.000Z | 2018-02-03T13:10:20.000Z | lookatweb/rules/poweredcms.py | ivbeg/lookatweb | b98e3ebd29c00e2f718c3392bb31b7202aa82a99 | [
"BSD-3-Clause"
] | null | null | null | lookatweb/rules/poweredcms.py | ivbeg/lookatweb | b98e3ebd29c00e2f718c3392bb31b7202aa82a99 | [
"BSD-3-Clause"
] | null | null | null | from .consts import *
# Rules to march x-powered-by
POWERED_CMS_RULES = [
{'type' : RULETYPE_REGEXP, 'text' : '^Bitrix Site Manager',
'entities' : [
{'name' : 'web:tech:lang/php'},
{'name' : 'web:cms/bitrix'}
]
},
{'type' : RULETYPE_EQUAL, 'text' : 'PleskWin',
... | 25.378378 | 63 | 0.444089 | 87 | 939 | 4.712644 | 0.367816 | 0.153659 | 0.182927 | 0.185366 | 0.5 | 0.363415 | 0.292683 | 0.292683 | 0.292683 | 0.204878 | 0 | 0 | 0.351438 | 939 | 36 | 64 | 26.083333 | 0.673235 | 0.028754 | 0 | 0.3125 | 0 | 0 | 0.353135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.03125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ee88f8cf37a978257f3c316a0aa2fea92b1a4c2f | 1,469 | py | Python | simplydomain/src/core_progress.py | SimplySecurity/SimplyDomain-Old | 101dd55b213009b449a96a1fa8b143d85dcdba88 | [
"BSD-3-Clause"
] | 17 | 2018-08-08T11:51:26.000Z | 2022-03-27T19:43:25.000Z | simplydomain/src/core_progress.py | SimplySecurity/SimplyDomain-Old | 101dd55b213009b449a96a1fa8b143d85dcdba88 | [
"BSD-3-Clause"
] | 10 | 2018-06-14T21:33:49.000Z | 2020-08-26T18:10:54.000Z | simplydomain/src/core_progress.py | SimplySecurity/SimplyDomain-Old | 101dd55b213009b449a96a1fa8b143d85dcdba88 | [
"BSD-3-Clause"
] | 6 | 2018-07-20T17:52:03.000Z | 2021-10-18T09:08:33.000Z | from tqdm import tqdm
class CoreProgress(object):
"""
Core class for dynamic modules and progress bars.
Also allows to use core printers with tqdm.write()
"""
def __init__(self):
"""
INIT class object and define
statics.
"""
# self.progress_bar
pas... | 24.483333 | 89 | 0.563649 | 172 | 1,469 | 4.680233 | 0.418605 | 0.17764 | 0.149068 | 0.078261 | 0.093168 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004149 | 0.343771 | 1,469 | 59 | 90 | 24.898305 | 0.830913 | 0.346494 | 0 | 0.111111 | 0 | 0 | 0.008219 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.055556 | 0.055556 | 0 | 0.444444 | 0.055556 | 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 | 0 | 0 | 0 | 2 |
c991e6ad00f15e1074798576c750b45bb3bc6709 | 693 | py | Python | Programming basics/Lection 4 while loop/Exercise/vacation.py | antonarnaudov/SoftUniProjects | 01cbdce2b350b57240045d1bc3e21d34f9d0351d | [
"MIT"
] | null | null | null | Programming basics/Lection 4 while loop/Exercise/vacation.py | antonarnaudov/SoftUniProjects | 01cbdce2b350b57240045d1bc3e21d34f9d0351d | [
"MIT"
] | null | null | null | Programming basics/Lection 4 while loop/Exercise/vacation.py | antonarnaudov/SoftUniProjects | 01cbdce2b350b57240045d1bc3e21d34f9d0351d | [
"MIT"
] | null | null | null | vacation_cost = float(input())
available_money = float(input())
spending_counter = 0
days_passed = 0
saved = True
while available_money < vacation_cost:
#spend or save
action_type = input()
current_sum = float(input())
days_passed += 1
if action_type == 'spend':
spending_counter += 1
... | 25.666667 | 57 | 0.634921 | 89 | 693 | 4.707865 | 0.382022 | 0.200477 | 0.100239 | 0.114558 | 0.124105 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013861 | 0.271284 | 693 | 27 | 57 | 25.666667 | 0.815842 | 0.018759 | 0 | 0 | 0 | 0 | 0.113235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.173913 | 0 | 0 | 0 | 0.130435 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
c9943e63407f7cd9a8d664d6d4576b571933dd13 | 351 | py | Python | f5/multi_device/cluster/test/functional/teardown_exist.py | nghia-tran/f5-common-python | acb23a6e5830a119b460c19a578654113419f5c3 | [
"Apache-2.0"
] | 272 | 2016-02-23T06:05:44.000Z | 2022-02-20T02:09:32.000Z | f5/multi_device/cluster/test/functional/teardown_exist.py | nghia-tran/f5-common-python | acb23a6e5830a119b460c19a578654113419f5c3 | [
"Apache-2.0"
] | 1,103 | 2016-02-11T17:48:03.000Z | 2022-02-15T17:13:37.000Z | f5/multi_device/cluster/test/functional/teardown_exist.py | nghia-tran/f5-common-python | acb23a6e5830a119b460c19a578654113419f5c3 | [
"Apache-2.0"
] | 167 | 2016-02-11T17:48:21.000Z | 2022-01-17T20:13:05.000Z | from f5.bigip import ManagementRoot
from f5.cluster.cluster_manager import ClusterManager
a = ManagementRoot('10.190.20.202', 'admin', 'admin')
b = ManagementRoot('10.190.20.203', 'admin', 'admin')
c = ManagementRoot('10.190.20.204', 'admin', 'admin')
cm = ClusterManager([a, b], 'testing_cluster', 'Common', 'sync-fai... | 31.909091 | 73 | 0.720798 | 48 | 351 | 5.208333 | 0.5 | 0.192 | 0.228 | 0.252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100946 | 0.096866 | 351 | 10 | 74 | 35.1 | 0.687697 | 0 | 0 | 0 | 0 | 0 | 0.293447 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
c9983c016662fe3c4d5d181a90f17c6180a2cd1f | 576 | py | Python | tracker_app/forms.py | JustDeWitt8485/bugtracker | 65351eca935053b088e388129d136f97c9fdc098 | [
"MIT"
] | null | null | null | tracker_app/forms.py | JustDeWitt8485/bugtracker | 65351eca935053b088e388129d136f97c9fdc098 | [
"MIT"
] | null | null | null | tracker_app/forms.py | JustDeWitt8485/bugtracker | 65351eca935053b088e388129d136f97c9fdc098 | [
"MIT"
] | null | null | null | from django import forms
from tracker_app.models import CustUser
class AddTicket(forms.Form):
title = forms.CharField(max_length=200)
description = forms.CharField(widget=forms.Textarea)
class EditTicket(forms.Form):
title = forms.CharField(max_length=200)
description = forms.CharField(widget=for... | 21.333333 | 71 | 0.762153 | 70 | 576 | 6.2 | 0.457143 | 0.193548 | 0.117512 | 0.158986 | 0.410138 | 0.410138 | 0.410138 | 0.410138 | 0.410138 | 0.410138 | 0 | 0.018072 | 0.135417 | 576 | 26 | 72 | 22.153846 | 0.853414 | 0 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.076923 | 0.153846 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
c99922de70a850d7ef4ec50547af40e74d78918d | 503 | py | Python | ferramentas/conversoes/__init__.py | paulosergiocf/CalculadoraDeArea | 5ec4320a794c0e7adc3ac5c206f382ee6a85a496 | [
"MIT"
] | 1 | 2021-07-27T02:24:05.000Z | 2021-07-27T02:24:05.000Z | ferramentas/conversoes/__init__.py | paulosergiocf/CalculadoraDeArea | 5ec4320a794c0e7adc3ac5c206f382ee6a85a496 | [
"MIT"
] | null | null | null | ferramentas/conversoes/__init__.py | paulosergiocf/CalculadoraDeArea | 5ec4320a794c0e7adc3ac5c206f382ee6a85a496 | [
"MIT"
] | null | null | null | def convHatoAlq(n):
alq = n / 2.42
return alq
def convHatoM2(n):
m2 = n * 10000
return m2
def convAlqtoHa(n):
ha = n * 2.42
return ha
def convAlqtoM2(n):
m2 = n * 24200
return m2
def convM2toHa(n):
ha = n / 10000
return ha
def convM2toAlq(n):
alq = n / 24200
return alq
def M2Format(n):
res = f'... | 11.97619 | 45 | 0.590457 | 81 | 503 | 3.641975 | 0.308642 | 0.020339 | 0.033898 | 0.067797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09799 | 0.208748 | 503 | 41 | 46 | 12.268293 | 0.643216 | 0 | 0 | 0.24 | 0 | 0 | 0.091451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.36 | false | 0 | 0 | 0.08 | 0.72 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
c9b0ca723a1f361024c4f7f2651ae0d1f9d76c92 | 308 | pyde | Python | sketches/with/with.pyde | kantel/processingpy | 74aae222e46f68d1c8f06307aaede3cdae65c8ec | [
"MIT"
] | 4 | 2018-06-03T02:11:46.000Z | 2021-08-18T19:55:15.000Z | sketches/with/with.pyde | kantel/processingpy | 74aae222e46f68d1c8f06307aaede3cdae65c8ec | [
"MIT"
] | null | null | null | sketches/with/with.pyde | kantel/processingpy | 74aae222e46f68d1c8f06307aaede3cdae65c8ec | [
"MIT"
] | 3 | 2019-12-23T19:12:51.000Z | 2021-04-30T14:00:31.000Z | # with-Statement
def setup():
size(400, 400)
background(255)
def draw():
fill(color(255, 153, 0))
ellipse(100, 100, 50, 50)
with pushStyle():
fill(color(255, 51, 51))
strokeWeight(5)
ellipse(200, 200, 50, 50)
ellipse(300, 300, 50, 50)
| 17.111111 | 34 | 0.519481 | 40 | 308 | 4 | 0.55 | 0.075 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263415 | 0.334416 | 308 | 17 | 35 | 18.117647 | 0.517073 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | true | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
c9fc0d7f09a2f28327e08b2df1b5bc9f4efe3d49 | 1,587 | py | Python | xldlib/xlpy/peptide_database/sequencing.py | Alexhuszagh/XLDiscoverer | 60937b1f7f2e23af4219eb26519d6b83fb4232d6 | [
"Apache-2.0",
"MIT"
] | null | null | null | xldlib/xlpy/peptide_database/sequencing.py | Alexhuszagh/XLDiscoverer | 60937b1f7f2e23af4219eb26519d6b83fb4232d6 | [
"Apache-2.0",
"MIT"
] | null | null | null | xldlib/xlpy/peptide_database/sequencing.py | Alexhuszagh/XLDiscoverer | 60937b1f7f2e23af4219eb26519d6b83fb4232d6 | [
"Apache-2.0",
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
'''
XlPy/Peptide_Database/sequencing
________________________________
Contains data for generating theoretical mass tables for
searching peptide sequencing ions.
:copyright: (c) 2015 The Regents of the University of California.
:license: GNU GPL, see licenses/GNU GPLv3.... | 26.45 | 136 | 0.658475 | 234 | 1,587 | 4.286325 | 0.521368 | 0.005982 | 0.03988 | 0.045862 | 0.153539 | 0.113659 | 0.113659 | 0.113659 | 0.113659 | 0 | 0 | 0.036304 | 0.236295 | 1,587 | 59 | 137 | 26.898305 | 0.786304 | 0.922495 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
a01006e0d7b2c07f94b0ef368002e9b31f102f44 | 5,828 | py | Python | sdk/reservations/azure-mgmt-reservations/azure/mgmt/reservations/models/__init__.py | tzhanl/azure-sdk-for-python | 18cd03f4ab8fd76cc0498f03e80fbc99f217c96e | [
"MIT"
] | 1 | 2021-06-02T08:01:35.000Z | 2021-06-02T08:01:35.000Z | sdk/reservations/azure-mgmt-reservations/azure/mgmt/reservations/models/__init__.py | tzhanl/azure-sdk-for-python | 18cd03f4ab8fd76cc0498f03e80fbc99f217c96e | [
"MIT"
] | null | null | null | sdk/reservations/azure-mgmt-reservations/azure/mgmt/reservations/models/__init__.py | tzhanl/azure-sdk-for-python | 18cd03f4ab8fd76cc0498f03e80fbc99f217c96e | [
"MIT"
] | 2 | 2021-05-23T16:46:31.000Z | 2021-05-26T23:51:09.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 39.917808 | 81 | 0.773164 | 445 | 5,828 | 9.858427 | 0.224719 | 0.159562 | 0.103716 | 0.151584 | 0.081149 | 0.065193 | 0.065193 | 0.065193 | 0 | 0 | 0 | 0.007329 | 0.157172 | 5,828 | 145 | 82 | 40.193103 | 0.88579 | 0.077557 | 0 | 0 | 0 | 0 | 0.18658 | 0.121156 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.56391 | 0 | 0.56391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
4e50c209461219ba5d51a08dbcad7a55c8322a61 | 307 | py | Python | diagrams/k8s/podconfig.py | Shimpei-GANGAN/diagrams | 2bd4aa50a582bbf1fadb60a6f57443f0d62dfb3b | [
"MIT"
] | 17,037 | 2020-02-03T01:30:30.000Z | 2022-03-31T18:09:15.000Z | diagrams/k8s/podconfig.py | loftwah/diagrams | e45804b48d5360fe5bae1b785db6527db5a57d16 | [
"MIT"
] | 529 | 2020-02-03T10:43:41.000Z | 2022-03-31T17:33:08.000Z | diagrams/k8s/podconfig.py | loftwah/diagrams | e45804b48d5360fe5bae1b785db6527db5a57d16 | [
"MIT"
] | 1,068 | 2020-02-05T11:54:29.000Z | 2022-03-30T23:28:55.000Z | # This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _K8S
class _Podconfig(_K8S):
_type = "podconfig"
_icon_dir = "resources/k8s/podconfig"
class CM(_Podconfig):
_icon = "cm.png"
class Secret(_Podconfig):
_icon = "secret.png"
# Aliases
ConfigMap = CM
| 13.954545 | 68 | 0.687296 | 39 | 307 | 5.153846 | 0.641026 | 0.19403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.208469 | 307 | 21 | 69 | 14.619048 | 0.814815 | 0.241042 | 0 | 0 | 1 | 0 | 0.208696 | 0.1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
4e5c3dc810878c4f6bb7d6776b2f6efc9ebe8ffc | 1,087 | py | Python | jobs/forms.py | shayakrach/Side-Hustle | 92772011bcdb553bae68794d553950c55762485b | [
"MIT"
] | 3 | 2021-10-30T12:13:53.000Z | 2021-12-12T11:51:56.000Z | jobs/forms.py | shayakrach/Side-Hustle | 92772011bcdb553bae68794d553950c55762485b | [
"MIT"
] | 67 | 2021-10-31T18:56:59.000Z | 2021-12-31T11:28:42.000Z | jobs/forms.py | shayakrach/Side-Hustle | 92772011bcdb553bae68794d553950c55762485b | [
"MIT"
] | 5 | 2021-10-31T19:02:03.000Z | 2021-11-02T20:03:49.000Z | from django import forms
from .models import Job
class JobForm(forms.ModelForm):
class Meta:
model = Job
fields = ('publisher', 'company_name', 'title', 'job_type', 'location', 'description', 'post_until',
'is_active', 'apply_link')
widgets = {
'publisher': f... | 47.26087 | 108 | 0.560258 | 106 | 1,087 | 5.650943 | 0.386792 | 0.15025 | 0.210351 | 0.280467 | 0.282137 | 0.282137 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25483 | 1,087 | 22 | 109 | 49.409091 | 0.739506 | 0 | 0 | 0 | 0 | 0 | 0.321067 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.105263 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
4e616e84f2622f3739c6728ff78686e59760bd31 | 163 | py | Python | src/globalvars.py | rgscherf/conserve | f090d70f8f6f96eb91adc67e2fe1349f230afd8b | [
"MIT"
] | null | null | null | src/globalvars.py | rgscherf/conserve | f090d70f8f6f96eb91adc67e2fe1349f230afd8b | [
"MIT"
] | null | null | null | src/globalvars.py | rgscherf/conserve | f090d70f8f6f96eb91adc67e2fe1349f230afd8b | [
"MIT"
] | null | null | null | MAP_SIZE = 24
TILE_SIZE = 16
ENTITY_ID = 1
ARROW_SPEED = 9999
ENTITYMAP = {}
PLAYER_ENTITIES = []
TILEMAP = {}
GAMEINFO = {} # playerid, gameinstance
# REMOVE = [] | 18.111111 | 38 | 0.680982 | 20 | 163 | 5.3 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067669 | 0.184049 | 163 | 9 | 39 | 18.111111 | 0.729323 | 0.208589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
4e6b7631c7f496b2c0197dc9ffd697b1f74c53a3 | 496 | py | Python | fxcpy/tests/basic_chart_test.py | JamesKBowler/fxcpy | 1953a2e20cb68fabdbb7aa3a137eac8d932bd352 | [
"MIT"
] | 7 | 2018-11-09T07:05:15.000Z | 2021-03-25T07:21:56.000Z | fxcpy/tests/basic_chart_test.py | JamesKBowler/fxcpy | 1953a2e20cb68fabdbb7aa3a137eac8d932bd352 | [
"MIT"
] | null | null | null | fxcpy/tests/basic_chart_test.py | JamesKBowler/fxcpy | 1953a2e20cb68fabdbb7aa3a137eac8d932bd352 | [
"MIT"
] | 7 | 2019-01-31T03:14:29.000Z | 2022-03-12T19:22:56.000Z | from fxcpy.session_handler import SessionHandler
from fxcpy.chart.basic_chart import BasicChart
from fxcpy.settings import USER, PASS, URL, ENV
from datetime import datetime, timedelta
session_handler = SessionHandler(USER, PASS, URL, ENV, True)
market_data = session_handler.get_market_data()
# Collection attribs
dtt... | 31 | 65 | 0.796371 | 68 | 496 | 5.661765 | 0.514706 | 0.07013 | 0.057143 | 0.072727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0.112903 | 496 | 16 | 65 | 31 | 0.865909 | 0.058468 | 0 | 0 | 0 | 0 | 0.019355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.181818 | 0.363636 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 2 |
4e79204fcf75e4f244c5e4b0f219283d36da8425 | 9,796 | py | Python | os-console.py | RaphielHS/Console-OS | 910737cf623297c4e928f9f8d8fcfdf04379c141 | [
"MIT"
] | null | null | null | os-console.py | RaphielHS/Console-OS | 910737cf623297c4e928f9f8d8fcfdf04379c141 | [
"MIT"
] | null | null | null | os-console.py | RaphielHS/Console-OS | 910737cf623297c4e928f9f8d8fcfdf04379c141 | [
"MIT"
] | null | null | null | import os
import time
try:
import platform
import wget
import datetime
import clipboard
import psutil
import shutil
from path import Path
from subprocess import PIPE, run
from colorama import init, Fore
except ImportError:
print("Updating Packages...")
time.sleep(3)
os.system("pip install --u... | 36.552239 | 229 | 0.665986 | 1,423 | 9,796 | 4.57695 | 0.18974 | 0.098111 | 0.091816 | 0.109627 | 0.722094 | 0.683249 | 0.677721 | 0.677721 | 0.659911 | 0.659911 | 0 | 0.006537 | 0.187934 | 9,796 | 267 | 230 | 36.689139 | 0.812194 | 0 | 0 | 0.532468 | 0 | 0.073593 | 0.676776 | 0.198132 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012987 | false | 0 | 0.095238 | 0 | 0.125541 | 0.116883 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
4ebe1992b7b15c143715db64b414921e0331f433 | 1,215 | py | Python | test/hlt/pytest/python/com/huawei/iotplatform/client/dto/ServiceCapabilityDTO.py | yuanyi-thu/AIOT- | 27f67d98324593c4c6c66bbd5e2a4aa7b9a4ac1e | [
"BSD-3-Clause"
] | 128 | 2018-10-29T04:11:47.000Z | 2022-03-07T02:19:14.000Z | test/hlt/pytest/python/com/huawei/iotplatform/client/dto/ServiceCapabilityDTO.py | yuanyi-thu/AIOT- | 27f67d98324593c4c6c66bbd5e2a4aa7b9a4ac1e | [
"BSD-3-Clause"
] | 40 | 2018-11-02T00:40:48.000Z | 2021-12-07T09:33:56.000Z | test/hlt/pytest/python/com/huawei/iotplatform/client/dto/ServiceCapabilityDTO.py | yuanyi-thu/AIOT- | 27f67d98324593c4c6c66bbd5e2a4aa7b9a4ac1e | [
"BSD-3-Clause"
] | 118 | 2018-10-29T08:43:57.000Z | 2022-01-07T06:49:25.000Z | from com.huawei.iotplatform.client.dto.ServiceCommand import ServiceCommand
from com.huawei.iotplatform.client.dto.ServiceProperty import ServiceProperty
class ServiceCapabilityDTO(object):
commands = ServiceCommand()
properties = ServiceProperty()
def __init__(self):
self.serviceId = None
... | 24.3 | 77 | 0.684774 | 118 | 1,215 | 7.016949 | 0.29661 | 0.072464 | 0.101449 | 0.057971 | 0.07971 | 0.07971 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241152 | 1,215 | 49 | 78 | 24.795918 | 0.898048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.382353 | false | 0 | 0.058824 | 0.176471 | 0.705882 | 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 | 0 | 0 | 0 | 2 |
4ecdb6097df61e0afe0990d9b31417c92e8d701a | 849 | py | Python | limiterwifi/console/banner.py | panglimahilikintil/limiterwifi | d1b7014bc23a002b159aa0692b45ecf641c73545 | [
"MIT"
] | 1 | 2019-05-19T15:31:21.000Z | 2019-05-19T15:31:21.000Z | limiterwifi/console/banner.py | panglimahilikintil/limiterwifi | d1b7014bc23a002b159aa0692b45ecf641c73545 | [
"MIT"
] | null | null | null | limiterwifi/console/banner.py | panglimahilikintil/limiterwifi | d1b7014bc23a002b159aa0692b45ecf641c73545 | [
"MIT"
] | null | null | null | from io import IO
_MAIN_BANNER = r"""{}
██╗ ██╗ ███╗ ███╗ ██╗ ████████╗ ███████╗ ██████╗ ██ ██╗ ██╗ ██████ ██╗
██║ ██║ ████╗ ████║ ██║ ╚══██╔══╝ ██╔════╝ ██╔══██╗ ██ ██ ██║ ██║ ██ ██║
██║ ██║ ██╔████╔██║ ██║ ██║ █████╗ ██████╔╝ ██ ████ ██║ ██║ ██████ ██║
██║ ██║ ██║╚... | 47.166667 | 86 | 0.219081 | 120 | 849 | 4.258333 | 0.433333 | 0.152642 | 0.088063 | 0.066536 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001786 | 0.3404 | 849 | 18 | 87 | 47.166667 | 0.308929 | 0 | 0 | 0 | 0 | 0 | 0.781176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0.076923 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
4ed2ac0621d014c960b77b961a7487b929beb424 | 7,025 | py | Python | tests/test_utils.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | tests/test_utils.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | tests/test_utils.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | # noinspection PyPackageRequirements
import pytest
from euler_python.utils import eulerlib
@pytest.mark.parametrize(
"input_x,expected_output", [
(10, 2),
(100, 3),
(450180, 10)])
def test_popcount(input_x, expected_output):
output = eulerlib.popcount(input_x)
print(output)
ass... | 41.815476 | 120 | 0.522705 | 1,313 | 7,025 | 2.711348 | 0.136329 | 0.066854 | 0.093539 | 0.026966 | 0.638764 | 0.551404 | 0.459551 | 0.372753 | 0.372753 | 0.341854 | 0 | 0.281878 | 0.284413 | 7,025 | 167 | 121 | 42.065868 | 0.426298 | 0.00484 | 0 | 0.352113 | 0 | 0 | 0.041923 | 0.040635 | 0 | 0 | 0 | 0 | 0.084507 | 1 | 0.084507 | false | 0 | 0.014085 | 0 | 0.098592 | 0.084507 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
4ed980d59503323122ac1f281e9977203b4be252 | 2,416 | py | Python | SQL/1327. List the Products Ordered in a Period.py | joshlyman/Josh-LeetCode | cc9e2cc406d2cbd5a90ee579efbcaeffb842c5ed | [
"MIT"
] | null | null | null | SQL/1327. List the Products Ordered in a Period.py | joshlyman/Josh-LeetCode | cc9e2cc406d2cbd5a90ee579efbcaeffb842c5ed | [
"MIT"
] | null | null | null | SQL/1327. List the Products Ordered in a Period.py | joshlyman/Josh-LeetCode | cc9e2cc406d2cbd5a90ee579efbcaeffb842c5ed | [
"MIT"
] | null | null | null | -- Write an SQL query to get the names of products with greater than or equal to 100 units ordered in February 2020 and their amount.
-- Return result table in any order.
-- The query result format is in the following example:
-- Products table:
-- +-------------+-----------------------+------------------+
-- | p... | 38.967742 | 133 | 0.409768 | 254 | 2,416 | 3.834646 | 0.374016 | 0.083162 | 0.104723 | 0.107803 | 0.110883 | 0.110883 | 0.110883 | 0 | 0 | 0 | 0 | 0.114391 | 0.326987 | 2,416 | 61 | 134 | 39.606557 | 0.484625 | 0.015728 | 0 | 0.183673 | 0 | 0 | 0.002947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
14c13ddc8b9809eaf5e3554fc2691df310dcf311 | 45,815 | py | Python | pysnmp/DES-1228p-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/DES-1228p-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/DES-1228p-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module DES-1228p-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DES-1228P-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 18:23:55 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 201... | 129.787535 | 6,734 | 0.755495 | 5,330 | 45,815 | 6.490994 | 0.068856 | 0.011851 | 0.015001 | 0.020002 | 0.494263 | 0.449866 | 0.410671 | 0.37957 | 0.353759 | 0.331792 | 0 | 0.094084 | 0.084317 | 45,815 | 352 | 6,735 | 130.15625 | 0.730597 | 0.006985 | 0 | 0.017595 | 0 | 0 | 0.093215 | 0.00576 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.017595 | 0.017595 | 0 | 0.052786 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
14c5840ef80abc30d2b7c8cfe348ecb5873783ec | 2,871 | py | Python | python/paddle/fluid/tests/unittests/test_prelu_op.py | Thunderbrook/Paddle | 4870c9bc99c6bd3b814485d7d4f525fe68ccd9a5 | [
"Apache-2.0"
] | 1 | 2020-02-21T02:26:47.000Z | 2020-02-21T02:26:47.000Z | python/paddle/fluid/tests/unittests/test_prelu_op.py | Thunderbrook/Paddle | 4870c9bc99c6bd3b814485d7d4f525fe68ccd9a5 | [
"Apache-2.0"
] | null | null | null | python/paddle/fluid/tests/unittests/test_prelu_op.py | Thunderbrook/Paddle | 4870c9bc99c6bd3b814485d7d4f525fe68ccd9a5 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | 31.549451 | 96 | 0.617903 | 426 | 2,871 | 3.983568 | 0.359155 | 0.051856 | 0.038303 | 0.042428 | 0.222157 | 0.172658 | 0.172658 | 0.123159 | 0.123159 | 0.041249 | 0 | 0.027065 | 0.25357 | 2,871 | 90 | 97 | 31.9 | 0.764816 | 0.254267 | 0 | 0.113208 | 0 | 0.018868 | 0.086239 | 0 | 0 | 0 | 0 | 0.011111 | 0.018868 | 1 | 0.207547 | false | 0 | 0.09434 | 0 | 0.358491 | 0.018868 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
14c67c3c23715a447acecfa182f981162ad8cdb2 | 125 | py | Python | bot/reply.py | federicotdn/python-tgbot | 277fd3d7a9d711e53688b217e915e25559e8f99f | [
"MIT"
] | 3 | 2015-02-08T05:01:42.000Z | 2022-02-02T06:45:29.000Z | bot/reply.py | federicotdn/python-tgbot | 277fd3d7a9d711e53688b217e915e25559e8f99f | [
"MIT"
] | null | null | null | bot/reply.py | federicotdn/python-tgbot | 277fd3d7a9d711e53688b217e915e25559e8f99f | [
"MIT"
] | 4 | 2015-05-12T21:53:03.000Z | 2022-01-14T06:40:49.000Z | BOT_PREFIX = '[bot] '
BOT_SUFFIX = '\n'
class BotReply:
def send_reply(self, dest, tg_socket):
raise NotImplementedError
| 17.857143 | 39 | 0.728 | 17 | 125 | 5.117647 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152 | 125 | 6 | 40 | 20.833333 | 0.820755 | 0 | 0 | 0 | 0 | 0 | 0.064 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 2 |
14dac7de8799d18b2ac30a9693c25d41d729af02 | 635 | py | Python | chnorr/app.py | akranga/xpdaysua | ccb28a7484970cbbd7766a5a1956a8fe74f73938 | [
"Apache-2.0"
] | null | null | null | chnorr/app.py | akranga/xpdaysua | ccb28a7484970cbbd7766a5a1956a8fe74f73938 | [
"Apache-2.0"
] | null | null | null | chnorr/app.py | akranga/xpdaysua | ccb28a7484970cbbd7766a5a1956a8fe74f73938 | [
"Apache-2.0"
] | null | null | null | from chalice import Chalice
import random
app = Chalice(app_name='chnorr')
app.debug = True
@app.route('/')
def index():
return {'message': 'Herllo, I am mr. Norris'}
def read_facts_file():
with open("chalicelib/index.txt") as f:
return f.read().splitlines()
facts = read_facts_file()
@app.route('/... | 13.804348 | 49 | 0.667717 | 92 | 635 | 4.467391 | 0.467391 | 0.077859 | 0.06326 | 0.111922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00189 | 0.166929 | 635 | 45 | 50 | 14.111111 | 0.775047 | 0.179528 | 0 | 0 | 0 | 0 | 0.146199 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.105263 | 0.052632 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
14ef5a9a8e26da5e6537022255fd5ed1134d52da | 507 | py | Python | django_twilio/models.py | kellycreativetech/django-twilio | 9caae7d2bbaa5ae66aa614bb87e007e24949f506 | [
"Unlicense"
] | null | null | null | django_twilio/models.py | kellycreativetech/django-twilio | 9caae7d2bbaa5ae66aa614bb87e007e24949f506 | [
"Unlicense"
] | null | null | null | django_twilio/models.py | kellycreativetech/django-twilio | 9caae7d2bbaa5ae66aa614bb87e007e24949f506 | [
"Unlicense"
] | null | null | null | from django.db import models
class Caller(models.Model):
"""A caller is defined uniquely by their phone number.
:param bool blacklisted: Desginates whether the caller can use our
services.
:param char phone_number: Unique phone number in `E.164
<http://en.wikipedia.org/wiki/E.164>`_ format.
"""
blacklisted ... | 29.823529 | 76 | 0.745562 | 71 | 507 | 5.197183 | 0.690141 | 0.149051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018433 | 0.143984 | 507 | 16 | 77 | 31.6875 | 0.831797 | 0.489152 | 0 | 0 | 0 | 0 | 0.057471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
14ff69bec40adedf58659684a79f9de5fd44526c | 4,669 | py | Python | beyondtheadmin/companies/models.py | gfavre/invoice-manager | 2a1db22edd51b461c090282c6fc1f290f3265379 | [
"MIT"
] | 1 | 2021-11-27T06:40:34.000Z | 2021-11-27T06:40:34.000Z | beyondtheadmin/companies/models.py | gfavre/invoice-manager | 2a1db22edd51b461c090282c6fc1f290f3265379 | [
"MIT"
] | 2 | 2021-05-13T04:50:50.000Z | 2022-02-28T21:06:24.000Z | beyondtheadmin/companies/models.py | gfavre/invoice-manager | 2a1db22edd51b461c090282c6fc1f290f3265379 | [
"MIT"
] | null | null | null | from django.conf import settings
from django.db import models
from django.urls import reverse
from django.utils.translation import ugettext_lazy as _
from colorfield.fields import ColorField
from django_countries.fields import CountryField
from localflavor.generic.models import BICField, IBANField
from model_utils.mod... | 37.352 | 114 | 0.672735 | 561 | 4,669 | 5.40107 | 0.279857 | 0.053465 | 0.030033 | 0.039604 | 0.157756 | 0.115182 | 0.060726 | 0.027723 | 0.027723 | 0 | 0 | 0.00806 | 0.202827 | 4,669 | 124 | 115 | 37.653226 | 0.806018 | 0 | 0 | 0.132653 | 0 | 0 | 0.162347 | 0.011351 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.112245 | 0.122449 | 0.683673 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
0904d74f092550aa8aead72e615474670ce29874 | 1,994 | py | Python | setup.py | BhavyeMathur/goopylib | f9eb1458e9218a8dd4add6693ce70b804624bf91 | [
"MIT"
] | 25 | 2020-07-09T10:57:16.000Z | 2022-02-06T10:31:34.000Z | setup.py | BhavyeMathur/goopy | f9eb1458e9218a8dd4add6693ce70b804624bf91 | [
"MIT"
] | 48 | 2020-07-02T20:08:40.000Z | 2020-07-06T16:09:25.000Z | setup.py | BhavyeMathur/goopy | f9eb1458e9218a8dd4add6693ce70b804624bf91 | [
"MIT"
] | 1 | 2020-12-01T13:45:53.000Z | 2020-12-01T13:45:53.000Z | from setuptools import setup
"""
pip install twine
pip install build
CREATING RELEASES-------------------------------------------------------------------------------------------------------
- Update README.md version number
- Update setup.cfg version number
- Update goopylib/__init__.py __version__ variab... | 39.098039 | 120 | 0.65998 | 246 | 1,994 | 5.280488 | 0.325203 | 0.030793 | 0.036952 | 0.04157 | 0.243264 | 0.214011 | 0.166282 | 0.110855 | 0.110855 | 0.110855 | 0 | 0.003861 | 0.220662 | 1,994 | 50 | 121 | 39.88 | 0.832046 | 0 | 0 | 0 | 0 | 0 | 0.523605 | 0.090129 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
0904d9d2c7eba46699d704d37ad841a40a8ccc79 | 3,849 | py | Python | tests/wsgi/test_configuration.py | NyanKiyoshi/ariadne | 54916fcdebe7c8c5a166dd3fd1a2f18fdebda910 | [
"BSD-3-Clause"
] | null | null | null | tests/wsgi/test_configuration.py | NyanKiyoshi/ariadne | 54916fcdebe7c8c5a166dd3fd1a2f18fdebda910 | [
"BSD-3-Clause"
] | null | null | null | tests/wsgi/test_configuration.py | NyanKiyoshi/ariadne | 54916fcdebe7c8c5a166dd3fd1a2f18fdebda910 | [
"BSD-3-Clause"
] | 1 | 2019-06-03T13:07:21.000Z | 2019-06-03T13:07:21.000Z | import json
from io import BytesIO
from unittest.mock import ANY, Mock
from ariadne.constants import DATA_TYPE_JSON
from ariadne.wsgi import GraphQL
def test_custom_context_value_is_passed_to_resolvers(schema):
app = GraphQL(schema, context_value={"test": "TEST-CONTEXT"})
_, result = app.execute_query({}, {"... | 36.657143 | 82 | 0.739673 | 511 | 3,849 | 5.1409 | 0.142857 | 0.082223 | 0.073087 | 0.050628 | 0.79292 | 0.735059 | 0.705748 | 0.651694 | 0.558432 | 0.523411 | 0 | 0.000303 | 0.142115 | 3,849 | 104 | 83 | 37.009615 | 0.795276 | 0 | 0 | 0.311688 | 0 | 0 | 0.10834 | 0.011432 | 0 | 0 | 0 | 0 | 0.155844 | 1 | 0.168831 | false | 0.038961 | 0.064935 | 0 | 0.233766 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 2 |
092388ab41393d6c0953c2710b027cd0701f67ab | 191 | py | Python | lab3/chapter3.py | MariAbraha/csc121 | 75db8806d2a62d63b6e7a9d2905a04470021de85 | [
"CC0-1.0"
] | null | null | null | lab3/chapter3.py | MariAbraha/csc121 | 75db8806d2a62d63b6e7a9d2905a04470021de85 | [
"CC0-1.0"
] | null | null | null | lab3/chapter3.py | MariAbraha/csc121 | 75db8806d2a62d63b6e7a9d2905a04470021de85 | [
"CC0-1.0"
] | null | null | null | import arcade
arcade.open_window(600, 600, "Drawing Example")
arcade.set_background_color(
arcade.color.AIR_SUPERIORITY_BLUE
)
arcade.start_render()
arcade.finish_render()
arcade.run() | 17.363636 | 47 | 0.795812 | 26 | 191 | 5.576923 | 0.653846 | 0.165517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034682 | 0.094241 | 191 | 11 | 48 | 17.363636 | 0.803468 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
0925d2a7868901aaa8ce1c427ce175c52b4c7a5f | 456 | py | Python | config.py | theshashankk/2022-Countdown | e90065d35da3795ad3d5b357552dd9bbd54fd4dd | [
"MIT"
] | null | null | null | config.py | theshashankk/2022-Countdown | e90065d35da3795ad3d5b357552dd9bbd54fd4dd | [
"MIT"
] | null | null | null | config.py | theshashankk/2022-Countdown | e90065d35da3795ad3d5b357552dd9bbd54fd4dd | [
"MIT"
] | null | null | null | import os
NAME = os.environ.get("NAME", default="theshashankk")
IMAGE = os.environ.get("IMAGE", default="https://telegra.ph/file/10ff6d59629bed12a47ef.jpg")
SHORT_BIO = os.environ.get("SHORT_BIO", default="2022 Countdown")
ABOUT = os.environ.get("ABOUT", default="it's just a countdown, ntg else ;)")
GITHUB = os.enviro... | 45.6 | 92 | 0.736842 | 65 | 456 | 5.138462 | 0.446154 | 0.188623 | 0.251497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038278 | 0.083333 | 456 | 9 | 93 | 50.666667 | 0.760766 | 0 | 0 | 0 | 0 | 0 | 0.339912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
092bffb90c523a867a2b3a4d7a3b418179ef53b5 | 3,205 | py | Python | testerlib/controllers/header_controller.py | mnaumanali94/PYTHON-SDK | 97eceab462d86b8666ff1f74830d30cae5202a35 | [
"MIT"
] | null | null | null | testerlib/controllers/header_controller.py | mnaumanali94/PYTHON-SDK | 97eceab462d86b8666ff1f74830d30cae5202a35 | [
"MIT"
] | null | null | null | testerlib/controllers/header_controller.py | mnaumanali94/PYTHON-SDK | 97eceab462d86b8666ff1f74830d30cae5202a35 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
testerlib.controllers.header_controller
This file was automatically generated for Stamplay by APIMATIC BETA v2.0 on 08/03/2016
"""
from testerlib.controllers.base_controller import *
from testerlib.models.server_response import ServerResponse
class HeaderController(BaseControll... | 32.373737 | 104 | 0.643994 | 359 | 3,205 | 5.529248 | 0.384401 | 0.032242 | 0.036272 | 0.032242 | 0.167254 | 0.096725 | 0.063476 | 0.063476 | 0.063476 | 0.063476 | 0 | 0.006157 | 0.290484 | 3,205 | 98 | 105 | 32.704082 | 0.866755 | 0.387832 | 0 | 0.058824 | 1 | 0 | 0.088608 | 0 | 0 | 0 | 0 | 0.010204 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.205882 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
092e55b7e1eb83ab3113752644e683ec4a5d9575 | 928 | py | Python | models/user/user.py | ThukuWakogi/password-locker | 2c2df45a0a84ba683423cecad47616cf52cb1c13 | [
"MIT"
] | null | null | null | models/user/user.py | ThukuWakogi/password-locker | 2c2df45a0a84ba683423cecad47616cf52cb1c13 | [
"MIT"
] | null | null | null | models/user/user.py | ThukuWakogi/password-locker | 2c2df45a0a84ba683423cecad47616cf52cb1c13 | [
"MIT"
] | null | null | null | import sys
sys.path.append('../credential')
from ..credential.credential import Credential
class User():
'''
blueprint for user data
'''
def __init__(self, *, username=None, password=None, credentials=[]):
'''
constructor for instantiating an empty object
Args:
username: users' username, m... | 23.2 | 109 | 0.644397 | 98 | 928 | 6.05102 | 0.469388 | 0.080944 | 0.10118 | 0.121417 | 0.215852 | 0.215852 | 0.148398 | 0 | 0 | 0 | 0 | 0.002801 | 0.230603 | 928 | 39 | 110 | 23.794872 | 0.827731 | 0.442888 | 0 | 0 | 0 | 0 | 0.028384 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0.272727 | 0.272727 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
09311b0f228f72482b252e59ef6627c1fce7f98b | 1,212 | py | Python | tests/test_example.py | gLhookniano/autoargparse | a894ca9daeec55e8ebad9dfba3cf6ab9048ef3f0 | [
"MIT"
] | null | null | null | tests/test_example.py | gLhookniano/autoargparse | a894ca9daeec55e8ebad9dfba3cf6ab9048ef3f0 | [
"MIT"
] | null | null | null | tests/test_example.py | gLhookniano/autoargparse | a894ca9daeec55e8ebad9dfba3cf6ab9048ef3f0 | [
"MIT"
] | null | null | null | #!coding:utf-8
from sys import path as sys_path
from os import path as os_path
import subprocess
import pytest
sys_path.append(os_path.abspath(os_path.join(os_path.dirname(__file__), "../")))
import autoargparse
@pytest.mark.example
@pytest.mark.parametrize(
"input,expected",
[
("python ./example/c... | 30.3 | 83 | 0.55198 | 159 | 1,212 | 4.138365 | 0.36478 | 0.158055 | 0.279635 | 0.303951 | 0.323708 | 0.284195 | 0.284195 | 0.284195 | 0.232523 | 0.141337 | 0 | 0.042437 | 0.241749 | 1,212 | 39 | 84 | 31.076923 | 0.673558 | 0.010726 | 0 | 0 | 0 | 0 | 0.36227 | 0.153589 | 0 | 0 | 0 | 0 | 0.03125 | 1 | 0.03125 | false | 0 | 0.15625 | 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 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
11743e84ac2ab3001311f18845662dc35e2ae3c8 | 1,176 | py | Python | payment/filter.py | wh8983298/GreaterWMS | 487e819fcf21a0dca1c74f5b44bc7221353ea3e2 | [
"Apache-2.0"
] | 1,063 | 2020-11-15T12:55:15.000Z | 2022-03-31T14:33:12.000Z | payment/filter.py | ashrafali46/GreaterWMS | 1aed14a8c26c8ac4571db5e6b07ab7e4fa3c7c72 | [
"Apache-2.0"
] | 96 | 2020-11-18T00:06:05.000Z | 2022-03-03T09:05:39.000Z | payment/filter.py | ashrafali46/GreaterWMS | 1aed14a8c26c8ac4571db5e6b07ab7e4fa3c7c72 | [
"Apache-2.0"
] | 349 | 2020-11-15T13:15:30.000Z | 2022-03-31T11:01:15.000Z | from django_filters import FilterSet
from .models import TransportationFeeListModel
class TransportationFeeListFilter(FilterSet):
class Meta:
model = TransportationFeeListModel
fields = {
"id": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'isnull', 'in', 'range'],
"send_cit... | 58.8 | 107 | 0.539116 | 111 | 1,176 | 5.603604 | 0.396396 | 0.159164 | 0.213826 | 0.315113 | 0.442122 | 0.339228 | 0.339228 | 0.339228 | 0.339228 | 0.270096 | 0 | 0 | 0.223639 | 1,176 | 19 | 108 | 61.894737 | 0.681271 | 0 | 0 | 0 | 0 | 0 | 0.401361 | 0.019558 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
118b4292d654d29832ff14e36af682deed6ec370 | 888 | py | Python | examples/scoping/with_argparse.py | pseeth/argbind | 1b953e370065d9f3c91dee5c93cc6447b72e3744 | [
"MIT"
] | 19 | 2020-10-14T00:00:13.000Z | 2022-02-20T23:21:18.000Z | examples/scoping/with_argparse.py | pseeth/argbind | 1b953e370065d9f3c91dee5c93cc6447b72e3744 | [
"MIT"
] | 3 | 2021-03-30T15:56:55.000Z | 2022-03-21T20:52:56.000Z | examples/scoping/with_argparse.py | pseeth/argbind | 1b953e370065d9f3c91dee5c93cc6447b72e3744 | [
"MIT"
] | 1 | 2021-04-13T18:51:29.000Z | 2021-04-13T18:51:29.000Z | import argparse
def dataset(
some_positional_arg,
folder : str = 'default',
):
"""Creates a dataset.
Parameters
----------
some_positional_arg
Some positional argument that gets passed in via the script.
folder : str, optional
Folder for the dataset, by default 'default'
... | 27.75 | 70 | 0.684685 | 106 | 888 | 5.433962 | 0.367925 | 0.194444 | 0.206597 | 0.208333 | 0.366319 | 0.270833 | 0.152778 | 0.152778 | 0 | 0 | 0 | 0 | 0.189189 | 888 | 31 | 71 | 28.645161 | 0.8 | 0.224099 | 0 | 0 | 0 | 0 | 0.165138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.117647 | 0.058824 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
1193c02b5542b7b1e11e337cd3087544fc31d578 | 1,867 | py | Python | task10/task10.py | SimeonHristov99/CodeEveryDay | ffeed48d7d55910be87b40b4113e8073f29a265d | [
"MIT"
] | null | null | null | task10/task10.py | SimeonHristov99/CodeEveryDay | ffeed48d7d55910be87b40b4113e8073f29a265d | [
"MIT"
] | null | null | null | task10/task10.py | SimeonHristov99/CodeEveryDay | ffeed48d7d55910be87b40b4113e8073f29a265d | [
"MIT"
] | null | null | null | class RomanNumerals:
def to_roman(val):
result = ''
symbols = ['M', 'CM', 'D', 'CD', 'C', 'XC', 'L', 'XL', 'X', 'IX', 'V', 'IV', 'I']
nums = [1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1]
nums_len = len(nums)
i = 0
while i < nums_len:
if nums[i]... | 24.893333 | 89 | 0.473487 | 226 | 1,867 | 3.747788 | 0.269912 | 0.276269 | 0.165289 | 0.206612 | 0.075561 | 0.075561 | 0.075561 | 0.075561 | 0.075561 | 0 | 0 | 0.081719 | 0.364221 | 1,867 | 74 | 90 | 25.22973 | 0.631845 | 0 | 0 | 0.105263 | 0 | 0 | 0.049813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0 | 0 | 0.105263 | 0.22807 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
119e5a0cd3c112a46c72574c4400031f80abb2f4 | 1,050 | py | Python | src/main.py | weijinqian0/feature_eda | cf2167eeac726fb33ce2ae5c7051412815601b8b | [
"Apache-2.0"
] | 6 | 2020-12-09T11:06:49.000Z | 2021-09-13T08:00:55.000Z | src/main.py | weijinqian0/feature_eda | cf2167eeac726fb33ce2ae5c7051412815601b8b | [
"Apache-2.0"
] | null | null | null | src/main.py | weijinqian0/feature_eda | cf2167eeac726fb33ce2ae5c7051412815601b8b | [
"Apache-2.0"
] | 3 | 2020-11-15T15:23:39.000Z | 2021-07-17T08:06:46.000Z | import numpy as np
import pandas as pd
import matplotlib
import matplotlib.pyplot as plt
matplotlib.use('TkAgg')
import seaborn as sns
from scipy import stats
import warnings
from src.feature_handle.base_data_info import *
from src.feature_handle.view_utils import *
warnings.filterwarnings("ignore")
"""
数据基础信息文件
... | 21.428571 | 69 | 0.73619 | 161 | 1,050 | 4.503106 | 0.453416 | 0.161379 | 0.066207 | 0.055172 | 0.135172 | 0.066207 | 0.066207 | 0 | 0 | 0 | 0 | 0.017279 | 0.118095 | 1,050 | 48 | 70 | 21.875 | 0.765659 | 0.340952 | 0 | 0 | 0 | 0 | 0.14826 | 0.07413 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.055556 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 2 |
11bbeb0c494ccd89ae865eb16c679d8e79ad61a9 | 1,484 | py | Python | app.py | geksogen/FastAPI_exampels | 441e4ea1ebfde984958deac115f60c4d0110d5b2 | [
"CC0-1.0"
] | null | null | null | app.py | geksogen/FastAPI_exampels | 441e4ea1ebfde984958deac115f60c4d0110d5b2 | [
"CC0-1.0"
] | null | null | null | app.py | geksogen/FastAPI_exampels | 441e4ea1ebfde984958deac115f60c4d0110d5b2 | [
"CC0-1.0"
] | null | null | null | from fastapi import FastAPI
import uvicorn
from typing import Optional
from pydantic import BaseModel
import secrets
from fastapi import Depends, FastAPI, HTTPException, status
from fastapi.security import HTTPBasic, HTTPBasicCredentials
class Item(BaseModel):
name: str
description: Optional[str] = None
p... | 29.68 | 101 | 0.725067 | 174 | 1,484 | 6.04023 | 0.41954 | 0.028544 | 0.068506 | 0.117031 | 0.171265 | 0.171265 | 0.117983 | 0 | 0 | 0 | 0 | 0.011218 | 0.15903 | 1,484 | 50 | 102 | 29.68 | 0.830929 | 0.030323 | 0 | 0 | 0 | 0 | 0.087561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081081 | false | 0.081081 | 0.189189 | 0.054054 | 0.540541 | 0.027027 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
11d4812fca9091f373ffa4a0988d94bb540b1381 | 701 | py | Python | tests/lib/helpers.py | titom73/arista-downloader | 6a0a9795ddc21d7af6bf0f913a272286650a55e3 | [
"Apache-2.0"
] | 7 | 2022-01-07T16:54:57.000Z | 2022-03-19T14:14:37.000Z | tests/lib/helpers.py | titom73/eos-downloader | 6a0a9795ddc21d7af6bf0f913a272286650a55e3 | [
"Apache-2.0"
] | null | null | null | tests/lib/helpers.py | titom73/eos-downloader | 6a0a9795ddc21d7af6bf0f913a272286650a55e3 | [
"Apache-2.0"
] | 1 | 2021-12-30T03:24:33.000Z | 2021-12-30T03:24:33.000Z | #!/usr/bin/python
# coding: utf-8 -*-
# pylint: disable=logger-format-interpolation
# pylint: disable=dangerous-default-value
# flake8: noqa: W503
# flake8: noqa: W1202
from __future__ import (absolute_import, division, print_function)
from eos_downloader.data import DATA_MAPPING
def default_filename(version: str, ... | 21.90625 | 88 | 0.647646 | 81 | 701 | 5.469136 | 0.617284 | 0.10158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.229672 | 701 | 31 | 89 | 22.612903 | 0.801852 | 0.459344 | 0 | 0 | 0 | 0 | 0.084906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.