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
533f59364bf3881e20258c21a548ce617137ea02
691
py
Python
tests/test_main.py
enzet/Moire
3a70d74c61a2b9e141924a177bb187ad6229d16b
[ "MIT" ]
2
2017-06-12T01:14:28.000Z
2022-02-07T03:33:16.000Z
tests/test_main.py
enzet/Moire
3a70d74c61a2b9e141924a177bb187ad6229d16b
[ "MIT" ]
6
2017-03-27T22:24:43.000Z
2021-08-11T10:43:01.000Z
tests/test_main.py
enzet/Moire
3a70d74c61a2b9e141924a177bb187ad6229d16b
[ "MIT" ]
1
2019-10-24T13:34:40.000Z
2019-10-24T13:34:40.000Z
from moire.moire import Moire, Tag from typing import Any converter: Moire = Moire() def check(moire_code: str, intermediate_representation: Any) -> None: assert converter.get_ir(moire_code) == intermediate_representation def test_text() -> None: check("text", ["text"]) def test_tag() -> None: check...
20.323529
70
0.615051
91
691
4.461538
0.241758
0.103448
0.135468
0.147783
0.472906
0.391626
0.261084
0
0
0
0
0
0.175109
691
33
71
20.939394
0.712281
0
0
0.294118
0
0
0.143271
0
0
0
0
0
0.058824
1
0.411765
false
0
0.117647
0
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
0
1
0
0
2
534c94c0788d8663db3bfa00e61e499a64ef6e9b
5,203
py
Python
.modules/.metagoofil/extractors/metadataOpenOffice.py
termux-one/EasY_HaCk
0a8d09ca4b126b027b6842e02fa0c29d8250e090
[ "Apache-2.0" ]
1,103
2018-04-20T14:08:11.000Z
2022-03-29T06:22:43.000Z
.modules/.metagoofil/extractors/metadataOpenOffice.py
sshourya948/EasY_HaCk
0a8d09ca4b126b027b6842e02fa0c29d8250e090
[ "Apache-2.0" ]
29
2019-04-03T14:52:38.000Z
2022-03-24T12:33:05.000Z
.modules/.metagoofil/extractors/metadataOpenOffice.py
sshourya948/EasY_HaCk
0a8d09ca4b126b027b6842e02fa0c29d8250e090
[ "Apache-2.0" ]
262
2017-09-16T22:15:50.000Z
2022-03-31T00:38:42.000Z
import unzip import zipfile import sys import re import os import random class metaInfoOO: def __init__(self): self.version ="" self.generator="" self.creationDate="" self.date="" self.language="" self.editingCycles="" self.editingDuration="" self.tableCount="" self.imageCount="" self.objectCount=...
23.757991
72
0.614453
656
5,203
4.86128
0.134146
0.046096
0.039511
0.085607
0.472562
0.472562
0.472562
0.464095
0.464095
0.464095
0
0.006422
0.192005
5,203
218
73
23.866972
0.752141
0.005958
0
0.555556
0
0
0.197485
0.134429
0
0
0
0
0
0
null
null
0.111111
0.031746
null
null
0.15873
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
53569b9502bc20ef31869ce4b11cad3659d9d1bb
528
py
Python
typeidea/config/admin.py
crystalfish1990/typeidea
80fb932bdf0a2fd49287a97e873c1d9d6a39c1ad
[ "MIT" ]
null
null
null
typeidea/config/admin.py
crystalfish1990/typeidea
80fb932bdf0a2fd49287a97e873c1d9d6a39c1ad
[ "MIT" ]
null
null
null
typeidea/config/admin.py
crystalfish1990/typeidea
80fb932bdf0a2fd49287a97e873c1d9d6a39c1ad
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from .models import Link, SideBar from typeidea.custom_site import custom_site from typeidea.custom_admin import BaseOwnerAdmin @admin.register(Link, site=custom_site) class LinkAdmin(BaseOwnerAdmin): list_display =...
27.789474
72
0.765152
65
528
5.984615
0.492308
0.102828
0.092545
0.097686
0
0
0
0
0
0
0
0.002141
0.11553
528
18
73
29.333333
0.830835
0.039773
0
0
0
0
0.136634
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
535c397cbdbdbcdd72fb20ce90fd3bf7cba8d43c
670
py
Python
skydy/analysers/lie_bracket.py
smkyle90/skydy
c7c24e821b1bd2a2591adfd3bbb35cd98599a07a
[ "MIT" ]
1
2021-06-12T05:28:41.000Z
2021-06-12T05:28:41.000Z
skydy/analysers/lie_bracket.py
smkyle90/skydy
c7c24e821b1bd2a2591adfd3bbb35cd98599a07a
[ "MIT" ]
null
null
null
skydy/analysers/lie_bracket.py
smkyle90/skydy
c7c24e821b1bd2a2591adfd3bbb35cd98599a07a
[ "MIT" ]
null
null
null
#!/usr/bin/python3 def lie_bracket(f, g, q): """Take the Lie bracket of two vector fields. [f, g] = (d/dq)f * g - (d/dq)g * f Args: f (sympy.matrix): an N x 1 symbolic vector g (sympy.matrix): an N x 1 symbolic q (sympy.matrix or List): a length N array like object of coordinates...
30.454545
104
0.614925
117
670
3.512821
0.435897
0.019465
0.029197
0.036496
0.177616
0.177616
0.116788
0
0
0
0
0.00813
0.265672
670
21
105
31.904762
0.827236
0.568657
0
0
0
0
0.39759
0
0
0
0
0
0.5
1
0.25
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
2
5369e696d1014e10e031095c7850db8661f62895
1,159
py
Python
kivy/main.py
synth2014/SimMyIdea
533d0d0adda1755e7f3dcc6e8435a1ed8d797882
[ "Apache-2.0" ]
null
null
null
kivy/main.py
synth2014/SimMyIdea
533d0d0adda1755e7f3dcc6e8435a1ed8d797882
[ "Apache-2.0" ]
null
null
null
kivy/main.py
synth2014/SimMyIdea
533d0d0adda1755e7f3dcc6e8435a1ed8d797882
[ "Apache-2.0" ]
null
null
null
from kivy.app import App # from kivy.lang import Builder from kivy.graphics import Color, Rectangle from kivy.uix.floatlayout import FloatLayout from kivy.uix.button import Button import json # Import the default model and any helper functions from model import Sim # root = Builder.load_string(''' # FloatLayout: ...
25.195652
70
0.586713
142
1,159
4.697183
0.542254
0.05997
0.032984
0
0
0
0
0
0
0
0
0.010766
0.278689
1,159
45
71
25.755556
0.785885
0.345988
0
0.105263
0
0
0.079946
0
0
0
0
0
0
0
null
null
0
0.315789
null
null
0.157895
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
72580fe67cb456329a168e93f6b8509076306cac
73
py
Python
src/domain/enums/language_type.py
johnfercher/sequence-diagram-gen
614c4679c8f88a0330d9e8977d8a7b21126dc783
[ "MIT" ]
1
2019-08-26T00:49:39.000Z
2019-08-26T00:49:39.000Z
src/domain/enums/language_type.py
johnfercher/sequence-diagram-gen
614c4679c8f88a0330d9e8977d8a7b21126dc783
[ "MIT" ]
null
null
null
src/domain/enums/language_type.py
johnfercher/sequence-diagram-gen
614c4679c8f88a0330d9e8977d8a7b21126dc783
[ "MIT" ]
null
null
null
from enum import Enum class Color(Enum): UNKNOWN = 0, CSHARP = 1
14.6
21
0.643836
11
73
4.272727
0.818182
0
0
0
0
0
0
0
0
0
0
0.037736
0.273973
73
5
22
14.6
0.849057
0
0
0
0
0
0
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
0
0
0
2
72832347398b9fde0541881e3f37b68ed506fc95
10,189
py
Python
tests/authentication/test_login_kubeconfig.py
tavaresrodrigo/kopf
97e1c7a926705a79dabce2931e96a924252b61df
[ "MIT" ]
855
2020-08-19T09:40:38.000Z
2022-03-31T19:13:29.000Z
tests/authentication/test_login_kubeconfig.py
tavaresrodrigo/kopf
97e1c7a926705a79dabce2931e96a924252b61df
[ "MIT" ]
715
2019-12-23T14:17:35.000Z
2022-03-30T20:54:45.000Z
tests/authentication/test_login_kubeconfig.py
tavaresrodrigo/kopf
97e1c7a926705a79dabce2931e96a924252b61df
[ "MIT" ]
97
2019-04-25T09:32:54.000Z
2022-03-30T10:15:30.000Z
import os import pytest import yaml from kopf._cogs.structs.credentials import LoginError from kopf._core.intents.piggybacking import has_kubeconfig, login_with_kubeconfig MINICONFIG = ''' kind: Config current-context: ctx contexts: - name: ctx context: cluster: clstr us...
31.642857
99
0.636863
1,135
10,189
5.557709
0.134802
0.11858
0.063253
0.03773
0.798668
0.706088
0.692454
0.692454
0.644578
0.644578
0
0.010283
0.25557
10,189
321
100
31.741433
0.821358
0.001178
0
0.697842
0
0
0.352236
0.027912
0
0
0
0
0.219424
1
0.05036
false
0.010791
0.017986
0
0.068345
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
72852dc3f544386876eb18b95af7c0c8ac18fded
316
py
Python
tests/extractor/helper_test.py
TylerLott/ocr_extractor
a14c1fc00627964192854dfea8a116bd6bc60f23
[ "MIT" ]
null
null
null
tests/extractor/helper_test.py
TylerLott/ocr_extractor
a14c1fc00627964192854dfea8a116bd6bc60f23
[ "MIT" ]
null
null
null
tests/extractor/helper_test.py
TylerLott/ocr_extractor
a14c1fc00627964192854dfea8a116bd6bc60f23
[ "MIT" ]
null
null
null
""" Tests for helper functions for processing the images for OCR """ from typing import Any import os import cv2 from src.extractor.extractor import get_boxes def test_get_boxes() -> tuple((Any, list)): path = os.path.join(os.getcwd(), r"data\test\test2.png") img = cv2.imread(path, 0) get_boxes(img)
21.066667
60
0.708861
51
316
4.313725
0.627451
0.109091
0
0
0
0
0
0
0
0
0
0.015209
0.167722
316
14
61
22.571429
0.821293
0.189873
0
0
0
0
0.076613
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
728c03590bf592b7646c4041298d6a89d71f1768
1,155
py
Python
tests/models.py
dex4er/graphene-django-optimizer
52e0d9e1fc37065924805362ed84f87c8610cbd9
[ "MIT" ]
null
null
null
tests/models.py
dex4er/graphene-django-optimizer
52e0d9e1fc37065924805362ed84f87c8610cbd9
[ "MIT" ]
null
null
null
tests/models.py
dex4er/graphene-django-optimizer
52e0d9e1fc37065924805362ed84f87c8610cbd9
[ "MIT" ]
null
null
null
from django.db import models class Item(models.Model): name = models.CharField(max_length=100, blank=True) parent = models.ForeignKey('Item', on_delete=models.SET_NULL, null=True, related_name='children') item = models.ForeignKey('Item', on_delete=models.SET_NULL, null=True) item_type = 'simple' ...
24.574468
101
0.724675
145
1,155
5.648276
0.324138
0.04884
0.087912
0.117216
0.410256
0.306471
0.306471
0.306471
0.306471
0.306471
0
0.012422
0.163636
1,155
46
102
25.108696
0.835404
0
0
0.25
0
0
0.030303
0
0
0
0
0
0
1
0.107143
false
0
0.035714
0.107143
0.928571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
72928491d119315841325ae9e15f0a8739451729
264
py
Python
challonge/__init__.py
m3fh4q/powerchallonge
69e3132eb1f14740b2750a14ef73617602be073c
[ "MIT" ]
null
null
null
challonge/__init__.py
m3fh4q/powerchallonge
69e3132eb1f14740b2750a14ef73617602be073c
[ "MIT" ]
null
null
null
challonge/__init__.py
m3fh4q/powerchallonge
69e3132eb1f14740b2750a14ef73617602be073c
[ "MIT" ]
null
null
null
from challonge import( tournaments, participants, matches, match_attachments) from challonge.tools import ( set_user_settings, set_user_settings_advanced, json_to_params, xml_to_params, UserSettingsError, ChallongeApiError)
20.307692
31
0.734848
27
264
6.814815
0.703704
0.141304
0.163043
0
0
0
0
0
0
0
0
0
0.215909
264
12
32
22
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
72a02fb59809bc0585489a10e902dc6eea421a0a
1,017
py
Python
test/selenium/src/tests/test_people_groups_page.py
Smotko/ggrc-core
b3abb58b24e7559960d71a94ba79c75539e7fe29
[ "Apache-2.0" ]
null
null
null
test/selenium/src/tests/test_people_groups_page.py
Smotko/ggrc-core
b3abb58b24e7559960d71a94ba79c75539e7fe29
[ "Apache-2.0" ]
12
2015-01-08T14:50:19.000Z
2017-11-29T19:37:53.000Z
test/selenium/src/tests/test_people_groups_page.py
Smotko/ggrc-core
b3abb58b24e7559960d71a94ba79c75539e7fe29
[ "Apache-2.0" ]
1
2015-01-08T13:25:09.000Z
2015-01-08T13:25:09.000Z
# Copyright (C) 2015 Google Inc., authors, and contributors <see AUTHORS file> # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> # Created By: jernej@reciprocitylabs.com # Maintained By: jernej@reciprocitylabs.com """All smoke tests relevant to people/groups page""" # pylint: disable=no-se...
35.068966
78
0.74238
158
1,017
4.664557
0.544304
0.054274
0.059701
0.070556
0.086839
0.086839
0.086839
0
0
0
0
0.008304
0.171091
1,017
28
79
36.321429
0.865955
0.653884
0
0
0
0
0.003236
0
0
0
0
0
0.125
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
72bd1887dee40c14f7bb1bf043f23afc2080351b
955
py
Python
ifx_db/tests/test_003_NumAffectedRows.py
ifxdb/PythonIfxDB
a9c64e8ade1329b7102f0bf356c0e4b6d230ca95
[ "Apache-2.0" ]
3
2017-05-01T10:22:27.000Z
2021-12-29T11:02:34.000Z
ifx_db/tests/test_003_NumAffectedRows.py
ifxdb/PythonIfxDB
a9c64e8ade1329b7102f0bf356c0e4b6d230ca95
[ "Apache-2.0" ]
1
2020-01-07T12:56:26.000Z
2020-01-07T12:56:26.000Z
ifx_db/tests/test_003_NumAffectedRows.py
ifxdb/PythonIfxDB
a9c64e8ade1329b7102f0bf356c0e4b6d230ca95
[ "Apache-2.0" ]
3
2017-05-10T16:03:25.000Z
2018-03-19T14:59:41.000Z
# # Licensed Materials - Property of IBM # # (c) Copyright IBM Corp. 2007-2008 # import unittest, sys import ifx_db import config from testfunctions import IfxDbTestFunctions class IfxDbTestCase(unittest.TestCase): def test_003_NumAffectedRows(self): obj = IfxDbTestFunctions() obj.assert_expect(self.run...
23.875
71
0.722513
132
955
4.901515
0.5
0.061824
0.123648
0.15456
0.179289
0.179289
0
0
0
0
0
0.028461
0.190576
955
39
72
24.487179
0.808538
0.26178
0
0
0
0
0.101744
0
0
0
0
0
0.052632
0
null
null
0.052632
0.210526
null
null
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
72c146d2c7005bcd38c86ea597ed1f79b3ebdb2d
251
py
Python
broker/eudat/login_eudat_test.py
ebloc/ebloc-broker
776a8d9d4642ed1ba4726c94da68d61bd81c098b
[ "MIT" ]
3
2021-12-11T19:26:57.000Z
2021-12-30T00:17:23.000Z
broker/eudat/login_eudat_test.py
ebloc/ebloc-broker
776a8d9d4642ed1ba4726c94da68d61bd81c098b
[ "MIT" ]
null
null
null
broker/eudat/login_eudat_test.py
ebloc/ebloc-broker
776a8d9d4642ed1ba4726c94da68d61bd81c098b
[ "MIT" ]
1
2021-09-18T11:38:07.000Z
2021-09-18T11:38:07.000Z
#!/usr/bin/env python3 from broker import config from broker.config import env from broker.libs import eudat eudat.login(env.OC_USER, env.LOG_PATH.joinpath(".eudat_client.txt"), env.OC_CLIENT) oc = config.oc print(oc.list(".")) breakpoint() # DEBUG
25.1
83
0.756972
41
251
4.536585
0.536585
0.16129
0
0
0
0
0
0
0
0
0
0.004444
0.103586
251
9
84
27.888889
0.822222
0.10757
0
0
0
0
0.081081
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0.142857
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
0
0
0
2
72c2fa6e6887724e82ba9657fa15f1d2bb9be360
745
py
Python
src/photometric_stereo.py
ReynoldZhao/Project4_Stereo
b6220bb16b644980b67e61b3b75aa8289506700a
[ "MIT" ]
2
2019-12-21T05:08:45.000Z
2022-02-13T19:37:15.000Z
src/photometric_stereo.py
ReynoldZhao/Project4_Stereo
b6220bb16b644980b67e61b3b75aa8289506700a
[ "MIT" ]
null
null
null
src/photometric_stereo.py
ReynoldZhao/Project4_Stereo
b6220bb16b644980b67e61b3b75aa8289506700a
[ "MIT" ]
1
2019-12-15T16:53:19.000Z
2019-12-15T16:53:19.000Z
import numpy as np import math import sys from scipy.misc import imsave from dataset import load_dataset from util import compute_photometric_stereo, rerendering_error assert len(sys.argv) > 1 data = load_dataset(sys.argv[1]) albedo, normals = compute_photometric_stereo(data.lights, data.right) avg_rmse = rerende...
28.653846
70
0.787919
117
745
4.880342
0.393162
0.049037
0.047285
0.068301
0.070053
0
0
0
0
0
0
0.016517
0.10604
745
25
71
29.8
0.840841
0
0
0
0
0
0.154362
0
0
0
0
0
0.058824
0
null
null
0
0.352941
null
null
0.235294
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
72c3168d89f51fca7e36e5a8a07b0817192c4801
936
py
Python
users/views.py
rumatveev/ask
0009a32c7bb01cc3bf7e292fdda6f70488627d15
[ "MIT" ]
2
2019-11-28T14:08:41.000Z
2020-06-05T12:06:14.000Z
users/views.py
rumatveev/ask
0009a32c7bb01cc3bf7e292fdda6f70488627d15
[ "MIT" ]
null
null
null
users/views.py
rumatveev/ask
0009a32c7bb01cc3bf7e292fdda6f70488627d15
[ "MIT" ]
2
2019-11-28T14:08:44.000Z
2021-03-11T03:46:16.000Z
from django.urls import reverse_lazy from django.views.generic import CreateView, UpdateView from django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin from django.contrib.messages.views import SuccessMessageMixin from .models import CustomUser from .forms import CustomUserCreationForm class Sign...
26.742857
98
0.758547
103
936
6.757282
0.592233
0.057471
0.048851
0.060345
0
0
0
0
0
0
0
0
0.15812
936
34
99
27.529412
0.883249
0
0
0
0
0
0.136706
0.034446
0
0
0
0
0
1
0.05
false
0.1
0.3
0
0.95
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
72c455f34aa35a067bbb932806523cf5da736607
2,018
py
Python
passgen/migrations/0001_initial.py
diyajaiswal11/HackCorona
dc6f7803a77b7ce6325f8d61f5f4fe54076ea461
[ "MIT" ]
7
2020-04-06T13:00:14.000Z
2021-08-07T04:26:53.000Z
passgen/migrations/0001_initial.py
diyajaiswal11/HackCorona
dc6f7803a77b7ce6325f8d61f5f4fe54076ea461
[ "MIT" ]
10
2020-04-07T07:07:44.000Z
2022-03-12T00:22:47.000Z
passgen/migrations/0001_initial.py
diyajaiswal11/HackCorona
dc6f7803a77b7ce6325f8d61f5f4fe54076ea461
[ "MIT" ]
2
2020-04-03T08:36:34.000Z
2021-07-27T19:22:15.000Z
# Generated by Django 3.0.5 on 2020-04-02 10:28 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='PassModel', fields=[ ...
57.657143
549
0.628345
203
2,018
6.172414
0.453202
0.09577
0.086193
0.114924
0.182761
0.139665
0.139665
0
0
0
0
0.022585
0.210109
2,018
34
550
59.352941
0.763488
0.022299
0
0
1
0
0.306951
0
0
0
0
0
0
1
0
false
0.074074
0.074074
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
72cdd8fc5709c4dcfa600ba218c4ea3d5f48fa50
372
py
Python
code_examples/chapter4/product_type.py
trungnghiahoang96/RobustPython
dafb95d801dff2c8ff7856ba46d3c052d54e0033
[ "MIT" ]
39
2020-12-01T20:52:13.000Z
2022-03-19T00:56:12.000Z
code_examples/chapter4/product_type.py
trungnghiahoang96/RobustPython
dafb95d801dff2c8ff7856ba46d3c052d54e0033
[ "MIT" ]
null
null
null
code_examples/chapter4/product_type.py
trungnghiahoang96/RobustPython
dafb95d801dff2c8ff7856ba46d3c052d54e0033
[ "MIT" ]
10
2021-05-18T18:29:32.000Z
2022-02-26T13:54:06.000Z
from dataclasses import dataclass from typing import Set # If you aren't familiar with dataclasses, you'll learn more in chapter 10 # but for now, treat this as four fields grouped together and what types they are @dataclass class Snack: name: str condiments: set[str] error_code: int disposed_of: bool ...
24.8
81
0.731183
57
372
4.736842
0.859649
0
0
0
0
0
0
0
0
0
0
0.01
0.193548
372
14
82
26.571429
0.89
0.408602
0
0
0
0
0.092593
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
72deff41e9411bcf9a269ae6273bde005cdb9bfd
930
py
Python
tests/slow_server.py
RaNaN/bjoern
5caca450e9c59a9fafbe79b32fc268be68742c54
[ "BSD-2-Clause" ]
1
2015-01-18T12:09:26.000Z
2015-01-18T12:09:26.000Z
tests/slow_server.py
appetito/bjoern
f07b53b63594dc5613c3cf4402b9067131ec1d05
[ "BSD-2-Clause" ]
null
null
null
tests/slow_server.py
appetito/bjoern
f07b53b63594dc5613c3cf4402b9067131ec1d05
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from time import time import bjoern def start(): def return_tuple(environ, start_response): start_response('200 OK', [('Content-Type','text/plain')]) print 'tuple' return ('Hello,', " it's me, ", 'Bob!') def return_huge_answer(environ, sta...
29.0625
90
0.619355
118
930
4.661017
0.415254
0.189091
0.181818
0.136364
0.398182
0.210909
0.210909
0.210909
0.210909
0.210909
0
0.043478
0.208602
930
31
91
30
0.703804
0.045161
0
0.090909
0
0
0.207675
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.045455
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
1
0
0
0
0
0
0
0
0
2
72f024b58c7e8f9754dd7750a9fad2bf71728817
496
py
Python
src/python/datastructures/sum_of_odd_numbers.py
Binjaaa/CodeWarsOldRepublic
6d27ef9426f956243fdcf908898856815cfe022d
[ "MIT" ]
null
null
null
src/python/datastructures/sum_of_odd_numbers.py
Binjaaa/CodeWarsOldRepublic
6d27ef9426f956243fdcf908898856815cfe022d
[ "MIT" ]
6
2017-11-16T11:05:31.000Z
2017-12-03T18:31:07.000Z
src/python/datastructures/sum_of_odd_numbers.py
Binjaaa/CodeWarsOldRepublic
6d27ef9426f956243fdcf908898856815cfe022d
[ "MIT" ]
null
null
null
def row_sum_odd_numbers(n): row_first_odd = int(0.5*(n-1)*n) odd_list = range(1, (row_first_odd+n)*2, 2) odd_row = odd_list[row_first_odd:] return sum(odd_row) # Example: # 1 # 3 5 # 7 9 11 # 13 15 17 19 # 21 23 25 27 29 # row_sum_odd_num...
24.8
47
0.592742
90
496
2.922222
0.355556
0.18251
0.239544
0.425856
0.456274
0
0
0
0
0
0
0.116477
0.290323
496
19
48
26.105263
0.630682
0.586694
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
72f3ca684996eb41ccb62b183938cb0c08ebddb6
31,403
py
Python
hio-yocto-bsp/sources/poky/scripts/lib/mic/kickstart/__init__.py
qiangzai00001/hio-prj
060ff97fe21093b1369db78109d5b730b2b181c8
[ "MIT" ]
null
null
null
hio-yocto-bsp/sources/poky/scripts/lib/mic/kickstart/__init__.py
qiangzai00001/hio-prj
060ff97fe21093b1369db78109d5b730b2b181c8
[ "MIT" ]
null
null
null
hio-yocto-bsp/sources/poky/scripts/lib/mic/kickstart/__init__.py
qiangzai00001/hio-prj
060ff97fe21093b1369db78109d5b730b2b181c8
[ "MIT" ]
null
null
null
#!/usr/bin/python -tt # # Copyright (c) 2007 Red Hat, Inc. # Copyright (c) 2009, 2010, 2011 Intel, Inc. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the Free # Software Foundation; version 2 of the License # # This progra...
35.165733
81
0.569341
3,547
31,403
4.967296
0.163237
0.028095
0.014984
0.016687
0.330893
0.251093
0.199955
0.157557
0.147398
0.116465
0
0.005593
0.311021
31,403
892
82
35.205157
0.808745
0.048435
0
0.25254
0
0
0.102499
0.01973
0.002903
0
0
0.001121
0
0
null
null
0.053701
0.023222
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
72f6b4ce73df3946258d8f790a231044bfb94797
2,689
py
Python
tuples.py
j4m1e/python-masterclass
0f2c1c92c1bdd3a1e5325b9e080326d7c08bb582
[ "MIT" ]
null
null
null
tuples.py
j4m1e/python-masterclass
0f2c1c92c1bdd3a1e5325b9e080326d7c08bb582
[ "MIT" ]
null
null
null
tuples.py
j4m1e/python-masterclass
0f2c1c92c1bdd3a1e5325b9e080326d7c08bb582
[ "MIT" ]
null
null
null
""" Tuples. Immutable lists i.e. contents cannot be changed. These are ordered so indexes and duplicates are allowed. tuples vs lists fixed length vs variable length tuples () lists [] tuples - immutable tuples - mutable """ my_tuple = () print(f"Type is : {type(my_tuple)}") # Single element in a tuple needs a trick;...
36.337838
129
0.696541
477
2,689
3.899371
0.291405
0.109677
0.02957
0.020968
0.15914
0.141935
0.106452
0.106452
0.106452
0.055914
0
0.03518
0.154332
2,689
73
130
36.835616
0.782762
0.379695
0
0.111111
0
0
0.641073
0
0
0
0
0
0
1
0
false
0
0
0
0
0.755556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
72fe8f64228eb627d14d406c63869e79f6c40803
4,503
py
Python
_edgedb/queries.py
zzzeek/imdbench
4f95aa769e90bfbada84ecfe8a9478d895260b44
[ "Apache-2.0" ]
50
2022-03-23T00:34:34.000Z
2022-03-31T01:50:09.000Z
_edgedb/queries.py
zzzeek/imdbench
4f95aa769e90bfbada84ecfe8a9478d895260b44
[ "Apache-2.0" ]
11
2022-03-23T18:18:18.000Z
2022-03-30T21:50:03.000Z
_edgedb/queries.py
zzzeek/imdbench
4f95aa769e90bfbada84ecfe8a9478d895260b44
[ "Apache-2.0" ]
5
2022-03-25T17:10:20.000Z
2022-03-28T18:24:02.000Z
# # Copyright (c) 2019 MagicStack Inc. # All rights reserved. # # See LICENSE for details. ## GET_USER = """ SELECT User { id, name, image, latest_reviews := ( WITH UserReviews := User.<author[IS Review] SELECT UserReviews { id, ...
19.663755
62
0.34688
339
4,503
4.492625
0.221239
0.065003
0.045962
0.068943
0.51149
0.411687
0.411687
0.405778
0.405778
0.403152
0
0.007976
0.554519
4,503
228
63
19.75
0.751246
0.017766
0
0.641791
0
0
0.961721
0.007248
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
1
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f4283aa3b790eadcbdc85bfb3d3bf43cdf7816d9
762
py
Python
mdstudio/mdstudio/deferred/make_deferred.py
NLeSC/LIEStudio
03c163b4a2590b4e2204621e1c941c28a9624887
[ "Apache-2.0" ]
10
2017-09-14T07:26:15.000Z
2021-04-01T09:33:03.000Z
mdstudio/mdstudio/deferred/make_deferred.py
NLeSC/LIEStudio
03c163b4a2590b4e2204621e1c941c28a9624887
[ "Apache-2.0" ]
117
2017-09-13T08:09:48.000Z
2019-10-03T12:19:13.000Z
mdstudio/mdstudio/deferred/make_deferred.py
NLeSC/LIEStudio
03c163b4a2590b4e2204621e1c941c28a9624887
[ "Apache-2.0" ]
1
2018-09-26T09:40:51.000Z
2018-09-26T09:40:51.000Z
from threading import currentThread from typing import Callable, Any from twisted.internet.threads import deferToThread from mdstudio.deferred.chainable import Chainable from mdstudio.util.exception import MDStudioException def make_deferred(method): # type: (Callable) -> Callable[Any, Chainable] """ An...
29.307692
87
0.711286
92
762
5.880435
0.641304
0.040665
0
0
0
0
0
0
0
0
0
0
0.203412
762
25
88
30.48
0.891269
0.305774
0
0
0
0
0.063872
0
0
0
0
0
0
1
0.181818
false
0
0.454545
0
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
f42972e1b7a880675603f1df8ea9baa13593c7ff
673
py
Python
deployment/pulumi_aws_fargate/autotag.py
mociarain/redata
fc4e9826ab47920677383c97e51b6a8bdbd58a4b
[ "MIT" ]
null
null
null
deployment/pulumi_aws_fargate/autotag.py
mociarain/redata
fc4e9826ab47920677383c97e51b6a8bdbd58a4b
[ "MIT" ]
null
null
null
deployment/pulumi_aws_fargate/autotag.py
mociarain/redata
fc4e9826ab47920677383c97e51b6a8bdbd58a4b
[ "MIT" ]
null
null
null
# Source: https://github.com/joeduffy/aws-tags-example import pulumi from taggable import is_taggable # register_auto_tags registers a global stack transformation that merges a set # of tags with whatever was also explicitly added to the resource definition. def register_auto_tags(auto_tags): pulumi.runtime.regis...
39.588235
88
0.769688
96
673
5.229167
0.520833
0.095618
0.063745
0.059761
0.075697
0
0
0
0
0
0
0
0.138187
673
16
89
42.0625
0.865517
0.414562
0
0
0
0
0.020566
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
f42a864efbdf5b59d5107306e5a1eae9073fe227
29,601
py
Python
tests/CLI/modules/block_tests.py
kremlin-/softlayer-python
be19a02207d5861d12e39cf8e1857958b6a437eb
[ "MIT" ]
null
null
null
tests/CLI/modules/block_tests.py
kremlin-/softlayer-python
be19a02207d5861d12e39cf8e1857958b6a437eb
[ "MIT" ]
null
null
null
tests/CLI/modules/block_tests.py
kremlin-/softlayer-python
be19a02207d5861d12e39cf8e1857958b6a437eb
[ "MIT" ]
null
null
null
""" SoftLayer.tests.CLI.modules.block_tests ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :license: MIT, see LICENSE for more details. """ from SoftLayer import exceptions from SoftLayer import testing import json import mock class BlockTests(testing.TestCase): def test_access_list(self): result ...
42.469154
119
0.531637
2,886
29,601
5.262647
0.11088
0.053332
0.045365
0.069792
0.770279
0.746445
0.726758
0.665525
0.614367
0.556163
0
0.040281
0.341644
29,601
696
120
42.530172
0.73907
0.004223
0
0.503509
0
0.003509
0.320546
0.075061
0
0
0
0
0.161404
1
0.092982
false
0.003509
0.007018
0
0.101754
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f42b527a26fb2aee24dd56ccbff55e695265c798
1,846
py
Python
libs/utils.py
GitHuber228/django_news
63798966214848ca9ab9370ca070d1b9c89a314b
[ "MIT" ]
1
2021-03-16T13:27:53.000Z
2021-03-16T13:27:53.000Z
libs/utils.py
GitHuber228/django_news
63798966214848ca9ab9370ca070d1b9c89a314b
[ "MIT" ]
null
null
null
libs/utils.py
GitHuber228/django_news
63798966214848ca9ab9370ca070d1b9c89a314b
[ "MIT" ]
null
null
null
import os import pytils from pytils.translit import slugify from django.utils.safestring import mark_safe from django.core.files.images import get_image_dimensions from django.utils.translation import ugettext_lazy as _ def get_image(image: object, width='', height='', alt='') -> str: """Shows image in admin for...
33.563636
98
0.695016
259
1,846
4.833977
0.362934
0.019169
0.043131
0.057508
0.261981
0.201278
0.158147
0.158147
0.158147
0.158147
0
0.001336
0.189057
1,846
54
99
34.185185
0.835003
0.193933
0
0
0
0
0.110882
0
0
0
0
0
0
1
0.21875
false
0
0.1875
0
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
f438dd3ea993188ed5315eec14692d668452649a
76
py
Python
custom_components/smartweatherudp/__init__.py
krbaker/smartweatherudp
ba9621d2380c9b85608b929389a2a761680b99b1
[ "MIT" ]
null
null
null
custom_components/smartweatherudp/__init__.py
krbaker/smartweatherudp
ba9621d2380c9b85608b929389a2a761680b99b1
[ "MIT" ]
null
null
null
custom_components/smartweatherudp/__init__.py
krbaker/smartweatherudp
ba9621d2380c9b85608b929389a2a761680b99b1
[ "MIT" ]
null
null
null
""" Get data from Smart Weather station via UDP. """ __version__ = "0.1.8"
19
52
0.657895
12
76
3.833333
1
0
0
0
0
0
0
0
0
0
0
0.048387
0.184211
76
3
53
25.333333
0.693548
0.578947
0
0
0
0
0.208333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f43f5cd73404454b41b621e76f4cf3582ba65b3a
873
py
Python
config.py
deepeters/currency-exchange-app
7a70ea4d171ec8310ffe9eeed674ea3f0cce0031
[ "MIT" ]
1
2022-02-25T08:26:44.000Z
2022-02-25T08:26:44.000Z
config.py
deepeters/currency-exchange-app
7a70ea4d171ec8310ffe9eeed674ea3f0cce0031
[ "MIT" ]
null
null
null
config.py
deepeters/currency-exchange-app
7a70ea4d171ec8310ffe9eeed674ea3f0cce0031
[ "MIT" ]
1
2021-08-05T12:10:57.000Z
2021-08-05T12:10:57.000Z
import os class Config: UPLOADED_PHOTOS_DEST ='app/static/photos' API_KEY = os.environ.get('API_KEY') SECRET_KEY = os.environ.get('SECRET_KEY') # class TestConfig(Config): # SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://' class ProdConfig(Config): SQLALCHEMY_DATABASE_URI = "postgresql...
31.178571
201
0.776632
90
873
7.388889
0.533333
0.07218
0.108271
0.121805
0.57594
0.520301
0.384962
0.384962
0.384962
0.384962
0
0.138817
0.10882
873
27
202
32.333333
0.715938
0.285223
0
0
0
0.071429
0.457189
0.368336
0
0
0
0
0
1
0
false
0.071429
0.071429
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
f44027fc91ef86a1c814b089a2fe3ff816fd54b8
468
py
Python
Server/app/view/meal/meal.py
miraedbswo/DMS-Backend-V3-Student
37269d1d24b2c57b5edb96b69c74eecd3995fd2f
[ "MIT" ]
10
2019-08-19T09:46:09.000Z
2021-04-29T10:47:54.000Z
Server/app/view/meal/meal.py
DSM-DMS/DMS-Backend-V3-Student
3eedd071fab46ae29e9cc3d7b05ef9e5cfd446b6
[ "MIT" ]
6
2018-10-10T23:37:20.000Z
2018-12-27T04:57:32.000Z
Server/app/view/meal/meal.py
DSM-DMS/DMS-Backend-V3-Student
3eedd071fab46ae29e9cc3d7b05ef9e5cfd446b6
[ "MIT" ]
3
2021-02-27T05:41:11.000Z
2021-06-28T03:10:31.000Z
from datetime import datetime from flasgger import swag_from from flask import jsonify from app.doc.meal.meal import MEAL_GET from app.model import MealModel from app.view.base_resource import BaseResource class Meal(BaseResource): @swag_from(MEAL_GET) def get(self, day: str): try: meal ...
23.4
80
0.688034
64
468
4.9375
0.5
0.066456
0
0
0
0
0
0
0
0
0
0.008242
0.222222
468
19
81
24.631579
0.85989
0
0
0
0
0
0.017094
0
0
0
0
0
0
1
0.071429
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
f451afc30811a9695a17c26f0ddabbbc0dc9d326
593
py
Python
algorithms_in_python/_4_recursion/examples/power.py
junteudjio/algorithms_in_python
90ceced09828aedf845605e5236f48ea92a4419e
[ "MIT" ]
null
null
null
algorithms_in_python/_4_recursion/examples/power.py
junteudjio/algorithms_in_python
90ceced09828aedf845605e5236f48ea92a4419e
[ "MIT" ]
null
null
null
algorithms_in_python/_4_recursion/examples/power.py
junteudjio/algorithms_in_python
90ceced09828aedf845605e5236f48ea92a4419e
[ "MIT" ]
1
2018-10-15T06:28:45.000Z
2018-10-15T06:28:45.000Z
from algorithms_in_python.helpers import timer __author__ = 'Junior Teudjio' def power(x, n): if n == 0: return 1 else: return x * power(x, n-1) #reduce the problem by half each call --> O(lg n) def power_fast(x, n): if n == 0: return 1 else: half = n // 2 res...
21.962963
54
0.578415
86
593
3.732558
0.418605
0.202492
0.043614
0.031153
0.105919
0.105919
0.105919
0.105919
0
0
0
0.039604
0.318718
593
27
55
21.962963
0.754951
0.080944
0
0.35
0
0
0.040367
0
0
0
0
0
0
0
null
null
0
0.05
null
null
0.1
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
f462ecfc029df5f12701784d4c89fe353856b964
261
py
Python
node/dblite.py
RNAEDITINGPLUS/main
f608578defb122a1782cff39c5a9a60be0a900df
[ "Apache-2.0" ]
4
2018-01-17T17:03:42.000Z
2020-06-11T05:20:59.000Z
node/dblite.py
RNAEDITINGPLUS/main
f608578defb122a1782cff39c5a9a60be0a900df
[ "Apache-2.0" ]
null
null
null
node/dblite.py
RNAEDITINGPLUS/main
f608578defb122a1782cff39c5a9a60be0a900df
[ "Apache-2.0" ]
null
null
null
import sqlite3 def conSQLite(db): if (db == 'memory'): con = sqlite3.connect(':memory:') else: try: con = sqlite3.connect(db) except: return 0 cursor = con.cursor() return con, cursor
20.076923
42
0.494253
27
261
4.777778
0.555556
0.155039
0.263566
0
0
0
0
0
0
0
0
0.025157
0.390805
261
13
43
20.076923
0.786164
0
0
0
0
0
0.056
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.363636
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f4724f1a49571f2472b8e9690841bdca4db65a81
1,346
py
Python
tests/test_random_data.py
Lxinyuelxy/multi-label-learn
ab347e9c9ccac1503f22c7b76e0b3e9a4e8214da
[ "MIT" ]
4
2018-11-19T13:34:53.000Z
2020-01-11T11:58:13.000Z
tests/test_random_data.py
Lxinyuelxy/multi-label-learn
ab347e9c9ccac1503f22c7b76e0b3e9a4e8214da
[ "MIT" ]
null
null
null
tests/test_random_data.py
Lxinyuelxy/multi-label-learn
ab347e9c9ccac1503f22c7b76e0b3e9a4e8214da
[ "MIT" ]
3
2019-04-14T18:13:33.000Z
2021-04-05T14:45:56.000Z
from sklearn.datasets import make_multilabel_classification from sklearn.model_selection import train_test_split from mllearn.problem_transform import BinaryRelevance from mllearn.metrics import subset_acc from mllearn.metrics import hamming_loss as hamming_loss from mllearn.metrics import accuracy from mllearn.metrics...
48.071429
87
0.673848
176
1,346
4.926136
0.3125
0.046136
0.124567
0.16609
0.138408
0
0
0
0
0
0
0.00994
0.2526
1,346
27
88
49.851852
0.851889
0
0
0
0
0
0.11367
0
0
0
0
0
0
1
0
false
0
0.36
0
0.36
0.24
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
f474bbbf8854f39d80c0976f3685a16b31b16382
465
py
Python
test/plugins/echo.py
fenwar/limbo
a6e42ad90daa3691c2dce846023662e0a650171b
[ "MIT" ]
369
2015-02-24T05:35:22.000Z
2021-11-12T11:26:27.000Z
test/plugins/echo.py
fenwar/limbo
a6e42ad90daa3691c2dce846023662e0a650171b
[ "MIT" ]
124
2015-02-24T03:13:44.000Z
2022-02-08T15:04:08.000Z
test/plugins/echo.py
fenwar/limbo
a6e42ad90daa3691c2dce846023662e0a650171b
[ "MIT" ]
157
2015-02-28T16:33:16.000Z
2022-03-01T22:36:12.000Z
def on_message_deleted(msg, server): return "Deleted: {}".format(msg["previous_message"]["text"]) def on_message_changed(msg, server): text = msg.get("message", {"text": ""}).get("text", "") if text.startswith("!echo"): return "Changed: {}".format(text) def on_message(msg, server): if msg["tex...
31
64
0.625806
61
465
4.639344
0.311475
0.070671
0.127208
0.113074
0
0
0
0
0
0
0
0
0.16129
465
14
65
33.214286
0.725641
0
0
0
0
0
0.204301
0
0
0
0
0
0
1
0.363636
false
0
0
0.181818
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
f484ba269aa56d76cc8d9344847456bc7219f402
1,042
py
Python
base_backend.py
IGBC/KicadLibraryManager
74992ce468d41a3e04b01724cdf126c844bd8e60
[ "BSD-3-Clause" ]
null
null
null
base_backend.py
IGBC/KicadLibraryManager
74992ce468d41a3e04b01724cdf126c844bd8e60
[ "BSD-3-Clause" ]
1
2017-10-22T12:14:31.000Z
2017-10-22T12:14:31.000Z
base_backend.py
IGBC/KicadLibraryManager
74992ce468d41a3e04b01724cdf126c844bd8e60
[ "BSD-3-Clause" ]
null
null
null
class backend: # API Definitions def list_components(): ''' Returns a list of all component names available to the backend ''' pass def def_component(name: str, version=None: str): ''' Returns a definition of the component for the given name. Can retu...
32.5625
96
0.618042
123
1,042
5.186992
0.333333
0.062696
0.087774
0.112853
0.550157
0.496865
0.496865
0.37931
0
0
0
0.001397
0.31286
1,042
31
97
33.612903
0.889665
0
0
0.461538
0
0
0
0
0
0
0
0
0
0
null
null
0.461538
0
null
null
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
be3be60e8e0722afdcf93e8acdcf1586e160e4a9
259
py
Python
release/stubs.min/System/Windows/__init__.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/Windows/__init__.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/Windows/__init__.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
# encoding: utf-8 # module System.Windows calls itself Windows # from System,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089 # by generator 1.145 # no doc # no important # no functions # no classes # variables with complex values
21.583333
78
0.737452
36
259
5.305556
0.805556
0.020942
0
0
0
0
0
0
0
0
0
0.098592
0.177606
259
11
79
23.545455
0.798122
0.876448
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
be46d702e48db8f02dd811db3aca0214e48345ee
544
py
Python
lib/python2.7/site-packages/openopt/solvers/MATLAB/lsqlin_oo.py
wangyum/anaconda
6e5a0dbead3327661d73a61e85414cf92aa52be6
[ "Apache-2.0", "BSD-3-Clause" ]
5
2017-01-23T16:23:43.000Z
2022-01-20T16:14:06.000Z
lib/python2.7/site-packages/openopt/solvers/MATLAB/lsqlin_oo.py
wangyum/anaconda
6e5a0dbead3327661d73a61e85414cf92aa52be6
[ "Apache-2.0", "BSD-3-Clause" ]
1
2015-04-24T06:46:25.000Z
2015-04-24T06:46:25.000Z
lib/python2.7/site-packages/openopt/solvers/MATLAB/lsqlin_oo.py
wangyum/anaconda
6e5a0dbead3327661d73a61e85414cf92aa52be6
[ "Apache-2.0", "BSD-3-Clause" ]
8
2016-05-30T13:35:17.000Z
2021-06-15T22:24:29.000Z
from MATLAB_BASE import MATLAB_BASE class lsqlin(MATLAB_BASE): __name__ = 'lsqlin' __alg__ = '' __authors__ = '' # __isIterPointAlwaysFeasible__ = True __optionalDataThatCanBeHandled__ = ['lb', 'ub', 'A', 'Aeq', 'b', 'beq'] # properTextOutput = True _canHandleScipySparse = True opts ...
30.222222
91
0.608456
69
544
4.304348
0.550725
0.13468
0
0
0
0
0
0
0
0
0
0.002404
0.235294
544
17
92
32
0.711538
0.115809
0
0
0
0
0.08
0
0
0
0
0
0
1
0.166667
false
0.083333
0.083333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
be4780b996dfe044bf997bd227d823b9e08f5527
937
py
Python
hackerearth/Algorithms/C impresses everyone/solution.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
4
2020-07-24T01:59:50.000Z
2021-07-24T15:14:08.000Z
hackerearth/Algorithms/C impresses everyone/solution.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
hackerearth/Algorithms/C impresses everyone/solution.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
""" # Sample code to perform I/O: name = input() # Reading input from STDIN print('Hi, %s.' % name) # Writing output to STDOUT # Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail """ # Write your code here import sys from bisect import bisect_left ...
27.558824
94
0.591249
160
937
3.4375
0.3625
0.054545
0.1
0.172727
0.370909
0.370909
0.370909
0.370909
0.24
0.145455
0
0.02038
0.214514
937
33
95
28.393939
0.726902
0.598719
0
0
0
0
0.005587
0
0
0
0
0.030303
0
1
0
false
0
0.181818
0
0.181818
0.090909
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
be4fa6edf33aefcaa48255f3304534e4d9f471b0
6,435
py
Python
tests/test_text_chem.py
gubschk/CDEWIP
fb628593417df5f955eb1fa62176b7cb3c322ebc
[ "MIT" ]
null
null
null
tests/test_text_chem.py
gubschk/CDEWIP
fb628593417df5f955eb1fa62176b7cb3c322ebc
[ "MIT" ]
null
null
null
tests/test_text_chem.py
gubschk/CDEWIP
fb628593417df5f955eb1fa62176b7cb3c322ebc
[ "MIT" ]
1
2021-02-21T02:51:39.000Z
2021-02-21T02:51:39.000Z
# -*- coding: utf-8 -*- """ test_text_chem ~~~~~~~~~~~~~~ Test the text chem package. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import logging import unittest from chemdataextractor.text.ch...
59.036697
152
0.64289
1,221
6,435
3.298116
0.185913
0.107773
0.123169
0.1259
0.533896
0.523963
0.488701
0.404023
0.21033
0.097343
0
0.108747
0.138306
6,435
108
153
59.583333
0.617493
0.018493
0
0.023256
0
0.255814
0.376374
0.267292
0
0
0
0
0.825581
1
0.034884
false
0
0.081395
0
0.127907
0.011628
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
be5f9443b200b160c38d4a361550787ff02eea38
6,073
py
Python
tests/test_get_media_info.py
waider/gopro-py-api
b18b5458f5bbe689f468842d6888104317786de8
[ "MIT" ]
1
2019-05-06T21:48:54.000Z
2019-05-06T21:48:54.000Z
tests/test_get_media_info.py
waider/gopro-py-api
b18b5458f5bbe689f468842d6888104317786de8
[ "MIT" ]
null
null
null
tests/test_get_media_info.py
waider/gopro-py-api
b18b5458f5bbe689f468842d6888104317786de8
[ "MIT" ]
null
null
null
from .conftest import GoProCameraTest from goprocam import GoProCamera import pytest from socket import timeout class GetMediaInfoTest(GoProCameraTest): def test_get_media_info_empty_no_option(self): assert self.goprocam.getMediaInfo(option="") is None def test_get_media_info_FS_no_option(self): ...
36.365269
73
0.452495
533
6,073
4.986867
0.140713
0.039503
0.056433
0.08465
0.794582
0.735139
0.68623
0.632054
0.621896
0.621896
0
0.007517
0.386629
6,073
166
74
36.584337
0.70604
0.015478
0
0.695946
0
0
0.136569
0
0
0
0
0
0.101351
1
0.101351
false
0
0.027027
0
0.135135
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
be64dfe7f5d5dc9db1ce2432366f4c7ced1a2526
855
py
Python
vip/migrations/0002_auto_20190723_1946.py
zhongmei57485/SwiperPro
b00dde5af05f158d7cd2c649e8a07a2c19623b69
[ "Apache-2.0" ]
null
null
null
vip/migrations/0002_auto_20190723_1946.py
zhongmei57485/SwiperPro
b00dde5af05f158d7cd2c649e8a07a2c19623b69
[ "Apache-2.0" ]
9
2019-12-04T23:48:54.000Z
2021-06-10T18:31:57.000Z
vip/migrations/0002_auto_20190723_1946.py
zhongmei57485/SwiperPro
b00dde5af05f158d7cd2c649e8a07a2c19623b69
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2.1 on 2019-07-23 19:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('vip', '0001_initial'), ] operations = [ migrations.RenameField( model_name='vippermission', old_name='vip_idd', ...
25.147059
64
0.547368
84
855
5.440476
0.535714
0.078775
0.164114
0.190372
0.354486
0.354486
0.354486
0.201313
0
0
0
0.04386
0.333333
855
33
65
25.909091
0.757895
0.052632
0
0.407407
1
0
0.086634
0
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
be8ec65589ec143ed8e10757ae683df740daa930
221
py
Python
Chapter06/mapfilterreduce/filter2.py
MichaelRW/Python-for-Geeks
a111f61f1a0b077fc0524431e1ccefd9214d5c53
[ "MIT" ]
31
2020-08-10T22:37:41.000Z
2022-03-09T21:35:56.000Z
Chapter06/mapfilterreduce/filter2.py
MichaelRW/Python-for-Geeks
a111f61f1a0b077fc0524431e1ccefd9214d5c53
[ "MIT" ]
null
null
null
Chapter06/mapfilterreduce/filter2.py
MichaelRW/Python-for-Geeks
a111f61f1a0b077fc0524431e1ccefd9214d5c53
[ "MIT" ]
21
2020-08-10T22:37:44.000Z
2022-03-07T07:26:28.000Z
# filter1.py to get even numbers from a list def is_dublicate(item): return not(item in mylist) mylist = ["Orange","Apple", "Banana", "Peach", "Banana"] new_list = list(filter(is_dublicate, mylist)) print(new_list)
24.555556
56
0.710407
34
221
4.5
0.705882
0.143791
0
0
0
0
0
0
0
0
0
0.005291
0.144796
221
8
57
27.625
0.804233
0.190045
0
0
0
0
0.158192
0
0
0
0
0
0
1
0.2
false
0
0
0.2
0.4
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
be8fb14d03363dbca7c17d150ea8d05c8c5f4d0c
474
py
Python
product/views/home.py
hung3a8/greenier
7e67847b21a3b2ab1b066eb30c4dd42a6e3dcb82
[ "MIT" ]
6
2021-12-02T11:19:44.000Z
2022-03-27T06:27:21.000Z
product/views/home.py
hung3a8/greenier
7e67847b21a3b2ab1b066eb30c4dd42a6e3dcb82
[ "MIT" ]
null
null
null
product/views/home.py
hung3a8/greenier
7e67847b21a3b2ab1b066eb30c4dd42a6e3dcb82
[ "MIT" ]
null
null
null
from django.conf import settings from django.views.generic import TemplateView from product.views.extra import picture_carousel class HomePageView(TemplateView): template_name = 'home.html' def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) if hasattr(settings...
31.6
98
0.740506
54
474
6.296296
0.537037
0.176471
0.082353
0.182353
0
0
0
0
0
0
0
0
0.168776
474
14
99
33.857143
0.862944
0
0
0
0
0
0.105485
0.052743
0
0
0
0
0
1
0.1
false
0
0.3
0
0.7
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
beb363fce399d2bd0a3333b605e66b86e6c72872
402
py
Python
event/api/serializers.py
mahanfarzaneh2000/kut_moblie
32c4b376504b3bcef4c4d5694ead108c1a321fdd
[ "Apache-2.0" ]
null
null
null
event/api/serializers.py
mahanfarzaneh2000/kut_moblie
32c4b376504b3bcef4c4d5694ead108c1a321fdd
[ "Apache-2.0" ]
null
null
null
event/api/serializers.py
mahanfarzaneh2000/kut_moblie
32c4b376504b3bcef4c4d5694ead108c1a321fdd
[ "Apache-2.0" ]
null
null
null
from rest_framework import serializers from event.models import Event from core.utils import TimestampField from django.utils import timezone class EventSerializer(serializers.ModelSerializer): # timeStamp = serializers.ReadOnlyField(default=timezone.now().timestamp()) class Meta: model = Event ...
33.5
87
0.758706
46
402
6.521739
0.608696
0.073333
0
0
0
0
0
0
0
0
0
0
0.139303
402
11
88
36.545455
0.867052
0.181592
0
0
0
0
0.155963
0
0
0
0
0
0
1
0
false
0
0.5
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
beb50bce241168783db1c35767c5f10d660f1100
1,504
py
Python
sympy/polys/domains/ring.py
pernici/sympy
5e6e3b71da777f5b85b8ca2d16f33ed020cf8a41
[ "BSD-3-Clause" ]
null
null
null
sympy/polys/domains/ring.py
pernici/sympy
5e6e3b71da777f5b85b8ca2d16f33ed020cf8a41
[ "BSD-3-Clause" ]
null
null
null
sympy/polys/domains/ring.py
pernici/sympy
5e6e3b71da777f5b85b8ca2d16f33ed020cf8a41
[ "BSD-3-Clause" ]
null
null
null
"""Implementation of :class:`Ring` class. """ from sympy.polys.domains.domain import Domain from sympy.polys.polyerrors import ExactQuotientFailed, NotInvertible, NotReversible class Ring(Domain): """Represents a ring domain. """ has_Ring = True def get_ring(self): """Returns a ring associated w...
26.385965
84
0.53391
191
1,504
4.099476
0.329843
0.030651
0.038314
0.03576
0.112388
0.076628
0.076628
0
0
0
0
0.00098
0.321809
1,504
56
85
26.857143
0.766667
0.284574
0
0.21875
0
0
0.045142
0
0
0
0
0
0
1
0.28125
false
0
0.0625
0
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
bebd2149addd996018dba7fc6c18b09c6e0ba184
3,117
py
Python
service/generated_flatbuffers/tflite/TensorMap.py
lcrh/falken
7545431c7bfa34a9b45c2243cae40dbb58adefaa
[ "Apache-2.0" ]
213
2021-06-11T01:15:16.000Z
2022-02-25T16:18:57.000Z
service/generated_flatbuffers/tflite/TensorMap.py
lcrh/falken
7545431c7bfa34a9b45c2243cae40dbb58adefaa
[ "Apache-2.0" ]
32
2021-06-17T17:58:54.000Z
2022-02-02T05:58:10.000Z
service/generated_flatbuffers/tflite/TensorMap.py
lcrh/falken
7545431c7bfa34a9b45c2243cae40dbb58adefaa
[ "Apache-2.0" ]
28
2021-06-17T17:34:21.000Z
2022-03-24T14:05:20.000Z
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
32.134021
132
0.684953
373
3,117
5.643432
0.378016
0.023278
0.041805
0.049881
0.132542
0.11639
0.08076
0.056057
0.056057
0.056057
0
0.012412
0.224575
3,117
96
133
32.46875
0.858502
0.229708
0
0.172414
0
0
0.008418
0
0
0
0
0
0
1
0.241379
false
0
0.051724
0.034483
0.517241
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
bebe188337bb50d5ff271dec70da6e942205694c
534
py
Python
reversed.py
GlennSR/Curso-Python-Udemy
f97ae77deeed0c66607b3e1346a5fc20730e04a5
[ "MIT" ]
null
null
null
reversed.py
GlennSR/Curso-Python-Udemy
f97ae77deeed0c66607b3e1346a5fc20730e04a5
[ "MIT" ]
null
null
null
reversed.py
GlennSR/Curso-Python-Udemy
f97ae77deeed0c66607b3e1346a5fc20730e04a5
[ "MIT" ]
null
null
null
""" Características: - Inverted a posição dos elementos de uma lista - Enquanto reverse() só funciona com listas, reversed() funciona com todos os iteráveis """ # Exemplo numeros = [6, 1, 8, 2] res = reversed(numeros) # Lista print(list(reversed(numeros))) # Tupla print(tuple(reversed(numeros))) # Conjunto (Set) pr...
20.538462
87
0.719101
72
534
5.333333
0.638889
0.15625
0
0
0
0
0
0
0
0
0
0.01087
0.138577
534
25
88
21.36
0.823913
0.520599
0
0
0
0
0.123967
0
0
0
0
0.04
0
1
0
false
0
0
0
0
0.75
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
2
fe2224e6a0f01467773e60ea1fb323e0843c4555
457
py
Python
conftest.py
aperrin66/DAPPER
d9d09ed87ca58d59972296e317bfeea50ba6cdd0
[ "MIT" ]
225
2016-11-01T09:55:25.000Z
2022-03-31T06:03:28.000Z
conftest.py
aperrin66/DAPPER
d9d09ed87ca58d59972296e317bfeea50ba6cdd0
[ "MIT" ]
85
2018-02-09T03:13:18.000Z
2022-03-18T17:10:28.000Z
conftest.py
aperrin66/DAPPER
d9d09ed87ca58d59972296e317bfeea50ba6cdd0
[ "MIT" ]
92
2017-05-29T23:24:45.000Z
2022-03-31T06:03:29.000Z
"""Configures pytest (beyond the ini file).""" import matplotlib as mpl import numpy import pytest from matplotlib import pyplot as plt from dapper.dpr_config import rc @pytest.fixture(autouse=True) def add_sci(doctest_namespace): """Add numpy as np for doctests.""" doctest_namespace["np"] = numpy doctes...
25.388889
46
0.724289
62
457
5.209677
0.5
0.297214
0
0
0
0
0
0
0
0
0
0
0.164114
457
17
47
26.882353
0.84555
0.153173
0
0
0
0
0.034574
0
0
0
0
0
0
1
0.083333
false
0
0.416667
0
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
fe24bbc9824c0dafb8db980e9d1f771a11af27bf
234
py
Python
Chapter04/02_button_led.py
PacktPublishing/MicroPython-Cookbook
ffd6aa15c303459570a89ba31b5bc734f05cb387
[ "MIT" ]
16
2019-07-01T16:24:22.000Z
2022-03-03T06:54:57.000Z
Chapter04/02_button_led.py
ccwu0918/MicroPython-Cookbook
ffd6aa15c303459570a89ba31b5bc734f05cb387
[ "MIT" ]
null
null
null
Chapter04/02_button_led.py
ccwu0918/MicroPython-Cookbook
ffd6aa15c303459570a89ba31b5bc734f05cb387
[ "MIT" ]
19
2019-04-17T08:30:12.000Z
2022-01-14T03:05:37.000Z
from adafruit_circuitplayground.express import cpx BLACK = 0x000000 GREEN = 0x00FF00 cpx.pixels.brightness = 0.10 while True: cpx.pixels[2] = GREEN if cpx.button_a else BLACK cpx.pixels[7] = GREEN if cpx.button_b else BLACK
23.4
52
0.75641
37
234
4.702703
0.621622
0.155172
0.114943
0.183908
0
0
0
0
0
0
0
0.087179
0.166667
234
9
53
26
0.805128
0
0
0
0
0
0
0
0
0
0.068376
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fe2fd9e02dc8e30a85aea0a4da49a0dfc65951c6
42,082
py
Python
src/emanesh/emanesh/emaneshell.py
lihebi/emane
24b626c41e36bee79884b26b8450c3932af18a5a
[ "BSD-3-Clause" ]
1
2019-04-01T02:51:52.000Z
2019-04-01T02:51:52.000Z
src/emanesh/emanesh/emaneshell.py
lihebi/emane
24b626c41e36bee79884b26b8450c3932af18a5a
[ "BSD-3-Clause" ]
null
null
null
src/emanesh/emanesh/emaneshell.py
lihebi/emane
24b626c41e36bee79884b26b8450c3932af18a5a
[ "BSD-3-Clause" ]
5
2018-09-20T01:00:24.000Z
2019-10-21T19:10:07.000Z
#!/us/bin/env python # # Copyright (c) 2013-2014,2016 - Adjacent Link LLC, Bridgewater, New Jersey # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code must retai...
38.678309
133
0.409177
3,442
42,082
4.963684
0.131319
0.020486
0.013111
0.007726
0.408194
0.349898
0.297805
0.248347
0.229265
0.207902
0
0.012209
0.501735
42,082
1,087
134
38.713891
0.802604
0.036667
0
0.517337
0
0
0.09825
0.002736
0
0
0
0
0
0
null
null
0.004161
0.015257
null
null
0.174757
0
0
0
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
1
0
0
0
0
0
0
0
0
2
fe335d5eb845df94ea088cab183c1563e6ba83da
3,947
py
Python
models.py
banditi/mipt-hack-server
d9967c8e7024fe458bffd0bd733c5e217aef886d
[ "MIT" ]
1
2017-12-11T14:33:46.000Z
2017-12-11T14:33:46.000Z
models.py
sigorilla/joinme
d9967c8e7024fe458bffd0bd733c5e217aef886d
[ "MIT" ]
3
2015-04-11T23:51:19.000Z
2015-04-27T06:44:54.000Z
models.py
sigorilla/joinme
d9967c8e7024fe458bffd0bd733c5e217aef886d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.db import models from django.core.urlresolvers import reverse from django.contrib.auth.models import User from django.utils.timezone import now class UserProfile(models.Model): class Meta: verbose_name = "UserProfile" verbose_name_plural = "UserProfiles" ...
31.576
95
0.689131
497
3,947
5.263581
0.241449
0.064985
0.058869
0.091743
0.495031
0.329128
0.224388
0.176606
0.106269
0.071865
0
0.016646
0.193311
3,947
124
96
31.830645
0.804962
0.005321
0
0.292135
0
0
0.077982
0
0
0
0
0
0
1
0.202247
false
0
0.044944
0.191011
0.876404
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
fe3a29943e795fcc05738b2c1d066d11b42eea05
1,786
py
Python
tests/parser/syntax/test_raw_call.py
NicoSerranoP/vyper
c5baf05ff59322c5fe4098ed92094a1c99606833
[ "Apache-2.0" ]
null
null
null
tests/parser/syntax/test_raw_call.py
NicoSerranoP/vyper
c5baf05ff59322c5fe4098ed92094a1c99606833
[ "Apache-2.0" ]
null
null
null
tests/parser/syntax/test_raw_call.py
NicoSerranoP/vyper
c5baf05ff59322c5fe4098ed92094a1c99606833
[ "Apache-2.0" ]
null
null
null
import pytest from pytest import raises from vyper import compiler from vyper.exceptions import SyntaxException, TypeMismatch fail_list = [ (""" @public def foo(): x: bytes[9] = raw_call(0x1234567890123456789012345678901234567890, b"cow", outsize=4, outsize=9) """, SyntaxException), """ @public def fo...
20.528736
100
0.6271
196
1,786
5.545918
0.290816
0.057958
0.088316
0.275989
0.592456
0.478381
0.478381
0.478381
0.335787
0.335787
0
0.235424
0.241321
1,786
86
101
20.767442
0.56679
0
0
0
0
0.032258
0.177945
0.065163
0
0
0.052632
0
0.032258
1
0.064516
false
0
0.129032
0
0.193548
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fe3c9e12b7713f67648c9674080eaac76bc0b44f
12,725
py
Python
gnuradio-3.7.13.4/gr-utils/python/utils/plot_psd_base.py
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
1
2021-03-09T07:32:37.000Z
2021-03-09T07:32:37.000Z
gnuradio-3.7.13.4/gr-utils/python/utils/plot_psd_base.py
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
gnuradio-3.7.13.4/gr-utils/python/utils/plot_psd_base.py
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # # Copyright 2007,2008,2010,2011 Free Software Foundation, Inc. # # This file is part of GNU Radio # # GNU Radio is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at ...
43.430034
1,073
0.619411
1,807
12,725
4.233536
0.221361
0.019608
0.012549
0.025882
0.298039
0.228627
0.183137
0.137124
0.112157
0.047059
0
0.02382
0.257682
12,725
292
1,074
43.578767
0.786047
0.118428
0
0.241379
0
0.009852
0.187123
0
0
0
0
0
0
0
null
null
0.004926
0.039409
null
null
0.024631
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
fe3e0b9a7d698d84841ca735d77db637fd2a26a8
101
py
Python
pyslate/__init__.py
GreeKpl/pystlate
57b62d8e3f2f51770eeaa3bd7bfde4df9f574690
[ "MIT" ]
4
2016-03-12T05:47:52.000Z
2020-06-02T00:41:16.000Z
pyslate/__init__.py
alchrabas/pyslate
57b62d8e3f2f51770eeaa3bd7bfde4df9f574690
[ "MIT" ]
null
null
null
pyslate/__init__.py
alchrabas/pyslate
57b62d8e3f2f51770eeaa3bd7bfde4df9f574690
[ "MIT" ]
1
2015-03-16T21:22:13.000Z
2015-03-16T21:22:13.000Z
__author__ = 'Aleksander Chrabaszcz' __all__ = ['config', 'parser', 'pyslate'] __version__ = '1.1'
16.833333
41
0.683168
10
101
5.7
0.9
0
0
0
0
0
0
0
0
0
0
0.022989
0.138614
101
5
42
20.2
0.632184
0
0
0
0
0
0.425743
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fe55068fd4892ffed44ddc7287ee434a5a7b1e2d
1,368
py
Python
Contrastive_Supervision_Synthesis/scripts/model.py
vishalbelsare/OpenMatch
84b25502bf52c58b9e71bd0754b2fc192d9b448f
[ "MIT" ]
403
2020-01-17T06:54:46.000Z
2022-03-30T05:47:42.000Z
Contrastive_Supervision_Synthesis/scripts/model.py
vishalbelsare/OpenMatch
84b25502bf52c58b9e71bd0754b2fc192d9b448f
[ "MIT" ]
30
2020-06-07T12:28:07.000Z
2022-03-20T05:26:03.000Z
Contrastive_Supervision_Synthesis/scripts/model.py
vishalbelsare/OpenMatch
84b25502bf52c58b9e71bd0754b2fc192d9b448f
[ "MIT" ]
48
2020-07-15T09:45:46.000Z
2022-03-01T07:27:59.000Z
import os import math import torch from torch import nn, optim import logging import numpy as np import torch.nn.functional as F from torch.autograd import Variable import utils from contrastqg import (T5ForConditionalGeneration) logger = logging.getLogger() class QGenerator(object): def __init__(self, args, toke...
34.2
95
0.70614
167
1,368
5.622754
0.502994
0.093717
0.042599
0.042599
0
0
0
0
0
0
0
0.001854
0.211257
1,368
40
96
34.2
0.868397
0.084064
0
0
0
0
0.035743
0
0
0
0
0
0
1
0.133333
false
0
0.333333
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fe5da4c6db188f3d5f75cc2142d5e23bb92a2747
257
py
Python
ex023.py
zWillsz/exsvscode
ba507dca6de748e3c82c306731137bb5f6f0c918
[ "MIT" ]
null
null
null
ex023.py
zWillsz/exsvscode
ba507dca6de748e3c82c306731137bb5f6f0c918
[ "MIT" ]
null
null
null
ex023.py
zWillsz/exsvscode
ba507dca6de748e3c82c306731137bb5f6f0c918
[ "MIT" ]
null
null
null
from math import cos, sin, tan, radians an = int(input('Digite um ângulo: ')) s = sin(radians(an)) c = cos(radians(an)) t = tan(radians(an)) print('o valor do seno é:{:.2f} \n o valor do cosseno é: {:.2f} \n o valor da tangente é: {:.2f} '.format(s, c, t))
36.714286
115
0.626459
50
257
3.22
0.56
0.223602
0.149068
0.062112
0.124224
0
0
0
0
0
0
0.014085
0.171206
257
6
116
42.833333
0.741784
0
0
0
0
0.166667
0.420233
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
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
0
0
2
fe614515784b31a7545b715d933577d6d6581eec
1,721
py
Python
chaospy/distributions/collection/bradford.py
utsekaj42/chaospy
0fb23cbb58eb987c3ca912e2a20b83ebab0514d0
[ "MIT" ]
333
2016-10-25T12:00:48.000Z
2022-03-30T07:50:33.000Z
chaospy/distributions/collection/bradford.py
utsekaj42/chaospy
0fb23cbb58eb987c3ca912e2a20b83ebab0514d0
[ "MIT" ]
327
2016-09-25T16:29:41.000Z
2022-03-30T03:26:27.000Z
chaospy/distributions/collection/bradford.py
utsekaj42/chaospy
0fb23cbb58eb987c3ca912e2a20b83ebab0514d0
[ "MIT" ]
74
2016-10-17T11:14:13.000Z
2021-12-09T10:55:59.000Z
"""Bradford distribution.""" import numpy from ..baseclass import SimpleDistribution, LowerUpperDistribution class bradford(SimpleDistribution): """Standard Bradford distribution.""" def __init__(self, c=1): super(bradford, self).__init__(dict(c=c)) def _pdf(self, x, c): return c/(c*x+...
26.075758
66
0.545613
218
1,721
4.206422
0.311927
0.038168
0.035987
0.039258
0.047983
0
0
0
0
0
0
0.077558
0.295758
1,721
65
67
26.476923
0.679043
0.48925
0
0
0
0
0
0
0
0
0
0
0
1
0.304348
false
0
0.086957
0.217391
0.695652
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
fe639af7d8a8a273918404dc08a470935320cc64
632
py
Python
unittest/tests/test_unittest_copy.py
PovelikinRostislav/python-udemy
acbb0e64be4a0cfe788678857f08880ce96a227a
[ "Apache-2.0" ]
null
null
null
unittest/tests/test_unittest_copy.py
PovelikinRostislav/python-udemy
acbb0e64be4a0cfe788678857f08880ce96a227a
[ "Apache-2.0" ]
null
null
null
unittest/tests/test_unittest_copy.py
PovelikinRostislav/python-udemy
acbb0e64be4a0cfe788678857f08880ce96a227a
[ "Apache-2.0" ]
null
null
null
import unittest def return_42(): return 42 def raise_exception(): raise Exception("This is exception!") class TestUnittest(unittest.TestCase): def test_assert_equal(self): self.assertEqual(return_42(), 42) def test_assert_true(self): boolean_list = [False, False, True] self.a...
23.407407
48
0.670886
76
632
5.263158
0.407895
0.07
0.13
0.09
0.12
0
0
0
0
0
0
0.01626
0.221519
632
26
49
24.307692
0.796748
0
0
0
0
0
0.041139
0
0
0
0
0
0.421053
1
0.315789
false
0
0.052632
0.052632
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
2
fe720fe83eb1148d1f473d351b1829a994f3824d
24,084
py
Python
keystoneclient/tests/test_shell.py
foruy/openflow-multiopenstack
74140b041ac25ed83898ff3998e8dcbed35572bb
[ "Apache-2.0" ]
1
2019-09-11T11:56:19.000Z
2019-09-11T11:56:19.000Z
tools/dockerize/webportal/usr/lib/python2.7/site-packages/keystoneclient/tests/test_shell.py
foruy/openflow-multiopenstack
74140b041ac25ed83898ff3998e8dcbed35572bb
[ "Apache-2.0" ]
null
null
null
tools/dockerize/webportal/usr/lib/python2.7/site-packages/keystoneclient/tests/test_shell.py
foruy/openflow-multiopenstack
74140b041ac25ed83898ff3998e8dcbed35572bb
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # d...
45.961832
78
0.571541
2,968
24,084
4.408356
0.096024
0.02247
0.022012
0.03852
0.735784
0.694818
0.661342
0.642999
0.606466
0.600275
0
0.015966
0.316019
24,084
523
79
46.049713
0.778304
0.080925
0
0.566586
0
0.007264
0.160274
0.043888
0
0
0
0.001912
0.157385
1
0.060533
false
0.116223
0.038741
0
0.108959
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
fe7902008877b4594a96c6d8cbd6da5807a86872
519
py
Python
resources/lib/exceptions.py
joha73/plugin.video.mediathekview
8cfccdc621d4db097066ca6952598cb4bffb6dd5
[ "MIT" ]
null
null
null
resources/lib/exceptions.py
joha73/plugin.video.mediathekview
8cfccdc621d4db097066ca6952598cb4bffb6dd5
[ "MIT" ]
null
null
null
resources/lib/exceptions.py
joha73/plugin.video.mediathekview
8cfccdc621d4db097066ca6952598cb4bffb6dd5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ The custom exception module Copyright 2017-2018, Leo Moll and Dominik Schlösser Licensed under MIT License """ class DatabaseCorrupted(RuntimeError): """This exception is raised when the database throws errors during update""" class DatabaseLost(RuntimeError): """This exception ...
25.95
93
0.743738
70
519
5.514286
0.657143
0.101036
0.11658
0.139896
0.207254
0.207254
0.207254
0
0
0
0
0.02093
0.171484
519
19
94
27.315789
0.876744
0.709056
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
fe79d23f3884aeb5448814253cbf4bfbc706f69b
266
py
Python
geneprog/api.py
libgeneprog/geneprog-python
b7d590a4339476e5ef6643520f905044497995ff
[ "BSD-3-Clause" ]
2
2020-08-03T02:41:03.000Z
2021-12-19T02:21:50.000Z
geneprog/api.py
libgeneprog/geneprog-python
b7d590a4339476e5ef6643520f905044497995ff
[ "BSD-3-Clause" ]
2
2019-01-18T15:58:46.000Z
2019-01-18T16:02:06.000Z
geneprog/api.py
libgeneprog/geneprog-python
b7d590a4339476e5ef6643520f905044497995ff
[ "BSD-3-Clause" ]
null
null
null
import ctypes import ctypes.util from geneprog.cdefs import (cgp_data) def load_library(): libgp_path = ctypes.util.find_library('libgeneprog.0.dylib') libgp = ctypes.CDLL(str(libgp_path)) return libgp library = load_library() cgp_data.load(library)
19
64
0.75188
38
266
5.078947
0.526316
0.170984
0
0
0
0
0
0
0
0
0
0.004386
0.142857
266
13
65
20.461538
0.842105
0
0
0
0
0
0.071429
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fe7dddae8edae313609b32870727b9f899481e68
4,951
py
Python
third_party/gsutil/third_party/protorpc/demos/appstats/protorpc_appstats/__init__.py
ravitejavalluri/catapult
246a39a82c2213d913a96fff020a263838dc76e6
[ "BSD-3-Clause" ]
76
2015-01-04T13:45:16.000Z
2022-02-12T11:06:49.000Z
third_party/gsutil/third_party/protorpc/demos/appstats/protorpc_appstats/__init__.py
ravitejavalluri/catapult
246a39a82c2213d913a96fff020a263838dc76e6
[ "BSD-3-Clause" ]
27
2015-02-12T20:04:37.000Z
2020-04-28T07:51:39.000Z
third_party/gsutil/third_party/protorpc/demos/appstats/protorpc_appstats/__init__.py
ravitejavalluri/catapult
246a39a82c2213d913a96fff020a263838dc76e6
[ "BSD-3-Clause" ]
42
2015-01-24T09:49:07.000Z
2020-10-13T16:59:31.000Z
#!/usr/bin/env python # # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
32.359477
80
0.731569
644
4,951
5.535714
0.361801
0.037868
0.035344
0.008976
0.176999
0.090884
0.048247
0.048247
0.023562
0.023562
0
0.005935
0.183195
4,951
152
81
32.572368
0.875618
0.204605
0
0.132353
0
0
0.065841
0
0
0
0
0.013158
0
0
null
null
0
0.176471
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
fe9893f643d610d783ed83181a9851c1aa55a43a
711
py
Python
pyrax/identity/keystone_identity.py
rs-randallburt/pyrax
fb6eb55f8218cab7248d8f44f77148d254c5074c
[ "Apache-2.0" ]
null
null
null
pyrax/identity/keystone_identity.py
rs-randallburt/pyrax
fb6eb55f8218cab7248d8f44f77148d254c5074c
[ "Apache-2.0" ]
null
null
null
pyrax/identity/keystone_identity.py
rs-randallburt/pyrax
fb6eb55f8218cab7248d8f44f77148d254c5074c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import import pyrax from ..base_identity import BaseIdentity from .. import exceptions as exc class KeystoneIdentity(BaseIdentity): """ Implements the Keystone-specific behaviors for Identity. In most cases you will want to create specific subclass...
28.44
80
0.714487
92
711
5.347826
0.663043
0.121951
0.060976
0
0
0
0
0
0
0
0
0.001805
0.220816
711
24
81
29.625
0.886282
0.37834
0
0
0
0
0.140097
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
fe9cf7524a227d21267659e01c33dab0347facf2
219
py
Python
vectoradd/CuAssembler_files/disassemble_cubin_into_cuasm.py
gxsaccount/CuAssembler
4542a3ee3fe4788bfd368a337e4c89ee288f0684
[ "MIT" ]
null
null
null
vectoradd/CuAssembler_files/disassemble_cubin_into_cuasm.py
gxsaccount/CuAssembler
4542a3ee3fe4788bfd368a337e4c89ee288f0684
[ "MIT" ]
null
null
null
vectoradd/CuAssembler_files/disassemble_cubin_into_cuasm.py
gxsaccount/CuAssembler
4542a3ee3fe4788bfd368a337e4c89ee288f0684
[ "MIT" ]
null
null
null
import sys sys.path.append("/home/gaoxiang/data/CuAssembler") from CuAsm.CubinFile import CubinFile binname = sys.argv[1] cf = CubinFile(binname) asmname = binname.replace('.cubin', '.cuasm') cf.saveAsCuAsm(asmname)
21.9
50
0.757991
29
219
5.724138
0.655172
0.192771
0
0
0
0
0
0
0
0
0
0.005051
0.09589
219
9
51
24.333333
0.833333
0
0
0
0
0
0.197248
0.142202
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fe9edc6f32e76354d5bfff325993b719b9fbb700
441
py
Python
src/manage.py
nguyenhuunghi/author-manager
91d39c3fbbc63b2290c7c7138a18bee0258348f8
[ "MIT" ]
null
null
null
src/manage.py
nguyenhuunghi/author-manager
91d39c3fbbc63b2290c7c7138a18bee0258348f8
[ "MIT" ]
null
null
null
src/manage.py
nguyenhuunghi/author-manager
91d39c3fbbc63b2290c7c7138a18bee0258348f8
[ "MIT" ]
null
null
null
from main import app as application from api.utils.database import db from flask_script import Manager from flask_migrate import Migrate, MigrateCommand migrate = Migrate(application, db) manager = Manager(application) manager.add_command('db', MigrateCommand) if __name__ == '__main__': # python manage.py db in...
24.5
49
0.750567
60
441
5.333333
0.433333
0.15
0.175
0.2
0
0
0
0
0
0
0
0
0.174603
441
17
50
25.941176
0.879121
0.240363
0
0
0
0
0.030303
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
fea26cece169e78b66a548c3f14f8e315b559941
3,477
py
Python
tests/forms_tests/widget_tests/test_radioselect.py
JBKahn/django
32265361279b3316f5bce8efa71f2049409461e3
[ "PSF-2.0", "BSD-3-Clause" ]
2
2015-02-06T05:25:49.000Z
2019-07-25T03:44:02.000Z
tests/forms_tests/widget_tests/test_radioselect.py
djk2/django
6b00af50146335485d8414c42efec7d8dd5397fc
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
tests/forms_tests/widget_tests/test_radioselect.py
djk2/django
6b00af50146335485d8414c42efec7d8dd5397fc
[ "PSF-2.0", "BSD-3-Clause" ]
1
2020-02-06T10:31:51.000Z
2020-02-06T10:31:51.000Z
from django.forms import RadioSelect from .base import WidgetTest class RadioSelectTest(WidgetTest): widget = RadioSelect def test_render(self): self.check_html(self.widget(choices=self.beatles), 'beatle', 'J', html=( """<ul> <li><label><input checked type="radio" name="beatl...
40.905882
119
0.539258
452
3,477
4.039823
0.14823
0.06517
0.071194
0.084337
0.620482
0.483571
0.309967
0.309967
0.291347
0.291347
0
0.013889
0.25453
3,477
84
120
41.392857
0.690586
0.042278
0
0.333333
0
0.206349
0.676634
0.022949
0
0
0
0
0
1
0.063492
false
0
0.031746
0
0.126984
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
feac364dc30773deee654922e35d8af39e7465d8
195
py
Python
tests/permute_header.py
wstlabs/ioany
4ed9008444d155dae9b4c32afd67925b00af7c92
[ "Apache-2.0" ]
null
null
null
tests/permute_header.py
wstlabs/ioany
4ed9008444d155dae9b4c32afd67925b00af7c92
[ "Apache-2.0" ]
null
null
null
tests/permute_header.py
wstlabs/ioany
4ed9008444d155dae9b4c32afd67925b00af7c92
[ "Apache-2.0" ]
null
null
null
import ioany def main(): infile = "data/this.csv" inrecs = ioany.read_recs(infile) ioany.save_recs("data/bad.csv",inrecs,header=['bbb','aaa']) if __name__ == '__main__': main()
19.5
63
0.641026
27
195
4.259259
0.666667
0.156522
0
0
0
0
0
0
0
0
0
0
0.174359
195
9
64
21.666667
0.714286
0
0
0
0
0
0.2
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
feb2c04426ff3df726bf5dc79cb57cbc3db91879
889
py
Python
corCTF 2021/crypto/crypto_solve.py
yl-ang/CTF
a075231a3dc32630a26f3b2d4dfc1dd9b9f1e0b9
[ "MIT" ]
null
null
null
corCTF 2021/crypto/crypto_solve.py
yl-ang/CTF
a075231a3dc32630a26f3b2d4dfc1dd9b9f1e0b9
[ "MIT" ]
null
null
null
corCTF 2021/crypto/crypto_solve.py
yl-ang/CTF
a075231a3dc32630a26f3b2d4dfc1dd9b9f1e0b9
[ "MIT" ]
3
2021-06-28T09:52:07.000Z
2021-09-22T03:28:40.000Z
fib = [1, 1] for i in range(2, 11): fib.append(fib[i - 1] + fib[i - 2]) def c2f(c): n = ord(c) b = '' for i in range(10, -1, -1): if n >= fib[i]: n -= fib[i] b += '1' else: b += '0' return b ALPHABET = [chr(i) for i in range(33,126)] print(ALPHABET) flag = ['10000100100','10010000010','10010001010...
29.633333
400
0.600675
111
889
4.810811
0.432432
0.029963
0.044944
0.061798
0
0
0
0
0
0
0
0.462623
0.202475
889
30
401
29.633333
0.29055
0
0
0.076923
0
0
0.348315
0
0
0
0
0
0
1
0.038462
false
0
0
0
0.076923
0.115385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
22829d70b8209f13dd06f9c7831f5c9f15240a32
137
py
Python
src/socket_log_receiver/__init__.py
okomestudio/socket_log_receiver
f9efb6a2029c5b2a9d48f44f6bcb69135f607c16
[ "MIT" ]
4
2021-02-28T23:59:51.000Z
2021-11-02T09:00:36.000Z
src/socket_log_receiver/__init__.py
okomestudio/socket_log_receiver
f9efb6a2029c5b2a9d48f44f6bcb69135f607c16
[ "MIT" ]
1
2020-04-12T07:46:25.000Z
2020-04-12T07:46:25.000Z
src/socket_log_receiver/__init__.py
okomestudio/socket-log-receiver
f9efb6a2029c5b2a9d48f44f6bcb69135f607c16
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __version__ = "20.4.1a" __author__ = "Taro Sato" __author_email__ = "okomestudio@gmail.com" __license__ = "MIT"
19.571429
42
0.678832
17
137
4.470588
0.941176
0
0
0
0
0
0
0
0
0
0
0.042373
0.138686
137
6
43
22.833333
0.601695
0.153285
0
0
0
0
0.350877
0.184211
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2282df114f5cca5fc2894785208aa464ec139a9b
639
py
Python
tests/test_gdal_utils.py
terrai/rastercube
c8c6214fd682f72e94df4979f5d737cea4778617
[ "MIT" ]
16
2017-06-23T15:11:07.000Z
2019-01-02T19:32:11.000Z
tests/test_gdal_utils.py
terrai/rastercube
c8c6214fd682f72e94df4979f5d737cea4778617
[ "MIT" ]
null
null
null
tests/test_gdal_utils.py
terrai/rastercube
c8c6214fd682f72e94df4979f5d737cea4778617
[ "MIT" ]
6
2017-07-28T08:45:06.000Z
2020-08-28T03:19:17.000Z
import numpy as np import random import unittest import rastercube.gdal_utils as gdal_utils from numpy.testing import assert_allclose class GdalDsFromArrayTest(unittest.TestCase): def test_2d(self): arr = np.random.rand(15, 17) ds = gdal_utils.gdal_ds_from_array(arr) assert_allclose(arr.sq...
33.631579
78
0.701095
91
639
4.758242
0.483516
0.083141
0.04157
0.069284
0.221709
0.133949
0.133949
0.133949
0
0
0
0.03675
0.190923
639
18
79
35.5
0.800774
0.106416
0
0.142857
0
0
0
0
0
0
0
0
0.214286
1
0.142857
false
0
0.357143
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
2292e17a9e1c4afe6e0c1b6889ea22317adbc141
550
py
Python
python_tricks/private_data.py
fossabot/experiment_code
de0fdfc4f6cc61cd1941af8df6e39491fada0e6b
[ "MIT" ]
null
null
null
python_tricks/private_data.py
fossabot/experiment_code
de0fdfc4f6cc61cd1941af8df6e39491fada0e6b
[ "MIT" ]
null
null
null
python_tricks/private_data.py
fossabot/experiment_code
de0fdfc4f6cc61cd1941af8df6e39491fada0e6b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # @Author: jerry # @Date: 2017-09-09 21:15:54 # @Last Modified by: jerry # @Last Modified time: 2017-09-09 21:21:08 '''[你想封装类的实例上面的“私有”数据,但是Python语言并没有访问控制。] [解决方案] Python程序员不去依赖语言特性去封装数据,而是通过遵循一定的属性和方法命名规约来达到这个效果。 第一个约定是任何以单下划线_开头的名字都应该是内部实现。 ''' class A: def __init__(self): ...
18.965517
78
0.623636
64
550
5.21875
0.59375
0.035928
0.047904
0.05988
0
0
0
0
0
0
0
0.075061
0.249091
550
28
79
19.642857
0.733656
0.58
0
0.25
0
0
0
0
0
0
0
0
0
1
0.375
false
0.25
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
2293f846b402c0bdea1c2d0cc1c0fcf0d7af7ef2
1,256
py
Python
utils/predict_model.py
vahiwe/mlclassification
d25385798516465cfc4e9a0e12561e70ce3d293d
[ "MIT" ]
null
null
null
utils/predict_model.py
vahiwe/mlclassification
d25385798516465cfc4e9a0e12561e70ce3d293d
[ "MIT" ]
1
2019-04-05T01:27:47.000Z
2019-04-16T16:06:54.000Z
utils/predict_model.py
vahiwe/mlclassification
d25385798516465cfc4e9a0e12561e70ce3d293d
[ "MIT" ]
null
null
null
# Importing the Keras libraries and packages import numpy as np import keras import tensorflow as tf from keras.models import load_model from IPython.display import display from PIL import Image from keras.preprocessing import image from keras.preprocessing.image import ImageDataGenerator from keras.models import Seque...
23.698113
64
0.753981
170
1,256
5.429412
0.4
0.078007
0.065005
0.091008
0.149512
0
0
0
0
0
0
0.022073
0.170382
1,256
52
65
24.153846
0.863724
0.033439
0
0
0
0
0.023927
0.018152
0
0
0
0
0
1
0.102564
false
0
0.358974
0
0.564103
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
22a6258259735269d8243eb254ea1880a63de372
287
py
Python
main.py
williamshen-nz/recschedule-website
de9026496cd1cdd6794ff5dd6d0192046f040d56
[ "MIT" ]
null
null
null
main.py
williamshen-nz/recschedule-website
de9026496cd1cdd6794ff5dd6d0192046f040d56
[ "MIT" ]
1
2022-03-04T05:13:01.000Z
2022-03-06T05:02:24.000Z
main.py
williamshen-nz/recschedule-website
de9026496cd1cdd6794ff5dd6d0192046f040d56
[ "MIT" ]
null
null
null
import sys from recschedule_website.integ import process_recschedule if __name__ == "__main__": assert ( len(sys.argv) == 3 ), "Usage: python main.py <filename of recschedule> <output HTML filename>" process_recschedule(in_fname=sys.argv[1], out_fname=sys.argv[2])
28.7
79
0.714286
39
287
4.923077
0.666667
0.109375
0.125
0
0
0
0
0
0
0
0
0.012605
0.170732
287
9
80
31.888889
0.794118
0
0
0
0
0
0.271777
0
0
0
0
0
0.142857
1
0
true
0
0.285714
0
0.285714
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
0
0
0
0
0
2
22ba79f18c0a8e04165807730434ecdcba627ef4
1,888
py
Python
python/datarecv.py
SJ-YI/HSRDEV
8fa42bc41e337f0777e6980b37907dbd3c1067da
[ "Info-ZIP" ]
null
null
null
python/datarecv.py
SJ-YI/HSRDEV
8fa42bc41e337f0777e6980b37907dbd3c1067da
[ "Info-ZIP" ]
1
2020-05-04T09:42:17.000Z
2020-05-04T09:42:17.000Z
python/datarecv.py
SJ-YI/HSRDEV
8fa42bc41e337f0777e6980b37907dbd3c1067da
[ "Info-ZIP" ]
null
null
null
#!/usr/bin/env python # Copyright (C) 2016 Toyota Motor Corporation import controller_manager_msgs.srv import rospy import math import time import trajectory_msgs.msg import actionlib import control_msgs.msg import geometry_msgs.msg import os import sys import signal from sensor_msgs.msg import Image from geometry_ms...
23.6
94
0.729343
280
1,888
4.682143
0.303571
0.032037
0.04958
0.04119
0.115942
0.083905
0.053394
0.053394
0.053394
0
0
0.014603
0.165784
1,888
79
95
23.898734
0.817778
0.387712
0
0.055556
0
0
0.068202
0
0
0
0
0
0
0
null
null
0
0.444444
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
22cc27d6641e368468ade5ef12c7667d32b1fabc
1,677
py
Python
awwardsmain/models.py
KevinJared/Awwards
a19e8305e5ac02247a2917b6cad53887c7939d76
[ "MIT" ]
null
null
null
awwardsmain/models.py
KevinJared/Awwards
a19e8305e5ac02247a2917b6cad53887c7939d76
[ "MIT" ]
null
null
null
awwardsmain/models.py
KevinJared/Awwards
a19e8305e5ac02247a2917b6cad53887c7939d76
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save,post_delete from django.dispatch import receiver import datetime as dt from vote.models import VoteModel # Create your models here. class Profile(models.Model): user = models.OneToOneField(User, ...
38.113636
92
0.724508
224
1,677
5.299107
0.375
0.101095
0.121314
0.161752
0.372367
0.239259
0.239259
0.173547
0.107835
0.107835
0
0.012757
0.158617
1,677
44
93
38.113636
0.82849
0.173524
0
0
0
0
0.03701
0
0
0
0
0
0
1
0.064516
false
0
0.193548
0
0.774194
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
22d41abc9805fccaccdcb6f356fa9b16b27d68f0
147
py
Python
aula 14/exercicio_tupla.py
Azenha/AlgProg2
062b5caac24435717074a18a7499f80130489a46
[ "MIT" ]
null
null
null
aula 14/exercicio_tupla.py
Azenha/AlgProg2
062b5caac24435717074a18a7499f80130489a46
[ "MIT" ]
null
null
null
aula 14/exercicio_tupla.py
Azenha/AlgProg2
062b5caac24435717074a18a7499f80130489a46
[ "MIT" ]
null
null
null
numeros = ("zero","um","dois","três","quatro","cinco","seis","sete","oito","nove") busca = int(input("Digite um número: ")) print(numeros[busca])
29.4
82
0.62585
20
147
4.6
0.85
0
0
0
0
0
0
0
0
0
0
0
0.07483
147
5
83
29.4
0.676471
0
0
0
0
0
0.398649
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
22e0015ec4b6262eb0588caa2ae982f59735a41d
199
py
Python
pertbio/pertbio/config.py
judyueshen/CellBox
55afe838fb6a17faceea539927c280c2a7226b6e
[ "MIT" ]
null
null
null
pertbio/pertbio/config.py
judyueshen/CellBox
55afe838fb6a17faceea539927c280c2a7226b6e
[ "MIT" ]
null
null
null
pertbio/pertbio/config.py
judyueshen/CellBox
55afe838fb6a17faceea539927c280c2a7226b6e
[ "MIT" ]
null
null
null
import json class Config(object): def __init__(self, config_file): with open(config_file, 'r') as f: config_dict = json.load(f) self.__dict__.update(config_dict)
24.875
45
0.628141
27
199
4.185185
0.62963
0.176991
0
0
0
0
0
0
0
0
0
0
0.266332
199
7
46
28.428571
0.773973
0
0
0
0
0
0.005025
0
0
0
0
0
0
1
0.166667
false
0
0.166667
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
0
0
0
0
0
2
fe1c5ce4149c3a0a6ace2491b065e044a1781edb
12,268
py
Python
ansible/venv/lib/python2.7/site-packages/ansible/modules/web_infrastructure/sophos_utm/utm_proxy_auth_profile.py
gvashchenkolineate/gvashchenkolineate_infra_trytravis
0fb18850afe0d8609693ba4b23f29c7cda17d97f
[ "MIT" ]
17
2017-06-07T23:15:01.000Z
2021-08-30T14:32:36.000Z
ansible/venv/lib/python2.7/site-packages/ansible/modules/web_infrastructure/sophos_utm/utm_proxy_auth_profile.py
gvashchenkolineate/gvashchenkolineate_infra_trytravis
0fb18850afe0d8609693ba4b23f29c7cda17d97f
[ "MIT" ]
9
2017-06-25T03:31:52.000Z
2021-05-17T23:43:12.000Z
ansible/venv/lib/python2.7/site-packages/ansible/modules/web_infrastructure/sophos_utm/utm_proxy_auth_profile.py
gvashchenkolineate/gvashchenkolineate_infra_trytravis
0fb18850afe0d8609693ba4b23f29c7cda17d97f
[ "MIT" ]
3
2018-05-26T21:31:22.000Z
2019-09-28T17:00:45.000Z
#!/usr/bin/python # Copyright: (c) 2018, Stephan Schwarz <stearz@gmx.de> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status'...
35.151862
133
0.625122
1,275
12,268
5.803922
0.162353
0.034054
0.02527
0.043649
0.762162
0.717838
0.606486
0.511892
0.437568
0.376757
0
0.003034
0.301435
12,268
348
134
35.252874
0.860443
0.013042
0
0.5387
0
0
0.747955
0.11045
0
0
0
0
0
1
0.003096
false
0
0.009288
0
0.012384
0.003096
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a3adac6ef5890225be790d8f7fff16c798d95cc1
1,357
py
Python
start.py
lewzylu/s3-tests
bfb2881930410a0484d5917639bd2e6444e52a59
[ "MIT" ]
null
null
null
start.py
lewzylu/s3-tests
bfb2881930410a0484d5917639bd2e6444e52a59
[ "MIT" ]
null
null
null
start.py
lewzylu/s3-tests
bfb2881930410a0484d5917639bd2e6444e52a59
[ "MIT" ]
null
null
null
# -*- coding=utf-8 import os import time import nuke region = os.environ['COS_REGION'] test_num = 0 succ_num = 0 fail_num = 0 date = time.strftime("%Y-%m-%d", time.localtime()) try: os.makedirs("./result/" + region) except: pass try: os.makedirs("./debug/" + region) except: pass try: os.makedirs("....
28.87234
191
0.527634
182
1,357
3.851648
0.379121
0.017118
0.055635
0.054208
0.082739
0.082739
0
0
0
0
0
0.011458
0.292557
1,357
46
192
29.5
0.71875
0.011791
0
0.209302
0
0.023256
0.199403
0.042569
0
0
0
0
0
0
null
null
0.069767
0.069767
null
null
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
a3b09fd06699abfc245ca9b27ec5f9cdac85b0db
209
py
Python
live/deploy.py
tvvocold/biostar-central
d4300f0b622af9f14666068cad31e3c20bc94a2d
[ "MIT" ]
1
2015-08-03T11:42:47.000Z
2015-08-03T11:42:47.000Z
live/deploy.py
Lohit13/biostar-webhook-test
9e563977a029bd25b4e6fcdedf61435b3c466783
[ "MIT" ]
null
null
null
live/deploy.py
Lohit13/biostar-webhook-test
9e563977a029bd25b4e6fcdedf61435b3c466783
[ "MIT" ]
null
null
null
from biostar.settings.base import * SITE_DOMAIN = "mysite.com" SERVER_EMAIL = "myemail@mysite.com" # Override any other settings that you might need # See the biostars/settings/base.py for settings options
23.222222
56
0.779904
31
209
5.193548
0.806452
0.149068
0
0
0
0
0
0
0
0
0
0
0.138756
209
8
57
26.125
0.894444
0.488038
0
0
0
0
0.271845
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
0
0
0
2
a3b427d96dc18071deea0a15bd36f6dd0106ac89
250
py
Python
orbiter/physics.py
yngtodd/orbiter
7dac1e9c79dc1717d700639e51a7ab4b5d44593e
[ "MIT" ]
null
null
null
orbiter/physics.py
yngtodd/orbiter
7dac1e9c79dc1717d700639e51a7ab4b5d44593e
[ "MIT" ]
null
null
null
orbiter/physics.py
yngtodd/orbiter
7dac1e9c79dc1717d700639e51a7ab4b5d44593e
[ "MIT" ]
null
null
null
def calc_eccentricity(dist_list): """Calculate and return eccentricity from list of radii.""" apoapsis = max(dist_list) periapsis = min(dist_list) eccentricity = (apoapsis - periapsis) / (apoapsis + periapsis) return eccentricity
35.714286
66
0.716
28
250
6.25
0.535714
0.137143
0
0
0
0
0
0
0
0
0
0
0.188
250
6
67
41.666667
0.862069
0.212
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a3c350161e9f62a9546f6e170a47e3593d526ea1
1,530
py
Python
qualipy/backends/pandas_backend/dataset.py
baasman/qualipy
e246a44ea3a5dcc92291983c52a89189338f808f
[ "Apache-2.0" ]
1
2019-07-15T15:16:44.000Z
2019-07-15T15:16:44.000Z
qualipy/backends/pandas_backend/dataset.py
baasman/qualipy
e246a44ea3a5dcc92291983c52a89189338f808f
[ "Apache-2.0" ]
null
null
null
qualipy/backends/pandas_backend/dataset.py
baasman/qualipy
e246a44ea3a5dcc92291983c52a89189338f808f
[ "Apache-2.0" ]
null
null
null
from qualipy.backends.base import BaseData from typing import List import pandas as pd class PandasData(BaseData): """PandasData must be instantiated when tracking pandas data""" def __init__(self, data: pd.DataFrame): """ Args: data: The pandas dataset that we want to track ...
28.333333
92
0.613072
185
1,530
4.978378
0.464865
0.043431
0.030402
0.039088
0.047774
0
0
0
0
0
0
0.000952
0.313725
1,530
53
93
28.867925
0.87619
0.345752
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0.083333
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
a3c605c3346f39dfebb2e05b5e4f4835c758379c
1,753
py
Python
cmake/test/src/test_ut.py
SSteve/fprime
12c478bd79c2c4ba2d9f9e634e47f8b6557c54a8
[ "Apache-2.0" ]
2
2021-02-19T16:51:46.000Z
2021-02-19T16:51:56.000Z
cmake/test/src/test_ut.py
SSteve/fprime
12c478bd79c2c4ba2d9f9e634e47f8b6557c54a8
[ "Apache-2.0" ]
42
2021-06-10T23:31:10.000Z
2021-06-25T00:35:31.000Z
cmake/test/src/test_ut.py
SSteve/fprime
12c478bd79c2c4ba2d9f9e634e47f8b6557c54a8
[ "Apache-2.0" ]
3
2020-09-05T18:17:21.000Z
2020-11-15T04:06:24.000Z
#### # test_basic.py: # # Basic CMake tests. # #### import os import platform import cmake # Test a normal build, with the ref executable and static libraries BUILD_DIR = os.path.join("<FPRIME>") OPTIONS = {"CMAKE_BUILD_TYPE": "TESTING"} TARGETS = ["all", "check"] EXPECTED = [ os.path.join("bin", platform.system()...
44.948718
73
0.692527
254
1,753
4.496063
0.240157
0.115587
0.192644
0.239054
0.631349
0.631349
0.607706
0.607706
0.607706
0
0
0
0.110097
1,753
38
74
46.131579
0.732051
0.056475
0
0
0
0
0.32439
0.145122
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a3d637af039673d0b7dd1f783ba22ca8b3b5e13a
14,953
py
Python
content.py
vlad-kraf/articles_finder_telegram_bot
4ae91949541a5c3534679b9419c15e09e93479b5
[ "Unlicense" ]
null
null
null
content.py
vlad-kraf/articles_finder_telegram_bot
4ae91949541a5c3534679b9419c15e09e93479b5
[ "Unlicense" ]
null
null
null
content.py
vlad-kraf/articles_finder_telegram_bot
4ae91949541a5c3534679b9419c15e09e93479b5
[ "Unlicense" ]
null
null
null
# Articles and their urls. topics_links = { "документи для в'їзду в ірландію":""" Документі необхідні для в’їзду до Ірландії\: На даний час Ірландія приймає: 1\. Міжнародний паспорт, з біометрією або без неї, прострочений в тому числі\. 2\. Внутрішній паспорт України\. В тому числі прострочений\. 3\. Свідоцтво про на...
65.013043
817
0.772153
2,066
14,953
5.583253
0.498548
0.013264
0.010403
0.012484
0.098049
0.081751
0.054616
0.043866
0.030516
0.023927
0
0.052889
0.109811
14,953
229
818
65.296943
0.812561
0.001605
0
0.121429
0
0.335714
0.97993
0.006158
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
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a3d74634941de1c25e6998046d626098eda0c36d
2,003
py
Python
tf_agents/common.py
sergeivolodin/causality-disentanglement-rl
5a41b4a2e3d85fa7e9c8450215fdc6cf954df867
[ "CC0-1.0" ]
2
2020-12-11T05:26:24.000Z
2021-04-21T06:12:58.000Z
tf_agents/common.py
sergeivolodin/causality-disentanglement-rl
5a41b4a2e3d85fa7e9c8450215fdc6cf954df867
[ "CC0-1.0" ]
9
2020-04-30T16:29:50.000Z
2021-03-26T07:32:18.000Z
tf_agents/common.py
sergeivolodin/causality-disentanglement-rl
5a41b4a2e3d85fa7e9c8450215fdc6cf954df867
[ "CC0-1.0" ]
null
null
null
import numpy as np from matplotlib import pyplot as plt import tensorflow as tf from tqdm import tqdm tf.compat.v1.enable_v2_behavior() from tf_agents.agents.reinforce import reinforce_agent from tf_agents.drivers import dynamic_step_driver from tf_agents.environments import suite_gym from tf_agents.environments impo...
33.383333
77
0.806291
293
2,003
5.208191
0.307167
0.06291
0.125819
0.037353
0.28637
0.132372
0.051114
0
0
0
0
0.006377
0.138792
2,003
59
78
33.949153
0.878261
0.03345
0
0.044444
0
0
0
0
0
0
0
0
0
1
0.044444
false
0
0.444444
0
0.511111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
a3d7c719858a230dee9e49b49060a244a8b12264
1,629
py
Python
backend/server/views/post.py
ase-warriors/go-trucks
e92f6c646138a4398a0d9d0ac999f8c89041220d
[ "MIT" ]
1
2017-12-07T03:48:48.000Z
2017-12-07T03:48:48.000Z
backend/server/views/post.py
ase-warriors/go-trucks
e92f6c646138a4398a0d9d0ac999f8c89041220d
[ "MIT" ]
1
2017-11-28T19:12:13.000Z
2017-11-28T19:12:13.000Z
backend/server/views/post.py
ase-warriors/go-trucks
e92f6c646138a4398a0d9d0ac999f8c89041220d
[ "MIT" ]
1
2017-10-13T23:24:26.000Z
2017-10-13T23:24:26.000Z
# server/views/post.py from flask import Blueprint, jsonify, request, make_response from flask.views import MethodView from server.models import Post post_bp = Blueprint('post', __name__, url_prefix="/post") def json_response(res, status): return make_response(jsonify(res)), status class PostsAPI(MethodView):...
29.618182
71
0.549417
193
1,629
4.487047
0.404145
0.055427
0.069284
0.06582
0
0
0
0
0
0
0
0.018298
0.329036
1,629
54
72
30.166667
0.774016
0.027624
0
0
0
0
0.100706
0
0
0
0
0.018519
0
0
null
null
0
0.076923
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
a3d98173ddad761341f3c2ac1206db816f1a5340
1,783
py
Python
CryptoNotificationsService/config.py
athanikos/CryptoNotificationsService
546bb6cbb8fd97fd5a00c42d57b3640fda2b15a3
[ "MIT" ]
null
null
null
CryptoNotificationsService/config.py
athanikos/CryptoNotificationsService
546bb6cbb8fd97fd5a00c42d57b3640fda2b15a3
[ "MIT" ]
null
null
null
CryptoNotificationsService/config.py
athanikos/CryptoNotificationsService
546bb6cbb8fd97fd5a00c42d57b3640fda2b15a3
[ "MIT" ]
null
null
null
import os from keyring import get_password from werkzeug.utils import import_string DB = "notifications_service" PORT = 27017 MONGO_IP = "127.0.0.1" KAFKA_BROKERS = "127.0.0.1:9092" BALANCES_TOPIC_NAME = "balances" class BaseConfig(object): DEBUG = False TESTING = False SERVERNAME = "localhost" PORT ...
27.859375
95
0.731352
179
1,783
7.083799
0.307263
0.066246
0.093849
0.078864
0.428233
0.357256
0.357256
0.357256
0.357256
0.357256
0
0.018367
0.175547
1,783
63
96
28.301587
0.844218
0
0
0.442308
0
0
0.32249
0.264162
0
0
0
0
0
1
0.019231
false
0.115385
0.076923
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
a3e68c17edebbf4e80826cd8563449a87fb1f720
1,635
py
Python
win_cpu_nanny.py
kevinkenzhao/Repy2
a7afb4c8ba263c8a74775a6281a50d94880a8d34
[ "MIT" ]
11
2015-09-17T18:15:26.000Z
2021-11-27T23:01:51.000Z
win_cpu_nanny.py
kevinkenzhao/Repy2
a7afb4c8ba263c8a74775a6281a50d94880a8d34
[ "MIT" ]
77
2015-02-18T16:24:01.000Z
2021-12-21T16:29:09.000Z
win_cpu_nanny.py
kevinkenzhao/Repy2
a7afb4c8ba263c8a74775a6281a50d94880a8d34
[ "MIT" ]
44
2015-02-17T06:49:24.000Z
2022-03-25T07:32:44.000Z
""" Author: Justin Cappos Start Date: July 4th, 2008 Description: Is the nanny for cpu on Windows. """ import time import sys import tracebackrepy import nonportable import windows_api as windows_api def main(): if len(sys.argv) != 4: print "Error, didn't get the right number of args:",sys.argv sys.exit(1...
25.952381
97
0.669725
239
1,635
4.485356
0.531381
0.046642
0.022388
0.026119
0
0
0
0
0
0
0
0.016247
0.247095
1,635
62
98
26.370968
0.85459
0.338838
0
0.117647
0
0
0.102591
0
0
0
0
0
0
0
null
null
0.058824
0.147059
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
a3e849f3a1a39b839267298c1248a1d9b8b45282
4,987
py
Python
aklearn/recommend/SCR.py
longyangking/arlkit-learn
41cd94af71174ba344694462727abf7055cc8b82
[ "BSD-3-Clause" ]
null
null
null
aklearn/recommend/SCR.py
longyangking/arlkit-learn
41cd94af71174ba344694462727abf7055cc8b82
[ "BSD-3-Clause" ]
null
null
null
aklearn/recommend/SCR.py
longyangking/arlkit-learn
41cd94af71174ba344694462727abf7055cc8b82
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import pandas as pd import scipy.sparse as sparse import utils class SCR: def __init__(self,matrix,format='cosine',nanvalue=0,copy=True,\ selfconsistence=True,tolerance=1.0*1.0**-6,verbose=False): if copy: self.trainmatrix = matrix.copy() else: ...
33.92517
125
0.578905
534
4,987
5.398876
0.213483
0.08845
0.033299
0.015262
0.425251
0.347555
0.288588
0.276795
0.251127
0.21436
0
0.00472
0.320233
4,987
146
126
34.157534
0.845723
0.051735
0
0.353535
0
0
0.031995
0
0
0
0
0.013699
0
0
null
null
0
0.040404
null
null
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
a3eab53432344bf1c4443d3250065bb149848cfd
1,381
py
Python
tests/downloads/test_utils.py
ReeceHoffmann/virtool
f9befad060fe16fa29fb80124e674ac5a9c4f538
[ "MIT" ]
39
2016-10-31T23:28:59.000Z
2022-01-15T00:00:42.000Z
tests/downloads/test_utils.py
ReeceHoffmann/virtool
f9befad060fe16fa29fb80124e674ac5a9c4f538
[ "MIT" ]
1,690
2017-02-07T23:39:48.000Z
2022-03-31T22:30:44.000Z
tests/downloads/test_utils.py
ReeceHoffmann/virtool
f9befad060fe16fa29fb80124e674ac5a9c4f538
[ "MIT" ]
25
2017-02-08T18:25:31.000Z
2021-09-20T22:55:25.000Z
import pytest import virtool.downloads import virtool.downloads.utils def test_format_fasta_entry(): virus_name = "Tobacco mosaic virus" isolate_name = "Isolate A" sequence_id = "AX12345" sequence = "ATAGAGTTACGAGCGACTACGACT" entry = virtool.downloads.utils.format_fasta_entry( virus_name...
28.770833
87
0.640116
152
1,381
5.644737
0.335526
0.136364
0.188811
0.203963
0.448718
0.258741
0.104895
0
0
0
0
0.026923
0.246923
1,381
47
88
29.382979
0.798077
0
0
0.052632
0
0
0.307024
0.115134
0
0
0
0
0.078947
1
0.052632
false
0
0.078947
0
0.131579
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a3f1642affcfde6bd2db1b837cd093be2f554b54
1,974
py
Python
API/serializers.py
ByrdOfAFeather/NARC
9600a1cf7e22b139d09e0e26316d6fd50a238996
[ "MIT" ]
5
2018-10-30T02:31:08.000Z
2019-06-11T03:06:35.000Z
API/serializers.py
ByrdOfAFeather/NARC
9600a1cf7e22b139d09e0e26316d6fd50a238996
[ "MIT" ]
11
2019-06-11T03:40:45.000Z
2022-02-10T07:56:54.000Z
API/serializers.py
ByrdOfAFeather/NARC
9600a1cf7e22b139d09e0e26316d6fd50a238996
[ "MIT" ]
2
2018-08-24T02:41:21.000Z
2020-07-02T21:30:43.000Z
from django.contrib.auth.password_validation import validate_password from django.core.exceptions import ValidationError from rest_framework import serializers from django.contrib.auth.models import User from rest_framework.authtoken.serializers import AuthTokenSerializer class CustomAuthSerializer(AuthTokenSerialize...
39.48
105
0.751266
228
1,974
6.403509
0.337719
0.104795
0.106164
0.057534
0.270548
0.068493
0.068493
0
0
0
0
0.00814
0.128673
1,974
49
106
40.285714
0.840698
0.028369
0
0.2
0
0
0.189556
0
0
0
0
0.020408
0
1
0.05
false
0.125
0.125
0
0.45
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
a3f46ff9fefa3ea02e8956f20f201f930316e564
1,249
py
Python
wings/domain.py
KnowledgeCaptureAndDiscovery/wings-client
af1d068f4adc07d9060afa94dc99e0b2565be088
[ "Apache-2.0" ]
null
null
null
wings/domain.py
KnowledgeCaptureAndDiscovery/wings-client
af1d068f4adc07d9060afa94dc99e0b2565be088
[ "Apache-2.0" ]
8
2019-07-28T17:04:38.000Z
2019-08-06T23:57:08.000Z
wings/domain.py
KnowledgeCaptureAndDiscovery/wings-client
af1d068f4adc07d9060afa94dc99e0b2565be088
[ "Apache-2.0" ]
1
2019-07-29T22:53:41.000Z
2019-07-29T22:53:41.000Z
import os class Domain(object): def __init__(self, api_client): self.api_client = api_client def import_domain(self, url): data = {'domain': os.path.basename(url), 'location': url} self.api_client.session.post(self.api_client.get_server() + '/users/' + ...
37.848485
100
0.588471
138
1,249
5.086957
0.268116
0.192308
0.259259
0.182336
0.524217
0.524217
0.524217
0.524217
0.524217
0.524217
0
0
0.283427
1,249
32
101
39.03125
0.784358
0
0
0.2
0
0
0.120096
0.076861
0
0
0
0
0
1
0.2
false
0
0.12
0
0.44
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
430a85c1c9f12fcbed127e982531181011e7fa53
151
py
Python
recursive/count_down.py
Ryanb58/algorithhms
4350c06bae0ce0400d925f614313d4165aceec22
[ "MIT" ]
null
null
null
recursive/count_down.py
Ryanb58/algorithhms
4350c06bae0ce0400d925f614313d4165aceec22
[ "MIT" ]
null
null
null
recursive/count_down.py
Ryanb58/algorithhms
4350c06bae0ce0400d925f614313d4165aceec22
[ "MIT" ]
null
null
null
def countdown(num): print(num) if num == 0: return else: countdown(num - 1) if __name__ == "__main__": countdown(10)
13.727273
26
0.536424
18
151
4.055556
0.666667
0.328767
0
0
0
0
0
0
0
0
0
0.04
0.337748
151
10
27
15.1
0.69
0
0
0
0
0
0.05298
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0.125
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
430ca8587990c13e9687987c777466655cdb0b0c
740
py
Python
release/stubs.min/Autodesk/Revit/DB/__init___parts/GridNode.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/Autodesk/Revit/DB/__init___parts/GridNode.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/Autodesk/Revit/DB/__init___parts/GridNode.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
class GridNode(object): """ A structure that represents a particular location in (U,V) from a grid. GridNode(uIndex: int,vIndex: int) """ @staticmethod def __new__(self,uIndex,vIndex): """ __new__[GridNode]() -> GridNode __new__(cls: type,uIndex: int,vIndex: int) """ pass UIn...
16.086957
78
0.632432
98
740
4.653061
0.367347
0.131579
0.065789
0.078947
0.324561
0.324561
0.324561
0.324561
0.324561
0.324561
0
0
0.228378
740
45
79
16.444444
0.798599
0.251351
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
430d297a2e6ba579d9b9c1d1a4b26f5977aba9e2
1,445
py
Python
bot/gameObjects/items/modules/__init__.py
GOF2BountyBot/GOF2BountyBot
f7f276a1b0a8fa376fab3d48e0a1f3989e15c80d
[ "MIT" ]
1
2021-08-30T15:04:34.000Z
2021-08-30T15:04:34.000Z
bot/gameObjects/items/modules/__init__.py
KroeteTroete/GOF2BountyBot-1
f7f276a1b0a8fa376fab3d48e0a1f3989e15c80d
[ "MIT" ]
783
2021-01-22T20:54:48.000Z
2022-03-29T08:22:49.000Z
bot/gameObjects/items/modules/__init__.py
KroeteTroete/GOF2BountyBot-1
f7f276a1b0a8fa376fab3d48e0a1f3989e15c80d
[ "MIT" ]
2
2021-05-23T17:32:00.000Z
2021-08-28T13:13:16.000Z
from .moduleItem import ModuleItem from .armourModule import ArmourModule from .boosterModule import BoosterModule from .cabinModule import CabinModule from .cloakModule import CloakModule from .compressorModule import CompressorModule from .gammaShieldModule import GammaShieldModule from .miningDrillModule import Mini...
51.607143
112
0.873356
111
1,445
11.36036
0.225225
0
0
0
0
0
0
0
0
0
0
0
0.09481
1,445
27
113
53.518519
0.964067
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.846154
0
0.846154
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
4314c108efdacb2d9dcc691a5ee6e15c6bfe6c24
301
py
Python
examples/ex1_ezo_rtd.py
MartyTerra/EZO-RTD
b16f1e999c056a3fb5e8e78f776644708a67b8e1
[ "MIT" ]
null
null
null
examples/ex1_ezo_rtd.py
MartyTerra/EZO-RTD
b16f1e999c056a3fb5e8e78f776644708a67b8e1
[ "MIT" ]
2
2020-09-11T14:34:34.000Z
2020-09-11T14:36:22.000Z
examples/ex1_ezo_rtd.py
MartyTerra/micropython-ezo-rtd
b16f1e999c056a3fb5e8e78f776644708a67b8e1
[ "MIT" ]
null
null
null
import machine import time import ezo_rtd print("MSG: Start of Atlas Scientific EZO-RTD self test") i2c = machine.I2C(scl=machine.Pin(22), sda=machine.Pin(23)) atlas = ezo_rtd.EZO_RTD_I2C(i2c) while True: print(atlas.celcius) print("MSG: End of Atlas Scientific EZO-RTD self test")
23.153846
60
0.72093
50
301
4.26
0.46
0.140845
0.159624
0.187793
0.29108
0.29108
0.29108
0
0
0
0
0.032
0.169435
301
12
61
25.083333
0.82
0
0
0
0
0
0.326389
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
432d391747ddfe3ca39ddf045b9e0372a2ccd3c1
145
py
Python
gateway/network/__init__.py
trinity-project/trinity
081eba1d4294a3bed33ba18c3f7b862b8803ee22
[ "MIT" ]
60
2018-01-12T07:33:15.000Z
2021-12-28T23:06:28.000Z
gateway/network/__init__.py
trinity-project/trinity
081eba1d4294a3bed33ba18c3f7b862b8803ee22
[ "MIT" ]
13
2018-01-23T00:14:35.000Z
2020-04-23T00:03:31.000Z
gateway/network/__init__.py
trinity-project/trinity
081eba1d4294a3bed33ba18c3f7b862b8803ee22
[ "MIT" ]
13
2018-01-05T07:27:29.000Z
2021-01-06T16:45:05.000Z
# coding: utf-8 """ the package for communication layer of trinity network channel """ from .network import Network __all__ = [ "Network" ]
16.111111
63
0.703448
18
145
5.444444
0.833333
0
0
0
0
0
0
0
0
0
0
0.008547
0.193103
145
9
64
16.111111
0.82906
0.537931
0
0
0
0
0.116667
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
432d7b2e952aa4d276914a9e0025344271d48827
248
py
Python
tests/integration_test.py
stungkit/tldextract
54da516d6dc0d2f135a27c83bf8b604fd5e25176
[ "BSD-3-Clause" ]
1
2020-05-11T16:32:12.000Z
2020-05-11T16:32:12.000Z
tests/integration_test.py
stungkit/tldextract
54da516d6dc0d2f135a27c83bf8b604fd5e25176
[ "BSD-3-Clause" ]
null
null
null
tests/integration_test.py
stungkit/tldextract
54da516d6dc0d2f135a27c83bf8b604fd5e25176
[ "BSD-3-Clause" ]
null
null
null
"""tldextract integration tests.""" import pytest import tldextract def test_bad_kwargs(): with pytest.raises(ValueError): tldextract.TLDExtract( cache_dir=None, suffix_list_urls=(), fallback_to_snapshot=False )
19.076923
75
0.693548
27
248
6.111111
0.814815
0
0
0
0
0
0
0
0
0
0
0
0.209677
248
12
76
20.666667
0.841837
0.116935
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
true
0
0.285714
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
4333b77b4d2944a2d011135f73cca93e140e55b3
5,431
py
Python
pepipost/models/send.py
kanhaiya2012/Sample
6c3d549525b7883913a4677c3eb6f14c8da34b9b
[ "MIT" ]
null
null
null
pepipost/models/send.py
kanhaiya2012/Sample
6c3d549525b7883913a4677c3eb6f14c8da34b9b
[ "MIT" ]
null
null
null
pepipost/models/send.py
kanhaiya2012/Sample
6c3d549525b7883913a4677c3eb6f14c8da34b9b
[ "MIT" ]
1
2020-05-17T17:55:30.000Z
2020-05-17T17:55:30.000Z
# -*- coding: utf-8 -*- """ pepipost This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). """ import pepipost.models.mfrom import pepipost.models.content import pepipost.models.attachments import pepipost.models.personalizations import pepipost.models.settings import p...
36.695946
137
0.58608
537
5,431
5.851024
0.240223
0.074475
0.038192
0.024188
0.039465
0.039465
0
0
0
0
0
0.000828
0.33272
5,431
147
138
36.945578
0.86617
0.281164
0
0
1
0
0.096604
0
0
0
0
0.013605
0
1
0.021978
false
0
0.065934
0
0.131868
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
4339288ec226b0dec9eaab7ba59f3e2433afe304
386
py
Python
django_loci/tests/testdeviceapp/admin.py
nepython/django-loci
44f6eb41c0f38a896ca97ba8a8593aa4e50f511a
[ "BSD-3-Clause" ]
1
2018-12-07T14:24:12.000Z
2018-12-07T14:24:12.000Z
django_loci/tests/testdeviceapp/admin.py
nepython/django-loci
44f6eb41c0f38a896ca97ba8a8593aa4e50f511a
[ "BSD-3-Clause" ]
null
null
null
django_loci/tests/testdeviceapp/admin.py
nepython/django-loci
44f6eb41c0f38a896ca97ba8a8593aa4e50f511a
[ "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from django_loci.admin import ObjectLocationInline from openwisp_utils.admin import TimeReadonlyAdminMixin from .models import Device class DeviceAdmin(TimeReadonlyAdminMixin, admin.ModelAdmin): list_display = ('name', 'created', 'modified') save_on_top = True inlines = ...
24.125
60
0.795337
42
386
7.190476
0.642857
0.066225
0
0
0
0
0
0
0
0
0
0
0.129534
386
15
61
25.733333
0.89881
0
0
0
0
0
0.049223
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
433fa97bb2dd6ea8db2c54e03f68d50dcec2edf8
2,202
py
Python
test/utils/test_media.py
lethaiq/machin
7873cada457328952310394afeedcad4bb6a7c4a
[ "MIT" ]
null
null
null
test/utils/test_media.py
lethaiq/machin
7873cada457328952310394afeedcad4bb6a7c4a
[ "MIT" ]
null
null
null
test/utils/test_media.py
lethaiq/machin
7873cada457328952310394afeedcad4bb6a7c4a
[ "MIT" ]
null
null
null
from machin.utils.media import ( show_image, create_video, create_video_subproc, create_image, create_image_subproc ) from os.path import join import os import pytest import numpy as np @pytest.fixture(scope="function") def images(): images = [ np.random.randint(0, 255, size=[128, 128], dtype=np.u...
30.164384
71
0.698456
328
2,202
4.432927
0.17378
0.094911
0.061898
0.099037
0.764099
0.764099
0.640303
0.640303
0.638927
0.638927
0
0.017177
0.153951
2,202
72
72
30.583333
0.763285
0
0
0.407407
0
0
0.062216
0
0
0
0
0
0.148148
1
0.166667
false
0
0.092593
0
0.296296
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2