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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
705df8db7b54a202c940d4bc5840cfecbe67d347 | 20,717 | py | Python | python/tvm/topi/image/grid_sample.py | shengxinhu/tvm | 06c443e9959452c6da3a911fe0c11e08c5554477 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 4,640 | 2017-08-17T19:22:15.000Z | 2019-11-04T15:29:46.000Z | python/tvm/topi/image/grid_sample.py | shengxinhu/tvm | 06c443e9959452c6da3a911fe0c11e08c5554477 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 2,863 | 2017-08-17T19:55:50.000Z | 2019-11-04T17:18:41.000Z | python/tvm/topi/image/grid_sample.py | shengxinhu/tvm | 06c443e9959452c6da3a911fe0c11e08c5554477 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 1,352 | 2017-08-17T19:30:38.000Z | 2019-11-04T16:09:29.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 39.088679 | 99 | 0.587537 | 3,050 | 20,717 | 3.804918 | 0.09377 | 0.018096 | 0.022404 | 0.024128 | 0.757174 | 0.722447 | 0.713486 | 0.696079 | 0.681689 | 0.640155 | 0 | 0.032829 | 0.285418 | 20,717 | 529 | 100 | 39.162571 | 0.751081 | 0.398948 | 0 | 0.428016 | 0 | 0 | 0.053819 | 0 | 0 | 0 | 0 | 0 | 0.035019 | 1 | 0.101167 | false | 0 | 0.003891 | 0.023346 | 0.210117 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7074739932c033b530ab2e5909c682fe47da3cc5 | 91 | py | Python | tests/scenarios/simple-src/setup.py | zsimic/setupmeta | e62f1979ba08bc198c3beca12359383afec3e4d8 | [
"MIT"
] | 76 | 2018-02-06T19:32:00.000Z | 2020-12-05T01:10:24.000Z | tests/scenarios/simple-src/setup.py | zsimic/setupmeta | e62f1979ba08bc198c3beca12359383afec3e4d8 | [
"MIT"
] | 66 | 2018-07-15T21:47:55.000Z | 2021-01-07T20:27:06.000Z | tests/scenarios/simple-src/setup.py | zsimic/setupmeta | e62f1979ba08bc198c3beca12359383afec3e4d8 | [
"MIT"
] | 12 | 2018-07-19T23:58:22.000Z | 2020-11-02T10:53:12.000Z | from setuptools import setup
setup(
name="my-app",
setup_requires="setupmeta",
)
| 11.375 | 31 | 0.681319 | 11 | 91 | 5.545455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197802 | 91 | 7 | 32 | 13 | 0.835616 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 |
560e9f24d8abd474916a7c5238385e48b08c8a53 | 1,327 | py | Python | uiEvents/eventSpiderListItemWidget.py | fivecountry/pyResourceGet | c313f465e9119f2d690660da4da743e72d033a60 | [
"MIT"
] | null | null | null | uiEvents/eventSpiderListItemWidget.py | fivecountry/pyResourceGet | c313f465e9119f2d690660da4da743e72d033a60 | [
"MIT"
] | null | null | null | uiEvents/eventSpiderListItemWidget.py | fivecountry/pyResourceGet | c313f465e9119f2d690660da4da743e72d033a60 | [
"MIT"
] | null | null | null | #-*- coding:utf-8 -*-
from PyQt5.QtWidgets import *
from PyQt5.QtCore import *
from PyQt5.QtGui import *
from PyQt5.QtNetwork import *
from uiEvents.AWindowBase import *
from uiDefines.Ui_ListItemWidget2 import *
import os
import sys
import pathlib
import datetime
'''
这是SpiderListItemWidget窗体的实现类
'''
class FSpider... | 22.116667 | 65 | 0.636021 | 127 | 1,327 | 6.622047 | 0.527559 | 0.059453 | 0.053508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018145 | 0.252449 | 1,327 | 59 | 66 | 22.491525 | 0.829637 | 0.025622 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.193548 | false | 0.064516 | 0.322581 | 0.032258 | 0.580645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
56173bbd488915ee0fc18026b6bfca9d873a2763 | 188 | py | Python | stereo2mono.py | realningzheng/BinauralAudioTools | f7ad77d6dfc92068a29a01ab99ceb21497583475 | [
"CC-BY-4.0"
] | null | null | null | stereo2mono.py | realningzheng/BinauralAudioTools | f7ad77d6dfc92068a29a01ab99ceb21497583475 | [
"CC-BY-4.0"
] | null | null | null | stereo2mono.py | realningzheng/BinauralAudioTools | f7ad77d6dfc92068a29a01ab99ceb21497583475 | [
"CC-BY-4.0"
] | null | null | null | from pydub import AudioSegment
sound = AudioSegment.from_wav("./src/basketball-bouncing.wav")
sound = sound.set_channels(1)
sound.export("./src/basketball-bouncing_mono.wav", format="wav") | 47 | 64 | 0.787234 | 26 | 188 | 5.576923 | 0.576923 | 0.17931 | 0.289655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00565 | 0.058511 | 188 | 4 | 64 | 47 | 0.813559 | 0 | 0 | 0 | 0 | 0 | 0.349206 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
56348b9bc0bab336360a8fe32d3d730c2e6cec83 | 105 | py | Python | eeyore/stats/recursive_mean.py | papamarkou/eeyore | 4cd9b5a619cd095035aa93f348d1c937629aa8a3 | [
"MIT"
] | 6 | 2020-04-22T18:56:46.000Z | 2021-09-09T15:57:48.000Z | eeyore/stats/recursive_mean.py | papamarkou/eeyore | 4cd9b5a619cd095035aa93f348d1c937629aa8a3 | [
"MIT"
] | 19 | 2019-11-14T21:22:21.000Z | 2020-10-31T16:18:36.000Z | eeyore/stats/recursive_mean.py | scidom/eeyore | 4cd9b5a619cd095035aa93f348d1c937629aa8a3 | [
"MIT"
] | null | null | null | def recursive_mean(lastmean, n, x, offset=0):
k = n - offset
return ((k - 1) * lastmean + x) / k
| 26.25 | 45 | 0.571429 | 17 | 105 | 3.470588 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.266667 | 105 | 3 | 46 | 35 | 0.74026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
56398d4656d06aa873df45eb286e2d10d92fb97a | 269 | py | Python | bactrian/symbol.py | jmnel/bactrian | d4379d1ff59fb22c9b2ce4d8988caebe354c09e7 | [
"MIT"
] | null | null | null | bactrian/symbol.py | jmnel/bactrian | d4379d1ff59fb22c9b2ce4d8988caebe354c09e7 | [
"MIT"
] | null | null | null | bactrian/symbol.py | jmnel/bactrian | d4379d1ff59fb22c9b2ce4d8988caebe354c09e7 | [
"MIT"
] | null | null | null | from .expression import Expression
class Symbol(Expression):
def __init__(self, label):
self.label = label
def __repr__(self):
return '{}'.format(self.label)
def __neg__(self):
from .mul import Mul
return Mul((-1, self))
| 19.214286 | 38 | 0.613383 | 32 | 269 | 4.78125 | 0.46875 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005102 | 0.271375 | 269 | 13 | 39 | 20.692308 | 0.77551 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
567c8d06fa95e35ba730d9bae8ec8a04ea5dd382 | 1,819 | py | Python | urls.py | flamholz/equilibrator | 80521c3a2cabf7fd5a8f1be53faed801478be6cc | [
"MIT"
] | null | null | null | urls.py | flamholz/equilibrator | 80521c3a2cabf7fd5a8f1be53faed801478be6cc | [
"MIT"
] | null | null | null | urls.py | flamholz/equilibrator | 80521c3a2cabf7fd5a8f1be53faed801478be6cc | [
"MIT"
] | null | null | null | from django.conf.urls import patterns, include
from django.conf import settings
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT }),
... | 49.162162 | 100 | 0.717427 | 216 | 1,819 | 5.916667 | 0.384259 | 0.226135 | 0.115023 | 0.14241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113799 | 1,819 | 36 | 101 | 50.527778 | 0.792804 | 0.185816 | 0 | 0 | 0 | 0 | 0.638153 | 0.502376 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.12 | 0 | 0.12 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3b08bdb3c5601de89cf2c9aceaf351acac6599bc | 288 | py | Python | Numbers/Static_numbers_For_Loop/NUMBER_OF_FOR_LOOPE_3.py | Polamreddykrishnareddy/PatternPackage | 893ab468a637cd70a0dd8f6d60f7f5c75a3db58f | [
"MIT"
] | null | null | null | Numbers/Static_numbers_For_Loop/NUMBER_OF_FOR_LOOPE_3.py | Polamreddykrishnareddy/PatternPackage | 893ab468a637cd70a0dd8f6d60f7f5c75a3db58f | [
"MIT"
] | null | null | null | Numbers/Static_numbers_For_Loop/NUMBER_OF_FOR_LOOPE_3.py | Polamreddykrishnareddy/PatternPackage | 893ab468a637cd70a0dd8f6d60f7f5c75a3db58f | [
"MIT"
] | null | null | null | #3
for row in range(8):
for col in range(6):
if (row==0) or (row==1 and col==4) or (row==2 and col==3)or (row==3 and col==2)or (row==4 and col==3)or (row==5 and col==4) or row==6:
print("*",end=" ")
else:
print(" ",end=" ")
print()
| 32 | 143 | 0.454861 | 53 | 288 | 2.471698 | 0.358491 | 0.229008 | 0.10687 | 0.137405 | 0.366412 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.322917 | 288 | 8 | 144 | 36 | 0.594872 | 0.003472 | 0 | 0 | 0 | 0 | 0.014388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
3b2e7b0b000a5ddc9be764baf030c68d550b2e95 | 278 | py | Python | BuildClient.py | GeorgeVelikov/Werewolf-Framework | 6a4501cc98cab92111eec2551b9a3d2464adad7f | [
"MIT"
] | 1 | 2021-11-14T16:51:16.000Z | 2021-11-14T16:51:16.000Z | BuildClient.py | GeorgeVelikov/Werewolf-Framework | 6a4501cc98cab92111eec2551b9a3d2464adad7f | [
"MIT"
] | null | null | null | BuildClient.py | GeorgeVelikov/Werewolf-Framework | 6a4501cc98cab92111eec2551b9a3d2464adad7f | [
"MIT"
] | null | null | null | import PyInstaller.__main__
PyInstaller.__main__.run([
'Client\\ClientInstance.py',
'--onefile',
'--add-data=Shared\\*;.',
'--add-data=Werewolf\\*;.',
'--add-data=Client\\RLereWolf.png;.',
'--add-data=Client\\views;.',
'--hidden-import=pygubu',
]) | 21.384615 | 41 | 0.593525 | 28 | 278 | 5.607143 | 0.607143 | 0.178344 | 0.165605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147482 | 278 | 13 | 42 | 21.384615 | 0.662447 | 0 | 0 | 0 | 0 | 0 | 0.580645 | 0.548387 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3b38dc591612ae5b927ee0a8334b4bf657f0aa2e | 418 | py | Python | football/possible_values.py | Nburkhal/DS-OOP-Review | 36f0b51ebfa066cc657dccfb79e5140e308afe4e | [
"MIT"
] | null | null | null | football/possible_values.py | Nburkhal/DS-OOP-Review | 36f0b51ebfa066cc657dccfb79e5140e308afe4e | [
"MIT"
] | null | null | null | football/possible_values.py | Nburkhal/DS-OOP-Review | 36f0b51ebfa066cc657dccfb79e5140e308afe4e | [
"MIT"
] | null | null | null | team_names = ['Pittsburgh Steelers', 'Baltimore Ravens', 'NE Patriots', 'Miami Dolphins',
'Indianapolis Colts', 'Jacksonville Jaguars', 'Denver Broncos', 'KC Chiefs',
'Green Bay Packers', 'Chicago Bears', 'Dallas Cowboys', 'Philadelphia Eagles',
'New Orleans Saints', 'Atlanta... | 59.714286 | 93 | 0.657895 | 45 | 418 | 6.088889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217703 | 418 | 6 | 94 | 69.666667 | 0.83792 | 0.12201 | 0 | 0 | 0 | 0 | 0.659341 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3b62e9c1d5190403d5fa2db95edd7565404275ec | 343 | py | Python | tests/conftest.py | dlalic/warped | 53e6a30170f410491ac32709b848bc4b8a879140 | [
"MIT"
] | null | null | null | tests/conftest.py | dlalic/warped | 53e6a30170f410491ac32709b848bc4b8a879140 | [
"MIT"
] | 1 | 2020-09-24T04:58:03.000Z | 2020-09-28T04:56:16.000Z | tests/conftest.py | dlalic/warped | 53e6a30170f410491ac32709b848bc4b8a879140 | [
"MIT"
] | null | null | null | import random
import pytest
@pytest.fixture
def markers(request):
a = request.params[0] if hasattr(request, 'params') else 0.0
b = request.params[1] if hasattr(request, 'params') else 100.0
r = request.params[2] if hasattr(request, 'params') else 1000
return [(random.uniform(a, b), random.uniform(a, ... | 28.583333 | 75 | 0.685131 | 54 | 343 | 4.333333 | 0.444444 | 0.333333 | 0.205128 | 0.282051 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045775 | 0.172012 | 343 | 11 | 76 | 31.181818 | 0.778169 | 0 | 0 | 0 | 0 | 0 | 0.052478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.25 | 0 | 0.5 | 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 |
8e69b6904c44d2c0bd4e6bee6c76e1740405509e | 247 | py | Python | exercicios-Python/desaf020.py | marcelo-py/Exercicios-Python | d654d54821983897dbc377a2d3db97671dd75b5b | [
"MIT"
] | null | null | null | exercicios-Python/desaf020.py | marcelo-py/Exercicios-Python | d654d54821983897dbc377a2d3db97671dd75b5b | [
"MIT"
] | null | null | null | exercicios-Python/desaf020.py | marcelo-py/Exercicios-Python | d654d54821983897dbc377a2d3db97671dd75b5b | [
"MIT"
] | null | null | null | import random
n1 = str(input('Digite o primeiro nome: '))
n2 = str(input('Digite o segundo nome: '))
n3 = str(input('Digite o terceiro nome: '))
n4 = str(input('Digite o quarto nome: '))
ordem = [n1, n2, n3, n4]
random.shuffle(ordem)
print(ordem)
| 27.444444 | 43 | 0.672065 | 40 | 247 | 4.15 | 0.45 | 0.192771 | 0.337349 | 0.361446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038278 | 0.153846 | 247 | 8 | 44 | 30.875 | 0.755981 | 0 | 0 | 0 | 0 | 0 | 0.376518 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.125 | 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 |
8e6a086d84069dfa01be7b21221be66acb682ffe | 203 | py | Python | fabscript/example/execution_sequence/multi_setup.py | syunkitada/fabkit-repo | 126d3507c3d395ca70662eb18d1c12d4588eb3ec | [
"MIT"
] | null | null | null | fabscript/example/execution_sequence/multi_setup.py | syunkitada/fabkit-repo | 126d3507c3d395ca70662eb18d1c12d4588eb3ec | [
"MIT"
] | null | null | null | fabscript/example/execution_sequence/multi_setup.py | syunkitada/fabkit-repo | 126d3507c3d395ca70662eb18d1c12d4588eb3ec | [
"MIT"
] | null | null | null | # coding: utf-8
from fabkit import task
from multi_setup_lib import * # noqa
@task(is_bootstrap=False)
def setup1():
print 'setup 1'
@task(is_bootstrap=False)
def setup3():
print 'setup 3'
| 13.533333 | 37 | 0.694581 | 31 | 203 | 4.419355 | 0.645161 | 0.087591 | 0.218978 | 0.291971 | 0.335766 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030488 | 0.192118 | 203 | 14 | 38 | 14.5 | 0.804878 | 0.08867 | 0 | 0.25 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8e7be87a0fc0f2dba3fc20847f40c9ebb6ed4c8b | 452 | py | Python | core/src/zeit/cms/workingcopy/interfaces.py | rickdg/vivi | 16134ac954bf8425646d4ad47bdd1f372e089355 | [
"BSD-3-Clause"
] | 5 | 2019-05-16T09:51:29.000Z | 2021-05-31T09:30:03.000Z | core/src/zeit/cms/workingcopy/interfaces.py | rickdg/vivi | 16134ac954bf8425646d4ad47bdd1f372e089355 | [
"BSD-3-Clause"
] | 107 | 2019-05-24T12:19:02.000Z | 2022-03-23T15:05:56.000Z | core/src/zeit/cms/workingcopy/interfaces.py | rickdg/vivi | 16134ac954bf8425646d4ad47bdd1f372e089355 | [
"BSD-3-Clause"
] | 3 | 2020-08-14T11:01:17.000Z | 2022-01-08T17:32:19.000Z | import zope.container.interfaces
import zope.interface
# BBB:
from zeit.cms.checkout.interfaces import IWorkingcopy, ILocalContent # noqa
class IWorkingcopyLocation(zope.container.interfaces.IContainer):
"""Location for working copies of all users."""
def getWorkingcopy():
"""Get the working copy f... | 28.25 | 76 | 0.732301 | 51 | 452 | 6.490196 | 0.647059 | 0.060423 | 0.138973 | 0.102719 | 0.120846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168142 | 452 | 15 | 77 | 30.133333 | 0.880319 | 0.331858 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8e98d6f86ed654221b534ac52f63bb55c668b99d | 385 | py | Python | validation/exceptions/validation_error.py | moveaxlab/validation-py | c435b5b470bedde953a6f6a6363b8a268a20c926 | [
"MIT"
] | 1 | 2019-03-20T14:25:41.000Z | 2019-03-20T14:25:41.000Z | validation/exceptions/validation_error.py | moveaxlab/validation-py | c435b5b470bedde953a6f6a6363b8a268a20c926 | [
"MIT"
] | null | null | null | validation/exceptions/validation_error.py | moveaxlab/validation-py | c435b5b470bedde953a6f6a6363b8a268a20c926 | [
"MIT"
] | null | null | null | """ ValidationError """
from .error import Error
class ValidationError(Error):
""" The validation error tree """
def __init__(self, errors: list = None):
self.errors = errors or []
def get_errors(self) -> list:
return self.errors
def to_json(self) -> dict:
return {
... | 22.647059 | 64 | 0.592208 | 45 | 385 | 4.911111 | 0.488889 | 0.180995 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283117 | 385 | 16 | 65 | 24.0625 | 0.800725 | 0.109091 | 0 | 0 | 0 | 0 | 0.018237 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.2 | 0.7 | 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 |
8ea0954a679876ba75a2a9293d7e245047e1b6d9 | 1,774 | py | Python | app_LPB/migrations/0014_auto_20211107_1232.py | reglabel/ConquerTime | fe91c8eb02424246681814b7d5792c689e5787e0 | [
"MIT"
] | null | null | null | app_LPB/migrations/0014_auto_20211107_1232.py | reglabel/ConquerTime | fe91c8eb02424246681814b7d5792c689e5787e0 | [
"MIT"
] | null | null | null | app_LPB/migrations/0014_auto_20211107_1232.py | reglabel/ConquerTime | fe91c8eb02424246681814b7d5792c689e5787e0 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.9 on 2021-11-07 15:32
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app_LPB', '0013_auto_20211107_1204'),
]
operations = [
migrations.RemoveField(
model_name='tarefa',
name='ano_criaca... | 27.71875 | 162 | 0.52593 | 151 | 1,774 | 5.980132 | 0.417219 | 0.119601 | 0.199336 | 0.252492 | 0.643411 | 0.635659 | 0.465116 | 0 | 0 | 0 | 0 | 0.064991 | 0.349493 | 1,774 | 63 | 163 | 28.15873 | 0.717504 | 0.025366 | 0 | 0.631579 | 1 | 0 | 0.170237 | 0.013318 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.070175 | 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 |
8ec228fe7b35f27ecbb19ce61c9010853aa2e4d4 | 248 | py | Python | setup.py | mpariente/trial_package | 251a2b5dd3c6768c488f7f0094c2a5ee3ee63f5c | [
"MIT"
] | null | null | null | setup.py | mpariente/trial_package | 251a2b5dd3c6768c488f7f0094c2a5ee3ee63f5c | [
"MIT"
] | null | null | null | setup.py | mpariente/trial_package | 251a2b5dd3c6768c488f7f0094c2a5ee3ee63f5c | [
"MIT"
] | null | null | null | from setuptools import setup
setup(name='trial_package',
version='0.1',
description='Trial package to test relative imports before setup',
author='Manuel Pariente',
url='https://github.com/mpariente/trial_package',
)
| 27.555556 | 72 | 0.685484 | 30 | 248 | 5.6 | 0.8 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01005 | 0.197581 | 248 | 8 | 73 | 31 | 0.834171 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8ecd00c456fc41bd7ab5657c8f81c26fa9b77627 | 5,040 | py | Python | app/models.py | AngelMunoz/FlaskBlueprintsDemo | 5dedba524e7d1353c07fd877a586b0be02cf0383 | [
"MIT"
] | 2 | 2017-02-02T16:06:40.000Z | 2017-10-13T10:15:29.000Z | app/models.py | AngelMunoz/FlaskBlueprintsDemo | 5dedba524e7d1353c07fd877a586b0be02cf0383 | [
"MIT"
] | null | null | null | app/models.py | AngelMunoz/FlaskBlueprintsDemo | 5dedba524e7d1353c07fd877a586b0be02cf0383 | [
"MIT"
] | 4 | 2017-01-07T23:08:53.000Z | 2022-02-21T15:38:00.000Z | from app import db
from werkzeug import check_password_hash, generate_password_hash
from flask_login import UserMixin
class User(db.Model, UserMixin):
"""
Model Representing the user.
"""
__tablename__ = 'users'
id = db.Column(db.Integer, primary_key=True)
email = db.Colum... | 40.97561 | 86 | 0.589683 | 573 | 5,040 | 5.022688 | 0.17452 | 0.100069 | 0.125087 | 0.116748 | 0.633773 | 0.605629 | 0.595205 | 0.492008 | 0.47811 | 0.47811 | 0 | 0.013318 | 0.299802 | 5,040 | 123 | 87 | 40.97561 | 0.80221 | 0.064286 | 0 | 0.511364 | 1 | 0 | 0.026509 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.147727 | false | 0.147727 | 0.034091 | 0.056818 | 0.806818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
8edaf56802a4147337b9611f89e759bb2e9080b0 | 169 | py | Python | siteinfo/urls.py | holtgrewe/sodar_core | 116c5c8abc1dea483a640ba68af6d5cf4d27c8d7 | [
"MIT"
] | 11 | 2019-06-26T14:05:58.000Z | 2020-12-05T02:20:11.000Z | siteinfo/urls.py | holtgrewe/sodar_core | 116c5c8abc1dea483a640ba68af6d5cf4d27c8d7 | [
"MIT"
] | 11 | 2019-07-01T06:17:44.000Z | 2021-04-20T07:19:40.000Z | siteinfo/urls.py | bihealth/sodar-core | ac7397294b24aea352bc7842e75011ad8c1a2033 | [
"MIT"
] | 4 | 2019-06-26T07:49:50.000Z | 2020-05-19T21:58:10.000Z | from django.conf.urls import url
from . import views
app_name = 'siteinfo'
urlpatterns = [
url(regex=r'^info$', view=views.SiteInfoView.as_view(), name='info')
]
| 16.9 | 72 | 0.698225 | 24 | 169 | 4.833333 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147929 | 169 | 9 | 73 | 18.777778 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.106509 | 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 |
8ee9bb0a8cc70a74327f8027058b2b2bebb0146d | 210 | py | Python | kallisticore/models/base_model.py | jpmorganchase/kallisti-core | d9dfcaa2ec3c9cd26dd37b5f2c39c3788a3d05aa | [
"Apache-2.0"
] | 1 | 2022-03-03T14:27:25.000Z | 2022-03-03T14:27:25.000Z | kallisticore/models/base_model.py | jpmorganchase/kallisti-core | d9dfcaa2ec3c9cd26dd37b5f2c39c3788a3d05aa | [
"Apache-2.0"
] | null | null | null | kallisticore/models/base_model.py | jpmorganchase/kallisti-core | d9dfcaa2ec3c9cd26dd37b5f2c39c3788a3d05aa | [
"Apache-2.0"
] | 1 | 2022-03-09T05:57:55.000Z | 2022-03-09T05:57:55.000Z | from django.db import models
class BaseModel(models.Model):
@classmethod
def create(cls, *args, **kwargs):
return cls.objects.create(*args, **kwargs)
class Meta:
abstract = True
| 17.5 | 50 | 0.642857 | 25 | 210 | 5.4 | 0.76 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242857 | 210 | 11 | 51 | 19.090909 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8ef308e16bd1a5a4649080c2ec26f451c6710c78 | 321 | py | Python | examples/select_interface.py | charkster/u2if | ceab7e038435fc212641ecc35683fd05523dd5cd | [
"BSD-3-Clause"
] | 79 | 2021-04-18T14:03:24.000Z | 2022-03-27T06:03:44.000Z | examples/select_interface.py | charkster/u2if | ceab7e038435fc212641ecc35683fd05523dd5cd | [
"BSD-3-Clause"
] | 10 | 2021-04-21T20:28:42.000Z | 2022-03-19T21:47:15.000Z | examples/select_interface.py | charkster/u2if | ceab7e038435fc212641ecc35683fd05523dd5cd | [
"BSD-3-Clause"
] | 13 | 2021-04-18T14:32:25.000Z | 2022-03-26T01:22:48.000Z | import machine
# if there are multiple u2if connected, we must specify its serial number by this command before using it.
# Test with your id (use machine_info.py test program to get it)
machine.select_interface("0xE66038B713644F31")
print('S/N: %s' % machine.unique_id())
print('V/N: %s' % machine.firmware_version())... | 35.666667 | 106 | 0.757009 | 51 | 321 | 4.686275 | 0.784314 | 0.016736 | 0.075314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054152 | 0.137072 | 321 | 8 | 107 | 40.125 | 0.808664 | 0.520249 | 0 | 0 | 0 | 0 | 0.211921 | 0 | 0 | 0 | 0.119205 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
d906e4479b622d9b1ed18970c41cf67e8dbde077 | 299 | py | Python | tests/models.py | lesspointless/Shakal-NG | eee491af94527228735c2bca7644605effd74b37 | [
"MIT"
] | 10 | 2016-02-06T15:40:30.000Z | 2018-09-27T15:15:13.000Z | tests/models.py | lesspointless/Shakal-NG | eee491af94527228735c2bca7644605effd74b37 | [
"MIT"
] | 94 | 2016-02-04T18:39:36.000Z | 2022-01-20T05:25:00.000Z | tests/models.py | lesspointless/Shakal-NG | eee491af94527228735c2bca7644605effd74b37 | [
"MIT"
] | 8 | 2016-05-10T20:29:53.000Z | 2021-02-07T00:50:31.000Z | # -*- coding: utf-8 -*-
from django.db import models
from autoimagefield.fields import AutoImageField
class ImageFieldModel(models.Model):
image = AutoImageField(upload_to='test/thumbnails', resize_source=dict(size=(64, 64)), blank=True, null=True)
def __str__(self):
return self.image.path
| 24.916667 | 110 | 0.755853 | 40 | 299 | 5.5 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.113712 | 299 | 11 | 111 | 27.181818 | 0.811321 | 0.070234 | 0 | 0 | 0 | 0 | 0.054348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
d93328c288878a4fe0058c9ac1a21a7b36964ad5 | 4,337 | py | Python | test_nesteddict.py | jdrumgoole/nesteddict | a6bad333f700f7061459a9d4bef1eabdfa009f8c | [
"Apache-2.0"
] | 1 | 2021-04-14T17:59:04.000Z | 2021-04-14T17:59:04.000Z | test_nesteddict.py | jdrumgoole/nesteddict | a6bad333f700f7061459a9d4bef1eabdfa009f8c | [
"Apache-2.0"
] | 5 | 2020-03-24T16:36:55.000Z | 2021-03-21T12:02:10.000Z | test_nesteddict.py | jdrumgoole/nesteddict | a6bad333f700f7061459a9d4bef1eabdfa009f8c | [
"Apache-2.0"
] | null | null | null | """
Created on 3 May 2017
@author: jdrumgoole
"""
import unittest
from nesteddict import NestedDict
class TestNestedDict(unittest.TestCase):
def test_init(self):
x = NestedDict()
x['a'] = 1
self.assertEqual(x['a'], 1)
x = NestedDict({'a': 1, 'b': 2})
self.assertEqual(... | 29.910345 | 69 | 0.500346 | 632 | 4,337 | 3.382911 | 0.099684 | 0.287652 | 0.269411 | 0.11927 | 0.678672 | 0.627222 | 0.564079 | 0.48971 | 0.466324 | 0.408326 | 0 | 0.035726 | 0.27715 | 4,337 | 144 | 70 | 30.118056 | 0.646252 | 0.019829 | 0 | 0.415929 | 0 | 0 | 0.049269 | 0 | 0 | 0 | 0 | 0 | 0.575221 | 1 | 0.106195 | false | 0 | 0.017699 | 0 | 0.132743 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d966824f8811589e98334870af672b2999fab38a | 105 | py | Python | exemplos/ex002.py | figueiredo-alef/estud-python | f22351ecb966ec84433bb6078d92d4f31d5a0a7e | [
"MIT"
] | null | null | null | exemplos/ex002.py | figueiredo-alef/estud-python | f22351ecb966ec84433bb6078d92d4f31d5a0a7e | [
"MIT"
] | null | null | null | exemplos/ex002.py | figueiredo-alef/estud-python | f22351ecb966ec84433bb6078d92d4f31d5a0a7e | [
"MIT"
] | null | null | null | print('=' * 5, 'EX_003', '=' * 5)
nome = input('Digite seu nome: ')
print('Bem vindo, {}!'.format(nome))
| 26.25 | 36 | 0.552381 | 15 | 105 | 3.8 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05618 | 0.152381 | 105 | 3 | 37 | 35 | 0.58427 | 0 | 0 | 0 | 0 | 0 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 |
d971ce09a58d4174ada360aded4f3068ff062eab | 512 | py | Python | Parser.py | lfalcantar/PythonUrlParsing-ReporteDePuentes | 4bb87a4c93592eea5221bc87b9d723fb694ac154 | [
"MIT"
] | null | null | null | Parser.py | lfalcantar/PythonUrlParsing-ReporteDePuentes | 4bb87a4c93592eea5221bc87b9d723fb694ac154 | [
"MIT"
] | null | null | null | Parser.py | lfalcantar/PythonUrlParsing-ReporteDePuentes | 4bb87a4c93592eea5221bc87b9d723fb694ac154 | [
"MIT"
] | null | null | null | # Import modules
import Constants
from xml.dom import minidom
import urllib2
dom = minidom.parse(urllib2.urlopen(Constants.URL))
date = dom.getElementsByTagName(Constants.LAST_UPDATED_DATE)
time = dom.getElementsByTagName(Constants.BORDER_WAIT_TIME)
print("Date :" + str(date))
print("Time :" + str(time))
ports = dom... | 24.380952 | 97 | 0.746094 | 67 | 512 | 5.626866 | 0.477612 | 0.307692 | 0.254642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.125 | 512 | 21 | 98 | 24.380952 | 0.832589 | 0.058594 | 0 | 0 | 0 | 0 | 0.054167 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 1 | 0 | false | 0 | 0.230769 | 0 | 0.230769 | 0.230769 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d982a4c92c91cad2f5ecc432269f7e6ebde6590c | 3,718 | py | Python | test/media/ev3dev/test_image.py | drewwhis/pybricks-fll | 9d6672df9aeef375d3cd0983dc710abeebf9c798 | [
"MIT"
] | 17 | 2019-08-30T12:30:34.000Z | 2021-11-02T16:06:46.000Z | test/media/ev3dev/test_image.py | drewwhis/pybricks-fll | 9d6672df9aeef375d3cd0983dc710abeebf9c798 | [
"MIT"
] | 19 | 2019-10-20T04:01:20.000Z | 2021-09-03T18:47:07.000Z | test/media/ev3dev/test_image.py | drewwhis/pybricks-fll | 9d6672df9aeef375d3cd0983dc710abeebf9c798 | [
"MIT"
] | 8 | 2019-09-21T03:13:21.000Z | 2020-12-23T17:16:52.000Z | from unittest import TestCase
from pybricks.media.ev3dev.__stub.__image import Image
from pybricks.media.ev3dev.__stub.__imagefile import ImageFile
from pybricks.parameters.__stub.__color import Color
from pybricks.media.ev3dev.__stub.__font import Font
class TestImage(TestCase):
def test_constructor(self):
... | 35.409524 | 75 | 0.618074 | 492 | 3,718 | 4.546748 | 0.123984 | 0.036656 | 0.291015 | 0.212338 | 0.696916 | 0.617792 | 0.592758 | 0.464908 | 0.273581 | 0.160036 | 0 | 0.035878 | 0.235342 | 3,718 | 104 | 76 | 35.75 | 0.750967 | 0 | 0 | 0.244186 | 0 | 0 | 0.029317 | 0 | 0 | 0 | 0 | 0 | 0.44186 | 1 | 0.162791 | false | 0 | 0.05814 | 0 | 0.232558 | 0.081395 | 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 |
d982d40ef655d7ecf92e32358d9c0d56b2a4adce | 460 | py | Python | Dmail/esp/yahoo.py | hmiladhia/Dmail | 386350331cc5973f79cd4ce42a9a23cfb3a8b87a | [
"MIT"
] | 6 | 2020-11-28T18:00:04.000Z | 2021-07-07T02:19:48.000Z | Dmail/esp/yahoo.py | hmiladhia/Dmail | 386350331cc5973f79cd4ce42a9a23cfb3a8b87a | [
"MIT"
] | 1 | 2021-06-23T10:58:45.000Z | 2021-07-24T22:11:44.000Z | Dmail/esp/yahoo.py | hmiladhia/Dmail | 386350331cc5973f79cd4ce42a9a23cfb3a8b87a | [
"MIT"
] | 1 | 2021-07-07T02:20:24.000Z | 2021-07-07T02:20:24.000Z | from Dmail import Email
class Yahoo(Email):
def __init__(self, sender_email, sender_credentials, mail_server="smtp.mail.yahoo.com", mail_port=587, **kwargs):
super(Yahoo, self).__init__(mail_server=mail_server, mail_port=mail_port,
sender_email=sender_email, sender_cred... | 51.111111 | 117 | 0.654348 | 57 | 460 | 4.824561 | 0.403509 | 0.145455 | 0.185455 | 0.203636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025788 | 0.241304 | 460 | 8 | 118 | 57.5 | 0.762178 | 0 | 0 | 0 | 0 | 0 | 0.041304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.5 | 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 |
79406f497f2feb85887ffda612ec55e2d7bd746c | 934 | py | Python | python-katas/tests/test_console.py | rtimmons/katas | 70aab07385c80125209de4f6ee6021a6b8bbf521 | [
"MIT"
] | null | null | null | python-katas/tests/test_console.py | rtimmons/katas | 70aab07385c80125209de4f6ee6021a6b8bbf521 | [
"MIT"
] | null | null | null | python-katas/tests/test_console.py | rtimmons/katas | 70aab07385c80125209de4f6ee6021a6b8bbf521 | [
"MIT"
] | null | null | null | """Test cases for the console module."""
from unittest.mock import Mock
from click.testing import CliRunner
import pytest
from pytest_mock import MockFixture
import requests
from katas import console
@pytest.fixture
def runner() -> CliRunner:
"""Fixture for invoking command-line interfaces."""
return CliRun... | 26.685714 | 75 | 0.738758 | 128 | 934 | 5.257813 | 0.429688 | 0.066865 | 0.084695 | 0.056464 | 0.243685 | 0.243685 | 0.243685 | 0.243685 | 0.243685 | 0.148588 | 0 | 0.003797 | 0.154176 | 934 | 34 | 76 | 27.470588 | 0.848101 | 0.224839 | 0 | 0.315789 | 0 | 0 | 0.038682 | 0.038682 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.210526 | false | 0 | 0.315789 | 0 | 0.631579 | 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 |
794a3312c94fb00c4795bccb081b09e783ac1069 | 14,264 | py | Python | iotprovision/winc/pywinc_main.py | microchip-pic-avr-tools/iotprovision | 310806d6df4462484fe289a14957228a6f34ca48 | [
"MIT"
] | null | null | null | iotprovision/winc/pywinc_main.py | microchip-pic-avr-tools/iotprovision | 310806d6df4462484fe289a14957228a6f34ca48 | [
"MIT"
] | null | null | null | iotprovision/winc/pywinc_main.py | microchip-pic-avr-tools/iotprovision | 310806d6df4462484fe289a14957228a6f34ca48 | [
"MIT"
] | null | null | null | """Main pywinc tool functions
"""
import pathlib
import serial
from pykitcommander.kitprotocols import setup_kit
from .wincupgrade import WincUpgradeBridgeLink, WincUpgrade
from .winc_flash_map import FlashMap
from .winc_certs import ClientCertStorage, RootCertStorage
PYWINC_VERSION = "1.0.0" # FIXME where to def... | 39.622222 | 114 | 0.672883 | 1,902 | 14,264 | 4.90326 | 0.123028 | 0.022303 | 0.041175 | 0.020373 | 0.788226 | 0.764637 | 0.720137 | 0.692258 | 0.665237 | 0.641647 | 0 | 0.00809 | 0.237451 | 14,264 | 359 | 115 | 39.732591 | 0.849315 | 0.297322 | 0 | 0.56701 | 0 | 0 | 0.099201 | 0 | 0 | 0 | 0.00083 | 0.008357 | 0 | 1 | 0.051546 | false | 0 | 0.030928 | 0 | 0.149485 | 0.201031 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
796c4c1fc2a9918526b76fbc64c4ffcc102e7c3d | 401 | py | Python | server/models/groups.py | rsanting/PlanarAlly | 8eccfdedd3e44241b4e8c54665b7bdb1da95c71f | [
"MIT"
] | null | null | null | server/models/groups.py | rsanting/PlanarAlly | 8eccfdedd3e44241b4e8c54665b7bdb1da95c71f | [
"MIT"
] | null | null | null | server/models/groups.py | rsanting/PlanarAlly | 8eccfdedd3e44241b4e8c54665b7bdb1da95c71f | [
"MIT"
] | null | null | null | from uuid import uuid4
from peewee import TextField
from .base import BaseModel
class Group(BaseModel):
uuid = TextField(primary_key=True)
character_set = TextField(default="0,1,2,3,4,5,6,7,8,9")
creation_order = TextField(default="incrementing")
def make_copy(self):
return Group.create(uui... | 26.733333 | 111 | 0.745636 | 58 | 401 | 5.017241 | 0.603448 | 0.123711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034985 | 0.144638 | 401 | 14 | 112 | 28.642857 | 0.813411 | 0 | 0 | 0 | 0 | 0 | 0.077307 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
797039307e8c2bde3342c069dbe9e5b8d5336887 | 365 | py | Python | src/test/tinc/tinctest/lib/test/test_base.py | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 46 | 2018-10-22T23:34:03.000Z | 2022-03-31T09:31:34.000Z | src/test/tinc/tinctest/lib/test/test_base.py | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 317 | 2018-10-05T23:51:48.000Z | 2022-03-22T17:38:52.000Z | src/test/tinc/tinctest/lib/test/test_base.py | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 46 | 2018-10-10T18:55:00.000Z | 2022-03-28T07:27:04.000Z | import os
from tinctest.lib import local_path
import unittest2 as unittest
class PathTestCase(unittest.TestCase):
def test_local_path(self):
filename = local_path('some_file_test_that_lives_in_my_current_working_directory')
assert filename == os.path.join(os.path.dirname(__file__), 'some_file_test_... | 40.555556 | 127 | 0.810959 | 53 | 365 | 5.09434 | 0.54717 | 0.1 | 0.088889 | 0.118519 | 0.355556 | 0.355556 | 0.355556 | 0.355556 | 0.355556 | 0.355556 | 0 | 0.003106 | 0.117808 | 365 | 8 | 128 | 45.625 | 0.835404 | 0 | 0 | 0 | 0 | 0 | 0.312329 | 0.312329 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7972a8305a6bce7441cd7834ca7a5825e209d7e9 | 669 | py | Python | src/migrations/0008_auto_20210720_1050.py | AgnosticMe/swiftly | 1fc5fed6e90b8cbdcb6038303537aa0f82ae70d7 | [
"MIT"
] | null | null | null | src/migrations/0008_auto_20210720_1050.py | AgnosticMe/swiftly | 1fc5fed6e90b8cbdcb6038303537aa0f82ae70d7 | [
"MIT"
] | null | null | null | src/migrations/0008_auto_20210720_1050.py | AgnosticMe/swiftly | 1fc5fed6e90b8cbdcb6038303537aa0f82ae70d7 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.5 on 2021-07-20 05:20
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('src', '0007_auto_20210718_1819'),
]
operations = [
migrations.AddField(
model_name='job',
name='distance',
... | 23.068966 | 49 | 0.544096 | 65 | 669 | 5.507692 | 0.569231 | 0.150838 | 0.192737 | 0.226257 | 0.469274 | 0.329609 | 0.234637 | 0.234637 | 0 | 0 | 0 | 0.076577 | 0.336323 | 669 | 28 | 50 | 23.892857 | 0.72973 | 0.067265 | 0 | 0.5 | 1 | 0 | 0.090032 | 0.036977 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 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 |
7979f97ea61e8ff261cd8c70796a7f1007cc99d4 | 55 | py | Python | descarteslabs/workflows/types/function/__init__.py | carderne/descarteslabs-python | 757b480efb8d58474a3bf07f1dbd90652b46ed64 | [
"Apache-2.0"
] | 167 | 2017-03-23T22:16:58.000Z | 2022-03-08T09:19:30.000Z | descarteslabs/workflows/types/function/__init__.py | carderne/descarteslabs-python | 757b480efb8d58474a3bf07f1dbd90652b46ed64 | [
"Apache-2.0"
] | 93 | 2017-03-23T22:11:40.000Z | 2021-12-13T18:38:53.000Z | descarteslabs/workflows/types/function/__init__.py | carderne/descarteslabs-python | 757b480efb8d58474a3bf07f1dbd90652b46ed64 | [
"Apache-2.0"
] | 46 | 2017-03-25T19:12:14.000Z | 2021-08-15T18:04:29.000Z | from .function import Function
__all__ = ["Function"]
| 13.75 | 30 | 0.745455 | 6 | 55 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 3 | 31 | 18.333333 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 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 |
797c7a08a068a0b83e939e0ea0f8d7364dac5abd | 3,923 | py | Python | municipal_finance/data_import/data_audit.py | desafinadude/municipal-data | 1c86c55bbb59f9c8087f6920fae3585dd90d5d43 | [
"MIT"
] | 19 | 2018-01-09T10:54:15.000Z | 2022-01-25T13:10:55.000Z | municipal_finance/data_import/data_audit.py | desafinadude/municipal-data | 1c86c55bbb59f9c8087f6920fae3585dd90d5d43 | [
"MIT"
] | 29 | 2018-01-12T12:12:38.000Z | 2022-01-31T15:30:36.000Z | municipal_finance/data_import/data_audit.py | desafinadude/municipal-data | 1c86c55bbb59f9c8087f6920fae3585dd90d5d43 | [
"MIT"
] | 13 | 2018-02-11T02:12:57.000Z | 2021-11-22T11:03:22.000Z | import requests
import sys
import csv
munis = ('CPT', 'JHB', 'TSH', 'BUF', 'MAN', 'NMA', 'DC40', 'FS183', 'NW373', 'EC141', 'NC094', 'DC43', 'KZN236', 'KZN265', 'NC091', 'NC078', 'KZN254', 'KZN285', 'LIM341', 'MP303', 'KZN244', 'WC014', 'MP305', 'NC071', 'KZN241', 'LIM471', 'WC041', 'NW384', 'EC157', 'LIM333', 'DC4', ... | 65.383333 | 2,516 | 0.5195 | 414 | 3,923 | 4.876812 | 0.823672 | 0.013868 | 0.020802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259139 | 0.212083 | 3,923 | 59 | 2,517 | 66.491525 | 0.394047 | 0 | 0 | 0 | 0 | 0 | 0.435381 | 0.005353 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.056604 | 0 | 0.056604 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
79815092e4dba8c11e777566314054b933100bd6 | 223 | py | Python | setup.py | danial29rus/matrixg | 3427776a8a491fe7c08abce34b341d1c345a40cf | [
"MIT"
] | null | null | null | setup.py | danial29rus/matrixg | 3427776a8a491fe7c08abce34b341d1c345a40cf | [
"MIT"
] | null | null | null | setup.py | danial29rus/matrixg | 3427776a8a491fe7c08abce34b341d1c345a40cf | [
"MIT"
] | null | null | null | from setuptools import setup
setup(name='matrixg',
version='5.2',
description='Solve matrix by Gaussian and Jacoby',
packages=['matrixg'],
author_email='shpeka4kaps4@mail.ru',
zip_safe=False)
| 24.777778 | 56 | 0.668161 | 27 | 223 | 5.444444 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022599 | 0.206278 | 223 | 8 | 57 | 27.875 | 0.80791 | 0 | 0 | 0 | 0 | 0 | 0.32287 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
799d4da45cd6bb4506b3587d58d743fe7e095db5 | 339 | py | Python | models/ops/nms.py | yf19970118/OPLD-Pytorch | 4939bf62587da4533276fda20db36bb019575511 | [
"MIT"
] | 25 | 2020-08-28T07:28:16.000Z | 2022-03-06T06:18:56.000Z | models/ops/nms.py | yf19970118/OPLD-Pytorch | 4939bf62587da4533276fda20db36bb019575511 | [
"MIT"
] | 5 | 2020-12-22T07:42:50.000Z | 2021-07-12T01:49:57.000Z | models/ops/nms.py | yf19970118/OPLD-Pytorch | 4939bf62587da4533276fda20db36bb019575511 | [
"MIT"
] | 4 | 2020-12-19T03:14:26.000Z | 2021-12-17T12:38:37.000Z | from models.ops import _C
from apex import amp
# Only valid with fp32 inputs - give AMP the hint
nms = amp.float_function(_C.nms)
ml_nms = amp.float_function(_C.ml_nms)
nms_rotated = amp.float_function(_C.nms_rotated)
nms_polygon = amp.float_function(_C.nms_polygon)
# nms.__doc__ = """
# This function performs Non-max... | 30.818182 | 50 | 0.775811 | 56 | 339 | 4.357143 | 0.482143 | 0.131148 | 0.262295 | 0.278689 | 0.340164 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006734 | 0.123894 | 339 | 10 | 51 | 33.9 | 0.814815 | 0.336283 | 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 |
79c994b6e60ed2d8460c7bd1a69bf94c0b8b9c57 | 1,083 | py | Python | condor/scripts/cli.py | odarbelaeze/condor-ir | dd7111ffb4fafc5a4fa83acf61d49b31c28ae371 | [
"MIT"
] | 3 | 2016-11-16T10:32:19.000Z | 2018-03-19T07:41:18.000Z | condor/scripts/cli.py | odarbelaeze/condor-ir | dd7111ffb4fafc5a4fa83acf61d49b31c28ae371 | [
"MIT"
] | 48 | 2016-06-11T17:01:08.000Z | 2021-06-02T00:32:13.000Z | condor/scripts/cli.py | odarbelaeze/lsa-program | dd7111ffb4fafc5a4fa83acf61d49b31c28ae371 | [
"MIT"
] | 1 | 2017-06-16T20:20:31.000Z | 2017-06-16T20:20:31.000Z | import click
import sys
class CondorCommand(click.MultiCommand):
@property
def commands(self):
from condor.scripts.bibliography import bibliography
from condor.scripts.model import model
from condor.scripts.query import query
from condor.scripts.matrix import matrix
fr... | 25.785714 | 60 | 0.631579 | 109 | 1,083 | 6.183486 | 0.311927 | 0.118694 | 0.20178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285319 | 1,083 | 41 | 61 | 26.414634 | 0.870801 | 0 | 0 | 0 | 0 | 0 | 0.09603 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0 | 0.3125 | 0.0625 | 0.53125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
79d81b2d4881d054908d1f5f1e3987c9a62c23f4 | 10,430 | py | Python | monterey_make_models.py | dbuscombe-usgs/UNetSegmentation_RGB_DEM | 4ea95325c00646cf65f07564171ff1587923b13d | [
"MIT"
] | null | null | null | monterey_make_models.py | dbuscombe-usgs/UNetSegmentation_RGB_DEM | 4ea95325c00646cf65f07564171ff1587923b13d | [
"MIT"
] | null | null | null | monterey_make_models.py | dbuscombe-usgs/UNetSegmentation_RGB_DEM | 4ea95325c00646cf65f07564171ff1587923b13d | [
"MIT"
] | null | null | null |
from imports import *
def get_batched_dataset(filenames):
option_no_order = tf.data.Options()
option_no_order.experimental_deterministic = True
dataset = tf.data.Dataset.list_files(filenames)
dataset = dataset.with_options(option_no_order)
dataset = dataset.interleave(tf.data.TFRecordDataset, c... | 30.497076 | 155 | 0.694439 | 1,395 | 10,430 | 4.949821 | 0.191398 | 0.043447 | 0.032006 | 0.02824 | 0.748009 | 0.73063 | 0.710065 | 0.691962 | 0.677915 | 0.677915 | 0 | 0.022101 | 0.154075 | 10,430 | 341 | 156 | 30.58651 | 0.760512 | 0.18907 | 0 | 0.607595 | 0 | 0 | 0.096225 | 0.054067 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018987 | false | 0 | 0.012658 | 0.012658 | 0.050633 | 0.044304 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8dadfa4b8c36cad6aa4ff7a5130f8e879c8428c5 | 88 | py | Python | nhc2_coco/tests/credentials_example.py | nielsvissers/nhc2-coco | 4afd0ef568a72c9e6a4ad68e56467aaf62044c53 | [
"MIT"
] | 4 | 2020-04-15T11:33:31.000Z | 2022-03-04T17:20:26.000Z | nhc2_coco/tests/credentials_example.py | nielsvissers/nhc2-coco | 4afd0ef568a72c9e6a4ad68e56467aaf62044c53 | [
"MIT"
] | 5 | 2021-01-28T22:01:57.000Z | 2021-12-19T14:56:56.000Z | nhc2_coco/tests/credentials_example.py | nielsvissers/nhc2-coco | 4afd0ef568a72c9e6a4ad68e56467aaf62044c53 | [
"MIT"
] | 12 | 2020-01-15T19:49:55.000Z | 2022-03-04T17:20:27.000Z | HOST = 'nhc2.local'
USER = 'username'
PASS = 'password'
# For hobby API 8884
PORT = 8883 | 17.6 | 20 | 0.681818 | 13 | 88 | 4.615385 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.181818 | 88 | 5 | 21 | 17.6 | 0.708333 | 0.204545 | 0 | 0 | 0 | 0 | 0.376812 | 0 | 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 |
8db788f3bae5815805e19c940108b63db63fb6a5 | 214 | py | Python | code/src/data/__init__.py | fabiangunzinger/sample_project | a5c87d0c3ff2f6ed39f3e3a18557c0ab439f6b42 | [
"MIT"
] | null | null | null | code/src/data/__init__.py | fabiangunzinger/sample_project | a5c87d0c3ff2f6ed39f3e3a18557c0ab439f6b42 | [
"MIT"
] | null | null | null | code/src/data/__init__.py | fabiangunzinger/sample_project | a5c87d0c3ff2f6ed39f3e3a18557c0ab439f6b42 | [
"MIT"
] | null | null | null | from .counter import count
from .split_file import split_file
from .read_raw import read_raw
from .clean_data import clean_data
from .select_sample import select_sample
from .selection_table import selection_table
| 30.571429 | 44 | 0.859813 | 34 | 214 | 5.117647 | 0.411765 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 214 | 6 | 45 | 35.666667 | 0.915789 | 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 |
8dd510c0ef6843142140b7e5e862fa5af518f024 | 1,382 | py | Python | app/models.py | NderituMwanu/traffic-app | c03327026c21a9a44f2661211e6a1df05224171c | [
"MIT"
] | null | null | null | app/models.py | NderituMwanu/traffic-app | c03327026c21a9a44f2661211e6a1df05224171c | [
"MIT"
] | null | null | null | app/models.py | NderituMwanu/traffic-app | c03327026c21a9a44f2661211e6a1df05224171c | [
"MIT"
] | null | null | null | from flask_login import UserMixin
from . import db
from werkzeug.security import generate_password_hash,check_password_hash
from datetime import datetime
class Post(db.Model):
__tablename__ = 'post'
id = db.Column(db.Integer, primary_key=True)
title = db.Column(db.String(100))
username = db.Column(... | 28.791667 | 96 | 0.690304 | 184 | 1,382 | 5 | 0.358696 | 0.086957 | 0.108696 | 0.104348 | 0.229348 | 0.071739 | 0.071739 | 0.071739 | 0 | 0 | 0 | 0.014122 | 0.180174 | 1,382 | 48 | 97 | 28.791667 | 0.797882 | 0 | 0 | 0.129032 | 1 | 0.032258 | 0.12509 | 0.015184 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16129 | false | 0.290323 | 0.129032 | 0.096774 | 0.870968 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
8de22f1ae9e631dfc5a4bcae73e3f387f0b0cbb7 | 151 | py | Python | tests/tests.py | linzstadler/dl | 1ddfdde5c013385a4b47b72cba068fdbb268844f | [
"MIT"
] | null | null | null | tests/tests.py | linzstadler/dl | 1ddfdde5c013385a4b47b72cba068fdbb268844f | [
"MIT"
] | null | null | null | tests/tests.py | linzstadler/dl | 1ddfdde5c013385a4b47b72cba068fdbb268844f | [
"MIT"
] | 1 | 2021-03-06T14:12:08.000Z | 2021-03-06T14:12:08.000Z | from unittest import TestCase
class TestDownload(TestCase):
def setUp(self):
with open('file', 'wb') as file:
file.write('')
| 18.875 | 40 | 0.609272 | 18 | 151 | 5.111111 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264901 | 151 | 7 | 41 | 21.571429 | 0.828829 | 0 | 0 | 0 | 0 | 0 | 0.039735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8de845bfa833cfc074c6fa3cb0f50088a38251b6 | 129 | py | Python | nz_crawl_demo/day3/demo2.py | gaohj/nzflask_bbs | 36a94c380b78241ed5d1e07edab9618c3e8d477b | [
"Apache-2.0"
] | null | null | null | nz_crawl_demo/day3/demo2.py | gaohj/nzflask_bbs | 36a94c380b78241ed5d1e07edab9618c3e8d477b | [
"Apache-2.0"
] | 27 | 2020-02-12T07:55:58.000Z | 2022-03-12T00:19:09.000Z | nz_crawl_demo/day3/demo2.py | gaohj/nzflask_bbs | 36a94c380b78241ed5d1e07edab9618c3e8d477b | [
"Apache-2.0"
] | 2 | 2020-02-18T01:54:55.000Z | 2020-02-21T11:36:28.000Z | from lxml import etree
html = etree.parse('tencent.html') #读取外部文件
result = etree.tostring(html,pretty_print=True)
print(result) | 21.5 | 47 | 0.775194 | 19 | 129 | 5.210526 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100775 | 129 | 6 | 48 | 21.5 | 0.853448 | 0.046512 | 0 | 0 | 0 | 0 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
8de9ce8268c0797d46d87e775b5a87312eeae1c5 | 693 | py | Python | _sdk/_paypal/orders/orders_create_request.py | Memberships-Affiliate-Management-API/membership_and_affiliate_api | 038cb2d4dfa4a47fb8e31dc9d00cd36dd28867d5 | [
"MIT"
] | 1 | 2021-08-31T15:24:48.000Z | 2021-08-31T15:24:48.000Z | _sdk/_paypal/orders/orders_create_request.py | freelancing-solutions/membership_and_affiliate_api | 038cb2d4dfa4a47fb8e31dc9d00cd36dd28867d5 | [
"MIT"
] | 1 | 2021-10-13T14:11:15.000Z | 2021-10-13T14:11:15.000Z | _sdk/_paypal/orders/orders_create_request.py | Memberships-Affiliate-Management-API/membership_and_affiliate_api | 038cb2d4dfa4a47fb8e31dc9d00cd36dd28867d5 | [
"MIT"
] | 1 | 2021-08-31T15:25:28.000Z | 2021-08-31T15:25:28.000Z |
import paypalhttp
from urllib.parse import quote # Python 3+
# noinspection PyDictCreation
class OrdersCreateRequest:
"""
Creates an order.
"""
def __init__(self):
self.verb = "POST"
self.path = "/v2/checkout/orders?"
self.headers = {}
self.headers["Content-Type"] = ... | 24.75 | 91 | 0.65368 | 81 | 693 | 5.382716 | 0.506173 | 0.100917 | 0.183486 | 0.165138 | 0.197248 | 0.137615 | 0 | 0 | 0 | 0 | 0 | 0.003781 | 0.236652 | 693 | 27 | 92 | 25.666667 | 0.820416 | 0.080808 | 0 | 0 | 0 | 0 | 0.140777 | 0.046926 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5c02663d189b4b4f01b261383d5d26d17ae51342 | 198 | py | Python | python/testData/inspections/AddCallSuperRepeatedOptionalParamsPassedToSuperConstructor.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/AddCallSuperRepeatedOptionalParamsPassedToSuperConstructor.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/AddCallSuperRepeatedOptionalParamsPassedToSuperConstructor.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class A:
def __init__(self, a, b=2, c=3):
self.a = a
class B(A):
def <warning descr="Call to __init__ of super class is missed">_<caret>_init__</warning>(self, a, c):
pass
| 22 | 105 | 0.59596 | 34 | 198 | 3.117647 | 0.558824 | 0.141509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013605 | 0.257576 | 198 | 8 | 106 | 24.75 | 0.707483 | 0 | 0 | 0 | 0 | 0 | 0.207071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.166667 | 0 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
5c111a10058ee7469fdf854b4a50534889ead7d3 | 181 | py | Python | scripts/build_readme.py | watermelonwolverine/fvttmv | 8689d47d1f904dd2bf0a083de515fda65713c460 | [
"MIT"
] | 1 | 2022-03-30T19:12:14.000Z | 2022-03-30T19:12:14.000Z | scripts/build_readme.py | watermelonwolverine/fvttmv | 8689d47d1f904dd2bf0a083de515fda65713c460 | [
"MIT"
] | null | null | null | scripts/build_readme.py | watermelonwolverine/fvttmv | 8689d47d1f904dd2bf0a083de515fda65713c460 | [
"MIT"
] | null | null | null | import sys
sys.path.append("src")
# noinspection PyPep8
from cli_wrapper.__help_texts import read_me
with open("README.md", "wt+", encoding="utf-8") as fh:
fh.write(read_me)
| 18.1 | 54 | 0.723757 | 30 | 181 | 4.166667 | 0.833333 | 0.096 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012739 | 0.132597 | 181 | 9 | 55 | 20.111111 | 0.783439 | 0.104972 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
5c3e398ba140a8f02df7267221d49548dee71b29 | 507 | py | Python | script.py | hackerjr7/Unlimited-Filter-Bot | f96c3649db7baf9a3cef5a5c46a96e5c69366719 | [
"MIT"
] | 1 | 2021-11-10T05:03:27.000Z | 2021-11-10T05:03:27.000Z | script.py | hackerjr7/Unlimited-Filter-Bot | f96c3649db7baf9a3cef5a5c46a96e5c69366719 | [
"MIT"
] | null | null | null | script.py | hackerjr7/Unlimited-Filter-Bot | f96c3649db7baf9a3cef5a5c46a96e5c69366719 | [
"MIT"
] | null | null | null | class Script(object):
START_MSG = """<b>🙋♂️Hy {},</b>
<b>ഞാൻ ഒരു ഗ്രൂപ്പ് മാനേജർ ബോട്ട് ആണ്, എന്നെ കെഎൽ റോക്കേഴ്സ് ഗ്രൂപ്പിന് വേണ്ടി മാത്രമാണ് എന്നെ നിർമിച്ചിരിക്കുന്നത</b>
"""
HELP_MSG = """
<b>നീ ഏതാ..... ഒന്ന് പോടെയ് അവൻ help ചോയ്ച്ച് വന്നിരിക്കുന്നു😤...I'm Different Bot U Know</b>
"""
ABOUT_M... | 24.142857 | 120 | 0.499014 | 187 | 507 | 1.737968 | 0.427807 | 0.030769 | 0.027692 | 0.024615 | 0.135385 | 0.098462 | 0.098462 | 0.055385 | 0.055385 | 0 | 0 | 0.006977 | 0.151874 | 507 | 20 | 121 | 25.35 | 0.572093 | 0 | 0 | 0.272727 | 0 | 0.363636 | 0.812623 | 0.088757 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5c4a80bdc29277b9b81014356f2fbcda48160a29 | 470 | py | Python | federatedscope/core/strategy.py | alibaba/FederatedScope | fcf6d237624769ea094cfd68803901622f14fc23 | [
"Apache-2.0"
] | 9 | 2022-03-24T07:59:37.000Z | 2022-03-31T06:47:52.000Z | federatedscope/core/strategy.py | alibaba/FederatedScope | fcf6d237624769ea094cfd68803901622f14fc23 | [
"Apache-2.0"
] | 1 | 2022-03-28T13:52:17.000Z | 2022-03-28T13:52:17.000Z | federatedscope/core/strategy.py | alibaba/FederatedScope | fcf6d237624769ea094cfd68803901622f14fc23 | [
"Apache-2.0"
] | null | null | null | import sys
class Strategy(object):
def __init__(self, stg_type=None, threshold=0):
self._stg_type = stg_type
self._threshold = threshold
@property
def stg_type(self):
return self._stg_type
@stg_type.setter
def stg_type(self, value):
self._stg_type = value
@pr... | 19.583333 | 51 | 0.642553 | 58 | 470 | 4.896552 | 0.293103 | 0.197183 | 0.15493 | 0.098592 | 0.126761 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002924 | 0.27234 | 470 | 23 | 52 | 20.434783 | 0.827485 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.058824 | 0.117647 | 0.529412 | 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 |
3083ca4f7ba3519be50ba9643abd699287ce3e75 | 456 | py | Python | ckan_cloud_operator/providers/db/web_ui/manager.py | MuhammadIsmailShahzad/ckan-cloud-operator | 35a4ca88c4908d81d1040a21fca8904e77c4cded | [
"MIT"
] | 14 | 2019-11-18T12:01:03.000Z | 2021-09-15T15:29:50.000Z | ckan_cloud_operator/providers/db/web_ui/manager.py | MuhammadIsmailShahzad/ckan-cloud-operator | 35a4ca88c4908d81d1040a21fca8904e77c4cded | [
"MIT"
] | 52 | 2019-09-09T14:22:41.000Z | 2021-09-29T08:29:24.000Z | ckan_cloud_operator/providers/db/web_ui/manager.py | MuhammadIsmailShahzad/ckan-cloud-operator | 35a4ca88c4908d81d1040a21fca8904e77c4cded | [
"MIT"
] | 8 | 2019-10-05T12:46:25.000Z | 2021-09-15T15:13:05.000Z | from ckan_cloud_operator.providers import manager as providers_manager
from .constants import PROVIDER_SUBMODULE
from .adminer.constants import PROVIDER_ID as adminer_provider_id
def initialize():
get_provider(default=adminer_provider_id).initialize()
def start():
"""Start a web-UI for db management"""
... | 26.823529 | 78 | 0.798246 | 60 | 456 | 5.816667 | 0.433333 | 0.126075 | 0.131805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120614 | 456 | 16 | 79 | 28.5 | 0.870324 | 0.070175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
30af448a4e1145529fc86ebd97bb2e6563e9c9bd | 68 | py | Python | labpack/email/__init__.py | collectiveacuity/labPack | c8fb0d1ee23608f6dbcb99c232373eee886000fd | [
"MIT"
] | 2 | 2017-06-20T15:20:46.000Z | 2019-11-18T01:28:49.000Z | labpack/email/__init__.py | collectiveacuity/labPack | c8fb0d1ee23608f6dbcb99c232373eee886000fd | [
"MIT"
] | null | null | null | labpack/email/__init__.py | collectiveacuity/labPack | c8fb0d1ee23608f6dbcb99c232373eee886000fd | [
"MIT"
] | null | null | null | __author__ = 'rcj1492'
__created__ = '2017.03'
__license__ = 'MIT' | 22.666667 | 24 | 0.705882 | 7 | 68 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0.147059 | 68 | 3 | 25 | 22.666667 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0.253731 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
30b52a6b4e1cbf7d10b9be79cc8b2f78a65e51e3 | 79 | py | Python | practice/practice7.py | tomhaoye/LetsPython | 3c5f66d2e672067ed9aea33c0abd6b01708734ff | [
"MIT"
] | null | null | null | practice/practice7.py | tomhaoye/LetsPython | 3c5f66d2e672067ed9aea33c0abd6b01708734ff | [
"MIT"
] | null | null | null | practice/practice7.py | tomhaoye/LetsPython | 3c5f66d2e672067ed9aea33c0abd6b01708734ff | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: UTF-8 -*-
a = [1, 2, 3, 4, ]
b = a[:]
print b
| 11.285714 | 23 | 0.443038 | 15 | 79 | 2.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.240506 | 79 | 6 | 24 | 13.166667 | 0.5 | 0.481013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
30b5dde9cdde19125aba938f4f17ac1e35800162 | 82 | py | Python | Examples/python/SessionMaintenanceExample-1b.py | svglolla/sasnpy | 9747e03edec5c20882a729251b0764539d712988 | [
"MIT"
] | 3 | 2019-04-30T02:55:05.000Z | 2020-05-18T10:18:18.000Z | Examples/python/SessionMaintenanceExample-1b.py | svglolla/sasnpy | 9747e03edec5c20882a729251b0764539d712988 | [
"MIT"
] | null | null | null | Examples/python/SessionMaintenanceExample-1b.py | svglolla/sasnpy | 9747e03edec5c20882a729251b0764539d712988 | [
"MIT"
] | null | null | null | p1b = "Declared in program 1b"
print(p1a) # how is p1a available here?
print(p1b)
| 20.5 | 39 | 0.719512 | 14 | 82 | 4.214286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 0.170732 | 82 | 3 | 40 | 27.333333 | 0.794118 | 0.317073 | 0 | 0 | 0 | 0 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 |
30c29a4efe16122e1a3ee243431208c3ee59d78e | 292 | py | Python | pyladies/pyladies/core/views.py | pyladiesvale/pyladies-site | 046221a57259df5a0df44f845430a35b1b1b593a | [
"MIT"
] | 1 | 2016-02-15T23:29:07.000Z | 2016-02-15T23:29:07.000Z | pyladies/pyladies/core/views.py | pyladiesvale/pyladies-site | 046221a57259df5a0df44f845430a35b1b1b593a | [
"MIT"
] | 2 | 2016-02-24T18:25:36.000Z | 2020-06-05T17:12:01.000Z | pyladies/pyladies/core/views.py | pyladiesvale/pyladies-site | 046221a57259df5a0df44f845430a35b1b1b593a | [
"MIT"
] | 1 | 2016-10-18T22:11:05.000Z | 2016-10-18T22:11:05.000Z | from django.shortcuts import render
from .constants import MEMBERS, PATROCINADORES, CONNECTUS, SECTIONS
def home(request):
context = {'MEMBERS': MEMBERS, 'PATROCINADORES': PATROCINADORES,
'CONNECTUS': CONNECTUS, 'SECTIONS': SECTIONS}
return render(request, 'core/index.html', context) | 36.5 | 67 | 0.767123 | 31 | 292 | 7.225806 | 0.580645 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116438 | 292 | 8 | 68 | 36.5 | 0.868217 | 0 | 0 | 0 | 0 | 0 | 0.180887 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
30c8247cde52ffe3f7a10a38ec18ab8f7321b9ef | 251 | py | Python | python-application-example/src/tests/example_test.py | rubenmartinm/jenkins-pipelines | f4c85dd5aa5d9b6a9497ac0bd97b76af5a76a631 | [
"MIT"
] | null | null | null | python-application-example/src/tests/example_test.py | rubenmartinm/jenkins-pipelines | f4c85dd5aa5d9b6a9497ac0bd97b76af5a76a631 | [
"MIT"
] | null | null | null | python-application-example/src/tests/example_test.py | rubenmartinm/jenkins-pipelines | f4c85dd5aa5d9b6a9497ac0bd97b76af5a76a631 | [
"MIT"
] | null | null | null | import sys, os
# referencio a donde tengo el módulo que he creado antes
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "../application_example")))
import example
def test_add_one():
assert example.add_one(3)==4 | 31.375 | 103 | 0.729084 | 41 | 251 | 4.268293 | 0.707317 | 0.102857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.139442 | 251 | 8 | 104 | 31.375 | 0.796296 | 0.215139 | 0 | 0 | 0 | 0 | 0.116402 | 0.116402 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 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 |
30d8cd776e4101b3c6bf6961c82bb1e69f87e636 | 1,311 | py | Python | pages/locators.py | Ryne777/stepik_test_cours | 08bad966a4c0a2c02d08dad12a4b592180867001 | [
"Apache-2.0"
] | null | null | null | pages/locators.py | Ryne777/stepik_test_cours | 08bad966a4c0a2c02d08dad12a4b592180867001 | [
"Apache-2.0"
] | null | null | null | pages/locators.py | Ryne777/stepik_test_cours | 08bad966a4c0a2c02d08dad12a4b592180867001 | [
"Apache-2.0"
] | null | null | null | from selenium.webdriver.common.by import By
class MainPageLocators():
LOGIN_LINK = (By.CSS_SELECTOR, "#login_link")
class LoginPageLocators():
LOGIN_FORM = (By.CSS_SELECTOR, "#login_form")
RGISTOR_FORM = (By.CSS_SELECTOR, "#register_form")
EMAIL_REG = (By.CSS_SELECTOR, "#id_registration-email")
... | 36.416667 | 74 | 0.718535 | 172 | 1,311 | 5.139535 | 0.343023 | 0.107466 | 0.279412 | 0.081448 | 0.319005 | 0.138009 | 0.070136 | 0 | 0 | 0 | 0 | 0.002662 | 0.140351 | 1,311 | 35 | 75 | 37.457143 | 0.781721 | 0 | 0 | 0.08 | 0 | 0 | 0.241037 | 0.074752 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.08 | 0.04 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
30f6a346183e7d8e77dc82dff3f9541461a3a5fe | 9,233 | py | Python | lib/RJW.py | wokas36/RWK | c44d3d650f0704af49fe41969de0848563e63f65 | [
"MIT"
] | 3 | 2021-11-25T01:34:28.000Z | 2022-01-11T11:41:57.000Z | lib/RJW.py | wokas36/RWK | c44d3d650f0704af49fe41969de0848563e63f65 | [
"MIT"
] | null | null | null | lib/RJW.py | wokas36/RWK | c44d3d650f0704af49fe41969de0848563e63f65 | [
"MIT"
] | null | null | null | import numpy as np
import ot
import scg_optimizer
from utils import dist,reshaper,hamming_dist
from scipy import stats
from scipy.sparse import random
from IPython.core.debugger import Tracer
class StopError(Exception):
pass
def init_matrix(C1,C2,p,q,loss_fun='square_loss'):
""" Return loss matrices and... | 32.283217 | 127 | 0.590491 | 1,368 | 9,233 | 3.945906 | 0.186404 | 0.068914 | 0.054465 | 0.024454 | 0.455169 | 0.406076 | 0.333086 | 0.304187 | 0.263987 | 0.248796 | 0 | 0.03888 | 0.28409 | 9,233 | 286 | 128 | 32.283217 | 0.777761 | 0.577061 | 0 | 0.157303 | 0 | 0 | 0.012177 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258427 | false | 0.011236 | 0.078652 | 0.157303 | 0.606742 | 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 |
a511ef11384d4957ff24dce2bbc1138fbcffbadd | 127 | py | Python | Projetos Python/pythonexercicios/des015.py | Moyses-Nunes/Projetos-Python | 71ae170fb0d7be6afea18608bca630b57b9f0dff | [
"MIT"
] | null | null | null | Projetos Python/pythonexercicios/des015.py | Moyses-Nunes/Projetos-Python | 71ae170fb0d7be6afea18608bca630b57b9f0dff | [
"MIT"
] | null | null | null | Projetos Python/pythonexercicios/des015.py | Moyses-Nunes/Projetos-Python | 71ae170fb0d7be6afea18608bca630b57b9f0dff | [
"MIT"
] | null | null | null | import random
aluno = random.randint(1, 4)
1 = claudio
2 = caio
3 = luana
4 = jm
print('O aluno sorteado é {}'.format(aluno))
| 14.111111 | 44 | 0.669291 | 22 | 127 | 3.863636 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 0.188976 | 127 | 8 | 45 | 15.875 | 0.76699 | 0 | 0 | 0 | 0 | 0 | 0.165354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a51b9a613e3ea3835da9278829566bbb9dc9b806 | 571 | py | Python | py_pdf_term/analysis/_analysis/__init__.py | kumachan-mis/py-pdf-term | 282505826ce8c626003e753068d15738d772ce46 | [
"MIT"
] | null | null | null | py_pdf_term/analysis/_analysis/__init__.py | kumachan-mis/py-pdf-term | 282505826ce8c626003e753068d15738d772ce46 | [
"MIT"
] | 1 | 2021-08-02T13:02:12.000Z | 2021-08-02T13:02:12.000Z | py_pdf_term/analysis/_analysis/__init__.py | kumachan-mis/py-pdf-term | 282505826ce8c626003e753068d15738d772ce46 | [
"MIT"
] | null | null | null | from .concats import DomainLeftRightFrequency, TermLeftRightFrequencyAnalyzer
from .cooccurrences import ContainerTermsAnalyzer, DomainContainerTerms
from .occurrences import (
DomainLinguOccurrence,
DomainTermOccurrence,
LinguOccurrenceAnalyzer,
TermOccurrenceAnalyzer,
)
# isort: unique-list
__all__ =... | 27.190476 | 77 | 0.782837 | 29 | 571 | 15.275862 | 0.586207 | 0.189616 | 0.288939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145359 | 571 | 20 | 78 | 28.55 | 0.907787 | 0.031524 | 0 | 0 | 0 | 0 | 0.330309 | 0.257713 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
eb6ac960efcfbdd8bcaeb3a16afe3ee36a93434c | 1,115 | py | Python | tests/test_manager.py | akheron/stango | 0bb826195abee723ab0181c9723fc4f5d49ccbe2 | [
"MIT"
] | 7 | 2015-07-21T15:25:47.000Z | 2020-12-29T06:05:26.000Z | tests/test_manager.py | akheron/stango | 0bb826195abee723ab0181c9723fc4f5d49ccbe2 | [
"MIT"
] | null | null | null | tests/test_manager.py | akheron/stango | 0bb826195abee723ab0181c9723fc4f5d49ccbe2 | [
"MIT"
] | null | null | null | import os
import unittest
from stango import Stango
from stango.files import Files
from . import StangoTestCase, make_suite
class StangoTestCase(StangoTestCase):
def setup(self):
self.manager = Stango()
def test_manager_defaults(self):
self.eq(self.manager.files, Files())
self.eq(sel... | 27.875 | 70 | 0.642152 | 142 | 1,115 | 4.84507 | 0.338028 | 0.111919 | 0.043605 | 0.074128 | 0.168605 | 0.168605 | 0.093023 | 0 | 0 | 0 | 0 | 0.001214 | 0.260987 | 1,115 | 39 | 71 | 28.589744 | 0.833738 | 0 | 0 | 0.142857 | 0 | 0 | 0.117489 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.285714 | false | 0.071429 | 0.178571 | 0.035714 | 0.535714 | 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 |
eb718b2ed8ea7dd78c5d7455930b3af5e399ea79 | 93 | py | Python | pyacyclicnet/core/types/alias.py | GabeCordo/acyclic-network-venezia | eaef31e819fdc527927b0f10854ec6ac2bf30d26 | [
"MIT"
] | null | null | null | pyacyclicnet/core/types/alias.py | GabeCordo/acyclic-network-venezia | eaef31e819fdc527927b0f10854ec6ac2bf30d26 | [
"MIT"
] | 3 | 2021-05-21T00:20:55.000Z | 2021-05-21T13:52:21.000Z | pyacyclicnet/core/types/alias.py | GabeCordo/py-acyclic-network | eaef31e819fdc527927b0f10854ec6ac2bf30d26 | [
"MIT"
] | null | null | null | from pyacyclicnet.core.types.request import Request
Queue = list[Request]
LinkerPath = str
| 15.5 | 51 | 0.795699 | 12 | 93 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 93 | 5 | 52 | 18.6 | 0.91358 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
eb98283cc328cb34e2c1735af8ecdef48d574552 | 157 | py | Python | tests/assign1.py | akshanshbhatt/lpython | 70fef49dbbb6cbb0447f7013231171e5c8b8e5df | [
"BSD-3-Clause"
] | 31 | 2022-01-07T23:56:33.000Z | 2022-03-29T16:09:02.000Z | tests/assign1.py | akshanshbhatt/lpython | 70fef49dbbb6cbb0447f7013231171e5c8b8e5df | [
"BSD-3-Clause"
] | 197 | 2021-12-29T19:01:41.000Z | 2022-03-31T15:58:25.000Z | tests/assign1.py | akshanshbhatt/lpython | 70fef49dbbb6cbb0447f7013231171e5c8b8e5df | [
"BSD-3-Clause"
] | 17 | 2022-01-06T15:34:36.000Z | 2022-03-31T13:55:33.000Z | def test_augassign():
r: i32
s: i32
r = 0
r += 4
s = 5
r *= s
r -= 2
s = 10
r /= s
a: str
a = ""
a += "test"
| 11.214286 | 21 | 0.318471 | 26 | 157 | 1.884615 | 0.5 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 0.528662 | 157 | 13 | 22 | 12.076923 | 0.527027 | 0 | 0 | 0 | 0 | 0 | 0.025478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ebb110f07d71e5ee0b2ae4b2b1d0d8517edfcbee | 2,146 | py | Python | pypact/__init__.py | zxkjack123/pypact | 8b37f42007e0accabc9fb31d4ab76935b559d817 | [
"Apache-2.0"
] | 18 | 2018-01-22T14:00:18.000Z | 2022-03-08T06:29:22.000Z | pypact/__init__.py | listato/pypact | a418ba218cdf4a25ae3e7d72e0919905d027d2ba | [
"Apache-2.0"
] | 28 | 2018-12-07T14:30:46.000Z | 2022-02-27T20:33:06.000Z | pypact/__init__.py | listato/pypact | a418ba218cdf4a25ae3e7d72e0919905d027d2ba | [
"Apache-2.0"
] | 8 | 2018-05-29T13:41:59.000Z | 2021-01-21T01:33:41.000Z | # output readers
from pypact.reader import InventoryReader as Reader
from pypact.reader import JSONReader
from pypact.filerecord import InventoryFileRecord
from pypact.runner import compute
# output data structures
from pypact.output.rundata import RunData
from pypact.output.doserate import DoseRate
from pypact.output... | 31.101449 | 85 | 0.812209 | 247 | 2,146 | 6.910931 | 0.376518 | 0.152314 | 0.065612 | 0.025776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004308 | 0.134669 | 2,146 | 68 | 86 | 31.558824 | 0.914917 | 0.076421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.55102 | 0 | 0.55102 | 0.040816 | 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 |
ebc877921354378e4077ffeebd366f5c34101385 | 1,018 | py | Python | challenges/03_binary_search/binary_search.py | ShannonTully/data-structures-and-algorithms | f43f24f9f60beb37a2717f387c1050c9fd1ece60 | [
"MIT"
] | null | null | null | challenges/03_binary_search/binary_search.py | ShannonTully/data-structures-and-algorithms | f43f24f9f60beb37a2717f387c1050c9fd1ece60 | [
"MIT"
] | null | null | null | challenges/03_binary_search/binary_search.py | ShannonTully/data-structures-and-algorithms | f43f24f9f60beb37a2717f387c1050c9fd1ece60 | [
"MIT"
] | null | null | null | def binary_search(sorted_list, key):
if type(key) is not int:
raise TypeError('Argument invalid. Must be int.')
left = 0
right = len(sorted_list) - 1
while left != right:
# import pdb; pdb.set_trace()
if (left + right) % 2:
if sorted_list[int((left + right) / 2)] == k... | 37.703704 | 61 | 0.488212 | 137 | 1,018 | 3.49635 | 0.284672 | 0.263048 | 0.300626 | 0.189979 | 0.60334 | 0.597077 | 0.419624 | 0.419624 | 0.419624 | 0.419624 | 0 | 0.055215 | 0.359528 | 1,018 | 27 | 62 | 37.703704 | 0.679448 | 0.026523 | 0 | 0.166667 | 0 | 0 | 0.038384 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0 | 0 | 0.208333 | 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 |
ebd349289ec3755b146be6a0572ce6ac8b7f0f3b | 6,406 | py | Python | L1Trigger/L1THGCal/python/hgcalLayersCalibrationCoefficients_cfi.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-03-09T19:47:49.000Z | 2019-03-09T19:47:49.000Z | L1Trigger/L1THGCal/python/hgcalLayersCalibrationCoefficients_cfi.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | L1Trigger/L1THGCal/python/hgcalLayersCalibrationCoefficients_cfi.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-03-19T13:44:54.000Z | 2019-03-19T13:44:54.000Z | import FWCore.ParameterSet.Config as cms
AllLayer_weights = cms.vdouble(0.0,
0.0158115,
0.0286877,
0.017707,
0.00884719,
0.00921472,
... | 38.590361 | 67 | 0.170933 | 333 | 6,406 | 3.276276 | 0.399399 | 0.03483 | 0.057745 | 0.082493 | 0.226398 | 0.208983 | 0.172319 | 0.172319 | 0.172319 | 0.172319 | 0 | 0.658856 | 0.773494 | 6,406 | 165 | 68 | 38.824242 | 0.093039 | 0.004059 | 0 | 0.345679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006173 | 0 | 0.006173 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ccebeec5b952f2da16c7bfff8751cdd4d516a59f | 699 | py | Python | pyutilib/component/__init__.py | PyUtilib/PyUtilib | d99406f2af1fb62268c34453a2fbe6bd4a7348f0 | [
"BSD-3-Clause"
] | 24 | 2016-04-02T10:00:02.000Z | 2021-03-02T16:40:18.000Z | pyutilib/component/__init__.py | PyUtilib/PyUtilib | d99406f2af1fb62268c34453a2fbe6bd4a7348f0 | [
"BSD-3-Clause"
] | 105 | 2015-10-29T03:29:58.000Z | 2021-12-30T22:00:45.000Z | pyutilib/component/__init__.py | PyUtilib/PyUtilib | d99406f2af1fb62268c34453a2fbe6bd4a7348f0 | [
"BSD-3-Clause"
] | 22 | 2016-01-21T15:35:25.000Z | 2021-05-15T20:17:44.000Z | # _________________________________________________________________________
#
# PyUtilib: A Python utility library.
# Copyright (c) 2008 Sandia Corporation.
# This software is distributed under the BSD License.
# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
# the U.S. Government retains ... | 26.884615 | 76 | 0.795422 | 75 | 699 | 5.44 | 0.666667 | 0.122549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021559 | 0.137339 | 699 | 25 | 77 | 27.96 | 0.655058 | 0.709585 | 0 | 0 | 0 | 0 | 0.016129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ccf87d89339d883c7a52b2ca9279d45bfd94f6ec | 170 | py | Python | chemprop/models/__init__.py | wangdingyan/hybridUQ | c141a4bec0e716a12444f7e9ab0d7c975df93184 | [
"MIT"
] | 6 | 2021-10-01T10:17:29.000Z | 2021-12-29T04:37:10.000Z | chemprop/models/__init__.py | wangdingyan/hybridUQ | c141a4bec0e716a12444f7e9ab0d7c975df93184 | [
"MIT"
] | null | null | null | chemprop/models/__init__.py | wangdingyan/hybridUQ | c141a4bec0e716a12444f7e9ab0d7c975df93184 | [
"MIT"
] | 1 | 2021-09-21T17:39:03.000Z | 2021-09-21T17:39:03.000Z | from .model import MoleculeModel
from .cqr_model import PB_MoleculeModel
from .mpn import MPN, MPNEncoder
__all__ = [
'MoleculeModel',
'MPN',
'MPNEncoder'
]
| 17 | 39 | 0.717647 | 19 | 170 | 6.105263 | 0.473684 | 0.189655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194118 | 170 | 9 | 40 | 18.888889 | 0.846715 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 |
6945c3d8c96679f1b7d2f31fd14dff982397fc37 | 282 | py | Python | src/manim/definition_and_notation/titlesequence.py | a2435191/umtymp-at-group-project | 61869efe71712515b928b28968e1348fba7cb301 | [
"MIT"
] | null | null | null | src/manim/definition_and_notation/titlesequence.py | a2435191/umtymp-at-group-project | 61869efe71712515b928b28968e1348fba7cb301 | [
"MIT"
] | null | null | null | src/manim/definition_and_notation/titlesequence.py | a2435191/umtymp-at-group-project | 61869efe71712515b928b28968e1348fba7cb301 | [
"MIT"
] | null | null | null | from manim import *
import numpy as np
from numpy import array
class TitleSequence(Scene):
def construct(self):
P00T = Tex(r'P').set_stroke(width=1.5).set_fill(opacity=0)
P00D = Dot(point=[2,-2,0], radius=rad, color=RED).set_stroke(width=4).set_fill(opacity=0)
| 31.333333 | 97 | 0.691489 | 48 | 282 | 3.979167 | 0.708333 | 0.094241 | 0.146597 | 0.157068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050633 | 0.159574 | 282 | 8 | 98 | 35.25 | 0.755274 | 0 | 0 | 0 | 0 | 0 | 0.003546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
695050c49651666ae62355317c00f428c257bcaf | 1,946 | py | Python | sem/exporters/sem_xml.py | YoannDupont/SEM | ff21c5dc9a8e99eda81dc266e67cfa97dec7c243 | [
"MIT"
] | 22 | 2016-11-13T21:08:58.000Z | 2021-04-26T07:04:54.000Z | sem/exporters/sem_xml.py | Raphencoder/SEM | ff21c5dc9a8e99eda81dc266e67cfa97dec7c243 | [
"MIT"
] | 15 | 2016-11-15T10:21:07.000Z | 2021-11-08T10:08:05.000Z | sem/exporters/sem_xml.py | Raphencoder/SEM | ff21c5dc9a8e99eda81dc266e67cfa97dec7c243 | [
"MIT"
] | 8 | 2016-11-15T10:21:41.000Z | 2022-03-04T21:28:05.000Z | # -*- coding: utf-8 -*-
"""
file: sem_xml.py
Description: export annotated file to the SEM XML format.
author: Yoann Dupont
MIT License
Copyright (c) 2018 Yoann Dupont
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),... | 34.75 | 91 | 0.739466 | 277 | 1,946 | 5.137184 | 0.523466 | 0.061841 | 0.018271 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003831 | 0.195272 | 1,946 | 55 | 92 | 35.381818 | 0.904853 | 0.664954 | 0 | 0 | 0 | 0 | 0.109299 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.083333 | 0.166667 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
695355828c61ba9b84caea5bf668276456890c3f | 120 | py | Python | venv/lib/python2.7/site-packages/nano-1.0a3-py2.7.egg/nano/chunk/apps.py | 784134748/kubernetes-install | 5df59632c2619632e422948b667fb68eab9ff5be | [
"MIT"
] | null | null | null | venv/lib/python2.7/site-packages/nano-1.0a3-py2.7.egg/nano/chunk/apps.py | 784134748/kubernetes-install | 5df59632c2619632e422948b667fb68eab9ff5be | [
"MIT"
] | 1 | 2021-04-30T20:41:19.000Z | 2021-04-30T20:41:19.000Z | venv/lib/python2.7/site-packages/nano-1.0a3-py2.7.egg/nano/chunk/apps.py | 784134748/kubernetes-install | 5df59632c2619632e422948b667fb68eab9ff5be | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class NanoChunkConfig(AppConfig):
name = 'nano.chunk'
verbose_name = "Chunk"
| 20 | 33 | 0.733333 | 14 | 120 | 6.214286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 120 | 5 | 34 | 24 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
695d5ee0899953b3d24e01939a589aa711e10655 | 474 | py | Python | vo/xhs/SpiderXhsUserInfoVO.py | genji9071/dark_spider | 8213fc92791506a3b2c99b696cd12ae330208d99 | [
"MIT"
] | null | null | null | vo/xhs/SpiderXhsUserInfoVO.py | genji9071/dark_spider | 8213fc92791506a3b2c99b696cd12ae330208d99 | [
"MIT"
] | null | null | null | vo/xhs/SpiderXhsUserInfoVO.py | genji9071/dark_spider | 8213fc92791506a3b2c99b696cd12ae330208d99 | [
"MIT"
] | null | null | null | from pydantic import BaseModel
class SpiderXhsUserInfoVO(BaseModel):
fans_count: int = None
follows_count: int = None
is_male: bool = None
user_id: str = None
user_nickname: str = None
notes_count: int = None
boards_count: int = None
location: str = None
cover_url: str = None
c... | 24.947368 | 37 | 0.681435 | 64 | 474 | 4.8125 | 0.46875 | 0.155844 | 0.233766 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253165 | 474 | 18 | 38 | 26.333333 | 0.870057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.0625 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
695fe113430b0520b08625c95a82d0fb1562fc29 | 891 | py | Python | util.py | olenive/DeepHyperNEAT | 01636762473c71ab19825a756cd26e70d7928afc | [
"Apache-2.0"
] | 51 | 2019-02-01T19:43:37.000Z | 2022-03-16T09:07:03.000Z | util.py | olenive/DeepHyperNEAT | 01636762473c71ab19825a756cd26e70d7928afc | [
"Apache-2.0"
] | 3 | 2020-05-28T16:36:00.000Z | 2021-09-30T18:24:40.000Z | util.py | olenive/DeepHyperNEAT | 01636762473c71ab19825a756cd26e70d7928afc | [
"Apache-2.0"
] | 35 | 2019-02-08T02:00:31.000Z | 2022-03-01T23:17:00.000Z | '''
Common functions used throughout DeepHyperNEAT.
Contains iterator tools and basic statistics function. The iterator tools are
copied directly from six (Copyright (c) 2010-2018 Benjamin Peterson).
'''
import sys
import numpy as np
if sys.version_info[0] == 3:
def iterkeys(d, **kw):
return iter(d.keys(*... | 20.72093 | 77 | 0.619529 | 138 | 891 | 3.971014 | 0.42029 | 0.032847 | 0.09854 | 0.142336 | 0.29927 | 0.29927 | 0.29927 | 0.208029 | 0 | 0 | 0 | 0.014493 | 0.225589 | 891 | 43 | 78 | 20.72093 | 0.77971 | 0.219978 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.407407 | false | 0 | 0.074074 | 0.37037 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
695fe23d81a133ff82ace78a75623953f3f20179 | 561 | py | Python | user_model.py | kirby900/simple_flask_app | 3514ce70c7d04a7172443bb116b0a32c50ba7219 | [
"MIT"
] | null | null | null | user_model.py | kirby900/simple_flask_app | 3514ce70c7d04a7172443bb116b0a32c50ba7219 | [
"MIT"
] | null | null | null | user_model.py | kirby900/simple_flask_app | 3514ce70c7d04a7172443bb116b0a32c50ba7219 | [
"MIT"
] | null | null | null | from db import db
class UserModel(db.Model):
__tablename__ = "users"
id = db.Column(db.Integer, primary_key=True)
username = db.Column(db.String(40), unique=True, nullable=False, index=True)
password = db.Column(db.String(40), unique=False, nullable=False, index=True)
@classmethod
def find_by... | 28.05 | 81 | 0.631016 | 70 | 561 | 4.942857 | 0.471429 | 0.069364 | 0.086705 | 0.092486 | 0.138728 | 0.138728 | 0 | 0 | 0 | 0 | 0 | 0.009368 | 0.238859 | 561 | 19 | 82 | 29.526316 | 0.800937 | 0 | 0 | 0 | 0 | 0 | 0.040998 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0.133333 | 0.066667 | 0.133333 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 3 |
696c8f9c8442be4ed11476f096e5b4f3e8ab2e48 | 484 | py | Python | catkin_ws/build/my_pkg3/cmake/my_pkg3-genmsg-context.py | min-chuir-Park/ROS_Tutorials | 4c19e7673ec7098019c747833c45f0d32b85dab4 | [
"MIT"
] | 1 | 2019-07-04T04:49:05.000Z | 2019-07-04T04:49:05.000Z | catkin_ws/build/my_pkg3/cmake/my_pkg3-genmsg-context.py | min-chuir-Park/ROS_Tutorials | 4c19e7673ec7098019c747833c45f0d32b85dab4 | [
"MIT"
] | null | null | null | catkin_ws/build/my_pkg3/cmake/my_pkg3-genmsg-context.py | min-chuir-Park/ROS_Tutorials | 4c19e7673ec7098019c747833c45f0d32b85dab4 | [
"MIT"
] | null | null | null | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/home/nvidia/catkin_ws/src/my_pkg3/msg/MABX.msg;/home/nvidia/catkin_ws/src/my_pkg3/msg/a.msg"
services_str = ""
pkg_name = "my_pkg3"
dependencies_str = "std_msgs"
langs = ""
dep_include_paths_str = "my_pkg3;/home/nvidia/catkin_ws/src/my_pkg3/msg;std_m... | 40.333333 | 126 | 0.772727 | 80 | 484 | 4.3625 | 0.55 | 0.08596 | 0.137536 | 0.154728 | 0.25788 | 0.25788 | 0.25788 | 0.25788 | 0 | 0 | 0 | 0.011111 | 0.070248 | 484 | 11 | 127 | 44 | 0.764444 | 0.10124 | 0 | 0 | 1 | 0.222222 | 0.531178 | 0.443418 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
15c9dfb12c96062835f191814f52d0f99024e682 | 4,910 | py | Python | Modules/intensityprofiles.py | szieleniewski/CUBEGEN | b3b4c160eebe53fa8bbd8a95390c3f755291586d | [
"BSD-3-Clause"
] | null | null | null | Modules/intensityprofiles.py | szieleniewski/CUBEGEN | b3b4c160eebe53fa8bbd8a95390c3f755291586d | [
"BSD-3-Clause"
] | null | null | null | Modules/intensityprofiles.py | szieleniewski/CUBEGEN | b3b4c160eebe53fa8bbd8a95390c3f755291586d | [
"BSD-3-Clause"
] | 1 | 2019-04-10T10:11:59.000Z | 2019-04-10T10:11:59.000Z | '''
Module containing intensity profile functions that may be applied
to given data cubes in order to simulate varying surface brightness
of imaged galaxies.
Author: Nicholas Zieleniewski & Simon Zieleniewski
Last updated: 06-10-16
'''
import numpy as np
def initialise(numgal, otype, datacube, spaxdists, sep, fac... | 37.480916 | 81 | 0.542566 | 654 | 4,910 | 4.062691 | 0.244648 | 0.054196 | 0.035755 | 0.030109 | 0.649228 | 0.632292 | 0.614979 | 0.60971 | 0.60971 | 0.60971 | 0 | 0.024167 | 0.308961 | 4,910 | 130 | 82 | 37.769231 | 0.758915 | 0.095927 | 0 | 0.703704 | 0 | 0 | 0.051062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.018519 | null | null | 0.037037 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
15d4624eaaac53deabeecc804694e84e679d79ac | 170 | py | Python | examples/ehdemov3/kitchen_servo_switch2/config.py | ulno/iot-devkit | 6e90c1c207f23c4b5bf374f58d3701550e6c70ca | [
"MIT"
] | null | null | null | examples/ehdemov3/kitchen_servo_switch2/config.py | ulno/iot-devkit | 6e90c1c207f23c4b5bf374f58d3701550e6c70ca | [
"MIT"
] | null | null | null | examples/ehdemov3/kitchen_servo_switch2/config.py | ulno/iot-devkit | 6e90c1c207f23c4b5bf374f58d3701550e6c70ca | [
"MIT"
] | 1 | 2020-07-23T03:03:38.000Z | 2020-07-23T03:03:38.000Z | mqtt_broker = "192.168.10.254"
mqtt_client_id = b"esp_kitchen_servo_switch"
mqtt_topic = b"kitchen/light1"
mqtt_user = "homeassistant"
mqtt_password = "internetofthings"
| 28.333333 | 44 | 0.8 | 25 | 170 | 5.08 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077419 | 0.088235 | 170 | 5 | 45 | 34 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0.476471 | 0.141176 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 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 |
15e62e75199768d8099cb8885235f499b61f2768 | 483 | py | Python | model/project.py | M1d0r1/py_mantis | 8d2b05601b9240e76e2e07b50770e39df5bcade9 | [
"Apache-2.0"
] | null | null | null | model/project.py | M1d0r1/py_mantis | 8d2b05601b9240e76e2e07b50770e39df5bcade9 | [
"Apache-2.0"
] | null | null | null | model/project.py | M1d0r1/py_mantis | 8d2b05601b9240e76e2e07b50770e39df5bcade9 | [
"Apache-2.0"
] | null | null | null | class Project:
def __init__(self, name, status="development", inherit=True, view_status="public", description="default"):
self.name = name
self.status = status
self.inherit = inherit
self.view_status = view_status
self.description = description
def __eq__(self, other):
... | 28.411765 | 110 | 0.63354 | 58 | 483 | 4.982759 | 0.362069 | 0.138408 | 0.096886 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256729 | 483 | 16 | 111 | 30.1875 | 0.805014 | 0 | 0 | 0 | 0 | 0 | 0.080745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.230769 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
15e7a5f3f9ad0a366afa21094332c4da7c38a8f5 | 233 | py | Python | docker-compose/game_env/hidenseek_gym/config.py | QuatZo/HideNSeek-DeepReinforcementLearning-PyGame | d76fce241c0064ebf7df39622221d93d0597dc50 | [
"MIT"
] | 1 | 2020-12-08T00:59:04.000Z | 2020-12-08T00:59:04.000Z | docker-compose/game_env/hidenseek_gym/config.py | HubertLechowicz/Bachelors | fa20ae1c518a3f72e9e37dafea33697ef82e2557 | [
"MIT"
] | 2 | 2021-09-08T03:15:35.000Z | 2022-01-13T03:47:43.000Z | docker-compose/game_env/hidenseek_gym/config.py | HubertLechowicz/Bachelors | fa20ae1c518a3f72e9e37dafea33697ef82e2557 | [
"MIT"
] | null | null | null | import yaml
try:
from yaml import CLoader as Loader, CDumper as Dumper
except ImportError:
from yaml import Loader, Dumper
stream = open('/opt/app/game_env/default_config.yml', 'r')
config = yaml.load(stream, Loader=Loader)
| 25.888889 | 58 | 0.746781 | 35 | 233 | 4.914286 | 0.628571 | 0.093023 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154506 | 233 | 8 | 59 | 29.125 | 0.873096 | 0 | 0 | 0 | 0 | 0 | 0.158798 | 0.154506 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c612130f7e0857f063234ece624d3de99936b63d | 277 | py | Python | src/config.py | mt-hack/nptu-auto-checkin | 65597630629eb3bb7b7efac7419cd7229f7467d7 | [
"MIT"
] | null | null | null | src/config.py | mt-hack/nptu-auto-checkin | 65597630629eb3bb7b7efac7419cd7229f7467d7 | [
"MIT"
] | null | null | null | src/config.py | mt-hack/nptu-auto-checkin | 65597630629eb3bb7b7efac7419cd7229f7467d7 | [
"MIT"
] | null | null | null | import os
class Config(object):
username = os.environ.get('NPTU_USER')
password = os.environ.get('NPTU_PASS')
attempts = 5
def configure_credentials(self, new_username, new_password):
self.username = new_username
self.password = new_password
| 23.083333 | 64 | 0.693141 | 35 | 277 | 5.285714 | 0.542857 | 0.097297 | 0.12973 | 0.172973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004566 | 0.209386 | 277 | 11 | 65 | 25.181818 | 0.840183 | 0 | 0 | 0 | 0 | 0 | 0.064982 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.375 | 0.125 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
c6263f7c9c8f141bc0f4ffc7f310ccf79f51db3f | 1,071 | py | Python | tests/mock_tweepy.py | alfie-max/Publish | 0014cc45f2496c44c9171353dc42a58d73dd5490 | [
"MIT"
] | 1 | 2016-03-08T07:17:46.000Z | 2016-03-08T07:17:46.000Z | tests/mock_tweepy.py | alfie-max/Publish | 0014cc45f2496c44c9171353dc42a58d73dd5490 | [
"MIT"
] | 5 | 2021-03-18T19:55:25.000Z | 2022-03-11T23:11:27.000Z | tests/mock_tweepy.py | alfie-max/Publish | 0014cc45f2496c44c9171353dc42a58d73dd5490 | [
"MIT"
] | null | null | null | import tweepy
class OAuthHandler(tweepy.OAuthHandler):
def __init__(self, consumer_key, consumer_secret, callback=None, secure=True):
self.access_token = self.Access_Token()
def get_authorization_url(self):
return 'http://www.example.com'
def get_access_token(self, pin):
self.access_token... | 24.340909 | 81 | 0.662932 | 139 | 1,071 | 4.820144 | 0.381295 | 0.147761 | 0.134328 | 0.074627 | 0.173134 | 0.086567 | 0 | 0 | 0 | 0 | 0 | 0.005995 | 0.221289 | 1,071 | 43 | 82 | 24.906977 | 0.797362 | 0 | 0 | 0.096774 | 0 | 0 | 0.039216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.354839 | false | 0.16129 | 0.032258 | 0.064516 | 0.612903 | 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 |
c63d779991ade226958a1093c0a8c547b455c76a | 912 | py | Python | shop/views.py | salimab/Project_Django | 3ebfb3118999bc5f78e7cd858d3fe6f1baf63ebc | [
"MIT"
] | null | null | null | shop/views.py | salimab/Project_Django | 3ebfb3118999bc5f78e7cd858d3fe6f1baf63ebc | [
"MIT"
] | null | null | null | shop/views.py | salimab/Project_Django | 3ebfb3118999bc5f78e7cd858d3fe6f1baf63ebc | [
"MIT"
] | 1 | 2019-06-19T17:23:31.000Z | 2019-06-19T17:23:31.000Z | from django.shortcuts import render
# Create your views here.
from django.http import HttpResponse
from django.shortcuts import render, get_object_or_404
from .models import Category, Product
def index(request):
return HttpResponse("Hi there, this is our new home page.")
def hello(request, name):
return Http... | 33.777778 | 98 | 0.751096 | 121 | 912 | 5.528926 | 0.355372 | 0.06577 | 0.049327 | 0.06278 | 0.263079 | 0.170404 | 0.113602 | 0 | 0 | 0 | 0 | 0.011364 | 0.131579 | 912 | 26 | 99 | 35.076923 | 0.833333 | 0.025219 | 0 | 0 | 0 | 0 | 0.176072 | 0.090293 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.222222 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c63e27ec948839f25afa6137095777915df35e04 | 19,611 | py | Python | src/tequila/objective/objective.py | snc2/tequila | 6767ced9215408f7d055c22df7a66ccd610b00fb | [
"MIT"
] | null | null | null | src/tequila/objective/objective.py | snc2/tequila | 6767ced9215408f7d055c22df7a66ccd610b00fb | [
"MIT"
] | 1 | 2020-05-08T13:34:33.000Z | 2021-12-06T06:12:37.000Z | src/tequila/objective/objective.py | snc2/tequila | 6767ced9215408f7d055c22df7a66ccd610b00fb | [
"MIT"
] | null | null | null | import typing, copy, numbers
from tequila import TequilaException
from tequila.utils import JoinedTransformation, to_float
from tequila.hamiltonian import paulis
from tequila.autograd_imports import numpy
import collections
class ExpectationValueImpl:
"""
Internal Object, do not use from the outside
the... | 35.462929 | 166 | 0.629953 | 2,318 | 19,611 | 5.195859 | 0.135462 | 0.030721 | 0.0274 | 0.033129 | 0.422866 | 0.381186 | 0.349386 | 0.344653 | 0.342328 | 0.320325 | 0 | 0.000636 | 0.278313 | 19,611 | 552 | 167 | 35.527174 | 0.85035 | 0.21284 | 0 | 0.44058 | 0 | 0.002899 | 0.048595 | 0.004344 | 0 | 0 | 0 | 0 | 0.005797 | 1 | 0.223188 | false | 0.002899 | 0.017391 | 0.107246 | 0.501449 | 0.008696 | 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 |
c641cb935415137912dc420c8e673c3dc027d954 | 612 | py | Python | CodeEval/Moderate/Card Number Validation/test_validate.py | Goyatuzo/HackerRank | ad836faa7e8ecfe751a72027e1312ae3ee19f4ca | [
"MIT"
] | null | null | null | CodeEval/Moderate/Card Number Validation/test_validate.py | Goyatuzo/HackerRank | ad836faa7e8ecfe751a72027e1312ae3ee19f4ca | [
"MIT"
] | 4 | 2016-03-19T05:13:29.000Z | 2021-05-10T16:42:42.000Z | CodeEval/Moderate/Card Number Validation/test_validate.py | Goyatuzo/Challenges | ad836faa7e8ecfe751a72027e1312ae3ee19f4ca | [
"MIT"
] | null | null | null | import unittest
from validate import validate
class TestCardNumberValidate(unittest.TestCase):
def test_example(self):
self.assertTrue(validate('1556 9144 6285 339'))
self.assertFalse(validate('6363 1811 2857 7650'))
def test_given(self):
self.assertFalse(validate('6011 5940 0... | 32.210526 | 60 | 0.684641 | 73 | 612 | 5.60274 | 0.630137 | 0.146699 | 0.224939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230453 | 0.205882 | 612 | 19 | 61 | 32.210526 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0.231648 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c64f6c4d1215fbb28b0e2fd095afac8d55ea0c08 | 105 | py | Python | filter.py | Jeyhun023/python | aec0ba266543d52d7cecf49221fe38eafaf50e09 | [
"MIT"
] | null | null | null | filter.py | Jeyhun023/python | aec0ba266543d52d7cecf49221fe38eafaf50e09 | [
"MIT"
] | null | null | null | filter.py | Jeyhun023/python | aec0ba266543d52d7cecf49221fe38eafaf50e09 | [
"MIT"
] | null | null | null | f = open("/home/abysshub_bots/cekiceki.txt", "w")
f.write("Woops! I have deleted the content!")
f.close() | 35 | 49 | 0.695238 | 18 | 105 | 4 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 105 | 3 | 50 | 35 | 0.757895 | 0 | 0 | 0 | 0 | 0 | 0.632075 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c6593921bc83f371d076a0767231a433788789b0 | 90 | py | Python | qmtools/qmfetcher/__init__.py | hickst/qmtools | b412bf524a82e0bc1dfc0fbde0a57fe3f9fe750a | [
"Apache-2.0"
] | null | null | null | qmtools/qmfetcher/__init__.py | hickst/qmtools | b412bf524a82e0bc1dfc0fbde0a57fe3f9fe750a | [
"Apache-2.0"
] | 4 | 2021-10-11T00:52:16.000Z | 2022-03-21T19:14:11.000Z | qmtools/qmfetcher/__init__.py | hickst/qmtools | b412bf524a82e0bc1dfc0fbde0a57fe3f9fe750a | [
"Apache-2.0"
] | null | null | null | REQUEST_TIMEOUT = 30 # request timeout in seconds
SERVER_PAGE_SIZE = 50
| 30 | 67 | 0.644444 | 11 | 90 | 5 | 0.818182 | 0.509091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0.322222 | 90 | 2 | 68 | 45 | 0.836066 | 0.288889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d67e2e7b515c1d4062204deb1d5359b796a936d1 | 123 | py | Python | output/models/saxon_data/id/id053_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/saxon_data/id/id053_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/saxon_data/id/id053_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.saxon_data.id.id053_xsd.id053 import (
Doc,
EmpType,
)
__all__ = [
"Doc",
"EmpType",
]
| 12.3 | 57 | 0.609756 | 15 | 123 | 4.6 | 0.8 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.243902 | 123 | 9 | 58 | 13.666667 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0.081301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 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 |
d68898c076b60496381bfe62e150475c4275f544 | 16,395 | py | Python | tests/integration/test_asr_gradient_step_and_eval.py | vladgets/NeMo | be3c118e726ba5fe41d34fb48046cb992b93d39a | [
"Apache-2.0"
] | null | null | null | tests/integration/test_asr_gradient_step_and_eval.py | vladgets/NeMo | be3c118e726ba5fe41d34fb48046cb992b93d39a | [
"Apache-2.0"
] | null | null | null | tests/integration/test_asr_gradient_step_and_eval.py | vladgets/NeMo | be3c118e726ba5fe41d34fb48046cb992b93d39a | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# =============================================================================
# Copyright 2020 NVIDIA. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obt... | 42.806789 | 119 | 0.646295 | 1,947 | 16,395 | 5.205444 | 0.176168 | 0.019339 | 0.010853 | 0.016774 | 0.713271 | 0.708633 | 0.700641 | 0.69778 | 0.682388 | 0.682388 | 0 | 0.016642 | 0.245014 | 16,395 | 382 | 120 | 42.918848 | 0.802149 | 0.196767 | 0 | 0.545126 | 0 | 0 | 0.101916 | 0.029163 | 0 | 0 | 0 | 0 | 0.01444 | 1 | 0.025271 | false | 0 | 0.032491 | 0 | 0.075812 | 0.018051 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d6a0c12885e78c3ab4e520273b569dab6825593c | 10,424 | py | Python | Database.py | kaushikmupadhya/FacebookCommandLine | 4c39deb0b1e35937dc1744efefa2b27fbe3f1d41 | [
"MIT"
] | 2 | 2021-05-31T00:01:43.000Z | 2021-05-31T03:16:11.000Z | Database.py | kaushikmupadhya/FacebookCommandLine | 4c39deb0b1e35937dc1744efefa2b27fbe3f1d41 | [
"MIT"
] | null | null | null | Database.py | kaushikmupadhya/FacebookCommandLine | 4c39deb0b1e35937dc1744efefa2b27fbe3f1d41 | [
"MIT"
] | null | null | null | from neo4j import GraphDatabase
from py2neo import Graph, NodeMatcher
# from pypher import Pypher, __
class Database:
def create_user_node(self,firstName, lastName, email, password, dob, bio):
graphdb=GraphDatabase.driver("bolt://localhost:7687", auth=("neo4j", "facebook"), encrypted=False)
graphd... | 51.860697 | 262 | 0.639006 | 1,313 | 10,424 | 4.980198 | 0.083016 | 0.050161 | 0.048173 | 0.038232 | 0.738186 | 0.718306 | 0.69139 | 0.679309 | 0.666769 | 0.620278 | 0 | 0.017849 | 0.199156 | 10,424 | 200 | 263 | 52.12 | 0.765453 | 0.002782 | 0 | 0.514451 | 0 | 0.023121 | 0.303762 | 0.070721 | 0 | 0 | 0 | 0 | 0 | 1 | 0.132948 | false | 0.150289 | 0.011561 | 0 | 0.242775 | 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 |
d6a7439ea9964d91a3544bc930e0748d66d4d113 | 159 | py | Python | app/database/__init__.py | JBizarri/fast-api-crud | 3eb0391c1a1f2e054092de717b73898c7efed5cb | [
"MIT"
] | null | null | null | app/database/__init__.py | JBizarri/fast-api-crud | 3eb0391c1a1f2e054092de717b73898c7efed5cb | [
"MIT"
] | null | null | null | app/database/__init__.py | JBizarri/fast-api-crud | 3eb0391c1a1f2e054092de717b73898c7efed5cb | [
"MIT"
] | null | null | null | __all__ = ["Base", "BaseModel", "connect", "LocalSessionFactory"]
from .base_model import BaseModel, Base
from .connection import LocalSessionFactory, connect
| 39.75 | 65 | 0.786164 | 16 | 159 | 7.5 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100629 | 159 | 3 | 66 | 53 | 0.839161 | 0 | 0 | 0 | 0 | 0 | 0.245283 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d6bb13a15f4592ef34fcbc43a4e6d6a42e2c5ac4 | 4,583 | py | Python | IMTool/setDrivenKey.py | naong2/MayaPython | 011c5665d30c27eb42e718564bca6b954718c2ea | [
"MIT"
] | null | null | null | IMTool/setDrivenKey.py | naong2/MayaPython | 011c5665d30c27eb42e718564bca6b954718c2ea | [
"MIT"
] | null | null | null | IMTool/setDrivenKey.py | naong2/MayaPython | 011c5665d30c27eb42e718564bca6b954718c2ea | [
"MIT"
] | 1 | 2022-03-23T09:25:27.000Z | 2022-03-23T09:25:27.000Z | # -*- coding: UTF-8 -*-
import maya.cmds as cmds
from IMTool.IMUtility import BlendShapeList
def pprint(sel):
for i in sel:
print i
print '-------------start-----------------'
curves = BlendShapeList.JBControlRigList
item = []
#블랜드쉐입노드 알아내기
# mesh = cmds.ls(sl=1)
# meshHistory = cmds.listHistory(mesh)
... | 26.188571 | 101 | 0.57386 | 527 | 4,583 | 4.924099 | 0.242884 | 0.040077 | 0.036994 | 0.04316 | 0.379191 | 0.327553 | 0.308671 | 0.300578 | 0.300578 | 0.300578 | 0 | 0.01551 | 0.226271 | 4,583 | 174 | 102 | 26.33908 | 0.7163 | 0.831988 | 0 | 0 | 0 | 0 | 0.110837 | 0.086207 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.222222 | null | null | 0.444444 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
d6d1da59cc2f922f52765b19142df9d32a455ffd | 54 | py | Python | memoize/__init__.py | ECrownofFire/chaos | 0cfbb85ab52654967909aef54eff3a0e62b641bd | [
"MIT"
] | 1,804 | 2017-05-23T02:34:27.000Z | 2017-05-26T00:44:44.000Z | memoize/__init__.py | ECrownofFire/chaos | 0cfbb85ab52654967909aef54eff3a0e62b641bd | [
"MIT"
] | 345 | 2017-05-20T23:55:12.000Z | 2017-06-19T07:48:58.000Z | memoize/__init__.py | ECrownofFire/chaos | 0cfbb85ab52654967909aef54eff3a0e62b641bd | [
"MIT"
] | 248 | 2017-05-23T02:00:07.000Z | 2017-05-26T00:00:28.000Z | from .decorator import memoize
__all__ = ["memoize"]
| 13.5 | 30 | 0.740741 | 6 | 54 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 3 | 31 | 18 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 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 |
d6d4e66f6ff2eae202719cc1ae95496a12d89ac2 | 79 | py | Python | multireq/__init__.py | rafet/multi-requester | 768cb01696c0390705d165666354aad394f17836 | [
"MIT"
] | 7 | 2020-05-26T13:50:03.000Z | 2021-04-07T19:42:24.000Z | multireq/__init__.py | rafet/multi-requester | 768cb01696c0390705d165666354aad394f17836 | [
"MIT"
] | null | null | null | multireq/__init__.py | rafet/multi-requester | 768cb01696c0390705d165666354aad394f17836 | [
"MIT"
] | null | null | null | from multireq.multiRequester import multiRequester
__author__ = "Rafet Topcu"
| 19.75 | 50 | 0.835443 | 8 | 79 | 7.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 79 | 3 | 51 | 26.333333 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 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 |
d6d7bf8aa444885e81e6d5b58ee119b135bbf07b | 141 | py | Python | pgandj/__init__.py | donalm/pgandj | 23c40e7e6053c44317acc6903b2508163e4c84fd | [
"MIT"
] | 1 | 2018-03-20T02:16:40.000Z | 2018-03-20T02:16:40.000Z | pgandj/__init__.py | donalm/pgandj | 23c40e7e6053c44317acc6903b2508163e4c84fd | [
"MIT"
] | null | null | null | pgandj/__init__.py | donalm/pgandj | 23c40e7e6053c44317acc6903b2508163e4c84fd | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from .log import get_logger
from .inspect import Inspect
__all__ = ['get_logger', 'Inspect']
| 17.625 | 35 | 0.680851 | 20 | 141 | 4.5 | 0.7 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.148936 | 141 | 7 | 36 | 20.142857 | 0.741667 | 0.297872 | 0 | 0 | 0 | 0 | 0.175258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d6dc9e041af3d84d0aef29dc2456e8d6727627a2 | 55 | py | Python | feedback/__init__.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 13 | 2015-11-29T12:19:12.000Z | 2021-02-21T15:42:11.000Z | feedback/__init__.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 23 | 2015-04-29T19:43:34.000Z | 2021-02-10T05:50:17.000Z | feedback/__init__.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 11 | 2015-09-20T18:59:00.000Z | 2020-02-07T08:47:34.000Z | default_app_config = 'feedback.apps.FeedbackAppConfig'
| 27.5 | 54 | 0.854545 | 6 | 55 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 55 | 1 | 55 | 55 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0.563636 | 0.563636 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d6e8d5049a4a51b5d6b57eda2798e33d12ca34b5 | 142 | py | Python | GetPhenotypes/apps.py | BigDataehealthTools/GOAT_v3.1 | a0a928398ab04983ad8518da7b61f9a7d95c698c | [
"Apache-2.0"
] | null | null | null | GetPhenotypes/apps.py | BigDataehealthTools/GOAT_v3.1 | a0a928398ab04983ad8518da7b61f9a7d95c698c | [
"Apache-2.0"
] | null | null | null | GetPhenotypes/apps.py | BigDataehealthTools/GOAT_v3.1 | a0a928398ab04983ad8518da7b61f9a7d95c698c | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class GetphenotypesConfig(AppConfig):
name = 'GetPhenotypes'
| 17.75 | 39 | 0.809859 | 15 | 142 | 7.333333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 142 | 7 | 40 | 20.285714 | 0.901639 | 0 | 0 | 0 | 0 | 0 | 0.091549 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d6f87a33cb5031d8767a10acb3fbfd0ab9bb0720 | 571 | py | Python | sololink/flightcode/stm32/set_telem_units.py | meee1/OpenSolo | 6f299639adbad1e8d573c8ae1135832711b600e4 | [
"Apache-2.0"
] | 68 | 2019-09-23T03:27:05.000Z | 2022-03-12T03:00:41.000Z | sololink/flightcode/stm32/set_telem_units.py | meee1/OpenSolo | 6f299639adbad1e8d573c8ae1135832711b600e4 | [
"Apache-2.0"
] | 22 | 2019-10-26T20:15:56.000Z | 2022-02-12T05:41:56.000Z | sololink/flightcode/stm32/set_telem_units.py | meee1/OpenSolo | 6f299639adbad1e8d573c8ae1135832711b600e4 | [
"Apache-2.0"
] | 33 | 2019-09-29T19:52:19.000Z | 2022-03-12T03:00:43.000Z | #!/usr/bin/env python
import sys
import set_telem_units_msg
def usage():
print "usage: set_telem_units.py [metric|imperial]"
if __name__ == "__main__":
# one required argument: "metric" or "imperial"
if len(sys.argv) != 2:
usage()
sys.exit(1)
if sys.argv[1] == "metric":
ms... | 19.033333 | 55 | 0.614711 | 83 | 571 | 3.939759 | 0.457831 | 0.122324 | 0.198777 | 0.195719 | 0.159021 | 0.159021 | 0.159021 | 0 | 0 | 0 | 0 | 0.018824 | 0.255692 | 571 | 29 | 56 | 19.689655 | 0.750588 | 0.154116 | 0 | 0.235294 | 0 | 0 | 0.135417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.117647 | null | null | 0.058824 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ba419aff970f2ef21d10266bf778e5c178907829 | 715 | py | Python | dottorrent/exceptions.py | gnausicaa/dottorrent | fea5714efe0cde2a55eabfb387295781a78d84bb | [
"MIT"
] | 62 | 2016-08-22T07:51:13.000Z | 2022-01-07T21:20:38.000Z | dottorrent/exceptions.py | gnausicaa/dottorrent | fea5714efe0cde2a55eabfb387295781a78d84bb | [
"MIT"
] | 8 | 2016-11-02T19:08:47.000Z | 2021-08-11T19:30:51.000Z | dottorrent/exceptions.py | gnausicaa/dottorrent | fea5714efe0cde2a55eabfb387295781a78d84bb | [
"MIT"
] | 9 | 2016-09-01T21:36:52.000Z | 2021-08-01T08:30:56.000Z | class EmptyInputException(Exception):
def __init__(self, *args, **kwargs):
super().__init__('Input path must be non-empty')
class InvalidInputException(Exception):
def __init__(self, *args, **kwargs):
super().__init__('Input path is invalid')
class InvalidURLException(Exception):
def ... | 24.655172 | 73 | 0.678322 | 76 | 715 | 5.855263 | 0.407895 | 0.134831 | 0.179775 | 0.224719 | 0.391011 | 0.391011 | 0.391011 | 0.391011 | 0.21573 | 0.21573 | 0 | 0 | 0.179021 | 715 | 28 | 74 | 25.535714 | 0.758092 | 0 | 0 | 0.266667 | 0 | 0 | 0.160839 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ba42c072c14aee61c9c3ebf5dff0c79621ee536b | 3,661 | py | Python | mac/pyobjc-framework-Quartz/PyObjCTest/test_cgpdfcontext.py | albertz/music-player | d23586f5bf657cbaea8147223be7814d117ae73d | [
"BSD-2-Clause"
] | 132 | 2015-01-01T10:02:42.000Z | 2022-03-09T12:51:01.000Z | mac/pyobjc-framework-Quartz/PyObjCTest/test_cgpdfcontext.py | mba811/music-player | 7998986b34cfda2244ef622adefb839331b81a81 | [
"BSD-2-Clause"
] | 6 | 2015-01-06T08:23:19.000Z | 2019-03-14T12:22:06.000Z | mac/pyobjc-framework-Quartz/PyObjCTest/test_cgpdfcontext.py | mba811/music-player | 7998986b34cfda2244ef622adefb839331b81a81 | [
"BSD-2-Clause"
] | 27 | 2015-02-23T11:51:43.000Z | 2022-03-07T02:34:18.000Z |
from PyObjCTools.TestSupport import *
from Quartz import *
import Quartz
from Foundation import NSMutableData
try:
unicode
except NameError:
unicode = str
class TestCGPDFContext (TestCase):
@min_os_level('10.7')
def testFunctions10_7(self):
data = NSMutableData.data()
consumer = CGDa... | 38.135417 | 95 | 0.731221 | 281 | 3,661 | 9.459075 | 0.3879 | 0.20316 | 0.213318 | 0.013544 | 0.117381 | 0.089541 | 0 | 0 | 0 | 0 | 0 | 0.01442 | 0.185468 | 3,661 | 95 | 96 | 38.536842 | 0.876928 | 0.013931 | 0 | 0.171429 | 0 | 0 | 0.042972 | 0.01109 | 0 | 0 | 0 | 0 | 0.442857 | 1 | 0.071429 | false | 0.028571 | 0.057143 | 0 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ba5278fb6d2766ac8192d57553363fdd0e67e738 | 426 | py | Python | objects/game/final.py | atnartur/pyrace | d44181c51da0428958f0f709bc7f73c58187f81e | [
"MIT"
] | null | null | null | objects/game/final.py | atnartur/pyrace | d44181c51da0428958f0f709bc7f73c58187f81e | [
"MIT"
] | null | null | null | objects/game/final.py | atnartur/pyrace | d44181c51da0428958f0f709bc7f73c58187f81e | [
"MIT"
] | null | null | null | from objects.base import Base
from objects.interface.button import Button
from settings import colors, width, height
class Final(Base):
def __init__(self, score, offset_x=0, template="Вы набрали %s очков"):
self.button = Button(template % score, (offset_x + width / 2, height / 2), color=colors['red'])
... | 30.428571 | 103 | 0.685446 | 59 | 426 | 4.847458 | 0.525424 | 0.076923 | 0.083916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008798 | 0.199531 | 426 | 13 | 104 | 32.769231 | 0.829912 | 0 | 0 | 0 | 0 | 0 | 0.051765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.1 | 0.3 | 0 | 0.7 | 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 |
ba60cb2c4b0a7393622fea93d812177a7803bb8d | 231 | py | Python | test/django_project/explore/urls.py | sonofpeter-exe/svisor | 4b271674c6674982d5aecf6414f9f59275a50309 | [
"MIT"
] | null | null | null | test/django_project/explore/urls.py | sonofpeter-exe/svisor | 4b271674c6674982d5aecf6414f9f59275a50309 | [
"MIT"
] | null | null | null | test/django_project/explore/urls.py | sonofpeter-exe/svisor | 4b271674c6674982d5aecf6414f9f59275a50309 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('', views.home, name='Shopvisor-Explore'),
path('about/', views.about, name='Shopvisor-About'),
path('shop/', views.shop, name='Shopvisor-Shop'),
] | 25.666667 | 56 | 0.666667 | 29 | 231 | 5.310345 | 0.448276 | 0.253247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147186 | 231 | 9 | 57 | 25.666667 | 0.781726 | 0 | 0 | 0 | 0 | 0 | 0.24569 | 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 |
ba8c261a4e3f9e154f17b75afaf49164e2fd6737 | 118 | py | Python | pyvo/dam/__init__.py | theresadower/pyvo | 6b00f93ae3ae6d27fcb296f81956cf2e3d97f941 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 29 | 2019-05-29T20:32:07.000Z | 2022-02-19T17:47:42.000Z | pyvo/dam/__init__.py | theresadower/pyvo | 6b00f93ae3ae6d27fcb296f81956cf2e3d97f941 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 187 | 2019-05-21T11:15:52.000Z | 2022-03-25T16:05:14.000Z | pyvo/dam/__init__.py | theresadower/pyvo | 6b00f93ae3ae6d27fcb296f81956cf2e3d97f941 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 28 | 2019-05-17T16:06:09.000Z | 2022-03-11T13:54:10.000Z | # Licensed under a 3-clause BSD style license - see LICENSE.rst
from .obscore import *
__all__ = ["ObsCoreMetadata"]
| 23.6 | 63 | 0.745763 | 16 | 118 | 5.25 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.161017 | 118 | 4 | 64 | 29.5 | 0.838384 | 0.516949 | 0 | 0 | 0 | 0 | 0.272727 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.