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
577c1dbae09de65af69600c4c3ab73d1b8fe2767
14,793
py
Python
db_migrations/versions/7404cf411ca9_init.py
HBPSP8Repo/i2b2-setup
17d1873623e8606045fcb9430f1e51ae18920f82
[ "Apache-2.0" ]
null
null
null
db_migrations/versions/7404cf411ca9_init.py
HBPSP8Repo/i2b2-setup
17d1873623e8606045fcb9430f1e51ae18920f82
[ "Apache-2.0" ]
2
2017-03-13T13:50:04.000Z
2017-10-06T14:19:14.000Z
db_migrations/versions/7404cf411ca9_init.py
HBPSP8Repo/i2b2-setup
17d1873623e8606045fcb9430f1e51ae18920f82
[ "Apache-2.0" ]
1
2020-09-18T13:21:39.000Z
2020-09-18T13:21:39.000Z
"""init Revision ID: 7404cf411ca9 Create Date: 2017-02-16 11:22:22.388919 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '7404cf411ca9' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - ...
64.598253
319
0.725884
2,046
14,793
4.980938
0.06696
0.093416
0.126386
0.164851
0.799431
0.759886
0.721028
0.658915
0.544108
0.460014
0
0.012802
0.102346
14,793
228
320
64.881579
0.75465
0.017846
0
0.317536
0
0
0.32066
0.060309
0
0
0
0
0
1
0.009479
false
0
0.052133
0
0.061611
0
0
0
0
null
0
0
1
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
3
57836e6e008521bf9d44e55390121b942b8428a7
420
py
Python
openclean/data/serialize.py
remram44/openclean-core
8c09c8302cadbb3bb02c959907f91a3ae343f939
[ "BSD-3-Clause" ]
4
2021-04-20T09:06:26.000Z
2021-11-20T20:31:28.000Z
openclean/data/serialize.py
remram44/openclean-core
8c09c8302cadbb3bb02c959907f91a3ae343f939
[ "BSD-3-Clause" ]
14
2021-01-19T19:23:16.000Z
2021-04-28T14:31:03.000Z
openclean/data/serialize.py
remram44/openclean-core
8c09c8302cadbb3bb02c959907f91a3ae343f939
[ "BSD-3-Clause" ]
5
2021-08-24T11:57:21.000Z
2022-03-17T04:39:04.000Z
# This file is part of the Data Cleaning Library (openclean). # # Copyright (C) 2018-2021 New York University. # # openclean is released under the Revised BSD License. See file LICENSE for # full license details. from histore.archive.serialize.base import COMPACT # noqa: F401 from histore.document.json.reader import ...
38.181818
75
0.780952
60
420
5.45
0.7
0.100917
0.073395
0.116208
0.189602
0.189602
0
0
0
0
0
0.047486
0.147619
420
10
76
42
0.865922
0.554762
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
57a3f65cdd8a108f803f47be095b0a83821d803f
1,784
py
Python
core/operators.py
Aareon/Akilang
3dda47064abd5846043364533d5af5f924f6660d
[ "MIT" ]
null
null
null
core/operators.py
Aareon/Akilang
3dda47064abd5846043364533d5af5f924f6660d
[ "MIT" ]
null
null
null
core/operators.py
Aareon/Akilang
3dda47064abd5846043364533d5af5f924f6660d
[ "MIT" ]
null
null
null
from collections import namedtuple from enum import Enum, unique from functools import lru_cache from core.errors import ParseError @unique class Associativity(Enum): UNDEFINED = 0 LEFT = 1 RIGHT = 2 BinOpInfo = namedtuple('BinOpInfo', ['precedence', 'associativity']) BUILTIN_OP = { '=': BinOpInfo(2...
28.31746
72
0.661435
191
1,784
6.068063
0.340314
0.220017
0.246764
0.19327
0.304573
0.304573
0.264021
0.215703
0.215703
0.215703
0
0.022023
0.185538
1,784
63
73
28.31746
0.775637
0.026906
0
0
0
0
0.057637
0
0
0
0
0
0
1
0.06
false
0
0.1
0.02
0.3
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
57b9f3ab0439c782d3552a0ecf3bde803af9ac98
478
py
Python
leetcode/231/231.power-of-two.py
Algorithm-Cracker/Leetcode
20f0d816edee1131a2a9d4abbd3b6ba7f5bddd31
[ "MIT" ]
1
2020-01-06T06:54:22.000Z
2020-01-06T06:54:22.000Z
leetcode/231/231.power-of-two.py
Algorithm-Cracker/Leetcode
20f0d816edee1131a2a9d4abbd3b6ba7f5bddd31
[ "MIT" ]
1
2020-01-07T02:22:06.000Z
2020-01-07T02:22:06.000Z
leetcode/231/231.power-of-two.py
Algorithm-Cracker/Leetcode
20f0d816edee1131a2a9d4abbd3b6ba7f5bddd31
[ "MIT" ]
2
2020-01-06T20:04:04.000Z
2020-01-10T08:24:01.000Z
# # @lc app=leetcode id=231 lang=python3 # # [231] Power of Two # # @lc code=start class Solution: def isPowerOfTwo(self, n: int) -> bool: # 每次向下除2, 看最后的结果 if n < 1: return False elif n == 1: return True return self.isPowerOfTwo(n/2) def test(self): assert(self....
19.916667
45
0.59205
64
478
4.421875
0.546875
0.226148
0.233216
0.183746
0
0
0
0
0
0
0
0.048711
0.269874
478
23
46
20.782609
0.762178
0.205021
0
0
0
0
0
0
0
0
0
0
0.272727
1
0.181818
false
0
0
0
0.363636
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
57d5dc5ee90c0a228eb3680c46fccb089fec9f5e
132
py
Python
rantlib/core_application/ui/parts/page.py
AlgoRythm-Dylan/qtpy-rant
2b41503fb5f8d182e89a27d4727e50bb57912b1a
[ "MIT" ]
1
2020-10-19T17:07:58.000Z
2020-10-19T17:07:58.000Z
rantlib/core_application/ui/parts/page.py
AlgoRythm-Dylan/qtpy-rant
2b41503fb5f8d182e89a27d4727e50bb57912b1a
[ "MIT" ]
null
null
null
rantlib/core_application/ui/parts/page.py
AlgoRythm-Dylan/qtpy-rant
2b41503fb5f8d182e89a27d4727e50bb57912b1a
[ "MIT" ]
null
null
null
from types import SimpleNamespace class Page: def __init__(self): self.root = None self.ui = SimpleNamespace()
18.857143
35
0.659091
15
132
5.533333
0.8
0
0
0
0
0
0
0
0
0
0
0
0.265152
132
7
35
18.857143
0.85567
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
57e72b0271c9935193affc210753f307f322d277
1,239
py
Python
precourse.py
cdhorn515/ML-Precourse
951b9b39d30549c162fe5a203ed21d94da9c859c
[ "MIT" ]
null
null
null
precourse.py
cdhorn515/ML-Precourse
951b9b39d30549c162fe5a203ed21d94da9c859c
[ "MIT" ]
null
null
null
precourse.py
cdhorn515/ML-Precourse
951b9b39d30549c162fe5a203ed21d94da9c859c
[ "MIT" ]
null
null
null
# Machine Learning/Data Science Precourse Work # ### # LAMBDA SCHOOL # ### # MIT LICENSE # ### # Free example function definition # This function passes one of the 11 tests contained inside of test.py. Write the rest, defined in README.md, here, # and execute python test.py to test. Passing this precourse work will g...
15.884615
115
0.618241
219
1,239
3.438356
0.374429
0.092961
0.074369
0.023904
0.199203
0.172643
0.172643
0.172643
0.172643
0.172643
0
0.038503
0.245359
1,239
77
116
16.090909
0.766845
0.336562
0
0.057143
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.057143
0.314286
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
57f5a97b76c696fec8eec62c9cf77e058fb1a0b3
196
py
Python
powParse.py
johnrobisoniv/powDayTexter
9f67fb8f8f0eeb33ce6962f662d2f49483b6eec0
[ "CC0-1.0" ]
null
null
null
powParse.py
johnrobisoniv/powDayTexter
9f67fb8f8f0eeb33ce6962f662d2f49483b6eec0
[ "CC0-1.0" ]
null
null
null
powParse.py
johnrobisoniv/powDayTexter
9f67fb8f8f0eeb33ce6962f662d2f49483b6eec0
[ "CC0-1.0" ]
null
null
null
# Opens file with OTS.com's "resBox" table data created by powScrape.py # Parse through data - append relevant data and resort to dictionary? # Save dictionary as data file named resData-DATE.txt
49
71
0.780612
32
196
4.78125
0.84375
0
0
0
0
0
0
0
0
0
0
0
0.158163
196
3
72
65.333333
0.927273
0.964286
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
57f6663aea8d25b6d568e81d81742c6bb5280d26
25,082
py
Python
tests/test_api.py
billyweinberger/nightfall-python-sdk
d0b18d9c30dad8ef6c9b10e869473df7ceaccd04
[ "MIT" ]
1
2022-03-23T14:06:34.000Z
2022-03-23T14:06:34.000Z
tests/test_api.py
billyweinberger/nightfall-python-sdk
d0b18d9c30dad8ef6c9b10e869473df7ceaccd04
[ "MIT" ]
null
null
null
tests/test_api.py
billyweinberger/nightfall-python-sdk
d0b18d9c30dad8ef6c9b10e869473df7ceaccd04
[ "MIT" ]
null
null
null
import json import os from freezegun import freeze_time import pytest import responses import time from nightfall.api import Nightfall, NightfallUserError from nightfall.detection_rules import DetectionRule, Detector, LogicalOp, Confidence, ExclusionRule, ContextRule, \ WordList, MatchType, RedactionConfig, MaskC...
48.514507
120
0.365521
1,663
25,082
5.466025
0.171377
0.031903
0.051045
0.028163
0.782508
0.737624
0.690979
0.649395
0.636304
0.631903
0
0.076078
0.542501
25,082
516
121
48.608527
0.704488
0
0
0.525532
0
0
0.18611
0.026274
0
0
0
0
0.102128
1
0.02766
false
0
0.019149
0.002128
0.048936
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
17d3e2ba343948f89653680c7aeb9ea4d25b3533
250
py
Python
Chapter04-Inheritance/Multiple.py
elephantscale/python-oop-labs-solutions
ee3f98ba29221384e3c85ee591c1fd4115957e2c
[ "Apache-2.0" ]
null
null
null
Chapter04-Inheritance/Multiple.py
elephantscale/python-oop-labs-solutions
ee3f98ba29221384e3c85ee591c1fd4115957e2c
[ "Apache-2.0" ]
null
null
null
Chapter04-Inheritance/Multiple.py
elephantscale/python-oop-labs-solutions
ee3f98ba29221384e3c85ee591c1fd4115957e2c
[ "Apache-2.0" ]
1
2021-07-19T15:55:22.000Z
2021-07-19T15:55:22.000Z
class Base1: def FuncA(self): print("Base1::FuncA") class Base2: def FuncA(self): print("Base2::FuncA") class Child(Base1, Base2): pass def main(): obj=Child() obj.FuncA() if __name__ == "__main__": main()
13.888889
29
0.572
31
250
4.354839
0.419355
0.118519
0.177778
0.251852
0
0
0
0
0
0
0
0.032787
0.268
250
17
30
14.705882
0.704918
0
0
0.153846
0
0
0.128
0
0
0
0
0
0
1
0.230769
false
0.076923
0
0
0.461538
0.153846
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
17e5490561985ddf4c0dbe0f8c4f75d268f1043c
4,523
py
Python
poker/hand.py
ensley/poker
cf49dc0d64b5776a412c915ca8bbe67687256342
[ "MIT" ]
null
null
null
poker/hand.py
ensley/poker
cf49dc0d64b5776a412c915ca8bbe67687256342
[ "MIT" ]
null
null
null
poker/hand.py
ensley/poker
cf49dc0d64b5776a412c915ca8bbe67687256342
[ "MIT" ]
null
null
null
import collections from poker import card class Hand(collections.MutableSequence): """docstring for Hand""" def __init__(self, cards): cards = cards.split() cards = [card.Card(c) for c in cards] if len(cards) != 5: raise ValueError('A hand must have exactly 5 cards') hand_tuples = zip([c.rank for c in c...
21.234742
85
0.670573
735
4,523
3.858503
0.155102
0.077574
0.098731
0.056417
0.351551
0.32299
0.266573
0.22426
0.130465
0.088152
0
0.018376
0.193898
4,523
213
86
21.234742
0.759462
0.00398
0
0.131944
0
0.013889
0.074
0.007778
0
0
0
0
0
1
0.215278
false
0
0.013889
0.111111
0.520833
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
17ea5f1d4ba9388fba8cc46fab2b30f3754473d8
178
py
Python
portfolio/display/models.py
vasu1818/django-Portfolio
483d4ec73c1583c0044b6aae44136744aaa90e73
[ "bzip2-1.0.6", "MIT" ]
null
null
null
portfolio/display/models.py
vasu1818/django-Portfolio
483d4ec73c1583c0044b6aae44136744aaa90e73
[ "bzip2-1.0.6", "MIT" ]
null
null
null
portfolio/display/models.py
vasu1818/django-Portfolio
483d4ec73c1583c0044b6aae44136744aaa90e73
[ "bzip2-1.0.6", "MIT" ]
null
null
null
from django.db import models # Create your models here. class Profile(models.Model): image = models.ImageField(upload_to="images/") summary = models.CharField(max_length=200)
25.428571
47
0.775281
25
178
5.44
0.84
0
0
0
0
0
0
0
0
0
0
0.018987
0.11236
178
7
48
25.428571
0.841772
0.134831
0
0
0
0
0.045752
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
aa3ec2d3773d61f409bcb25735033ae3a035b3f5
1,318
py
Python
tests/v2/test_incident_team_create_data.py
MichaelTROEHLER/datadog-api-client-python
12c46626622fb1277bb1e172753b342c671348bd
[ "Apache-2.0" ]
null
null
null
tests/v2/test_incident_team_create_data.py
MichaelTROEHLER/datadog-api-client-python
12c46626622fb1277bb1e172753b342c671348bd
[ "Apache-2.0" ]
null
null
null
tests/v2/test_incident_team_create_data.py
MichaelTROEHLER/datadog-api-client-python
12c46626622fb1277bb1e172753b342c671348bd
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. # This product includes software developed at Datadog (https://www.datadoghq.com/). # Copyright 2019-Present Datadog, Inc. import sys import unittest import datadog_api_client.v2 from datadog...
33.794872
108
0.788316
140
1,318
7.221429
0.55
0.049456
0.07913
0.089021
0.166172
0.166172
0.166172
0.166172
0.089021
0
0
0.013216
0.138847
1,318
38
109
34.684211
0.877533
0.320941
0
0.157895
0
0
0.087699
0.060364
0
0
0
0.026316
0
1
0.157895
false
0.157895
0.368421
0
0.578947
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
1
0
0
0
0
3
aa4664a978d1765d39576fa20627ceba028cf807
139
py
Python
maple/core/__init__.py
UT-Austin-RPL/maple
aef9fe9869945df5bbd1b02fd40813aac135cf5a
[ "MIT" ]
9
2021-10-08T23:54:58.000Z
2022-03-24T08:51:53.000Z
maple/core/__init__.py
UT-Austin-RPL/maple
aef9fe9869945df5bbd1b02fd40813aac135cf5a
[ "MIT" ]
1
2022-02-14T02:32:27.000Z
2022-02-21T15:02:00.000Z
maple/core/__init__.py
UT-Austin-RPL/maple
aef9fe9869945df5bbd1b02fd40813aac135cf5a
[ "MIT" ]
1
2022-01-05T11:47:19.000Z
2022-01-05T11:47:19.000Z
""" General classes, functions, utilities that are used throughout maple. """ from maple.core.logging import logger __all__ = ['logger']
17.375
69
0.741007
17
139
5.823529
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.143885
139
7
70
19.857143
0.831933
0.496403
0
0
0
0
0.098361
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a4b224a28c8f2c36a21fe0290d9ba83d146a660b
3,552
py
Python
networks/activations.py
Chappie733/MLPack
223b142ff22dc35b9122183435afdc473a2c0b47
[ "MIT" ]
null
null
null
networks/activations.py
Chappie733/MLPack
223b142ff22dc35b9122183435afdc473a2c0b47
[ "MIT" ]
null
null
null
networks/activations.py
Chappie733/MLPack
223b142ff22dc35b9122183435afdc473a2c0b47
[ "MIT" ]
null
null
null
import numpy as np from numbers import Number ACTIVATIONS = {} def parser(func): def wrapper(x, deriv=False, **kwargs): if not isinstance(deriv, bool): raise TypeError("Expected the parameter \'deriv\' to be a boolean, but received {type} instead!".format(type=type(deriv))) elif not isinstance(x, n...
32.888889
134
0.645552
690
3,552
3.305797
0.127536
0.052609
0.0605
0.131521
0.665059
0.567733
0.396317
0.295923
0.230601
0.220517
0
0.035582
0.161318
3,552
107
135
33.196262
0.730111
0
0
0.280488
0
0.012195
0.065602
0
0
0
0
0
0
1
0.280488
false
0
0.02439
0.195122
0.585366
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a4be126a1a764b68427d38616856419c43e543a0
562
py
Python
src/jbdl/rbdl/math/x_rotz.py
yz-mao/jbdl
a5380233b3795c8aaa9acd9e5c07fa44f8a5dadb
[ "MIT" ]
21
2021-08-29T06:59:18.000Z
2022-01-13T22:53:02.000Z
src/jbdl/rbdl/math/x_rotz.py
yz-mao/jbdl
a5380233b3795c8aaa9acd9e5c07fa44f8a5dadb
[ "MIT" ]
2
2021-08-31T08:34:09.000Z
2021-09-06T07:40:51.000Z
src/jbdl/rbdl/math/x_rotz.py
yz-mao/jbdl
a5380233b3795c8aaa9acd9e5c07fa44f8a5dadb
[ "MIT" ]
4
2021-08-29T06:59:22.000Z
2021-10-04T05:59:41.000Z
import jax.numpy as jnp from jax.api import jit @jit def x_rotz(theta): c = jnp.cos(theta) s = jnp.sin(theta) x = jnp.array([[c, s, 0.0, 0.0, 0.0, 0.0], [-s, c, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, c, s, 0.0], ...
25.545455
50
0.451957
114
562
2.114035
0.245614
0.39834
0.53527
0.630705
0.26556
0.26556
0.26556
0.26556
0.26556
0.26556
0
0.152174
0.345196
562
21
51
26.761905
0.502717
0
0
0
0
0
0.014235
0
0
0
0
0
0
1
0.055556
false
0
0.222222
0
0.333333
0.111111
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3501171c165760580348ed5cbf86cbce9908a7f4
15,888
py
Python
cogan/cogan.py
Taoerwang/tensorflow-models-with-simple-ways
2290f02a0dab586397798f0ff366b6e35fc9a5dc
[ "Apache-2.0" ]
2
2020-01-10T04:46:14.000Z
2020-09-15T21:49:57.000Z
cogan/cogan.py
Taoerwang/tensorflow_model_with_simple_ways
2290f02a0dab586397798f0ff366b6e35fc9a5dc
[ "Apache-2.0" ]
null
null
null
cogan/cogan.py
Taoerwang/tensorflow_model_with_simple_ways
2290f02a0dab586397798f0ff366b6e35fc9a5dc
[ "Apache-2.0" ]
2
2020-01-28T21:02:44.000Z
2020-08-25T22:45:39.000Z
from __future__ import print_function, division import tensorflow as tf from tensorflow import keras import numpy as np from keras.utils import np_utils import matplotlib.pyplot as plt import os import scipy class COGAN: model_name = "COGAN" paper_name = "Coupled Generative Adversarial Network" paper_url ...
43.291553
104
0.538394
2,363
15,888
3.341092
0.086754
0.047878
0.034199
0.020899
0.775427
0.750982
0.707536
0.664598
0.663711
0.627739
0
0.052078
0.341327
15,888
366
105
43.409836
0.702341
0.037638
0
0.52381
0
0
0.044455
0
0
0
0
0
0
1
0.040816
false
0
0.027211
0.003401
0.115646
0.02381
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3505d47204194c5035b36b7439161bf71a14ca3a
61
py
Python
api/urls.py
jaredmichaelsmith/aussie
8e695269456477a8772b44cc64b5285e6ea325c8
[ "MIT" ]
null
null
null
api/urls.py
jaredmichaelsmith/aussie
8e695269456477a8772b44cc64b5285e6ea325c8
[ "MIT" ]
null
null
null
api/urls.py
jaredmichaelsmith/aussie
8e695269456477a8772b44cc64b5285e6ea325c8
[ "MIT" ]
null
null
null
from django.conf.urls import include, url urlpatterns = [ ]
12.2
41
0.737705
8
61
5.625
1
0
0
0
0
0
0
0
0
0
0
0
0.163934
61
5
42
12.2
0.882353
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3517275314451f5b84140e48e351240610cbeedb
6,644
py
Python
tests/test_linter/test_contract.py
rpdelaney/deal
ebf4244605bb5cc5da5a910010238437d372d5d0
[ "MIT" ]
null
null
null
tests/test_linter/test_contract.py
rpdelaney/deal
ebf4244605bb5cc5da5a910010238437d372d5d0
[ "MIT" ]
1
2021-12-27T00:38:22.000Z
2021-12-27T00:38:22.000Z
tests/test_linter/test_contract.py
rpdelaney/deal
ebf4244605bb5cc5da5a910010238437d372d5d0
[ "MIT" ]
null
null
null
import ast from textwrap import dedent import astroid import pytest from deal.linter._contract import Category, Contract from deal.linter._func import Func TEXT = """ import deal @deal.raises(ValueError, UnknownError, idk_what_is_it()) @notadeal.raises(KeyError) def f(x): return x """ def test_exceptions(): ...
22.522034
66
0.572848
920
6,644
4.071739
0.101087
0.067272
0.042712
0.057662
0.75921
0.725307
0.683396
0.675654
0.65937
0.603577
0
0.025794
0.27062
6,644
294
67
22.598639
0.747214
0.003311
0
0.716102
0
0
0.22719
0.011934
0
0
0
0
0.20339
1
0.055085
false
0
0.080508
0
0.186441
0.021186
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
352525ccaa141880b9cb6aa4107143f7af516af6
1,260
py
Python
src/ufdl/json/core/jobs/_WorkableTemplateSpec.py
waikato-ufdl/ufdl-json-messages
408901bdf79aa9ae7cff1af165deee83e62f6088
[ "Apache-2.0" ]
null
null
null
src/ufdl/json/core/jobs/_WorkableTemplateSpec.py
waikato-ufdl/ufdl-json-messages
408901bdf79aa9ae7cff1af165deee83e62f6088
[ "Apache-2.0" ]
null
null
null
src/ufdl/json/core/jobs/_WorkableTemplateSpec.py
waikato-ufdl/ufdl-json-messages
408901bdf79aa9ae7cff1af165deee83e62f6088
[ "Apache-2.0" ]
null
null
null
from typing import List from wai.json.object import StrictJSONObject from wai.json.object.property import StringProperty, ArrayProperty from ._InputSpec import InputSpec from ._ParameterSpec import ParameterSpec class WorkableTemplateSpec(StrictJSONObject['WorkableTemplateSpec']): """ JSON document specifyi...
36
97
0.761111
159
1,260
5.943396
0.421384
0.089947
0.02328
0.035979
0.067725
0.067725
0.067725
0.067725
0
0
0
0.008654
0.174603
1,260
34
98
37.058824
0.9
0.359524
0
0
0
0
0.025608
0
0
0
0
0
0
1
0
true
0
0.384615
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
352544217bcc0af8fd3687565c529651677db98f
992
py
Python
Kafkastuff/Kafka consumer.py
chouams/Stream-Analytics
25f3b332d3331b38519d053d24dae0b1dd3d3dc1
[ "BSD-2-Clause" ]
2
2017-12-17T14:43:44.000Z
2021-09-11T05:37:24.000Z
Kafkastuff/Kafka consumer.py
chouams/Stream-Analytics
25f3b332d3331b38519d053d24dae0b1dd3d3dc1
[ "BSD-2-Clause" ]
null
null
null
Kafkastuff/Kafka consumer.py
chouams/Stream-Analytics
25f3b332d3331b38519d053d24dae0b1dd3d3dc1
[ "BSD-2-Clause" ]
null
null
null
from kafka import KafkaConsumer import time Topic ='pi_test' consumer = KafkaConsumer(Topic,auto_offset_reset='earliest', enable_auto_commit=False) i=0 DATA_DICT = {"u","v","t","s"} for message in consumer: text = message.value.decode("utf-8") text = text.translate('b') print (message.topic, text) appen...
24.195122
86
0.556452
131
992
4.137405
0.366412
0.304428
0.184502
0.221402
0.071956
0.071956
0.071956
0
0
0
0
0.022253
0.275202
992
40
87
24.8
0.731572
0
0
0.194444
0
0
0.060484
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
0.027778
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
352920353ae41e996f14c844c7c92ae3923ec92a
405
py
Python
fastfood/customer/forms.py
Toffy-dev/bds-project-assignment-3
1256f07e4ef2d0c09020b2af5ca68da93945b9cd
[ "MIT" ]
null
null
null
fastfood/customer/forms.py
Toffy-dev/bds-project-assignment-3
1256f07e4ef2d0c09020b2af5ca68da93945b9cd
[ "MIT" ]
null
null
null
fastfood/customer/forms.py
Toffy-dev/bds-project-assignment-3
1256f07e4ef2d0c09020b2af5ca68da93945b9cd
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth.forms import UserCreationForm from main.models import Customer from phonenumber_field.modelfields import PhoneNumberField class RegisterForm(UserCreationForm): email = forms.EmailField() phone_number = PhoneNumberField() class Meta: model = Custo...
27
80
0.748148
42
405
7.142857
0.619048
0.066667
0
0
0
0
0
0
0
0
0
0.005935
0.167901
405
14
81
28.928571
0.884273
0
0
0
0
0
0.106173
0
0
0
0
0
0
1
0
false
0.1
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
352b06779533d8b813d2c3ba23300e8924dd0a83
254
py
Python
test.py
moosetraveller/arcpy-util
ca38c91493c95f1224c32a3535f4c8506aab7b53
[ "MIT" ]
null
null
null
test.py
moosetraveller/arcpy-util
ca38c91493c95f1224c32a3535f4c8506aab7b53
[ "MIT" ]
null
null
null
test.py
moosetraveller/arcpy-util
ca38c91493c95f1224c32a3535f4c8506aab7b53
[ "MIT" ]
null
null
null
import test.xcursor_test as xcursor_test import test.toolbox.parameters_test as parameters_test import test.helper_test as helper_test if __name__ == "__main__": xcursor_test.run_tests() parameters_test.run_tests() helper_test.run_tests()
23.090909
54
0.795276
37
254
4.918919
0.324324
0.164835
0.197802
0
0
0
0
0
0
0
0
0
0.133858
254
10
55
25.4
0.827273
0
0
0
0
0
0.031496
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
35345843c6e815453a3ba4e885bae66aef3a020f
164
py
Python
bookingapp/forms.py
vetsinen/etalki
1071c5db90bd4d70aecdd08b36749995be34d79d
[ "MIT" ]
null
null
null
bookingapp/forms.py
vetsinen/etalki
1071c5db90bd4d70aecdd08b36749995be34d79d
[ "MIT" ]
null
null
null
bookingapp/forms.py
vetsinen/etalki
1071c5db90bd4d70aecdd08b36749995be34d79d
[ "MIT" ]
null
null
null
from django import forms from .models import Lesson class LessonForm(forms.ModelForm): class Meta: model = Lesson fields = ('date', 'hour')
14.909091
34
0.646341
19
164
5.578947
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.262195
164
10
35
16.4
0.876033
0
0
0
0
0
0.04908
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3538700e4cadb56547b452e50b3effbdd9cc5778
729
py
Python
tap/api_resources/customer.py
obytes/tap-python
bc119cb785dc353f0c67241a64d9fcb30f21fbf7
[ "MIT" ]
3
2019-05-28T16:19:57.000Z
2022-03-05T13:16:43.000Z
tap/api_resources/customer.py
obytes/tap-python
bc119cb785dc353f0c67241a64d9fcb30f21fbf7
[ "MIT" ]
2
2019-07-02T21:45:09.000Z
2019-07-03T13:55:54.000Z
tap/api_resources/customer.py
obytes/tap-python
bc119cb785dc353f0c67241a64d9fcb30f21fbf7
[ "MIT" ]
null
null
null
from __future__ import absolute_import, division, print_function from tap.api_resources.abstract.createable_api_resource import CreateableAPIResource from tap.api_resources.abstract.updateable_api_resource import UpdateableAPIResource from tap.api_resources.abstract.deleteable_api_resource import DeleteableAPIResource...
34.714286
84
0.798354
73
729
7.657534
0.438356
0.053667
0.134168
0.205725
0.193202
0
0
0
0
0
0
0
0.138546
729
20
85
36.45
0.890127
0
0
0
0
0
0.049383
0
0
0
0
0
0
1
0
false
0
0.4
0
0.533333
0.066667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
102de824584eb153ae99fc2c8ca803b5b1c1499f
854
py
Python
bsolutions/domain/factoryboy_utils.py
xergioalex/django-multiple-databases-engines
f289a6402ada0be88728244b15b721f1e03993b5
[ "MIT" ]
8
2018-10-27T21:05:27.000Z
2021-12-11T07:51:23.000Z
bsolutions/domain/factoryboy_utils.py
xergioalex/django-multiple-databases-engines
f289a6402ada0be88728244b15b721f1e03993b5
[ "MIT" ]
null
null
null
bsolutions/domain/factoryboy_utils.py
xergioalex/django-multiple-databases-engines
f289a6402ada0be88728244b15b721f1e03993b5
[ "MIT" ]
3
2019-07-05T02:25:45.000Z
2021-09-13T07:48:35.000Z
# factoryboy_utils.py @classmethod def _get_manager(cls, model_class): return super(cls, cls)._get_manager(model_class).using(cls.database) class DBAwareFactory(object): """ Context manager to make model factories db aware Usage: with DBAwareFactory(PersonFactory, 'db_qa') as personfactory_o...
27.548387
75
0.653396
107
854
4.897196
0.476636
0.076336
0.049618
0
0
0
0
0
0
0
0
0
0.259953
854
30
76
28.466667
0.829114
0.359485
0
0
0
0
0.039063
0
0
0
0
0
0
1
0.307692
false
0
0
0.230769
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
103c003665e3bdc398a31dd885061ba87054706e
754
py
Python
11_actionchainsDemo2.py
ITXIAOKE/XKSelenium
c023dd1933d617a5b499502567209ee5d2818eb4
[ "Apache-2.0" ]
1
2021-03-11T06:06:13.000Z
2021-03-11T06:06:13.000Z
11_actionchainsDemo2.py
ITXIAOKE/XKSelenium
c023dd1933d617a5b499502567209ee5d2818eb4
[ "Apache-2.0" ]
null
null
null
11_actionchainsDemo2.py
ITXIAOKE/XKSelenium
c023dd1933d617a5b499502567209ee5d2818eb4
[ "Apache-2.0" ]
null
null
null
from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains import time driver = webdriver.Firefox() driver.get("http://www.baidu.com") # time.sleep(3) # move = driver.find_element_by_xpath(".//*[@id='u1']/a[8]") # move = driver.find_element_by_link_text("设置") # # move=d...
29
67
0.72679
106
754
4.90566
0.443396
0.115385
0.196154
0.219231
0.288462
0.111538
0.111538
0.111538
0
0
0
0.008942
0.11008
754
25
68
30.16
0.766021
0.530504
0
0
0
0
0.12381
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
104dbc7935df56f3e303b9653aa0b5928c4718c3
642
py
Python
repos/classes.py
JSLucena/ShopGenerator
a6488efe2e9038eca3ea590cd714c5b7e6308667
[ "MIT" ]
null
null
null
repos/classes.py
JSLucena/ShopGenerator
a6488efe2e9038eca3ea590cd714c5b7e6308667
[ "MIT" ]
14
2020-07-31T19:07:27.000Z
2020-08-01T21:35:30.000Z
repos/classes.py
JSLucena/ShopGenerator
a6488efe2e9038eca3ea590cd714c5b7e6308667
[ "MIT" ]
null
null
null
class Item: def __init__(self, name, price, rarity, typ): self.__name = name self.__price = price self.__rarity = rarity self.__typ = typ def getName(self): return self.__name def setName(self, name): self.__name = name def getPrice(self): r...
19.454545
49
0.566978
73
642
4.60274
0.246575
0.119048
0.166667
0
0
0
0
0
0
0
0
0
0.345794
642
32
50
20.0625
0.8
0
0
0.363636
0
0
0
0
0
0
0
0
0
1
0.409091
false
0
0
0.181818
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
106b7a3bbd0466ba7e7f3e81d99c29be6f3992ea
119
py
Python
web-gui/AP/urls.py
twoexponents/opensource
ae4569c1be72f9af58c3fc27f65f21b0fac4ea3a
[ "Apache-2.0" ]
7
2017-04-26T12:28:22.000Z
2021-02-09T18:59:50.000Z
web-gui/AP/urls.py
twoexponents/opensource
ae4569c1be72f9af58c3fc27f65f21b0fac4ea3a
[ "Apache-2.0" ]
1
2017-04-26T15:22:51.000Z
2017-04-28T04:41:51.000Z
web-gui/AP/urls.py
twoexponents/opensource
ae4569c1be72f9af58c3fc27f65f21b0fac4ea3a
[ "Apache-2.0" ]
8
2017-06-01T08:42:16.000Z
2020-07-23T12:30:19.000Z
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.AP_list, name='AP_list'), ]
17
46
0.672269
18
119
4.333333
0.666667
0.153846
0
0
0
0
0
0
0
0
0
0
0.168067
119
6
47
19.833333
0.787879
0
0
0
0
0
0.07563
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1079e2ececf4582f9e1258137fdeb40ff323bd32
2,667
py
Python
PWN/2019StarCTF/blindPWN/exp.py
Cossack9989/SEC_LEARNING
34126ac7427d48f774f03b43d40fd128c5468bc9
[ "MIT" ]
13
2018-11-28T07:40:04.000Z
2022-02-05T15:14:27.000Z
PWN/2019StarCTF/blindPWN/exp.py
Cossack9989/SEC_LEARNING
34126ac7427d48f774f03b43d40fd128c5468bc9
[ "MIT" ]
null
null
null
PWN/2019StarCTF/blindPWN/exp.py
Cossack9989/SEC_LEARNING
34126ac7427d48f774f03b43d40fd128c5468bc9
[ "MIT" ]
3
2019-12-18T16:43:10.000Z
2021-09-10T05:45:07.000Z
from pwn import * from binascii import hexlify as hl tmain_addr = 0x4006ce start_addr = 0x400570 ''' def get_stop_addr(length): addr = 0x401000 while 1: try: sh = remote('34.92.37.22', 10000) sh.recvuntil('!\n') print hex(addr) payload = 'a' * length + p64(addr...
22.794872
464
0.794526
245
2,667
8.608163
0.55102
0.018966
0.020863
0.024656
0.087245
0.034139
0
0
0
0
0
0.588821
0.134608
2,667
116
465
22.991379
0.324957
0.024747
0
0
0
0
0.089202
0
0
0
0.117371
0
0
0
null
null
0
0.133333
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
108fda395d75eb24876736ddb06490c6c27fbaa4
667
py
Python
third_party/lowtran-2.4.1/lowtran/__init__.py
bgorr/instrupy
e3dca871ce2dcd2ef279898fcc36bf9d18f0c243
[ "Apache-2.0" ]
1
2020-09-21T19:28:30.000Z
2020-09-21T19:28:30.000Z
third_party/lowtran-2.4.1/lowtran/__init__.py
bgorr/instrupy
e3dca871ce2dcd2ef279898fcc36bf9d18f0c243
[ "Apache-2.0" ]
4
2021-06-20T13:45:54.000Z
2022-02-05T05:55:43.000Z
third_party/lowtran-2.4.1/lowtran/__init__.py
bgorr/instrupy
e3dca871ce2dcd2ef279898fcc36bf9d18f0c243
[ "Apache-2.0" ]
1
2022-03-08T19:06:38.000Z
2022-03-08T19:06:38.000Z
""" Michael Hirsch, Ph.D. Python wrapper of the venerable LOWTRAN7 atmospheric absorption and solar transmission model circa 1992. Note: specified Lowtran7 model limitations include wlcminvstep >= 20 cm^-1 0 <= wlcminv <= 50000 historical note: developed on CDC CYBER, currently runs on 32-bit single float--this can c...
35.105263
120
0.782609
96
667
5.4375
0.854167
0.030651
0
0
0
0
0
0
0
0
0
0.061296
0.143928
667
18
121
37.055556
0.85289
0.764618
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
1093cc50f887e44d015c266970a29827f6851a32
1,551
py
Python
credentials.py
Ianwanarua/Password-locker
f05fc6622b0e32b32addc2ffd01e4cec0a452758
[ "MIT" ]
1
2021-11-02T11:09:04.000Z
2021-11-02T11:09:04.000Z
credentials.py
Ianwanarua/Password-locker
f05fc6622b0e32b32addc2ffd01e4cec0a452758
[ "MIT" ]
null
null
null
credentials.py
Ianwanarua/Password-locker
f05fc6622b0e32b32addc2ffd01e4cec0a452758
[ "MIT" ]
null
null
null
class Credentials: """ Class that generates new instances of credentials. """ credentials_list = [] def __init__(self,account_name, username, password): """ __init__method to help us create new instances of the class credentials """ self.account_name = account_na...
28.2
79
0.610574
165
1,551
5.563636
0.290909
0.163399
0.078431
0.04793
0.143791
0.095861
0
0
0
0
0
0
0.323017
1,551
54
80
28.722222
0.874286
0.299807
0
0.125
1
0
0
0
0
0
0
0
0
1
0.25
false
0.083333
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
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
10bc700acd8c2e3092707fafe502bffcab6dab60
1,322
py
Python
setup.py
51pricing/toplines
a8952f5a3908b1a8643d973f778f2d500b5258d1
[ "MIT" ]
null
null
null
setup.py
51pricing/toplines
a8952f5a3908b1a8643d973f778f2d500b5258d1
[ "MIT" ]
null
null
null
setup.py
51pricing/toplines
a8952f5a3908b1a8643d973f778f2d500b5258d1
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 from setuptools import setup, find_packages setup( name = 'toplines', version = '0.1', description = 'Get top lines from a large file', author = 'haierol', author_email = 'haierol@qq.com', maintainer = '51pricing', maintainer_email = '51pric...
32.243902
60
0.56354
122
1,322
6.04918
0.614754
0.205962
0.271003
0.140921
0
0
0
0
0
0
0
0.021622
0.300303
1,322
41
61
32.243902
0.776216
0.024962
0
0.054054
0
0
0.532853
0.018429
0
0
0
0
0
1
0
true
0
0.027027
0
0.027027
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
52a1f2d8114a039dd7951c0027eefa36dfef4aa2
310
py
Python
python/191116_A.py
Xanonymous-GitHub/main
53120110bd8dc9ab33424fa26d1a8ca5b9256ebe
[ "Apache-2.0" ]
1
2019-09-27T17:46:41.000Z
2019-09-27T17:46:41.000Z
python/191116_A.py
Xanonymous-GitHub/main
53120110bd8dc9ab33424fa26d1a8ca5b9256ebe
[ "Apache-2.0" ]
null
null
null
python/191116_A.py
Xanonymous-GitHub/main
53120110bd8dc9ab33424fa26d1a8ca5b9256ebe
[ "Apache-2.0" ]
5
2019-09-30T16:41:14.000Z
2019-10-25T11:13:39.000Z
a, b, c = sorted(list(map(float, input().split()))) if(((a+b) > c)and((c-a) < b)): print('It is a triangle.') if(((a**2)+(b**2)) == (c**2)): print('-> also a Right triangle.') if(not(a-b)): print('-> Wow it\'s a Isosceles right triangle!') else: print('not a triangle.')
34.444444
61
0.493548
51
310
3
0.45098
0.052288
0.039216
0
0
0
0
0
0
0
0
0.012712
0.23871
310
9
62
34.444444
0.635593
0
0
0
0
0
0.215434
0
0
0
0
0
0
1
0
true
0
0
0
0
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
52d162dc302beaaa74371912f6847bf8fcc3e75e
649
py
Python
src/UQpy/inference/information_criteria/baseclass/InformationCriterion.py
SURGroup/UncertaintyQuantification
a94c8db47d07134ea2b3b0a3ca53ca818532c3e6
[ "MIT" ]
null
null
null
src/UQpy/inference/information_criteria/baseclass/InformationCriterion.py
SURGroup/UncertaintyQuantification
a94c8db47d07134ea2b3b0a3ca53ca818532c3e6
[ "MIT" ]
null
null
null
src/UQpy/inference/information_criteria/baseclass/InformationCriterion.py
SURGroup/UncertaintyQuantification
a94c8db47d07134ea2b3b0a3ca53ca818532c3e6
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import Union import numpy as np from UQpy.inference.BayesParameterEstimation import BayesParameterEstimation from UQpy.inference.MLE import MLE class InformationCriterion(ABC): @abstractmethod def minimize_criterion(self, data: np.ndarray, ...
30.904762
107
0.687211
67
649
6.61194
0.686567
0.076749
0.076749
0
0
0
0
0
0
0
0
0
0.255778
649
20
108
32.45
0.917184
0.217257
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0.090909
0.454545
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
52ea2956d93f0a58e036c3d3c131622d534c171f
342
py
Python
bin/python/divvy/ledger/commands/Print.py
coinjet/rippled
33963ff958596346ba4c3f8236c99aa54e32b826
[ "BSL-1.0" ]
null
null
null
bin/python/divvy/ledger/commands/Print.py
coinjet/rippled
33963ff958596346ba4c3f8236c99aa54e32b826
[ "BSL-1.0" ]
null
null
null
bin/python/divvy/ledger/commands/Print.py
coinjet/rippled
33963ff958596346ba4c3f8236c99aa54e32b826
[ "BSL-1.0" ]
null
null
null
from __future__ import absolute_import, division, print_function, unicode_literals from divvy.ledger.Args import ARGS from divvy.ledger import SearchLedgers import json SAFE = True HELP = """print Print the ledgers to stdout. The default command.""" def run_print(server): ARGS.display(print, server, SearchLe...
21.375
82
0.783626
46
342
5.652174
0.608696
0.069231
0.115385
0
0
0
0
0
0
0
0
0
0.137427
342
15
83
22.8
0.881356
0
0
0
0
0
0.166667
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.555556
0.444444
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
1
0
3
5e108587789d222e280f3656e7c86475cfcf1fff
1,056
py
Python
nought/wizard.py
cole-wilson/nought
859188ad164a3757b230bcdf74ffee917d031eb7
[ "Apache-2.0" ]
10
2020-11-16T23:04:29.000Z
2021-11-03T14:53:54.000Z
nought/wizard.py
cole-wilson/nought
859188ad164a3757b230bcdf74ffee917d031eb7
[ "Apache-2.0" ]
null
null
null
nought/wizard.py
cole-wilson/nought
859188ad164a3757b230bcdf74ffee917d031eb7
[ "Apache-2.0" ]
null
null
null
import sys, os, toml def main(): # sys.exit(0) print('Hello! The best way to setup nought is to go to the github page:\n\thttps://github.com/cole-wilson/nought#configuration') # mode = input("\nYou have several choices:\n\t\1:Create a config file.\n\t2: Edit an existing config file.\n\t(your choice must be an integ...
39.111111
152
0.652462
168
1,056
4.10119
0.535714
0.050798
0.034833
0.040639
0
0
0
0
0
0
0
0.009302
0.185606
1,056
27
153
39.111111
0.79186
0.767045
0
0
0
0.25
0.533632
0
0
0
0
0
0
1
0.25
true
0
0.25
0
0.5
0.25
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
0
0
1
1
0
0
0
0
0
0
3
5e1441d6dabe2c3ce2fdda1707492bef1d58fa81
406
py
Python
testData/typeinspection/fieldFieldInvalid.py
seandstewart/typical-pycharm-plugin
4f6ec99766239421201faae9d75c32fa0ee3565a
[ "MIT" ]
null
null
null
testData/typeinspection/fieldFieldInvalid.py
seandstewart/typical-pycharm-plugin
4f6ec99766239421201faae9d75c32fa0ee3565a
[ "MIT" ]
null
null
null
testData/typeinspection/fieldFieldInvalid.py
seandstewart/typical-pycharm-plugin
4f6ec99766239421201faae9d75c32fa0ee3565a
[ "MIT" ]
null
null
null
import typic from builtins import * @typic.klass class A: a: int = typic.field(int(123)) b = typic.field(int(123)) c = typic.field(default=int(123)) A(<warning descr="Expected type 'int', got 'str' instead">a=str('123')</warning>, <warning descr="Expected type 'int', got 'str' instead">b=str('123')</warn...
33.833333
241
0.662562
63
406
4.269841
0.31746
0.111524
0.223048
0.267658
0.542751
0.542751
0.542751
0.542751
0.394052
0.394052
0
0.051282
0.135468
406
11
242
36.909091
0.7151
0
0
0
0
0
0.302956
0
0
0
0
0
0
0
null
null
0
0.25
null
null
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
1
0
0
0
0
0
0
0
0
3
5e2ce790186db5e07aec9a5222d565ae2591a295
1,308
py
Python
kong-python-pdk/kong_pdk/pdk/kong/nginx/__init__.py
srAtKong/kong-custom-plugin-py-tcp
d2b1208b533e3a54845448d5c67e2e6f19d28960
[ "Apache-2.0" ]
18
2021-03-04T18:52:15.000Z
2022-02-14T07:23:35.000Z
kong-python-pdk/kong_pdk/pdk/kong/nginx/__init__.py
srAtKong/kong-custom-plugin-py-tcp
d2b1208b533e3a54845448d5c67e2e6f19d28960
[ "Apache-2.0" ]
31
2021-03-24T17:00:04.000Z
2022-03-30T15:16:27.000Z
kong-python-pdk/kong_pdk/pdk/kong/nginx/__init__.py
srAtKong/kong-custom-plugin-py-tcp
d2b1208b533e3a54845448d5c67e2e6f19d28960
[ "Apache-2.0" ]
3
2021-04-25T05:31:03.000Z
2021-07-19T16:32:48.000Z
# AUTO GENERATED BASED ON Kong 2.4.x, DO NOT EDIT # Original source path: kong/pdk/nginx.lua from typing import TypeVar, Any, Union, List, Mapping, Tuple, Optional number = TypeVar('number', int, float) table = TypeVar('table', List[Any], Mapping[str, Any]) # XXX cdata = Any err = str from .shared import shared as c...
19.235294
70
0.53211
152
1,308
4.493421
0.453947
0.131772
0.139092
0.057101
0.158126
0.064422
0.064422
0
0
0
0
0.004837
0.367737
1,308
68
71
19.235294
0.82104
0.274465
0
0.481481
1
0
0.014885
0
0
0
0
0
0
1
0.222222
false
0.259259
0.074074
0
0.37037
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
eacb6c857bc7ea6d96bbae555723cfea5e592342
417
py
Python
maskprocessor/__main__.py
Xvezda/python-maskprocessor
5d50e719c02934642bdb4ba102559f7a74408a67
[ "MIT" ]
1
2020-10-06T19:32:46.000Z
2020-10-06T19:32:46.000Z
maskprocessor/__main__.py
Xvezda/python-maskprocessor
5d50e719c02934642bdb4ba102559f7a74408a67
[ "MIT" ]
3
2020-03-21T10:45:00.000Z
2020-03-22T00:37:56.000Z
maskprocessor/__main__.py
Xvezda/python-maskprocessor
5d50e719c02934642bdb4ba102559f7a74408a67
[ "MIT" ]
1
2021-09-05T04:53:46.000Z
2021-09-05T04:53:46.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2020 Xvezda <xvezda@naver.com> # # Use of this source code is governed by an MIT-style # license that can be found in the LICENSE file or at # https://opensource.org/licenses/MIT. from __future__ import absolute_import from __future__ import division from _...
21.947368
53
0.736211
63
417
4.52381
0.777778
0.105263
0.168421
0
0
0
0
0
0
0
0
0.014368
0.165468
417
18
54
23.166667
0.804598
0.546763
0
0
0
0
0.044199
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
eacbf4926e17b2134d1155c84213d64207cae93e
90
py
Python
simplegan/__init__.py
grohith327/EasyGAN
cbbff0283eda08f2d056215574f798e976d3ece0
[ "MIT" ]
23
2020-03-10T16:16:34.000Z
2022-01-09T11:04:21.000Z
simplegan/__init__.py
grohith327/EasyGAN
cbbff0283eda08f2d056215574f798e976d3ece0
[ "MIT" ]
3
2020-03-09T01:43:45.000Z
2020-05-19T14:52:28.000Z
simplegan/__init__.py
grohith327/EasyGAN
cbbff0283eda08f2d056215574f798e976d3ece0
[ "MIT" ]
1
2020-05-19T15:22:39.000Z
2020-05-19T15:22:39.000Z
from simplegan import autoencoder, gan, datasets, losses, metrics __version__ = "v0.2.9"
22.5
65
0.766667
12
90
5.416667
1
0
0
0
0
0
0
0
0
0
0
0.038462
0.133333
90
3
66
30
0.794872
0
0
0
0
0
0.066667
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
eacefed05a4e360ab8d20cef1c86a46e0d36ddd1
5,134
py
Python
contents/models.py
hafiztsalavin/personal_web
799b3080ea5c17ae293f550b1e5556d9fa099b20
[ "MIT" ]
4
2021-05-26T18:21:46.000Z
2021-07-06T06:07:52.000Z
contents/models.py
hafiztsalavin/personal_web
799b3080ea5c17ae293f550b1e5556d9fa099b20
[ "MIT" ]
null
null
null
contents/models.py
hafiztsalavin/personal_web
799b3080ea5c17ae293f550b1e5556d9fa099b20
[ "MIT" ]
3
2020-04-14T05:27:40.000Z
2020-06-16T17:14:58.000Z
from django.contrib.auth.models import User from django.db import models from PIL import Image class Profile(models.Model): contact_no = models.CharField(max_length=20) address = models.CharField(max_length=200) image = models.ImageField(help_text='425x425px recommmended', upload_to='profile_pics') ti...
32.910256
108
0.714258
660
5,134
5.343939
0.212121
0.119932
0.229657
0.306209
0.612986
0.496172
0.422455
0.227672
0.125886
0.125886
0
0.03175
0.171796
5,134
155
109
33.122581
0.797742
0.023958
0
0.302752
0
0
0.075095
0.004594
0
0
0
0
0
1
0.12844
false
0
0.027523
0.119266
0.944954
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
1
0
0
0
3
eae0678d3a39a87768a72351b73767f413184741
62
py
Python
billboard.py
the-pudding/falsetto-site
37a0d0f24c8e3b7d8e523d6f8536864b0de2ed00
[ "MIT" ]
1
2019-09-27T11:25:55.000Z
2019-09-27T11:25:55.000Z
billboard.py
the-pudding/falsetto-site
37a0d0f24c8e3b7d8e523d6f8536864b0de2ed00
[ "MIT" ]
2
2020-09-06T11:25:59.000Z
2021-05-08T00:26:39.000Z
billboard.py
the-pudding/falsetto-site
37a0d0f24c8e3b7d8e523d6f8536864b0de2ed00
[ "MIT" ]
null
null
null
string = "hi there my name is matt" print(string.count("e"))
15.5
35
0.677419
11
62
3.818182
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.16129
62
3
36
20.666667
0.807692
0
0
0
0
0
0.403226
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
eae47126864a9b1815a5d02ba4970e93bad0f8d1
410
py
Python
script/test_regex_match_dialog.py
cpcgskill/dg_editor
5bebef707be194a0e4f197d28ca8524b498f200c
[ "Apache-2.0" ]
2
2021-12-08T23:05:43.000Z
2022-01-13T17:21:55.000Z
script/test_regex_match_dialog.py
cpcgskill/dg_editor
5bebef707be194a0e4f197d28ca8524b498f200c
[ "Apache-2.0" ]
null
null
null
script/test_regex_match_dialog.py
cpcgskill/dg_editor
5bebef707be194a0e4f197d28ca8524b498f200c
[ "Apache-2.0" ]
null
null
null
# -*-coding:utf-8 -*- u""" :创建时间: 2021/12/5 1:40 :作者: 苍之幻灵 :我的主页: https://cpcgskill.com :QQ: 2921251087 :爱发电: https://afdian.net/@Phantom_of_the_Cang :aboutcg: https://www.aboutcg.org/teacher/54335 :bilibili: https://space.bilibili.com/351598127 """ from __future__ import unicode_literals, print_function import imp i...
19.52381
55
0.753659
62
410
4.758065
0.758065
0.067797
0.108475
0
0
0
0
0
0
0
0
0.093834
0.090244
410
20
56
20.5
0.697051
0.582927
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
eae4e3161a20744f0817fab8844bd7a911592ffb
848
py
Python
problems/problem-2/FibonacciSeries.py
Nimelo/project-euler
fa62138931d66ed3713e156103632aa40f712a92
[ "MIT" ]
null
null
null
problems/problem-2/FibonacciSeries.py
Nimelo/project-euler
fa62138931d66ed3713e156103632aa40f712a92
[ "MIT" ]
null
null
null
problems/problem-2/FibonacciSeries.py
Nimelo/project-euler
fa62138931d66ed3713e156103632aa40f712a92
[ "MIT" ]
null
null
null
from itertools import takewhile def fibonacci_series(): last, current = 0, 1 while True: current, last = current + last, current yield current def even_fibonacci_series(): last, current = 0, 1 while True: current, last = current + last, current current, last = curre...
25.69697
85
0.652123
113
848
4.646018
0.318584
0.209524
0.274286
0.167619
0.617143
0.617143
0.510476
0.510476
0.510476
0.510476
0
0.021978
0.248821
848
32
86
26.5
0.802198
0
0
0.454545
0
0
0.061321
0
0
0
0
0
0
1
0.090909
false
0
0.045455
0
0.136364
0.090909
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
eaff79c8681051dbf09ed928f5afef00a7d158f1
1,148
py
Python
Day2.2.py
m-berk/AdventOfCode2019
73a930fc24a726186364923fc0575c84e19176af
[ "MIT" ]
1
2021-06-16T07:34:30.000Z
2021-06-16T07:34:30.000Z
Day2.2.py
m-berk/AdventOfCode2019
73a930fc24a726186364923fc0575c84e19176af
[ "MIT" ]
null
null
null
Day2.2.py
m-berk/AdventOfCode2019
73a930fc24a726186364923fc0575c84e19176af
[ "MIT" ]
2
2020-09-03T07:47:52.000Z
2021-02-04T21:07:40.000Z
Data_File = open("Day2_Data.txt") Data = Data_File.read() Data = Data.split(',') for i in range(len(Data)): Data[i]=int(Data[i]) Data_Backup = Data.copy() for noun in range (100): for verb in range(100): Data = Data_Backup.copy() Data[1] = noun Data[2] = verb Ind...
33.764706
107
0.5
136
1,148
4.088235
0.316176
0.257194
0.269784
0.205036
0.356115
0.356115
0.356115
0.356115
0.327338
0.327338
0
0.042234
0.360627
1,148
33
108
34.787879
0.715259
0.107143
0
0.148148
0
0
0.026289
0
0
0
0
0
0
1
0
false
0
0
0
0
0.074074
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d801c99a31a83d89709b182a8617454ded17aff3
3,381
py
Python
src/third_party/beaengine/tests/0fc4.py
CrackerCat/rp
5fe693c26d76b514efaedb4084f6e37d820db023
[ "MIT" ]
1
2022-01-17T17:40:29.000Z
2022-01-17T17:40:29.000Z
src/third_party/beaengine/tests/0fc4.py
CrackerCat/rp
5fe693c26d76b514efaedb4084f6e37d820db023
[ "MIT" ]
null
null
null
src/third_party/beaengine/tests/0fc4.py
CrackerCat/rp
5fe693c26d76b514efaedb4084f6e37d820db023
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # 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, either version 3 of the License, or # (at your option) any later version. # # This progra...
39.313953
82
0.660455
434
3,381
5.096774
0.354839
0.10443
0.18038
0.162749
0.664557
0.652803
0.580018
0.580018
0.557414
0.530289
0
0.055513
0.222124
3,381
85
83
39.776471
0.785551
0.271813
0
0.630435
0
0
0.141099
0.009024
0
0
0.015997
0
0.456522
1
0.021739
false
0
0.043478
0
0.086957
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
d8098956c22df3565a98e1064ca76a70b8be3d0f
531
py
Python
tests/test_managers/test_build_job.py
DXist/polyaxon-cli
0b01512548f9faea77fb60cb7c6bd327e0638b13
[ "MIT" ]
null
null
null
tests/test_managers/test_build_job.py
DXist/polyaxon-cli
0b01512548f9faea77fb60cb7c6bd327e0638b13
[ "MIT" ]
null
null
null
tests/test_managers/test_build_job.py
DXist/polyaxon-cli
0b01512548f9faea77fb60cb7c6bd327e0638b13
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function from unittest import TestCase from polyaxon_cli.managers.build_job import BuildJobManager from polyaxon_cli.schemas import BuildJobConfig class TestBuildJobManager(TestCase): def test_default_props(self): assert Bui...
33.1875
67
0.785311
60
531
6.683333
0.616667
0.209476
0.074813
0
0
0
0
0
0
0
0
0.002232
0.156309
531
15
68
35.4
0.892857
0.039548
0
0
0
0
0.027559
0
0
0
0
0
0.4
1
0.1
false
0
0.4
0
0.6
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
0
0
0
0
1
0
1
0
0
3
d8142896402dc58fc6b9098f1c471aed83d49177
577
py
Python
src/data/change_only_ypred.py
onurerkin/prohack
51665841de04de4a7d44a3aeacec8e9142110cea
[ "MIT" ]
null
null
null
src/data/change_only_ypred.py
onurerkin/prohack
51665841de04de4a7d44a3aeacec8e9142110cea
[ "MIT" ]
null
null
null
src/data/change_only_ypred.py
onurerkin/prohack
51665841de04de4a7d44a3aeacec8e9142110cea
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np test_submission_guardians_may_24 = pd.read_csv('data/processed/test_submission_guardians_may_24.csv') two_sub_combined_submission_may_23 = pd.read_csv('data/processed/two_sub_combined_submission_may_23.csv') two_sub_combined_submission_may_23_y_pred_may_24 = two_sub_combined_...
44.384615
138
0.889081
102
577
4.382353
0.235294
0.0783
0.219239
0.375839
0.879195
0.628635
0.563758
0.485459
0.485459
0.348993
0
0.050817
0.045061
577
13
138
44.384615
0.760436
0
0
0
0
0
0.309689
0.295848
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d816f3ae4fa54167fb5e2e3dc0c0fb1de7caca4d
722
py
Python
settings.py
ONSdigital/sdx-rabbit-monitor
080d9e98de6c4a89d7cdcb6155dd7216374f449e
[ "MIT" ]
1
2017-08-15T22:39:09.000Z
2017-08-15T22:39:09.000Z
settings.py
ONSdigital/sdx-rabbit-monitor
080d9e98de6c4a89d7cdcb6155dd7216374f449e
[ "MIT" ]
36
2017-03-24T10:42:33.000Z
2020-06-19T08:30:30.000Z
settings.py
ONSdigital/sdx-rabbit-monitor
080d9e98de6c4a89d7cdcb6155dd7216374f449e
[ "MIT" ]
1
2021-04-11T07:54:05.000Z
2021-04-11T07:54:05.000Z
import logging import os LOGGING_FORMAT = "%(asctime)s|%(levelname)s: sdx-rabbit-monitor: %(message)s" LOGGING_LEVEL = logging.getLevelName(os.getenv('LOGGING_LEVEL', 'DEBUG')) PORT = os.getenv('SDX_RABBIT_MONITOR_PORT') RABBITMQ_DEFAULT_PASS = os.getenv('SDX_RABBIT_MONITOR_PASS') RABBITMQ_DEFAULT_USER = os.getenv('S...
28.88
77
0.779778
104
722
5.086538
0.451923
0.196597
0.181474
0.160681
0.241966
0.10586
0
0
0
0
0
0.013846
0.099723
722
24
78
30.083333
0.8
0.117729
0
0
0
0
0.37224
0.239748
0
0
0
0
0
1
0
false
0.066667
0.133333
0
0.133333
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
1
0
0
0
0
0
3
d81b800a6f323f2ccd2e29f214a8632fc9181e1d
908
py
Python
vortexasdk/api/onshore_inventory.py
VorTECHsa/python-sdk
d85aabd8d9843e4d04d857360492bea002c2b24b
[ "Apache-2.0" ]
9
2020-01-22T15:36:16.000Z
2022-03-14T10:05:19.000Z
vortexasdk/api/onshore_inventory.py
VorTECHsa/python-sdk
d85aabd8d9843e4d04d857360492bea002c2b24b
[ "Apache-2.0" ]
114
2020-01-08T11:08:24.000Z
2022-03-30T16:42:23.000Z
vortexasdk/api/onshore_inventory.py
V0RT3X4/python-sdk
4cffae83b90a58a56f1a534057fa1ca1c8671e05
[ "Apache-2.0" ]
6
2020-05-28T00:09:02.000Z
2022-03-14T03:52:44.000Z
from dataclasses import dataclass from typing import Optional from vortexasdk.api.asset_tank import AssetTank from vortexasdk.api.serdes import FromDictMixin from vortexasdk.api.shared_types import ISODate from vortexasdk.api.id import ID @dataclass(frozen=True) class OnshoreInventory(FromDictMixin): """ La...
27.515152
100
0.773128
116
908
5.931034
0.577586
0.081395
0.098837
0
0
0
0
0
0
0
0
0
0.170705
908
32
101
28.375
0.913679
0.300661
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.315789
0
0.947368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
dc1dd2068575ee12ab167bd4f789da45d548fdaf
157
py
Python
Artesian/Query/_QueryParameters/VersionSelectionType.py
AndreaCuneo/Artesian.SDK-Python
1f3528293e2da42d9f1901cd94165464cffab3fc
[ "MIT" ]
null
null
null
Artesian/Query/_QueryParameters/VersionSelectionType.py
AndreaCuneo/Artesian.SDK-Python
1f3528293e2da42d9f1901cd94165464cffab3fc
[ "MIT" ]
null
null
null
Artesian/Query/_QueryParameters/VersionSelectionType.py
AndreaCuneo/Artesian.SDK-Python
1f3528293e2da42d9f1901cd94165464cffab3fc
[ "MIT" ]
null
null
null
from enum import Enum class VersionSelectionType(Enum): LastN = 1 MUV = 2 LastOfDays = 3 LastOfMonths = 4 Version = 5 MostRecent = 6
19.625
33
0.636943
19
157
5.263158
0.894737
0
0
0
0
0
0
0
0
0
0
0.055046
0.305732
157
8
34
19.625
0.862385
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
dc5a3529f438d9d4987857e924727718de580369
14,325
py
Python
Board/BitBoard.py
y701311/Othello
f8a46ebc0dbc4e9fcac237482aaf8e54babffcef
[ "MIT" ]
2
2022-02-04T15:52:50.000Z
2022-02-09T01:26:24.000Z
Board/BitBoard.py
y701311/Othello
f8a46ebc0dbc4e9fcac237482aaf8e54babffcef
[ "MIT" ]
1
2022-02-04T16:05:17.000Z
2022-02-04T16:30:33.000Z
Board/BitBoard.py
y701311/Othello
f8a46ebc0dbc4e9fcac237482aaf8e54babffcef
[ "MIT" ]
null
null
null
from Board.Board import Board from Location.Location import Location from Board.Disc import Disc # BoardクラスのbitBoardとしての実装 class BitBoard(Board): def __init__(self) -> None: # 打っているプレイヤーの色 self.player = Disc.black self.turn = 1 self.playerBoard = 0x0000000810000000 self.oppo...
43.14759
79
0.642443
983
14,325
9.358087
0.144456
0.2035
0.226112
0.121752
0.713882
0.697902
0.697902
0.676813
0.676813
0.676813
0
0.032243
0.263874
14,325
331
80
43.277946
0.840114
0.040628
0
0.518987
0
0
0
0
0
0
0.018406
0
0
1
0.07173
false
0.008439
0.012658
0
0.164557
0
0
0
0
null
1
1
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
0
0
0
0
0
0
3
dc8dd13769b892cf73a3bc420e429e0e53738669
318
py
Python
super function.py
blulady/python
65d8e99f6411cf79be0353abc99a2677dfeebe11
[ "bzip2-1.0.6" ]
null
null
null
super function.py
blulady/python
65d8e99f6411cf79be0353abc99a2677dfeebe11
[ "bzip2-1.0.6" ]
null
null
null
super function.py
blulady/python
65d8e99f6411cf79be0353abc99a2677dfeebe11
[ "bzip2-1.0.6" ]
1
2020-09-11T16:05:46.000Z
2020-09-11T16:05:46.000Z
class A: def feature1(self): print("Feature 1 working") def feature2(self): print("Feature 2 working") a1 = A() a1.feature1() class B(A): def feature3(self): print("feature 3 working") def feature4(self): print("feature 4 working") b1 = B() b1.feature2()
14.454545
34
0.562893
41
318
4.365854
0.439024
0.201117
0.357542
0
0
0
0
0
0
0
0
0.06278
0.298742
318
21
35
15.142857
0.73991
0
0
0
0
0
0.213836
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.428571
0.285714
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
dca0ff85d448420a75483e3fd1fac8690b3c05ff
307
py
Python
python/cumulus/cumulus/snodas/core/config.py
USACE/cumulus-geolambda
65ca45487be375b3fcfa1e9f9c8e5865f2e0735e
[ "MIT" ]
2
2020-07-21T21:03:16.000Z
2020-07-29T16:06:53.000Z
python/cumulus/cumulus/snodas/core/config.py
USACE/cumulus-geolambda
65ca45487be375b3fcfa1e9f9c8e5865f2e0735e
[ "MIT" ]
1
2021-03-11T12:39:32.000Z
2021-03-11T12:39:32.000Z
python/cumulus/cumulus/snodas/core/config.py
USACE/cumulus-geolambda
65ca45487be375b3fcfa1e9f9c8e5865f2e0735e
[ "MIT" ]
null
null
null
# Application Install Directory (Relative to Inside Container) SNODAS_APP = '/app/cumulus/snodas/core' # Archive of UNMASKED files downloaded from NSIDC SNODAS_RAW_UNMASKED = '/app/data/snodas/raw_unmasked' # Archive of MASKED files downloaded from NSIDC SNODAS_RAW_MASKED = '/app/data/snodas/raw_masked'
34.111111
62
0.801303
43
307
5.55814
0.488372
0.150628
0.158996
0.200837
0.276151
0.276151
0
0
0
0
0
0
0.114007
307
8
63
38.375
0.878676
0.501629
0
0
0
0
0.536913
0.536913
0
0
0
0
0
1
0
false
0
0
0
0
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dca1852b678724e0a154fb13d2ce04b3ccd15503
177
py
Python
nk_ape/__init__.py
NewKnowledge/ape
94dc287433df248b2e5182e1853f3763f201e6b5
[ "MIT" ]
null
null
null
nk_ape/__init__.py
NewKnowledge/ape
94dc287433df248b2e5182e1853f3763f201e6b5
[ "MIT" ]
null
null
null
nk_ape/__init__.py
NewKnowledge/ape
94dc287433df248b2e5182e1853f3763f201e6b5
[ "MIT" ]
null
null
null
import sys import logging from .ape import Ape from .config import ONTOLOGY_PATH, EMBEDDING_PATH, LOG_LEVEL logging.basicConfig( level=LOG_LEVEL, stream=sys.stdout, )
16.090909
60
0.774011
25
177
5.32
0.56
0.120301
0
0
0
0
0
0
0
0
0
0
0.158192
177
10
61
17.7
0.892617
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
1
0
0
0
0
3
dcb5d3bcfbb29a6be9c41746fc498dc1184f732f
605
py
Python
seahub/avatar/management/commands/rebuild_avatars.py
odontomachus/seahub
5b6f2153921da21a473d9ff20ce443d40efc93ab
[ "Apache-2.0" ]
null
null
null
seahub/avatar/management/commands/rebuild_avatars.py
odontomachus/seahub
5b6f2153921da21a473d9ff20ce443d40efc93ab
[ "Apache-2.0" ]
null
null
null
seahub/avatar/management/commands/rebuild_avatars.py
odontomachus/seahub
5b6f2153921da21a473d9ff20ce443d40efc93ab
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2012-2016 Seafile Ltd. from django.core.management.base import BaseCommand from seahub.avatar.models import Avatar from seahub.avatar.settings import AUTO_GENERATE_AVATAR_SIZES class Command(BaseCommand): help = "Regenerates avatar thumbnails for the sizes specified in " + \ "settings.AUTO...
37.8125
79
0.700826
77
605
5.376623
0.558442
0.086957
0.130435
0.166667
0
0
0
0
0
0
0
0.016878
0.216529
605
15
80
40.333333
0.85654
0.059504
0
0
1
0
0.22575
0.063492
0
0
0
0
0
0
null
null
0
0.272727
null
null
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
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f4c47122931d454fc226171a1e49e4378bec8f60
4,145
py
Python
thenewboston_node/business_logic/tests/test_blockchain_base/test_validate_root_account_file.py
nishp77/thenewboston-node
158b1f1739b2c6c9c21c80e9da854ca141f1cf8f
[ "MIT" ]
30
2021-03-05T22:08:17.000Z
2021-09-23T02:45:45.000Z
thenewboston_node/business_logic/tests/test_blockchain_base/test_validate_root_account_file.py
nishp77/thenewboston-node
158b1f1739b2c6c9c21c80e9da854ca141f1cf8f
[ "MIT" ]
148
2021-03-05T23:37:50.000Z
2021-11-02T02:18:58.000Z
thenewboston_node/business_logic/tests/test_blockchain_base/test_validate_root_account_file.py
nishp77/thenewboston-node
158b1f1739b2c6c9c21c80e9da854ca141f1cf8f
[ "MIT" ]
14
2021-03-05T21:58:46.000Z
2021-10-15T17:27:52.000Z
import pytest from thenewboston_node.business_logic.exceptions import ValidationError from thenewboston_node.business_logic.tests.baker_factories import ( make_account_state, make_blockchain_state, make_genesis_blockchain_state ) from thenewboston_node.business_logic.tests.mocks.utils import patch_blockchain_state...
49.939759
118
0.797346
492
4,145
6.20935
0.142276
0.1473
0.100818
0.091326
0.842881
0.77545
0.726023
0.590507
0.587234
0.545336
0
0.005924
0.144753
4,145
82
119
50.54878
0.855853
0
0
0.448276
0
0
0.093607
0.010133
0
0
0
0
0
1
0.137931
false
0
0.068966
0
0.206897
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f4ccaea21ca7c40e34f6c20bdcadaf6cd6273627
32
py
Python
spin/prophecy.py
cloudRoutine/curveship
d46def2cbc5b1de6692c410e018d8e23cb477286
[ "0BSD" ]
1
2020-05-16T12:03:34.000Z
2020-05-16T12:03:34.000Z
spin/prophecy.py
ziz/curveship
17479312174d0ee09abce730e927a58c3967eda7
[ "0BSD" ]
null
null
null
spin/prophecy.py
ziz/curveship
17479312174d0ee09abce730e927a58c3967eda7
[ "0BSD" ]
1
2022-02-26T16:01:26.000Z
2022-02-26T16:01:26.000Z
spin = { 'time': 'before'}
8
21
0.4375
3
32
4.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.3125
32
3
22
10.666667
0.636364
0
0
0
0
0
0.322581
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f4defa60985f0213377ba9db62516005b8d59985
152
py
Python
script_data_transformation/LifeCycle.py
mbeviere/mbeviere.github.io
10dcf7dcf6c64d8d975bc5e87ea8696079122f91
[ "Apache-2.0" ]
null
null
null
script_data_transformation/LifeCycle.py
mbeviere/mbeviere.github.io
10dcf7dcf6c64d8d975bc5e87ea8696079122f91
[ "Apache-2.0" ]
null
null
null
script_data_transformation/LifeCycle.py
mbeviere/mbeviere.github.io
10dcf7dcf6c64d8d975bc5e87ea8696079122f91
[ "Apache-2.0" ]
null
null
null
class LifeCycle: def __init__(self, id, label, composed_of): self.id = id self.label = label self.composed_of = composed_of
25.333333
47
0.625
20
152
4.4
0.45
0.340909
0
0
0
0
0
0
0
0
0
0
0.289474
152
5
48
30.4
0.814815
0
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
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f4e7240074e453e132d19d13e2ad9b1145137986
207
py
Python
zahlwort2num/command_line.py
spatialbitz/zahlwort2num
b10890b849c26b6f306b963280ea4f6ce4be9e91
[ "MIT" ]
5
2020-11-03T14:58:11.000Z
2022-01-03T15:54:03.000Z
zahlwort2num/command_line.py
spatialbitz/zahlwort2num
b10890b849c26b6f306b963280ea4f6ce4be9e91
[ "MIT" ]
2
2021-12-15T13:58:44.000Z
2022-01-09T01:14:29.000Z
zahlwort2num/command_line.py
spatialbitz/zahlwort2num
b10890b849c26b6f306b963280ea4f6ce4be9e91
[ "MIT" ]
1
2022-01-03T15:41:11.000Z
2022-01-03T15:41:11.000Z
from _ctypes import ArgumentError import zahlwort2num as w2n import sys def main(): if(sys.argv[1]): print(w2n.convert(sys.argv[1])) else: raise ArgumentError('No parameter given!')
20.7
50
0.676329
28
207
4.964286
0.714286
0.100719
0.115108
0
0
0
0
0
0
0
0
0.030675
0.21256
207
10
50
20.7
0.822086
0
0
0
0
0
0.091346
0
0
0
0
0
0
1
0.125
true
0
0.375
0
0.5
0.125
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
1
0
0
0
0
3
f4e7410dd3f79e4d6377acce6f0134a0c892d6f2
135
py
Python
Vanilla/src/assistant.py
allepicondor/SnakePython
a52befc9a6a631283799396f65a0bf00393516ca
[ "MIT" ]
null
null
null
Vanilla/src/assistant.py
allepicondor/SnakePython
a52befc9a6a631283799396f65a0bf00393516ca
[ "MIT" ]
null
null
null
Vanilla/src/assistant.py
allepicondor/SnakePython
a52befc9a6a631283799396f65a0bf00393516ca
[ "MIT" ]
null
null
null
def NumpyInList(array,l1): for i in l1: if i[0] == array[0] and i[1] == array[1]: return True return False
22.5
49
0.525926
22
135
3.227273
0.636364
0
0
0
0
0
0
0
0
0
0
0.067416
0.340741
135
5
50
27
0.730337
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
f4f85a883302d638af05a665e10427f395b506f2
495
py
Python
pysot/models/non_local/__init__.py
eldercrow/tracking-pytorch
07b63793249520509c45518dc27be0ce3b58d604
[ "Apache-2.0" ]
null
null
null
pysot/models/non_local/__init__.py
eldercrow/tracking-pytorch
07b63793249520509c45518dc27be0ce3b58d604
[ "Apache-2.0" ]
null
null
null
pysot/models/non_local/__init__.py
eldercrow/tracking-pytorch
07b63793249520509c45518dc27be0ce3b58d604
[ "Apache-2.0" ]
null
null
null
# Copyright (c) SenseTime. All Rights Reserved. from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import torch import torch.nn as nn import torch.nn.functional as F from pysot.models.non_local.non_local import APNB, Mu...
23.571429
60
0.739394
62
495
5.548387
0.532258
0.116279
0.186047
0
0
0
0
0
0
0
0
0
0.191919
495
20
61
24.75
0.86
0.090909
0
0
0
0
0.046875
0
0
0
0
0
0
1
0.071429
false
0
0.571429
0.071429
0.714286
0.071429
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f4fea61f01168ea93091ce5386fa5b6fc6cab241
24
py
Python
web/__init__.py
DJBnjack/docker-server
f6709081a68c40e1f7d74435fa2e9c3299c93302
[ "MIT" ]
null
null
null
web/__init__.py
DJBnjack/docker-server
f6709081a68c40e1f7d74435fa2e9c3299c93302
[ "MIT" ]
null
null
null
web/__init__.py
DJBnjack/docker-server
f6709081a68c40e1f7d74435fa2e9c3299c93302
[ "MIT" ]
null
null
null
__author__ = 'Johannes'
12
23
0.75
2
24
7
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.666667
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
760d1d22d06ac5b16c82bfe9ae0d3c69721a557d
16
py
Python
SimCompanies/kind_ids.py
Gunak/SimCompaniesCLI
87ea68b63e1a82013caf30849b89600585236945
[ "MIT" ]
4
2021-02-25T17:27:38.000Z
2021-07-14T09:00:25.000Z
SimCompanies/kind_ids.py
Gunak/SimCompanies
87ea68b63e1a82013caf30849b89600585236945
[ "MIT" ]
null
null
null
SimCompanies/kind_ids.py
Gunak/SimCompanies
87ea68b63e1a82013caf30849b89600585236945
[ "MIT" ]
null
null
null
KIND_IDS = { }
5.333333
12
0.5
2
16
3.5
1
0
0
0
0
0
0
0
0
0
0
0
0.3125
16
3
13
5.333333
0.636364
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
760e27450bc744776e84cb35ab010dd68a897ee4
4,238
py
Python
API_Hardware/migrations/0001_initial.py
MTC-Hack/API_Mobile
c5724b8a74e32127bb1c130f2498c393af82fc6b
[ "Apache-2.0" ]
null
null
null
API_Hardware/migrations/0001_initial.py
MTC-Hack/API_Mobile
c5724b8a74e32127bb1c130f2498c393af82fc6b
[ "Apache-2.0" ]
4
2020-02-11T21:42:40.000Z
2021-06-10T17:27:57.000Z
API_Hardware/migrations/0001_initial.py
MTC-Hack/API_Mobile
c5724b8a74e32127bb1c130f2498c393af82fc6b
[ "Apache-2.0" ]
1
2017-09-29T09:19:55.000Z
2017-09-29T09:19:55.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-09-29 04:52 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('rat', '0009_auto_20170929_0120'), ]...
47.088889
146
0.596272
421
4,238
5.847981
0.199525
0.093826
0.085297
0.108042
0.756296
0.756296
0.656783
0.610479
0.610479
0.610479
0
0.014992
0.260264
4,238
89
147
47.617978
0.770335
0.016045
0
0.580247
1
0
0.134629
0.032157
0
0
0
0
0
1
0
false
0
0.037037
0
0.08642
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
761154c49f71ecfb5a6b1bea06318419ed1713b4
216
py
Python
python/22.py
kylekanos/project-euler-1
af7089356a4cea90f8ef331cfdc65e696def6140
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
python/22.py
kylekanos/project-euler-1
af7089356a4cea90f8ef331cfdc65e696def6140
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
python/22.py
kylekanos/project-euler-1
af7089356a4cea90f8ef331cfdc65e696def6140
[ "BSD-2-Clause-FreeBSD" ]
1
2019-09-17T00:55:58.000Z
2019-09-17T00:55:58.000Z
#!/usr/bin/env python # ad hoc, just do what it says to do names = sorted([name.strip('"') for name in raw_input().split(',')]) print sum((i+1)*sum(ord(c)-ord('A')+1 for c in names[i]) for i in xrange(len(names)))
30.857143
85
0.634259
44
216
3.090909
0.681818
0
0
0
0
0
0
0
0
0
0
0.010811
0.143519
216
6
86
36
0.724324
0.25463
0
0
0
0
0.018868
0
0
0
0
0
0
0
null
null
0
0
null
null
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
57ff7f7111f643bf609998f25369779173b93689
1,190
py
Python
iot_device/env.py
iot49/iot-device
4113ee25a603e5125c8ddf525b11ead57bfbd158
[ "MIT" ]
null
null
null
iot_device/env.py
iot49/iot-device
4113ee25a603e5125c8ddf525b11ead57bfbd158
[ "MIT" ]
null
null
null
iot_device/env.py
iot49/iot-device
4113ee25a603e5125c8ddf525b11ead57bfbd158
[ "MIT" ]
1
2020-09-08T10:42:28.000Z
2020-09-08T10:42:28.000Z
# env.py from .utilities import cd import os """ Environment Variables Name Default * IOT_PROJECTS ~/projects * IOT_DEVICES $IOT_PROJECTS/devices * IOT_LIBS $IOT_PROJECTS/libs * IOT_SECRETS $IOT_LIBS/secrets.py """ class Env: @staticmethod def expand_path(path): return os.path....
24.285714
84
0.640336
148
1,190
4.945946
0.236486
0.165301
0.075137
0.092896
0.087432
0.065574
0
0
0
0
0
0
0.216807
1,190
48
85
24.791667
0.785408
0.027731
0
0.230769
0
0
0.165109
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0.192308
0.538462
0.192308
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
52151bfa946e02aaae3d82c916cf2dd829c3bb9f
54
py
Python
units.py
solomondg/ModSim_Proj2
d1e4982d6fcdaec7a9fbc5f01752e0f01f4b7cdc
[ "MIT" ]
null
null
null
units.py
solomondg/ModSim_Proj2
d1e4982d6fcdaec7a9fbc5f01752e0f01f4b7cdc
[ "MIT" ]
null
null
null
units.py
solomondg/ModSim_Proj2
d1e4982d6fcdaec7a9fbc5f01752e0f01f4b7cdc
[ "MIT" ]
null
null
null
from pint import UnitRegistry units = UnitRegistry()
13.5
29
0.796296
6
54
7.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.148148
54
3
30
18
0.934783
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
522f9e5edad9455019554471e2510b784d407cd1
161,413
py
Python
template_container_ferret/labels/slice_27.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
template_container_ferret/labels/slice_27.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
template_container_ferret/labels/slice_27.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
coordinates_FFFFCC = ((149, 117), (149, 118), (149, 119), (149, 120), (149, 121), (149, 122), (149, 123), (149, 124), (149, 125), (149, 126), (149, 127), (149, 128), (149, 129), (149, 130), (150, 111), (150, 112), (150, 113), (150, 114), (150, 115), (150, 116), (150, 131), (150, 133), (151, 107), (151, 108), (151, 10...
757.807512
865
0.47871
27,910
161,413
2.768148
0.010677
0.000155
0
0
0
0
0
0
0
0
0
0.57937
0.175537
161,413
212
866
761.382075
0.00118
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
523043f53ce98e255f1ad2899fd6cb25f741775d
285
py
Python
Task2C.py
Talha1337/ia-flood-risk-project-94-
8a17087d29e3b6affa8eb9fc1ced7b82d7d0ff75
[ "MIT" ]
null
null
null
Task2C.py
Talha1337/ia-flood-risk-project-94-
8a17087d29e3b6affa8eb9fc1ced7b82d7d0ff75
[ "MIT" ]
1
2022-01-22T22:19:10.000Z
2022-01-23T09:26:11.000Z
Task2C.py
Talha1337/ia-flood-risk-project-94-
8a17087d29e3b6affa8eb9fc1ced7b82d7d0ff75
[ "MIT" ]
1
2022-01-22T22:15:18.000Z
2022-01-22T22:15:18.000Z
from floodsystem.stationdata import build_station_list, update_water_levels from floodsystem.flood import stations_highest_rel_level stations = build_station_list() update_water_levels(stations) print(stations_highest_rel_level(stations,10)) #list of 10 stations with the highest level
57
90
0.877193
41
285
5.756098
0.487805
0.127119
0.135593
0.186441
0.542373
0.279661
0
0
0
0
0
0.015152
0.073684
285
5
90
57
0.878788
0.147368
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
52518488d3c4e94f082283c6b8381182a2628783
176
py
Python
questioneer/questions/__init__.py
markdentoom/Questioneer
79cd65168a4ff2e0f7cf7c52c51e6d1cbffb1318
[ "MIT" ]
null
null
null
questioneer/questions/__init__.py
markdentoom/Questioneer
79cd65168a4ff2e0f7cf7c52c51e6d1cbffb1318
[ "MIT" ]
null
null
null
questioneer/questions/__init__.py
markdentoom/Questioneer
79cd65168a4ff2e0f7cf7c52c51e6d1cbffb1318
[ "MIT" ]
null
null
null
# https://docs.djangoproject.com/en/4.0/ref/applications/#for-application-authors # Shouldn't be needed for Django >= 3.2 default_app_config = "questions.apps.QuestionsConfig"
44
81
0.784091
26
176
5.230769
0.961538
0
0
0
0
0
0
0
0
0
0
0.02454
0.073864
176
3
82
58.666667
0.809816
0.659091
0
0
0
0
0.535714
0.535714
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
527c3908c9149893665577df1373a348d5d7ff06
571
py
Python
examples/hica/injectors/env_passthrough.py
connectthefuture/docker-hacks
d7ea13522188233d5e8a97179d2b0a872239f58d
[ "MIT" ]
null
null
null
examples/hica/injectors/env_passthrough.py
connectthefuture/docker-hacks
d7ea13522188233d5e8a97179d2b0a872239f58d
[ "MIT" ]
1
2021-03-20T04:49:20.000Z
2021-03-20T04:49:20.000Z
examples/hica/injectors/env_passthrough.py
connectthefuture/docker-hacks
d7ea13522188233d5e8a97179d2b0a872239f58d
[ "MIT" ]
null
null
null
# vim: set fileencoding=utf-8 # Pavel Odvody <podvody@redhat.com> # # HICA - Host integrated container applications # # MIT License (C) 2015 import os from base.hica_base import * class EnvPassthroughInjector(HicaInjector): def get_description(self): return "Bind mounts current environment into the container" ...
23.791667
63
0.744308
73
571
5.69863
0.684932
0.043269
0.057692
0
0
0
0
0
0
0
0
0.010288
0.148862
571
23
64
24.826087
0.845679
0.224168
0
0
0
0
0.178899
0.052752
0
0
0
0
0
1
0.333333
false
0.25
0.166667
0.25
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
1
0
1
0
1
0
0
0
3
8708192f417e910496755525c03cef2ef8534c00
343
py
Python
tests/test_importers.py
zweifisch/klar
b04f635e39fc89625cf810286e5a89f8f7ddf434
[ "MIT" ]
1
2015-04-12T08:41:17.000Z
2015-04-12T08:41:17.000Z
tests/test_importers.py
zweifisch/klar
b04f635e39fc89625cf810286e5a89f8f7ddf434
[ "MIT" ]
null
null
null
tests/test_importers.py
zweifisch/klar
b04f635e39fc89625cf810286e5a89f8f7ddf434
[ "MIT" ]
null
null
null
import klar class TestImporters: def test_template_import(self): import templates.index expected = "<html>&lt;i&gt;html&lt;/i&gt;</html>\n" assert templates.index({'html': '<i>html</i>'}) == expected def test_json_import(self): from schemas import product assert produ...
24.5
67
0.623907
44
343
4.772727
0.522727
0.066667
0.066667
0.085714
0.104762
0
0
0
0
0
0
0
0.227405
343
13
68
26.384615
0.792453
0
0
0
0
0
0.183673
0.110787
0
0
0
0
0.222222
1
0.222222
false
0
0.666667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
8719e8e80666231983cf95ddcdbaa5f149cc749a
63
py
Python
wikimedia_thumbor/error_handlers/logstash/__init__.py
wikimedia/operations-software-thumbor-plugins
b30f1594e05118a1d2ed77a886d270866206d08a
[ "MIT" ]
2
2017-06-14T15:14:50.000Z
2018-02-19T12:38:00.000Z
wikimedia_thumbor/error_handlers/logstash/__init__.py
wikimedia/operations-debs-python-thumbor-wikimedia
555f99fd500a95e00778fa740ac08e41dc6ff896
[ "MIT" ]
null
null
null
wikimedia_thumbor/error_handlers/logstash/__init__.py
wikimedia/operations-debs-python-thumbor-wikimedia
555f99fd500a95e00778fa740ac08e41dc6ff896
[ "MIT" ]
null
null
null
from .logstash import ErrorHandler __all__ = ['ErrorHandler']
15.75
34
0.777778
6
63
7.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.126984
63
3
35
21
0.818182
0
0
0
0
0
0.190476
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
87432bc88f82f20da05d2ba8007b2d6f1ed2c77a
191
py
Python
toy/hello.py
bheavner/python_toy
51cb42232784da9d8d39b95d3994bc75548ff2a3
[ "MIT" ]
null
null
null
toy/hello.py
bheavner/python_toy
51cb42232784da9d8d39b95d3994bc75548ff2a3
[ "MIT" ]
null
null
null
toy/hello.py
bheavner/python_toy
51cb42232784da9d8d39b95d3994bc75548ff2a3
[ "MIT" ]
null
null
null
"""Hello world module""" def hello_func(): """return 'Hello!'""" return "Hello!" def main(): """print 'Hello!'""" print(hello_func()) if __name__ == '__main__': main()
14.692308
26
0.549738
21
191
4.52381
0.47619
0.189474
0
0
0
0
0
0
0
0
0
0
0.219895
191
12
27
15.916667
0.637584
0.256545
0
0
0
0
0.111111
0
0
0
0
0
0
1
0.333333
true
0
0
0
0.5
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
3
8760592660f1ebd3eeb78423a84053e0e6c776db
537
py
Python
leapp/messaging/testing.py
drehak/leapp
062c76859e6b4a68592c6a387e44a2c1d36949ff
[ "Apache-2.0" ]
null
null
null
leapp/messaging/testing.py
drehak/leapp
062c76859e6b4a68592c6a387e44a2c1d36949ff
[ "Apache-2.0" ]
3
2022-01-31T10:24:53.000Z
2022-03-29T12:30:04.000Z
leapp/messaging/testing.py
drehak/leapp
062c76859e6b4a68592c6a387e44a2c1d36949ff
[ "Apache-2.0" ]
null
null
null
from leapp.messaging import BaseMessaging class TestMessaging(BaseMessaging): """ This class implements a messaging implementation made for unit tests - Data is only stored in memory and not stored in a database. """ def __init__(self): super(TestMessaging, self).__init__(stored=False) ...
24.409091
108
0.689013
65
537
5.492308
0.615385
0.044818
0
0
0
0
0
0
0
0
0
0
0.22905
537
21
109
25.571429
0.862319
0.242086
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0.1
0.1
0.1
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
5e4086097abce018f35218e719c55183f731af3a
300
py
Python
gecko/geckolib/automation/keypad.py
mmillmor/home_assistant-components
625f97413bd6516a2358220a80819b85cc8072c6
[ "Apache-2.0" ]
null
null
null
gecko/geckolib/automation/keypad.py
mmillmor/home_assistant-components
625f97413bd6516a2358220a80819b85cc8072c6
[ "Apache-2.0" ]
null
null
null
gecko/geckolib/automation/keypad.py
mmillmor/home_assistant-components
625f97413bd6516a2358220a80819b85cc8072c6
[ "Apache-2.0" ]
1
2022-03-07T20:04:05.000Z
2022-03-07T20:04:05.000Z
""" Gecko Keypads """ from .base import GeckoAutomationBase class GeckoKeypad(GeckoAutomationBase): """ Keypad management class """ def __init__(self, facade): super().__init__(facade, "Keypad", "KEYPAD") def __str__(self): return f"{self.name}: Not implemented yet"
21.428571
52
0.663333
31
300
6.032258
0.709677
0
0
0
0
0
0
0
0
0
0
0
0.203333
300
13
53
23.076923
0.782427
0.126667
0
0
0
0
0.177419
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
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
1
0
0
0
1
1
0
0
3
5e5ab4d89b49f603b57bdc7eebcea7090b716235
96
py
Python
goutdotcom/profiles/tests/test_models.py
Spiewart/goutdotcom
0916155732a72fcb8c8a2fb0f4dd81efef618af8
[ "MIT" ]
null
null
null
goutdotcom/profiles/tests/test_models.py
Spiewart/goutdotcom
0916155732a72fcb8c8a2fb0f4dd81efef618af8
[ "MIT" ]
null
null
null
goutdotcom/profiles/tests/test_models.py
Spiewart/goutdotcom
0916155732a72fcb8c8a2fb0f4dd81efef618af8
[ "MIT" ]
null
null
null
import pytest from .factories import PatientProfileFactory pytestmark = pytest.mark.django_db
16
44
0.84375
11
96
7.272727
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.114583
96
5
45
19.2
0.941176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5e5d72d2f31d9b0571cf6c96a4731717e99398b1
1,446
py
Python
site_config/migrations/0015_auto_20171107_1326.py
LaudateCorpus1/apostello
1ace89d0d9e1f7a1760f6247d90a60a9787a4f12
[ "MIT" ]
69
2015-10-03T20:27:53.000Z
2021-04-06T05:26:18.000Z
site_config/migrations/0015_auto_20171107_1326.py
LaudateCorpus1/apostello
1ace89d0d9e1f7a1760f6247d90a60a9787a4f12
[ "MIT" ]
73
2015-10-03T17:53:47.000Z
2020-10-01T03:08:01.000Z
site_config/migrations/0015_auto_20171107_1326.py
LaudateCorpus1/apostello
1ace89d0d9e1f7a1760f6247d90a60a9787a4f12
[ "MIT" ]
29
2015-10-23T22:00:13.000Z
2021-11-30T04:48:06.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-07 13:26 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("site_config", "0014_auto_20171025_1053")] operations = [ migrations.AlterField( ...
35.268293
104
0.614799
152
1,446
5.664474
0.394737
0.116144
0.14518
0.168409
0.614402
0.565621
0.530778
0.466899
0.320557
0.174216
0
0.042614
0.26971
1,446
40
105
36.15
0.772727
0.047026
0
0.484848
1
0
0.197818
0.016727
0
0
0
0
0
1
0
false
0.060606
0.060606
0
0.151515
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
1
0
0
0
0
0
3
5e5ed336e0794f7c8063a01a344445e4f3d850e6
303
py
Python
ChamarScriptLinux/Main.py
LeandroTeodoroRJ/ExemplosPython
a1e91beeb55599b5bf0e8e876d2fc1c541d821cb
[ "MIT" ]
1
2021-12-24T20:46:29.000Z
2021-12-24T20:46:29.000Z
ChamarScriptLinux/Main.py
LeandroTeodoroRJ/ExemplosPython
a1e91beeb55599b5bf0e8e876d2fc1c541d821cb
[ "MIT" ]
null
null
null
ChamarScriptLinux/Main.py
LeandroTeodoroRJ/ExemplosPython
a1e91beeb55599b5bf0e8e876d2fc1c541d821cb
[ "MIT" ]
1
2021-12-24T20:46:20.000Z
2021-12-24T20:46:20.000Z
###################################################### # Programa principal em Python ###################################################### import os #Importa módulo var="Param1" #Parâmetro que será passado para o shell os.system("./LinuxScript.sh %s" %var) #Chamada do script com o parâmetro
43.285714
72
0.465347
29
303
4.862069
0.862069
0
0
0
0
0
0
0
0
0
0
0.003759
0.122112
303
6
73
50.5
0.526316
0.379538
0
0
0
0
0.367647
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5e663e3a271942a3db4b0cd5ac287d3f7dc33366
1,790
py
Python
boozo/utils/timestamp.py
skillplot/pyboozo
8013704b0d50bbb5a578fbf3a19d3d478d8b6816
[ "Apache-2.0" ]
null
null
null
boozo/utils/timestamp.py
skillplot/pyboozo
8013704b0d50bbb5a578fbf3a19d3d478d8b6816
[ "Apache-2.0" ]
null
null
null
boozo/utils/timestamp.py
skillplot/pyboozo
8013704b0d50bbb5a578fbf3a19d3d478d8b6816
[ "Apache-2.0" ]
null
null
null
## Copyright (c) 2020 mangalbhaskar """Common date and timestamp utilities and inter-conversion of them. Dependencies: arrow References: * http://zetcode.com/python/arrow/ """ __author__ = 'mangalbhaskar' import os import arrow from boozo.boot._log_ import log from .typeformats import * def now(): """retur...
24.189189
116
0.73743
256
1,790
4.953125
0.363281
0.027603
0.049685
0.033123
0.192429
0.192429
0.192429
0.130915
0.130915
0.130915
0
0.006693
0.165363
1,790
73
117
24.520548
0.842035
0.516201
0
0.071429
0
0
0.01625
0
0
0
0
0.027397
0
1
0.214286
false
0
0.178571
0
0.607143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
5e67d6791fd4124e7f8682cad22527a17285581a
1,022
py
Python
sdk/python/pulumi_time/__init__.py
tmeckel/pulumi-time
4ed806e65b66edb933bc74930e9416033a2010dc
[ "ECL-2.0", "Apache-2.0" ]
1
2022-02-13T22:38:03.000Z
2022-02-13T22:38:03.000Z
sdk/python/pulumi_time/__init__.py
tmeckel/pulumi-time
4ed806e65b66edb933bc74930e9416033a2010dc
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_time/__init__.py
tmeckel/pulumi-time
4ed806e65b66edb933bc74930e9416033a2010dc
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** from . import _utilities import typing # Export this package's modules as members: from .provider import * from .time_offset import * f...
19.653846
87
0.634051
116
1,022
5.491379
0.482759
0.043956
0.081633
0.070644
0.136578
0.136578
0
0
0
0
0
0.001196
0.181996
1,022
51
88
20.039216
0.760766
0.214286
0
0.23913
1
0
0.709273
0.192982
0
0
0
0
0
1
0
true
0
0.130435
0
0.130435
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
5e7266d3585db75113df571d4b3cf56bfd976b91
491
py
Python
python/lsst/integration_test_reporting/utils/__init__.py
lsst-sitcom/integration_test_reporting
1d8790d03e87c0f1a3824116170ad389bb6944a8
[ "BSD-3-Clause" ]
null
null
null
python/lsst/integration_test_reporting/utils/__init__.py
lsst-sitcom/integration_test_reporting
1d8790d03e87c0f1a3824116170ad389bb6944a8
[ "BSD-3-Clause" ]
null
null
null
python/lsst/integration_test_reporting/utils/__init__.py
lsst-sitcom/integration_test_reporting
1d8790d03e87c0f1a3824116170ad389bb6944a8
[ "BSD-3-Clause" ]
null
null
null
# Developed for the LSST System Integration, Test and Commissioning Team. # This product includes software developed by the LSST Project # (http://www.lsst.org). # See the LICENSE file at the top-level directory of this distribution # for details of code ownership. # # Use of this source code is governed by a 3-clause ...
32.733333
73
0.759674
78
491
4.769231
0.679487
0.107527
0.075269
0
0
0
0
0
0
0
0
0.002463
0.173116
491
14
74
35.071429
0.913793
0.737271
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
5e85fa2630e759614d2bc50813720054c8d0f4e1
740
py
Python
examples/python/number/minimum.py
rockacola/neo-smart-contract-examples
d358c31d99fd7c2eed29008f92c123968ef94b0a
[ "MIT" ]
15
2018-03-04T10:39:41.000Z
2021-12-02T11:07:10.000Z
examples/python/number/minimum.py
rockacola/neo-smart-contract-examples
d358c31d99fd7c2eed29008f92c123968ef94b0a
[ "MIT" ]
1
2018-07-09T08:18:48.000Z
2019-10-23T14:40:11.000Z
examples/python/number/minimum.py
rockacola/neo-smart-contract-examples
d358c31d99fd7c2eed29008f92c123968ef94b0a
[ "MIT" ]
7
2018-02-27T23:26:46.000Z
2021-08-18T05:45:37.000Z
""" Date Created: 2018-03-08 Date Modified: 2018-03-08 Version: 1 Contract Hash: 1aa965c53c373ef9d3be065bdb36b234cdcab66a Available on NEO TestNet: False Available on CoZ TestNet: False Available on MainNet: False Example: Test Invoke: ...
25.517241
78
0.590541
95
740
4.6
0.621053
0.075515
0.036613
0.105263
0
0
0
0
0
0
0
0.110204
0.337838
740
28
79
26.428571
0.781633
0.854054
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
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
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
5e989bdb88d8e976a21412a068fadfac766910f8
103
py
Python
src/zope/mimetype/__init__.py
zopefoundation/zope.mimetype
26e7bcf03b5fec387c346fea8443e285560e3285
[ "ZPL-2.1" ]
1
2021-02-04T06:53:08.000Z
2021-02-04T06:53:08.000Z
src/zope/mimetype/__init__.py
zopefoundation/zope.mimetype
26e7bcf03b5fec387c346fea8443e285560e3285
[ "ZPL-2.1" ]
18
2015-06-08T06:55:35.000Z
2021-03-25T18:36:15.000Z
src/zope/mimetype/__init__.py
zopefoundation/zope.mimetype
26e7bcf03b5fec387c346fea8443e285560e3285
[ "ZPL-2.1" ]
2
2015-04-03T09:12:42.000Z
2015-06-07T12:26:33.000Z
from zope.mimetype import mtypes types = mtypes # alternate spelling/backwards (1.3) compatible export
34.333333
69
0.805825
14
103
5.928571
0.928571
0
0
0
0
0
0
0
0
0
0
0.022222
0.126214
103
2
70
51.5
0.9
0.504854
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5eb3deaf58e55a5170e11d2830a6b5efa426b8e6
14,891
py
Python
openmdao.lib/src/openmdao/lib/drivers/test/test_newton.py
MrShoks/OpenMDAO-Framework
412f34ffe31a95631fbe55ca7d75b84669ae8f8c
[ "Apache-2.0" ]
1
2020-06-28T20:38:56.000Z
2020-06-28T20:38:56.000Z
openmdao.lib/src/openmdao/lib/drivers/test/test_newton.py
MrShoks/OpenMDAO-Framework
412f34ffe31a95631fbe55ca7d75b84669ae8f8c
[ "Apache-2.0" ]
null
null
null
openmdao.lib/src/openmdao/lib/drivers/test/test_newton.py
MrShoks/OpenMDAO-Framework
412f34ffe31a95631fbe55ca7d75b84669ae8f8c
[ "Apache-2.0" ]
null
null
null
""" Test the Newton solver """ import unittest import numpy # pylint: disable=F0401,E0611 from openmdao.lib.drivers.newton_solver import NewtonSolver from openmdao.lib.optproblems.scalable import Discipline from openmdao.lib.optproblems.sellar import Discipline1_WithDerivatives, \ ...
29.782
76
0.542005
2,096
14,891
3.742366
0.097805
0.059791
0.023712
0.057369
0.70589
0.668154
0.658083
0.628506
0.611168
0.601734
0
0.085826
0.310657
14,891
499
77
29.841683
0.678324
0.095964
0
0.708464
0
0
0.050827
0
0
0
0
0
0.081505
0
null
null
0
0.040752
null
null
0.028213
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
5eb86c8bfa9ce9ff1eea5961f8f1fcb87b387cb1
3,961
py
Python
quotesbot/spiders/toscrape-css.py
benmoorechd/quotesbot
53740f2b3cf1210947ef3cf29c71161b10698040
[ "MIT" ]
null
null
null
quotesbot/spiders/toscrape-css.py
benmoorechd/quotesbot
53740f2b3cf1210947ef3cf29c71161b10698040
[ "MIT" ]
null
null
null
quotesbot/spiders/toscrape-css.py
benmoorechd/quotesbot
53740f2b3cf1210947ef3cf29c71161b10698040
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import scrapy class ToScrapeCSSSpider(scrapy.Spider): name = "www.doralkia.com" allowed_domains = ['www.doralkia.com'] start_urls = ['https://www.doralkia.com/searchnew.aspx'] rules = [ Rule( LinkExtractor( allow=('.*'), deny=...
35.684685
148
0.289068
253
3,961
4.482213
0.343874
0.111111
0.203704
0.21164
0.343915
0.343915
0.044092
0
0
0
0
0.02047
0.580661
3,961
110
149
36.009091
0.662252
0.005302
0
0.383178
0
0.009346
0.27806
0.189944
0
0
0
0
0
1
0
false
0
0.009346
0
0.065421
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0d5a705e6682511f1c55322a6a4ff1cb2c67b2ea
2,566
py
Python
josm/uniteStopAreaRelationsByName.py
mapanica/scripts
320cd6d6b40ddec064143cca8e7ea900f6e5d6a4
[ "MIT" ]
null
null
null
josm/uniteStopAreaRelationsByName.py
mapanica/scripts
320cd6d6b40ddec064143cca8e7ea900f6e5d6a4
[ "MIT" ]
null
null
null
josm/uniteStopAreaRelationsByName.py
mapanica/scripts
320cd6d6b40ddec064143cca8e7ea900f6e5d6a4
[ "MIT" ]
null
null
null
#!/bin/jython ''' This code is released under the WTFPL – Do What the Fuck You Want to Public License. ''' from javax.swing import JOptionPane from org.openstreetmap.josm import Main import org.openstreetmap.josm.command as Command import org.openstreetmap.josm.data.osm.Node as Node import org.openstreetmap.josm.data...
34.675676
104
0.646532
302
2,566
5.490066
0.39404
0.115802
0.144753
0.172497
0.238239
0.180338
0
0
0
0
0
0.004271
0.27007
2,566
73
105
35.150685
0.880406
0.105612
0
0.088889
0
0
0.022789
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.066667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
0d6dd241a1d26786159c5d629e7a8732cf723555
183
py
Python
blog/articles/urls.py
dotHashemi/django-practice
69c538adf19121bda3d25e3f4fad91b06619f6f1
[ "MIT" ]
1
2021-01-12T07:22:14.000Z
2021-01-12T07:22:14.000Z
blog/articles/urls.py
dotHashemi/learning-django
69c538adf19121bda3d25e3f4fad91b06619f6f1
[ "MIT" ]
null
null
null
blog/articles/urls.py
dotHashemi/learning-django
69c538adf19121bda3d25e3f4fad91b06619f6f1
[ "MIT" ]
null
null
null
from django.urls import path from articles import views urlpatterns = [ path('', views.index, name='articles.index'), path('<int:id>/', views.show, name='articles.show'), ]
20.333333
56
0.672131
24
183
5.125
0.541667
0.195122
0
0
0
0
0
0
0
0
0
0
0.153005
183
8
57
22.875
0.793548
0
0
0
0
0
0.196721
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0d7e0c6df37b66600ae77d5e1bb64b68c460868d
588
py
Python
app/razorpay_gateway/models.py
S3Infosoft/s3-loyalty-webapp
264b98a325ccfa683737e03623acc99fe3053a99
[ "MIT" ]
null
null
null
app/razorpay_gateway/models.py
S3Infosoft/s3-loyalty-webapp
264b98a325ccfa683737e03623acc99fe3053a99
[ "MIT" ]
7
2019-06-17T04:11:38.000Z
2019-08-01T06:23:46.000Z
app/razorpay_gateway/models.py
S3Infosoft/mvr-loyalty
264b98a325ccfa683737e03623acc99fe3053a99
[ "MIT" ]
null
null
null
from django.db import models from django.utils import timezone import datetime # Create your models here. class PurchaseOrder(models.Model): razorpay_payment_id=models.CharField(max_length=100) razorpay_order_id=models.CharField(max_length=100) razorpay_signature=models.CharField(max_length=500) user_unique_id=mo...
28
58
0.829932
85
588
5.482353
0.529412
0.135193
0.193133
0.257511
0.214592
0.158798
0.158798
0
0
0
0
0.031365
0.078231
588
20
59
29.4
0.828413
0.040816
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0.071429
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
0d8b7430eeabb7a4911f67b32b1e0e38fad018e0
112
py
Python
Lib/test/bugs/pr183.py
jimmyyu2004/jython
5b4dc2d54d01a6fda8c55d07b2608167e7a40769
[ "CNRI-Jython" ]
332
2015-08-22T12:43:56.000Z
2022-03-17T01:05:43.000Z
Lib/test/bugs/pr183.py
Pandinosaurus/jython3
def4f8ec47cb7a9c799ea4c745f12badf92c5769
[ "CNRI-Jython" ]
36
2015-05-30T08:39:19.000Z
2022-03-04T20:42:33.000Z
Lib/test/bugs/pr183.py
Pandinosaurus/jython3
def4f8ec47cb7a9c799ea4c745f12badf92c5769
[ "CNRI-Jython" ]
74
2015-05-29T17:18:53.000Z
2022-01-15T14:06:44.000Z
# Test case for PR#183; print of a recursive PyStringMap causes a JVM stack # overflow. g = globals() print(g)
18.666667
75
0.723214
19
112
4.263158
0.842105
0
0
0
0
0
0
0
0
0
0
0.032967
0.1875
112
5
76
22.4
0.857143
0.732143
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
0d90b52f7dfac208aa90b480b3f33f8a8fb5926d
12,122
py
Python
starthinker/task/ga_settings_download/ga_schemas.py
viohman/starthinker
20bd2d7fd1e541eb8a2c9b7159941f667e22e38e
[ "Apache-2.0" ]
null
null
null
starthinker/task/ga_settings_download/ga_schemas.py
viohman/starthinker
20bd2d7fd1e541eb8a2c9b7159941f667e22e38e
[ "Apache-2.0" ]
6
2021-03-19T12:00:18.000Z
2022-02-10T09:43:42.000Z
starthinker/task/ga_settings_download/ga_schemas.py
viohman/starthinker
20bd2d7fd1e541eb8a2c9b7159941f667e22e38e
[ "Apache-2.0" ]
null
null
null
########################################################################### # # Copyright 2019 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 # # https://www.apache.org/...
19.520129
75
0.406121
835
12,122
5.877844
0.192814
0.226161
0.305216
0.04238
0.655257
0.615933
0.590261
0.493276
0.479625
0.453953
0
0.001042
0.366524
12,122
620
76
19.551613
0.638104
0.046032
0
0.884228
0
0
0.381328
0.035448
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0d986b695f1a7623eb3bd031692254f3aa6181ae
288
py
Python
sortsearch/ferriswheel.py
ashutoshdumiyan/CSES-Solutions
48ff04f0003c2a1f808412497a22c7c7841bb3db
[ "MIT" ]
null
null
null
sortsearch/ferriswheel.py
ashutoshdumiyan/CSES-Solutions
48ff04f0003c2a1f808412497a22c7c7841bb3db
[ "MIT" ]
null
null
null
sortsearch/ferriswheel.py
ashutoshdumiyan/CSES-Solutions
48ff04f0003c2a1f808412497a22c7c7841bb3db
[ "MIT" ]
null
null
null
from sys import stdin n, x = map(int, stdin.readline().split()) li = [int(c) for c in stdin.readline().split()] li.sort() res = 0 i = 0 j = n - 1 while i <= j: if li[i] + li[j] > x: j -= 1 else: i += 1 j -= 1 res += 1 print(res)
14.4
48
0.440972
49
288
2.591837
0.489796
0.204724
0.283465
0.314961
0
0
0
0
0
0
0
0.039548
0.385417
288
19
49
15.157895
0.677966
0
0
0.133333
0
0
0
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.066667
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0db99303796805a3d4df7113fbb15b9c40eb36bd
423
py
Python
bookstore/src/cart/dummy.py
mehulk99/Online-Book-Store
27c64b31e6fd33ae3db0bde351f889518de41eb1
[ "Apache-2.0" ]
1
2021-01-28T13:30:09.000Z
2021-01-28T13:30:09.000Z
bookstore/src/cart/dummy.py
webguru071/Django-Online-Book-Store
ac4c864b732c9774e0aca1352045c124f5c4ca42
[ "CC0-1.0" ]
null
null
null
bookstore/src/cart/dummy.py
webguru071/Django-Online-Book-Store
ac4c864b732c9774e0aca1352045c124f5c4ca42
[ "CC0-1.0" ]
null
null
null
class SomeSingleton(object): __instance__ = None def __new__(cls, *args,**kwargs): if SomeSingleton.__instance__ is None: SomeSingleton.__instance__ = object.__new__(cls) return SomeSingleton.__instance__ def __init__(self,f=0,y=0): self.f = f self.y= y def ...
23.5
60
0.619385
49
423
4.591837
0.55102
0.28
0
0
0
0
0
0
0
0
0
0.032258
0.267139
423
18
61
23.5
0.693548
0
0
0
0
0
0.037736
0
0
0
0
0
0
1
0.230769
false
0.076923
0
0
0.461538
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
1
0
1
0
0
0
0
0
3
0dba3971c7a22f59808c6c6d6b98ac85ffe8546e
132
py
Python
zeus/urls.py
flyliufu/PythonDemo
9f31998a53e94b4036c6e96d80748945845b82b6
[ "Apache-2.0" ]
null
null
null
zeus/urls.py
flyliufu/PythonDemo
9f31998a53e94b4036c6e96d80748945845b82b6
[ "Apache-2.0" ]
null
null
null
zeus/urls.py
flyliufu/PythonDemo
9f31998a53e94b4036c6e96d80748945845b82b6
[ "Apache-2.0" ]
null
null
null
from django.urls import path from . import views app_name = 'zeus' urlpatterns = [ path('token', views.token, name='token'), ]
16.5
45
0.681818
18
132
4.944444
0.611111
0
0
0
0
0
0
0
0
0
0
0
0.174242
132
7
46
18.857143
0.816514
0
0
0
0
0
0.106061
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0dc6c355f065e63f43fd65d75583a26fffcee6b5
24
py
Python
scripts/visualstudio/__init__.py
GeneralLeeInept/inpet
620aba314023d3b4c12ef04ea28ce8c3e5401f28
[ "BSD-3-Clause" ]
null
null
null
scripts/visualstudio/__init__.py
GeneralLeeInept/inpet
620aba314023d3b4c12ef04ea28ce8c3e5401f28
[ "BSD-3-Clause" ]
null
null
null
scripts/visualstudio/__init__.py
GeneralLeeInept/inpet
620aba314023d3b4c12ef04ea28ce8c3e5401f28
[ "BSD-3-Clause" ]
null
null
null
__all__ = ["solution"]
8
22
0.625
2
24
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
24
2
23
12
0.55
0
0
0
0
0
0.347826
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0dd4d8bda8a3bcea5d3ebb93e410955baeed45ab
24,019
py
Python
sf/spectral_models.py
synchrofit/synchrofit
9c60117b4753b9b599709c5bba4f38e992d15f20
[ "MIT" ]
12
2021-02-26T05:24:06.000Z
2021-12-06T08:03:58.000Z
sf/spectral_models.py
synchrofit/synchrofit
9c60117b4753b9b599709c5bba4f38e992d15f20
[ "MIT" ]
null
null
null
sf/spectral_models.py
synchrofit/synchrofit
9c60117b4753b9b599709c5bba4f38e992d15f20
[ "MIT" ]
1
2022-01-12T11:50:32.000Z
2022-01-12T11:50:32.000Z
#!/usr/bin/env python __author__ = "Benjamin Quici, Ross J. Turner" __date__ = "29/05/2021" import numpy as np from numba import jit, njit """ Functions describing the standard and tribble forms of the JP, KP and CI models. """ #TODO: investigate parallel=True mode in numba def besselK53(): """ (usage) Retu...
66.534626
2,945
0.561306
3,202
24,019
4.103373
0.250781
0.015222
0.034097
0.008524
0.56709
0.562067
0.562067
0.557805
0.554152
0.544486
0
0.275885
0.305966
24,019
361
2,946
66.534626
0.512298
0.166868
0
0.716279
0
0
0.012257
0
0
0
0
0.00277
0
1
0.013953
false
0
0.009302
0
0.023256
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0de0414c92f8c6c2ac2170c7b242f6b274d8a767
36
py
Python
utils/restful_status.py
jin-hao-chen/team_go_backend
22d376f649b4e5746091d17ed2cefaceb006e1ff
[ "MIT" ]
null
null
null
utils/restful_status.py
jin-hao-chen/team_go_backend
22d376f649b4e5746091d17ed2cefaceb006e1ff
[ "MIT" ]
null
null
null
utils/restful_status.py
jin-hao-chen/team_go_backend
22d376f649b4e5746091d17ed2cefaceb006e1ff
[ "MIT" ]
null
null
null
STATUS_SUCCESS = 0 STATUS_ERROR = 1
12
18
0.777778
6
36
4.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0.066667
0.166667
36
2
19
18
0.8
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0dee0559a7f5d5115b4986f1dc983a591878e689
1,917
py
Python
src/apex/algo/shared.py
kpwhri/apex_iud_nlp
f59afbd5d19d6bae21264f6de7ee24382ccb694e
[ "MIT" ]
1
2021-09-23T18:24:15.000Z
2021-09-23T18:24:15.000Z
src/apex/algo/shared.py
kpwhri/apex_iud_nlp
f59afbd5d19d6bae21264f6de7ee24382ccb694e
[ "MIT" ]
null
null
null
src/apex/algo/shared.py
kpwhri/apex_iud_nlp
f59afbd5d19d6bae21264f6de7ee24382ccb694e
[ "MIT" ]
1
2021-09-23T18:24:19.000Z
2021-09-23T18:24:19.000Z
from apex.algo.pattern import Pattern # date pattern years_ago = r'(?:\d+ (?:year|yr|week|wk|month|mon|day)s? (?:ago|before|previous))' date_pat = r'\d+[-/]\d+[-/]\d+' date2_pat = r'\d+[/]\d+' month_pat = r'\b(?:jan|feb|mar|apr|may|jun|jul|aug|sept|oct|nov|dec)\w*(?:\W*\d{1,2})?\W*\d{4}' month_only_pat = r'in\b(?:jan|...
54.771429
115
0.671883
306
1,917
4.153595
0.598039
0.012589
0.007868
0.009441
0.061369
0.061369
0.061369
0.061369
0.061369
0.061369
0
0.002939
0.112676
1,917
34
116
56.382353
0.744268
0.062076
0
0
0
0.346154
0.72433
0.609933
0
0
0
0
0
1
0
false
0
0.038462
0
0.038462
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0df447e48ef0360c26cbde46b317bfb37f419f2a
234
py
Python
django/tests/conftest.py
fossabot/docker-django
1758527e02a6c028601de2662e3efcab3e05be32
[ "MIT" ]
null
null
null
django/tests/conftest.py
fossabot/docker-django
1758527e02a6c028601de2662e3efcab3e05be32
[ "MIT" ]
null
null
null
django/tests/conftest.py
fossabot/docker-django
1758527e02a6c028601de2662e3efcab3e05be32
[ "MIT" ]
null
null
null
import pytest from rest_framework.test import APIClient from tests.factories import accounts @pytest.fixture def api_client(): api = APIClient() return api @pytest.fixture def superuser(): return accounts.superuser()
14.625
41
0.752137
29
234
6
0.551724
0.149425
0.183908
0
0
0
0
0
0
0
0
0
0.17094
234
15
42
15.6
0.896907
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.3
0.1
0.7
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
1
0
0
3