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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
103310612d87186f2019e6a2851a4a697cb61464 | 309 | py | Python | blog-note/mineBlog/showBlog/models.py | jiangwenfan/pythonScripts | c9004944f162af575e111522f98d4de4f59885e6 | [
"Apache-2.0"
] | null | null | null | blog-note/mineBlog/showBlog/models.py | jiangwenfan/pythonScripts | c9004944f162af575e111522f98d4de4f59885e6 | [
"Apache-2.0"
] | null | null | null | blog-note/mineBlog/showBlog/models.py | jiangwenfan/pythonScripts | c9004944f162af575e111522f98d4de4f59885e6 | [
"Apache-2.0"
] | null | null | null | from django.db import models
# Create your models here.
#class articleInfo(models.Model):
# #storage all article info
# articleName = Model.char
# articleAuthor
# articleDate =
# articleType
# articleCommentId = #redis
#
#class userInfo(models.Model):
# userPhone
# userEmail
# userPassword
# userName
#
| 16.263158 | 33 | 0.744337 | 33 | 309 | 6.969697 | 0.818182 | 0.095652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 309 | 18 | 34 | 17.166667 | 0.881226 | 0.786408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1041c44584ba7000ffe562848379edd50bd4e330 | 1,352 | py | Python | src/templates/py/LMCPObject.py | sahabi/LmcpGen | a310aa751a2d40a831989f7e41a992b6b61d39ac | [
"NASA-1.3"
] | null | null | null | src/templates/py/LMCPObject.py | sahabi/LmcpGen | a310aa751a2d40a831989f7e41a992b6b61d39ac | [
"NASA-1.3"
] | null | null | null | src/templates/py/LMCPObject.py | sahabi/LmcpGen | a310aa751a2d40a831989f7e41a992b6b61d39ac | [
"NASA-1.3"
] | null | null | null |
## ===============================================================================
## Authors: AFRL/RQQA
## Organization: Air Force Research Laboratory, Aerospace Systems Directorate, Power and Control Division
##
## Copyright (c) 2017 Government of the United State of America, as represented by
## the Secretary of t... | 29.391304 | 105 | 0.560651 | 149 | 1,352 | 5.060403 | 0.66443 | 0.047745 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006883 | 0.247781 | 1,352 | 45 | 106 | 30.044444 | 0.734513 | 0.60355 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0 | 0 | 0.294118 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1064df427de1e0ced73efe3fc9a549ff92e93f81 | 552 | py | Python | tohsaka/spells/oauth.py | ye11ow/tohsaka | cb19d0192e7db631f3095fb1c1e9ea5ad49a3a2b | [
"MIT"
] | 4 | 2018-06-14T15:07:43.000Z | 2018-06-20T06:06:20.000Z | tohsaka/spells/oauth.py | ye11ow/tohsaka | cb19d0192e7db631f3095fb1c1e9ea5ad49a3a2b | [
"MIT"
] | null | null | null | tohsaka/spells/oauth.py | ye11ow/tohsaka | cb19d0192e7db631f3095fb1c1e9ea5ad49a3a2b | [
"MIT"
] | null | null | null | from spells.rest import Spell as BaseRest
class Spell(BaseRest):
REQUIRED_OPTIONS = ['client_id', 'token', 'endpoint']
def __init__(self, config):
BaseRest.__init__(self, config)
@classmethod
def name(self):
return 'OAuth'
@classmethod
def intro(self):
return 'Get O... | 21.230769 | 61 | 0.630435 | 66 | 552 | 5.075758 | 0.424242 | 0.119403 | 0.083582 | 0.125373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246377 | 552 | 25 | 62 | 22.08 | 0.805288 | 0 | 0 | 0.125 | 0 | 0 | 0.144928 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.0625 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
10723d6418fc86d20e750e76d1ef740332bb222a | 661 | py | Python | utils/checks.py | MaxKruse/gheddaux | 0984e3b56de0fbae35651a8aea3a794b1ab60b3b | [
"MIT"
] | 2 | 2019-12-10T11:29:40.000Z | 2020-04-30T09:08:52.000Z | utils/checks.py | MaxKruse/gheddaux | 0984e3b56de0fbae35651a8aea3a794b1ab60b3b | [
"MIT"
] | null | null | null | utils/checks.py | MaxKruse/gheddaux | 0984e3b56de0fbae35651a8aea3a794b1ab60b3b | [
"MIT"
] | 2 | 2019-07-10T01:39:41.000Z | 2021-07-23T08:52:40.000Z | from typing import Callable
from discord.ext import commands
import discord
from singletons.bot import Bot
def is_admin(message: discord.Message) -> bool:
if type(message.author) is not discord.Member:
return False
return message.author.permissions_in(message.channel).administrator
def is_server_a... | 26.44 | 95 | 0.768533 | 91 | 661 | 5.450549 | 0.395604 | 0.048387 | 0.090726 | 0.100806 | 0.245968 | 0.245968 | 0.245968 | 0.245968 | 0.245968 | 0.245968 | 0 | 0 | 0.140696 | 661 | 24 | 96 | 27.541667 | 0.873239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.214286 | 0.928571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
107348e3e9b4a9502c9128c2e2904f7457dbf2e6 | 209 | py | Python | pglookout/__init__.py | orange-kao/pglookout | 55ac891e6ce3b2e47ca6c6c9027c0a4d98dba002 | [
"Apache-2.0"
] | 61 | 2018-10-08T15:53:25.000Z | 2022-03-29T18:02:34.000Z | pglookout/__init__.py | orange-kao/pglookout | 55ac891e6ce3b2e47ca6c6c9027c0a4d98dba002 | [
"Apache-2.0"
] | 8 | 2020-02-28T10:01:49.000Z | 2022-03-29T15:12:33.000Z | pglookout/__init__.py | orange-kao/pglookout | 55ac891e6ce3b2e47ca6c6c9027c0a4d98dba002 | [
"Apache-2.0"
] | 8 | 2019-04-15T10:00:31.000Z | 2021-11-14T20:11:33.000Z | """
pglookout - replication monitoring and failover daemon
Copyright (c) 2015 Ohmu Ltd
Copyright (c) 2014 F-Secure
This file is under the Apache License, Version 2.0.
See the file `LICENSE` for details.
"""
| 20.9 | 54 | 0.746411 | 32 | 209 | 4.875 | 0.84375 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 0.167464 | 209 | 9 | 55 | 23.222222 | 0.83908 | 0.956938 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1093c11060eb67af987e1bd2de48abc33ba5ffd3 | 859 | py | Python | marketing/migrations/0007_auto_20200715_1142.py | ArRosid/idn-dashboard | 93b5a735c78391e93103ba406f1f32adeabd0e7d | [
"MIT"
] | null | null | null | marketing/migrations/0007_auto_20200715_1142.py | ArRosid/idn-dashboard | 93b5a735c78391e93103ba406f1f32adeabd0e7d | [
"MIT"
] | 7 | 2021-03-30T13:43:21.000Z | 2022-03-12T00:37:03.000Z | marketing/migrations/0007_auto_20200715_1142.py | ArRosid/idn-dashboard | 93b5a735c78391e93103ba406f1f32adeabd0e7d | [
"MIT"
] | 1 | 2022-02-16T08:16:12.000Z | 2022-02-16T08:16:12.000Z | # Generated by Django 3.0.7 on 2020-07-15 04:42
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("marketing", "0006_auto_20200715_1128"),
]
operations = [
migrations.AddConstraint(
model_name="interaksi",
constrain... | 26.84375 | 67 | 0.55064 | 74 | 859 | 6.27027 | 0.527027 | 0.148707 | 0.181034 | 0.206897 | 0.528017 | 0.528017 | 0.528017 | 0.528017 | 0.528017 | 0.357759 | 0 | 0.054007 | 0.331781 | 859 | 31 | 68 | 27.709677 | 0.754355 | 0.052387 | 0 | 0.6 | 1 | 0 | 0.157635 | 0.028325 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.16 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
109610e2a54be9bc83c59ca393c0e1c19f818ce0 | 275 | py | Python | hy_coverage_plugin/__init__.py | timmartin/hy-coverage | 695ab4974230cf47ab6b3f0451b1614a09035497 | [
"MIT"
] | 3 | 2016-01-23T17:43:24.000Z | 2018-05-04T03:01:27.000Z | hy_coverage_plugin/__init__.py | timmartin/hy-coverage | 695ab4974230cf47ab6b3f0451b1614a09035497 | [
"MIT"
] | 3 | 2016-01-09T17:03:59.000Z | 2018-03-08T08:49:16.000Z | hy_coverage_plugin/__init__.py | timmartin/hy-coverage | 695ab4974230cf47ab6b3f0451b1614a09035497 | [
"MIT"
] | null | null | null | """
coverage.py plugin for Hy.
"""
from .hy_coverage import HyCoveragePlugin
def coverage_init(reg, options):
"""An init callback that is called on initialisation to register the
classes provided by this plugin.
"""
reg.add_file_tracer(HyCoveragePlugin())
| 21.153846 | 72 | 0.727273 | 36 | 275 | 5.444444 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 275 | 12 | 73 | 22.916667 | 0.871111 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1099c8801dd38dfce559db4e271ebd7a9632da2d | 191 | py | Python | HiveMind/__init__.py | ArtemSkit/HiveMind | 9564c658c2d4dfc02dfbc4cd09b20986d8f475d6 | [
"MIT"
] | null | null | null | HiveMind/__init__.py | ArtemSkit/HiveMind | 9564c658c2d4dfc02dfbc4cd09b20986d8f475d6 | [
"MIT"
] | 4 | 2021-03-09T23:52:40.000Z | 2022-02-26T20:29:25.000Z | HiveMind/__init__.py | ArtemSkit/HiveMind | 9564c658c2d4dfc02dfbc4cd09b20986d8f475d6 | [
"MIT"
] | null | null | null | # importing the flask and sqlalchemy for the project
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
app = Flask(__name__, template_folder='./template')
db = SQLAlchemy(app)
| 27.285714 | 52 | 0.801047 | 26 | 191 | 5.653846 | 0.538462 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13089 | 191 | 6 | 53 | 31.833333 | 0.885542 | 0.26178 | 0 | 0 | 0 | 0 | 0.071942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
10a1b1b2e2585279248f46f65ecabd1d4ce1ff8d | 552 | py | Python | apricot/functions/__init__.py | wfondrie/apricot | d31365c96bcb61a7ae2550f39a5f9c144e1346ac | [
"MIT"
] | 389 | 2018-09-25T07:30:06.000Z | 2022-03-29T17:09:09.000Z | apricot/functions/__init__.py | wfondrie/apricot | d31365c96bcb61a7ae2550f39a5f9c144e1346ac | [
"MIT"
] | 25 | 2018-09-26T15:36:17.000Z | 2022-01-12T07:10:55.000Z | apricot/functions/__init__.py | wfondrie/apricot | d31365c96bcb61a7ae2550f39a5f9c144e1346ac | [
"MIT"
] | 41 | 2018-09-25T17:32:28.000Z | 2021-11-30T17:36:40.000Z | # __init__.py
# Author: Jacob Schreiber <jmschreiber91@gmail.com>
from .featureBased import FeatureBasedSelection
from .maxCoverage import MaxCoverageSelection
from .facilityLocation import FacilityLocationSelection
from .saturatedCoverage import SaturatedCoverageSelection
from .sumRedundancy import SumRedundancySele... | 30.666667 | 57 | 0.865942 | 52 | 552 | 9.115385 | 0.576923 | 0.042194 | 0.067511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004024 | 0.099638 | 552 | 18 | 58 | 30.666667 | 0.949698 | 0.110507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
10a56c452a80c150227f2dd356b62c91873f5a05 | 442 | py | Python | setup.py | haberdashPI/nu_wright_lab_util | 6ed933cb94a4ed11e8dcbcf253fbc8ce8bb651ef | [
"MIT"
] | null | null | null | setup.py | haberdashPI/nu_wright_lab_util | 6ed933cb94a4ed11e8dcbcf253fbc8ce8bb651ef | [
"MIT"
] | null | null | null | setup.py | haberdashPI/nu_wright_lab_util | 6ed933cb94a4ed11e8dcbcf253fbc8ce8bb651ef | [
"MIT"
] | null | null | null | from setuptools import setup
setup(name='nu_wright_lab_util',version='0.1.1',author='David Little',
packages=['nu_wright_lab_util'],
package_dir={'nu_wright_lab_util': 'src'},
package_data={'nu_wright_lab_util': ['stan/*.stan']},
requires=['statsmodels(>=0.5.0)',
'pystan(>=2.17.... | 40.181818 | 70 | 0.581448 | 57 | 442 | 4.263158 | 0.631579 | 0.131687 | 0.18107 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042614 | 0.20362 | 442 | 10 | 71 | 44.2 | 0.647727 | 0 | 0 | 0 | 0 | 0 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
52a6730ee2bf5d0ca36de9189b3d5ae052f42b52 | 223 | py | Python | examples/windows_case/bake_ami/src/run.py | Chhed13/terraform-aws-cd-on-ec2 | 79a0c168deafb2892432556eabd91b0bf86cf51a | [
"MIT"
] | 1 | 2021-04-21T10:45:07.000Z | 2021-04-21T10:45:07.000Z | examples/windows_case/bake_ami/src/run.py | Chhed13/terraform-aws-cd-on-ec2 | 79a0c168deafb2892432556eabd91b0bf86cf51a | [
"MIT"
] | null | null | null | examples/windows_case/bake_ami/src/run.py | Chhed13/terraform-aws-cd-on-ec2 | 79a0c168deafb2892432556eabd91b0bf86cf51a | [
"MIT"
] | 3 | 2020-01-21T00:38:09.000Z | 2022-02-22T04:40:42.000Z | import http.server
import socketserver
import os
import sys
with socketserver.TCPServer(("", 8000), http.server.SimpleHTTPRequestHandler) as httpd:
if len(sys.argv) > 1: os.chdir(sys.argv[1])
httpd.serve_forever()
| 24.777778 | 87 | 0.748879 | 31 | 223 | 5.354839 | 0.612903 | 0.120482 | 0.096386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030928 | 0.130045 | 223 | 8 | 88 | 27.875 | 0.824742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
52a94e6c6fe9c0e772adf46ca41226aebca09e6b | 570 | py | Python | stl_dsa/users/tests/test_urls.py | meagles/site | c54a61a0e9e98788086d0d9300baebbcac7fb625 | [
"MIT"
] | 4 | 2021-08-16T23:42:50.000Z | 2022-01-09T23:59:23.000Z | stl_dsa/users/tests/test_urls.py | meagles/site | c54a61a0e9e98788086d0d9300baebbcac7fb625 | [
"MIT"
] | 29 | 2020-12-30T20:43:48.000Z | 2022-03-23T01:57:32.000Z | stl_dsa/users/tests/test_urls.py | meagles/site | c54a61a0e9e98788086d0d9300baebbcac7fb625 | [
"MIT"
] | 2 | 2021-08-20T01:18:07.000Z | 2021-12-02T21:38:55.000Z | from django.urls import reverse, resolve
def test_detail():
assert reverse("users:detail") == "/myDSA/"
assert resolve("/myDSA/").view_name == "users:detail"
def test_update():
assert reverse("users:update") == "/myDSA/update/"
assert resolve("/myDSA/update/").view_name == "users:update"
def test_... | 25.909091 | 64 | 0.668421 | 68 | 570 | 5.426471 | 0.264706 | 0.075881 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149123 | 570 | 21 | 65 | 27.142857 | 0.760825 | 0 | 0 | 0 | 0 | 0 | 0.305263 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 1 | 0.307692 | true | 0 | 0.076923 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
52b3e44100b8b3c1c393bd33d3033cea2ab575cd | 251 | py | Python | src/boost/openshift/roles/_jenkins_xml_upload/filter_plugins/filename.py | Estafet-LTD/estafet-openshift-boost | 690db65401b17187f41aa6fb8bbef7567e2f6818 | [
"Apache-2.0"
] | 1 | 2020-12-27T15:06:02.000Z | 2020-12-27T15:06:02.000Z | src/boost/openshift/roles/_jenkins_xml_upload/filter_plugins/filename.py | Estafet-LTD/estafet-openshift-boost | 690db65401b17187f41aa6fb8bbef7567e2f6818 | [
"Apache-2.0"
] | 4 | 2020-08-14T12:02:46.000Z | 2021-05-12T23:17:20.000Z | src/boost/openshift/roles/_jenkins_xml_upload/filter_plugins/filename.py | Estafet-LTD/estafet-openshift-boost | 690db65401b17187f41aa6fb8bbef7567e2f6818 | [
"Apache-2.0"
] | 1 | 2022-02-06T15:06:01.000Z | 2022-02-06T15:06:01.000Z | #!/usr/bin/python
import os
class FilterModule(object):
def filters(self):
return {
'filename' : self.filename,
}
def filename(self, path):
head, tail = os.path.split(path)
return tail | 19.307692 | 40 | 0.537849 | 27 | 251 | 5 | 0.62963 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.350598 | 251 | 13 | 41 | 19.307692 | 0.828221 | 0.063745 | 0 | 0 | 0 | 0 | 0.034043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
52c9a61b1fd07055717d7d536f92ed9bd748220f | 80 | py | Python | scripts/teste 1.py | DeyvisonR/curso_python | 983b634d39f542369628ae48c7449ea75fd1ebbd | [
"MIT"
] | null | null | null | scripts/teste 1.py | DeyvisonR/curso_python | 983b634d39f542369628ae48c7449ea75fd1ebbd | [
"MIT"
] | null | null | null | scripts/teste 1.py | DeyvisonR/curso_python | 983b634d39f542369628ae48c7449ea75fd1ebbd | [
"MIT"
] | null | null | null | nome = input('qual e o seu nome? ')
print('bem vindo ao curso de python', nome)
| 26.666667 | 43 | 0.675 | 15 | 80 | 3.6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 80 | 2 | 44 | 40 | 0.830769 | 0 | 0 | 0 | 0 | 0 | 0.5875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
52d96c4ff2b0d6a1ae1f82896e057fc2cf946b81 | 147 | py | Python | esignanywhere_python_client/apps.py | frankhood/esignanywhere-python-client | e89440e4a0988dca6262084f3babed2d053599ad | [
"MIT"
] | null | null | null | esignanywhere_python_client/apps.py | frankhood/esignanywhere-python-client | e89440e4a0988dca6262084f3babed2d053599ad | [
"MIT"
] | null | null | null | esignanywhere_python_client/apps.py | frankhood/esignanywhere-python-client | e89440e4a0988dca6262084f3babed2d053599ad | [
"MIT"
] | null | null | null | # -*- coding: utf-8
from django.apps import AppConfig
class EsignanywherePythonClientConfig(AppConfig):
name = 'esignanywhere_python_client'
| 21 | 49 | 0.782313 | 15 | 147 | 7.533333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.129252 | 147 | 6 | 50 | 24.5 | 0.875 | 0.115646 | 0 | 0 | 0 | 0 | 0.210938 | 0.210938 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5e06d8e1919b776a4eb50e4c06f52b19778426e4 | 3,504 | py | Python | example/future/monster.py | maximest-pierre/WebCore | 543bfb79c0737917d1bd2a148eb61761ab6f6319 | [
"MIT"
] | 56 | 2015-05-13T16:08:06.000Z | 2021-12-26T22:24:46.000Z | example/future/monster.py | maximest-pierre/WebCore | 543bfb79c0737917d1bd2a148eb61761ab6f6319 | [
"MIT"
] | 104 | 2015-01-20T23:55:28.000Z | 2021-03-01T03:29:47.000Z | example/future/monster.py | maximest-pierre/WebCore | 543bfb79c0737917d1bd2a148eb61761ab6f6319 | [
"MIT"
] | 12 | 2015-05-22T15:46:39.000Z | 2021-09-16T00:38:54.000Z | # encoding: utf-8
"""Everything all in one convienent file.
Non-functional until the helpers get worked on a bit more.
"""
from web.dialect.route import route
from web.dialect.helper import Resource, Collection, method, render, require
from marrow.package.loader import load
# REST Resources
class Person(Resource... | 24.333333 | 93 | 0.626712 | 426 | 3,504 | 5.07277 | 0.460094 | 0.060157 | 0.013882 | 0.022212 | 0.08422 | 0.031467 | 0.031467 | 0 | 0 | 0 | 0 | 0.005033 | 0.262842 | 3,504 | 143 | 94 | 24.503497 | 0.831591 | 0.261986 | 0 | 0.175676 | 0 | 0 | 0.208301 | 0.03289 | 0 | 0 | 0 | 0 | 0 | 1 | 0.297297 | false | 0 | 0.067568 | 0.22973 | 0.797297 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5e0759cab4977b98b02bb04d6ebfcf1aef623f43 | 86 | py | Python | CodeWars/8 Kyu/Parse nice int from char problem.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/Parse nice int from char problem.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/Parse nice int from char problem.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def get_age(age):
for x in age:
if x.isdigit():
return int(x) | 21.5 | 26 | 0.488372 | 14 | 86 | 2.928571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.395349 | 86 | 4 | 26 | 21.5 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5e0bf7322a8d09df18be041eb4c0f4759f691274 | 325 | py | Python | venv/Lib/site-packages/pybrain3/optimization/__init__.py | ishatserka/MachineLearningAndDataAnalysisCoursera | e82e772df2f4aec162cb34ac6127df10d14a625a | [
"MIT"
] | null | null | null | venv/Lib/site-packages/pybrain3/optimization/__init__.py | ishatserka/MachineLearningAndDataAnalysisCoursera | e82e772df2f4aec162cb34ac6127df10d14a625a | [
"MIT"
] | null | null | null | venv/Lib/site-packages/pybrain3/optimization/__init__.py | ishatserka/MachineLearningAndDataAnalysisCoursera | e82e772df2f4aec162cb34ac6127df10d14a625a | [
"MIT"
] | null | null | null | from .hillclimber import HillClimber, StochasticHillClimber
from .randomsearch import RandomSearch, WeightGuessing, WeightMaskGuessing
from .neldermead import NelderMead
from .populationbased.__init__ import *
from .finitedifference.__init__ import *
from .distributionbased.__init__ import *
from .memetic.__init__ imp... | 46.428571 | 75 | 0.849231 | 31 | 325 | 8.387097 | 0.419355 | 0.153846 | 0.161538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095385 | 325 | 7 | 76 | 46.428571 | 0.884354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
eaad30921f58b2a423c0642fce0d28b06a70da1a | 419 | py | Python | buildscripts/resmokelib/logging/__init__.py | SunguckLee/real-mongodb | fef0e44fafc6d3709a84101327e7d2f54dd18d88 | [
"Apache-2.0"
] | 4 | 2018-02-06T01:53:12.000Z | 2018-02-20T01:47:36.000Z | buildscripts/resmokelib/logging/__init__.py | SunguckLee/real-mongodb | fef0e44fafc6d3709a84101327e7d2f54dd18d88 | [
"Apache-2.0"
] | null | null | null | buildscripts/resmokelib/logging/__init__.py | SunguckLee/real-mongodb | fef0e44fafc6d3709a84101327e7d2f54dd18d88 | [
"Apache-2.0"
] | 3 | 2018-02-06T01:53:18.000Z | 2021-07-28T09:48:15.000Z | """
Extension to the logging package to support buildlogger.
"""
from __future__ import absolute_import
# Alias the built-in logging.Logger class for type checking arguments. Those interested in
# constructing a new Logger instance should use the loggers.new_logger() function instead.
from logging import Logg... | 27.933333 | 91 | 0.770883 | 56 | 419 | 5.660714 | 0.589286 | 0.126183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181384 | 419 | 14 | 92 | 29.928571 | 0.924198 | 0.560859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
eadb0bc1fb0e7c59fea5de71f3f9ed5eab992150 | 233 | py | Python | .aux/venv/lib/python3.9/site-packages/sphinx_math_dollar/__init__.py | sonntagsgesicht/regtest | 160ef1089f797fbade48160efb0e1a386adbada7 | [
"Apache-2.0"
] | null | null | null | .aux/venv/lib/python3.9/site-packages/sphinx_math_dollar/__init__.py | sonntagsgesicht/regtest | 160ef1089f797fbade48160efb0e1a386adbada7 | [
"Apache-2.0"
] | null | null | null | .aux/venv/lib/python3.9/site-packages/sphinx_math_dollar/__init__.py | sonntagsgesicht/regtest | 160ef1089f797fbade48160efb0e1a386adbada7 | [
"Apache-2.0"
] | null | null | null | from .math_dollar import split_dollars
from .extension import setup, NODE_BLACKLIST
__all__ = ['split_dollars', 'setup', 'NODE_BLACKLIST']
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
| 25.888889 | 54 | 0.798283 | 30 | 233 | 5.633333 | 0.5 | 0.195266 | 0.213018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107296 | 233 | 8 | 55 | 29.125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.167382 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
eaf6296ba684ce6092ad7929637ee1ed2d2f3e36 | 362 | py | Python | snakemake_workflow_template/release_modules/create_identifiers/create_identifiers/regulondb_multigenomic/domain/operon.py | regulondbunam/RegulonDB-MCO-Felipe | 6e5546907399d5712a8e69f2f8320af8d30b9d7b | [
"MIT"
] | null | null | null | snakemake_workflow_template/release_modules/create_identifiers/create_identifiers/regulondb_multigenomic/domain/operon.py | regulondbunam/RegulonDB-MCO-Felipe | 6e5546907399d5712a8e69f2f8320af8d30b9d7b | [
"MIT"
] | null | null | null | snakemake_workflow_template/release_modules/create_identifiers/create_identifiers/regulondb_multigenomic/domain/operon.py | regulondbunam/RegulonDB-MCO-Felipe | 6e5546907399d5712a8e69f2f8320af8d30b9d7b | [
"MIT"
] | null | null | null | ACRONYM = "OPC"
def operon(**identifier_properties):
unique_data_string = [
identifier_properties.get("name", "NoName"),
identifier_properties.get("regulationPositions", {}).get("leftEndPosition", "NoLEND"),
identifier_properties.get("regulationPositions", {}).get("rightEndPosition", "NoRE... | 30.166667 | 94 | 0.69337 | 32 | 362 | 7.59375 | 0.5625 | 0.329218 | 0.283951 | 0.345679 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160221 | 362 | 11 | 95 | 32.909091 | 0.799342 | 0 | 0 | 0 | 0 | 0 | 0.259669 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
eaf6e479a93b290c9ce4c4a92bbf59aa61d3504c | 180 | py | Python | src/main.py | josiasMO/geneticPassiveWalker | 6530ec5153952999e22ed2c4271af7f228d04d50 | [
"MIT"
] | null | null | null | src/main.py | josiasMO/geneticPassiveWalker | 6530ec5153952999e22ed2c4271af7f228d04d50 | [
"MIT"
] | null | null | null | src/main.py | josiasMO/geneticPassiveWalker | 6530ec5153952999e22ed2c4271af7f228d04d50 | [
"MIT"
] | null | null | null | from genetic import Individual, Environment
from walker import Walker
from simulation import Simulation
env = Environment(Individual)
env.run()
while True:
env.simulateBest()
| 20 | 43 | 0.8 | 22 | 180 | 6.545455 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 180 | 8 | 44 | 22.5 | 0.929032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d801d5327a3f44bf9c49941aba3fa4cbc4fb5fdb | 990 | py | Python | mordred/SLogP.py | UnixJunkie/mordred | d65d3fa451aca3f32adf4124a83532978ae57e46 | [
"BSD-3-Clause"
] | 199 | 2017-04-26T07:40:32.000Z | 2022-03-29T10:52:19.000Z | mordred/SLogP.py | UnixJunkie/mordred | d65d3fa451aca3f32adf4124a83532978ae57e46 | [
"BSD-3-Clause"
] | 87 | 2016-01-15T09:02:20.000Z | 2022-03-21T23:18:08.000Z | mordred/SLogP.py | UnixJunkie/mordred | d65d3fa451aca3f32adf4124a83532978ae57e46 | [
"BSD-3-Clause"
] | 64 | 2018-03-07T13:21:47.000Z | 2022-03-16T00:56:11.000Z | r"""Wildman-Crippen LogP/MR descriptor.
References
* :doi:`10.1021/ci990307l`
"""
from rdkit.Chem import Crippen
from ._base import Descriptor
__all__ = ("SLogP", "SMR")
class WildmanCrippenBase(Descriptor):
__slots__ = ()
@classmethod
def preset(cls, version):
yield cls()
def __str_... | 17.678571 | 58 | 0.642424 | 110 | 990 | 5.509091 | 0.427273 | 0.09901 | 0.074257 | 0.062706 | 0.336634 | 0.240924 | 0.240924 | 0.240924 | 0.240924 | 0.240924 | 0 | 0.023841 | 0.237374 | 990 | 55 | 59 | 18 | 0.778808 | 0.173737 | 0 | 0.290323 | 0 | 0 | 0.07 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225806 | false | 0 | 0.064516 | 0.193548 | 0.806452 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d804c0cf7a3b2e07bebf5d4abaeb3e85f6095d55 | 685 | py | Python | wasamole/core/types.py | CarveSystems/wasamole | 4bb37e41c838772442f23fe8eac20eeb96b408b5 | [
"MIT"
] | 1 | 2021-11-19T15:17:17.000Z | 2021-11-19T15:17:17.000Z | wasamole/core/types.py | CarveSystems/wasamole | 4bb37e41c838772442f23fe8eac20eeb96b408b5 | [
"MIT"
] | null | null | null | wasamole/core/types.py | CarveSystems/wasamole | 4bb37e41c838772442f23fe8eac20eeb96b408b5 | [
"MIT"
] | null | null | null | import dataclasses
from enum import Enum
from typing import List, Dict, Optional
class ValueType(Enum):
i32 = 0x7F
i64 = 0x7E
f32 = 0x7D
f64 = 0x7C
class ElemType(Enum):
funcref = 0x70
class MutType(Enum):
const = 0x0
var = 0x1
@dataclasses.dataclass
class FunctionType:
params: L... | 13.979592 | 39 | 0.708029 | 76 | 685 | 6.381579 | 0.526316 | 0.206186 | 0.257732 | 0.14433 | 0.164948 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043152 | 0.221898 | 685 | 48 | 40 | 14.270833 | 0.866792 | 0 | 0 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037956 | 0 | 0 | 1 | 0 | false | 0 | 0.09375 | 0 | 0.84375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d82421766de4c7274853fc494af6a17e0a1bdeec | 164 | py | Python | settings/laser_scope_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | null | null | null | settings/laser_scope_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | 1 | 2019-10-22T21:28:31.000Z | 2019-10-22T21:39:12.000Z | settings/laser_scope_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | 2 | 2019-06-06T15:06:46.000Z | 2020-07-20T02:03:22.000Z | ip_address = 'id14l-scope.cars.aps.anl.gov:2000'
trig_count_name = 'losct_trig_count'
acq_count_name = 'losct_acq_count'
auto_synchronize = True
auto_acquire = True | 32.8 | 48 | 0.810976 | 27 | 164 | 4.518519 | 0.666667 | 0.147541 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.085366 | 164 | 5 | 49 | 32.8 | 0.773333 | 0 | 0 | 0 | 0 | 0 | 0.387879 | 0.2 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d83aa04e981fa40b5669ea06f311fef6b158ebaa | 55 | py | Python | app/defaults/Online_Marketing_Experiment/get_context.py | bartfrenk/streamingbandit | 4237a05b439c2c12912e813f0b76ccf8af382aef | [
"MIT"
] | 64 | 2017-05-21T06:08:57.000Z | 2022-01-25T14:44:54.000Z | app/defaults/Online_Marketing_Experiment/get_context.py | bartfrenk/streamingbandit | 4237a05b439c2c12912e813f0b76ccf8af382aef | [
"MIT"
] | 76 | 2017-05-04T10:30:59.000Z | 2020-05-07T06:43:03.000Z | app/defaults/Online_Marketing_Experiment/get_context.py | bartfrenk/streamingbandit | 4237a05b439c2c12912e813f0b76ccf8af382aef | [
"MIT"
] | 12 | 2017-05-04T13:10:23.000Z | 2020-02-22T17:12:49.000Z | self.context['maxpercentage'] = np.random.uniform(1,10) | 55 | 55 | 0.763636 | 8 | 55 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.036364 | 55 | 1 | 55 | 55 | 0.735849 | 0 | 0 | 0 | 0 | 0 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dc4508abefac19445b23a5ff2c602666a25946d7 | 3,687 | py | Python | lib/galaxy/managers/taggable.py | bensellak/galaxy | 020b145c8c0ee5f61543e87e5d1867ae717a6871 | [
"CC-BY-3.0"
] | 2 | 2017-10-23T14:44:12.000Z | 2018-01-14T10:37:28.000Z | lib/galaxy/managers/taggable.py | bensellak/galaxy | 020b145c8c0ee5f61543e87e5d1867ae717a6871 | [
"CC-BY-3.0"
] | 30 | 2016-10-20T15:35:12.000Z | 2018-10-02T15:59:54.000Z | lib/galaxy/managers/taggable.py | bensellak/galaxy | 020b145c8c0ee5f61543e87e5d1867ae717a6871 | [
"CC-BY-3.0"
] | 7 | 2016-11-03T19:11:01.000Z | 2020-05-11T14:23:52.000Z | """
Mixins for Taggable model managers and serializers.
"""
# from galaxy import exceptions as galaxy_exceptions
import logging
from galaxy.util import unicodify
log = logging.getLogger(__name__)
# TODO: work out the relation between serializers and managers and then fold these into the parent of the two
def _tag... | 29.97561 | 112 | 0.632493 | 495 | 3,687 | 4.517172 | 0.335354 | 0.029517 | 0.024598 | 0.023256 | 0.176208 | 0.176208 | 0.12254 | 0.095707 | 0.095707 | 0.067084 | 0 | 0.000377 | 0.279631 | 3,687 | 122 | 113 | 30.221311 | 0.841491 | 0.330892 | 0 | 0.140351 | 0 | 0 | 0.012609 | 0 | 0 | 0 | 0 | 0.016393 | 0 | 1 | 0.210526 | false | 0 | 0.035088 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
dc49955c269edad73a935ec5788ff3ac9a28d6d5 | 791 | py | Python | pyuubin/health.py | MichalMazurek/pyuubin | 383cdc491514aa9978ebc1cb639623a5dea92e64 | [
"Apache-2.0"
] | null | null | null | pyuubin/health.py | MichalMazurek/pyuubin | 383cdc491514aa9978ebc1cb639623a5dea92e64 | [
"Apache-2.0"
] | 1 | 2021-07-18T19:27:33.000Z | 2021-07-18T19:27:33.000Z | pyuubin/health.py | MichalMazurek/pyuubin | 383cdc491514aa9978ebc1cb639623a5dea92e64 | [
"Apache-2.0"
] | null | null | null | from collections import defaultdict
from copy import deepcopy
from typing import Any, Dict, List
def health_dict():
return defaultdict(health_dict)
_health = health_dict()
def update_health(key: str, value: Any):
"""Update health state.
Args:
key (str): key to update, it can be a dot delimite... | 22.6 | 87 | 0.643489 | 109 | 791 | 4.541284 | 0.394495 | 0.10101 | 0.109091 | 0.064646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008319 | 0.240202 | 791 | 34 | 88 | 23.264706 | 0.815308 | 0.230089 | 0 | 0 | 0 | 0 | 0.001706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.1875 | 0.125 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
dc7117748cf46a89203ba6b8ea9c539d4240c6a6 | 280 | py | Python | Kooleposhti/courses/admin.py | ParizanTeam/Kooleposhti-Backend | e7d819b3e93836f1a893cc51541056cbf681d1c6 | [
"MIT"
] | null | null | null | Kooleposhti/courses/admin.py | ParizanTeam/Kooleposhti-Backend | e7d819b3e93836f1a893cc51541056cbf681d1c6 | [
"MIT"
] | null | null | null | Kooleposhti/courses/admin.py | ParizanTeam/Kooleposhti-Backend | e7d819b3e93836f1a893cc51541056cbf681d1c6 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(Course)
admin.site.register(Category)
admin.site.register(Session)
admin.site.register(Goal)
admin.site.register(Rate)
admin.site.register(Tag)
admin.site.register(Comment)
admin.site.register(Order)
| 17.5 | 32 | 0.8 | 40 | 280 | 5.6 | 0.4 | 0.321429 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 280 | 15 | 33 | 18.666667 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dc77afeae5f2e12dbba648d9da5fadc6ea428428 | 129 | py | Python | elm_kernel/__init__.py | Omar-Elrefaei/ipython-elm-kernel | 4622b7ea5e968a37b87cf1f29bb8f24a0503c1ea | [
"BSD-3-Clause"
] | null | null | null | elm_kernel/__init__.py | Omar-Elrefaei/ipython-elm-kernel | 4622b7ea5e968a37b87cf1f29bb8f24a0503c1ea | [
"BSD-3-Clause"
] | 2 | 2020-05-06T21:00:19.000Z | 2020-05-09T16:04:03.000Z | elm_kernel/__init__.py | Omar-Elrefaei/ipython-elm-kernel | 4622b7ea5e968a37b87cf1f29bb8f24a0503c1ea | [
"BSD-3-Clause"
] | null | null | null | """The ELM Python Jupyter kernel"""
from ._version import __version__
__all__ = ['kernel', 'kernelapp', 'filters', '_version']
| 21.5 | 56 | 0.705426 | 14 | 129 | 5.785714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131783 | 129 | 5 | 57 | 25.8 | 0.723214 | 0.224806 | 0 | 0 | 0 | 0 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
dc8b6ba493a35c6e0b391c284bd3261e25c1be68 | 355 | py | Python | brainz/testRunner.py | capitancambio/brainz | 97a83e2c0cdfdfa646b8c830d12d0cf318fe2f67 | [
"MIT"
] | null | null | null | brainz/testRunner.py | capitancambio/brainz | 97a83e2c0cdfdfa646b8c830d12d0cf318fe2f67 | [
"MIT"
] | null | null | null | brainz/testRunner.py | capitancambio/brainz | 97a83e2c0cdfdfa646b8c830d12d0cf318fe2f67 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import unittest
import data.DataBufferTest
import data.DataWriterTest
suiteList=[
unittest.TestLoader().loadTestsFromTestCase(data.DataBufferTest.DataBufferTest),
unittest.TestLoader().loadTestsFromTestCase(data.DataWriterTest.DataWriterTest),
]
suite=unittest.TestSuite(suiteList)
unittest.Text... | 32.272727 | 81 | 0.842254 | 35 | 355 | 8.542857 | 0.514286 | 0.06689 | 0.26087 | 0.287625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002959 | 0.047887 | 355 | 10 | 82 | 35.5 | 0.881657 | 0.056338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
dca51f86ad858587539f0581b1ea073d63e74f3b | 47 | py | Python | bili_kits/version.py | LonelySteve/Bili-Kits | 42e536400b2f35d57e5871de34303b6f2fc901ed | [
"MIT"
] | null | null | null | bili_kits/version.py | LonelySteve/Bili-Kits | 42e536400b2f35d57e5871de34303b6f2fc901ed | [
"MIT"
] | null | null | null | bili_kits/version.py | LonelySteve/Bili-Kits | 42e536400b2f35d57e5871de34303b6f2fc901ed | [
"MIT"
] | null | null | null | script_name = 'Bili-Kits'
__version__ = '0.0.1' | 23.5 | 25 | 0.702128 | 8 | 47 | 3.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.106383 | 47 | 2 | 26 | 23.5 | 0.595238 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dcae07a3b20b27e118ef081e1d5ff2a583d91c0c | 118 | py | Python | setup.py | fufuok/FF.PyAdmin | 031fcafe70ecb78488876d0c61e30ca4fb4290af | [
"MIT"
] | 56 | 2019-11-26T15:42:29.000Z | 2022-03-10T12:28:07.000Z | setup.py | fufuok/FF.PyAdmin | 031fcafe70ecb78488876d0c61e30ca4fb4290af | [
"MIT"
] | 4 | 2020-03-20T01:51:47.000Z | 2022-03-30T22:10:56.000Z | setup.py | fufuok/FF.PyAdmin | 031fcafe70ecb78488876d0c61e30ca4fb4290af | [
"MIT"
] | 15 | 2019-11-26T15:42:33.000Z | 2022-03-09T05:41:44.000Z | #!/usr/bin/env python3
# -*- coding:utf-8 -*-
"""
setup.py
~~~~~~~~
安装服务
:author: Fufu, 2019/9/2
"""
| 11.8 | 27 | 0.449153 | 15 | 118 | 3.533333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 0.262712 | 118 | 9 | 28 | 13.111111 | 0.517241 | 0.762712 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dcb665abecdf96f1339b199fb8a712a14e523adb | 2,967 | py | Python | vehicle/models.py | Mixuigi/kursach_CTO | 22d55844321743afc2dcc268a8bfa99bd2cf144e | [
"MIT"
] | null | null | null | vehicle/models.py | Mixuigi/kursach_CTO | 22d55844321743afc2dcc268a8bfa99bd2cf144e | [
"MIT"
] | null | null | null | vehicle/models.py | Mixuigi/kursach_CTO | 22d55844321743afc2dcc268a8bfa99bd2cf144e | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
# Create your models here.
class Customer(models.Model):
user = models.OneToOneField(User, on_delete=models.CASCADE)
profile_pic = models.ImageField(upload_to='profile_pic/CustomerProfilePic/', null=True, blank=True)
address = models... | 34.905882 | 103 | 0.699697 | 370 | 2,967 | 5.456757 | 0.259459 | 0.111441 | 0.13373 | 0.178306 | 0.641902 | 0.572561 | 0.446756 | 0.429421 | 0.367013 | 0.329371 | 0 | 0.016796 | 0.177283 | 2,967 | 84 | 104 | 35.321429 | 0.810324 | 0.008089 | 0 | 0.370968 | 0 | 0 | 0.123767 | 0.021081 | 0 | 0 | 0 | 0 | 0 | 1 | 0.112903 | false | 0 | 0.032258 | 0.112903 | 0.822581 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f4a808795a67a0ba3f8203aee0c14659b9ac709e | 473 | py | Python | snap7/__init__.py | lubbbert/python-snap7 | edf1a5123d89571f2638a1c141e4e2c1ac410286 | [
"MIT"
] | 1 | 2022-03-09T06:51:12.000Z | 2022-03-09T06:51:12.000Z | snap7/__init__.py | lubbbert/python-snap7 | edf1a5123d89571f2638a1c141e4e2c1ac410286 | [
"MIT"
] | null | null | null | snap7/__init__.py | lubbbert/python-snap7 | edf1a5123d89571f2638a1c141e4e2c1ac410286 | [
"MIT"
] | null | null | null | """
The Snap7 Python library.
"""
import pkg_resources
import snap7.client as client
import snap7.common as common
import snap7.error as error
import snap7.logo as logo
import snap7.server as server
import snap7.types as types
import snap7.util as util
__all__ = ['client', 'common', 'error', 'logo', 'server', 'types'... | 23.65 | 74 | 0.748414 | 66 | 473 | 5.136364 | 0.348485 | 0.227139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031863 | 0.137421 | 473 | 19 | 75 | 24.894737 | 0.79902 | 0.052854 | 0 | 0 | 0 | 0 | 0.122727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.615385 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f4ba7c15ca6aa2163fdc0b589fdd4b7d6527f1f5 | 61 | py | Python | gae_app/lib/fixture/dataset/__init__.py | dcifuen/gentlemeet | a1209247de7af5f09723323ab8925e0e3b50bbe1 | [
"Apache-2.0"
] | 1 | 2015-03-27T21:57:40.000Z | 2015-03-27T21:57:40.000Z | gae_app/lib/fixture/dataset/__init__.py | dcifuen/gentlemeet | a1209247de7af5f09723323ab8925e0e3b50bbe1 | [
"Apache-2.0"
] | null | null | null | gae_app/lib/fixture/dataset/__init__.py | dcifuen/gentlemeet | a1209247de7af5f09723323ab8925e0e3b50bbe1 | [
"Apache-2.0"
] | null | null | null |
__all__ = ['DataSet']
from fixture.dataset.dataset import * | 15.25 | 37 | 0.737705 | 7 | 61 | 5.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 4 | 37 | 15.25 | 0.773585 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f4c3fe93bd0b8dead48fe7f91ad7fe01227c902d | 6,592 | py | Python | tests/test_weblint.py | leven-cn/python-weblint | ac691a22340c7d7e76cb9e2adba590fbe3f86272 | [
"Apache-2.0"
] | 4 | 2018-07-04T08:55:14.000Z | 2021-01-04T19:03:39.000Z | tests/test_weblint.py | leven-cn/python-weblint | ac691a22340c7d7e76cb9e2adba590fbe3f86272 | [
"Apache-2.0"
] | 2 | 2018-07-04T10:09:49.000Z | 2018-07-06T03:35:30.000Z | tests/test_weblint.py | leven-cn/python-weblint | ac691a22340c7d7e76cb9e2adba590fbe3f86272 | [
"Apache-2.0"
] | 1 | 2018-07-04T08:55:26.000Z | 2018-07-04T08:55:26.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import unittest
import pathlib
from weblint import weblint
class WebLintTests(unittest.TestCase):
def setUp(self):
self.maxDiff = None
def _test(self, fname, exxx, lineno, obj):
path = pathlib.Path(fname)
if isinstance(exxx, str):
... | 29.297778 | 72 | 0.563258 | 869 | 6,592 | 4.139241 | 0.18527 | 0.110926 | 0.202391 | 0.226856 | 0.023353 | 0.023353 | 0 | 0 | 0 | 0 | 0 | 0.16144 | 0.250152 | 6,592 | 224 | 73 | 29.428571 | 0.566255 | 0.006523 | 0 | 0 | 0 | 0 | 0.261494 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 1 | 0.373418 | false | 0 | 0.018987 | 0 | 0.398734 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f4c7e5a76efa1ba23cdc695968e71202da6d756b | 319 | py | Python | tests/unit/test_ratings.py | christopherjmedlin/grocernet | 5e45b9fcf72cb7701d57326548010ed2dba13c83 | [
"MIT"
] | null | null | null | tests/unit/test_ratings.py | christopherjmedlin/grocernet | 5e45b9fcf72cb7701d57326548010ed2dba13c83 | [
"MIT"
] | null | null | null | tests/unit/test_ratings.py | christopherjmedlin/grocernet | 5e45b9fcf72cb7701d57326548010ed2dba13c83 | [
"MIT"
] | null | null | null | from grocernet.util.ratings import get_rating_average
from grocernet.vendors.models import Rating
def test_get_rating_average():
ratings = [5, 5, 5, 3, 3, 3, 4, 2, 5, 2, 3, 1, 2, 3, 4, 5]
ratings = list(map(lambda r: Rating(r, 1, 1), ratings))
avg = get_rating_average(ratings)
assert avg == 3.44
| 31.9 | 62 | 0.664577 | 55 | 319 | 3.727273 | 0.436364 | 0.131707 | 0.234146 | 0.22439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082677 | 0.203762 | 319 | 9 | 63 | 35.444444 | 0.724409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f4e2b8610f14530d8ce9235d85695e044389f265 | 123 | py | Python | Wrapper_Intro/python_test_app/main.py | mccown/ffi-tutorials | 53ddfb6592541848f04fd7336689be10ca45c7ab | [
"Apache-2.0"
] | 1 | 2021-07-29T07:46:32.000Z | 2021-07-29T07:46:32.000Z | Wrapper_Intro/python_test_app/main.py | mccown/ffi-tutorials | 53ddfb6592541848f04fd7336689be10ca45c7ab | [
"Apache-2.0"
] | null | null | null | Wrapper_Intro/python_test_app/main.py | mccown/ffi-tutorials | 53ddfb6592541848f04fd7336689be10ca45c7ab | [
"Apache-2.0"
] | 1 | 2021-04-21T19:30:55.000Z | 2021-04-21T19:30:55.000Z | import library
value = True
print('\n The opposite of ' + str(value) + ' is ' + str(library.bool_inc_test(value)) + '\n')
| 24.6 | 93 | 0.650407 | 19 | 123 | 4.105263 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 123 | 4 | 94 | 30.75 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.203252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
f4e2ce9aa663118e7b5318df04108a4847c3bcdc | 812 | py | Python | test/integration/test_command_line.py | khanhduy1407/dvci | 69cf97526563950b88261507ede1ca4e349bed83 | [
"BSD-3-Clause"
] | null | null | null | test/integration/test_command_line.py | khanhduy1407/dvci | 69cf97526563950b88261507ede1ca4e349bed83 | [
"BSD-3-Clause"
] | null | null | null | test/integration/test_command_line.py | khanhduy1407/dvci | 69cf97526563950b88261507ede1ca4e349bed83 | [
"BSD-3-Clause"
] | null | null | null | import unittest
from . import assertPopen
class HelpTest(unittest.TestCase):
def test_help(self):
output = assertPopen(['dvci', 'help'])
self.assertRegex(
output, r'^usage: dvci \[-h\] \[--version\] COMMAND \.\.\.'
)
def test_help_subcommand(self):
output = assert... | 31.230769 | 77 | 0.631773 | 85 | 812 | 5.952941 | 0.376471 | 0.055336 | 0.166008 | 0.197628 | 0.403162 | 0.34585 | 0.146245 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 812 | 25 | 78 | 32.48 | 0.785714 | 0 | 0 | 0.111111 | 0 | 0 | 0.245074 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
761742d9a4be82d6540b4014f25319d73244052c | 354 | py | Python | reinforcement_learning/rl_hvac_coach_energyplus/src/eplus/envs/buildings/LargeOffice/example_eppy.py | jpmarques19/tensorflwo-test | 0ff8b06e0415075c7269820d080284a42595bb2e | [
"Apache-2.0"
] | 2,610 | 2020-10-01T14:14:53.000Z | 2022-03-31T18:02:31.000Z | reinforcement_learning/rl_hvac_coach_energyplus/src/eplus/envs/buildings/LargeOffice/example_eppy.py | jpmarques19/tensorflwo-test | 0ff8b06e0415075c7269820d080284a42595bb2e | [
"Apache-2.0"
] | 1,959 | 2020-09-30T20:22:42.000Z | 2022-03-31T23:58:37.000Z | reinforcement_learning/rl_hvac_coach_energyplus/src/eplus/envs/buildings/LargeOffice/example_eppy.py | jpmarques19/tensorflwo-test | 0ff8b06e0415075c7269820d080284a42595bb2e | [
"Apache-2.0"
] | 2,052 | 2020-09-30T22:11:46.000Z | 2022-03-31T23:02:51.000Z | from eppy.modeleditor import IDF
iddfile = "/Applications/EnergyPlus-8-8-0/Energy+.idd"
IDF.setiddname(iddfile)
idfname = "/Users/bhabalaj/Repositories/COML/pyEp/pyEp/pyEp/example_buildings/LargeOffice/LargeOfficeFUN.idf"
epwfile = "/Users/bhabalaj/Repositories/COML/pyEp/pyEp/SPtMasterTable_587017_2012_amy.epw"
idf ... | 32.181818 | 109 | 0.805085 | 47 | 354 | 5.978723 | 0.638298 | 0.085409 | 0.177936 | 0.206406 | 0.263345 | 0.263345 | 0 | 0 | 0 | 0 | 0 | 0.039157 | 0.062147 | 354 | 10 | 110 | 35.4 | 0.807229 | 0 | 0 | 0 | 0 | 0.142857 | 0.612994 | 0.612994 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7624df06df1d10974a6711dc89bee76bbe0db5cc | 837 | py | Python | mbcrawl/itemloaders.py | peonone/mbcrawl | ff15b2d03d4d2335f55f3231ad49c99582213149 | [
"MIT"
] | null | null | null | mbcrawl/itemloaders.py | peonone/mbcrawl | ff15b2d03d4d2335f55f3231ad49c99582213149 | [
"MIT"
] | null | null | null | mbcrawl/itemloaders.py | peonone/mbcrawl | ff15b2d03d4d2335f55f3231ad49c99582213149 | [
"MIT"
] | null | null | null | from scrapy.loader import ItemLoader
from scrapy.loader.processors import TakeFirst, Compose, Join, Identity
class TruncateOverLength:
def __init__(self, maxlen):
self.maxlen = maxlen
def __call__(self, val):
if not val:
return val
return val[:self.maxlen]
class Product... | 23.914286 | 71 | 0.724014 | 86 | 837 | 6.837209 | 0.44186 | 0.068027 | 0.096939 | 0.188776 | 0.187075 | 0.187075 | 0.187075 | 0.187075 | 0 | 0 | 0 | 0.01909 | 0.18638 | 837 | 34 | 72 | 24.617647 | 0.844347 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.090909 | 0.090909 | 0 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
76330478ea03c457c1ea5cb3cd9713d413696137 | 170 | py | Python | inbox/urls.py | IanSeng/CMPUT404_PROJECT | 80acd2c57de4b091e0e66ad9f5f2df17801bf09e | [
"W3C-20150513"
] | 1 | 2021-04-06T22:35:53.000Z | 2021-04-06T22:35:53.000Z | inbox/urls.py | IanSeng/CMPUT404_PROJECT | 80acd2c57de4b091e0e66ad9f5f2df17801bf09e | [
"W3C-20150513"
] | null | null | null | inbox/urls.py | IanSeng/CMPUT404_PROJECT | 80acd2c57de4b091e0e66ad9f5f2df17801bf09e | [
"W3C-20150513"
] | null | null | null | from django.urls import path
from inbox import views
app_name = 'inbox'
urlpatterns = [
path('<uuid:author_id>/inbox/', views.InboxView.as_view(), name='inbox')
]
| 17 | 76 | 0.705882 | 24 | 170 | 4.875 | 0.666667 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 170 | 9 | 77 | 18.888889 | 0.806897 | 0 | 0 | 0 | 0 | 0 | 0.194118 | 0.135294 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
520d1cfc5f47d2632679ad61e4ace23455d8dee9 | 6,243 | py | Python | django/pokemongo/migrations/0023_auto_20190210_2103.py | TrainerDex/trainerdex.co.uk | 82b029b8ac480686ec192233c5bc62521d480f88 | [
"Apache-2.0"
] | 1 | 2021-03-04T14:46:31.000Z | 2021-03-04T14:46:31.000Z | django/pokemongo/migrations/0023_auto_20190210_2103.py | TrainerDex/trainerdex.co.uk | 82b029b8ac480686ec192233c5bc62521d480f88 | [
"Apache-2.0"
] | 99 | 2020-09-10T11:00:59.000Z | 2022-03-29T09:08:40.000Z | django/pokemongo/migrations/0023_auto_20190210_2103.py | TrainerDex/trainerdex.co.uk | 82b029b8ac480686ec192233c5bc62521d480f88 | [
"Apache-2.0"
] | 1 | 2021-12-21T00:54:01.000Z | 2021-12-21T00:54:01.000Z | # Generated by Django 2.1.4 on 2019-02-10 21:03
from django.db import migrations, models
import django.db.models.deletion
import pokemongo.models
def move_sponerships_to_badges(apps, schema_editor):
Sponsorship = apps.get_model("pokemongo", "Sponsorship")
ProfileBadge = apps.get_model("pokemongo", "ProfileBa... | 32.685864 | 88 | 0.548294 | 545 | 6,243 | 5.93945 | 0.240367 | 0.07785 | 0.192771 | 0.222428 | 0.645042 | 0.627742 | 0.577695 | 0.503244 | 0.500772 | 0.500772 | 0 | 0.04112 | 0.353356 | 6,243 | 190 | 89 | 32.857895 | 0.760713 | 0.007208 | 0 | 0.56044 | 1 | 0 | 0.221917 | 0.150097 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005495 | false | 0 | 0.016484 | 0 | 0.038462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5243dd1f3932688658a73a89f48220edcfa28449 | 106 | py | Python | modules/unittest/project/settings/dev.py | msabramo/django-chuck | bbef6171c9b3738460dc05cb77e65ba88fcc5ad8 | [
"BSD-2-Clause"
] | 1 | 2020-05-29T04:27:50.000Z | 2020-05-29T04:27:50.000Z | modules/unittest/project/settings/dev.py | msabramo/django-chuck | bbef6171c9b3738460dc05cb77e65ba88fcc5ad8 | [
"BSD-2-Clause"
] | null | null | null | modules/unittest/project/settings/dev.py | msabramo/django-chuck | bbef6171c9b3738460dc05cb77e65ba88fcc5ad8 | [
"BSD-2-Clause"
] | null | null | null | #!chuck_extends project/settings/dev.py
#!chuck_appends SETTINGS
INSTALLED_APPS += ('test_utils',)
#!end
| 17.666667 | 39 | 0.764151 | 14 | 106 | 5.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084906 | 106 | 5 | 40 | 21.2 | 0.793814 | 0.613208 | 0 | 0 | 0 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
52529354fb575ac42545cd35e9982f9928546e33 | 1,386 | py | Python | web/forms/wtforms_tornado.py | mavidser/tardis-web-interface | d000c4910f373bd11e1f4692b446e071f8bb560e | [
"BSD-3-Clause"
] | null | null | null | web/forms/wtforms_tornado.py | mavidser/tardis-web-interface | d000c4910f373bd11e1f4692b446e071f8bb560e | [
"BSD-3-Clause"
] | null | null | null | web/forms/wtforms_tornado.py | mavidser/tardis-web-interface | d000c4910f373bd11e1f4692b446e071f8bb560e | [
"BSD-3-Clause"
] | null | null | null | # https://github.com/puentesarrin/wtforms-tornado
# This code is licensed under the Apache 2 License
# (http://www.apache.org/licenses/LICENSE-2.0)
# -*- coding: utf-8 -*-
from tornado import escape
from wtforms import form
class TornadoInputWrapper(object):
def __init__(self, multidict):
self._wrapped ... | 27.72 | 79 | 0.646465 | 170 | 1,386 | 4.988235 | 0.411765 | 0.07783 | 0.049528 | 0.042453 | 0.054245 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003791 | 0.238817 | 1,386 | 49 | 80 | 28.285714 | 0.8 | 0.163059 | 0 | 0 | 0 | 0 | 0.010517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.310345 | false | 0 | 0.068966 | 0.172414 | 0.689655 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
525c10bc94d27282aa1474f106b415d1a7ab3884 | 553 | py | Python | {{cookiecutter.repo_name}}/{{cookiecutter.app_name}}/app.py | mikekeda/cookiecutter-sanic | c9a0afee055ef5cfaf5a04549f33d72123741e5b | [
"MIT"
] | null | null | null | {{cookiecutter.repo_name}}/{{cookiecutter.app_name}}/app.py | mikekeda/cookiecutter-sanic | c9a0afee055ef5cfaf5a04549f33d72123741e5b | [
"MIT"
] | null | null | null | {{cookiecutter.repo_name}}/{{cookiecutter.app_name}}/app.py | mikekeda/cookiecutter-sanic | c9a0afee055ef5cfaf5a04549f33d72123741e5b | [
"MIT"
] | null | null | null | from sanic import Sanic
from sanic.response import json as sanic_json
from {{cookiecutter.app_name}}.models import DATABASE
from {{cookiecutter.app_name}}.resources.user import UsersView, UserView
from {{cookiecutter.app_name}}.utils import setup_database_creation_listener
app = Sanic(__name__)
app.add_route(UsersVie... | 30.722222 | 76 | 0.77396 | 77 | 553 | 5.311688 | 0.428571 | 0.117359 | 0.139364 | 0.168704 | 0.156479 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003984 | 0.092224 | 553 | 17 | 77 | 32.529412 | 0.810757 | 0 | 0 | 0 | 0 | 0 | 0.05425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.416667 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
526621d311f4501f8db0816a74cf330e912125ed | 407 | py | Python | pyspeedup/concurrent/__init__.py | cdusold/PySpeedup | 2f31eb215971d546d45eb0376a4dd393698b625f | [
"MIT"
] | null | null | null | pyspeedup/concurrent/__init__.py | cdusold/PySpeedup | 2f31eb215971d546d45eb0376a4dd393698b625f | [
"MIT"
] | 3 | 2015-06-03T21:27:59.000Z | 2015-07-11T06:37:38.000Z | pyspeedup/concurrent/__init__.py | cdusold/PySpeedup | 2f31eb215971d546d45eb0376a4dd393698b625f | [
"MIT"
] | null | null | null | """
.. moduleauthor:: Chris Dusold <PySpeedup@chrisdusold.com>
A module containing algorithm parallelization classes and methods.
The motivation for this module was to simplify the often overly convoluted
structure of the Python :mod:`multiprocessing` for common and simple uses
of parallelization.
"""
from pyspeedup... | 31.307692 | 74 | 0.815725 | 52 | 407 | 6.346154 | 0.711538 | 0.078788 | 0.139394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12285 | 407 | 12 | 75 | 33.916667 | 0.92437 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5286ba15a622b2d39cad96c1722463d0daf61f89 | 738 | py | Python | neteng/class_ex.py | bdlamprecht/python_class | 96549c95c05486531133d2edfaa7c43e08a63e9e | [
"MIT"
] | null | null | null | neteng/class_ex.py | bdlamprecht/python_class | 96549c95c05486531133d2edfaa7c43e08a63e9e | [
"MIT"
] | null | null | null | neteng/class_ex.py | bdlamprecht/python_class | 96549c95c05486531133d2edfaa7c43e08a63e9e | [
"MIT"
] | null | null | null | class NetworkDevice(object):
def __init__(self, ip, username, password):
self.ip = ip
self.username = username
self.password = password
def connect(self):
pass
def enable(self):
pass
def sh_ver(self):
pass
class NetworkDevice2(object):
def __init__(self, ip,... | 22.363636 | 47 | 0.621951 | 109 | 738 | 3.990826 | 0.220183 | 0.091954 | 0.101149 | 0.117241 | 0.450575 | 0.349425 | 0.303448 | 0.303448 | 0.124138 | 0 | 0 | 0.001832 | 0.260163 | 738 | 33 | 48 | 22.363636 | 0.794872 | 0 | 0 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.233333 | 0 | 0.1 | 0.566667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
52999506ce2b6ec8592cbeff038bf08949c8f008 | 275 | py | Python | src/a01/commands/__init__.py | Azure/adx-automation-client | 53ba242d76cccdf923b75f46e980028870e2effc | [
"MIT"
] | 3 | 2018-02-28T06:22:39.000Z | 2020-05-20T12:39:00.000Z | src/a01/commands/__init__.py | Azure/adx-automation-client | 53ba242d76cccdf923b75f46e980028870e2effc | [
"MIT"
] | 19 | 2018-02-26T21:13:43.000Z | 2018-05-02T16:33:35.000Z | src/a01/commands/__init__.py | Azure/adx-automation-client | 53ba242d76cccdf923b75f46e980028870e2effc | [
"MIT"
] | 6 | 2018-02-26T18:10:31.000Z | 2020-12-30T10:21:31.000Z | # pylint: disable=unused-import
from .create_run import create_run
from .get_task import get_task
from .get_run import get_run
from .get_runs import get_runs
from .repo_task import reproduce_task
from .login import login
from .logout import logout
from .whoami import whoami
| 27.5 | 37 | 0.829091 | 46 | 275 | 4.73913 | 0.326087 | 0.09633 | 0.091743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 275 | 9 | 38 | 30.555556 | 0.908333 | 0.105455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
bfda5b1da5b9a440c57dab5451b44d94eb8efc39 | 190 | py | Python | tests/test_redisstore.py | agounaris/lehmanbrothers | c82ce0c9ed1abc51170915153e15e5240726c607 | [
"MIT"
] | null | null | null | tests/test_redisstore.py | agounaris/lehmanbrothers | c82ce0c9ed1abc51170915153e15e5240726c607 | [
"MIT"
] | 1 | 2021-11-15T17:46:29.000Z | 2021-11-15T17:46:29.000Z | tests/test_redisstore.py | agounaris/warren | c82ce0c9ed1abc51170915153e15e5240726c607 | [
"MIT"
] | null | null | null | from warren.cache.redisstore import DataStore
class TestRedisstore(object):
def test_init(self):
dataStore = DataStore('test')
assert isinstance(dataStore, DataStore)
| 21.111111 | 47 | 0.721053 | 20 | 190 | 6.8 | 0.75 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194737 | 190 | 8 | 48 | 23.75 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bff8aa42cb56f386a40eb6fd87ea4f440437cbda | 353 | py | Python | examples/imports-function.py | mikelolasagasti/bandit | 3dca7820158ea04668878186a29d34e81bbd7fe3 | [
"Apache-2.0"
] | 4,016 | 2018-04-26T13:01:54.000Z | 2022-03-31T15:57:41.000Z | examples/imports-function.py | lweslen/bandit | 2bd1ffaae1b83102af8587dcbeecd0b402dbec4e | [
"Apache-2.0"
] | 570 | 2018-04-26T10:07:41.000Z | 2022-03-29T18:55:09.000Z | examples/imports-function.py | lweslen/bandit | 2bd1ffaae1b83102af8587dcbeecd0b402dbec4e | [
"Apache-2.0"
] | 484 | 2018-04-26T09:59:46.000Z | 2022-03-31T18:00:50.000Z | os = __import__("os")
pickle = __import__("pickle")
sys = __import__("sys")
subprocess = __import__("subprocess")
# this has been reported in the wild, though it's invalid python
# see bug https://bugs.launchpad.net/bandit/+bug/1396333
__import__()
# TODO(??): bandit can not find this one unfortunately (no symbol tab... | 27.153846 | 70 | 0.730878 | 49 | 353 | 4.77551 | 0.714286 | 0.136752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022876 | 0.133144 | 353 | 12 | 71 | 29.416667 | 0.74183 | 0.526912 | 0 | 0 | 0 | 0 | 0.190184 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
87059be0f9311022e7e149d87587ebdda9828fe2 | 1,899 | py | Python | test/test_localizations_api.py | getdyspatch/dyspatch-python | 23ffb05eff820944acf235fa3b225bf8caec903d | [
"Apache-2.0"
] | null | null | null | test/test_localizations_api.py | getdyspatch/dyspatch-python | 23ffb05eff820944acf235fa3b225bf8caec903d | [
"Apache-2.0"
] | null | null | null | test/test_localizations_api.py | getdyspatch/dyspatch-python | 23ffb05eff820944acf235fa3b225bf8caec903d | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Dyspatch API
# Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](ht... | 38.755102 | 845 | 0.737757 | 241 | 1,899 | 5.655602 | 0.456432 | 0.048423 | 0.061629 | 0.110051 | 0.341893 | 0.09978 | 0.09978 | 0.04989 | 0 | 0 | 0 | 0.013951 | 0.169563 | 1,899 | 48 | 846 | 39.5625 | 0.850349 | 0.648236 | 0 | 0.1875 | 0 | 0 | 0.013582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.1875 | 0.3125 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
870902ab628d69425b587b76762dc224382e3a24 | 629 | py | Python | tests/unit/expression/test_quantified.py | rinslow/regene | b1aa6cf9dcd436d547e9d4276bb850644dfc53aa | [
"MIT"
] | 2 | 2018-02-23T23:12:44.000Z | 2019-04-28T03:20:17.000Z | tests/unit/expression/test_quantified.py | rinslow/regene | b1aa6cf9dcd436d547e9d4276bb850644dfc53aa | [
"MIT"
] | 2 | 2018-02-27T21:36:24.000Z | 2018-03-09T11:28:44.000Z | tests/unit/expression/test_quantified.py | rinslow/regene | b1aa6cf9dcd436d547e9d4276bb850644dfc53aa | [
"MIT"
] | null | null | null | from unittest import TestCase
from regene.expression import Exactly
from regene.expression.quantified import Quantified
from regene.expression.string import String
class QuantifiedTest(TestCase):
def test_str(self):
assert Quantified(String("1"), Exactly(1)) == "1"
def test_quantifiers(self):
... | 28.590909 | 70 | 0.664547 | 76 | 629 | 5.407895 | 0.328947 | 0.068127 | 0.194647 | 0.189781 | 0.170316 | 0.170316 | 0.170316 | 0 | 0 | 0 | 0 | 0.028056 | 0.206677 | 629 | 21 | 71 | 29.952381 | 0.795591 | 0 | 0 | 0 | 0 | 0 | 0.019078 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 1 | 0.266667 | false | 0 | 0.266667 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8710fd3a2914b842bfa293422b7ba7659e0d469c | 1,889 | py | Python | sync/config.py | tstodden/google-sheets-sync | d3b73b9a2b76da1fabc6d0b1db43fc6b71fd0d23 | [
"MIT"
] | null | null | null | sync/config.py | tstodden/google-sheets-sync | d3b73b9a2b76da1fabc6d0b1db43fc6b71fd0d23 | [
"MIT"
] | null | null | null | sync/config.py | tstodden/google-sheets-sync | d3b73b9a2b76da1fabc6d0b1db43fc6b71fd0d23 | [
"MIT"
] | null | null | null | import logging
from typing import Dict, List
class Config:
def __init__(self, config: dict):
self._config = config
@property
def spreadsheet_id(self) -> str:
return self._get_required_property(self._config, "spreadsheet_id")
@property
def columns(self) -> List[str]:
retur... | 29.515625 | 76 | 0.659608 | 231 | 1,889 | 5.08658 | 0.190476 | 0.110638 | 0.121702 | 0.149787 | 0.557447 | 0.557447 | 0.540426 | 0.491064 | 0.455319 | 0.291915 | 0 | 0 | 0.231339 | 1,889 | 63 | 77 | 29.984127 | 0.809229 | 0 | 0 | 0.229167 | 0 | 0 | 0.075172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.291667 | false | 0 | 0.041667 | 0.25 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8714318a896b9f6bbbb528bda5e12aa103c35652 | 744 | py | Python | chapter_1/docstring.py | ibrahimawadhamid/clean-python | 36c30fb57f980ee6fb525142392fde8e477ad962 | [
"MIT"
] | null | null | null | chapter_1/docstring.py | ibrahimawadhamid/clean-python | 36c30fb57f980ee6fb525142392fde8e477ad962 | [
"MIT"
] | null | null | null | chapter_1/docstring.py | ibrahimawadhamid/clean-python | 36c30fb57f980ee6fb525142392fde8e477ad962 | [
"MIT"
] | null | null | null | from typing import NamedTuple
def get_prime_number():
"""Get a list of prime numbers between x and y."""
pass
def call_weather_api(url, location):
"""Get the weather of a specific location.
Calling weather API to check for weather by using weather API
and location. Make sure you provide city... | 28.615385 | 70 | 0.702957 | 113 | 744 | 4.557522 | 0.486726 | 0.097087 | 0.042718 | 0.069903 | 0.081553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233871 | 744 | 25 | 71 | 29.76 | 0.903509 | 0.651882 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
8715211ac31e15f9e5b205e4b930567b42187dcc | 8,077 | py | Python | procedural_buildings/parsing/Parser.py | JUST0M/procedural-buildings | d51add4bc769823d01f16fbe1d599d97650ec404 | [
"MIT"
] | 2 | 2021-04-13T10:46:20.000Z | 2021-07-04T09:30:49.000Z | procedural_buildings/parsing/Parser.py | JUST0M/procedural-buildings | d51add4bc769823d01f16fbe1d599d97650ec404 | [
"MIT"
] | null | null | null | procedural_buildings/parsing/Parser.py | JUST0M/procedural-buildings | d51add4bc769823d01f16fbe1d599d97650ec404 | [
"MIT"
] | null | null | null | from sly import Parser as SlyParser
from .Rule import Rule, Right, Left, Size
from .Lexer import Lexer
from ..Ops import *
from sympy import symbols, Eq, Ne
from numpy import pi
from ..RandRange import RandRange, RandIntRange
class Parser(SlyParser):
tokens = Lexer.tokens
precedence = (
... | 24.401813 | 90 | 0.5403 | 1,011 | 8,077 | 4.246291 | 0.143422 | 0.078034 | 0.146052 | 0.075472 | 0.485907 | 0.404146 | 0.284882 | 0.176101 | 0.123923 | 0.113673 | 0 | 0.00968 | 0.322149 | 8,077 | 330 | 91 | 24.475758 | 0.774429 | 0.011019 | 0 | 0.376 | 0 | 0 | 0.157888 | 0 | 0 | 0 | 0 | 0.00303 | 0 | 1 | 0.272 | false | 0 | 0.028 | 0.224 | 0.592 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8726600ae064ff248c087e3aa82280c70a11daad | 313 | py | Python | POP1/mocks/practical-four/test_question2.py | silvafj/BBK-MSCCS-2017-18 | d97b0f8e7434d19a1a4006989c32c4c1deb93842 | [
"MIT"
] | 1 | 2021-12-29T19:38:56.000Z | 2021-12-29T19:38:56.000Z | POP1/mocks/practical-four/test_question2.py | silvafj/BBK-MSCCS-2017-18 | d97b0f8e7434d19a1a4006989c32c4c1deb93842 | [
"MIT"
] | null | null | null | POP1/mocks/practical-four/test_question2.py | silvafj/BBK-MSCCS-2017-18 | d97b0f8e7434d19a1a4006989c32c4c1deb93842 | [
"MIT"
] | 2 | 2021-04-08T22:58:03.000Z | 2021-04-09T01:16:51.000Z | import pytest
from question2 import power
def test_power():
for i in range(5):
assert power(2, i) == 2**i
def test_power_value_error_a():
with pytest.raises(ValueError):
assert power(0, 1)
def test_power_value_error_n():
with pytest.raises(ValueError):
assert power(1, -1)
| 19.5625 | 35 | 0.664537 | 48 | 313 | 4.145833 | 0.479167 | 0.105528 | 0.180905 | 0.170854 | 0.592965 | 0.371859 | 0 | 0 | 0 | 0 | 0 | 0.033058 | 0.226837 | 313 | 15 | 36 | 20.866667 | 0.789256 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.272727 | false | 0 | 0.181818 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8730811d41ad56279804a2889596646d767f680b | 374 | py | Python | models.py | laurenlindsey1/endurance | bc90e7f0b348983437f358f1c1d8133d16396ead | [
"MIT"
] | 1 | 2021-09-23T05:11:25.000Z | 2021-09-23T05:11:25.000Z | models.py | laurenlindsey1/endurance | bc90e7f0b348983437f358f1c1d8133d16396ead | [
"MIT"
] | null | null | null | models.py | laurenlindsey1/endurance | bc90e7f0b348983437f358f1c1d8133d16396ead | [
"MIT"
] | null | null | null | from google.appengine.ext import ndb
class Routine(ndb.Model):
quantity = ndb.StringProperty()
description = ndb.StringProperty()
timestamp = ndb.DateProperty(auto_now_add=True)
usernickname=ndb.StringProperty()
class Awards(ndb.Model):
timestamp = ndb.DateProperty(auto_now_add=True)
routine_number=ndb.In... | 24.933333 | 49 | 0.783422 | 44 | 374 | 6.545455 | 0.5 | 0.236111 | 0.166667 | 0.194444 | 0.263889 | 0.263889 | 0.263889 | 0 | 0 | 0 | 0 | 0 | 0.109626 | 374 | 14 | 50 | 26.714286 | 0.864865 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
87482885138b77d5099e3f09f041d58fa2c09be8 | 1,038 | py | Python | Python3/1005.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 854 | 2018-11-09T08:06:16.000Z | 2022-03-31T06:05:53.000Z | Python3/1005.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 29 | 2019-06-02T05:02:25.000Z | 2021-11-15T04:09:37.000Z | Python3/1005.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 347 | 2018-12-23T01:57:37.000Z | 2022-03-12T14:51:21.000Z | __________________________________________________________________________________________________
sample 40 ms submission
class Solution:
def largestSumAfterKNegations(self, A, K):
A.sort()
l = len(A)
i = 0
while i < l and A[i] < 0 and K > 0:
A[i] = -A[i]
K ... | 29.657143 | 98 | 0.573218 | 101 | 1,038 | 2.960396 | 0.306931 | 0.040134 | 0.167224 | 0.173913 | 0.374582 | 0.374582 | 0.374582 | 0 | 0 | 0 | 0 | 0.027818 | 0.342004 | 1,038 | 34 | 99 | 30.529412 | 0.409956 | 0 | 0 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 3 |
5e435468e40b0117fcd987db5bbcebc5e20d8ebe | 1,478 | py | Python | sim/bin2hex.py | cpulabs/mist32_mist32e_rs1 | 53e042002adc1fe96a963f616db4bc4b04e549ec | [
"BSD-2-Clause"
] | 1 | 2021-05-13T23:32:55.000Z | 2021-05-13T23:32:55.000Z | sim/bin2hex.py | cpulabs/mist32_mist32e_rs1 | 53e042002adc1fe96a963f616db4bc4b04e549ec | [
"BSD-2-Clause"
] | null | null | null | sim/bin2hex.py | cpulabs/mist32_mist32e_rs1 | 53e042002adc1fe96a963f616db4bc4b04e549ec | [
"BSD-2-Clause"
] | 1 | 2022-01-16T15:31:39.000Z | 2022-01-16T15:31:39.000Z | import binascii
import sys
def bin2hex(bin_prog):
hex_prog = "";
j = 0;
for i in range(int(len(bin_prog)/8)):
hex_prog = hex_prog + (binascii.b2a_hex(bin_prog[(i*8)+4]));
hex_prog = hex_prog + (binascii.b2a_hex(bin_prog[(i*8)+5]));
hex_prog = hex_prog + (binascii.b2a_hex(bin_prog[(i*8)+6]));
hex_prog = hex_... | 28.980392 | 62 | 0.638701 | 266 | 1,478 | 3.259399 | 0.199248 | 0.306805 | 0.241061 | 0.290657 | 0.632065 | 0.632065 | 0.629758 | 0.592849 | 0.592849 | 0.592849 | 0 | 0.045455 | 0.151556 | 1,478 | 50 | 63 | 29.56 | 0.645933 | 0.044655 | 0 | 0.153846 | 0 | 0 | 0.037642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0.051282 | 0 | 0.102564 | 0.051282 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5e43c3bee7e4d2e3ee5d365030f78379419b4009 | 1,449 | py | Python | pnr/model/utils.py | dkStephanos/pnrRebuild | 2fceef0f601347b14f510ae3cd75d5e1166cf071 | [
"MIT"
] | 1 | 2020-03-09T15:27:43.000Z | 2020-03-09T15:27:43.000Z | pnr/model/utils.py | sealneaward/pnr-labels | 75bcf7778f9bda2db5165be037e47f8dfdbe50d1 | [
"MIT"
] | 7 | 2020-09-25T22:41:33.000Z | 2022-02-09T23:39:36.000Z | pnr/model/utils.py | sealneaward/pnr-labels | 75bcf7778f9bda2db5165be037e47f8dfdbe50d1 | [
"MIT"
] | null | null | null | import tensorflow as tf
def weight_variable(shape):
initial = tf.truncated_normal(shape, stddev=0.1)
return tf.Variable(initial, trainable=True)
def bias_variable(shape):
initial = tf.constant(0.1, shape=shape)
return tf.Variable(initial, trainable=False)
def conv2d(x, W):
return tf.nn.conv2d(x, W, strides... | 30.829787 | 95 | 0.68461 | 239 | 1,449 | 3.987448 | 0.317992 | 0.058762 | 0.01574 | 0.062959 | 0.26128 | 0.117524 | 0.084995 | 0 | 0 | 0 | 0 | 0.046053 | 0.160801 | 1,449 | 47 | 96 | 30.829787 | 0.737664 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28125 | false | 0 | 0.0625 | 0.15625 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5e4e904be0563e0a1eab75a3ec48e8fa8d650942 | 273 | py | Python | saleor/registration/backends/facebook.py | jdruiter/saleor | 9393ac20bd3e82c8ec1f17f6e47e3d7379f20419 | [
"BSD-3-Clause"
] | null | null | null | saleor/registration/backends/facebook.py | jdruiter/saleor | 9393ac20bd3e82c8ec1f17f6e47e3d7379f20419 | [
"BSD-3-Clause"
] | 1 | 2022-02-10T14:46:00.000Z | 2022-02-10T14:46:00.000Z | saleor/registration/backends/facebook.py | jdruiter/saleor | 9393ac20bd3e82c8ec1f17f6e47e3d7379f20419 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import unicode_literals
from social_core.backends.facebook import FacebookOAuth2
from . import BaseBackend
from ...site import AuthenticationBackends
class CustomFacebookOAuth2(BaseBackend, FacebookOAuth2):
DB_NAME = AuthenticationBackends.FACEBOOK
| 24.818182 | 56 | 0.846154 | 27 | 273 | 8.296296 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.10989 | 273 | 10 | 57 | 27.3 | 0.909465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5e536ecdd9714c74f8f83a914841a8253dabff70 | 522 | py | Python | __init__.py | pleslabay/CarRacing-mod | e416d7f5d6dc49731e64d85094256c30c5f7d4b3 | [
"MIT"
] | null | null | null | __init__.py | pleslabay/CarRacing-mod | e416d7f5d6dc49731e64d85094256c30c5f7d4b3 | [
"MIT"
] | null | null | null | __init__.py | pleslabay/CarRacing-mod | e416d7f5d6dc49731e64d85094256c30c5f7d4b3 | [
"MIT"
] | 1 | 2020-12-29T23:03:44.000Z | 2020-12-29T23:03:44.000Z | try:
import Box2D
from gym.envs.box2d.lunar_lander import LunarLander
from gym.envs.box2d.lunar_lander import LunarLanderContinuous
from gym.envs.box2d.bipedal_walker import BipedalWalker, BipedalWalkerHardcore
from gym.envs.box2d.car_racing_old import CarRacing
from gym.envs.box2d.car_racing_di... | 43.5 | 82 | 0.804598 | 72 | 522 | 5.680556 | 0.388889 | 0.119804 | 0.188264 | 0.273839 | 0.405868 | 0.405868 | 0.161369 | 0 | 0 | 0 | 0 | 0.029213 | 0.14751 | 522 | 11 | 83 | 47.454545 | 0.889888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.818182 | 0 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5e57f069050b2d1c16ec57fac89a7207ce9d40f6 | 58 | py | Python | __init__.py | mracine/stackmemory | e687c94363a3f074f61e8a90eb1c7be9602ecd0b | [
"BSD-3-Clause"
] | null | null | null | __init__.py | mracine/stackmemory | e687c94363a3f074f61e8a90eb1c7be9602ecd0b | [
"BSD-3-Clause"
] | null | null | null | __init__.py | mracine/stackmemory | e687c94363a3f074f61e8a90eb1c7be9602ecd0b | [
"BSD-3-Clause"
] | 2 | 2016-10-30T22:29:01.000Z | 2019-10-29T17:14:55.000Z | from .stackmemory import StackMemory
Default = StackMemory | 29 | 36 | 0.862069 | 6 | 58 | 8.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 58 | 2 | 37 | 29 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5e63b4347ad569675c5c7831b7e412bdb04db5d1 | 1,816 | py | Python | tests/test_dataset.py | bedroesb/ddipy | fec0c6954c6455ac2487c93542564a41909f715f | [
"Apache-2.0"
] | 1 | 2020-08-24T18:55:02.000Z | 2020-08-24T18:55:02.000Z | tests/test_dataset.py | bedroesb/ddipy | fec0c6954c6455ac2487c93542564a41909f715f | [
"Apache-2.0"
] | 8 | 2020-02-04T10:19:45.000Z | 2021-02-09T17:08:52.000Z | tests/test_dataset.py | bedroesb/ddipy | fec0c6954c6455ac2487c93542564a41909f715f | [
"Apache-2.0"
] | 2 | 2020-02-04T19:24:07.000Z | 2020-05-06T15:57:44.000Z | from unittest import TestCase
from ddipy.commons import Dataset
from ddipy.dataset_client import DatasetClient
class TestDataset(TestCase):
def test_get_object_from_json(self):
client = DatasetClient()
dataset = client.get_dataset_details("pride", "PXD000210")
# dataset = Dataset.get_ob... | 39.478261 | 156 | 0.721916 | 204 | 1,816 | 6.235294 | 0.333333 | 0.113208 | 0.201258 | 0.173742 | 0.424528 | 0.235063 | 0.073899 | 0.073899 | 0.073899 | 0 | 0 | 0.023304 | 0.196586 | 1,816 | 45 | 157 | 40.355556 | 0.848526 | 0.065529 | 0 | 0 | 0 | 0 | 0.157801 | 0.013593 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.035714 | false | 0 | 0.107143 | 0 | 0.178571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5e6af372137dff60839cc23db7cd256134be959f | 899 | py | Python | signalfx_gcf/__init__.py | theletterf/serverless-python | 0d10a9dfe41d4282772dea4ce4e5c4e355e3e9ea | [
"Apache-2.0"
] | null | null | null | signalfx_gcf/__init__.py | theletterf/serverless-python | 0d10a9dfe41d4282772dea4ce4e5c4e355e3e9ea | [
"Apache-2.0"
] | null | null | null | signalfx_gcf/__init__.py | theletterf/serverless-python | 0d10a9dfe41d4282772dea4ce4e5c4e355e3e9ea | [
"Apache-2.0"
] | 3 | 2019-08-31T13:15:35.000Z | 2021-12-20T09:27:11.000Z | # Copyright (C) 2019 SignalFx, Inc. All rights reserved.
from . import serverless
from .version import name, version
from . import utils
fields = utils.get_fields()
serverless.configure('gcf', fields)
# backwards compatibility
def wrapper(*args, **kwargs):
return serverless.wrapper(*args, **kwargs)
def e... | 23.051282 | 66 | 0.746385 | 110 | 899 | 5.927273 | 0.381818 | 0.092025 | 0.09816 | 0.128834 | 0.236196 | 0.220859 | 0.122699 | 0 | 0 | 0 | 0 | 0.006427 | 0.134594 | 899 | 38 | 67 | 23.657895 | 0.83162 | 0.154616 | 0 | 0 | 0 | 0 | 0.003984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0.176471 | 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 | 1 | 0 | 0 | 3 |
5e8fa7ae81ad290f7f4f0aae2bb41102ca6bcaed | 905 | py | Python | run.py | mkoo21/rss-review-scraper | 4adde8586ce55d7bb211bcfbb9bcccd1edc8b6a5 | [
"BSD-3-Clause"
] | null | null | null | run.py | mkoo21/rss-review-scraper | 4adde8586ce55d7bb211bcfbb9bcccd1edc8b6a5 | [
"BSD-3-Clause"
] | 1 | 2021-06-01T23:47:57.000Z | 2021-06-01T23:47:57.000Z | run.py | mkoo21/rss-review-scraper | 4adde8586ce55d7bb211bcfbb9bcccd1edc8b6a5 | [
"BSD-3-Clause"
] | null | null | null | import json
from mail import send_mail
from publications.nyt import NYT
from publications.new_yorker import NEW_YORKER
from publications.time_mag import TIME
from publications.variety import VARIETY
from publications.WSJ import WSJ
from publications.THR import THR
from publications.vulture import VULTURE
from publicati... | 27.424242 | 101 | 0.697238 | 120 | 905 | 5.133333 | 0.416667 | 0.207792 | 0.055195 | 0.058442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004202 | 0.21105 | 905 | 32 | 102 | 28.28125 | 0.858543 | 0 | 0 | 0.148148 | 0 | 0 | 0.099448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.37037 | 0 | 0.555556 | 0.037037 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5e90937bc3c51bca81505bbbd448ad937bdfc5fc | 216 | py | Python | droptopus/__main__.py | ArtBIT/Droptopus | c7eb6c36ec66c88ef8c75823bfaa74f2cf53601a | [
"MIT"
] | 2 | 2018-02-13T14:42:38.000Z | 2018-02-15T12:24:24.000Z | droptopus/__main__.py | ArtBIT/Droptopus | c7eb6c36ec66c88ef8c75823bfaa74f2cf53601a | [
"MIT"
] | 1 | 2021-06-01T23:37:13.000Z | 2021-06-01T23:37:13.000Z | droptopus/__main__.py | ArtBIT/Droptopus | c7eb6c36ec66c88ef8c75823bfaa74f2cf53601a | [
"MIT"
] | null | null | null | """
Droptopus
description: Drag'n'drop router that routes the dropped object to the specified action.
author: Djordje Ungar
website: https://github.com/ArtBIT/Droptopus
"""
from droptopus.__init__ import main
main()
| 24 | 87 | 0.787037 | 30 | 216 | 5.533333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115741 | 216 | 8 | 88 | 27 | 0.86911 | 0.759259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5ea20f44df3121389d4b938536506a7454e1f75d | 101 | py | Python | test/unit_test/screen/screen_test.py | JE-Chen/Python_JEAutoControl | 477bf9612e28e9ab6d0a8e269db2f699e50a3744 | [
"MIT"
] | 9 | 2020-10-12T06:33:36.000Z | 2021-09-13T07:07:36.000Z | test/unit_test/screen/screen_test.py | JE-Chen/Python_JEAutoControl | 477bf9612e28e9ab6d0a8e269db2f699e50a3744 | [
"MIT"
] | 2 | 2021-11-19T13:45:37.000Z | 2021-12-03T12:25:28.000Z | test/unit_test/screen/screen_test.py | JE-Chen/Python_JEAutoControl | 477bf9612e28e9ab6d0a8e269db2f699e50a3744 | [
"MIT"
] | null | null | null | from je_auto_control import size
screen_size = size()
assert (size() is not None)
print(screen_size)
| 20.2 | 32 | 0.782178 | 17 | 101 | 4.411765 | 0.705882 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 101 | 4 | 33 | 25.25 | 0.852273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5ea546eb451f9f796f77e98d92db09afbc597270 | 6,948 | py | Python | autogen/autogen.py | gaps-closure/HAL | 91eb29f27181589357b76eeb361e23849c70fa62 | [
"BSD-3-Clause"
] | null | null | null | autogen/autogen.py | gaps-closure/HAL | 91eb29f27181589357b76eeb361e23849c70fa62 | [
"BSD-3-Clause"
] | null | null | null | autogen/autogen.py | gaps-closure/HAL | 91eb29f27181589357b76eeb361e23849c70fa62 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/python3
# Autogeneration Utilities for CLOSURE
#
from codecwriter import CodecWriter
from dfdlwriter import DFDLWriter
from clang.cindex import Index, TokenKind
from lark.lexer import Lexer, Token
from argparse import ArgumentParser
from lark import Lark, Tree
from lark.v... | 41.357143 | 167 | 0.625216 | 842 | 6,948 | 5.093824 | 0.236342 | 0.054558 | 0.09093 | 0.03917 | 0.151784 | 0.103754 | 0.061786 | 0.046864 | 0 | 0 | 0 | 0.012895 | 0.252159 | 6,948 | 167 | 168 | 41.60479 | 0.812548 | 0.063615 | 0 | 0.013889 | 1 | 0 | 0.327021 | 0.003233 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.006944 | 0.069444 | 0.194444 | 0.333333 | 0.048611 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
5eb86699d3de175b5335aff05ecf4d0ecd2a59c4 | 193 | py | Python | config.py | wjtam/KHUx-Medals-Bot | 1caafbcf2a335e380b621e25008f8873def23481 | [
"MIT"
] | null | null | null | config.py | wjtam/KHUx-Medals-Bot | 1caafbcf2a335e380b621e25008f8873def23481 | [
"MIT"
] | null | null | null | config.py | wjtam/KHUx-Medals-Bot | 1caafbcf2a335e380b621e25008f8873def23481 | [
"MIT"
] | null | null | null | #template config.py
username = "foos" #reddit username
password = "bar" #reddit password
client_id = "1234567abcdefg" #14 char id
cilent_secret = "1234567890abcdefghijklmnopq" #27 char secret
| 32.166667 | 61 | 0.777202 | 23 | 193 | 6.434783 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.129534 | 193 | 5 | 62 | 38.6 | 0.755952 | 0.373057 | 0 | 0 | 0 | 0 | 0.413793 | 0.232759 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0d5d9d04cfe5ebc84eaa7dd7c1356eb7e7864b1c | 1,077 | py | Python | emr/medsteamdb/mssql.py | pawan0410/aig-reporting | cdb1db05bb930f1bda4e0903415adb7a9413cb82 | [
"0BSD"
] | null | null | null | emr/medsteamdb/mssql.py | pawan0410/aig-reporting | cdb1db05bb930f1bda4e0903415adb7a9413cb82 | [
"0BSD"
] | null | null | null | emr/medsteamdb/mssql.py | pawan0410/aig-reporting | cdb1db05bb930f1bda4e0903415adb7a9413cb82 | [
"0BSD"
] | null | null | null | import pymssql
from emr.config import Config
from flask import current_app
try:
med_streaming_emr_db_connection = pymssql.connect(
Config.MSSQL_HOST,
Config.MSSQL_USERNAME,
Config.MSSQL_PASSWORD,
"MedstreamingEMRDB"
)
med_streaming_emr_db = med_streaming_emr_db_connection.c... | 24.477273 | 89 | 0.732591 | 132 | 1,077 | 5.628788 | 0.234848 | 0.145357 | 0.121131 | 0.068641 | 0.788694 | 0.720054 | 0.685061 | 0.685061 | 0.685061 | 0.685061 | 0 | 0 | 0.199629 | 1,077 | 43 | 90 | 25.046512 | 0.861949 | 0 | 0 | 0.545455 | 0 | 0 | 0.046598 | 0.019571 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.090909 | 0.090909 | 0 | 0.090909 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0d5f4f0c4374339e95f523f2e602a9fa5d254652 | 89,369 | py | Python | pypbbot/protocol/onebot_frame_pb2.py | PHIKN1GHT/pypbbot_archived | 8ab70830509c43b0babc53c9972d0a73481bdaa2 | [
"MIT"
] | 11 | 2021-01-31T12:58:39.000Z | 2021-10-15T02:53:13.000Z | pypbbot/protocol/onebot_frame_pb2.py | PHIKN1GHT/pypbbot_archived | 8ab70830509c43b0babc53c9972d0a73481bdaa2 | [
"MIT"
] | null | null | null | pypbbot/protocol/onebot_frame_pb2.py | PHIKN1GHT/pypbbot_archived | 8ab70830509c43b0babc53c9972d0a73481bdaa2 | [
"MIT"
] | 4 | 2021-01-31T12:58:42.000Z | 2021-09-11T17:35:11.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: onebot_frame.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _sym... | 59.898794 | 12,441 | 0.777731 | 12,460 | 89,369 | 5.182986 | 0.070144 | 0.041158 | 0.053546 | 0.070022 | 0.757851 | 0.739641 | 0.692831 | 0.62476 | 0.472608 | 0.454583 | 0 | 0.050717 | 0.103593 | 89,369 | 1,491 | 12,442 | 59.938967 | 0.755414 | 0.003256 | 0 | 0.591684 | 1 | 0.001363 | 0.145054 | 0.0774 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00409 | 0 | 0.00409 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 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 | 3 |
0d7538ced0cf20bf76b54e5a7d1c2de4265231f4 | 92 | py | Python | uri/1011-sphere.py | thekilian/Python-pratica | 875661addd5b8eb4364bc638832c7ab55dcefce4 | [
"MIT"
] | null | null | null | uri/1011-sphere.py | thekilian/Python-pratica | 875661addd5b8eb4364bc638832c7ab55dcefce4 | [
"MIT"
] | null | null | null | uri/1011-sphere.py | thekilian/Python-pratica | 875661addd5b8eb4364bc638832c7ab55dcefce4 | [
"MIT"
] | null | null | null | r = float(input())
pi = 3.14159
vol = (4.0/3) * pi * (r**3)
print("VOLUME = %1.3f" %(vol)) | 15.333333 | 30 | 0.5 | 18 | 92 | 2.555556 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 0.195652 | 92 | 6 | 30 | 15.333333 | 0.459459 | 0 | 0 | 0 | 0 | 0 | 0.150538 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0d7d3d6c69cfb325cc05e3e88ed71b9c1ff11665 | 359 | py | Python | msph/exceptions.py | CultCornholio/solenya | 583cb5f36825808c7cdc2de03f565723a32ae8d3 | [
"MIT"
] | 11 | 2021-09-01T05:04:08.000Z | 2022-02-17T01:09:58.000Z | msph/exceptions.py | CultCornholio/solenya | 583cb5f36825808c7cdc2de03f565723a32ae8d3 | [
"MIT"
] | null | null | null | msph/exceptions.py | CultCornholio/solenya | 583cb5f36825808c7cdc2de03f565723a32ae8d3 | [
"MIT"
] | 2 | 2021-09-08T19:12:53.000Z | 2021-10-05T17:52:11.000Z | import colorful as cf
class CliAppError(Exception):
def __init__(self, msg, *args, no_spacing=False) -> None:
msg = f"{cf.red('ERROR')}:\n{msg}"
super().__init__(msg, *args)
class ValidationError(CliAppError):
def __init__(self, msg, *args, no_spacing=False) -> None:
super().__in... | 29.916667 | 61 | 0.651811 | 47 | 359 | 4.553191 | 0.468085 | 0.130841 | 0.126168 | 0.224299 | 0.336449 | 0.336449 | 0.336449 | 0.336449 | 0.336449 | 0 | 0 | 0 | 0.192201 | 359 | 12 | 62 | 29.916667 | 0.737931 | 0 | 0 | 0.25 | 0 | 0 | 0.069444 | 0.069444 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0d899c6dfc38a39a7e57e0447d6af260ef178c0c | 734 | py | Python | app/gripy_functions.py | giruenf/GRIPy-3 | ea0f5175bbdd966ca2df956f4667a806d035e532 | [
"Apache-2.0"
] | null | null | null | app/gripy_functions.py | giruenf/GRIPy-3 | ea0f5175bbdd966ca2df956f4667a806d035e532 | [
"Apache-2.0"
] | null | null | null | app/gripy_functions.py | giruenf/GRIPy-3 | ea0f5175bbdd966ca2df956f4667a806d035e532 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from app.gripy_function_manager import FunctionManager
from basic.temp.func import do_STFT, do_CWT
from classes.om import Log
from classes.ui import TrackObjectController
def register_app_functions():
FunctionManager.register_function(do_STFT,
"Fouri... | 34.952381 | 63 | 0.47139 | 53 | 734 | 6.339623 | 0.528302 | 0.035714 | 0.184524 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002618 | 0.479564 | 734 | 20 | 64 | 36.7 | 0.876963 | 0.02861 | 0 | 0.266667 | 0 | 0 | 0.04782 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | true | 0 | 0.266667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0dac78562ad497a2b5a520f3ec601e3f924d6742 | 472 | py | Python | tests/runner.py | pekrau/blobserver | f4c9411197033df9e8aefc1651dc6009c33e0c90 | [
"MIT"
] | 1 | 2022-03-09T09:23:28.000Z | 2022-03-09T09:23:28.000Z | tests/runner.py | pekrau/blobserver | f4c9411197033df9e8aefc1651dc6009c33e0c90 | [
"MIT"
] | 64 | 2021-02-19T19:31:15.000Z | 2022-02-25T10:18:26.000Z | tests/runner.py | pekrau/blobserver | f4c9411197033df9e8aefc1651dc6009c33e0c90 | [
"MIT"
] | 1 | 2021-03-01T13:06:37.000Z | 2021-03-01T13:06:37.000Z | "Test runner."
import unittest
import browser_anonymous
import browser_login
import browser_blob
import api_blob
loader = unittest.TestLoader()
suite = unittest.TestSuite()
suite.addTests(loader.loadTestsFromModule(browser_anonymous))
suite.addTests(loader.loadTestsFromModule(browser_login))
suite.addTests(loader.l... | 23.6 | 61 | 0.84322 | 54 | 472 | 7.222222 | 0.351852 | 0.133333 | 0.194872 | 0.389744 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002268 | 0.065678 | 472 | 19 | 62 | 24.842105 | 0.882086 | 0.025424 | 0 | 0 | 0 | 0 | 0.025424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.357143 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0db3731a6badada49a8080a28e80c89572757d18 | 158 | py | Python | config.py | VicOfDlt/JesStats | f787d3d87900934632ac44144760c273731565b0 | [
"MIT"
] | null | null | null | config.py | VicOfDlt/JesStats | f787d3d87900934632ac44144760c273731565b0 | [
"MIT"
] | null | null | null | config.py | VicOfDlt/JesStats | f787d3d87900934632ac44144760c273731565b0 | [
"MIT"
] | null | null | null | from motor import motor_tornado
import os
client = motor_tornado.MotorClient(
os.environ["mongodb"]
)
db = client["jesbot"]
token = os.environ['token']
| 15.8 | 35 | 0.727848 | 21 | 158 | 5.380952 | 0.571429 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14557 | 158 | 9 | 36 | 17.555556 | 0.837037 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0db73a68c5938784b5d786586f5d23ae57c1224f | 473 | py | Python | models.py | ryancollingwood/wow_avatar_history | 93c1b80edbb080ab3d9b06b4907c9f10bf30da47 | [
"Apache-2.0"
] | 1 | 2020-09-24T12:45:50.000Z | 2020-09-24T12:45:50.000Z | models.py | ryancollingwood/wow_avatar_history | 93c1b80edbb080ab3d9b06b4907c9f10bf30da47 | [
"Apache-2.0"
] | null | null | null | models.py | ryancollingwood/wow_avatar_history | 93c1b80edbb080ab3d9b06b4907c9f10bf30da47 | [
"Apache-2.0"
] | null | null | null | def create_classes(db):
class AvatarHistory(db.Model):
__tablename__ = 'avatar_history'
id = db.Column(db.Integer, primary_key=True)
level = db.Column(db.Integer)
guild = db.Column(db.String(64))
race = db.Column(db.String(64))
char_class = db.Column(db.Strin... | 29.5625 | 52 | 0.602537 | 59 | 473 | 4.627119 | 0.474576 | 0.175824 | 0.21978 | 0.234432 | 0.197802 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026087 | 0.270613 | 473 | 15 | 53 | 31.533333 | 0.765217 | 0 | 0 | 0 | 0 | 0 | 0.082452 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.083333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0dc35247ae3283289183f3728c920fb656c23134 | 16,020 | py | Python | pyhandle/tests/testcases/handleclient_2_read_patched_unit_test.py | merretbuurman/PYHANDLE | 3c621eda80e26fdec945d4d42f6b62d0dcc70726 | [
"Apache-2.0"
] | 7 | 2017-11-22T14:43:09.000Z | 2020-12-10T05:46:51.000Z | pyhandle/tests/testcases/handleclient_2_read_patched_unit_test.py | merretbuurman/PYHANDLE | 3c621eda80e26fdec945d4d42f6b62d0dcc70726 | [
"Apache-2.0"
] | 18 | 2017-05-10T10:29:12.000Z | 2021-02-10T23:16:27.000Z | pyhandle/tests/testcases/handleclient_2_read_patched_unit_test.py | merretbuurman/PYHANDLE | 3c621eda80e26fdec945d4d42f6b62d0dcc70726 | [
"Apache-2.0"
] | 13 | 2017-05-24T12:55:27.000Z | 2021-09-26T20:07:28.000Z | """Testing methods that normally need Handle server read access,
by patching the get request to replace read access."""
import sys
if sys.version_info < (2, 7):
import unittest2 as unittest
else:
import unittest
import mock
import json
import pyhandle
from pyhandle.client.resthandleclient import RESTHandleCli... | 43.651226 | 540 | 0.690262 | 1,811 | 16,020 | 5.929321 | 0.152954 | 0.035761 | 0.044701 | 0.043211 | 0.718942 | 0.700782 | 0.66856 | 0.651984 | 0.631123 | 0.604396 | 0 | 0.013209 | 0.215543 | 16,020 | 366 | 541 | 43.770492 | 0.841251 | 0.213483 | 0 | 0.638191 | 0 | 0 | 0.221704 | 0.069584 | 0 | 0 | 0 | 0 | 0.175879 | 1 | 0.090452 | false | 0.065327 | 0.045226 | 0 | 0.140704 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0dc7dc1596e797ff7ece5dfbe39ed88df9a70bff | 14,086 | py | Python | scale/storage/test/brokers/test_host_broker.py | stevevarner/scale | 9623b261db4ddcf770f00df16afc91176142bb7c | [
"Apache-2.0"
] | null | null | null | scale/storage/test/brokers/test_host_broker.py | stevevarner/scale | 9623b261db4ddcf770f00df16afc91176142bb7c | [
"Apache-2.0"
] | null | null | null | scale/storage/test/brokers/test_host_broker.py | stevevarner/scale | 9623b261db4ddcf770f00df16afc91176142bb7c | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
import os
import shutil
import tempfile
import uuid
import django
from django.test import TestCase
from mock import call, patch
import storage.test.utils as storage_test_utils
from storage.brokers.broker import FileDownload, FileMove, FileUpload
from storage.brokers.exceptions... | 40.017045 | 104 | 0.679824 | 1,941 | 14,086 | 4.59866 | 0.080371 | 0.047502 | 0.039211 | 0.048398 | 0.803832 | 0.717343 | 0.66592 | 0.586265 | 0.518485 | 0.455299 | 0 | 0.019183 | 0.208008 | 14,086 | 351 | 105 | 40.131054 | 0.780925 | 0.015547 | 0 | 0.433036 | 0 | 0 | 0.103137 | 0.057333 | 0 | 0 | 0 | 0 | 0.129464 | 0 | null | null | 0 | 0.053571 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0de0953ba834615e02d37329323e9c3bf3fe1f0a | 237 | py | Python | src/portals/admins/admin.py | IkramKhan-DevOps/pw-elearn | 41ac0c9a3dcc6141a25c2618a82bb2673e7f8986 | [
"MIT"
] | null | null | null | src/portals/admins/admin.py | IkramKhan-DevOps/pw-elearn | 41ac0c9a3dcc6141a25c2618a82bb2673e7f8986 | [
"MIT"
] | null | null | null | src/portals/admins/admin.py | IkramKhan-DevOps/pw-elearn | 41ac0c9a3dcc6141a25c2618a82bb2673e7f8986 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import (
Enroll, Course, Assignment, AssignmentContent
)
admin.site.register(Enroll)
admin.site.register(Course)
admin.site.register(Assignment)
admin.site.register(AssignmentContent)
| 18.230769 | 48 | 0.801688 | 28 | 237 | 6.785714 | 0.428571 | 0.189474 | 0.357895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 237 | 12 | 49 | 19.75 | 0.892019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0de6e4e8c7096424d1e60fcd71d42badfc7a5325 | 729 | py | Python | src/ctl/docs.py | grizz/ctl | 94d854980e27bb5083cca862879521404c3dbf2a | [
"Apache-2.0"
] | null | null | null | src/ctl/docs.py | grizz/ctl | 94d854980e27bb5083cca862879521404c3dbf2a | [
"Apache-2.0"
] | 33 | 2019-10-08T09:19:03.000Z | 2021-09-30T08:54:11.000Z | src/ctl/docs.py | grizz/ctl | 94d854980e27bb5083cca862879521404c3dbf2a | [
"Apache-2.0"
] | 1 | 2019-10-02T20:58:40.000Z | 2019-10-02T20:58:40.000Z | import confu.schema
class pymdgen_confu_types:
"""
Decorates a confu schema class to show pretty
class attribute types when generating docs with
pymdgen
TODO: should this maybe live in confu?
"""
def __init__(self):
pass
def __call__(self, cls):
for name in dir(cls):... | 26.035714 | 78 | 0.625514 | 93 | 729 | 4.591398 | 0.44086 | 0.074941 | 0.091335 | 0.079625 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285322 | 729 | 27 | 79 | 27 | 0.819578 | 0.193416 | 0 | 0 | 0 | 0 | 0.017857 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 1 | 0.2 | false | 0.066667 | 0.066667 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
0de9870b31c24e8af463c9a0b81beeb200d9dd3f | 1,770 | py | Python | src/onegov/town6/views/auth.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | src/onegov/town6/views/auth.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | src/onegov/town6/views/auth.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | """ The authentication views. """
from onegov.core.security import Public, Personal
from onegov.org.views.auth import (
handle_login, handle_registration, do_logout,
handle_password_reset_request, handle_password_reset
)
from onegov.town6 import TownApp
from onegov.town6.layout import DefaultLayout
from onego... | 34.705882 | 79 | 0.754802 | 215 | 1,770 | 6.083721 | 0.209302 | 0.117737 | 0.091743 | 0.058104 | 0.556575 | 0.379205 | 0.308869 | 0.09633 | 0.09633 | 0.09633 | 0 | 0.001318 | 0.142373 | 1,770 | 50 | 80 | 35.4 | 0.860343 | 0.030508 | 0 | 0.088235 | 0 | 0 | 0.045828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.147059 | false | 0.323529 | 0.264706 | 0.117647 | 0.558824 | 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 | 1 | 1 | 0 | 0 | 3 |
2177134d3f6cbefe1bf6ce4410b093aba868cde5 | 305 | py | Python | gym_socks/policies/__init__.py | ajthor/socks | 77063064ceb5a5da3f01733bef0885b00d4b2bed | [
"MIT"
] | null | null | null | gym_socks/policies/__init__.py | ajthor/socks | 77063064ceb5a5da3f01733bef0885b00d4b2bed | [
"MIT"
] | 1 | 2021-11-09T21:15:26.000Z | 2021-11-09T21:15:26.000Z | gym_socks/policies/__init__.py | ajthor/socks | 77063064ceb5a5da3f01733bef0885b00d4b2bed | [
"MIT"
] | null | null | null | from gym_socks.policies.policy import BasePolicy
from gym_socks.policies.policy import ConstantPolicy
from gym_socks.policies.policy import RandomizedPolicy
from gym_socks.policies.policy import ZeroPolicy
__all__ = [
"BasePolicy",
"ConstantPolicy",
"RandomizedPolicy",
"ZeroPolicy",
]
| 21.785714 | 54 | 0.783607 | 33 | 305 | 7 | 0.333333 | 0.121212 | 0.207792 | 0.34632 | 0.554113 | 0.554113 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140984 | 305 | 13 | 55 | 23.461538 | 0.881679 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
217f4148d90ad9cfbf28f6802ddcb05d6adaa8b4 | 64 | py | Python | mak/build_framework/configure/arch/ppc.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | 4 | 2015-05-13T16:28:36.000Z | 2017-05-24T15:34:14.000Z | mak/build_framework/configure/arch/ppc.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | mak/build_framework/configure/arch/ppc.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | 1 | 2017-03-21T08:28:07.000Z | 2017-03-21T08:28:07.000Z | def configure(conf):
conf.recurse('powerpc.py', once=False)
| 21.333333 | 42 | 0.703125 | 9 | 64 | 5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 2 | 43 | 32 | 0.803571 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
218eadc3bba8cffd72d436c8e3494e4e44d264ce | 231 | py | Python | myapp/app.py | felipemarkson/flask-factory-quick-start | 7d0ef52d5e0716677e999204a8bca40bcb395dd0 | [
"MIT"
] | null | null | null | myapp/app.py | felipemarkson/flask-factory-quick-start | 7d0ef52d5e0716677e999204a8bca40bcb395dd0 | [
"MIT"
] | 1 | 2020-05-11T20:44:58.000Z | 2020-05-11T20:44:58.000Z | myapp/app.py | felipemarkson/flask-factory-quick-start | 7d0ef52d5e0716677e999204a8bca40bcb395dd0 | [
"MIT"
] | null | null | null | from flask import Flask
# from extensions import myextension
from .blueprints import helloworld
def create_app():
app = Flask(__name__)
# myextension.init_app(app)
app.register_blueprint(helloworld.bp)
return app | 21 | 41 | 0.753247 | 29 | 231 | 5.758621 | 0.551724 | 0.107784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177489 | 231 | 11 | 42 | 21 | 0.878947 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
219c359acbeb09c691ffe1a84781769abc65382c | 395 | py | Python | kubernetes_typed/client/models/v1_topology_selector_term.py | nikhiljha/kubernetes-typed | 4f4b969aa400c88306f92560e56bda6d19b2a895 | [
"Apache-2.0"
] | 22 | 2020-12-10T13:06:02.000Z | 2022-02-13T21:58:15.000Z | kubernetes_typed/client/models/v1_topology_selector_term.py | nikhiljha/kubernetes-typed | 4f4b969aa400c88306f92560e56bda6d19b2a895 | [
"Apache-2.0"
] | 4 | 2021-03-08T07:06:12.000Z | 2022-03-29T23:41:45.000Z | kubernetes_typed/client/models/v1_topology_selector_term.py | nikhiljha/kubernetes-typed | 4f4b969aa400c88306f92560e56bda6d19b2a895 | [
"Apache-2.0"
] | 2 | 2021-09-05T19:18:28.000Z | 2022-03-14T02:56:17.000Z | # Code generated by `typeddictgen`. DO NOT EDIT.
"""V1TopologySelectorTermDict generated type."""
from typing import TypedDict, List
from kubernetes_typed.client import V1TopologySelectorLabelRequirementDict
V1TopologySelectorTermDict = TypedDict(
"V1TopologySelectorTermDict",
{
"matchLabelExpressions... | 28.214286 | 78 | 0.779747 | 29 | 395 | 10.586207 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014749 | 0.141772 | 395 | 13 | 79 | 30.384615 | 0.890855 | 0.227848 | 0 | 0 | 1 | 0 | 0.157191 | 0.157191 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
21c087cb81488b4ef5b74a01b52c1955234c4fd0 | 3,837 | py | Python | hackathon/ci.py | plang85/hackathon2017-11 | 717d93cbf6c0d0e71e6a2f427b2e22760eeebf5c | [
"Unlicense"
] | null | null | null | hackathon/ci.py | plang85/hackathon2017-11 | 717d93cbf6c0d0e71e6a2f427b2e22760eeebf5c | [
"Unlicense"
] | null | null | null | hackathon/ci.py | plang85/hackathon2017-11 | 717d93cbf6c0d0e71e6a2f427b2e22760eeebf5c | [
"Unlicense"
] | null | null | null | import pandas as pd
DELIM = '%'
class TestResult:
STATUS = ['passed', 'failed']
def __init__(self, name, cost, status):
self.name = name
self.cost = cost
self.istatus = self.STATUS.index(status)
def status(self):
return self.STATUS[self.istatus]
def __repr__(self):
... | 29.515385 | 110 | 0.632786 | 511 | 3,837 | 4.524462 | 0.16047 | 0.076125 | 0.038927 | 0.033737 | 0.15917 | 0.111592 | 0.09083 | 0.067474 | 0.067474 | 0.067474 | 0 | 0.004885 | 0.253062 | 3,837 | 129 | 111 | 29.744186 | 0.801814 | 0.030493 | 0 | 0.123596 | 0 | 0 | 0.038722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269663 | false | 0.022472 | 0.011236 | 0.134831 | 0.58427 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
21cacc5ad516789f7cf58dcb3b6bc36db51c6979 | 726 | py | Python | docs/CS161/StudentShowcase/YinYang.py | DavidJLu/CCUT | 755cdeaa36f4eac817d09efe29550843fa5a4fdc | [
"MIT"
] | 5 | 2018-06-04T16:11:56.000Z | 2021-02-25T21:59:58.000Z | docs/CS161/StudentShowcase/YinYang.py | DavidJLu/CCUT | 755cdeaa36f4eac817d09efe29550843fa5a4fdc | [
"MIT"
] | null | null | null | docs/CS161/StudentShowcase/YinYang.py | DavidJLu/CCUT | 755cdeaa36f4eac817d09efe29550843fa5a4fdc | [
"MIT"
] | 1 | 2019-02-21T21:22:55.000Z | 2019-02-21T21:22:55.000Z | import turtle
t = turtle.Turtle()
turtle.bgcolor("#FFFFFF")
t.penup()
t.goto(-40,-200)
t.pendown()
t.color("#000000")
t.speed(10)
t.pensize(3)
t.fillcolor('black')
t.begin_fill()
t.circle(200,180)
t.end_fill()
t.circle(200,180)
t.fillcolor('black')
t.begin_fill()
t.penup()
t.goto(-40,200)
t.pendown()
... | 16.133333 | 26 | 0.637741 | 129 | 726 | 3.511628 | 0.232558 | 0.099338 | 0.077263 | 0.121413 | 0.774834 | 0.768212 | 0.701987 | 0.644592 | 0.551876 | 0.423841 | 0 | 0.102236 | 0.137741 | 726 | 45 | 27 | 16.133333 | 0.621406 | 0 | 0 | 0.75 | 0 | 0 | 0.057101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022727 | 0 | 0.022727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
21dc4d0bdcbd604da3cd56595e2dae6326df3cd3 | 307 | py | Python | serendipiart/artgen/artist.py | tobiade/serendipi-art | 481383c2a8fbeab6955c8250e3e488a47b862d88 | [
"MIT"
] | null | null | null | serendipiart/artgen/artist.py | tobiade/serendipi-art | 481383c2a8fbeab6955c8250e3e488a47b862d88 | [
"MIT"
] | null | null | null | serendipiart/artgen/artist.py | tobiade/serendipi-art | 481383c2a8fbeab6955c8250e3e488a47b862d88 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
import io
class Artist(ABC):
@abstractmethod
def draw() -> io.BytesIO:
raise NotImplementedError
class ArtistFactory(ABC):
@abstractmethod
def make(self, seed: int, img_width: int, img_height: int) -> Artist:
raise NotImplementedError
| 20.466667 | 73 | 0.697068 | 35 | 307 | 6.057143 | 0.571429 | 0.240566 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218241 | 307 | 14 | 74 | 21.928571 | 0.883333 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1d0230277f47de07c9544e02350bbb4b7257b00c | 257 | py | Python | data-pipeline/bcreg/display_pipeline_status.py | esune/von-bc-registries-agent | 712008543e579eee46be23c418f2eeb41626bfcd | [
"Apache-2.0"
] | 1 | 2019-09-06T07:40:15.000Z | 2019-09-06T07:40:15.000Z | data-pipeline/bcreg/display_pipeline_status.py | esune/von-bc-registries-agent | 712008543e579eee46be23c418f2eeb41626bfcd | [
"Apache-2.0"
] | null | null | null | data-pipeline/bcreg/display_pipeline_status.py | esune/von-bc-registries-agent | 712008543e579eee46be23c418f2eeb41626bfcd | [
"Apache-2.0"
] | 1 | 2019-06-12T13:47:22.000Z | 2019-06-12T13:47:22.000Z | #!/usr/bin/python
import psycopg2
import datetime
import json
import decimal
from bcreg.config import config
from bcreg.eventprocessor import EventProcessor
with EventProcessor() as event_processor:
event_processor.display_event_processing_status()
| 18.357143 | 53 | 0.832685 | 32 | 257 | 6.53125 | 0.59375 | 0.086124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004405 | 0.116732 | 257 | 13 | 54 | 19.769231 | 0.9163 | 0.062257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
df1cef81ed3ba8af7ccd33e8507c63323417ddfe | 211 | py | Python | commands/close_pio_terminal.py | tablatronix/Deviot | ac77241301d607304b2b4d07adad3a707cfadca2 | [
"Apache-2.0"
] | 327 | 2015-12-12T05:09:09.000Z | 2022-03-31T21:36:59.000Z | commands/close_pio_terminal.py | tablatronix/Deviot | ac77241301d607304b2b4d07adad3a707cfadca2 | [
"Apache-2.0"
] | 326 | 2016-01-03T14:03:00.000Z | 2022-03-02T09:35:47.000Z | commands/close_pio_terminal.py | tablatronix/Deviot | ac77241301d607304b2b4d07adad3a707cfadca2 | [
"Apache-2.0"
] | 87 | 2015-12-12T17:31:02.000Z | 2022-03-31T21:37:00.000Z |
import sublime
import sublime_plugin
from ..platformio.pio_terminal import PioTerminal
class ClosePioTerminalCommand(sublime_plugin.WindowCommand):
def run(self):
PioTerminal().close_terminal()
| 17.583333 | 60 | 0.78673 | 22 | 211 | 7.363636 | 0.681818 | 0.160494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14218 | 211 | 11 | 61 | 19.181818 | 0.895028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
df1fdf30e3b78dc5d528c89cac8aee77dee65cc0 | 181 | py | Python | watpi/apps/login/urls.py | WatPi/WatPi | 60c77e12b2a28c3cc5cef894fae3b9089322db23 | [
"MIT"
] | 1 | 2021-01-02T23:48:19.000Z | 2021-01-02T23:48:19.000Z | watpi/apps/login/urls.py | WatPi/WatPi | 60c77e12b2a28c3cc5cef894fae3b9089322db23 | [
"MIT"
] | 47 | 2017-10-07T00:56:04.000Z | 2017-12-10T11:03:58.000Z | watpi/apps/login/urls.py | WatPi/WatPi | 60c77e12b2a28c3cc5cef894fae3b9089322db23 | [
"MIT"
] | 2 | 2017-10-09T03:56:02.000Z | 2017-10-16T01:24:14.000Z | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^$', views.index, name="login_main"),
url(r'^logout/$', views.logmeout, name="logout"),
]
| 22.625 | 54 | 0.629834 | 24 | 181 | 4.708333 | 0.625 | 0.070796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187845 | 181 | 7 | 55 | 25.857143 | 0.768707 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
df3166be35dc7ed61d964d8582c91e15f9f86db0 | 869 | py | Python | coffer/coffer.py | robobrobro/coffer | b0bcc6a57c3dfe1ffebbc43cd9bde7a6d1dcf493 | [
"MIT"
] | 1 | 2016-01-26T13:00:47.000Z | 2016-01-26T13:00:47.000Z | coffer/coffer.py | robobrobro/coffer | b0bcc6a57c3dfe1ffebbc43cd9bde7a6d1dcf493 | [
"MIT"
] | null | null | null | coffer/coffer.py | robobrobro/coffer | b0bcc6a57c3dfe1ffebbc43cd9bde7a6d1dcf493 | [
"MIT"
] | null | null | null | """
Secure storage container for treasures
"""
class Coffer(object):
"""
Secure storage container for treasures
Treasures must be removed to be modified and re-added to be
stored again.
"""
def __init__(self, path, *args, **kwargs):
"""
Creates a new coffer
"""
... | 21.725 | 67 | 0.561565 | 101 | 869 | 4.70297 | 0.485149 | 0.084211 | 0.088421 | 0.105263 | 0.143158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.330265 | 869 | 39 | 68 | 22.282051 | 0.816151 | 0.342923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0.083333 | 0 | 0.083333 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
df42c217187e0a6eef1e874a2506ddc995bac09a | 149 | py | Python | Programs/number-is-odd-or-even.py | Siddharth1698/Python-Bootcamp | c1e8198502e8bf5739cedb5e6fee3d8d1684ace6 | [
"Apache-2.0"
] | null | null | null | Programs/number-is-odd-or-even.py | Siddharth1698/Python-Bootcamp | c1e8198502e8bf5739cedb5e6fee3d8d1684ace6 | [
"Apache-2.0"
] | null | null | null | Programs/number-is-odd-or-even.py | Siddharth1698/Python-Bootcamp | c1e8198502e8bf5739cedb5e6fee3d8d1684ace6 | [
"Apache-2.0"
] | null | null | null | num = int(input("Enter a number"))
if (num%2) == 0:
print("{0} is a even number".format(num))
else:
print("{0} is odd number".format(num)) | 18.625 | 45 | 0.590604 | 26 | 149 | 3.384615 | 0.576923 | 0.136364 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.194631 | 149 | 8 | 46 | 18.625 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.34 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
10d78fff1734a14511062a7cb8c1a92b9ed6b4e3 | 115 | py | Python | netbox/apps.py | maznu/peering-manager | d249fcf530f4cc48b39429badb79bc203e0148ba | [
"Apache-2.0"
] | 127 | 2017-10-12T00:27:45.000Z | 2020-08-07T11:13:55.000Z | netbox/apps.py | maznu/peering-manager | d249fcf530f4cc48b39429badb79bc203e0148ba | [
"Apache-2.0"
] | 247 | 2017-12-26T12:55:34.000Z | 2020-08-08T11:57:35.000Z | netbox/apps.py | maznu/peering-manager | d249fcf530f4cc48b39429badb79bc203e0148ba | [
"Apache-2.0"
] | 63 | 2017-10-13T06:46:05.000Z | 2020-08-08T00:41:57.000Z | from django.apps import AppConfig
class NetboxConfig(AppConfig):
name = "netbox"
verbose_name = "NetBox"
| 16.428571 | 33 | 0.721739 | 13 | 115 | 6.307692 | 0.769231 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191304 | 115 | 6 | 34 | 19.166667 | 0.88172 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
10d9808880c33ea3f8c7aaa88711f7a8c801a3b4 | 38,169 | py | Python | src/mobile_control/mobileplatform_cmd_vel_ros_steptech.py | Musyue/mobile_robot | ed8a75c41e8ccaf1b48639239e4119bf2d1d5f65 | [
"MIT"
] | 6 | 2019-08-16T07:29:21.000Z | 2021-12-27T01:25:35.000Z | src/mobile_control/mobileplatform_cmd_vel_ros_steptech.py | Musyue/mobile_robot | ed8a75c41e8ccaf1b48639239e4119bf2d1d5f65 | [
"MIT"
] | null | null | null | src/mobile_control/mobileplatform_cmd_vel_ros_steptech.py | Musyue/mobile_robot | ed8a75c41e8ccaf1b48639239e4119bf2d1d5f65 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# coding=utf-8
import rospy
import sys
from std_msgs.msg import String,Float64,Bool,Int64MultiArray
# sys.path.append("..")
from ctypes import *
import yaml
import os
from math import *
from bitstring import Bits
from config.command import *
from can_analysis.can_analysis_driver import *
import ... | 61.266453 | 300 | 0.650345 | 5,069 | 38,169 | 4.606234 | 0.073585 | 0.101932 | 0.096921 | 0.101932 | 0.768041 | 0.730524 | 0.689494 | 0.673005 | 0.65142 | 0.631804 | 0 | 0.025276 | 0.211192 | 38,169 | 623 | 301 | 61.266453 | 0.750233 | 0.218581 | 0 | 0.237209 | 0 | 0 | 0.142128 | 0.052082 | 0 | 0 | 0.003402 | 0 | 0 | 0 | null | null | 0.002326 | 0.044186 | null | null | 0.044186 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8001a226bb32b43bb55d5770aee1629cced88a3e | 114 | py | Python | asy/__asy__.py | sasano8/asy | 76002032abdd7d641c0faafbcfa9748baa645126 | [
"MIT"
] | 2 | 2021-04-25T10:57:20.000Z | 2021-04-30T18:48:47.000Z | asy/__asy__.py | sasano8/asy | 76002032abdd7d641c0faafbcfa9748baa645126 | [
"MIT"
] | 5 | 2021-07-06T18:42:42.000Z | 2021-07-12T18:21:14.000Z | asy/__asy__.py | sasano8/asy | 76002032abdd7d641c0faafbcfa9748baa645126 | [
"MIT"
] | null | null | null | async def hello():
import asyncio
while True:
print("hello asy!")
await asyncio.sleep(1)
| 16.285714 | 30 | 0.578947 | 14 | 114 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.315789 | 114 | 6 | 31 | 19 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.