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
8260a97d7d297619fb75cb87995e6617973f2de5
1,826
py
Python
envmgr/models.py
jseidl/envmgr
9375d42eb628e7426360d31c5f5e56eb42d75c78
[ "MIT" ]
1
2019-07-13T21:32:04.000Z
2019-07-13T21:32:04.000Z
envmgr/models.py
jseidl/envmgr
9375d42eb628e7426360d31c5f5e56eb42d75c78
[ "MIT" ]
3
2019-12-18T00:21:32.000Z
2019-12-18T00:22:15.000Z
envmgr/models.py
jseidl/envmgr
9375d42eb628e7426360d31c5f5e56eb42d75c78
[ "MIT" ]
null
null
null
import logging import msgpack from getpass import getpass from abc import ABC from envmgr.config import save_config class Component(ABC): name = None component_type = None config = None logger = None default_options = {} def __init__(self, config): self.name = self.__class__.__na...
20.516854
65
0.643483
200
1,826
5.65
0.28
0.070796
0.143363
0.045133
0.19469
0.070796
0.070796
0
0
0
0
0
0.26506
1,826
88
66
20.75
0.842027
0.012596
0
0.203704
0
0
0.03276
0
0
0
0
0
0
1
0.259259
false
0.074074
0.092593
0.055556
0.62963
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
8271c80882de57697a7647cd8ae4a82d18acb40f
153
py
Python
backend/project/__init__.py
prog-serhii/MyMoney_v2
8d2aa3ec0497c7afd1a25bb9266bfc405e9c9397
[ "MIT" ]
1
2020-11-09T10:32:05.000Z
2020-11-09T10:32:05.000Z
backend/project/__init__.py
prog-serhii/MyMoney_v2
8d2aa3ec0497c7afd1a25bb9266bfc405e9c9397
[ "MIT" ]
null
null
null
backend/project/__init__.py
prog-serhii/MyMoney_v2
8d2aa3ec0497c7afd1a25bb9266bfc405e9c9397
[ "MIT" ]
null
null
null
# This will make sure the app is always imported when # Django starts so that shared_task will use this app. from .celery import app __all__ = ('app',)
25.5
54
0.745098
26
153
4.192308
0.807692
0
0
0
0
0
0
0
0
0
0
0
0.189542
153
5
55
30.6
0.879032
0.679739
0
0
0
0
0.065217
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
82793f983707ecd3b4fd226e59e0298ef6fd298e
2,635
py
Python
tag.py
davedavedavedavedavedavedavedavedave/RFUID
31903cde77eb50b24e919d9d4749e6398296e075
[ "MIT" ]
null
null
null
tag.py
davedavedavedavedavedavedavedavedave/RFUID
31903cde77eb50b24e919d9d4749e6398296e075
[ "MIT" ]
null
null
null
tag.py
davedavedavedavedavedavedavedavedave/RFUID
31903cde77eb50b24e919d9d4749e6398296e075
[ "MIT" ]
null
null
null
#!/usr/bin/env python from smartcard.util import toASCIIBytes, toHexString #from hashlib import sha256 from common import TagException from collections import defaultdict class TagInstructionNotSupported(TagException): pass class CardID(str): pass class CardUID(CardID): # Not very unique, as can be rando...
27.736842
82
0.59962
345
2,635
4.46087
0.452174
0.036387
0.011696
0.016894
0.049383
0.02729
0
0
0
0
0
0.031148
0.305503
2,635
94
83
28.031915
0.809836
0.31575
0
0.078431
0
0
0.067901
0
0
0
0.015713
0.010638
0
0
null
null
0.078431
0.117647
null
null
0.039216
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
1
0
0
0
0
0
3
828eed64dfd92cb1ffdc834b747c350d44a49b73
1,037
py
Python
neurokit2/complexity/entropy_maximum.py
danibene/NeuroKit
df0ab6696e7418cf8b8dcd3ed82dbf879fa61b3a
[ "MIT" ]
null
null
null
neurokit2/complexity/entropy_maximum.py
danibene/NeuroKit
df0ab6696e7418cf8b8dcd3ed82dbf879fa61b3a
[ "MIT" ]
null
null
null
neurokit2/complexity/entropy_maximum.py
danibene/NeuroKit
df0ab6696e7418cf8b8dcd3ed82dbf879fa61b3a
[ "MIT" ]
null
null
null
import numpy as np def entropy_maximum(signal): """**Maximum Entropy (MaxEn)** Provides an upper bound for the entropy of a random variable, so that the empirical entropy (obtained for instance with :func:`entropy_shannon`) will lie in between 0 and max. entropy. It can be useful to normalize the em...
24.690476
96
0.628737
140
1,037
4.621429
0.607143
0.064915
0.061824
0
0
0
0
0
0
0
0
0.013141
0.266152
1,037
41
97
25.292683
0.837057
0.796528
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
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
828ff72c35ee2d3bd51329ef2e1a22d8042d2ab3
268
py
Python
stweet/tweets_by_ids_runner/tweets_by_ids_result.py
barripdmx/stweet
c3620b355dc9f70eb2153feded9b82cb82e610ad
[ "MIT" ]
1
2021-04-15T17:45:39.000Z
2021-04-15T17:45:39.000Z
stweet/tweets_by_ids_runner/tweets_by_ids_result.py
chillerno1/stweet
ff7224a7b69b711b17247db40f859e620747e20b
[ "MIT" ]
null
null
null
stweet/tweets_by_ids_runner/tweets_by_ids_result.py
chillerno1/stweet
ff7224a7b69b711b17247db40f859e620747e20b
[ "MIT" ]
1
2022-01-05T11:20:31.000Z
2022-01-05T11:20:31.000Z
"""Class with result of TweetSearchRunner task.""" from dataclasses import dataclass from typing import List @dataclass class TweetsByIdsResult: """Class with result of TweetSearchRunner task.""" downloaded_count: int tweet_ids_not_scrapped: List[str]
20.615385
54
0.764925
32
268
6.28125
0.65625
0.089552
0.149254
0.169154
0.378109
0.378109
0
0
0
0
0
0
0.160448
268
12
55
22.333333
0.893333
0.33209
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.833333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
8293ab92448b039d624a3b0bd28b52e632f716a7
210
py
Python
evaluation/__init__.py
shuxiaobo/TextTransferLearning
6fb93bd43dde7012ece1bbe7a5beee0a991ccc43
[ "MIT" ]
null
null
null
evaluation/__init__.py
shuxiaobo/TextTransferLearning
6fb93bd43dde7012ece1bbe7a5beee0a991ccc43
[ "MIT" ]
null
null
null
evaluation/__init__.py
shuxiaobo/TextTransferLearning
6fb93bd43dde7012ece1bbe7a5beee0a991ccc43
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @Desc: @Author: shane @Contact: iamshanesue@gmail.com @Software: PyCharm @Since: Python3.6 @Date: 2019/1/9 @All right reserved """
19.090909
35
0.571429
26
210
4.615385
1
0
0
0
0
0
0
0
0
0
0
0.056962
0.247619
210
11
36
19.090909
0.702532
0.814286
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
82984377f96526c5dd7d83876d2600280db2b38d
701
py
Python
backend/gamestatistics/filters.py
b3none/Tensor
6c70c7d3ade6eabe4162d0b9eef0923c79ea1eba
[ "MIT" ]
null
null
null
backend/gamestatistics/filters.py
b3none/Tensor
6c70c7d3ade6eabe4162d0b9eef0923c79ea1eba
[ "MIT" ]
null
null
null
backend/gamestatistics/filters.py
b3none/Tensor
6c70c7d3ade6eabe4162d0b9eef0923c79ea1eba
[ "MIT" ]
3
2021-09-06T18:01:52.000Z
2021-10-18T02:49:53.000Z
#Définition des filtres pour les tableaux de statistiques. import django_filters from .models import Rank_awp, Rank_retake class Rank_awpFilter(django_filters.FilterSet): name = django_filters.CharFilter(label='Username', lookup_expr='icontains') steam = django_filters.CharFilter(label='SteamID', lookup_expr...
35.05
79
0.730385
82
701
6.036585
0.390244
0.183838
0.185859
0.226263
0.638384
0.638384
0.638384
0.638384
0.638384
0.638384
0
0
0.161198
701
20
80
35.05
0.841837
0.081312
0
0.571429
0
0
0.130435
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.714286
0
0
0
0
null
0
1
1
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
829db08c30ae5bd1dc6f9fa0884b9c667a4953c9
428
py
Python
cuenca/resources/identity_events.py
andreshndz/cuenca-python
ca9f0f078584f1458e71baeb4cd15fcc55b40397
[ "MIT" ]
null
null
null
cuenca/resources/identity_events.py
andreshndz/cuenca-python
ca9f0f078584f1458e71baeb4cd15fcc55b40397
[ "MIT" ]
null
null
null
cuenca/resources/identity_events.py
andreshndz/cuenca-python
ca9f0f078584f1458e71baeb4cd15fcc55b40397
[ "MIT" ]
null
null
null
import datetime as dt from typing import ClassVar from cuenca_validations.types import EventQuery, EventType from pydantic.dataclasses import dataclass from .base import Queryable, Retrievable @dataclass class IdentityEvent(Retrievable, Queryable): _resource: ClassVar = 'identity_events' _query_params: Clas...
22.526316
58
0.785047
50
428
6.56
0.66
0
0
0
0
0
0
0
0
0
0
0
0.165888
428
18
59
23.777778
0.918768
0
0
0
0
0
0.035047
0
0
0
0
0
0
1
0
true
0
0.384615
0
0.923077
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
82a0eeed841544475c71e3d6eb92ff9ea643aed4
4,149
py
Python
tests/test_market.py
merrymenco/iexfinance
2ec8d57d4d11c62b54c97c0f7eed3f07b48b43b0
[ "Apache-2.0" ]
null
null
null
tests/test_market.py
merrymenco/iexfinance
2ec8d57d4d11c62b54c97c0f7eed3f07b48b43b0
[ "Apache-2.0" ]
1
2020-07-08T16:50:55.000Z
2020-07-08T16:50:55.000Z
tests/test_market.py
merrymenco/iexfinance
2ec8d57d4d11c62b54c97c0f7eed3f07b48b43b0
[ "Apache-2.0" ]
1
2020-07-31T22:37:42.000Z
2020-07-31T22:37:42.000Z
import pytest from pandas import DataFrame from iexfinance import (get_market_tops, get_market_last, get_market_deep, get_market_book) class TestMarket(object): def setup_class(self): self.bad = ["AAPL", "TSLA", "MSFT", "F", "GOOGL", "STM", "DAL", "...
37.044643
79
0.643529
532
4,149
4.81015
0.12782
0.094959
0.07034
0.098476
0.811254
0.75381
0.695193
0.668621
0.663931
0.591247
0
0.009892
0.244637
4,149
111
80
37.378378
0.806637
0
0
0.378049
0
0
0.178306
0
0
0
0
0
0.195122
1
0.207317
false
0
0.036585
0
0.256098
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
82b7762ddb437df1ecc9bef37046023a40116a0c
3,557
py
Python
utilities/gen_intra_core.py
johannes-schuetze/ALTO-framework-sim
7a8d1df549188684ad3636434ccd6cf064e82c4f
[ "MIT" ]
null
null
null
utilities/gen_intra_core.py
johannes-schuetze/ALTO-framework-sim
7a8d1df549188684ad3636434ccd6cf064e82c4f
[ "MIT" ]
null
null
null
utilities/gen_intra_core.py
johannes-schuetze/ALTO-framework-sim
7a8d1df549188684ad3636434ccd6cf064e82c4f
[ "MIT" ]
null
null
null
#!/usr/bin/python #Master-Thesis dot parsing framework #Date: 14.01.2014 #Author: Bruno-Johannes Schuetze #Script generates the connections between core routers inside the pop. used to generate some of the edges (minus inter pop connection) #that are used to calc geodetic weights via findpath.pl import sys import ast...
58.311475
328
0.49761
786
3,557
2.245547
0.148855
0.015864
0.027195
0.045326
0.568272
0.541076
0.524079
0.524079
0.514448
0.514448
0
0.108881
0.173742
3,557
60
329
59.283333
0.491664
0.085184
0
0.097561
1
0.170732
0.420263
0
0
0
0
0
0
0
null
null
0
0.04878
null
null
0.073171
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
82c31411cff9281e3e5c6908b250a38c8a59e9f1
12,906
py
Python
tools/_cpy_/ssdb-cli.py
gameartteam/ssdb
879c1b8fd77bb70370eb56623cd1f07f20c4b253
[ "BSD-3-Clause" ]
null
null
null
tools/_cpy_/ssdb-cli.py
gameartteam/ssdb
879c1b8fd77bb70370eb56623cd1f07f20c4b253
[ "BSD-3-Clause" ]
null
null
null
tools/_cpy_/ssdb-cli.py
gameartteam/ssdb
879c1b8fd77bb70370eb56623cd1f07f20c4b253
[ "BSD-3-Clause" ]
null
null
null
# encoding=utf-8 # Generated by cpy # 2020-12-09 13:31:37.721789 import os, sys from sys import stdin, stdout import thread import re import time import socket import getopt import shlex import datetime #### start cpy import ### from engine import CpyEngine cpy = CpyEngine() dstfile = cpy.compile('/home/jure/workspace...
21.800676
337
0.624981
2,012
12,906
3.843439
0.138668
0.044226
0.066986
0.041898
0.342558
0.289538
0.262511
0.24001
0.183758
0.164878
0
0.024528
0.207113
12,906
591
338
21.837563
0.731164
0.027662
0
0.471058
1
0.001996
0.221651
0.0624
0
0
0
0
0
0
null
null
0.217565
0.05988
null
null
0.075848
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
7d53058e528820c25ba7803f66e477e3cca837c9
1,134
py
Python
application/ML_App/forms.py
ahmadhmirza/MasterThesis_ESM
a79077787a98f65d4bf501f6eab718e1c2556a5d
[ "MIT" ]
null
null
null
application/ML_App/forms.py
ahmadhmirza/MasterThesis_ESM
a79077787a98f65d4bf501f6eab718e1c2556a5d
[ "MIT" ]
null
null
null
application/ML_App/forms.py
ahmadhmirza/MasterThesis_ESM
a79077787a98f65d4bf501f6eab718e1c2556a5d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed, April 01 10:10:10 2020 @author: Ahmad H. Mirza scriptVersion = 1.0..0 """ from flask_wtf import FlaskForm # Field types can be imported from wtforms # Field validators from wtforms.validators from wtforms import StringField,TextField,SubmitField,PasswordField,FileField from ...
33.352941
108
0.726631
118
1,134
6.966102
0.559322
0.06691
0.051095
0.046229
0.085158
0.085158
0
0
0
0
0
0.016649
0.152557
1,134
34
109
33.352941
0.83871
0.271605
0
0
0
0
0.118306
0
0
0
0
0
0
1
0
false
0.1875
0.3125
0
0.8125
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
7d5d87849e67ee5bfc54dcf0b692c603239d0da6
715
py
Python
BUYER/files/models.py
sidd6p/offline-e-commerce
42d9888c9d5056cdb8568c52be13449d6a35bdfc
[ "BSD-2-Clause" ]
1
2022-01-10T06:37:44.000Z
2022-01-10T06:37:44.000Z
BUYER/files/models.py
sidd6p/offline-e-commerce
42d9888c9d5056cdb8568c52be13449d6a35bdfc
[ "BSD-2-Clause" ]
16
2022-01-11T11:14:14.000Z
2022-02-12T18:34:15.000Z
BUYER/files/models.py
sidd6p/offline-e-commerce
42d9888c9d5056cdb8568c52be13449d6a35bdfc
[ "BSD-2-Clause" ]
null
null
null
from files import db, loginManager from flask_login import UserMixin @loginManager.user_loader def loadUser(buyerId): return Buyer.query.get(int(buyerId)) class Buyer(db.Model, UserMixin): __bind_key__ = 'buyerdb' id = db.Column(db.Integer, primary_key=True) fname = db.Column(db.String(50), nullab...
31.086957
66
0.711888
103
715
4.864078
0.427184
0.143713
0.179641
0.223553
0.247505
0.247505
0.247505
0
0
0
0
0.026316
0.14965
715
22
67
32.5
0.797697
0
0
0
0
0
0.00979
0
0
0
0
0
0
1
0.0625
false
0.0625
0.125
0.0625
0.9375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
7d6c15219c42529c79b9063532ced9993b871a7b
565
py
Python
mongomock/object_id.py
moonso/mongomock
1f1c92ea564a13c578b66613ec043e56b7613670
[ "BSD-3-Clause" ]
574
2016-07-29T13:49:37.000Z
2022-03-28T16:03:12.000Z
mongomock/object_id.py
moonso/mongomock
1f1c92ea564a13c578b66613ec043e56b7613670
[ "BSD-3-Clause" ]
498
2016-07-28T03:43:32.000Z
2022-03-29T20:19:32.000Z
mongomock/object_id.py
moonso/mongomock
1f1c92ea564a13c578b66613ec043e56b7613670
[ "BSD-3-Clause" ]
238
2016-07-28T14:27:33.000Z
2022-03-22T11:01:15.000Z
import uuid class ObjectId(object): def __init__(self, id=None): super(ObjectId, self).__init__() if id is None: self._id = uuid.uuid1() else: self._id = uuid.UUID(id) def __eq__(self, other): return isinstance(other, ObjectId) and other._id == self._id...
21.730769
68
0.580531
72
565
4.069444
0.375
0.143345
0.09215
0
0
0
0
0
0
0
0
0.005051
0.299115
565
25
69
22.6
0.734848
0
0
0
0
0
0.023009
0
0
0
0
0
0
1
0.333333
false
0
0.055556
0.277778
0.722222
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
7d709907872a008326171447cc330967b30a7bac
769
py
Python
logger.py
marciorvneto/scibuild
8d87d0425f13c356605ebf4cd83cbf3484f0ad80
[ "MIT" ]
null
null
null
logger.py
marciorvneto/scibuild
8d87d0425f13c356605ebf4cd83cbf3484f0ad80
[ "MIT" ]
null
null
null
logger.py
marciorvneto/scibuild
8d87d0425f13c356605ebf4cd83cbf3484f0ad80
[ "MIT" ]
1
2021-11-13T17:11:29.000Z
2021-11-13T17:11:29.000Z
import time def timestamp(): current_time = time.gmtime() formatted = time.strftime('%Y-%m-%d %H:%M:%S', current_time) return formatted class Logger: def __init__(self, name: str): self.name = name def log(self,text: str): print(f"\x1b[39m[{self.name}] [{timestamp()}] {text}\x1b[0...
27.464286
69
0.591678
110
769
4.072727
0.327273
0.125
0.122768
0.178571
0.540179
0.540179
0.258929
0
0
0
0
0.040193
0.191157
769
27
70
28.481481
0.680064
0
0
0
0
0
0.364109
0.136541
0
0
0
0
0
1
0.368421
false
0
0.052632
0
0.526316
0.263158
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
7d72059a712b73a2b5a9de5352438456e4ba5a66
357
py
Python
tests/fixtures/packages/loader/load2/jsub_ext3/backend/condor.py
xianghuzhao/jsub
fda16e9a0983410d33e454d9f1c4a94134e49d41
[ "MIT" ]
2
2017-05-26T07:17:34.000Z
2019-04-08T05:53:35.000Z
tests/fixtures/packages/loader/load2/jsub_ext3/backend/condor.py
xianghuzhao/jsub
fda16e9a0983410d33e454d9f1c4a94134e49d41
[ "MIT" ]
null
null
null
tests/fixtures/packages/loader/load2/jsub_ext3/backend/condor.py
xianghuzhao/jsub
fda16e9a0983410d33e454d9f1c4a94134e49d41
[ "MIT" ]
1
2019-04-08T06:52:46.000Z
2019-04-08T06:52:46.000Z
class Condor: def __init__(self): self.desc = 'load2: jsub_ext3.backend.condor.Condor' class ClassWithSpecificName: def __init__(self): self.desc = 'load1: jsub_ext3.backend.condor.ClassWithSpecificName' class ClassWithAnotherName: def __init__(self): self.desc = 'load2: jsub_ext3....
29.75
75
0.72549
39
357
6.25641
0.333333
0.086066
0.135246
0.184426
0.446721
0.368852
0.368852
0.368852
0.368852
0.368852
0
0.020339
0.173669
357
11
76
32.454545
0.80678
0
0
0.333333
0
0
0.40056
0.341737
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
7d72cdc916264b140c647af287d7c1680d639976
1,224
py
Python
scripts/coords2d.py
JIC-CSB/root-image-analysis
d424f0cb6e0cfa181676d4dfb0945e691bddac71
[ "MIT" ]
null
null
null
scripts/coords2d.py
JIC-CSB/root-image-analysis
d424f0cb6e0cfa181676d4dfb0945e691bddac71
[ "MIT" ]
null
null
null
scripts/coords2d.py
JIC-CSB/root-image-analysis
d424f0cb6e0cfa181676d4dfb0945e691bddac71
[ "MIT" ]
1
2019-11-06T12:14:07.000Z
2019-11-06T12:14:07.000Z
#!/usr/bin/env python2.7 import math class Coords2D(object): def __init__(self, *args): if len(args) == 1: x, y = args[0] if len(args) == 2: x, y = args[0], args[1] self.x = x self.y = y def dist(self, other): return abs(self - other) def _...
24.48
65
0.530229
174
1,224
3.522989
0.218391
0.097879
0.078303
0.154976
0.393148
0.350734
0.350734
0.336052
0.336052
0.215334
0
0.020556
0.324346
1,224
49
66
24.979592
0.720677
0.018791
0
0.057143
0
0
0.015013
0
0
0
0
0
0
1
0.314286
false
0
0.028571
0.228571
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7d9c1b447231abcabe0fa0f49de7411e14c2c2a2
121
py
Python
scenarios/settlement_list/executable.py
timgates42/balanced-python
1df86b45c36a97ec2e214480c6806c4df3c79860
[ "MIT" ]
12
2015-04-12T06:18:33.000Z
2021-03-03T23:54:19.000Z
scenarios/settlement_list/executable.py
takwas/balanced-python
1df86b45c36a97ec2e214480c6806c4df3c79860
[ "MIT" ]
1
2021-11-24T20:10:19.000Z
2021-11-24T20:10:19.000Z
scenarios/settlement_list/executable.py
takwas/balanced-python
1df86b45c36a97ec2e214480c6806c4df3c79860
[ "MIT" ]
14
2015-03-23T17:52:06.000Z
2021-11-24T11:04:15.000Z
import balanced balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY') settlements = balanced.Settlement.query
24.2
63
0.859504
11
121
9.454545
0.818182
0
0
0
0
0
0
0
0
0
0
0.035088
0.057851
121
5
64
24.2
0.877193
0
0
0
0
0
0.336066
0.336066
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
7da595e6e74230febc72c22b132414c61f0aa58a
11,437
py
Python
aldryn_accounts/south_migrations/0001_initial.py
conformist-mw/aldryn-accounts
e4bd60354547945a8e80cc692c0080582dd0d846
[ "MIT" ]
null
null
null
aldryn_accounts/south_migrations/0001_initial.py
conformist-mw/aldryn-accounts
e4bd60354547945a8e80cc692c0080582dd0d846
[ "MIT" ]
1
2019-05-29T03:49:39.000Z
2019-05-29T09:40:04.000Z
aldryn_accounts/south_migrations/0001_initial.py
conformist-mw/aldryn-accounts
e4bd60354547945a8e80cc692c0080582dd0d846
[ "MIT" ]
6
2019-03-05T15:19:26.000Z
2021-12-16T20:50:21.000Z
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'SignupCode' db.create_table('aldryn_accounts_signupcode', ( ('id', self.gf('djan...
68.077381
182
0.597709
1,207
11,437
5.53604
0.104391
0.099371
0.171805
0.245436
0.772823
0.731817
0.706226
0.662377
0.629602
0.540108
0
0.008257
0.184664
11,437
168
183
68.077381
0.708311
0.028417
0
0.184397
0
0
0.537249
0.347086
0
0
0
0
0
1
0.014184
false
0.007092
0.028369
0
0.06383
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
7db1904bb2d2c2086937b8dbc4dc0f2c9e1f977a
175
py
Python
features/lockfiles/build_order/libd/conanfile.py
uilianries/examples
f803a51d02cbd04d89a58d45bf211f9c490399fc
[ "MIT" ]
95
2019-03-09T09:34:57.000Z
2022-03-22T05:06:44.000Z
features/lockfiles/build_order/libd/conanfile.py
uilianries/examples
f803a51d02cbd04d89a58d45bf211f9c490399fc
[ "MIT" ]
69
2019-03-06T13:18:55.000Z
2021-11-25T18:33:26.000Z
features/lockfiles/build_order/libd/conanfile.py
uilianries/examples
f803a51d02cbd04d89a58d45bf211f9c490399fc
[ "MIT" ]
57
2019-03-06T12:34:05.000Z
2022-03-08T19:51:01.000Z
from conans import ConanFile required_conan_version = ">=1.28" class LibDConan(ConanFile): requires = "libb/[>0.0 <1.0]@user/testing", "libc/[>0.0 <1.0]@user/testing"
21.875
80
0.68
27
175
4.333333
0.62963
0.034188
0.051282
0.068376
0.25641
0.25641
0
0
0
0
0
0.072368
0.131429
175
7
81
25
0.697368
0
0
0
0
0
0.373563
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
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
7db84a77a27f2670e063922698dee9e5c21e029a
8,029
py
Python
tests/withdoxygen/various_fun_array_parameters/test_MultipleArrays.py
Dwoosh/cBinder
940e8c78eb9cf2eda1bc69427a6279b8b832bfe1
[ "MIT" ]
3
2019-11-22T20:05:49.000Z
2021-05-22T21:18:47.000Z
tests/withdoxygen/various_fun_array_parameters/test_MultipleArrays.py
Tetrite/cBinder
940e8c78eb9cf2eda1bc69427a6279b8b832bfe1
[ "MIT" ]
33
2019-10-24T09:09:05.000Z
2020-01-18T11:12:46.000Z
tests/withdoxygen/various_fun_array_parameters/test_MultipleArrays.py
Dwoosh/cBinder
940e8c78eb9cf2eda1bc69427a6279b8b832bfe1
[ "MIT" ]
null
null
null
import unittest import pathlib import os from tests._util.folder_clearing import clear_folder_contents class MultipleArraysTest(unittest.TestCase): @classmethod def setUpClass(self): self.current_working_directory_path = pathlib.Path(os.path.dirname(os.path.realpath(__file__))) self.sources_...
48.36747
124
0.642546
1,180
8,029
4.079661
0.108475
0.011217
0.009348
0.059826
0.765891
0.727669
0.712505
0.656834
0.640631
0.623598
0
0.041582
0.260182
8,029
165
125
48.660606
0.768855
0.25109
0
0.590476
0
0
0.011562
0
0
0
0
0
0.209524
1
0.12381
false
0
0.152381
0
0.285714
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7ddc142d608ce58a0fc94fbe5513c2110faf532c
1,145
py
Python
py/base/EretPreambleSequence.py
Wlgen/force-riscv
9f09b86c5a21ca00f8e5ade8e5186d65bc3e26f8
[ "Apache-2.0" ]
111
2020-06-12T22:31:30.000Z
2022-03-19T03:45:20.000Z
py/base/EretPreambleSequence.py
Wlgen/force-riscv
9f09b86c5a21ca00f8e5ade8e5186d65bc3e26f8
[ "Apache-2.0" ]
34
2020-06-12T20:23:40.000Z
2022-03-15T20:04:31.000Z
py/base/EretPreambleSequence.py
Wlgen/force-riscv
9f09b86c5a21ca00f8e5ade8e5186d65bc3e26f8
[ "Apache-2.0" ]
32
2020-06-12T19:15:26.000Z
2022-02-20T11:38:31.000Z
# # Copyright (C) [2020] Futurewei Technologies, Inc. # # FORCE-RISCV is licensed under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # THIS SOFTWARE IS PR...
36.935484
105
0.608734
132
1,145
5.204545
0.674242
0.07278
0.037846
0.046579
0
0
0
0
0
0
0
0.008188
0.146725
1,145
30
106
38.166667
0.694985
0.793886
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.166667
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
7de85d95a3a15e1dc872ce74248dc4a9a2d48163
6,636
py
Python
backlog/issue.py
hassaku63/pbl
dc19d9d5ae11ca59e9e2d89dabb8f81884607ac4
[ "MIT" ]
5
2019-05-11T04:51:24.000Z
2021-04-09T05:45:18.000Z
backlog/issue.py
hassaku63/pbl
dc19d9d5ae11ca59e9e2d89dabb8f81884607ac4
[ "MIT" ]
8
2019-04-09T01:58:52.000Z
2021-05-23T09:43:55.000Z
backlog/issue.py
hassaku63/pbl
dc19d9d5ae11ca59e9e2d89dabb8f81884607ac4
[ "MIT" ]
1
2020-01-25T11:38:12.000Z
2020-01-25T11:38:12.000Z
# coding: utf-8 class Issue(object): def __init__(self, api): """ :param api: """ self.api = api def list(self, **kwargs): """ https://developer.nulab-inc.com/ja/docs/backlog/api/2/get-issue-list/ :param kwargs: query parameter :return: ...
26.758065
100
0.604129
711
6,636
5.504923
0.105485
0.067961
0.092233
0.106796
0.802759
0.764435
0.666071
0.614716
0.582013
0.581247
0
0.004151
0.27396
6,636
247
101
26.866397
0.808219
0.393008
0
0.507246
0
0
0.061045
0.03304
0
0
0
0
0
1
0.289855
false
0
0
0
0.405797
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
814cd0b4b8f808ab73548e7cd8f6e529ab0d1bec
353
py
Python
mundo1/exe013.py
fdossantos95/CURSO-DE-PYTHON
27315b27895f3cea9734302310d66c579254e521
[ "MIT" ]
null
null
null
mundo1/exe013.py
fdossantos95/CURSO-DE-PYTHON
27315b27895f3cea9734302310d66c579254e521
[ "MIT" ]
null
null
null
mundo1/exe013.py
fdossantos95/CURSO-DE-PYTHON
27315b27895f3cea9734302310d66c579254e521
[ "MIT" ]
null
null
null
'''Criar um algoritmo que leia o salario de um funcionário e mostre seu novo salario, com 15% de almento.''' print('-'*60) salario = float(input('Digite seu salário atual: R$ ')) aumento = (salario * (15/100)) + salario print('Seu salário atual é R${:.2f}, mas com 15% de aumento você passa a receber R${:.2f}.'.format(...
44.125
117
0.68272
57
353
4.22807
0.596491
0.041494
0.058091
0
0
0
0
0
0
0
0
0.05
0.150142
353
7
118
50.428571
0.753333
0.288952
0
0.4
0
0.2
0.465306
0
0
0
0
0
0
1
0
false
0.2
0
0
0
0.6
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
1
0
3
815881e5cac4f168c7b429537e3db51a9272fc31
340
py
Python
meter/datamodules/trash/nlvr2_datamodule.py
shinying/METER
4fa79cbeb7bb5a25a76b56b92f9ba73f9118b9fe
[ "Apache-2.0", "MIT" ]
135
2021-11-04T03:15:37.000Z
2022-03-29T17:51:20.000Z
meter/datamodules/trash/nlvr2_datamodule.py
shinying/METER
4fa79cbeb7bb5a25a76b56b92f9ba73f9118b9fe
[ "Apache-2.0", "MIT" ]
16
2021-11-11T02:57:53.000Z
2022-03-29T03:30:30.000Z
meter/datamodules/trash/nlvr2_datamodule.py
shinying/METER
4fa79cbeb7bb5a25a76b56b92f9ba73f9118b9fe
[ "Apache-2.0", "MIT" ]
15
2021-11-04T02:41:06.000Z
2022-03-28T14:11:24.000Z
from ..datasets import NLVR2Dataset from .datamodule_base import BaseDataModule class NLVR2DataModule(BaseDataModule): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @property def dataset_cls(self): return NLVR2Dataset @property def dataset_name(self): ...
21.25
43
0.685294
35
340
6.342857
0.6
0.09009
0.162162
0
0
0
0
0
0
0
0
0.015038
0.217647
340
15
44
22.666667
0.819549
0
0
0.181818
0
0
0.014706
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0.181818
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
816690d93e02916d355330947e61aa2e8df477b8
357
py
Python
hypernets/core/__init__.py
BochenLv/Hypernets
87f142804c9b56b89223fce8b641aac0d1e3c287
[ "Apache-2.0" ]
1
2021-06-05T11:10:19.000Z
2021-06-05T11:10:19.000Z
hypernets/core/__init__.py
BochenLv/Hypernets
87f142804c9b56b89223fce8b641aac0d1e3c287
[ "Apache-2.0" ]
null
null
null
hypernets/core/__init__.py
BochenLv/Hypernets
87f142804c9b56b89223fce8b641aac0d1e3c287
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- """ """ from .searcher import OptimizeDirection from .callbacks import Callback, FileStorageLoggingCallback, SummaryCallback, EarlyStoppingCallback, EarlyStoppingError from .trial import Trial, TrialStore, TrialHistory, DiskTrialStore from .dispatcher import Dispatcher from .random_state import...
29.75
119
0.817927
36
357
7.972222
0.611111
0.114983
0
0
0
0
0
0
0
0
0
0.003125
0.103641
357
11
120
32.454545
0.89375
0.056022
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
816b61b13f8d3f38fd18cef6cf0311ffc92af36d
1,507
py
Python
telemetry/third_party/web-page-replay/rules/rule.py
ravitejavalluri/catapult
246a39a82c2213d913a96fff020a263838dc76e6
[ "BSD-3-Clause" ]
226
2015-01-01T23:21:53.000Z
2021-08-25T06:20:54.000Z
telemetry/third_party/web-page-replay/rules/rule.py
ravitejavalluri/catapult
246a39a82c2213d913a96fff020a263838dc76e6
[ "BSD-3-Clause" ]
55
2015-01-15T17:21:11.000Z
2021-08-18T10:12:31.000Z
telemetry/third_party/web-page-replay/rules/rule.py
ravitejavalluri/catapult
246a39a82c2213d913a96fff020a263838dc76e6
[ "BSD-3-Clause" ]
64
2015-01-07T14:04:43.000Z
2022-01-04T12:08:16.000Z
#!/usr/bin/env python # Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
36.756098
78
0.729927
217
1,507
5.02765
0.576037
0.054995
0.023831
0.029331
0
0
0
0
0
0
0
0.006617
0.197744
1,507
40
79
37.675
0.895782
0.816855
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0
0.6
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
816e28e4efa426f2256416a24b7d9200f4b36f0d
177
py
Python
netbox/circuits/constants.py
jeis2497052/netbox
8741eb38c0b77e493a1194645e1076516c4de556
[ "Apache-2.0" ]
1
2019-01-15T21:06:23.000Z
2019-01-15T21:06:23.000Z
netbox/circuits/constants.py
jeis2497052/netbox
8741eb38c0b77e493a1194645e1076516c4de556
[ "Apache-2.0" ]
null
null
null
netbox/circuits/constants.py
jeis2497052/netbox
8741eb38c0b77e493a1194645e1076516c4de556
[ "Apache-2.0" ]
1
2019-07-03T21:13:56.000Z
2019-07-03T21:13:56.000Z
from __future__ import unicode_literals # CircuitTermination sides TERM_SIDE_A = 'A' TERM_SIDE_Z = 'Z' TERM_SIDE_CHOICES = ( (TERM_SIDE_A, 'A'), (TERM_SIDE_Z, 'Z'), )
16.090909
39
0.700565
26
177
4.192308
0.461538
0.366972
0.165138
0.183486
0.366972
0.366972
0.366972
0.366972
0
0
0
0
0.175141
177
10
40
17.7
0.746575
0.135593
0
0
0
0
0.02649
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
817ddb4606528002b0ca8362d1a482066c43c02e
4,615
py
Python
venv/Lib/site-packages/statsmodels/iolib/stata_summary_examples.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
6,931
2015-01-01T11:41:55.000Z
2022-03-31T17:03:24.000Z
venv/Lib/site-packages/statsmodels/iolib/stata_summary_examples.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
6,137
2015-01-01T00:33:45.000Z
2022-03-31T22:53:17.000Z
venv/Lib/site-packages/statsmodels/iolib/stata_summary_examples.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
2,608
2015-01-02T21:32:31.000Z
2022-03-31T07:38:30.000Z
""". regress totemp gnpdefl gnp unemp armed pop year Source | SS df MS Number of obs = 16 -------------+------------------------------ F( 6, 9) = 330.29 Model | 184172402 6 30695400.3 Prob > F = 0.0000 Residual | 836424.129 ...
54.294118
78
0.408017
447
4,615
4.205817
0.498881
0.07234
0.080851
0.110638
0.237234
0.237234
0.193617
0.08617
0.062766
0.041489
0
0.293725
0.350813
4,615
84
79
54.940476
0.333778
0.319177
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
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
818d23e0fa5247785f9f3e70e297850552cb2a28
179
py
Python
1-python-basico (Logica de programacao)/aula27/aula27.py
Leodf/projetos-python
64e6262e6535d92624ad50148634d881608a7523
[ "MIT" ]
null
null
null
1-python-basico (Logica de programacao)/aula27/aula27.py
Leodf/projetos-python
64e6262e6535d92624ad50148634d881608a7523
[ "MIT" ]
null
null
null
1-python-basico (Logica de programacao)/aula27/aula27.py
Leodf/projetos-python
64e6262e6535d92624ad50148634d881608a7523
[ "MIT" ]
null
null
null
""" Desafio do contador com estrutura de repetição for / while 0 10 1 9 2 8 3 7 4 6 5 5 6 4 7 3 8 2 9 1 10 0 """ for n1, n2 in enumerate(range(10, 0, -1)): print(n1, n2)
9.421053
46
0.603352
43
179
2.511628
0.604651
0.055556
0
0
0
0
0
0
0
0
0
0.251969
0.290503
179
19
47
9.421053
0.598425
0.581006
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
818ddff08634a6ebcfc0492fbd6020a3a08f2c0a
4,334
py
Python
src/model/BaseFileFactory/File.py
alfredo-milani/ParseScript
58847537b53bfb7b88710761963dc94b06041195
[ "MIT" ]
null
null
null
src/model/BaseFileFactory/File.py
alfredo-milani/ParseScript
58847537b53bfb7b88710761963dc94b06041195
[ "MIT" ]
null
null
null
src/model/BaseFileFactory/File.py
alfredo-milani/ParseScript
58847537b53bfb7b88710761963dc94b06041195
[ "MIT" ]
null
null
null
import random from os.path import isfile, abspath, basename, splitext, isdir from control.convertStrategy.ConverterFactory import ConverterFactory, ConversionAlgorithm from model.BaseFileFactory.BaseFile import BaseFile class File(BaseFile): """ Classe che astrae un file di un file system """ def _...
30.737589
103
0.646054
475
4,334
5.72
0.275789
0.076923
0.02834
0.038646
0.205374
0.167464
0.12293
0.027972
0.027972
0
0
0.002913
0.287033
4,334
140
104
30.957143
0.876375
0.256114
0
0.1
0
0
0.016598
0
0
0
0
0.035714
0
1
0.214286
false
0
0.142857
0.071429
0.542857
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
8195a62b185769f2c685e0f668a914129484cc55
200
py
Python
leetCode/algorithms/easy/number_of_valid_words_in_a_sentence.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
25
2015-01-21T16:39:18.000Z
2021-05-24T07:01:24.000Z
leetCode/algorithms/easy/number_of_valid_words_in_a_sentence.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
2
2020-09-30T19:39:36.000Z
2020-10-01T17:15:16.000Z
leetCode/algorithms/easy/number_of_valid_words_in_a_sentence.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
15
2015-01-21T16:39:27.000Z
2020-10-01T17:00:22.000Z
import re r = re.compile(r"^[a-z]*([a-z]+-[a-z]+)?[!,.]?$") class Solution: def countValidWords(self, sentence: str) -> int: return sum(1 for word in sentence.split() if r.match(word))
22.222222
67
0.59
32
200
3.6875
0.71875
0.050847
0.050847
0.067797
0
0
0
0
0
0
0
0.006098
0.18
200
8
68
25
0.713415
0
0
0
0
0
0.15
0.15
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
81994a9b40b25527a3ec6a4a7360dde4d8585b6d
39
py
Python
test/integration/samples_in/simple.py
Inveracity/flynt
b975b6f61893d5db1114d68fbb5d212c4e11aeb8
[ "MIT" ]
487
2019-06-10T17:44:56.000Z
2022-03-26T01:28:19.000Z
test/integration/samples_in/simple.py
Inveracity/flynt
b975b6f61893d5db1114d68fbb5d212c4e11aeb8
[ "MIT" ]
118
2019-07-03T12:26:39.000Z
2022-03-06T22:40:17.000Z
test/integration/samples_in/simple.py
Inveracity/flynt
b975b6f61893d5db1114d68fbb5d212c4e11aeb8
[ "MIT" ]
25
2019-07-10T08:39:58.000Z
2022-03-03T14:44:15.000Z
var = 5 a = "my string {}".format(var)
13
30
0.564103
7
39
3.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0.032258
0.205128
39
2
31
19.5
0.677419
0
0
0
0
0
0.307692
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
819ae7bd33fb29ad4eedcd4879b7f4f678d3d8f8
889
py
Python
Cursoemvideo/desafios/desafio040.py
gentildf/Python
bb333e55b197492eac1294619ca7b13ef57bb631
[ "MIT" ]
1
2021-03-16T13:07:29.000Z
2021-03-16T13:07:29.000Z
Cursoemvideo/desafios/desafio040.py
gentildf/Python
bb333e55b197492eac1294619ca7b13ef57bb631
[ "MIT" ]
null
null
null
Cursoemvideo/desafios/desafio040.py
gentildf/Python
bb333e55b197492eac1294619ca7b13ef57bb631
[ "MIT" ]
null
null
null
""" Crie um programa que leia duas notas de um aluno e calcule sua média, mostrando uma mensagem no final, de acordo com a média atingida: - Média abaixo de 5.0: REPROVADO. - Média entre 5.0 e 6.9: RECUPERAÇÃO - Média 7.0 ou superior: APROVADO. """ print(('\033[1m<\033[m' * 6) + ' \033[35mSISTEMA DE VERIFICAÇÃO DE MÉDI...
40.409091
116
0.668166
158
889
3.759494
0.417722
0.060606
0.040404
0.10101
0.195286
0.195286
0.195286
0.195286
0.195286
0.195286
0
0.14094
0.16198
889
21
117
42.333333
0.656376
0.269966
0
0
0
0.272727
0.606864
0.26053
0
0
0
0
0
1
0
false
0.090909
0
0
0
0.363636
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
819f58035989ac11a533d2c4d0c415a3c9299002
690
py
Python
items/migrations/0002_auto_20210108_0530.py
SmrutiSikha/GroceryBag
394f55e68c709336cf163498b18b2f8b725efb89
[ "MIT" ]
null
null
null
items/migrations/0002_auto_20210108_0530.py
SmrutiSikha/GroceryBag
394f55e68c709336cf163498b18b2f8b725efb89
[ "MIT" ]
null
null
null
items/migrations/0002_auto_20210108_0530.py
SmrutiSikha/GroceryBag
394f55e68c709336cf163498b18b2f8b725efb89
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2021-01-08 00:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('items', '0001_initial'), ] operations = [ migrations.AlterField( model_name='grocery', name='ItemName', ...
23.793103
51
0.557971
65
690
5.830769
0.6
0.158311
0.197889
0.229551
0.469657
0.316623
0
0
0
0
0
0.053763
0.326087
690
28
52
24.642857
0.76129
0.065217
0
0.409091
1
0
0.099533
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
81b0193b229a5ce3a4d5e698aa11e9dd75310885
2,928
py
Python
bin/CraftStandardDirs.py
juergenhoetzel/craft
9d3fe6dc07f2307e8f8212c8981b980a9d2d28fd
[ "BSD-2-Clause" ]
null
null
null
bin/CraftStandardDirs.py
juergenhoetzel/craft
9d3fe6dc07f2307e8f8212c8981b980a9d2d28fd
[ "BSD-2-Clause" ]
null
null
null
bin/CraftStandardDirs.py
juergenhoetzel/craft
9d3fe6dc07f2307e8f8212c8981b980a9d2d28fd
[ "BSD-2-Clause" ]
null
null
null
import os import subprocess from CraftCore import CraftCore import CraftConfig from CraftOS.OsDetection import OsDetection class Location(object): """ Something like http://doc.qt.io/qt-5/qstandardpaths.html """ def __init__(self, standardDirs): self._standardDirs = standardDirs @property ...
30.821053
123
0.650615
281
2,928
6.672598
0.295374
0.0416
0.064
0.1008
0.234667
0.081067
0.043733
0
0
0
0
0.000441
0.225751
2,928
94
124
31.148936
0.826643
0.04918
0
0.220588
0
0
0.070004
0
0
0
0
0
0
1
0.235294
false
0
0.073529
0.132353
0.588235
0.088235
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
81cd98dc206001ca1911f1b71cbb3da2bf8ce0a6
351
py
Python
trapper/training/callbacks.py
cemilcengiz/trapper
8233a444be388bace032bdd5fd5cf87a64424cd5
[ "MIT" ]
36
2021-11-01T19:29:31.000Z
2022-02-25T15:19:08.000Z
trapper/training/callbacks.py
cemilcengiz/trapper
8233a444be388bace032bdd5fd5cf87a64424cd5
[ "MIT" ]
7
2021-11-01T14:33:21.000Z
2022-03-22T09:01:36.000Z
trapper/training/callbacks.py
cemilcengiz/trapper
8233a444be388bace032bdd5fd5cf87a64424cd5
[ "MIT" ]
4
2021-11-30T00:34:20.000Z
2022-03-31T21:06:30.000Z
from transformers import TrainerCallback as _TrainerCallback from trapper.common import Registrable class TrainerCallback(_TrainerCallback, Registrable): """ The base class that implements `Registrable` for `transformers.TrainerCallback`. To add a custom callback, just subclass this and register the ...
29.25
75
0.769231
40
351
6.7
0.675
0
0
0
0
0
0
0
0
0
0
0
0.176638
351
11
76
31.909091
0.927336
0.470085
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
0
1
0
1
0
1
0
0
3
81dc4a5af12b7a4dd062f203971da6b3a9b8a35c
351
py
Python
opsbro/misc/internalyaml/ruamel/_test/test_cyaml.py
naparuba/opsbro
98618a002cd47250d21e7b877a24448fc95fec80
[ "MIT" ]
32
2017-08-29T08:57:16.000Z
2021-04-21T08:53:04.000Z
opsbro/misc/internalyaml/ruamel/_test/test_cyaml.py
naparuba/opsbro
98618a002cd47250d21e7b877a24448fc95fec80
[ "MIT" ]
108
2017-09-04T19:59:28.000Z
2022-03-31T08:12:07.000Z
opsbro/misc/internalyaml/ruamel/_test/test_cyaml.py
naparuba/kunai
98618a002cd47250d21e7b877a24448fc95fec80
[ "MIT" ]
8
2015-02-03T12:30:53.000Z
2017-07-29T19:43:54.000Z
# coding: utf-8 import platform import pytest @pytest.mark.skipif(platform.python_implementation() == 'Jython', reason="Jython throws RepresenterError") def test_load_cyaml(): import ruamel.yaml assert ruamel.yaml.__with_libyaml__ from ruamel.yaml.cyaml import CLoader ruamel.yaml....
25.071429
65
0.712251
43
351
5.627907
0.651163
0.165289
0
0
0
0
0
0
0
0
0
0.006993
0.185185
351
13
66
27
0.839161
0.037037
0
0
0
0
0.125
0
0
0
0
0
0.111111
1
0.111111
true
0
0.444444
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
81ded49a695be371b7af082b3aceafd2089ee4d8
390
py
Python
manage.py
jackyyf/exshare
36769d2eae9cc591e86ed8fb7ed307102129fdc4
[ "Apache-2.0" ]
null
null
null
manage.py
jackyyf/exshare
36769d2eae9cc591e86ed8fb7ed307102129fdc4
[ "Apache-2.0" ]
null
null
null
manage.py
jackyyf/exshare
36769d2eae9cc591e86ed8fb7ed307102129fdc4
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from gevent import monkey; monkey.patch_all(); del monkey from psycogreen.gevent import patch_psycopg; patch_psycopg(); del patch_psycopg import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "exshare.settings") from django.core.management impo...
26
79
0.787179
54
390
5.314815
0.555556
0.125436
0.125436
0.15331
0
0
0
0
0
0
0
0
0.123077
390
14
80
27.857143
0.839181
0.051282
0
0
0
0
0.124661
0.059621
0
0
0
0
0
1
0
true
0
0.625
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
81e4d46616b3c758b6060c19598a8d7288b8ae96
54
py
Python
scholariumat/framework/__init__.py
valuehack/scholariumat
47c13f3429b95b9ad5ca59b45cf971895260bb5c
[ "MIT" ]
null
null
null
scholariumat/framework/__init__.py
valuehack/scholariumat
47c13f3429b95b9ad5ca59b45cf971895260bb5c
[ "MIT" ]
232
2018-06-30T11:40:52.000Z
2020-04-29T23:55:41.000Z
scholariumat/framework/__init__.py
valuehack/scholariumat
47c13f3429b95b9ad5ca59b45cf971895260bb5c
[ "MIT" ]
3
2018-05-31T12:57:03.000Z
2020-02-27T16:25:44.000Z
default_app_config = 'framework.apps.FrameworkConfig'
27
53
0.851852
6
54
7.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.055556
54
1
54
54
0.862745
0
0
0
0
0
0.555556
0.555556
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
c4aaad244a542a902dfef8f58b3b1caf74b64fdf
326
py
Python
changelog/exceptions.py
jacksmith15/changelog-cmd
39085e466b4ddd1c79ca7ec11b5ec6548b19520a
[ "MIT" ]
2
2021-04-17T18:56:29.000Z
2021-11-01T10:34:51.000Z
changelog/exceptions.py
jacksmith15/changelog-cmd
39085e466b4ddd1c79ca7ec11b5ec6548b19520a
[ "MIT" ]
1
2021-06-06T15:46:12.000Z
2021-08-09T12:36:27.000Z
changelog/exceptions.py
jacksmith15/changelog-cmd
39085e466b4ddd1c79ca7ec11b5ec6548b19520a
[ "MIT" ]
null
null
null
class ChangelogError(Exception): pass class ChangelogParseError(ChangelogError): pass class ChangelogValidationError(ChangelogError): pass class ChangelogMissingConfigError(ChangelogError): def __init__(self, message: str, field: str = None): super().__init__(message) self.field = ...
19.176471
56
0.730061
29
326
7.931034
0.517241
0.117391
0.2
0
0
0
0
0
0
0
0
0
0.187117
326
16
57
20.375
0.867925
0
0
0.3
0
0
0
0
0
0
0
0
0
1
0.1
false
0.3
0
0
0.5
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
1
0
0
0
0
0
3
c4aebdd358a9b75270ace31be0754202bd8d17ec
272
py
Python
program/fibonacci.py
Nenonymo/Hacktoberfest_21
7eb3f6a3b40c55e1b7711cac3fd63397486644aa
[ "Apache-2.0" ]
1
2021-10-09T11:21:24.000Z
2021-10-09T11:21:24.000Z
program/fibonacci.py
Nenonymo/Hacktoberfest_21
7eb3f6a3b40c55e1b7711cac3fd63397486644aa
[ "Apache-2.0" ]
3
2021-10-02T07:59:00.000Z
2021-10-04T08:22:01.000Z
program/fibonacci.py
Nenonymo/Hacktoberfest_21
7eb3f6a3b40c55e1b7711cac3fd63397486644aa
[ "Apache-2.0" ]
6
2021-10-01T20:00:58.000Z
2021-10-09T12:24:08.000Z
# fn to generate fibonacci numbers upto a given range def fibonacci_Series(upto): fibonacci_list = [] x = 0 y = 1 while x < upto: fibonacci_list.append(x) x, y = y, x+y return fibonacci_list # Driver's Code print(fibonacci_Series(100))
22.666667
53
0.643382
41
272
4.146341
0.585366
0.229412
0.2
0
0
0
0
0
0
0
0
0.025126
0.268382
272
12
54
22.666667
0.829146
0.238971
0
0
1
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
0.111111
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c4c0b7c744dfe3a7ddda8ee921983622a0e9a888
23
py
Python
ktapp/views/web/__init__.py
cu2/KT
8a0964b77dce150358637faa679d969a07e42f07
[ "CC-BY-3.0" ]
5
2015-04-13T09:44:31.000Z
2017-10-19T01:07:58.000Z
ktapp/views/web/__init__.py
cu2/KT
8a0964b77dce150358637faa679d969a07e42f07
[ "CC-BY-3.0" ]
49
2015-02-15T07:12:05.000Z
2022-03-11T23:11:43.000Z
ktapp/views/web/__init__.py
cu2/KT
8a0964b77dce150358637faa679d969a07e42f07
[ "CC-BY-3.0" ]
null
null
null
__author__ = 'anemeth'
11.5
22
0.73913
2
23
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.130435
23
1
23
23
0.65
0
0
0
0
0
0.304348
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
c4c7efbffddfa985984b999783771eac617a419c
18,991
py
Python
kinow_client/models/update_cart_rule_request.py
kinow-io/kaemo-python-sdk
610fce09e3a9e631babf09195b0492959d9e4d56
[ "Apache-2.0" ]
1
2017-05-03T12:48:22.000Z
2017-05-03T12:48:22.000Z
kinow_client/models/update_cart_rule_request.py
kinow-io/kaemo-python-sdk
610fce09e3a9e631babf09195b0492959d9e4d56
[ "Apache-2.0" ]
null
null
null
kinow_client/models/update_cart_rule_request.py
kinow-io/kaemo-python-sdk
610fce09e3a9e631babf09195b0492959d9e4d56
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Server API Reference for Server API (REST/Json) OpenAPI spec version: 2.0.9 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class UpdateCartRuleRequest(object): """ NOTE: This clas...
31.286656
420
0.630772
2,092
18,991
5.524379
0.09369
0.041533
0.1869
0.055378
0.656139
0.558709
0.486112
0.365752
0.305443
0.273947
0
0.001275
0.297825
18,991
606
421
31.338284
0.865392
0.438313
0
0.283105
1
0
0.109713
0.019916
0
0
0
0
0
1
0.210046
false
0
0.013699
0
0.342466
0.004566
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
c4d19f8d6274b12ff6e85625242b088c738a734f
4,887
py
Python
hubitatmaker/types.py
cdhawan/hubitatmaker
2ca3c7196977ae29298d7b1d05b7b7b348da4095
[ "MIT" ]
6
2020-02-09T05:46:20.000Z
2022-03-04T23:08:46.000Z
hubitatmaker/types.py
cdhawan/hubitatmaker
2ca3c7196977ae29298d7b1d05b7b7b348da4095
[ "MIT" ]
12
2020-02-06T19:40:55.000Z
2022-03-22T00:39:44.000Z
hubitatmaker/types.py
cdhawan/hubitatmaker
2ca3c7196977ae29298d7b1d05b7b7b348da4095
[ "MIT" ]
7
2020-02-04T05:02:04.000Z
2022-02-13T23:54:35.000Z
from time import time from types import MappingProxyType from typing import Any, Dict, List, Mapping, Optional, Sequence, Tuple, Union class Attribute: def __init__(self, properties: Dict[str, Any]): self._properties = properties @property def name(self) -> str: return self._properties["n...
27.301676
189
0.595253
554
4,887
5.063177
0.133574
0.13975
0.114082
0.090196
0.453119
0.412478
0.351159
0.294831
0.219608
0.201783
0
0.000281
0.270923
4,887
178
190
27.455056
0.786977
0.013301
0
0.431818
0
0.007576
0.129637
0.029596
0
0
0
0
0
1
0.272727
false
0
0.022727
0.166667
0.515152
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
c4d4840901e5090d4d0fd0cb765575c63b8858f6
51
py
Python
toclogger/__init__.py
jladan/toc-logger
f4b9cc304820f55af8a4e594d31e28f2efbf181e
[ "MIT" ]
null
null
null
toclogger/__init__.py
jladan/toc-logger
f4b9cc304820f55af8a4e594d31e28f2efbf181e
[ "MIT" ]
1
2019-05-31T17:20:06.000Z
2019-05-31T17:20:28.000Z
toclogger/__init__.py
jladan/toclogger
f4b9cc304820f55af8a4e594d31e28f2efbf181e
[ "MIT" ]
null
null
null
from .tictoc import TocLogger __version__ = '0.1'
12.75
29
0.745098
7
51
4.857143
1
0
0
0
0
0
0
0
0
0
0
0.046512
0.156863
51
3
30
17
0.744186
0
0
0
0
0
0.058824
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
c4f53a302dca63013d84e898d16500870c3a193e
914
py
Python
setup.py
nestauk/gtr
5a7fe88c8429fa78199fb2da42123a7079a5f8ab
[ "Apache-2.0" ]
6
2016-06-08T11:41:45.000Z
2018-09-12T09:54:08.000Z
setup.py
nestauk/gtr
5a7fe88c8429fa78199fb2da42123a7079a5f8ab
[ "Apache-2.0" ]
2
2018-02-14T19:34:57.000Z
2018-02-14T19:46:02.000Z
setup.py
nestauk/gtr
5a7fe88c8429fa78199fb2da42123a7079a5f8ab
[ "Apache-2.0" ]
2
2017-11-07T15:38:39.000Z
2018-02-14T19:10:36.000Z
from setuptools import setup, find_packages def readme(): with open('README.rst') as f: return f.read() setup(name='gtr', version='0.1.1', description='A Python interface to the Gateway To Research GTR-2 API.', long_description=readme(), url='http://github.com/nestauk/gtr', ...
30.466667
77
0.600656
107
914
5.065421
0.607477
0.175277
0.230627
0.191882
0.099631
0
0
0
0
0
0
0.026277
0.250547
914
29
78
31.517241
0.764964
0
0
0
0
0
0.458425
0.02954
0
0
0
0
0
1
0.038462
true
0
0.038462
0
0.115385
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f20060dddf41022f6176bdd6069a704284e06d04
488
py
Python
run_waitress_server.py
nyogeshTechM/FeatureRequestApplication
cf7babe0320e33777c7b3e15e580eb3de5102725
[ "MIT" ]
null
null
null
run_waitress_server.py
nyogeshTechM/FeatureRequestApplication
cf7babe0320e33777c7b3e15e580eb3de5102725
[ "MIT" ]
null
null
null
run_waitress_server.py
nyogeshTechM/FeatureRequestApplication
cf7babe0320e33777c7b3e15e580eb3de5102725
[ "MIT" ]
1
2018-08-29T05:43:45.000Z
2018-08-29T05:43:45.000Z
#import System-specific parameters and OS module in Python provides a way of using operating system dependent functionality. import sys, os # Waitress is a pure-python WSGI server from waitress import serve # Providing path for app.py module sys.path.insert(0, './app') # From app module import APP flask variable f...
37.538462
125
0.754098
80
488
4.6
0.575
0.016304
0.065217
0
0
0
0
0
0
0
0
0.02148
0.141393
488
13
126
37.538462
0.856802
0.67418
0
0
0
0
0.104575
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
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
f2132f5d058fe1b8d1b2cdd3dcc868c24825e0a1
30,139
py
Python
embed_helper.py
michael-arroyo/lammy-bot
d4c364d40da7743817b867d040281a770cb84a9e
[ "Apache-2.0" ]
3
2021-10-14T18:20:26.000Z
2021-10-16T10:02:57.000Z
embed_helper.py
michael-arroyo/lammy-bot
d4c364d40da7743817b867d040281a770cb84a9e
[ "Apache-2.0" ]
8
2021-10-19T22:47:58.000Z
2022-03-21T19:47:29.000Z
embed_helper.py
michael-arroyo/lammy-bot
d4c364d40da7743817b867d040281a770cb84a9e
[ "Apache-2.0" ]
2
2021-03-30T22:54:12.000Z
2021-10-17T20:39:42.000Z
from nextcord import Embed, colour from sqlalchemy import or_ from sqlalchemy.sql.expression import desc from tabulate import tabulate from constants import IMAGE_URL, CLASS_IMAGE_URL, WEAPON_INTEGER_VALUES, \ BUFF_SKILL_PRIMARY_ICON_VALUES, DEBUFF_SKILL_PRIMARY_ICON_VALUES, WEAPON_ICON_URL from crud import sessio...
56.545966
150
0.481005
2,605
30,139
5.32476
0.086756
0.203879
0.258237
0.108716
0.733184
0.709538
0.676303
0.624829
0.590801
0.554682
0
0.016914
0.42523
30,139
532
151
56.652256
0.783813
0
0
0.564482
0
0
0.07336
0.010651
0
0
0.007167
0
0
1
0.016913
false
0
0.014799
0
0.048626
0
0
0
0
null
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f21656cdd2e8485e476912413dc69792107b8928
373
py
Python
web/models/__init__.py
netor27/features-webapp
801d582975de7734c90bf0a4c95f404cbf305e86
[ "MIT" ]
null
null
null
web/models/__init__.py
netor27/features-webapp
801d582975de7734c90bf0a4c95f404cbf305e86
[ "MIT" ]
1
2018-01-27T08:55:32.000Z
2018-01-27T08:55:32.000Z
web/models/__init__.py
netor27/features-webapp
801d582975de7734c90bf0a4c95f404cbf305e86
[ "MIT" ]
2
2018-02-28T22:28:59.000Z
2018-11-18T17:17:42.000Z
from .add_update_delete_model import AddUpdateDelete from .area_model import Area, AreaSchema from .client_model import Client, ClientSchema from .feature_model import Feature, FeatureSchema from .user_model import User, UserSchema __all__ = ['AddUpdateDelete', 'Area', 'AreaSchema', 'Client', 'ClientSchema...
41.444444
76
0.769437
41
373
6.731707
0.390244
0.199275
0
0
0
0
0
0
0
0
0
0
0.128686
373
8
77
46.625
0.849231
0
0
0
0
0
0.217158
0
0
0
0
0
0
1
0
false
0
0.714286
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
1ee6f1d9cb0e937de6ef5d532c44e0df59e2fc3d
348
py
Python
sql_simulation/config.py
HarrisChu/sql_simulation
5277ce6a1529be4e48af782b30b1ba2a5a1b0a18
[ "Apache-2.0" ]
null
null
null
sql_simulation/config.py
HarrisChu/sql_simulation
5277ce6a1529be4e48af782b30b1ba2a5a1b0a18
[ "Apache-2.0" ]
null
null
null
sql_simulation/config.py
HarrisChu/sql_simulation
5277ce6a1529be4e48af782b30b1ba2a5a1b0a18
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import os from dotenv import load_dotenv load_dotenv() class Config(object): TIDB_HOST = os.getenv('TIDB_HOST', '127.0.0.1') TIDB_PORT = os.getenv('TIDB_PORT', '4000') TIDB_USER = os.getenv('TIDB_USER', 'root') TIDB_PASSWORD = os.getenv('TIDB_PASSWORD', '') TIDB_DATABASE =...
24.857143
51
0.66954
51
348
4.333333
0.45098
0.180995
0.271493
0
0
0
0
0
0
0
0
0.037671
0.16092
348
13
52
26.769231
0.719178
0.060345
0
0
0
0
0.215385
0
0
0
0
0
0
1
0
false
0.111111
0.222222
0
0.888889
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
1ef9deaa46166670ecd6ce590e6a042b22ac9be6
433
py
Python
tests/conftest.py
emmett-framework/severus
692c9ddbe1e0e5fe9990b3801d208a4b32e156f2
[ "BSD-3-Clause" ]
3
2020-01-13T13:46:19.000Z
2021-02-16T06:43:27.000Z
tests/conftest.py
emmett-framework/severus
692c9ddbe1e0e5fe9990b3801d208a4b32e156f2
[ "BSD-3-Clause" ]
null
null
null
tests/conftest.py
emmett-framework/severus
692c9ddbe1e0e5fe9990b3801d208a4b32e156f2
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import os import pytest from severus.translator import Translator @pytest.fixture(scope='session') def T(): return Translator( os.path.join( os.path.dirname(os.path.abspath(__file__)), 'lang1' ) ) @pytest.fixture(scope='session') def Tpre(): return T...
17.32
63
0.595843
50
433
5
0.46
0.144
0.144
0.2
0.672
0.448
0.448
0.448
0.448
0.448
0
0.009317
0.256351
433
24
64
18.041667
0.767081
0.048499
0
0.352941
0
0
0.058537
0
0
0
0
0
0
1
0.117647
true
0
0.176471
0.117647
0.411765
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
1
0
0
0
3
48188d2f597032f6facc9e08a5d0405e546dc7e0
2,812
py
Python
groebner/rings.py
NicoCourts/groebner
0fcf6b9a7e909245b5a58d5e2902503252b08979
[ "MIT" ]
null
null
null
groebner/rings.py
NicoCourts/groebner
0fcf6b9a7e909245b5a58d5e2902503252b08979
[ "MIT" ]
null
null
null
groebner/rings.py
NicoCourts/groebner
0fcf6b9a7e909245b5a58d5e2902503252b08979
[ "MIT" ]
null
null
null
class Ring: """Parent class/interface for all rings to inherit from""" def __init__(self, name, element_type, is_commutative=False): self.name = name self.element_type = element_type self.is_commutative = is_commutative # Stuff we need to implement in child classes def one(self...
27.568627
83
0.613087
340
2,812
4.705882
0.305882
0.0675
0.135
0.0825
0.195625
0.1225
0.1225
0.1225
0.0825
0
0
0.001541
0.30761
2,812
101
84
27.841584
0.820236
0.159673
0
0.206349
0
0
0.091375
0
0
0
0
0
0
1
0.333333
false
0
0
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
481d9b37dfac2284cab47355860de1218b5e1e2f
61,757
py
Python
peter_sslers/web/views_admin/acme_account.py
aptise/peter_sslers
1dcae3fee0c1f4c67ae8a614aed7e2a3121e88b0
[ "MIT" ]
35
2016-04-21T18:55:31.000Z
2022-03-30T08:22:43.000Z
peter_sslers/web/views_admin/acme_account.py
aptise/peter_sslers
1dcae3fee0c1f4c67ae8a614aed7e2a3121e88b0
[ "MIT" ]
8
2018-05-23T13:38:49.000Z
2021-03-19T21:05:44.000Z
peter_sslers/web/views_admin/acme_account.py
aptise/peter_sslers
1dcae3fee0c1f4c67ae8a614aed7e2a3121e88b0
[ "MIT" ]
2
2016-08-18T21:07:11.000Z
2017-01-11T09:47:40.000Z
# pyramid from pyramid.view import view_config from pyramid.renderers import render_to_response from pyramid.httpexceptions import HTTPNotFound from pyramid.httpexceptions import HTTPSeeOther # stdlib # pypi from six.moves.urllib.parse import quote_plus # localapp from ..lib import formhandling from ..lib.docs impor...
40.364052
190
0.560001
5,934
61,757
5.522245
0.062016
0.06378
0.027343
0.032042
0.82041
0.769966
0.724862
0.66334
0.586042
0.5269
0
0.002001
0.328222
61,757
1,529
191
40.390451
0.787861
0.054569
0
0.464339
0
0.005201
0.225571
0.127958
0
0
0
0
0
1
0.028975
false
0
0.017831
0
0.123328
0.019316
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
482385e41930e19770d986d38dd4b6586c2b9baa
527
py
Python
tests/keras_contrib/optimizers/ftml_test.py
congson1293/keras-contrib
6614e21904fb63f836077ca21c3944b5a24a9014
[ "MIT" ]
1,335
2017-12-21T12:04:22.000Z
2022-03-24T13:35:10.000Z
tests/keras_contrib/optimizers/ftml_test.py
congson1293/keras-contrib
6614e21904fb63f836077ca21c3944b5a24a9014
[ "MIT" ]
283
2017-12-20T22:16:25.000Z
2022-03-10T14:33:55.000Z
tests/keras_contrib/optimizers/ftml_test.py
congson1293/keras-contrib
6614e21904fb63f836077ca21c3944b5a24a9014
[ "MIT" ]
654
2017-12-22T02:33:52.000Z
2022-03-17T03:07:20.000Z
from __future__ import print_function import pytest from keras_contrib.utils.test_utils import is_tf_keras from keras_contrib.tests import optimizers from keras_contrib.optimizers import ftml @pytest.mark.xfail(is_tf_keras, reason='TODO fix this.', strict=True) def test_ftml(): ...
32.9375
61
0.631879
69
527
4.536232
0.550725
0.086262
0.153355
0.172524
0.185304
0
0
0
0
0
0
0.037234
0.286528
527
15
62
35.133333
0.795213
0
0
0
0
0
0.026565
0
0
0
0
0
0
1
0.076923
true
0
0.384615
0
0.461538
0.076923
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
1
0
1
0
0
0
0
3
4855331eaf51518df83c0c9d7c17a1a4a3f8cc00
232
py
Python
lib/twisted/persisted/journal/__init__.py
Kagami/kisa
2597f67e519b8d66fec2684ff5a7726436bb029b
[ "CC0-1.0" ]
7
2015-04-28T13:26:11.000Z
2020-02-09T17:01:04.000Z
lib/twisted/persisted/journal/__init__.py
Kagami/kisa
2597f67e519b8d66fec2684ff5a7726436bb029b
[ "CC0-1.0" ]
null
null
null
lib/twisted/persisted/journal/__init__.py
Kagami/kisa
2597f67e519b8d66fec2684ff5a7726436bb029b
[ "CC0-1.0" ]
3
2015-03-10T20:56:17.000Z
2021-08-21T02:44:24.000Z
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Command-journalling persistence framework inspired by Prevayler. This package is deprecated since Twisted 11.0. Maintainer: Itamar Shtull-Trauring """
17.846154
64
0.775862
28
232
6.428571
0.964286
0
0
0
0
0
0
0
0
0
0
0.015152
0.146552
232
12
65
19.333333
0.893939
0.935345
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4857a7a3a6cec0c17868fd152d12bdba88c39b48
218
py
Python
tests/__init__.py
ColinKennedy/sphinx-code-include
c9449968ac8c626448bccbc943fcc817df01efab
[ "BSD-2-Clause" ]
2
2020-11-26T20:43:58.000Z
2021-01-18T08:32:21.000Z
tests/__init__.py
ColinKennedy/sphinx-code-include
c9449968ac8c626448bccbc943fcc817df01efab
[ "BSD-2-Clause" ]
null
null
null
tests/__init__.py
ColinKennedy/sphinx-code-include
c9449968ac8c626448bccbc943fcc817df01efab
[ "BSD-2-Clause" ]
1
2021-07-15T10:49:25.000Z
2021-07-15T10:49:25.000Z
"""A collection of all of the tests for sphinx-code-include. In this module, we set up the mock imports needed to run all of our tests. """ import six six.add_move(six.MovedModule("mock", "mock", "unittest.mock"))
21.8
74
0.720183
38
218
4.105263
0.736842
0.064103
0
0
0
0
0
0
0
0
0
0
0.16055
218
9
75
24.222222
0.852459
0.610092
0
0
0
0
0.272727
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
485e0e9f848798bec84eea5ea5f94529e074147a
5,325
py
Python
yellowbrick/base.py
hboyan/yellowbrick
34e9c33cd6bcb74146826aac34e707e290afc18b
[ "Apache-2.0" ]
null
null
null
yellowbrick/base.py
hboyan/yellowbrick
34e9c33cd6bcb74146826aac34e707e290afc18b
[ "Apache-2.0" ]
null
null
null
yellowbrick/base.py
hboyan/yellowbrick
34e9c33cd6bcb74146826aac34e707e290afc18b
[ "Apache-2.0" ]
null
null
null
# yellowbrick.base # Abstract base classes and interface for Yellowbrick. # # Author: Rebecca Bilbro <rbilbro@districtdatalabs.com> # Author: Benjamin Bengfort <bbengfort@districtdatalabs.com> # Created: Fri Jun 03 10:20:59 2016 -0700 # # Copyright (C) 2016 District Data Labs # For license information, see LICENSE...
29.258242
80
0.56338
597
5,325
4.966499
0.336683
0.008094
0.016189
0.020236
0.140978
0.140978
0.132884
0.085666
0.051265
0.026307
0
0.00723
0.246761
5,325
181
81
29.41989
0.731987
0.371831
0
0.258065
0
0
0.07429
0
0
0
0
0
0
1
0.290323
false
0.064516
0.080645
0.016129
0.516129
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
486a0b21165bc4ca84c7aaab552920082dc96569
116
py
Python
misaghestan/subscriptions/apps.py
Misaghlb/django-saas-membership
7a8ec806943305ebc88b453d117a3755323126ca
[ "MIT" ]
null
null
null
misaghestan/subscriptions/apps.py
Misaghlb/django-saas-membership
7a8ec806943305ebc88b453d117a3755323126ca
[ "MIT" ]
null
null
null
misaghestan/subscriptions/apps.py
Misaghlb/django-saas-membership
7a8ec806943305ebc88b453d117a3755323126ca
[ "MIT" ]
null
null
null
from django.apps import AppConfig class SaassubscriptionConfig(AppConfig): name = 'misaghestan.subscriptions'
19.333333
40
0.801724
11
116
8.454545
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.12931
116
5
41
23.2
0.920792
0
0
0
0
0
0.215517
0.215517
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4874efec9be5116c7cffb28e047ff83dfd3ce2ce
62
py
Python
PythonClient/dataapi/__init__.py
mindleaving/dataapi
5125b912eb4536b4802dee414b499589f07296c6
[ "MIT" ]
null
null
null
PythonClient/dataapi/__init__.py
mindleaving/dataapi
5125b912eb4536b4802dee414b499589f07296c6
[ "MIT" ]
4
2020-08-27T06:55:29.000Z
2021-12-20T09:20:18.000Z
PythonClient/dataapi/__init__.py
mindleaving/dataapi
5125b912eb4536b4802dee414b499589f07296c6
[ "MIT" ]
null
null
null
from .data_api_client import DataApiClient name = "dataapi"
20.666667
43
0.790323
8
62
5.875
1
0
0
0
0
0
0
0
0
0
0
0
0.145161
62
3
44
20.666667
0.886792
0
0
0
0
0
0.114754
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6f98dfb833e720a7b27b1a184e410c75a25e0973
5,973
py
Python
scripts/login.py
bobrossrtx/Python-Command-Line-Tool
501479b47e2132726c79b51ea5c4d82cafb8dc87
[ "MIT" ]
null
null
null
scripts/login.py
bobrossrtx/Python-Command-Line-Tool
501479b47e2132726c79b51ea5c4d82cafb8dc87
[ "MIT" ]
1
2021-01-27T05:23:25.000Z
2021-01-27T05:23:25.000Z
scripts/login.py
bobrossrtx/Python-Command-Line-Tool
501479b47e2132726c79b51ea5c4d82cafb8dc87
[ "MIT" ]
1
2021-01-26T21:35:08.000Z
2021-01-26T21:35:08.000Z
def login(): import json import os from getpass import getpass import hashlib print() print("login") print() file = "settings.json" def already_logged_in(): with open(file, "r") as settings_update: user_settings = json.load(settings_update) for se...
47.031496
185
0.418215
527
5,973
4.58444
0.16129
0.06457
0.037252
0.035182
0.704884
0.697434
0.697434
0.656871
0.61548
0.61548
0
0.001681
0.501925
5,973
126
186
47.404762
0.81042
0
0
0.616162
0
0.010101
0.18366
0.018416
0
0
0
0
0
1
0.030303
false
0.111111
0.040404
0
0.070707
0.292929
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
0
3
6fc252af696118ba5010bf0e86a98a794bfe6abd
164
py
Python
graphs/test_dot.py
parrt/msan501-starterkit
aee40d78ba8b7fa49f9a11d2626945d831e9de97
[ "BSD-2-Clause" ]
3
2016-07-11T23:34:24.000Z
2018-07-26T22:15:16.000Z
graphs/test_dot.py
parrt/msan501-starterkit
aee40d78ba8b7fa49f9a11d2626945d831e9de97
[ "BSD-2-Clause" ]
null
null
null
graphs/test_dot.py
parrt/msan501-starterkit
aee40d78ba8b7fa49f9a11d2626945d831e9de97
[ "BSD-2-Clause" ]
16
2015-07-13T22:51:23.000Z
2021-07-19T03:08:17.000Z
from graph import * # test dot g = \ """ parrt: tombu, dmose, parrt tombu: dmose, kg9s dmose: tombu kg9s: dmose """ list = adjlist(g) dot = gendot(list) print dot
11.714286
26
0.664634
25
164
4.36
0.56
0.183486
0.275229
0
0
0
0
0
0
0
0
0.015152
0.195122
164
13
27
12.615385
0.810606
0.04878
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
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
1
0
0
0
0
0
0
0
0
3
6fc66088b4834d1a88540968f892313b9ebcb736
691
py
Python
tests/test_generator.py
john-hawkins/Minimum_Required_MLModel_Estimator
dbcb7622b8fced2db8bfdbf0f608936534925971
[ "MIT" ]
1
2021-01-10T15:27:06.000Z
2021-01-10T15:27:06.000Z
tests/test_generator.py
john-hawkins/Minimum_Required_MLModel_Estimator
dbcb7622b8fced2db8bfdbf0f608936534925971
[ "MIT" ]
null
null
null
tests/test_generator.py
john-hawkins/Minimum_Required_MLModel_Estimator
dbcb7622b8fced2db8bfdbf0f608936534925971
[ "MIT" ]
1
2021-03-22T18:36:11.000Z
2021-03-22T18:36:11.000Z
import sys import pytest import minvime.generator as gen # The file ../minvime/generator.py def test_min_max_baseline(): temp = gen.generate_min_max_baseline(10,100,1000) assert len(temp) == 1000 assert min(temp) >= 10 assert max(temp) <= 100 temp = gen.generate_min_max_baseline(100,1000,1000) ...
26.576923
67
0.667149
103
691
4.330097
0.242718
0.134529
0.156951
0.161435
0.630045
0.630045
0.565022
0.486547
0.486547
0.396861
0
0.146252
0.208394
691
25
68
27.64
0.669104
0.04631
0
0.25
1
0
0
0
0
0
0
0
0.6
1
0.05
false
0
0.15
0
0.2
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
1
0
0
0
0
0
0
0
0
0
3
6fdd54345fe099660f6ae9ad876e3e605cbbcb03
16
py
Python
config.py
tugrulbo/vovwlSoundBoard
c69a676d376303737990cace15929c5e5f0fd0ac
[ "MIT" ]
null
null
null
config.py
tugrulbo/vovwlSoundBoard
c69a676d376303737990cace15929c5e5f0fd0ac
[ "MIT" ]
null
null
null
config.py
tugrulbo/vovwlSoundBoard
c69a676d376303737990cace15929c5e5f0fd0ac
[ "MIT" ]
null
null
null
token = "TOKEN"
8
15
0.625
2
16
5
0.5
0
0
0
0
0
0
0
0
0
0
0
0.1875
16
1
16
16
0.769231
0
0
0
0
0
0.3125
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
6fe08b6168076473ee1aa838ecec06199a1d5591
1,086
py
Python
utils/helpers.py
salildabholkar/Machine-Learning
9de82f84977e3c60262f5474d5c11171b76c0915
[ "MIT" ]
null
null
null
utils/helpers.py
salildabholkar/Machine-Learning
9de82f84977e3c60262f5474d5c11171b76c0915
[ "MIT" ]
null
null
null
utils/helpers.py
salildabholkar/Machine-Learning
9de82f84977e3c60262f5474d5c11171b76c0915
[ "MIT" ]
null
null
null
import autograd.numpy as np import math def euclidean_distance(a, b): if isinstance(a, list) and isinstance(b, list): a = np.array(a) b = np.array(b) return math.sqrt(sum((a - b) ** 2)) def l2_distance(X): sum_X = np.sum(X * X, axis=1) return (-2 * np.dot(X, X.T) + sum_X).T + sum_X ...
24.681818
65
0.644567
163
1,086
4.220859
0.337423
0.196221
0.145349
0.113372
0.228198
0.119186
0
0
0
0
0
0.022248
0.213628
1,086
43
66
25.255814
0.783372
0.036832
0
0
0
0
0
0
0
0
0
0
0
1
0.32
false
0
0.08
0.16
0.72
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6fe4b081943e7c9bf1ab924362970bc5251eb827
621
py
Python
examples/python/src/01submodule/readme.py
podhmo/prestring
8a3499377d1b1b2b180809b31bd7536de5c3ec4d
[ "MIT" ]
8
2015-03-05T07:32:52.000Z
2022-03-11T09:28:21.000Z
examples/python/src/01submodule/readme.py
podhmo/prestring
8a3499377d1b1b2b180809b31bd7536de5c3ec4d
[ "MIT" ]
19
2016-12-01T03:09:03.000Z
2021-03-28T05:27:35.000Z
examples/python/src/01submodule/readme.py
podhmo/prestring
8a3499377d1b1b2b180809b31bd7536de5c3ec4d
[ "MIT" ]
1
2017-07-19T12:39:43.000Z
2017-07-19T12:39:43.000Z
# -*- coding:utf-8 -*- from prestring.python import PythonModule m = PythonModule() with m.def_("setup", "config"): import_area = m.submodule() m.sep() for k in ["a", "b", "c", "d", "e"]: import_area.from_(".plugins", "{}_plugin".format(k)) m.stmt("config.activate({}_plugin)", k) print(m...
20.032258
60
0.590982
80
621
4.3875
0.375
0.239316
0.2849
0.08547
0
0
0
0
0
0
0
0.002123
0.241546
621
30
61
20.7
0.7431
0.032206
0
0
0
0
0.196013
0.086379
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.111111
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6ff84fc78c7dad0de05eaa9a6df2b71d01f82e0c
1,134
py
Python
lintcode/0478-simple-calculator.py
runzezhang/Data-Structure-and-Algorithm-Notebook
15a94d7df2ac1d2ad081004d61433324654085e5
[ "Apache-2.0" ]
1
2020-07-24T03:37:05.000Z
2020-07-24T03:37:05.000Z
lintcode/0478-simple-calculator.py
runzezhang/Code-NoteBook
15a94d7df2ac1d2ad081004d61433324654085e5
[ "Apache-2.0" ]
null
null
null
lintcode/0478-simple-calculator.py
runzezhang/Code-NoteBook
15a94d7df2ac1d2ad081004d61433324654085e5
[ "Apache-2.0" ]
null
null
null
# Description # 中文 # English # Given two integers a and b, an operator, choices: # +, -, *, / # Calculate a <operator> b. # Use switch grammar to solve it # Have you met this question in a real interview? # Example # Example 1: # Input: a = 1, b = 2, operator = + # Output: 3 # Explanation: # return the res...
19.894737
51
0.531746
147
1,134
4.102041
0.37415
0.074627
0.124378
0.172471
0.361526
0.315091
0.262023
0.262023
0.119403
0.119403
0
0.044796
0.330688
1,134
57
52
19.894737
0.749671
0.659612
0
0
0
0
0.012121
0
0
0
0
0.017544
0
1
0.1
false
0
0
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
3
b506b6d866af15993b88ba785ea6814678f5e730
1,528
py
Python
galaxy_milkyway_files/tools/wohl-proteomics/ptmRSmax/modification.py
wohllab/milkyway_proteomics
622969f7f4a5955ae2bff299ae7b08572d422814
[ "MIT" ]
null
null
null
galaxy_milkyway_files/tools/wohl-proteomics/ptmRSmax/modification.py
wohllab/milkyway_proteomics
622969f7f4a5955ae2bff299ae7b08572d422814
[ "MIT" ]
null
null
null
galaxy_milkyway_files/tools/wohl-proteomics/ptmRSmax/modification.py
wohllab/milkyway_proteomics
622969f7f4a5955ae2bff299ae7b08572d422814
[ "MIT" ]
null
null
null
class Modification: def __init__(self): self.AAs=[] self.mass=0.0 self.NL={} self.DI={} self.factor=1 self.name="" self.ID=-1 def setAAs(self, newAAlist): self.AAs=newAAlist return True def getAAs(self): return self.AAs d...
21.828571
67
0.538613
185
1,528
4.394595
0.275676
0.086101
0.120541
0.03936
0.076261
0
0
0
0
0
0
0.009891
0.338351
1,528
69
68
22.144928
0.794263
0.087696
0
0.122449
0
0
0.00216
0
0
0
0
0
0
1
0.306122
false
0
0
0.142857
0.591837
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
b516c141aa7919241ee65f34a7f79ed92d079589
788
py
Python
mmdb/factories.py
HumanExposure/MMDB
423a4d6484c13f5969ca44ddfc156808b1978b23
[ "BSD-2-Clause" ]
1
2021-04-24T16:45:54.000Z
2021-04-24T16:45:54.000Z
mmdb/factories.py
HumanExposure/MMDB
423a4d6484c13f5969ca44ddfc156808b1978b23
[ "BSD-2-Clause" ]
5
2020-12-10T21:07:45.000Z
2022-02-14T20:00:11.000Z
mmdb/factories.py
HumanExposure/MMDB
423a4d6484c13f5969ca44ddfc156808b1978b23
[ "BSD-2-Clause" ]
null
null
null
# -*- encoding: utf-8 -*- import factory from faker import Factory as FakerFactory from mmdb.models import ( Source, ) faker = FakerFactory.create() faker.seed(983843) class SourceFactory(factory.django.DjangoModelFactory): class Meta: model = Source name = factory.LazyAttribute(lambda x: fake...
28.142857
82
0.681472
96
788
5.53125
0.479167
0.225989
0.293785
0.305085
0.474576
0.354049
0.354049
0.195857
0.195857
0
0
0.022971
0.17132
788
27
83
29.185185
0.790199
0.029188
0
0
0
0
0.028834
0
0
0
0
0
0
1
0
false
0
0.15
0
0.75
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
d212fceacc18f40e0b61ec47ea05645adb4d0981
2,032
py
Python
validator/rules_src/__init__.py
z13z/Validator
4b7e4ff72f6349b165767224458c6283d9b98c60
[ "MIT" ]
null
null
null
validator/rules_src/__init__.py
z13z/Validator
4b7e4ff72f6349b165767224458c6283d9b98c60
[ "MIT" ]
null
null
null
validator/rules_src/__init__.py
z13z/Validator
4b7e4ff72f6349b165767224458c6283d9b98c60
[ "MIT" ]
null
null
null
import importlib import pkgutil from pathlib import Path from abc import ABCMeta class Rule(metaclass=ABCMeta): def __init__(self): self.error_message = "error" self.rpv = [] self.rw = [] self.class_name = type(self).__name__ def __call__(self, arg): return self.check(...
26.051282
88
0.645669
279
2,032
4.283154
0.283154
0.090377
0.040167
0.040167
0.079498
0.045188
0.045188
0
0
0
0
0
0.258366
2,032
77
89
26.38961
0.792966
0.163878
0
0.043478
0
0
0.048636
0.015421
0
0
0
0
0
1
0.282609
false
0.043478
0.108696
0.108696
0.521739
0.021739
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
d23e057d978ba80db949c012dfa0b0f4f212f1b8
328
py
Python
test/test-pytest.py
Points/teamcity-python
58dd0e9d83fea92f9212f2cadaaaeaefd1deb68e
[ "Apache-2.0" ]
1
2018-08-14T16:29:57.000Z
2018-08-14T16:29:57.000Z
test/test-pytest.py
denisenkom/teamcity-python
25d0008596cfc7b895f367d36de5dd95b6722b4c
[ "Apache-2.0" ]
null
null
null
test/test-pytest.py
denisenkom/teamcity-python
25d0008596cfc7b895f367d36de5dd95b6722b4c
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 class TestTeamcityMessages: def testPass(self): pass def testAssertEqual(self): assert (True == True) def testAssertEqualFails(self): assert 1 == 2 def testAssertFalse(self): assert False def testException(self): raise Exception("some exce...
17.263158
41
0.625
33
328
6.212121
0.636364
0.146341
0
0
0
0
0
0
0
0
0
0.012821
0.286585
328
18
42
18.222222
0.863248
0.036585
0
0
0
0
0.044586
0
0
0
0
0
0.545455
1
0.454545
false
0.181818
0
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
1
0
0
0
0
0
3
d23e134efac553f742d1d5c087e5be847aa99610
374
py
Python
monday/resources/__init__.py
iramluism/monday
9aa7a8b114cb0ea51e9e117a9c2c7943a76fae71
[ "BSD-3-Clause" ]
37
2020-06-14T20:33:03.000Z
2022-03-21T09:46:49.000Z
monday/resources/__init__.py
iramluism/monday
9aa7a8b114cb0ea51e9e117a9c2c7943a76fae71
[ "BSD-3-Clause" ]
31
2019-12-12T20:26:52.000Z
2022-03-14T17:39:00.000Z
monday/resources/__init__.py
iramluism/monday
9aa7a8b114cb0ea51e9e117a9c2c7943a76fae71
[ "BSD-3-Clause" ]
29
2020-09-15T11:07:32.000Z
2022-03-21T09:46:30.000Z
from .items import ItemResource from .updates import UpdateResource from .tags import TagResource from .boards import BoardResource from .users import UserResource from .groups import GroupResource from .complexity import ComplexityResource __all__ = ['ItemResource', 'UpdateResource', 'TagResource', 'BoardResource', '...
37.4
131
0.818182
36
374
8.388889
0.472222
0
0
0
0
0
0
0
0
0
0
0
0.101604
374
9
132
41.555556
0.89881
0
0
0
0
0
0.248663
0
0
0
0
0
0
1
0
false
0
0.875
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
d25fa9d3700e0d0b167e6c4dbdd85655f062cb55
9,194
py
Python
aura_remote/auraremote_buttonmap.py
hopkeno/trinket
31cff87aa25a9f328bf7530735a5e28ce94297dd
[ "MIT" ]
null
null
null
aura_remote/auraremote_buttonmap.py
hopkeno/trinket
31cff87aa25a9f328bf7530735a5e28ce94297dd
[ "MIT" ]
null
null
null
aura_remote/auraremote_buttonmap.py
hopkeno/trinket
31cff87aa25a9f328bf7530735a5e28ce94297dd
[ "MIT" ]
null
null
null
buttons = { "brightness up": [9097, 4455, 635, 495, 629, 502, 632, 499, 636, 494, 630, 500, 603, 528, 627, 503, 632, 500, 603, 1628, 599, 1632, 606, 1625, 602, 1627, 600, 530, 604, 1626, 601, 1630, 628, 1603, 603, 529, 606, 525, 599, 532, 602, 530, 604, 528, 607, 524, 599, 532, 603, 528, 606, 1625, 610, 1622, 608, 1624...
204.311111
372
0.614749
1,704
9,194
3.316901
0.112089
0.028485
0.015924
0.017339
0.340941
0.203468
0.102088
0.033793
0.007962
0
0
0.711339
0.182728
9,194
44
373
208.954545
0.040857
0
0
0
0
0
0.03263
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
d262d26422ec397c377fefe3f8b0338b205db3f7
1,949
py
Python
model/spent_time_records.py
arconautishche/cajuist
27b99551f8cf937e8a9ba0d7ed45ab125c3e528f
[ "Unlicense" ]
1
2020-05-03T13:56:58.000Z
2020-05-03T13:56:58.000Z
model/spent_time_records.py
arconautishche/cajuist
27b99551f8cf937e8a9ba0d7ed45ab125c3e528f
[ "Unlicense" ]
null
null
null
model/spent_time_records.py
arconautishche/cajuist
27b99551f8cf937e8a9ba0d7ed45ab125c3e528f
[ "Unlicense" ]
null
null
null
import re class ICaptionProcessor: def process_workorder(self, text: str) -> str: pass def process_activity(self, text: str) -> str: pass def process_description(self, text: str) -> str: pass class WorkedTask: def __init__(self, workorder: str, activity: str, description: str...
30.936508
135
0.635198
223
1,949
5.331839
0.183857
0.058873
0.055509
0.070648
0.391926
0.289319
0.289319
0.149706
0.149706
0.149706
0
0.002827
0.273987
1,949
62
136
31.435484
0.837456
0
0
0.195652
0
0
0.031811
0
0
0
0
0
0
1
0.23913
false
0.065217
0.021739
0.021739
0.521739
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
d2644c24e3bf035b363806716f262f24515edf12
308
py
Python
cron_migration/cli/facade.py
itay-bardugo/python-cron-migration
957c07713011a7e7915852be79aa193e8d96442f
[ "MIT" ]
7
2020-06-16T06:31:35.000Z
2021-03-06T15:18:59.000Z
cron_migration/cli/facade.py
itay-bardugo/python-cron-migration
957c07713011a7e7915852be79aa193e8d96442f
[ "MIT" ]
null
null
null
cron_migration/cli/facade.py
itay-bardugo/python-cron-migration
957c07713011a7e7915852be79aa193e8d96442f
[ "MIT" ]
null
null
null
from .manager import CommandsManager from cron_migration.system.meta.proxies import SimpleProxyMeta class OperationProxy(SimpleProxyMeta): def _fwd_object(cls): return CommandsManager() class OperationsFacade(metaclass=OperationProxy): """ A proxy class to OpeartaionManager """
20.533333
62
0.75974
30
308
7.7
0.766667
0
0
0
0
0
0
0
0
0
0
0
0.168831
308
14
63
22
0.902344
0.11039
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
d2743ab67a7c76c45e65446cb1bf0755fcf4a0e7
150
py
Python
preprocess/test_sample.py
steermomo/ACDC
99431cd119883de8bc6eb9ee62c79ede987172c8
[ "MIT" ]
null
null
null
preprocess/test_sample.py
steermomo/ACDC
99431cd119883de8bc6eb9ee62c79ede987172c8
[ "MIT" ]
null
null
null
preprocess/test_sample.py
steermomo/ACDC
99431cd119883de8bc6eb9ee62c79ede987172c8
[ "MIT" ]
null
null
null
from preprocess import utils as uti def test_fname_id(): fname = '/home/sdf/78.tif' # assert 4 == 5 assert 78 == uti.fname_to_id(fname)
18.75
39
0.653333
25
150
3.76
0.72
0.148936
0
0
0
0
0
0
0
0
0
0.051724
0.226667
150
7
40
21.428571
0.758621
0.086667
0
0
0
0
0.118519
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
9629e0812b91cc265265b18499bf5771de142e8c
786
py
Python
src/lib/application/component.py
kolesa-team/python-ms-skeleton
b0ac658a0539ce18bb4384f96dc7f7473e701111
[ "MIT" ]
null
null
null
src/lib/application/component.py
kolesa-team/python-ms-skeleton
b0ac658a0539ce18bb4384f96dc7f7473e701111
[ "MIT" ]
1
2021-06-01T22:48:10.000Z
2021-06-01T22:48:10.000Z
src/lib/application/component.py
kolesa-team/python-ms-skeleton
b0ac658a0539ce18bb4384f96dc7f7473e701111
[ "MIT" ]
1
2018-10-12T11:40:55.000Z
2018-10-12T11:40:55.000Z
class Component(object): _env = None _di = None _args = None _kwargs = None def setDi(self, di): self._di = di def getDi(self): return self._di def getEnv(self): return self._env def setEnv(self, env): self._env = env def setAr...
20.153846
60
0.531807
93
786
4.27957
0.290323
0.08794
0.140704
0.095477
0
0
0
0
0
0
0
0.002024
0.371501
786
38
61
20.684211
0.803644
0
0
0.285714
0
0
0.025445
0
0
0
0
0
0
1
0.357143
false
0
0
0.142857
0.678571
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
962bc8ddff241341dfefd24d479e8915df91060a
3,850
py
Python
tests/test_app/migrations/0001_initial.py
moshthepitt/django-approvals
ebf3fd42e88ac255191d0764387fc213a2472ee4
[ "MIT" ]
4
2020-05-30T16:15:22.000Z
2021-06-15T20:45:01.000Z
tests/test_app/migrations/0001_initial.py
moshthepitt/django-model-reviews
ebf3fd42e88ac255191d0764387fc213a2472ee4
[ "MIT" ]
8
2020-05-20T19:00:13.000Z
2020-10-04T09:04:05.000Z
tests/test_app/migrations/0001_initial.py
moshthepitt/django-model-reviews
ebf3fd42e88ac255191d0764387fc213a2472ee4
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-05-30 17:07 # pylint: disable=invalid-name,missing-module-docstring,missing-class-docstring import django.db.models.deletion from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [mig...
33.189655
87
0.351688
237
3,850
5.57384
0.337553
0.08327
0.077214
0.04542
0.588948
0.588948
0.567752
0.567752
0.567752
0.567752
0
0.018746
0.556623
3,850
115
88
33.478261
0.755126
0.031948
0
0.712963
1
0
0.082438
0
0
0
0
0
0
1
0
false
0
0.027778
0
0.064815
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9635181ab7a722e0f11c44cf74499911e811bed7
286
py
Python
register_activate/models.py
JunyiJ/django-register-activate
db72573a06ffb1b93bf44067058cd1ed53a11691
[ "BSD-2-Clause-FreeBSD" ]
15
2016-05-25T19:45:18.000Z
2021-05-03T11:43:48.000Z
register_activate/models.py
JunyiJ/django-register-activate
db72573a06ffb1b93bf44067058cd1ed53a11691
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
register_activate/models.py
JunyiJ/django-register-activate
db72573a06ffb1b93bf44067058cd1ed53a11691
[ "BSD-2-Clause-FreeBSD" ]
5
2016-06-05T14:29:41.000Z
2022-01-16T20:00:27.000Z
from __future__ import unicode_literals from django.utils.encoding import python_2_unicode_compatible from django.db import models from django.contrib.auth.models import User ##Remember to use this command to create the tables you need in your database ##python manage.py migrate
22
77
0.825175
44
286
5.181818
0.727273
0.131579
0
0
0
0
0
0
0
0
0
0.004049
0.136364
286
12
78
23.833333
0.919028
0.346154
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
96407118d8f94d5332909c3911ed0d37b6ecfcc0
157
py
Python
src/custom_types.py
shamanu4/document-search-py-task
c128cfb65e4e54bfb2031db62f677848bea3ee07
[ "MIT" ]
null
null
null
src/custom_types.py
shamanu4/document-search-py-task
c128cfb65e4e54bfb2031db62f677848bea3ee07
[ "MIT" ]
null
null
null
src/custom_types.py
shamanu4/document-search-py-task
c128cfb65e4e54bfb2031db62f677848bea3ee07
[ "MIT" ]
null
null
null
from typing import NewType DocumentID = NewType('DocumentID', str) DocumentPath = NewType('DocumentPath', str) DocumentBody = NewType('DocumentBody', str)
22.428571
43
0.770701
16
157
7.5625
0.5
0.280992
0
0
0
0
0
0
0
0
0
0
0.11465
157
6
44
26.166667
0.870504
0
0
0
0
0
0.216561
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
9645ca037a43d7e3958306ae5b24e3113accb8a8
1,909
py
Python
server/onesphere/onesphere_assembly_industry/__manifest__.py
wangqian-lab/onesphere
d163e1396cb5cd3dd2c058c0464a771e3b8eb4fa
[ "MIT" ]
null
null
null
server/onesphere/onesphere_assembly_industry/__manifest__.py
wangqian-lab/onesphere
d163e1396cb5cd3dd2c058c0464a771e3b8eb4fa
[ "MIT" ]
null
null
null
server/onesphere/onesphere_assembly_industry/__manifest__.py
wangqian-lab/onesphere
d163e1396cb5cd3dd2c058c0464a771e3b8eb4fa
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- { 'name': "onesphere_assembly_industry", 'summary': """ 智能装配行业扩展模块""", 'description': """ 智能装配行业扩展模块 """, 'author': "上海文享信息科技有限公司", 'website': "http://www.oneshare.com.cn", # Categories can be used to filter modules in modules listing # Check h...
31.295082
102
0.630173
221
1,909
5.190045
0.475113
0.090671
0.102005
0.03313
0
0
0
0
0
0
0
0.006775
0.22682
1,909
60
103
31.816667
0.770325
0.173389
0
0.065217
0
0
0.650096
0.476737
0
0
0
0
0
1
0
true
0
0.043478
0
0.043478
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
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
9667259f3f7eac99d4e9701336ac1d22d411c51b
7,181
py
Python
signbank/video/migrations/0006_copy_gloss_sn.py
codev/bslsignbank
5c8f48c4aa14f48483b38f922f4bc4a4d4eda33e
[ "BSD-3-Clause" ]
5
2016-01-19T04:06:40.000Z
2020-05-01T17:10:46.000Z
signbank/video/migrations/0006_copy_gloss_sn.py
codev/bslsignbank
5c8f48c4aa14f48483b38f922f4bc4a4d4eda33e
[ "BSD-3-Clause" ]
2
2020-02-12T00:09:31.000Z
2020-06-05T17:51:51.000Z
signbank/video/migrations/0006_copy_gloss_sn.py
codev/bslsignbank
5c8f48c4aa14f48483b38f922f4bc4a4d4eda33e
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import DataMigration from django.db import models class Migration(DataMigration): def forwards(self, orm): "Write your forwards methods here." # Note: Don't use "from appname.models import ModelName". # Use orm....
65.880734
143
0.549227
743
7,181
5.23284
0.179004
0.106996
0.183642
0.262346
0.722994
0.680813
0.680813
0.676698
0.61394
0.458848
0
0.009068
0.216822
7,181
108
144
66.490741
0.682255
0.034953
0
0.166667
0
0
0.530474
0.294483
0
0
0
0
0
0
null
null
0
0.044444
null
null
0.011111
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
96b752f2ec3459ea36f13cd7b186a35fa00acd75
351
py
Python
modules/new_scan/new_scan.py
vietnakid/WebPortalVulnerabilityManagement
c2c45b8367c2d58b3bc1b169c1f1b8a484845425
[ "Apache-2.0" ]
null
null
null
modules/new_scan/new_scan.py
vietnakid/WebPortalVulnerabilityManagement
c2c45b8367c2d58b3bc1b169c1f1b8a484845425
[ "Apache-2.0" ]
null
null
null
modules/new_scan/new_scan.py
vietnakid/WebPortalVulnerabilityManagement
c2c45b8367c2d58b3bc1b169c1f1b8a484845425
[ "Apache-2.0" ]
null
null
null
# Import from standard library # import logging from datetime import datetime # Import from third-party from flask import Flask, render_template, session # Import local files # import DAO.db_connect as db_connect # from config.config import ElasticConfig def new_scan(): session['module'] = "new-scan" return ...
25.071429
49
0.77208
48
351
5.541667
0.5625
0.075188
0
0
0
0
0
0
0
0
0
0
0.150997
351
14
50
25.071429
0.892617
0.461538
0
0
0
0
0.142077
0
0
0
0
0
0
1
0.2
true
0
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
1
0
1
0
1
0
0
3
737666235bad2bef7cc09762f43d1768d58d8261
105
py
Python
include/command.py
Ayvytr/PythonBox
ab15c4fad79be827e7e04cdce30335d6a979655a
[ "Apache-2.0" ]
1
2020-01-03T00:18:36.000Z
2020-01-03T00:18:36.000Z
include/command.py
Ayvytr/PyBox
ab15c4fad79be827e7e04cdce30335d6a979655a
[ "Apache-2.0" ]
null
null
null
include/command.py
Ayvytr/PyBox
ab15c4fad79be827e7e04cdce30335d6a979655a
[ "Apache-2.0" ]
null
null
null
class Command: TO_CN = 1 TO_EN = 2 JSON_FORMAT = 3 URL_ENCODE = 4 URL_DECODE = 5
17.5
20
0.552381
17
105
3.117647
0.882353
0
0
0
0
0
0
0
0
0
0
0.078125
0.390476
105
6
21
17.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
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
737adbd22214626871d4bda465860d279973355a
534
py
Python
lesson1/ex2.py
evmaksimenko/python_algorithms
f37324b8b2daab6a8d38803e121078138c5d484b
[ "Apache-2.0" ]
null
null
null
lesson1/ex2.py
evmaksimenko/python_algorithms
f37324b8b2daab6a8d38803e121078138c5d484b
[ "Apache-2.0" ]
null
null
null
lesson1/ex2.py
evmaksimenko/python_algorithms
f37324b8b2daab6a8d38803e121078138c5d484b
[ "Apache-2.0" ]
null
null
null
# Выполнить логические побитовые операции «И», «ИЛИ» и др. над числами 5 и 6. # Выполнить над числом 5 побитовый сдвиг вправо и влево на два знака. # Объяснить полученный результат. print("5 & 6 = %d" % (5 & 6)) # Бинарное И 101 & 110 = 100 print("5 | 6 = %d" % (5 | 6)) # Бинарное ИЛИ 101 & 110 = 111 print("5 ^ 6 = %d"...
59.333333
81
0.589888
94
534
3.393617
0.393617
0.037618
0.065831
0.075235
0.319749
0.319749
0.319749
0.15047
0
0
0
0.16545
0.230337
534
8
82
66.75
0.600973
0.679775
0
0
0
0
0.320988
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
7380e75bcdd6bd602b5d14d6e90cd637d2a4747c
2,162
py
Python
modin/core/execution/python/implementations/pandas_on_python/dataframe/dataframe.py
Rubtsowa/modin
6550939753c76e896ef2bfd65bb9468d6ad161d7
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
modin/core/execution/python/implementations/pandas_on_python/dataframe/dataframe.py
Rubtsowa/modin
6550939753c76e896ef2bfd65bb9468d6ad161d7
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
modin/core/execution/python/implementations/pandas_on_python/dataframe/dataframe.py
Rubtsowa/modin
6550939753c76e896ef2bfd65bb9468d6ad161d7
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Licensed to Modin Development Team under one or more contributor license agreements. # See the NOTICE file distributed with this work for additional information regarding # copyright ownership. The Modin Development Team licenses this file to you under the # Apache License, Version 2.0 (the "License"); you may not u...
43.24
92
0.749306
278
2,162
5.805755
0.47482
0.037175
0.027881
0.019827
0.179678
0.154895
0.154895
0.107807
0.060719
0.060719
0
0.002856
0.190102
2,162
49
93
44.122449
0.918903
0.813599
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
73ac627b82a0868439348b1c0a0364ce9353ed91
340
py
Python
blueprints/home_assistant/__init__.py
lfiedlerc/mindmeld-blueprints
4b5e1445ec75da25090bda8432c4a3a9d431a7f0
[ "Apache-2.0" ]
12
2019-05-14T11:07:31.000Z
2021-08-27T23:10:32.000Z
blueprints/home_assistant/__init__.py
lfiedlerc/mindmeld-blueprints
4b5e1445ec75da25090bda8432c4a3a9d431a7f0
[ "Apache-2.0" ]
8
2019-07-03T20:13:54.000Z
2020-12-09T23:14:08.000Z
blueprints/home_assistant/__init__.py
lfiedlerc/mindmeld-blueprints
4b5e1445ec75da25090bda8432c4a3a9d431a7f0
[ "Apache-2.0" ]
13
2019-06-27T22:51:45.000Z
2021-12-07T22:09:26.000Z
# -*- coding: utf-8 -*- """This module contains the MindMeld home assistant blueprint application""" from home_assistant.root import app import home_assistant.greeting import home_assistant.smart_home import home_assistant.times_and_dates import home_assistant.unknown import home_assistant.weather # noqa: ignore=F401...
28.333333
76
0.805882
46
340
5.673913
0.586957
0.348659
0.363985
0
0
0
0
0
0
0
0
0.013201
0.108824
340
11
77
30.909091
0.848185
0.326471
0
0
0
0
0.013514
0
0
0
0
0
0
1
0
false
0
0.857143
0
0.857143
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
73c04cec5df8ab1b55ac9f79dd3060e419a4c012
386,067
py
Python
src/numbers_parser/generated/TSWPArchives_pb2.py
jessie-murray/numbers-parser
8a3b9453f66d4b39e0d789d86541d14ea1765dba
[ "MIT" ]
110
2021-04-02T16:44:05.000Z
2022-03-25T08:12:30.000Z
src/numbers_parser/generated/TSWPArchives_pb2.py
jessie-murray/numbers-parser
8a3b9453f66d4b39e0d789d86541d14ea1765dba
[ "MIT" ]
17
2021-06-26T04:23:26.000Z
2022-03-26T09:45:50.000Z
src/numbers_parser/generated/TSWPArchives_pb2.py
jessie-murray/numbers-parser
8a3b9453f66d4b39e0d789d86541d14ea1765dba
[ "MIT" ]
4
2021-12-31T23:40:14.000Z
2022-03-01T08:01:04.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: TSWPArchives.proto """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.p...
49.426066
38,016
0.775788
45,189
386,067
6.284317
0.035407
0.046116
0.083565
0.070927
0.720662
0.665806
0.636209
0.619243
0.607679
0.587541
0
0.037975
0.114781
386,067
7,810
38,017
49.432394
0.79298
0.017116
0
0.712072
1
0.005659
0.185965
0.144249
0
0
0
0
0
1
0
false
0
0.001617
0
0.001617
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
73c867a2c7fe6b637f3cb97ffad5be22a81f47ed
4,688
py
Python
debexpo/model/data/tags.py
jadonk/debexpo
a022160492e40cd02bafc413a3cb009551fd6f8d
[ "MIT" ]
null
null
null
debexpo/model/data/tags.py
jadonk/debexpo
a022160492e40cd02bafc413a3cb009551fd6f8d
[ "MIT" ]
null
null
null
debexpo/model/data/tags.py
jadonk/debexpo
a022160492e40cd02bafc413a3cb009551fd6f8d
[ "MIT" ]
2
2017-01-20T23:08:40.000Z
2019-08-13T20:30:00.000Z
import debexpo.lib.constants TAGS = { debexpo.lib.constants.SPONSOR_METRICS_TYPE_TECHNICAL: [ ('CDBS','cdbs', 'Your package makes use of the <a href="http://build-common.alioth.debian.org/">The Common Debian Build System</a>'), ('(Plain) debhelper','debhelper', 'Your package makes use of the <a href="http://...
126.702703
321
0.716937
733
4,688
4.57708
0.31105
0.026826
0.045604
0.023845
0.230104
0.223845
0.195231
0.165127
0.164829
0.145156
0
0.00733
0.12692
4,688
36
322
130.222222
0.812363
0
0
0
0
0.5
0.861988
0.019411
0
0
0
0
0
1
0
false
0
0.029412
0
0.029412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
73cc2e3f2410f4c341a0abf1e22eafe864f443fe
341
py
Python
platron/request/request_builders/cancel_builder.py
Zhenay/python-sdk
53161cc591fe2ec54ecfefad4fc4d5625a97afd9
[ "MIT" ]
3
2018-06-08T12:21:28.000Z
2020-04-07T12:54:04.000Z
platron/request/request_builders/cancel_builder.py
Zhenay/python-sdk
53161cc591fe2ec54ecfefad4fc4d5625a97afd9
[ "MIT" ]
2
2017-09-21T15:43:46.000Z
2019-07-22T08:20:50.000Z
platron/request/request_builders/cancel_builder.py
Zhenay/python-sdk
53161cc591fe2ec54ecfefad4fc4d5625a97afd9
[ "MIT" ]
4
2020-09-21T07:11:22.000Z
2022-03-21T09:42:51.000Z
from platron.request.request_builders.request_builder import RequestBuilder class CancelBuilder(RequestBuilder): def __init__(self, payment): """ :param payment: digital platron payment id (string) """ self.pg_payment_id = payment def get_url(self): return self.PLATRO...
24.357143
75
0.680352
38
341
5.842105
0.605263
0.081081
0
0
0
0
0
0
0
0
0
0
0.231672
341
13
76
26.230769
0.847328
0.14956
0
0
0
0
0.037594
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
73d3040a48181ddf8ff0bc9e9e05ba47b29b6e27
1,681
py
Python
historia/culture/culture.py
eranimo/historia
5e0b047d4bcdd534f48f8b9bf19d425b0b31a3fd
[ "MIT" ]
6
2016-04-26T18:39:36.000Z
2021-09-01T09:13:38.000Z
historia/culture/culture.py
eranimo/historia
5e0b047d4bcdd534f48f8b9bf19d425b0b31a3fd
[ "MIT" ]
null
null
null
historia/culture/culture.py
eranimo/historia
5e0b047d4bcdd534f48f8b9bf19d425b0b31a3fd
[ "MIT" ]
4
2016-04-10T23:47:23.000Z
2021-08-15T11:40:28.000Z
from uuid import uuid4 class Culture(object): """ Culture. Considerations that go into making up a Culture: - language - history - food - shelter - education - security - relationships - political and social organizations - religions - art e.g. Chinese """ ...
24.362319
84
0.605592
201
1,681
4.920398
0.487562
0.100101
0.039434
0.032356
0.052578
0
0
0
0
0
0
0.009624
0.320048
1,681
68
85
24.720588
0.855643
0.417609
0
0.083333
0
0
0.017857
0
0
0
0
0
0
1
0.291667
false
0
0.041667
0.125
0.541667
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
73e2d1a0fce5650420345bef6f6d3e92f17fe644
130
py
Python
leap_year.py
kingRovo/PythonCodingChalenge
b62938592df10ccafec9930b69c14c778e19ad37
[ "bzip2-1.0.6" ]
1
2021-08-02T16:52:55.000Z
2021-08-02T16:52:55.000Z
leap_year.py
kingRovo/PythonCodingChalenge
b62938592df10ccafec9930b69c14c778e19ad37
[ "bzip2-1.0.6" ]
null
null
null
leap_year.py
kingRovo/PythonCodingChalenge
b62938592df10ccafec9930b69c14c778e19ad37
[ "bzip2-1.0.6" ]
null
null
null
y=int(input("Enter The year: ")) if(((y%2==0)or (y%400==0))and y%100!=0): print("leap Year") else: print("Not Leap year")
21.666667
40
0.569231
26
130
2.846154
0.653846
0.216216
0
0
0
0
0
0
0
0
0
0.091743
0.161538
130
5
41
26
0.587156
0
0
0
0
0
0.292308
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
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
73f5432627f026e3216d9b2e74c68233034f6777
84
py
Python
dc_33_intro/task1.py
thezaza101/python_learning
455cb4b76b38f2bbd50e7a93ce62d9fe6a06aa8e
[ "MIT" ]
1
2020-08-07T09:59:27.000Z
2020-08-07T09:59:27.000Z
dc_33_intro/task1.py
thezaza101/python_learning
455cb4b76b38f2bbd50e7a93ce62d9fe6a06aa8e
[ "MIT" ]
null
null
null
dc_33_intro/task1.py
thezaza101/python_learning
455cb4b76b38f2bbd50e7a93ce62d9fe6a06aa8e
[ "MIT" ]
1
2021-09-07T00:47:53.000Z
2021-09-07T00:47:53.000Z
# I'm a code cell, click me, then run me! 256 * 60 * 24 # Children × minutes × hours
42
42
0.642857
18
84
3.111111
0.888889
0
0
0
0
0
0
0
0
0
0
0.109375
0.238095
84
2
42
42
0.734375
0.785714
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
fb6990ab0deb34ae8506c32fe77d861f3c2348aa
2,114
py
Python
tests/functional/collector_module.py
RedHatInsights/insights-analytics-collector
9b648232dc25f01ba94c05f928e6f59f8856c133
[ "Apache-2.0" ]
null
null
null
tests/functional/collector_module.py
RedHatInsights/insights-analytics-collector
9b648232dc25f01ba94c05f928e6f59f8856c133
[ "Apache-2.0" ]
null
null
null
tests/functional/collector_module.py
RedHatInsights/insights-analytics-collector
9b648232dc25f01ba94c05f928e6f59f8856c133
[ "Apache-2.0" ]
1
2022-03-28T08:31:57.000Z
2022-03-28T08:31:57.000Z
import os from insights_analytics_collector import CsvFileSplitter, register @register('config', '1.0', description='CONFIG', config=True) def config(since, **kwargs): return { 'version': '1.0' } @register('big_table', '1.0', format='csv', description='Testing CSV data - file splitting') def big_tab...
31.552239
96
0.708609
319
2,114
4.376176
0.219436
0.068768
0.094556
0.073066
0.391834
0.338109
0.282951
0.282951
0.282951
0.282951
0
0.039292
0.145222
2,114
66
97
32.030303
0.73326
0.030274
0
0.069767
0
0
0.186523
0
0
0
0
0
0
1
0.232558
false
0
0.046512
0.209302
0.511628
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
fb7d85700ce5f3ad69d2a33058135404fc5c41a8
217
py
Python
ProjectTemplate/scripts/my_script.py
Lazy-Pengu/crypto-scraping
515070c2eb34d3cd4a9537a9b8f700ca12612be0
[ "MIT" ]
null
null
null
ProjectTemplate/scripts/my_script.py
Lazy-Pengu/crypto-scraping
515070c2eb34d3cd4a9537a9b8f700ca12612be0
[ "MIT" ]
null
null
null
ProjectTemplate/scripts/my_script.py
Lazy-Pengu/crypto-scraping
515070c2eb34d3cd4a9537a9b8f700ca12612be0
[ "MIT" ]
null
null
null
"""Script to run some part of my project.""" # This adds the directory above to our Python path # This is so that we can add import our custom python module code into this script import sys sys.path.append('../')
27.125
84
0.723502
38
217
4.131579
0.763158
0
0
0
0
0
0
0
0
0
0
0
0.193548
217
7
85
31
0.897143
0.788018
0
0
0
0
0.078947
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
fbce5dfe07793fe821ad4c6d78d5980faa191418
79
py
Python
privateurl/__init__.py
liminspace/django-privateurl
15fee25af5030809519f574df16f7e60cfa2b8ca
[ "MIT" ]
5
2016-09-12T22:54:40.000Z
2020-09-20T17:17:47.000Z
privateurl/__init__.py
liminspace/django-privateurl
15fee25af5030809519f574df16f7e60cfa2b8ca
[ "MIT" ]
81
2018-08-29T13:02:09.000Z
2022-03-01T17:05:10.000Z
privateurl/__init__.py
liminspace/django-privateurl
15fee25af5030809519f574df16f7e60cfa2b8ca
[ "MIT" ]
3
2019-06-19T20:08:00.000Z
2020-09-22T03:23:26.000Z
__version__ = '1.4.0' default_app_config = 'privateurl.apps.PrivateURLConfig'
19.75
55
0.78481
10
79
5.6
1
0
0
0
0
0
0
0
0
0
0
0.041667
0.088608
79
3
56
26.333333
0.736111
0
0
0
0
0
0.468354
0.405063
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
fbcefd25506d624f76e792031c043e26891fb7cb
160
py
Python
SoftLabelCCRF/structures/region.py
liujch1998/SoftLabelCCRF
131b598818fcd533f58a58f16ce737387d7aea9e
[ "Apache-2.0" ]
17
2019-09-05T02:34:02.000Z
2022-02-06T00:16:18.000Z
SoftLabelCCRF/structures/region.py
liujch1998/SoftLabelCCRF
131b598818fcd533f58a58f16ce737387d7aea9e
[ "Apache-2.0" ]
2
2020-06-28T15:53:19.000Z
2021-12-04T06:53:32.000Z
SoftLabelCCRF/structures/region.py
liujch1998/SoftLabelCCRF
131b598818fcd533f58a58f16ce737387d7aea9e
[ "Apache-2.0" ]
4
2019-09-24T03:47:05.000Z
2020-06-28T14:08:05.000Z
class Region: def __init__ (self, bbox, region_): self.bbox = bbox # [xmin, ymin, xmax, ymax] float self.region_ = region_ # (d_region)
22.857143
58
0.6
20
160
4.4
0.6
0.181818
0
0
0
0
0
0
0
0
0
0
0.28125
160
6
59
26.666667
0.765217
0.25625
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
fbda10036ebb14aa64514016d35c43a3c7f26a97
128
py
Python
Curso-em-video/Aula_107/moeda.py
JhonAI13/Curso_python
27dedb0effa2c26140f46392e993b8e7a27d6eb3
[ "MIT" ]
null
null
null
Curso-em-video/Aula_107/moeda.py
JhonAI13/Curso_python
27dedb0effa2c26140f46392e993b8e7a27d6eb3
[ "MIT" ]
null
null
null
Curso-em-video/Aula_107/moeda.py
JhonAI13/Curso_python
27dedb0effa2c26140f46392e993b8e7a27d6eb3
[ "MIT" ]
null
null
null
def metade(x): s = x / 2 return s def dobro(n): return 2 * n def aumentar(n, p): return (n * (p / 100)) + n
10.666667
30
0.484375
23
128
2.695652
0.478261
0.064516
0
0
0
0
0
0
0
0
0
0.060976
0.359375
128
11
31
11.636364
0.695122
0
0
0
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0
0.285714
0.857143
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
8376710390384c18cae7e0dcb009201cf4f2e16c
1,156
py
Python
kneedeepio/plugins/plugin/plugin.py
kneedeepio/python-plugin-framework
818d2640e21b743c5131d0e1aa3d3bac0d871d9a
[ "BSD-2-Clause" ]
null
null
null
kneedeepio/plugins/plugin/plugin.py
kneedeepio/python-plugin-framework
818d2640e21b743c5131d0e1aa3d3bac0d871d9a
[ "BSD-2-Clause" ]
null
null
null
kneedeepio/plugins/plugin/plugin.py
kneedeepio/python-plugin-framework
818d2640e21b743c5131d0e1aa3d3bac0d871d9a
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 ### IMPORTS ### import abc from kneedeepio.plugins.services import LoggingService ### GLOBALS ### ### FUNCTIONS ### ### CLASSES ### class Plugin(metaclass = abc.ABCMeta): required_services = ["logging"] # NOTE: The logging service is always supplied, but it's good to be explicit. def...
31.243243
113
0.67474
136
1,156
5.669118
0.558824
0.058366
0.077821
0.070039
0.217899
0.103761
0.103761
0.103761
0.103761
0
0
0.001127
0.232699
1,156
36
114
32.111111
0.868095
0.343426
0
0.315789
0
0
0.113855
0
0
0
0
0.027778
0
1
0.210526
false
0.052632
0.105263
0
0.421053
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
1
0
0
0
0
0
3
83855b9e03ccddcd0bdcc14bed3064a53a7cff2d
1,484
py
Python
server/messageboardserver/messageboard/models.py
LittleSisterMogu/MessageBoard
59cbaa6dc185b8190563693916a78bb0b1f2979f
[ "MIT" ]
null
null
null
server/messageboardserver/messageboard/models.py
LittleSisterMogu/MessageBoard
59cbaa6dc185b8190563693916a78bb0b1f2979f
[ "MIT" ]
null
null
null
server/messageboardserver/messageboard/models.py
LittleSisterMogu/MessageBoard
59cbaa6dc185b8190563693916a78bb0b1f2979f
[ "MIT" ]
null
null
null
from django.db import models import uuid user_id = 1000; def password_default(): return 123456 def userName_default(): global user_id user_id = user_id + 1; return user_id def uuid_default(): return uuid.uuid4 # Create your models here. class User(models.Model): USER_GENDER_CHOICES = ( ...
32.977778
93
0.728437
185
1,484
5.654054
0.389189
0.060229
0.049713
0.06501
0.216061
0.17782
0.114723
0.114723
0.114723
0.114723
0
0.026677
0.166442
1,484
45
94
32.977778
0.818917
0.016173
0
0.057143
0
0
0.010966
0
0
0
0
0
0
1
0.142857
false
0.057143
0.057143
0.114286
0.828571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
3