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
7b6acbe297b0594160193b9b86e68a7d82291188
116
py
Python
question3_part2.py
moni310/function_Questions
183e3b1be52fd31d269f054514e228c367191825
[ "MIT" ]
null
null
null
question3_part2.py
moni310/function_Questions
183e3b1be52fd31d269f054514e228c367191825
[ "MIT" ]
null
null
null
question3_part2.py
moni310/function_Questions
183e3b1be52fd31d269f054514e228c367191825
[ "MIT" ]
null
null
null
def isgreaterthan20(number1,number2): print(number1) print(number2) num=20 num1=10 isgreaterthan20(num,num1)
19.333333
37
0.767241
15
116
5.933333
0.6
0
0
0
0
0
0
0
0
0
0
0.137255
0.12069
116
6
38
19.333333
0.735294
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7b97b4514d9da463e473fb1de6bfceca504b1363
452
py
Python
apps/metadata/user_preferences/models.py
DiegoCorrea/ouvidoMusical
e8bdb993e2c6ef2fe4a78e844bc60be2738a5ba5
[ "MIT" ]
1
2021-10-06T19:35:48.000Z
2021-10-06T19:35:48.000Z
apps/metadata/user_preferences/models.py
DiegoCorrea/ouvido_musical-Back
e8bdb993e2c6ef2fe4a78e844bc60be2738a5ba5
[ "MIT" ]
null
null
null
apps/metadata/user_preferences/models.py
DiegoCorrea/ouvido_musical-Back
e8bdb993e2c6ef2fe4a78e844bc60be2738a5ba5
[ "MIT" ]
null
null
null
from django.db import models from apps.metadata.songs.models import Song from apps.metadata.users.models import User class UserPreference(models.Model): user = models.ForeignKey(User, unique=False, on_delete=models.CASCADE) song = models.ForeignKey(Song, unique=False, related_name='song', on_delete=models.CA...
32.285714
95
0.745575
60
452
5.533333
0.483333
0.099398
0.096386
0.126506
0
0
0
0
0
0
0
0.002571
0.139381
452
13
96
34.769231
0.8509
0
0
0
0
0
0.026549
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
7ba646b749e271eee2657e1e97d537e25c2b4f34
926
py
Python
os_migrate/plugins/module_utils/project.py
rbrady/os-migrate
fec256075307a4a11fb1b6e154737a1c3b34f0dd
[ "Apache-2.0" ]
null
null
null
os_migrate/plugins/module_utils/project.py
rbrady/os-migrate
fec256075307a4a11fb1b6e154737a1c3b34f0dd
[ "Apache-2.0" ]
null
null
null
os_migrate/plugins/module_utils/project.py
rbrady/os-migrate
fec256075307a4a11fb1b6e154737a1c3b34f0dd
[ "Apache-2.0" ]
null
null
null
from __future__ import (absolute_import, division, print_function) __metaclass__ = type import openstack from ansible_collections.os_migrate.os_migrate.plugins.module_utils \ import const, resource class Project(resource.Resource): resource_type = const.RES_TYPE_PROJECT sdk_class = openstack.identity.v3...
25.027027
72
0.693305
113
926
5.256637
0.389381
0.050505
0.050505
0.043771
0.090909
0
0
0
0
0
0
0.00137
0.211663
926
36
73
25.722222
0.812329
0
0
0.111111
0
0
0.056156
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
0.518519
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
7bb627c891795b9f390c6907994b089565869c50
730
py
Python
packageopt/services/cruders/implementations/daily_orders_table_cruder.py
nspostnov/for-article-optimal-position-liquidation
857152b0450c39cfcdb3d329e57ed07efe344356
[ "MIT" ]
null
null
null
packageopt/services/cruders/implementations/daily_orders_table_cruder.py
nspostnov/for-article-optimal-position-liquidation
857152b0450c39cfcdb3d329e57ed07efe344356
[ "MIT" ]
null
null
null
packageopt/services/cruders/implementations/daily_orders_table_cruder.py
nspostnov/for-article-optimal-position-liquidation
857152b0450c39cfcdb3d329e57ed07efe344356
[ "MIT" ]
null
null
null
from ..abstract_base_classes.table_cruder_default import TableCRUDerDefault from ....models.daily_orders import DailyOrders __all__ = ['DailyOrdersTableCRUDer'] class DailyOrdersTableCRUDer(TableCRUDerDefault): def __init__(self, daily_orders_table, db_connection): self._db_connection = db_connection ...
36.5
75
0.767123
86
730
5.906977
0.337209
0.173228
0.220472
0.224409
0.185039
0
0
0
0
0
0
0
0.157534
730
19
76
38.421053
0.826016
0
0
0
0
0
0.030137
0.030137
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.307692
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7bb8826baa9272230c96e0df256b17ca48462d1f
2,080
py
Python
Python/random_password/check_password.py
toddnguyen47/utility-files
de7d9839b5265c10d7ec017f8e08dfb8d6caac2a
[ "MIT" ]
null
null
null
Python/random_password/check_password.py
toddnguyen47/utility-files
de7d9839b5265c10d7ec017f8e08dfb8d6caac2a
[ "MIT" ]
1
2021-04-20T22:01:09.000Z
2021-04-20T22:01:09.000Z
Python/random_password/check_password.py
toddnguyen47/utility-files
de7d9839b5265c10d7ec017f8e08dfb8d6caac2a
[ "MIT" ]
1
2021-03-18T03:42:03.000Z
2021-03-18T03:42:03.000Z
import uuid import hashlib import getpass import argparse import sys hashed_password_file = "hashedPassword.txt" def hash_password(password: str): # uuid is used to generate a random number salt = uuid.uuid4().hex return hashlib.sha256(salt.encode() + password.encode()).hexdigest() + ":" + salt def che...
28.888889
92
0.710096
272
2,080
5.272059
0.371324
0.107392
0.075314
0.032078
0.079498
0
0
0
0
0
0
0.006993
0.175
2,080
71
93
29.295775
0.828671
0.092788
0
0
1
0
0.187866
0
0
0
0
0
0
1
0.088889
false
0.622222
0.111111
0
0.244444
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
7bbe0572040b612c255d9822a2216cc139704e59
287
py
Python
cpp/armadillo/schur_matrix_vector.py
berquist/eg
4c368b12eaaffcf0af8032f10348cf8bc1c3957a
[ "Unlicense" ]
null
null
null
cpp/armadillo/schur_matrix_vector.py
berquist/eg
4c368b12eaaffcf0af8032f10348cf8bc1c3957a
[ "Unlicense" ]
null
null
null
cpp/armadillo/schur_matrix_vector.py
berquist/eg
4c368b12eaaffcf0af8032f10348cf8bc1c3957a
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python import numpy as np dim = 3 A = np.ones(shape=(dim, dim)) B = A.copy() b = np.empty(dim) for i in range(dim): b[i] = i + 2 print('A') print(A) print('b') print(b) for j in range(dim): A[:, j] *= b[j] print('% (1)') print(A) print('% (2)') print(B * b)
11.48
29
0.536585
58
287
2.655172
0.413793
0.116883
0.214286
0
0
0
0
0
0
0
0
0.017778
0.216028
287
24
30
11.958333
0.666667
0.069686
0
0.117647
0
0
0.045113
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0.470588
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
7bbea568dedab7577e27855d670f8d2bb4162338
1,579
py
Python
Sea/model/connections/Connection.py
FRidh/Sea
b474e93a449570a9ba3b915c4d80f814feee2545
[ "BSD-3-Clause" ]
2
2015-07-02T13:34:09.000Z
2015-09-28T09:07:52.000Z
Sea/model/connections/Connection.py
FRidh/Sea
b474e93a449570a9ba3b915c4d80f814feee2545
[ "BSD-3-Clause" ]
null
null
null
Sea/model/connections/Connection.py
FRidh/Sea
b474e93a449570a9ba3b915c4d80f814feee2545
[ "BSD-3-Clause" ]
1
2022-01-22T03:01:54.000Z
2022-01-22T03:01:54.000Z
""" This module contains a class to describe physical connections between :mod:`Sea.model.components`. """ import math import cmath import numpy as np import warnings # Handling of warnings import abc # Abstract base classes import logging # Add logging functionality from ..base import Base class Connection(Ba...
25.885246
213
0.627612
176
1,579
5.573864
0.471591
0.024465
0.030581
0.026504
0
0
0
0
0
0
0
0
0.286257
1,579
60
214
26.316667
0.870453
0.142495
0
0
0
0
0.014006
0
0
0
0
0
0
0
null
null
0
0.318182
null
null
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
7bcb05c4d61117206847bfce1096c3b236142d3a
1,225
py
Python
raidex/commitment_service/refund.py
luehrsFred/raidex
ade805bf3aa60b8ff37f73ea4caa365de513085f
[ "MIT" ]
6
2019-06-28T12:34:08.000Z
2021-06-22T05:01:56.000Z
raidex/commitment_service/refund.py
luehrsFred/raidex
ade805bf3aa60b8ff37f73ea4caa365de513085f
[ "MIT" ]
3
2019-07-01T08:37:12.000Z
2020-04-30T07:49:53.000Z
raidex/commitment_service/refund.py
luehrsFred/raidex
ade805bf3aa60b8ff37f73ea4caa365de513085f
[ "MIT" ]
3
2019-07-01T08:34:26.000Z
2020-05-06T10:17:38.000Z
from functools import total_ordering @total_ordering class Refund(object): def __init__(self, receipt, priority, claim_fee): # type: (TransferReceipt, int, bool) -> None assert type(claim_fee) is bool self.receipt = receipt self.priority = priority self.claim_fee = claim_...
27.840909
75
0.595918
137
1,225
5.007299
0.386861
0.069971
0.099125
0.145773
0.188047
0
0
0
0
0
0
0.003571
0.314286
1,225
43
76
28.488372
0.813095
0.346939
0
0
0
0
0.03576
0
0
0
0
0
0.045455
1
0.227273
false
0
0.045455
0.136364
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
0
0
1
0
0
0
1
0
0
0
2
c8acfb1dab87a8088cab86e6bc3e8ed4e687e267
608
py
Python
pymtl3/dsl/__init__.py
hsqforfun/pymtl3
05e06601cf262a663a95d1235cb99056ece84580
[ "BSD-3-Clause" ]
1
2019-11-12T12:26:01.000Z
2019-11-12T12:26:01.000Z
pymtl3/dsl/__init__.py
hsqforfun/pymtl3
05e06601cf262a663a95d1235cb99056ece84580
[ "BSD-3-Clause" ]
null
null
null
pymtl3/dsl/__init__.py
hsqforfun/pymtl3
05e06601cf262a663a95d1235cb99056ece84580
[ "BSD-3-Clause" ]
null
null
null
""" These objects are only for developers to use. Other objects are exposed to users in pymtl/__init__.py """ from .Component import Component from .ComponentLevel3 import connect from .ComponentLevel5 import method_port from .ComponentLevel6 import non_blocking from .ComponentLevel7 import blocking from .Connectable i...
23.384615
71
0.756579
66
608
6.878788
0.69697
0.044053
0
0
0
0
0
0
0
0
0
0.008097
0.1875
608
25
72
24.32
0.910931
0.166118
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.380952
0
0.380952
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
0
0
0
2
c8b472a205d1a1c6f48fa24225d8bdf1f654a683
1,725
py
Python
market/market_data.py
martyw/finance
b323a0224c8152ce1c1ce628d92f4563f3a59f90
[ "MIT" ]
null
null
null
market/market_data.py
martyw/finance
b323a0224c8152ce1c1ce628d92f4563f3a59f90
[ "MIT" ]
null
null
null
market/market_data.py
martyw/finance
b323a0224c8152ce1c1ce628d92f4563f3a59f90
[ "MIT" ]
null
null
null
""" A container to store latest known prices for a list of symbols """ import logging from datetime import datetime from market.tick_data import TickData class MarketData: def __init__(self): self.__recent_ticks__ = dict() def add_last_price(self, time: datetime, ...
35.9375
76
0.594203
198
1,725
4.752525
0.257576
0.10627
0.159405
0.156217
0.316684
0.259299
0.259299
0.191286
0.10627
0.10627
0
0.005922
0.314783
1,725
47
77
36.702128
0.790186
0.035942
0
0.166667
0
0
0.030211
0
0
0
0
0
0
1
0.222222
false
0
0.083333
0.111111
0.472222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
c8d31bc9fe1d36de495245d8f3963cfba766bb09
85
py
Python
moai/modules/lightning/encoder/__init__.py
tzole1155/moai
d1afb3aaf8ddcd7a1c98b84d6365afb846ae3180
[ "Apache-2.0" ]
10
2021-04-02T11:21:33.000Z
2022-01-18T18:32:32.000Z
moai/modules/lightning/encoder/__init__.py
tzole1155/moai
d1afb3aaf8ddcd7a1c98b84d6365afb846ae3180
[ "Apache-2.0" ]
1
2022-03-22T20:10:55.000Z
2022-03-24T13:11:02.000Z
moai/modules/lightning/encoder/__init__.py
tzole1155/moai
d1afb3aaf8ddcd7a1c98b84d6365afb846ae3180
[ "Apache-2.0" ]
3
2021-05-16T20:47:40.000Z
2021-12-01T21:15:36.000Z
from moai.modules.lightning.encoder.resnet import ResNet __all__ = [ "ResNet", ]
17
56
0.729412
10
85
5.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.152941
85
5
57
17
0.805556
0
0
0
0
0
0.069767
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c8f94335a4322eed5b264430053006d6ac3eac55
258
py
Python
ot/gpu/__init__.py
dohmatob/POT
42d0aa94e7cb49711a646fe9b263a86cdb817161
[ "MIT" ]
null
null
null
ot/gpu/__init__.py
dohmatob/POT
42d0aa94e7cb49711a646fe9b263a86cdb817161
[ "MIT" ]
null
null
null
ot/gpu/__init__.py
dohmatob/POT
42d0aa94e7cb49711a646fe9b263a86cdb817161
[ "MIT" ]
1
2020-06-11T08:48:35.000Z
2020-06-11T08:48:35.000Z
# -*- coding: utf-8 -*- from . import bregman from . import da from .bregman import sinkhorn # Author: Remi Flamary <remi.flamary@unice.fr> # Leo Gautheron <https://github.com/aje> # # License: MIT License __all__ = ["bregman", "da", "sinkhorn"]
19.846154
49
0.655039
33
258
5
0.666667
0.121212
0
0
0
0
0
0
0
0
0
0.004762
0.186047
258
12
50
21.5
0.780952
0.523256
0
0
0
0
0.145299
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
cda1fe4811622dd364bd608c7425735702539178
3,599
py
Python
magpie/response.py
nimiq/moogle-project
f1fcac13fba43a6e93baf172571003359f4b725c
[ "Apache-2.0" ]
4
2018-06-25T15:57:26.000Z
2021-06-07T23:53:31.000Z
magpie/response.py
puntonim/moogle-project
f1fcac13fba43a6e93baf172571003359f4b725c
[ "Apache-2.0" ]
null
null
null
magpie/response.py
puntonim/moogle-project
f1fcac13fba43a6e93baf172571003359f4b725c
[ "Apache-2.0" ]
1
2017-06-17T09:53:21.000Z
2017-06-17T09:53:21.000Z
from abc import ABCMeta, abstractmethod from utils.exceptions import ResponseError, InconsistentItemError, EntryNotToBeIndexed class AbstractApiResponse(metaclass=ABCMeta): """ Response got after a query to a `Provider`. Parameters: response -- a `requests.models.Response` instance. """ def...
31.295652
95
0.594887
416
3,599
4.944712
0.362981
0.040836
0.038892
0.023335
0.024307
0
0
0
0
0
0
0.003343
0.335093
3,599
115
96
31.295652
0.856247
0.284801
0
0.213115
0
0
0.007784
0
0
0
0
0.008696
0
1
0.213115
false
0.114754
0.032787
0.016393
0.327869
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
cda804375f17713dac90c69e1dead4d5040353c3
269
py
Python
mptt_424_app/urls.py
Wtower/django-mptt-424
4fce9b58ec1b9585f059de8712146dc81927d746
[ "BSD-3-Clause" ]
1
2015-12-19T18:39:10.000Z
2015-12-19T18:39:10.000Z
mptt_424_app/urls.py
Wtower/django-mptt-424
4fce9b58ec1b9585f059de8712146dc81927d746
[ "BSD-3-Clause" ]
null
null
null
mptt_424_app/urls.py
Wtower/django-mptt-424
4fce9b58ec1b9585f059de8712146dc81927d746
[ "BSD-3-Clause" ]
null
null
null
from django.conf.urls import url from django.views.generic import RedirectView from mptt_424_app import views urlpatterns = [ url(r'^about/$', views.MpttView.as_view(), name='mptt'), url(r'^$', RedirectView.as_view(pattern_name='mptt:mptt'), name='index'), ]
26.9
77
0.72119
39
269
4.846154
0.538462
0.10582
0
0
0
0
0
0
0
0
0
0.012658
0.118959
269
9
78
29.888889
0.78481
0
0
0
0
0
0.104478
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
cda8ee4cb2175123b61b31b6ebd2f69d3b013b53
3,423
py
Python
deep-rl/lib/python2.7/site-packages/OpenGL/raw/GL/VERSION/GL_4_4.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
210
2016-04-09T14:26:00.000Z
2022-03-25T18:36:19.000Z
deep-rl/lib/python2.7/site-packages/OpenGL/raw/GL/VERSION/GL_4_4.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
72
2016-09-04T09:30:19.000Z
2022-03-27T17:06:53.000Z
deep-rl/lib/python2.7/site-packages/OpenGL/raw/GL/VERSION/GL_4_4.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
64
2016-04-09T14:26:49.000Z
2022-03-21T11:19:47.000Z
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GL import _types as _cs # End users want this... from OpenGL.raw.GL._types import * from OpenGL.raw.GL import _errors from OpenGL.constant import Constant as _C import ctypes _...
51.863636
140
0.848963
552
3,423
4.769928
0.278986
0.028485
0.023927
0.0376
0.451956
0.286365
0.235473
0.207368
0.196354
0.173566
0
0.042108
0.035641
3,423
65
141
52.661538
0.755529
0.029214
0
0.196721
1
0
0.191797
0.147165
0
0
0.047648
0
0
1
0.163934
false
0.147541
0.098361
0.016393
0.278689
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
cdb25b0d7e6f3cc248365a361fc702d022aebbec
198
py
Python
tests/performance/pfind_max_subsum.py
realead/pseudopol
861b7f40906eaf1e38f5a7ea354d9a99a485dbe0
[ "MIT" ]
null
null
null
tests/performance/pfind_max_subsum.py
realead/pseudopol
861b7f40906eaf1e38f5a7ea354d9a99a485dbe0
[ "MIT" ]
null
null
null
tests/performance/pfind_max_subsum.py
realead/pseudopol
861b7f40906eaf1e38f5a7ea354d9a99a485dbe0
[ "MIT" ]
null
null
null
import pseudopol.ppseudopol as p_pp import numpy as np import sys max_val=int(sys.argv[1]) vals=list(np.random.randint(1,500000,5000, dtype=np.uint32)) print(p_pp.find_max_subsum(max_val, vals))
19.8
60
0.782828
38
198
3.921053
0.657895
0.040268
0
0
0
0
0
0
0
0
0
0.077778
0.090909
198
9
61
22
0.75
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
cddf59e520b3fd98b515fb18d881685a63a25fe0
6,371
py
Python
app/core/migrations/0001_add_standard_page.py
nickmoreton/wagtail-up
8cb41f6e5d0a54a78132dd1450fead68868b77e6
[ "MIT" ]
null
null
null
app/core/migrations/0001_add_standard_page.py
nickmoreton/wagtail-up
8cb41f6e5d0a54a78132dd1450fead68868b77e6
[ "MIT" ]
null
null
null
app/core/migrations/0001_add_standard_page.py
nickmoreton/wagtail-up
8cb41f6e5d0a54a78132dd1450fead68868b77e6
[ "MIT" ]
null
null
null
# Generated by Django 4.0.2 on 2022-02-27 17:36 import django.db.models.deletion import wagtail.core.blocks import wagtail.core.fields import wagtail.images.blocks from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ("wagtailcore", "0066_c...
45.834532
108
0.192434
204
6,371
5.95098
0.436275
0.126853
0.16804
0.092257
0.249588
0.249588
0.217463
0.217463
0.217463
0.217463
0
0.019583
0.75153
6,371
138
109
46.166667
0.747315
0.007063
0
0.412214
1
0
0.049652
0.006009
0
0
0
0
0
1
0
false
0
0.038168
0
0.068702
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a80dac6a7b726e38ba689962237916e1cf107b56
491
py
Python
manage.py
g12mcgov/grantmcgovern.com-V2
1fd920c6441dee914585577c5af6f2bc20309586
[ "Unlicense", "MIT" ]
1
2015-07-27T22:07:30.000Z
2015-07-27T22:07:30.000Z
manage.py
g12mcgov/grantmcgovern.com-V2
1fd920c6441dee914585577c5af6f2bc20309586
[ "Unlicense", "MIT" ]
10
2020-02-11T22:43:05.000Z
2022-03-11T23:13:08.000Z
manage.py
g12mcgov/grantmcgovern.com-V2
1fd920c6441dee914585577c5af6f2bc20309586
[ "Unlicense", "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # @Author: grantmcgovern # @Date: 2015-07-11 15:37:15 # @Email: me@grantmcgovern.com # @Web: http://grantmcgovern.com # # @Last Modified by: grantmcgovern # @Last Modified time: 2015-07-12 19:57:11 import os import sys if __name__ == "__main__": os.environ...
22.318182
77
0.710794
67
491
4.970149
0.671642
0.036036
0.108108
0.132132
0
0
0
0
0
0
0
0.069544
0.150713
491
21
78
23.380952
0.729017
0.478615
0
0
0
0
0.211382
0.178862
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
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
2
a80dd49e8fe7d0daa5943e759317782eb1f95b0e
888
py
Python
but/trades/api/attach_comment.py
yevgnenll/but
2cb3d7b8fd4b898440f9a74ee4b6b8fbdff32bb1
[ "MIT" ]
4
2017-02-25T04:46:41.000Z
2021-03-16T21:41:51.000Z
but/trades/api/attach_comment.py
yevgnenll/but
2cb3d7b8fd4b898440f9a74ee4b6b8fbdff32bb1
[ "MIT" ]
18
2016-04-09T07:29:33.000Z
2017-04-06T04:39:54.000Z
but/trades/api/attach_comment.py
yevgnenll/but
2cb3d7b8fd4b898440f9a74ee4b6b8fbdff32bb1
[ "MIT" ]
null
null
null
from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status from trades.serializers import CommentModelSerializer from trades.models import Sell from django.contrib.auth.mixins import LoginRequiredMixin class CommentAttachAPIView(LoginRequiredMixin, APIVie...
30.62069
85
0.730856
97
888
6.546392
0.484536
0.107087
0.080315
0.097638
0
0
0
0
0
0
0
0.008368
0.192568
888
28
86
31.714286
0.877266
0
0
0
0
0
0.012387
0
0
0
0
0
0
1
0.052632
false
0
0.315789
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
a827e7543486979bda9c3787f55043b27fa967ad
488
py
Python
exercises/reverseint/reverseint_test.py
msembinelli/pypractice
cd908d4d7340a7348bc9c1124ec585fe5abdfd3a
[ "MIT" ]
null
null
null
exercises/reverseint/reverseint_test.py
msembinelli/pypractice
cd908d4d7340a7348bc9c1124ec585fe5abdfd3a
[ "MIT" ]
null
null
null
exercises/reverseint/reverseint_test.py
msembinelli/pypractice
cd908d4d7340a7348bc9c1124ec585fe5abdfd3a
[ "MIT" ]
null
null
null
import unittest from reverseint import reverse_int, reverse_int_mod class TestReverseIntMethods(unittest.TestCase): def test_reverseint(self): funcs = [reverse_int, reverse_int_mod] for func in funcs: self.assertEqual(func(15), 51) self.assertEqual(func(981), 189) ...
30.5
51
0.641393
58
488
5.137931
0.482759
0.251678
0.318792
0.134228
0.436242
0.281879
0.281879
0.281879
0
0
0
0.05163
0.245902
488
16
52
30.5
0.758152
0
0
0
0
0
0.01636
0
0
0
0
0
0.384615
1
0.076923
false
0
0.153846
0
0.307692
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a83342e9e2912f4b0fb5fb0a8cea3677a48b2014
535
py
Python
envVars.py
robertbyers1111/python
e87558f2432f0a4a86f17c47c6b19e1345625b83
[ "MIT" ]
null
null
null
envVars.py
robertbyers1111/python
e87558f2432f0a4a86f17c47c6b19e1345625b83
[ "MIT" ]
null
null
null
envVars.py
robertbyers1111/python
e87558f2432f0a4a86f17c47c6b19e1345625b83
[ "MIT" ]
null
null
null
#!/usr/bin/python import os #-------------------------------------------------------------------------------- # # Quick takeaways .. # # os.environ['HOME'] # # os.environ.get('LOGNAME') # #-------------------------------------------------------------------------------- # Note: using os.environ.get() will return `Non...
21.4
81
0.424299
55
535
4.127273
0.6
0.198238
0.15859
0
0
0
0
0
0
0
0
0
0.140187
535
24
82
22.291667
0.493478
0.641122
0
0
0
0
0.234637
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
b53911abb22c7b9b005449e37ee4f83069cac0a4
2,552
py
Python
toshiba_ac/device_manager.py
Cecchellone/Toshiba-AC-control
eba374f04acfb28bfa5814d0ddb2f9ffb422a0e1
[ "Apache-2.0" ]
null
null
null
toshiba_ac/device_manager.py
Cecchellone/Toshiba-AC-control
eba374f04acfb28bfa5814d0ddb2f9ffb422a0e1
[ "Apache-2.0" ]
null
null
null
toshiba_ac/device_manager.py
Cecchellone/Toshiba-AC-control
eba374f04acfb28bfa5814d0ddb2f9ffb422a0e1
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Kamil Sroka # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, sof...
38.089552
94
0.695533
345
2,552
4.907246
0.33913
0.037212
0.051979
0.037803
0.199646
0.15003
0.128766
0.086237
0.086237
0.086237
0
0.004065
0.22884
2,552
66
95
38.666667
0.856199
0.222571
0
0
0
0
0.014199
0
0
0
0
0.015152
0
1
0.076923
false
0.051282
0.102564
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
b5410a40aa8c2648f3afb62670b0c4c59c75bf37
1,874
py
Python
quantities/mass.py
chenmich/Quantities
21f9d8b1ce676fe96aaa7b5f7ac8773c4a40d181
[ "MIT" ]
1
2021-08-16T15:01:03.000Z
2021-08-16T15:01:03.000Z
quantities/mass.py
chenmich/Quantities
21f9d8b1ce676fe96aaa7b5f7ac8773c4a40d181
[ "MIT" ]
null
null
null
quantities/mass.py
chenmich/Quantities
21f9d8b1ce676fe96aaa7b5f7ac8773c4a40d181
[ "MIT" ]
null
null
null
from .quantity_type import QuantityType from .quantity import Quantity from .units import Unit class g(Unit): profile = { "name":"meter", "symbol":"g", "express_by_SI_base":"g", "express_by_SI":"g" } class tonne(Unit): profile = { "name":"tonne", "symbol":"...
24.025641
47
0.580043
221
1,874
4.669683
0.226244
0.087209
0.106589
0.116279
0.478682
0.478682
0.478682
0.478682
0.463178
0.348837
0
0.064808
0.291889
1,874
77
48
24.337662
0.712886
0
0
0.405405
0
0
0.129204
0
0
0
0
0
0
1
0.135135
false
0
0.040541
0.108108
0.513514
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
b5416316c095df7f09f20247ec18067ba8323848
1,562
py
Python
examples/catch_failure_example.py
slai/awssl
7846dfe652588e6acf045d06e50c60b07ee6547e
[ "MIT" ]
5
2017-10-16T17:33:31.000Z
2021-01-16T18:53:23.000Z
examples/catch_failure_example.py
slai/awssl
7846dfe652588e6acf045d06e50c60b07ee6547e
[ "MIT" ]
3
2018-09-06T21:26:22.000Z
2018-09-20T19:29:40.000Z
examples/catch_failure_example.py
slai/awssl
7846dfe652588e6acf045d06e50c60b07ee6547e
[ "MIT" ]
2
2018-08-12T00:58:45.000Z
2018-09-08T14:32:47.000Z
import os import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) import awssl def catch_failure_example(): # Fallback states reserved_type_fallback = awssl.Pass( Name="ReservedTypeFallback", ResultAsJSON={"msg": "This is a fallback from a reserved error code"}, OutputPat...
27.892857
87
0.759283
196
1,562
5.826531
0.382653
0.042032
0.044658
0.055166
0.232049
0.165499
0.165499
0.165499
0.134851
0.134851
0
0.000734
0.127401
1,562
55
88
28.4
0.837124
0.060819
0
0.2
0
0
0.283368
0.037645
0
0
0
0
0
0
null
null
0.075
0.075
null
null
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
b54397ef03a85a5e98d4756a3ca0cca6f0433b63
139
py
Python
PP4E/Examples/PP4E/Gui/Intro/gui2b.py
BeacherHou/Python-_Markdown-
015d79a02d32f49395b80ca10919b3a09b72c4df
[ "MIT" ]
null
null
null
PP4E/Examples/PP4E/Gui/Intro/gui2b.py
BeacherHou/Python-_Markdown-
015d79a02d32f49395b80ca10919b3a09b72c4df
[ "MIT" ]
null
null
null
PP4E/Examples/PP4E/Gui/Intro/gui2b.py
BeacherHou/Python-_Markdown-
015d79a02d32f49395b80ca10919b3a09b72c4df
[ "MIT" ]
null
null
null
from tkinter import * root = Tk() Button(root, text='press', command=root.quit).pack(side=LEFT, expand=YES, fill=BOTH) root.mainloop()
27.8
85
0.705036
21
139
4.666667
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.122302
139
4
86
34.75
0.803279
0
0
0
0
0
0.037037
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b54583985e9b02e1d14f1f66aae917d9b7568f14
1,005
py
Python
setup.py
oscarbodell/PyTrafik
19820f7ea1e064752e77677be6bf5ae4855307c8
[ "MIT" ]
3
2016-01-13T18:47:21.000Z
2016-11-22T14:19:39.000Z
setup.py
oscarbodell/PyTrafik
19820f7ea1e064752e77677be6bf5ae4855307c8
[ "MIT" ]
7
2016-01-13T18:30:44.000Z
2016-11-24T18:43:35.000Z
setup.py
oscarbodell/PyTrafik
19820f7ea1e064752e77677be6bf5ae4855307c8
[ "MIT" ]
6
2017-03-09T19:31:29.000Z
2021-10-02T19:54:09.000Z
# -*- coding: utf-8 -*- """ Setup for pytrafik """ from distutils.core import setup setup( name='pytrafik', version='0.2.1', description='PyTrafik', long_description='Wrapper for Västtrafik public API.', url='https://github.com/axelniklasson/PyTrafik', download_url = 'https://github.com/axelni...
32.419355
75
0.618905
106
1,005
5.820755
0.613208
0.153971
0.202593
0.126418
0.123177
0.123177
0
0
0
0
0
0.023018
0.221891
1,005
30
76
33.5
0.765985
0.041791
0
0
0
0
0.560669
0.023013
0
0
0
0
0
1
0
true
0
0.038462
0
0.038462
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
b5817f6996df238dc84f3381cc8607070d5566ec
230
py
Python
codeforces/etc/chat_servers_outgoing_traffic.py
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
codeforces/etc/chat_servers_outgoing_traffic.py
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
codeforces/etc/chat_servers_outgoing_traffic.py
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
n = 0 try: i = 0 while True: m = input() if m[0] == '+': n += 1 elif m[0] == '-': n -= 1 else: i += (len(m.split(':')[1]) * n) except: pass print(i)
14.375
43
0.295652
30
230
2.266667
0.566667
0.058824
0.088235
0.117647
0
0
0
0
0
0
0
0.061404
0.504348
230
15
44
15.333333
0.535088
0
0
0
0
0
0.013043
0
0
0
0
0
0
1
0
false
0.071429
0
0
0
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
b58b3efc830f485f59a18352cdd0ec1cd4380801
398
py
Python
tests/test_tweet_providers.py
Southampton-RSG/wdra-extender
cfbcc8633ef13002a8f0266c782380c9c6f4ae55
[ "BSD-3-Clause" ]
null
null
null
tests/test_tweet_providers.py
Southampton-RSG/wdra-extender
cfbcc8633ef13002a8f0266c782380c9c6f4ae55
[ "BSD-3-Clause" ]
28
2020-07-10T14:05:18.000Z
2022-02-01T15:31:16.000Z
tests/test_tweet_providers.py
Southampton-RSG/wdra-extender
cfbcc8633ef13002a8f0266c782380c9c6f4ae55
[ "BSD-3-Clause" ]
null
null
null
import typing import unittest from wdra_extender.extract import tweet_providers from .mocks.tweet_provider import TEST_TWEET_IDS, TEST_TWEETS class TweetProvidersTest(unittest.TestCase): def test_get_tweets_from_mock(self): tweets = tweet_providers.get_tweets( TEST_TWEET_IDS, ['tests.mocks.tw...
28.428571
74
0.781407
51
398
5.764706
0.45098
0.132653
0.122449
0
0
0
0
0
0
0
0
0
0.150754
398
13
75
30.615385
0.869822
0
0
0
0
0
0.103015
0.103015
0
0
0
0
0.111111
1
0.111111
false
0
0.444444
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
b598e91497e4d95cfc06999d7f80aedbdfa5b9f6
179
py
Python
hcc_october_inservice_2021/simple_nn.py
aambrioso1/presentations
5131f4448e07446776c148fa897c1b3b7902e590
[ "MIT" ]
null
null
null
hcc_october_inservice_2021/simple_nn.py
aambrioso1/presentations
5131f4448e07446776c148fa897c1b3b7902e590
[ "MIT" ]
null
null
null
hcc_october_inservice_2021/simple_nn.py
aambrioso1/presentations
5131f4448e07446776c148fa897c1b3b7902e590
[ "MIT" ]
null
null
null
# simple_nn.py # A simple neural network with one node that has two inputs and one output. train_X = [1, 2, 4, 5, 6, 7] train_Y = [3, 5, 4, 6, 7, 2] def initialize_parameters:
19.888889
75
0.670391
36
179
3.222222
0.777778
0.034483
0
0
0
0
0
0
0
0
0
0.085106
0.212291
179
9
76
19.888889
0.737589
0.480447
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
b59cba3cced496788b8df321a619ee6f2b8f576b
436
py
Python
zeus/models/repository_api_token.py
conrad-kronos/zeus
ddb6bc313e51fb22222b30822b82d76f37dbbd35
[ "Apache-2.0" ]
221
2017-07-03T17:29:21.000Z
2021-12-07T19:56:59.000Z
zeus/models/repository_api_token.py
conrad-kronos/zeus
ddb6bc313e51fb22222b30822b82d76f37dbbd35
[ "Apache-2.0" ]
298
2017-07-04T18:08:14.000Z
2022-03-03T22:24:51.000Z
zeus/models/repository_api_token.py
conrad-kronos/zeus
ddb6bc313e51fb22222b30822b82d76f37dbbd35
[ "Apache-2.0" ]
24
2017-07-15T13:46:45.000Z
2020-08-16T16:14:45.000Z
from zeus.config import db from zeus.db.mixins import ApiTokenMixin, RepositoryMixin, StandardAttributes from zeus.db.utils import model_repr class RepositoryApiToken(StandardAttributes, RepositoryMixin, ApiTokenMixin, db.Model): """ An API token associated to a repository. """ __tablename__ = "repos...
27.25
87
0.743119
51
436
6.058824
0.568627
0.07767
0.064725
0
0
0
0
0
0
0
0
0
0.172018
436
15
88
29.066667
0.855956
0.091743
0
0
0
0
0.097368
0
0
0
0
0
0
1
0.125
false
0
0.375
0.125
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
0
0
0
2
b5a0b31a3eacc7d7b2bc212399589612b19f6896
274
py
Python
src/asgi_lifespan/__init__.py
euri10/asgi-lifespan
0bffff3cf3b99319428aaf36bf10ca902ce4146e
[ "MIT" ]
98
2019-09-27T19:53:06.000Z
2022-03-18T19:46:03.000Z
src/asgi_lifespan/__init__.py
euri10/asgi-lifespan
0bffff3cf3b99319428aaf36bf10ca902ce4146e
[ "MIT" ]
45
2019-09-27T20:43:46.000Z
2022-01-04T11:12:11.000Z
src/asgi_lifespan/__init__.py
euri10/asgi-lifespan
0bffff3cf3b99319428aaf36bf10ca902ce4146e
[ "MIT" ]
4
2020-01-10T09:21:21.000Z
2021-12-02T08:49:10.000Z
from .__version__ import __description__, __title__, __version__ from ._exceptions import LifespanNotSupported from ._manager import LifespanManager __all__ = [ "__description__", "__title__", "__version__", "LifespanManager", "LifespanNotSupported", ]
22.833333
64
0.755474
20
274
8.65
0.5
0.184971
0.265896
0
0
0
0
0
0
0
0
0
0.160584
274
11
65
24.909091
0.752174
0
0
0
0
0
0.255474
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b5a2b077972636d2699e89ae20a506eba27c7b60
294
py
Python
Installation/auxiliary/gdb/test-gdb.py
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
3,227
2015-03-05T00:19:18.000Z
2022-03-31T08:20:35.000Z
Installation/auxiliary/gdb/test-gdb.py
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
5,574
2015-03-05T00:01:56.000Z
2022-03-31T15:08:11.000Z
Installation/auxiliary/gdb/test-gdb.py
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
1,274
2015-03-05T00:01:12.000Z
2022-03-31T14:47:56.000Z
#!/usr/bin/python # Copyright (c) 2011 GeometryFactory Sarl (France) # # $URL$ # $Id$ # SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial # # Author(s) : Laurent Rineau import sys import os import gdb sys.path.insert(0, os.getcwd() + '/python') import CGAL.printers
15.473684
69
0.693878
42
294
4.857143
0.809524
0
0
0
0
0
0
0
0
0
0
0.028226
0.156463
294
18
70
16.333333
0.794355
0.598639
0
0
0
0
0.063636
0
0
0
0
0
0
1
0
true
0
0.8
0
0.8
0.2
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
0
0
0
2
b5a68e736ff8566d04f91eed08e8265c476403a6
479
py
Python
mindpile/Utility/types.py
MelbourneHighSchoolRobotics/Mindpile
9dd0a14ee336810c2b62826afff4da8719455ba0
[ "BSD-3-Clause" ]
2
2021-02-16T22:21:36.000Z
2021-02-17T03:16:30.000Z
mindpile/Utility/types.py
MelbourneHighSchoolRobotics/Mindpile
9dd0a14ee336810c2b62826afff4da8719455ba0
[ "BSD-3-Clause" ]
2
2021-02-17T03:20:24.000Z
2021-04-30T06:46:02.000Z
mindpile/Utility/types.py
MelbourneHighSchoolRobotics/mindpile
9dd0a14ee336810c2b62826afff4da8719455ba0
[ "BSD-3-Clause" ]
null
null
null
import xml.etree.ElementTree as ET from typing import NewType MethodCall = NewType("MethodCall", ET.Element) ConfigurableMethodTerminal = NewType("ConfigurableMethodTerminal", ET.Element) MethodTerminal = NewType("MethodTerminal", ET.Element) WhileLoop = NewType("WhileLoop", ET.Element) Terminal = NewType("Terminal", ...
47.9
81
0.822547
45
479
8.755556
0.377778
0.159898
0.187817
0.22335
0
0
0
0
0
0
0
0
0.070981
479
10
82
47.9
0.885393
0
0
0
0
0
0.25625
0.170833
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a947644dfee831221e34924b54e1a42bd1339141
1,547
py
Python
tests/test_fields.py
vd2org/envreader
18b604a4010bb2e092ce30c4aa395d0bcc2f574e
[ "MIT" ]
11
2020-10-12T18:47:46.000Z
2021-04-11T19:11:51.000Z
tests/test_fields.py
vd2org/envreader
18b604a4010bb2e092ce30c4aa395d0bcc2f574e
[ "MIT" ]
null
null
null
tests/test_fields.py
vd2org/envreader
18b604a4010bb2e092ce30c4aa395d0bcc2f574e
[ "MIT" ]
null
null
null
# Copyright (C) 2020-2021 by Vd. # This file is part of EnvReader, the modern environment variables processor. # EnvReader is released under the MIT License (see LICENSE). import os from envreader import EnvReader, Field def test_fields(): os.environ['VAR_STR_R'] = "some_string" os.environ['VAR_INT_R'] = "...
35.159091
98
0.651584
231
1,547
4.12987
0.229437
0.081761
0.188679
0.113208
0.498952
0.194969
0.148847
0.148847
0.148847
0.069182
0
0.035599
0.201034
1,547
43
99
35.976744
0.736246
0.106658
0
0
0
0
0.330189
0
0
0
0
0
0.576923
1
0.038462
false
0
0.076923
0
0.230769
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
1
0
0
0
0
0
0
0
0
0
2
a9576fec9dd586c8a698b0228969fe94cdfc01cd
755
py
Python
converter/model/AWS.py
sutjin/bounding-box-conversion
cfdb43f2d54f700b63dda3bc9441874132827a71
[ "Apache-2.0" ]
1
2020-09-18T10:01:45.000Z
2020-09-18T10:01:45.000Z
converter/model/AWS.py
sutjin/bounding-box-conversion
cfdb43f2d54f700b63dda3bc9441874132827a71
[ "Apache-2.0" ]
null
null
null
converter/model/AWS.py
sutjin/bounding-box-conversion
cfdb43f2d54f700b63dda3bc9441874132827a71
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass import datetime @dataclass class Object: confidence: int @dataclass class Dimension: width: int height: int depth: int @dataclass class Annotation: class_id: int top: int left: int width: int height: int @dataclass class BoundingBox: imag...
16.06383
53
0.707285
84
755
6.238095
0.52381
0.160305
0.097328
0.064886
0
0
0
0
0
0
0
0
0.217219
755
46
54
16.413043
0.886633
0
0
0.294118
0
0
0.063576
0.037086
0
0
0
0
0
1
0
true
0
0.058824
0
0.823529
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
a95de4b030349f5055ad7a52785ba6f799636c8c
1,591
py
Python
f1tenth/common/point.py
TheCodeSummoner/f1tenth-racing-algorithms
5e66ddc0a4894d2bb23ccb0829c298a6dbee1d70
[ "MIT" ]
1
2021-07-06T06:17:08.000Z
2021-07-06T06:17:08.000Z
f1tenth/common/point.py
TheCodeSummoner/f1tenth-racing-algorithms
5e66ddc0a4894d2bb23ccb0829c298a6dbee1d70
[ "MIT" ]
null
null
null
f1tenth/common/point.py
TheCodeSummoner/f1tenth-racing-algorithms
5e66ddc0a4894d2bb23ccb0829c298a6dbee1d70
[ "MIT" ]
1
2021-07-06T06:18:51.000Z
2021-07-06T06:18:51.000Z
""" Wrapper module providing a simple cartesian point mapping. """ from dataclasses import dataclass @dataclass class CartesianPoint: """ Each cartesian point has x and y coordinates. """ position_x: float = 0 position_y: float = 0 def __iter__(self): yield self.position_x yi...
20.934211
114
0.598366
172
1,591
5.44186
0.284884
0.057692
0.089744
0.102564
0.529915
0.459402
0.459402
0.459402
0.459402
0.459402
0
0.001837
0.315525
1,591
75
115
21.213333
0.857668
0.37335
0
0.516129
0
0
0
0
0
0
0
0
0
1
0.225806
false
0
0.032258
0
0.677419
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
a9609726f12631e783c64205976e0d869e3a7171
3,096
py
Python
pieseis/tests/property_test.py
JoeXinfa/pieseis
4898cf7811c582ecb0bf02e18b326d21698d9c78
[ "CC-BY-4.0" ]
2
2018-11-19T16:16:51.000Z
2020-04-05T01:47:56.000Z
pieseis/tests/property_test.py
JoeXinfa/pieseis
4898cf7811c582ecb0bf02e18b326d21698d9c78
[ "CC-BY-4.0" ]
1
2020-02-24T15:52:47.000Z
2020-02-24T15:52:47.000Z
pieseis/tests/property_test.py
JoeXinfa/pieseis
4898cf7811c582ecb0bf02e18b326d21698d9c78
[ "CC-BY-4.0" ]
2
2019-09-15T14:29:29.000Z
2020-04-05T01:48:56.000Z
""" Unittessts for various parts of the python javaseis implementation. """ import unittest import sys sys.path.append('..') import pieseis.io.jsfile as jsfile from pieseis.io import properties from pieseis.tests.config_for_test import TEST_DATASET class TestFileProperties(unittest.TestCase): def setUp(self):...
32.93617
100
0.741925
380
3,096
5.760526
0.242105
0.051165
0.100503
0.068524
0.539059
0.391503
0.283691
0.283691
0.197807
0.197807
0
0.001172
0.173127
3,096
94
101
32.93617
0.853906
0.040698
0
0.238095
0
0
0.007427
0
0
0
0
0.010638
0.333333
1
0.301587
false
0.047619
0.079365
0
0.428571
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
0
0
0
2
a961e0f4b9e840bfab00cb46e7a58ecfd8b2e2d9
1,283
py
Python
made_with_twd_project/showcase/forms.py
xerlivex/tango-with-django
8eaf447e887e1c8879c7269927e9e97c81ac7570
[ "MIT" ]
1
2015-11-05T17:00:56.000Z
2015-11-05T17:00:56.000Z
made_with_twd_project/showcase/forms.py
xerlivex/tango-with-django
8eaf447e887e1c8879c7269927e9e97c81ac7570
[ "MIT" ]
null
null
null
made_with_twd_project/showcase/forms.py
xerlivex/tango-with-django
8eaf447e887e1c8879c7269927e9e97c81ac7570
[ "MIT" ]
1
2018-03-31T08:06:53.000Z
2018-03-31T08:06:53.000Z
__author__ = 'leif' from django.contrib.auth.models import User from django import forms from models import Team, Rating, Demo, RATING_CHOICES class UserForm(forms.ModelForm): password = forms.CharField(widget=forms.PasswordInput) username = forms.CharField() email = forms.EmailField() class Meta: ...
31.292683
130
0.671083
154
1,283
5.538961
0.402597
0.082063
0.065651
0.053927
0.067995
0
0
0
0
0
0
0.014299
0.182385
1,283
40
131
32.075
0.798856
0
0
0.137931
0
0
0.174591
0
0
0
0
0
0
1
0
false
0.068966
0.103448
0
0.689655
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
a9677b9dfd2959ba4c86d13f3fffd3905a01cffc
1,021
py
Python
utils/notifier.py
slmtpz/RaiseIt
91cf3b6e4466da2b2e35dd24e5a00814c56ff570
[ "Apache-2.0" ]
1
2018-10-18T08:43:49.000Z
2018-10-18T08:43:49.000Z
utils/notifier.py
norubai/RaiseIt
221783cc2ebd4d5dcb4b05f63cdcff10563a4025
[ "Apache-2.0" ]
2
2021-05-07T20:44:40.000Z
2022-02-12T03:35:37.000Z
utils/notifier.py
slmtpz/RaiseIt
91cf3b6e4466da2b2e35dd24e5a00814c56ff570
[ "Apache-2.0" ]
null
null
null
from twilio.rest import Client class _Notifier: def __init__(self, twilio_account_sid, twilio_auth_token, twilio_phone_number): self.client = Client(twilio_account_sid, twilio_auth_token) self.phone_number = twilio_phone_number pass class Messenger(_Notifier): def _send_sms(self, pho...
34.033333
125
0.659158
136
1,021
4.661765
0.433824
0.066246
0.070978
0.085174
0.182965
0.097792
0
0
0
0
0
0
0.254652
1,021
29
126
35.206897
0.833114
0
0
0.090909
0
0
0.192948
0
0
0
0
0
0
1
0.227273
false
0.090909
0.045455
0
0.363636
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
a96a046c2ff004493eee88bb1e1b94a9c444afc0
1,409
py
Python
allauth/socialaccount/providers/other/angellist/provider.py
Cairnica/django-allauth
43ddfc81f7fd06fc6502d425bf78833d5dbf49d0
[ "MIT" ]
null
null
null
allauth/socialaccount/providers/other/angellist/provider.py
Cairnica/django-allauth
43ddfc81f7fd06fc6502d425bf78833d5dbf49d0
[ "MIT" ]
null
null
null
allauth/socialaccount/providers/other/angellist/provider.py
Cairnica/django-allauth
43ddfc81f7fd06fc6502d425bf78833d5dbf49d0
[ "MIT" ]
null
null
null
import requests from allauth.socialaccount.providers.base import ProviderAccount from allauth.socialaccount.providers.core.oauth2.provider import OAuth2Provider class AngelListAccount(ProviderAccount): def get_profile_url(self): return self.account.extra_data.get('angellist_url') def get_avatar_url(...
31.311111
96
0.682044
169
1,409
5.514793
0.378698
0.045064
0.054721
0.070815
0.157725
0.157725
0.077253
0.077253
0
0
0
0.004386
0.190916
1,409
44
97
32.022727
0.813158
0
0
0
0
0
0.134847
0
0
0
0
0
0
1
0.1875
false
0
0.09375
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
a98f1204c6c31e3453c22cfc183dac6639a0bf73
867
py
Python
.tools/pipeline/add_status.py
vcpkgx/vcpkgx.github.io
054a81cac6a3f666793cf519235da0ecff2d46c2
[ "MIT" ]
2
2020-06-10T03:33:55.000Z
2020-06-10T04:05:29.000Z
.tools/pipeline/add_status.py
vcpkgx/vcpkgx.github.io
054a81cac6a3f666793cf519235da0ecff2d46c2
[ "MIT" ]
14
2020-06-16T20:56:36.000Z
2021-11-30T05:40:59.000Z
.tools/pipeline/add_status.py
vcpkgx/vcpkgx.github.io
054a81cac6a3f666793cf519235da0ecff2d46c2
[ "MIT" ]
null
null
null
import os from parsers.baseline_parser import parse_baseline_file class AddStatus: def __init__(self, path): self.path = path def __call__(self, dic): packages = dic["packages"] baseline_path = self.path if os.path.isfile(baseline_path): packageStatus = parse_base...
27.09375
84
0.531719
85
867
5.235294
0.435294
0.053933
0.076404
0
0
0
0
0
0
0
0
0
0.367935
867
31
85
27.967742
0.812044
0.044983
0
0.095238
0
0
0.06303
0
0
0
0
0.032258
0
1
0.095238
false
0.095238
0.095238
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
a99169827c8620e99268089ee8b51fdb4c3e4070
1,406
py
Python
LoopStructural/modelling/input/project_file.py
Loop3D/LoopStructural
f2b9fdc2cfd25e670358e2ff1850f6a362c637c5
[ "MIT" ]
67
2020-06-25T06:50:58.000Z
2022-03-29T17:15:43.000Z
LoopStructural/modelling/input/project_file.py
Loop3D/LoopStructural
f2b9fdc2cfd25e670358e2ff1850f6a362c637c5
[ "MIT" ]
60
2020-06-28T22:58:21.000Z
2022-03-24T01:30:59.000Z
LoopStructural/modelling/input/project_file.py
Loop3D/LoopStructural
f2b9fdc2cfd25e670358e2ff1850f6a362c637c5
[ "MIT" ]
9
2020-06-25T13:07:39.000Z
2021-12-01T01:41:24.000Z
from LoopStructural.utils import LoopImportError, LoopTypeError, LoopValueError try: from LoopProjectFile import ProjectFile except ImportError: raise LoopImportError("LoopProjectFile cannot be imported") from .process_data import ProcessInputData import numpy as np import pandas as pd import networkx from L...
41.352941
79
0.631579
121
1,406
7.090909
0.528926
0.041958
0.053613
0.067599
0
0
0
0
0
0
0
0.001015
0.299431
1,406
34
80
41.352941
0.870051
0.430299
0
0
0
0
0.091603
0
0
0
0
0
0
1
0.0625
false
0
0.5625
0
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
a99e4b434f83d56232a2310acf363b66a24c2fd7
203
py
Python
2887/solution.py
Pedram-Parsian/quera-answers
bbdbe613266358482c394f6f80731a23c3ac738d
[ "MIT" ]
1
2020-03-17T21:18:59.000Z
2020-03-17T21:18:59.000Z
2887/solution.py
Pedram-Parsian/quera-answers
bbdbe613266358482c394f6f80731a23c3ac738d
[ "MIT" ]
null
null
null
2887/solution.py
Pedram-Parsian/quera-answers
bbdbe613266358482c394f6f80731a23c3ac738d
[ "MIT" ]
null
null
null
from functools import reduce from math import gcd n = int(input()) n_list = [int(x) for x in input().split()] n_list_gcd = reduce(gcd, n_list) print(sum(list(map(lambda x: int(x/n_list_gcd), n_list))))
25.375
58
0.70936
40
203
3.425
0.45
0.182482
0.116788
0
0
0
0
0
0
0
0
0
0.133005
203
7
59
29
0.778409
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
8d132b160c616e4d2cb46da55e8e43d791321c6b
627
py
Python
cloudtunes-server/cloudtunes/services/dropbox/models.py
skymemoryGit/cloudtunes
424bf59e05663b0df20e16ddbd119eb39f6a729b
[ "BSD-3-Clause" ]
529
2015-01-01T04:59:12.000Z
2022-03-31T16:09:38.000Z
cloudtunes-server/cloudtunes/services/dropbox/models.py
skymemoryGit/cloudtunes
424bf59e05663b0df20e16ddbd119eb39f6a729b
[ "BSD-3-Clause" ]
21
2015-01-13T15:41:15.000Z
2021-11-06T20:56:40.000Z
cloudtunes-server/cloudtunes/services/dropbox/models.py
skymemoryGit/cloudtunes
424bf59e05663b0df20e16ddbd119eb39f6a729b
[ "BSD-3-Clause" ]
116
2015-01-04T22:12:56.000Z
2022-02-23T11:43:01.000Z
from mongoengine import StringField from cloudtunes.base.models import EmbeddedDocument from cloudtunes.services.models import ServiceAccount class DropboxAccount(ServiceAccount): country = StringField(max_length=2) display_name = StringField() oauth_token_key = StringField() oauth_token_secret = Str...
21.62069
53
0.735247
68
627
6.602941
0.558824
0.040089
0.093541
0
0
0
0
0
0
0
0
0.001984
0.196172
627
28
54
22.392857
0.888889
0
0
0.111111
0
0
0.011164
0
0
0
0
0
0
1
0.166667
false
0
0.166667
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
0
1
1
0
0
2
8d13510730e18ed97a1a0082b553fba551c1f1c7
1,133
py
Python
ravop/core/ftp_client.py
7enTropy7/ravop
e8741adac086ed2727cb9e9fb6fec15dae297573
[ "MIT" ]
null
null
null
ravop/core/ftp_client.py
7enTropy7/ravop
e8741adac086ed2727cb9e9fb6fec15dae297573
[ "MIT" ]
null
null
null
ravop/core/ftp_client.py
7enTropy7/ravop
e8741adac086ed2727cb9e9fb6fec15dae297573
[ "MIT" ]
null
null
null
from ftplib import FTP from ..config import FTP_SERVER_URL from ..globals import globals as g class FTPClient: def __init__(self, host, user, passwd): self.ftp = FTP(host) # self.ftp.set_debuglevel(2) self.ftp.set_pasv(True) self.ftp.login(user, passwd) def download(self, fil...
28.325
99
0.662842
146
1,133
5.006849
0.410959
0.076607
0.065663
0.060192
0.139535
0.139535
0.139535
0.139535
0.139535
0
0
0.001126
0.21624
1,133
40
100
28.325
0.822072
0.022948
0
0
0
0
0.061483
0
0
0
0
0
0
1
0.25
false
0.25
0.107143
0
0.5
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
8d13cab88a6f0c5054b13dab6ab400ebb507c190
233
py
Python
lagou/quickstart.py
dengshaochun/spider
b10195169b5699cf2ca9bf125362cbedc9440ad9
[ "MIT" ]
null
null
null
lagou/quickstart.py
dengshaochun/spider
b10195169b5699cf2ca9bf125362cbedc9440ad9
[ "MIT" ]
null
null
null
lagou/quickstart.py
dengshaochun/spider
b10195169b5699cf2ca9bf125362cbedc9440ad9
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2018/3/1 13:23 # @Author : Dengsc # @Site : # @File : quickstart.py # @Software: PyCharm from scrapy import cmdline cmdline.execute('scrapy crawl lagou'.split())
16.642857
45
0.618026
31
233
4.645161
0.935484
0
0
0
0
0
0
0
0
0
0
0.059459
0.206009
233
13
46
17.923077
0.718919
0.609442
0
0
0
0
0.214286
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
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
2
8d1b2241c1bf25a6d129cfe7c5cce89d400ed6d3
2,254
py
Python
qqtranslate_spider.py
lzc978/Spider_demo
f6c6033f484cc07ba33442012ddca5736cb69133
[ "Apache-2.0" ]
null
null
null
qqtranslate_spider.py
lzc978/Spider_demo
f6c6033f484cc07ba33442012ddca5736cb69133
[ "Apache-2.0" ]
null
null
null
qqtranslate_spider.py
lzc978/Spider_demo
f6c6033f484cc07ba33442012ddca5736cb69133
[ "Apache-2.0" ]
null
null
null
import sys import time import requests def send_request(keyword): headers = { "Accept": "application/json, text/javascript, */*; q=0.01", "Accept-Encoding": "gzip, deflate, br", "Accept-Language": "zh-CN,zh;q=0.9", "Connection": "keep-alive", "Content-Length": "275", ...
59.315789
887
0.727152
245
2,254
6.538776
0.677551
0.021848
0.031211
0.02809
0.287141
0.073658
0.073658
0.073658
0.073658
0
0
0.192131
0.131766
2,254
38
888
59.315789
0.626469
0.006655
0
0
0
0.0625
0.713584
0.406613
0
0
0
0
0
1
0.03125
false
0
0.09375
0
0.125
0.03125
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
0
0
0
0
0
0
0
2
8d3664f5a61ead1044b7fb895bff118e03aeb10d
5,902
py
Python
fhir/resources/tests/test_bodystructure.py
cstoltze/fhir.resources
52f99738935b7313089d89daf94d73ce7d167c9d
[ "BSD-3-Clause" ]
144
2019-05-08T14:24:43.000Z
2022-03-30T02:37:11.000Z
fhir/resources/tests/test_bodystructure.py
cstoltze/fhir.resources
52f99738935b7313089d89daf94d73ce7d167c9d
[ "BSD-3-Clause" ]
82
2019-05-13T17:43:13.000Z
2022-03-30T16:45:17.000Z
fhir/resources/tests/test_bodystructure.py
cstoltze/fhir.resources
52f99738935b7313089d89daf94d73ce7d167c9d
[ "BSD-3-Clause" ]
48
2019-04-04T14:14:53.000Z
2022-03-30T06:07:31.000Z
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/BodyStructure Release: R4 Version: 4.0.1 Build ID: 9346c8cc45 Last updated: 2019-11-01T09:29:23.356+11:00 """ from pydantic.validators import bytes_validator # noqa: F401 from .. import fhirtypes # noqa: F401 from .. import bodystructure ...
38.575163
87
0.695527
722
5,902
5.620499
0.211911
0.135535
0.032528
0.053228
0.763677
0.745934
0.666831
0.666831
0.623213
0.569739
0
0.037406
0.166554
5,902
152
88
38.828947
0.787558
0.111318
0
0.436364
0
0
0.254335
0.019461
0
0
0
0
0.554545
1
0.054545
false
0
0.027273
0
0.081818
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
8d3f88445b475e6af7f4ca1afad87d56cb380695
265
py
Python
finch/search_sites.py
pterk/finch-cms
75d8accbc75b0b6348d71e0eb94df997b1ed2ef1
[ "BSD-3-Clause" ]
1
2019-12-29T16:22:54.000Z
2019-12-29T16:22:54.000Z
finch/search_sites.py
pterk/finch-cms
75d8accbc75b0b6348d71e0eb94df997b1ed2ef1
[ "BSD-3-Clause" ]
3
2020-02-11T21:08:03.000Z
2021-06-10T17:22:57.000Z
finch/search_sites.py
pterk/finch-cms
75d8accbc75b0b6348d71e0eb94df997b1ed2ef1
[ "BSD-3-Clause" ]
null
null
null
import sys import haystack import contentmanager # A bit of a hack but it seems to work for my use-cases if len(sys.argv)>1 \ and sys.argv[1] in ('clear_index', 'rebuild_index', 'update_index'): contentmanager.autodiscover() haystack.autodiscover()
20.384615
76
0.720755
40
265
4.7
0.7
0.074468
0.085106
0
0
0
0
0
0
0
0
0.009174
0.177358
265
12
77
22.083333
0.853211
0.2
0
0
0
0
0.171429
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
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
0
0
0
2
8d40f46e8b80aeeec9dde93f3f5c174404e84659
382
py
Python
back-end/core/views.py
zaja1kun/senseira
55eea55c60641fefa04a9ba9b14f60bedd969d6e
[ "Apache-2.0" ]
1
2016-03-01T14:19:22.000Z
2016-03-01T14:19:22.000Z
back-end/core/views.py
zaja1kun/senseira
55eea55c60641fefa04a9ba9b14f60bedd969d6e
[ "Apache-2.0" ]
37
2016-02-28T16:13:45.000Z
2016-05-17T08:59:10.000Z
back-end/core/views.py
zaja1kun/senseira
55eea55c60641fefa04a9ba9b14f60bedd969d6e
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse from django.template import RequestContext, loader from .models import * def index(request): # latest_question_list = Question.objects.order_by('-pub_date')[:5] template = loader.get_template('core/index.html') context = RequestConte...
31.833333
71
0.774869
47
382
6.191489
0.595745
0.103093
0
0
0
0
0
0
0
0
0
0.003003
0.128272
382
11
72
34.727273
0.870871
0.170157
0
0
0
0
0.047619
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
8d543fba5de06bc332012ccb72df27e38ab79f48
309
py
Python
test.py
Stanked/scrabblescore.py
d44e147a9f2cf03509a27722d2e559e69a8c6d02
[ "ISC" ]
1
2022-01-26T22:19:39.000Z
2022-01-26T22:19:39.000Z
test.py
Stanked/scrabblescore.py
d44e147a9f2cf03509a27722d2e559e69a8c6d02
[ "ISC" ]
2
2022-01-26T17:46:40.000Z
2022-01-26T21:04:49.000Z
test.py
Stanked/scrabblescore.py
d44e147a9f2cf03509a27722d2e559e69a8c6d02
[ "ISC" ]
8
2022-01-26T20:29:48.000Z
2022-01-26T20:32:34.000Z
""" Run the tests with: python -m unittest """ import unittest import scrabblescore class Tests(unittest.TestCase): def test_blankword(self): self.assertEqual(scrabblescore.scrabblescore(''), 0) def test_scrabblescore(self): self.assertEqual(scrabblescore.scrabblescore('oxyphenbutazone'), 41)
22.071429
72
0.760518
34
309
6.852941
0.558824
0.120172
0.16309
0.274678
0.386266
0
0
0
0
0
0
0.01107
0.122977
309
13
73
23.769231
0.848708
0.122977
0
0
0
0
0.057034
0
0
0
0
0
0.285714
1
0.285714
false
0
0.285714
0
0.714286
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
0
0
0
2
8d551165caab718e02654c5731bf79844f61791e
489
py
Python
samples/simple_observer.py
jbarbadillo/reactivemqtt
f4f1d09b8d65d7ce9cc62de62f0908c4b4476a3f
[ "MIT" ]
2
2020-05-06T11:08:01.000Z
2021-11-07T09:42:16.000Z
samples/simple_observer.py
jbarbadillo/reactivemqtt
f4f1d09b8d65d7ce9cc62de62f0908c4b4476a3f
[ "MIT" ]
null
null
null
samples/simple_observer.py
jbarbadillo/reactivemqtt
f4f1d09b8d65d7ce9cc62de62f0908c4b4476a3f
[ "MIT" ]
null
null
null
from rx import Observable, Observer letters = Observable.from_(["tocho", "tochez", "tochisimo", "tochine"]) class MySubscriber(Observer): def on_next(self, value): print(value) def on_completed(self): print("done") def on_error(self, error): print(error) letters.subscribe(MySub...
23.285714
71
0.640082
60
489
5.1
0.466667
0.04902
0
0
0
0
0
0
0
0
0
0
0.226994
489
21
72
23.285714
0.809524
0.02454
0
0
0
0
0.073529
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0
0.384615
0.461538
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
2
8d68c7bbd12cf0353bb8e4144798e4f58bd595ad
928
py
Python
setup.py
saimoncse19/bangla-math
74ee68300098641d180f9507806abec3458504e9
[ "MIT" ]
null
null
null
setup.py
saimoncse19/bangla-math
74ee68300098641d180f9507806abec3458504e9
[ "MIT" ]
null
null
null
setup.py
saimoncse19/bangla-math
74ee68300098641d180f9507806abec3458504e9
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name='banglamath', packages=['mathevaluator'], version='1.1', license='MIT', description='The Evaluator class in banglamath has two functions: bengali_to_english() that' 'evaluates a Bengali math expression and return the result in English and bengali_to_...
34.37037
109
0.688578
114
928
5.517544
0.622807
0.042925
0.050874
0.054054
0.08903
0
0
0
0
0
0
0.017083
0.179957
928
26
110
35.692308
0.809461
0
0
0
0
0.043478
0.627832
0.022654
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
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
8d68ca23a4d52a8d3be7bf84c4f387c92224fb83
761
py
Python
tests/tokenizers/test_coding_dna_delins.py
cancervariants/varlex
3806317fa0125c3098e80124d5169fe6a13d50db
[ "MIT" ]
null
null
null
tests/tokenizers/test_coding_dna_delins.py
cancervariants/varlex
3806317fa0125c3098e80124d5169fe6a13d50db
[ "MIT" ]
15
2019-10-23T17:35:42.000Z
2020-05-05T21:04:01.000Z
tests/tokenizers/test_coding_dna_delins.py
cancervariants/varlex
3806317fa0125c3098e80124d5169fe6a13d50db
[ "MIT" ]
null
null
null
"""A module for testing Coding DNA DelIns tokenization.""" import unittest from variation.tokenizers.caches import AminoAcidCache, NucleotideCache from variation.tokenizers import CodingDNADelIns from .tokenizer_base import TokenizerBase class TestCodingDNADelInsTokenizer(TokenizerBase, unittest.TestCase): """A ...
33.086957
71
0.735874
81
761
6.839506
0.395062
0.064982
0.108303
0.068592
0.133574
0.133574
0
0
0
0
0
0
0.178712
761
22
72
34.590909
0.8864
0.293035
0
0
0
0
0.0625
0
0
0
0
0
0
1
0.272727
false
0
0.363636
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
0
0
0
2
8d6988f566736a6557220f40b82f0dcbcac0dcfa
667
py
Python
cabinet/user/schemas.py
crgwilson/cabinet
b09e4a45656495ccd168d2644edee3106005909f
[ "MIT" ]
null
null
null
cabinet/user/schemas.py
crgwilson/cabinet
b09e4a45656495ccd168d2644edee3106005909f
[ "MIT" ]
null
null
null
cabinet/user/schemas.py
crgwilson/cabinet
b09e4a45656495ccd168d2644edee3106005909f
[ "MIT" ]
null
null
null
from marshmallow import Schema, fields from cabinet.auth.schemas import RoleOutputSchema class UserInputSchema(Schema): username = fields.String(required=True) password = fields.String(required=True) class UserOutputSchema(Schema): id = fields.Integer(required=True) username = fields.String(require...
25.653846
76
0.748126
75
667
6.56
0.44
0.146341
0.121951
0.146341
0.243902
0
0
0
0
0
0
0
0.149925
667
25
77
26.68
0.867725
0.017991
0
0.125
0
0
0.003063
0
0
0
0
0
0
1
0
false
0.0625
0.125
0
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
8d7898f9edb6790a67b2bb02ef3f47c587e5bd84
920
py
Python
tests/test_get_num_cells/test_num_cells.py
AI-Pranto/OpenMOC
7f6ce4797aec20ddd916981a56a4ba54ffda9a06
[ "MIT" ]
97
2015-01-02T02:13:45.000Z
2022-03-09T14:12:45.000Z
tests/test_get_num_cells/test_num_cells.py
AI-Pranto/OpenMOC
7f6ce4797aec20ddd916981a56a4ba54ffda9a06
[ "MIT" ]
325
2015-01-07T17:43:14.000Z
2022-02-21T17:22:00.000Z
tests/test_get_num_cells/test_num_cells.py
AI-Pranto/OpenMOC
7f6ce4797aec20ddd916981a56a4ba54ffda9a06
[ "MIT" ]
73
2015-01-17T19:11:58.000Z
2022-03-24T16:31:37.000Z
#!/usr/bin/env python import os import sys sys.path.insert(0, os.pardir) sys.path.insert(0, os.path.join(os.pardir, 'openmoc')) from testing_harness import TestHarness from input_set import PinCellInput class GetNumCellsTestHarness(TestHarness): """A unit test for the GetNumCells routine.""" def __init__(se...
24.864865
73
0.678261
111
920
5.306306
0.522523
0.040747
0.044143
0.047538
0.054329
0
0
0
0
0
0
0.002793
0.221739
920
36
74
25.555556
0.819832
0.066304
0
0.125
0
0
0.017585
0
0
0
0
0
0
1
0.208333
false
0.125
0.166667
0
0.458333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
8d8236a64aa8d30565f4b540310a704d7ee4f62e
1,921
py
Python
plasma0/plasmalib/operator/rsa_accumulator.py
plasma-group/research
4d454351cd2417ccaa18ac214e2f155ea7345704
[ "MIT" ]
16
2019-03-01T11:16:25.000Z
2019-07-04T21:12:10.000Z
plasma0/plasmalib/operator/rsa_accumulator.py
plasma-group/research
4d454351cd2417ccaa18ac214e2f155ea7345704
[ "MIT" ]
16
2019-03-20T17:20:59.000Z
2021-08-01T20:36:40.000Z
plasma0/plasmalib/operator/rsa_accumulator.py
plasma-group/research
4d454351cd2417ccaa18ac214e2f155ea7345704
[ "MIT" ]
1
2019-04-16T07:50:57.000Z
2019-04-16T07:50:57.000Z
from hashlib import blake2s def hash(x): return blake2s(x).digest()[:32] def get_primes(givenNumber): # Initialize a list primes = [] for possiblePrime in range(2, givenNumber + 1): # Assume number is prime until shown it is not. isPrime = True for num in range(2, int(possibleP...
36.245283
623
0.745445
184
1,921
7.652174
0.358696
0.028409
0.019176
0.027699
0.050426
0.050426
0
0
0
0
0
0.405559
0.17595
1,921
52
624
36.942308
0.483891
0.032795
0
0.051282
0
0
0.004852
0
0
0
0
0
0
1
0.128205
false
0
0.025641
0.051282
0.25641
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8da114d2605d3b5465303203aa3bec1d3fd06d7f
1,964
py
Python
examples/calculator_test_model.py
OPpuolitaival/pyosmo
d95b46bccde44d5d214558ff580da033fd66feaf
[ "MIT" ]
7
2018-08-13T06:01:23.000Z
2021-12-11T18:18:14.000Z
examples/calculator_test_model.py
OPpuolitaival/pyosmo
d95b46bccde44d5d214558ff580da033fd66feaf
[ "MIT" ]
4
2018-07-18T05:14:05.000Z
2021-12-11T18:17:47.000Z
examples/calculator_test_model.py
OPpuolitaival/pyosmo
d95b46bccde44d5d214558ff580da033fd66feaf
[ "MIT" ]
4
2018-03-19T11:24:00.000Z
2021-12-11T18:16:15.000Z
# pylint: disable=no-self-use from random import Random import pyosmo from pyosmo import OsmoModel from pyosmo.algorithm import WeightedAlgorithm from pyosmo.end_conditions import Length from pyosmo.osmo import Osmo class CalculatorTestModel(OsmoModel): def __init__(self, random: Random = Random()): pri...
28.882353
81
0.643585
242
1,964
5.061983
0.309917
0.156735
0.235102
0.21551
0.360816
0.360816
0.360816
0.337143
0.337143
0.337143
0
0.014845
0.245418
1,964
67
82
29.313433
0.811741
0.09165
0
0.145833
0
0
0.170512
0.096792
0
0
0
0
0.020833
1
0.1875
false
0
0.125
0.020833
0.354167
0.1875
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a5cfb086b743b863205fc9ca2a2bc8b2753c8da5
760
py
Python
test_proj_l1_simplex.py
Mega-DatA-Lab/SpectralLDA
3f1dfd6130718ca31fcb9247cd636d11e9143791
[ "Apache-2.0" ]
9
2018-03-02T14:31:36.000Z
2020-07-01T19:04:50.000Z
test_proj_l1_simplex.py
JeanKossaifi/SpectralLDA
4837db250cca745bae7dbb289f415041b6831e52
[ "Apache-2.0" ]
null
null
null
test_proj_l1_simplex.py
JeanKossaifi/SpectralLDA
4837db250cca745bae7dbb289f415041b6831e52
[ "Apache-2.0" ]
4
2018-03-02T14:31:41.000Z
2020-11-03T10:57:36.000Z
''' Test projection onto l1-Simplex ''' import numpy as np from proj_l1_simplex import proj_l1_simplex def test_proj_l1_simplex(): ''' Simple test cases ''' vec1 = np.array([2, 5, 3, 7]) solutions = [[0., 0., 0., 2.], [0., 1., 0., 3.], [0., 2., 0., 4.], [...
34.545455
73
0.493421
119
760
3.02521
0.319328
0.175
0.144444
0
0
0
0
0
0
0
0
0.229862
0.330263
760
21
74
36.190476
0.477407
0.065789
0
0
0
0
0
0
0
0
0
0
0.0625
1
0.0625
false
0
0.125
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a5daf82a5c1073f45c6b2962c51323d6e406cf8e
8,111
py
Python
Install/AddInWithSelectionInput_addin.py
r-pankevicius/arcgis-addin-tool-py-template-with-selection-input
a5bb1518be9357e144c123de39352fdb0908b4d1
[ "MIT" ]
null
null
null
Install/AddInWithSelectionInput_addin.py
r-pankevicius/arcgis-addin-tool-py-template-with-selection-input
a5bb1518be9357e144c123de39352fdb0908b4d1
[ "MIT" ]
null
null
null
Install/AddInWithSelectionInput_addin.py
r-pankevicius/arcgis-addin-tool-py-template-with-selection-input
a5bb1518be9357e144c123de39352fdb0908b4d1
[ "MIT" ]
null
null
null
import arcpy import pythonaddins import os import itertools import collections import Tkinter as tkinter import tkFileDialog """ Instances in this module. It allows coordination between extension and buttons, but more important you get an interactive Python window to inspect addin behaviour. In ArcMap select Geoproces...
32.574297
114
0.621378
769
8,111
6.529259
0.344603
0.037642
0.064529
0.036248
0.077674
0.034256
0.034256
0.034256
0.034256
0.034256
0
0.00235
0.265442
8,111
248
115
32.705645
0.840383
0.125262
0
0.322222
0
0
0.135189
0.098183
0
0
0
0
0
0
null
null
0.155556
0.038889
null
null
0.15
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
a5e9d1584d232ad109059a2f5251f48faeed5e17
1,614
py
Python
harvester_adapters/ckan/resource.py
datopian/ckan-ng-harvester-core
754ceecadbe8bcb83659988ec90982cd24afab58
[ "MIT" ]
2
2020-03-07T02:35:01.000Z
2020-05-05T15:21:02.000Z
harvester_adapters/ckan/resource.py
datopian/ckan-ng-harvester-core
754ceecadbe8bcb83659988ec90982cd24afab58
[ "MIT" ]
4
2019-12-11T19:35:26.000Z
2020-01-06T19:41:37.000Z
harvester_adapters/ckan/resource.py
datopian/ckan-ng-harvester-core
754ceecadbe8bcb83659988ec90982cd24afab58
[ "MIT" ]
null
null
null
''' transform datasets to CKAN datasets ''' from abc import ABC, abstractmethod class CKANResourceAdapter(ABC): ''' transform other resource objects into CKAN resource ''' def __init__(self, original_resource): self.original_resource = original_resource def get_base_ckan_resource(self): ...
42.473684
111
0.583024
183
1,614
5.10929
0.409836
0.104813
0.192513
0.182888
0.141176
0.083422
0
0
0
0
0
0.001736
0.286245
1,614
38
112
42.473684
0.796007
0.432466
0
0
0
0
0.159142
0
0
0
0
0
0
1
0.111111
false
0.037037
0.037037
0
0.222222
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
570bedd87a5e754386ded273ca3e4d9f3d74c62a
778
py
Python
allure-pytest-bdd/test/py_file_builder.py
Duisus/allure-python
09402db43da00bb3edb59767d5cc3826457c3f1a
[ "Apache-2.0" ]
1
2021-01-08T12:52:32.000Z
2021-01-08T12:52:32.000Z
allure-pytest-bdd/test/py_file_builder.py
Duisus/allure-python
09402db43da00bb3edb59767d5cc3826457c3f1a
[ "Apache-2.0" ]
null
null
null
allure-pytest-bdd/test/py_file_builder.py
Duisus/allure-python
09402db43da00bb3edb59767d5cc3826457c3f1a
[ "Apache-2.0" ]
null
null
null
class PyFileBuilder: def __init__(self, name): self._import_line = None self._file_funcs = [] self.name = name def add_imports(self, *modules_names): import_list = [] for module in modules_names: import_list.append("import " + module) if len(import...
25.933333
66
0.596401
102
778
4.245098
0.382353
0.092379
0.12933
0.101617
0
0
0
0
0
0
0
0.003656
0.296915
778
29
67
26.827586
0.787934
0
0
0
0
0
0.071979
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
571daa9c3c1c06260e407a064911ae6d5270e9e9
10,802
py
Python
yubiauth/core/rest.py
jhofmann/yubiauth
724feb45b54db196af406edf87f2bfcc2e849842
[ "BSD-2-Clause" ]
17
2015-01-06T16:28:55.000Z
2021-11-21T15:26:01.000Z
yubiauth/core/rest.py
DalavanCloud/yubiauth
42292de043f8e106384796ff233be0b2dc930f60
[ "BSD-2-Clause" ]
4
2015-09-11T14:00:14.000Z
2017-05-25T15:00:17.000Z
yubiauth/core/rest.py
DalavanCloud/yubiauth
42292de043f8e106384796ff233be0b2dc930f60
[ "BSD-2-Clause" ]
9
2015-03-11T22:37:47.000Z
2022-03-01T21:17:35.000Z
# # Copyright (c) 2013 Yubico AB # All rights reserved. # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of condi...
36.616949
79
0.645714
1,298
10,802
5.033898
0.174884
0.044383
0.05326
0.072697
0.447964
0.3618
0.282063
0.253444
0.215794
0.177839
0
0.004309
0.24801
10,802
294
80
36.741497
0.800074
0.125255
0
0.216749
0
0.004926
0.108751
0.028993
0
0
0
0
0
0
null
null
0.083744
0.029557
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
5724c1ce1dc410dc2f113b691067d5c1bf3f87d6
12,863
py
Python
src/DataJoin/common/common_pb2.py
huangwei19/9nfl
4d7cf8a00eaddac45cedfc3df7a6a65ba70d8e55
[ "Apache-2.0" ]
103
2020-09-07T09:05:30.000Z
2022-03-10T11:13:43.000Z
src/DataJoin/common/common_pb2.py
dubaokun/9nfl
cc82255a1c25155c825bf8eded9074dd118dbaf5
[ "Apache-2.0" ]
12
2020-09-07T07:52:52.000Z
2020-11-27T07:43:51.000Z
src/DataJoin/common/common_pb2.py
dubaokun/9nfl
cc82255a1c25155c825bf8eded9074dd118dbaf5
[ "Apache-2.0" ]
29
2020-09-07T09:15:23.000Z
2022-02-22T04:00:16.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: DataJoin/common/common.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor fr...
38.056213
1,312
0.741118
1,656
12,863
5.493357
0.132246
0.052765
0.076179
0.048368
0.618665
0.540508
0.519622
0.519622
0.483566
0.474112
0
0.044852
0.131618
12,863
337
1,313
38.169139
0.769561
0.029775
0
0.598039
1
0.003268
0.212814
0.168391
0
0
0
0
0
1
0
false
0
0.019608
0
0.019608
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5734e9f4807d6b26811e41fa6381b3629baee368
2,783
py
Python
shelf/models.py
neoslaw/django
46896476c4d06679e66cd5fc4255e1e0b1276f60
[ "MIT" ]
null
null
null
shelf/models.py
neoslaw/django
46896476c4d06679e66cd5fc4255e1e0b1276f60
[ "MIT" ]
null
null
null
shelf/models.py
neoslaw/django
46896476c4d06679e66cd5fc4255e1e0b1276f60
[ "MIT" ]
null
null
null
#coding: utf-8 #python 2 only! from __future__ import unicode_literals, absolute_import from django.utils.encoding import python_2_unicode_compatible #################################################################################### from django.utils.translation import ugettext_lazy as _ #pootle do prowadzenia tluma...
31.988506
123
0.689903
329
2,783
5.544073
0.37386
0.030702
0.053728
0.092105
0.191338
0.116776
0.116776
0.058114
0.058114
0.058114
0
0.010917
0.177147
2,783
86
124
32.360465
0.78559
0.138699
0
0.259259
0
0
0.073582
0
0
0
0
0
0
1
0.12963
false
0
0.092593
0.12963
0.740741
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
573f7adaf0395336258239b933b2fc5cab21ae45
455,690
py
Python
src/pydvkbiology/dnld/uniprot/sprot_sce_ac2nt.py
dklopfenstein/biocode
1960a276279b3b7667ae37264b56252f0d2562ee
[ "MIT" ]
null
null
null
src/pydvkbiology/dnld/uniprot/sprot_sce_ac2nt.py
dklopfenstein/biocode
1960a276279b3b7667ae37264b56252f0d2562ee
[ "MIT" ]
null
null
null
src/pydvkbiology/dnld/uniprot/sprot_sce_ac2nt.py
dklopfenstein/biocode
1960a276279b3b7667ae37264b56252f0d2562ee
[ "MIT" ]
null
null
null
"""Selected UniProt data saved in Python.""" # Copyright (C) 2014-2019 DV Klopfenstein. All rights reserved # # ADAPTED TO PYTHON from the UniProt file: # ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/complete DOWNLOADED = "2019_03_07" # UniProt source files were downloaded on this date # ...
76.780118
166
0.764384
52,145
455,690
6.564023
0.217835
0.276545
0.345681
0.058388
0.581382
0.438441
0.290387
0.139508
0.052393
0.022943
0
0.110842
0.102427
455,690
5,934
167
76.793057
0.726
0.000946
0
0
0
0.007939
0.544992
0.060117
0
0
0
0
0
1
0
false
0.002027
0.008277
0
0.008277
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
57438ed70bd0cd988e3f264cc2b339f5929372f8
10,402
py
Python
pysnmp/CISCO-ATM-SWITCH-FR-RM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/CISCO-ATM-SWITCH-FR-RM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/CISCO-ATM-SWITCH-FR-RM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CISCO-ATM-SWITCH-FR-RM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-ATM-SWITCH-FR-RM-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:33:34 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version ...
126.853659
1,816
0.774466
1,110
10,402
7.255856
0.147748
0.009436
0.011547
0.015396
0.366029
0.33623
0.310156
0.274646
0.2667
0.253663
0
0.064105
0.079216
10,402
81
1,817
128.419753
0.77678
0.033263
0
0.041667
0
0
0.167513
0.073753
0
0
0
0
0
1
0
false
0
0.111111
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5747ead7b884324acb765105f09c0f363aa6ef34
506
py
Python
credentials.py
mpinkerman/TBot
258b9922364343073bb21c5bbd17da0b5945ea25
[ "MIT" ]
null
null
null
credentials.py
mpinkerman/TBot
258b9922364343073bb21c5bbd17da0b5945ea25
[ "MIT" ]
null
null
null
credentials.py
mpinkerman/TBot
258b9922364343073bb21c5bbd17da0b5945ea25
[ "MIT" ]
null
null
null
# Credentials for your Twitter bot account # 1. Sign into Twitter or create new account # 2. Make sure your mobile number is listed at twitter.com/settings/devices # 3. Head to apps.twitter.com and select Keys and Access Tokens CONSUMER_KEY = '6gTma2ITYHEh7MZMRJaflnxK7' CONSUMER_SECRET = 'a20hHEbN1qudaR6RAdMCHtPKdOjp...
38.923077
75
0.83004
57
506
7.298246
0.736842
0.048077
0
0
0
0
0
0
0
0
0
0.096413
0.118577
506
12
76
42.166667
0.836323
0.48419
0
0
0
0
0.666667
0.666667
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5749773afc7df799a4aaae95f3c7a724c3527a31
81
py
Python
Ago-Dic-2019/Ricardo_Romero_Medina/Practica1/Practica_4-6.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
41
2017-09-26T09:36:32.000Z
2022-03-19T18:05:25.000Z
Ago-Dic-2019/Ricardo_Romero_Medina/Practica1/Practica_4-6.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
67
2017-09-11T05:06:12.000Z
2022-02-14T04:44:04.000Z
Ago-Dic-2019/Ricardo_Romero_Medina/Practica1/Practica_4-6.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
210
2017-09-01T00:10:08.000Z
2022-03-19T18:05:12.000Z
numbers=list(range(1,21,2)) for i in range(len(numbers)): print(numbers[i])
16.2
29
0.666667
15
81
3.6
0.733333
0
0
0
0
0
0
0
0
0
0
0.057143
0.135802
81
4
30
20.25
0.714286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
57500e289230c20f58670742afdcb965fb8f3567
246
py
Python
src/main.py
FlameKat53/Twister-OS-Updater
eb6949d14aabaae4a36dce251c27c1c1d9033ad9
[ "MIT" ]
20
2020-08-21T07:35:10.000Z
2022-01-10T16:44:50.000Z
src/main.py
FlameKat53/Twister-OS-Updater
eb6949d14aabaae4a36dce251c27c1c1d9033ad9
[ "MIT" ]
2
2020-10-17T03:12:06.000Z
2020-11-13T22:24:21.000Z
src/main.py
FlameKat53/Twister-OS-Updater
eb6949d14aabaae4a36dce251c27c1c1d9033ad9
[ "MIT" ]
4
2020-08-24T13:25:24.000Z
2021-10-05T17:14:31.000Z
#!/usr/bin/python import gui as g import cliupdate as cup import tkinter as tk import resources as rs from tkinter import * version = 4.0 if sys.argv[3] == "1": def main(): cup.update() else: def main(): g.Window() main()
14.470588
24
0.630081
40
246
3.875
0.675
0.090323
0
0
0
0
0
0
0
0
0
0.021505
0.243902
246
16
25
15.375
0.811828
0.065041
0
0.153846
0
0
0.004695
0
0
0
0
0
0
1
0.153846
false
0
0.384615
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
9390f2363d95fc6a7ec100de7e0fe5036a99069f
254
py
Python
structs/malloc_chunk_t.py
cclauss/gef-extras
ef76aacb1aae466548b810ff31c26e54af2ca62b
[ "MIT" ]
null
null
null
structs/malloc_chunk_t.py
cclauss/gef-extras
ef76aacb1aae466548b810ff31c26e54af2ca62b
[ "MIT" ]
null
null
null
structs/malloc_chunk_t.py
cclauss/gef-extras
ef76aacb1aae466548b810ff31c26e54af2ca62b
[ "MIT" ]
null
null
null
# # Dummy reconstitution from https://sourceware.org/glibc/wiki/MallocInternals # # @_hugsy_ # from ctypes import * class malloc_chunk_t(Structure): _fields_ = [ ("prev_size", c_uint64), ("size", c_uint64), ] _values_ = []
15.875
77
0.633858
27
254
5.555556
0.851852
0.066667
0.146667
0
0
0
0
0
0
0
0
0.020408
0.228346
254
15
78
16.933333
0.744898
0.330709
0
0
0
0
0.079268
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
939fa5e559f3dac10c19a9e4b4873ff53aee048b
256
py
Python
gardiner2unicode/__init__.py
alexeyev/gardiner2unicode
517dd408ac004a5631eb7aac5250b6c307ea2312
[ "MIT" ]
null
null
null
gardiner2unicode/__init__.py
alexeyev/gardiner2unicode
517dd408ac004a5631eb7aac5250b6c307ea2312
[ "MIT" ]
null
null
null
gardiner2unicode/__init__.py
alexeyev/gardiner2unicode
517dd408ac004a5631eb7aac5250b6c307ea2312
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from . import meta from .gardiner2unicode import GardinerToUnicodeMap from .unicode2png import UnicodeGlyphGenerator __version__ = meta.version __author__ = meta.authors[0] __license__ = meta.license __copyright__ = meta.copyright
25.6
50
0.796875
27
256
6.962963
0.592593
0
0
0
0
0
0
0
0
0
0
0.017699
0.117188
256
10
51
25.6
0.814159
0.082031
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
93bbd5498158985e9e2ade2b5795197477a5edc1
612
py
Python
ljwtrader/events/marketevent.py
leowotzak/LJWEquities
adcb245b6fd54be424aed2c27879d77e221db751
[ "MIT" ]
null
null
null
ljwtrader/events/marketevent.py
leowotzak/LJWEquities
adcb245b6fd54be424aed2c27879d77e221db751
[ "MIT" ]
null
null
null
ljwtrader/events/marketevent.py
leowotzak/LJWEquities
adcb245b6fd54be424aed2c27879d77e221db751
[ "MIT" ]
null
null
null
from datetime import datetime from typing import AnyStr from .event import Event class MarketEvent(Event): """ Event type created in response to changes in underlying assets Market events are created in order to 'advance' the trading system. In the context of live trading, that means every time an u...
30.6
71
0.714052
88
612
4.875
0.590909
0.034965
0.055944
0.065268
0
0
0
0
0
0
0
0
0.227124
612
19
72
32.210526
0.906977
0.519608
0
0
0
0
0.022901
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
93c80dffcbc563eb5f8c8458bdb025526ce9ea3b
868
py
Python
ftpLoginBruteforcer.py
Micr067/security-tools
076d230219a7c065a95b16ca76428af43898490c
[ "MIT" ]
1
2021-03-30T17:03:53.000Z
2021-03-30T17:03:53.000Z
ftpLoginBruteforcer.py
Micr067/security-tools
076d230219a7c065a95b16ca76428af43898490c
[ "MIT" ]
null
null
null
ftpLoginBruteforcer.py
Micr067/security-tools
076d230219a7c065a95b16ca76428af43898490c
[ "MIT" ]
1
2020-12-22T04:29:16.000Z
2020-12-22T04:29:16.000Z
#!/usr/bin/python import ftplib import sys import time usage = """ Usage: $ ftpLoginBruteforcer.py [HOST] [USERNAME] """ if len(sys.argv) != 3: print usage exit(0) ftp = ftplib.FTP(sys.argv[1]) username = sys.argv[2] print ftp.getwelcome() # pwds = ['root','123456','password'] tries = 0 # for p in open('/...
21.7
89
0.580645
114
868
4.412281
0.491228
0.04175
0.035785
0.039761
0.075547
0.075547
0
0
0
0
0
0.028658
0.236175
868
39
90
22.25641
0.730015
0.178571
0
0.142857
0
0
0.179379
0.031073
0
0
0
0
0
0
null
null
0.107143
0.107143
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
9e13bcb40ae06cb1388fd0ddacddece3d9cbb20b
483
py
Python
karaoke/songs/models.py
Didexe/Python_training
c7e22a74a41c32514199a5bf2ffa5aa458a117ca
[ "MIT" ]
null
null
null
karaoke/songs/models.py
Didexe/Python_training
c7e22a74a41c32514199a5bf2ffa5aa458a117ca
[ "MIT" ]
null
null
null
karaoke/songs/models.py
Didexe/Python_training
c7e22a74a41c32514199a5bf2ffa5aa458a117ca
[ "MIT" ]
null
null
null
from django.db import models class Performer(models.Model): name = models.CharField(max_length=255) def __str__(self): return self.name class Song(models.Model): title = models.CharField(max_length=255) artist = models.CharField(max_length=255) performer = models.ForeignKey(Performer) ...
21.954545
57
0.668737
58
483
5.37931
0.465517
0.144231
0.173077
0.230769
0.259615
0
0
0
0
0
0
0.023622
0.21118
483
21
58
23
0.795276
0
0
0.142857
0
0
0.026915
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0.142857
0.928571
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
9e14d9e2f62da048dfdabeb81febec121bf765b0
209
py
Python
dingus/codec/utils.py
ricott1/dingus
ef0edd9fff164f54171b354714e600f410a3bbe9
[ "MIT" ]
null
null
null
dingus/codec/utils.py
ricott1/dingus
ef0edd9fff164f54171b354714e600f410a3bbe9
[ "MIT" ]
null
null
null
dingus/codec/utils.py
ricott1/dingus
ef0edd9fff164f54171b354714e600f410a3bbe9
[ "MIT" ]
null
null
null
import os import subprocess def compile_schemas(): for file in os.listdir("."): if file.endswith(".proto"): print(file) subprocess.run(["protoc", "--python_out=.", file])
20.9
62
0.578947
24
209
4.958333
0.75
0
0
0
0
0
0
0
0
0
0
0
0.258373
209
9
63
23.222222
0.767742
0
0
0
0
0
0.129187
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9e1aaa060cf311fbb2a63feea4df519b34c597dd
454
py
Python
apps/ctf/permission.py
slyslyme/CTF_AWD_Platform
6e9eec0a23a316aaf1927d4ec5be923ac26ff21e
[ "MIT" ]
85
2019-04-21T01:38:18.000Z
2022-03-22T08:06:21.000Z
apps/ctf/permission.py
xuchaoa/CTF_AWD_Platform
b2201f18677939442002e16e64280acd44f72bfe
[ "MIT" ]
12
2019-05-10T14:09:12.000Z
2022-03-11T23:45:35.000Z
apps/ctf/permission.py
slyslyme/CTF_AWD_Platform
6e9eec0a23a316aaf1927d4ec5be923ac26ff21e
[ "MIT" ]
21
2019-04-14T16:12:15.000Z
2022-03-22T08:06:22.000Z
#! /usr/bin/env python # -*- coding: utf-8 -*- # Author: Archerx # @time: 2019/4/18 上午 11:26 from rest_framework import permissions class IpControl(permissions.BasePermission): ''' ip黑名单访问控制,TODO: 基于用户的感觉更好,或者两者结合一下 ''' def has_permission(self, request, view): ip_addr = request.META['REMOTE_AD...
25.222222
74
0.667401
55
454
5.4
0.836364
0.060606
0
0
0
0
0
0
0
0
0
0.033333
0.207048
454
17
75
26.705882
0.791667
0.45815
0
0
0
0
0.049107
0
0
0
0
0.058824
0
1
0.2
false
0
0.2
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
1
0
0
0
0
0
0
0
1
0
0
2
9e23e29776eae658329229c6b41f301d37747fcf
12,601
py
Python
core/migrations/0008_auto_20210705_0950.py
ARAldhafeeri/sary-task
1fe1c091d397c09acc606d3dcb878e725725c506
[ "MIT" ]
2
2021-11-11T16:28:27.000Z
2022-03-07T08:29:13.000Z
core/migrations/0008_auto_20210705_0950.py
ARAldhafeeri/sary-task
1fe1c091d397c09acc606d3dcb878e725725c506
[ "MIT" ]
null
null
null
core/migrations/0008_auto_20210705_0950.py
ARAldhafeeri/sary-task
1fe1c091d397c09acc606d3dcb878e725725c506
[ "MIT" ]
null
null
null
# Generated by Django 2.2.13 on 2021-07-05 06:50 import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0007_auto_20210705_0041'), ] operations = [ migrations.AlterField( mod...
71.19209
118
0.620586
1,406
12,601
5.280939
0.081081
0.064646
0.161616
0.187475
0.464781
0.464781
0.319192
0.019933
0.019933
0.019933
0
0.083368
0.231807
12,601
176
119
71.596591
0.683678
0.003651
0
0.052941
1
0
0.245758
0.09424
0
0
0
0
0
1
0
false
0
0.017647
0
0.035294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f5195c4a31d30e993d9d11db8d02a8de83e6fdf0
28,266
py
Python
[Archived]/debug.py
iruletheworld/Visualisaion-for-Symmetrical-Components-Fortescue-Clarke-Parke
732b3bd935e0cbbf722853f1e6e125aa2034a61b
[ "Apache-2.0" ]
3
2017-12-13T19:21:01.000Z
2020-04-11T14:13:01.000Z
[Archived]/debug.py
iruletheworld/Visualisaion-for-Symmetrical-Components-Fortescue-Clarke-Parke
732b3bd935e0cbbf722853f1e6e125aa2034a61b
[ "Apache-2.0" ]
null
null
null
[Archived]/debug.py
iruletheworld/Visualisaion-for-Symmetrical-Components-Fortescue-Clarke-Parke
732b3bd935e0cbbf722853f1e6e125aa2034a61b
[ "Apache-2.0" ]
1
2017-12-13T19:21:21.000Z
2017-12-13T19:21:21.000Z
import gsyIO str_filename = gsyIO.save_image() print(str_filename) index_ext = str_filename.rfind('.') print(index_ext) str_time = str_filename[:index_ext] + '_time' + str_filename[(index_ext):] print(str_time) # from tkinter import filedialog # from tkinter import * # root = Tk() # root.filename = filedialo...
35.689394
185
0.508951
3,577
28,266
3.801789
0.104836
0.021178
0.019413
0.009927
0.495036
0.439738
0.381278
0.342893
0.286786
0.240606
0
0.029635
0.23477
28,266
791
186
35.734513
0.599075
0.937133
0
0
0
0
0.005911
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.428571
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
0
0
0
1
0
2
f532b111deb16c9124c1e7ddf879581b4e2e18a1
1,245
py
Python
interface.py
chuong/robot-arm-manipulation
a5ad277f86c278ccf8fe99abe337d0c64f8a407e
[ "MIT" ]
null
null
null
interface.py
chuong/robot-arm-manipulation
a5ad277f86c278ccf8fe99abe337d0c64f8a407e
[ "MIT" ]
null
null
null
interface.py
chuong/robot-arm-manipulation
a5ad277f86c278ccf8fe99abe337d0c64f8a407e
[ "MIT" ]
null
null
null
""" the camera robot, position position must be fixed in process of calculating transformation, the paper position must be fixed the final y position must be same as the proginal y position @author: yuboya """ import time import sys from DobotSerialInterface import DobotSerialInterface dobot_interface = DobotSeri...
22.636364
75
0.692369
179
1,245
4.664804
0.391061
0.150898
0.129341
0.186826
0.342515
0.301796
0.301796
0.301796
0.301796
0.129341
0
0.07621
0.22008
1,245
54
76
23.055556
0.783728
0.124498
0
0.148148
0
0
0.06489
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.259259
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
f5577c1075be319848b7288347da1f58ae275a63
109
py
Python
output/models/ms_data/additional/isdefault072_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ms_data/additional/isdefault072_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ms_data/additional/isdefault072_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.additional.isdefault072_xsd.isdefault072 import Array __all__ = [ "Array", ]
18.166667
80
0.770642
13
109
6
0.846154
0
0
0
0
0
0
0
0
0
0
0.063158
0.12844
109
5
81
21.8
0.757895
0
0
0
0
0
0.045872
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f55c662f1582988aebb61bd6107af606867236e3
493
py
Python
src/bxgateway/messages/eth/protocol/disconnect_eth_protocol_message.py
doubleukay/bxgateway
ac01fc9475c039cf4255576dd4ecd6bff6c48f69
[ "MIT" ]
21
2019-11-06T17:37:41.000Z
2022-03-28T07:18:33.000Z
src/bxgateway/messages/eth/protocol/disconnect_eth_protocol_message.py
doubleukay/bxgateway
ac01fc9475c039cf4255576dd4ecd6bff6c48f69
[ "MIT" ]
4
2019-11-06T22:08:00.000Z
2021-12-08T06:20:51.000Z
src/bxgateway/messages/eth/protocol/disconnect_eth_protocol_message.py
doubleukay/bxgateway
ac01fc9475c039cf4255576dd4ecd6bff6c48f69
[ "MIT" ]
10
2020-08-05T15:58:16.000Z
2022-02-07T23:51:10.000Z
import blxr_rlp as rlp from blxr_rlp.sedes import CountableList from bxgateway.messages.eth.protocol.eth_protocol_message import EthProtocolMessage from bxgateway.messages.eth.protocol.eth_protocol_message_type import EthProtocolMessageType class DisconnectEthProtocolMessage(EthProtocolMessage): msg_type = EthPr...
32.866667
92
0.817444
58
493
6.724138
0.534483
0.112821
0.107692
0.123077
0.25641
0.25641
0.25641
0.25641
0
0
0
0.002278
0.109533
493
14
93
35.214286
0.886105
0
0
0
0
0
0.024341
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0.111111
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
0
0
0
2
f56a40b4cad797450bc143ee0aeccc36cbc11950
294
py
Python
src/vox/linters/python/pyflakes.py
Peilonrayz/vox
026a82bb3c0d47988cd20d18639bcb0e249ee211
[ "MIT" ]
null
null
null
src/vox/linters/python/pyflakes.py
Peilonrayz/vox
026a82bb3c0d47988cd20d18639bcb0e249ee211
[ "MIT" ]
null
null
null
src/vox/linters/python/pyflakes.py
Peilonrayz/vox
026a82bb3c0d47988cd20d18639bcb0e249ee211
[ "MIT" ]
null
null
null
import vox from vox import linty from ..base_linter import BaseLinter class Pyflakes(BaseLinter): COMMAND = vox.FlagsBuilder().sugar(program="pyflakes") DEPENDENCIES = ["pyflakes"] FORMAT = linty.to_str.PYFLAKES NAME = "pyflakes" extract_errors = linty.from_str.pyflakes
22.615385
58
0.731293
35
294
6.028571
0.571429
0.085308
0
0
0
0
0
0
0
0
0
0
0.170068
294
12
59
24.5
0.864754
0
0
0
0
0
0.081633
0
0
0
0
0
0
1
0
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
0
0
0
1
0
1
0
0
2
f56d4f0398cfdd33fd3f03fe4fcabec086024dee
32,108
py
Python
fenics_helpers/rk.py
nutofem/fenics_helpers
2cc7fd40c4642d99ed82c1474a66eb0dc9e95ac4
[ "MIT" ]
null
null
null
fenics_helpers/rk.py
nutofem/fenics_helpers
2cc7fd40c4642d99ed82c1474a66eb0dc9e95ac4
[ "MIT" ]
3
2019-02-07T09:06:25.000Z
2020-03-28T09:24:35.000Z
fenics_helpers/rk.py
nutofem/fenics_helpers
2cc7fd40c4642d99ed82c1474a66eb0dc9e95ac4
[ "MIT" ]
1
2020-12-15T17:35:38.000Z
2020-12-15T17:35:38.000Z
# -*- coding: utf-8 -*- """Runge Kutta methods.""" import numpy as np from numpy import array from numpy.lib.scimath import sqrt import dolfin as d import ufl def _change_stepsize(h, err, q, f=0.8, fmin=0.1, fmax=5.0, stepMin=0, stepMax=np.Inf): """ Args: h: current stepsize err: error indica...
34.824295
154
0.440669
4,269
32,108
3.26142
0.115015
0.032177
0.032536
0.029304
0.754651
0.71759
0.684694
0.663147
0.64512
0.628816
0
0.107894
0.399869
32,108
921
155
34.862106
0.614666
0.177339
0
0.568345
0
0
0.014975
0
0
0
0
0.003257
0
1
0.044964
false
0
0.008993
0
0.334532
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f57a70ac5015e22e8f10c6a4224e1d5f496af480
282
py
Python
modals/factories.py
publica-io/django-publica-modals
daa3cae22ea90ad756679a494391766c84a6f12b
[ "BSD-3-Clause" ]
null
null
null
modals/factories.py
publica-io/django-publica-modals
daa3cae22ea90ad756679a494391766c84a6f12b
[ "BSD-3-Clause" ]
null
null
null
modals/factories.py
publica-io/django-publica-modals
daa3cae22ea90ad756679a494391766c84a6f12b
[ "BSD-3-Clause" ]
null
null
null
import random import string import factory from models import Modal class ModalFactory(factory.Factory): class Meta: model = Modal title = factory.Sequence(lambda n: 'Modal%d' % n) enabled = random.random < 0.3 is_bootstrapped = random.random < 0.3
17.625
53
0.680851
37
282
5.162162
0.567568
0.125654
0.136126
0.146597
0
0
0
0
0
0
0
0.018605
0.237589
282
15
54
18.8
0.869767
0
0
0
0
0
0.024823
0
0
0
0
0
0
1
0
false
0
0.4
0
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
f58c3dbcd27435d5736c0239d215d6bb093c6a6f
896
py
Python
tests/plugins/test_live_russia_tv.py
RomanKornev/streamlink
acdefee0822b9c10628b91a166f9abe084e44800
[ "BSD-2-Clause" ]
1
2019-11-25T01:37:21.000Z
2019-11-25T01:37:21.000Z
tests/plugins/test_live_russia_tv.py
RomanKornev/streamlink
acdefee0822b9c10628b91a166f9abe084e44800
[ "BSD-2-Clause" ]
1
2020-06-02T02:36:30.000Z
2020-06-02T02:36:30.000Z
tests/plugins/test_live_russia_tv.py
bumplzz69/streamlink
34abc43875d7663ebafa241573dece272e93d88b
[ "BSD-2-Clause" ]
null
null
null
import unittest from streamlink.plugins.live_russia_tv import LiveRussia class TestPluginLiveRussiaTv(unittest.TestCase): def test_can_handle_url(self): # should match self.assertTrue(LiveRussia.can_handle_url('https://live.russia.tv/index/index/channel_id/1')) self.assertTrue(LiveRussia....
49.777778
112
0.75558
117
896
5.57265
0.358974
0.124233
0.165644
0.236196
0.624233
0.558282
0.365031
0.302147
0.302147
0.302147
0
0.027569
0.109375
896
17
113
52.705882
0.789474
0.013393
0
0
0
0
0.318594
0
0
0
0
0
0.583333
1
0.166667
false
0
0.166667
0
0.416667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
f5967563c8c017a652e78ddb138f777eb8a621ad
298
py
Python
setup.py
cbosoft/budget.py
9d77631333e9a19b10cd50b94ebfd96772c33474
[ "MIT" ]
null
null
null
setup.py
cbosoft/budget.py
9d77631333e9a19b10cd50b94ebfd96772c33474
[ "MIT" ]
null
null
null
setup.py
cbosoft/budget.py
9d77631333e9a19b10cd50b94ebfd96772c33474
[ "MIT" ]
null
null
null
from distutils.core import setup def main(): setup( name='budget', description='simple budget management in python', version='0.1', packages=['budget'], install_requires=[ 'matplotlib', ] ) if __name__ == "__main__": main()
18.625
57
0.543624
28
298
5.464286
0.785714
0
0
0
0
0
0
0
0
0
0
0.01
0.328859
298
15
58
19.866667
0.755
0
0
0
0
0
0.224832
0
0
0
0
0
0
1
0.076923
true
0
0.076923
0
0.153846
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
f596b9e68cc4f6816df147b37d0251c7c72d86cb
639
py
Python
tests/main_test.py
ParradoxSVK/elite_buffer_vtrace
28490f3222e0d489a0ca11530e10bfc027698eb5
[ "MIT" ]
1
2022-03-28T13:40:33.000Z
2022-03-28T13:40:33.000Z
tests/main_test.py
ParradoxSVK/elite_buffer_vtrace
28490f3222e0d489a0ca11530e10bfc027698eb5
[ "MIT" ]
null
null
null
tests/main_test.py
ParradoxSVK/elite_buffer_vtrace
28490f3222e0d489a0ca11530e10bfc027698eb5
[ "MIT" ]
null
null
null
import unittest from compression_test import TestCompression from reproducibility_test import ReproducibilityTest from v_trace_test import VTraceTest from worker_test import WorkerTest from stats_test import TestStats if __name__ == '__main__': test_suite = unittest.TestSuite() test_suite.addTest(unittest.mak...
35.5
63
0.815336
72
639
6.944444
0.347222
0.126
0.16
0.24
0.33
0
0
0
0
0
0
0
0.112676
639
17
64
37.588235
0.881834
0
0
0
0
0
0.01252
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
f59b98b540b6667f02b48d174bbc329da00053b5
1,340
py
Python
IFCB_tools/ifcb/workflow/blob_storage.py
SAMS-UK/ifcb-analysis
9b68415708e04ff8ead85908c1ad77421284f1d0
[ "MIT" ]
24
2016-05-21T03:55:59.000Z
2022-02-02T18:24:47.000Z
IFCB_tools/ifcb/workflow/blob_storage.py
SAMS-UK/ifcb-analysis
9b68415708e04ff8ead85908c1ad77421284f1d0
[ "MIT" ]
28
2016-02-19T22:27:51.000Z
2021-05-10T10:14:42.000Z
IFCB_tools/ifcb/workflow/blob_storage.py
SAMS-UK/ifcb-analysis
9b68415708e04ff8ead85908c1ad77421284f1d0
[ "MIT" ]
14
2016-02-26T05:22:56.000Z
2022-02-16T17:48:25.000Z
import re import os from ifcb.io.pids import parse_id class BlobStorage(object): def __init__(self, config): self.config = config def lid(self, pid): """Local ID part of pathname based on configured namespace""" return parse_id(pid, self.config.namespace).as_lid def year(self, pid):...
39.411765
103
0.651493
190
1,340
4.473684
0.368421
0.070588
0.052941
0.06
0.26
0.26
0.26
0.26
0.26
0.26
0
0.000977
0.235821
1,340
33
104
40.606061
0.829102
0.241791
0
0
0
0
0.013265
0
0
0
0
0
0
1
0.32
false
0.04
0.12
0
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
0
1
0
0
2
f5a5df0a3d13d8431bcf50e7b51cc84c8a18fb96
3,109
py
Python
misc/python/materialize/checks/drop_index.py
guswynn/materialize
f433173ed71f511d91311769ec58c2d427dd6c3b
[ "MIT" ]
null
null
null
misc/python/materialize/checks/drop_index.py
guswynn/materialize
f433173ed71f511d91311769ec58c2d427dd6c3b
[ "MIT" ]
157
2021-12-28T19:17:45.000Z
2022-03-31T17:44:27.000Z
misc/python/materialize/checks/drop_index.py
guswynn/materialize
f433173ed71f511d91311769ec58c2d427dd6c3b
[ "MIT" ]
null
null
null
# Copyright Materialize, Inc. and contributors. All rights reserved. # # Use of this software is governed by the Business Source License # included in the LICENSE file at the root of this repository. # # As of the Change Date specified in that file, in accordance with # the Business Source License, use of this software...
30.184466
111
0.458668
349
3,109
3.942693
0.249284
0.176599
0.18314
0.124273
0.336483
0.273256
0.12064
0.12064
0.12064
0.12064
0
0.06804
0.484722
3,109
102
112
30.480392
0.790886
0.115471
0
0.173913
0
0
0
0
0
0
0
0
0
1
0.130435
false
0
0.173913
0.130435
0.478261
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
192514349ef779372cd7b1a3534e4d0fe261af2d
5,763
py
Python
src/tools/radians.py
ModelDBRepository/137676
0616e22091f028e18cf0fd74c54a45edf23c8bb5
[ "MIT" ]
2
2019-03-31T13:56:44.000Z
2022-02-18T18:04:29.000Z
src/tools/radians.py
jdmonaco/vmo-feedback-model
a181e27e9148039dd4c3f30fc91b40773e4051c8
[ "MIT" ]
null
null
null
src/tools/radians.py
jdmonaco/vmo-feedback-model
a181e27e9148039dd4c3f30fc91b40773e4051c8
[ "MIT" ]
null
null
null
#encoding: utf-8 """ radians.py -- A radian numerical type and various angle-handling functions Written by Joe Monaco Center for Theoretical Neuroscience Copyright (c) 2007-2008 Columbia Unversity. All Rights Reserved. This software is provided AS IS under the terms of the Open Source MIT License. See http://www.o...
30.172775
80
0.600035
898
5,763
3.658129
0.241648
0.033486
0.042618
0.027397
0.301674
0.273364
0.24414
0.230137
0.230137
0.043836
0
0.016216
0.261669
5,763
190
81
30.331579
0.755817
0.198681
0
0.090164
0
0
0.022281
0
0
0
0
0
0.016393
1
0.303279
false
0
0.032787
0.163934
0.54918
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
19392985a5cc8cda8ad821c11771a737dd99b42e
384
py
Python
kotti_mb/fanstatic.py
potzenheimer/kotti_mb
95d311a0c8937a7e5bba5c1398935d76f8cf65ca
[ "MIT" ]
null
null
null
kotti_mb/fanstatic.py
potzenheimer/kotti_mb
95d311a0c8937a7e5bba5c1398935d76f8cf65ca
[ "MIT" ]
null
null
null
kotti_mb/fanstatic.py
potzenheimer/kotti_mb
95d311a0c8937a7e5bba5c1398935d76f8cf65ca
[ "MIT" ]
null
null
null
from __future__ import absolute_import from fanstatic import Group from fanstatic import Library from fanstatic import Resource library = Library("kotti_mb", "static") kotti_mb_css = Resource(library, "css/styles.css") kotti_mb_js_holder = Resource(library, "assets/js/holder.js") kotti_mb_js = Resource(library, "asse...
32
61
0.799479
57
384
5.087719
0.315789
0.144828
0.196552
0.158621
0
0
0
0
0
0
0
0
0.096354
384
11
62
34.909091
0.835735
0
0
0
0
0
0.190104
0.067708
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
193944dd898fd05d5edea7f490b9e198f770aadc
833
py
Python
tests/test_formatdict.py
kambysese/niprov
05b24b8e60e2e637fc2dec754681226d793d1a08
[ "BSD-3-Clause" ]
null
null
null
tests/test_formatdict.py
kambysese/niprov
05b24b8e60e2e637fc2dec754681226d793d1a08
[ "BSD-3-Clause" ]
null
null
null
tests/test_formatdict.py
kambysese/niprov
05b24b8e60e2e637fc2dec754681226d793d1a08
[ "BSD-3-Clause" ]
null
null
null
from tests.ditest import DependencyInjectionTestBase from mock import Mock class DictFormatTests(DependencyInjectionTestBase): def setUp(self): super(DictFormatTests, self).setUp() def test_serialize_item_returns_its_prov(self): from niprov.formatdict import DictFormat form = DictFor...
32.038462
76
0.663866
92
833
5.902174
0.380435
0.082873
0.095764
0.088398
0.412523
0.379374
0.28361
0.28361
0.28361
0.28361
0
0
0.206483
833
25
77
33.32
0.821483
0
0
0.210526
0
0
0.012005
0
0
0
0
0
0.105263
1
0.210526
false
0
0.210526
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
193aa98f4bde2ad7e4487eeb259c8b8fdb7195db
10,951
py
Python
countybot.py
elvisLutta/countybot
216b2c81a53fe05493571067586a80cd6e02774c
[ "Apache-2.0" ]
null
null
null
countybot.py
elvisLutta/countybot
216b2c81a53fe05493571067586a80cd6e02774c
[ "Apache-2.0" ]
2
2021-04-20T17:06:50.000Z
2021-09-23T23:21:25.000Z
countybot.py
nahodha/countybot
216b2c81a53fe05493571067586a80cd6e02774c
[ "Apache-2.0" ]
null
null
null
from datetime import datetime from flask import Flask, make_response, redirect, render_template, request, url_for, flash from flask_bootstrap import Bootstrap from flask_login import current_user, login_required, login_user, logout_user, LoginManager, UserMixin, AnonymousUserMixin from flask_migrate import Migrate, Mig...
32.885886
122
0.656926
1,314
10,951
5.337139
0.257991
0.01597
0.019963
0.016968
0.190076
0.166263
0.152859
0.101811
0.0924
0.0924
0
0.009082
0.225824
10,951
332
123
32.98494
0.818117
0.026025
0
0.192469
0
0
0.125664
0.010029
0
0
0.002407
0
0
0
null
null
0.079498
0.066946
null
null
0.008368
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
193e0d5a365120c3a7f2c3edd0d557b5c8aa2a82
3,374
py
Python
eden/util/NeedlemanWunsh.py
zaidurrehman/EDeN
1f29d4c9d458edb2bd62a98e57254d78a1f2093f
[ "MIT" ]
null
null
null
eden/util/NeedlemanWunsh.py
zaidurrehman/EDeN
1f29d4c9d458edb2bd62a98e57254d78a1f2093f
[ "MIT" ]
null
null
null
eden/util/NeedlemanWunsh.py
zaidurrehman/EDeN
1f29d4c9d458edb2bd62a98e57254d78a1f2093f
[ "MIT" ]
null
null
null
import numpy as np def make_score_matrix(seq_a, seq_b, match_score=1, mismatch_score=0): score_matrix = np.zeros((len(seq_a), len(seq_b))) for i, a in enumerate(seq_a): for j, b in enumerate(seq_b): if a == b: score_matrix[i, j] = match_score else: ...
35.893617
138
0.641375
510
3,374
3.95098
0.152941
0.152854
0.188586
0.11464
0.513151
0.45062
0.395534
0.384119
0.298759
0.298759
0
0.028287
0.256076
3,374
93
139
36.27957
0.774502
0.010077
0
0.246154
0
0
0.001292
0
0
0
0
0
0
0
null
null
0
0.015385
null
null
0.061538
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
194b5564c24bef72bd82efcd2e0207c1bb82780f
273
py
Python
jetavator/schema_registry/vault_object_types/Column.py
jetavator/jetavator
6edc7b57532809f9903735c333544658631252b5
[ "Apache-2.0" ]
null
null
null
jetavator/schema_registry/vault_object_types/Column.py
jetavator/jetavator
6edc7b57532809f9903735c333544658631252b5
[ "Apache-2.0" ]
86
2020-04-11T18:03:32.000Z
2021-06-15T14:48:45.000Z
jetavator/schema_registry/vault_object_types/Column.py
jetavator/jetavator
6edc7b57532809f9903735c333544658631252b5
[ "Apache-2.0" ]
null
null
null
import wysdom from jetavator.schema_registry.vault_object_types.ColumnType import ColumnType class Column(wysdom.UserObject): _type: str = wysdom.UserProperty(str, name="type") @property def type(self) -> ColumnType: return ColumnType(self._type)
19.5
78
0.739927
32
273
6.15625
0.65625
0
0
0
0
0
0
0
0
0
0
0
0.168498
273
13
79
21
0.867841
0
0
0
0
0
0.014706
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
195871535b397c46d745c409a383794ade19e77a
3,157
py
Python
ituro/orders/models.py
kayduemre/ituro
eb5bb0655c2d85eed212d28c1d154006c57a4f03
[ "MIT" ]
9
2015-03-18T01:59:24.000Z
2022-03-09T06:36:21.000Z
ituro/orders/models.py
kayduemre/ituro
eb5bb0655c2d85eed212d28c1d154006c57a4f03
[ "MIT" ]
29
2015-03-18T01:59:49.000Z
2021-06-10T20:39:03.000Z
ituro/orders/models.py
kayduemre/ituro
eb5bb0655c2d85eed212d28c1d154006c57a4f03
[ "MIT" ]
10
2016-01-31T05:44:46.000Z
2019-10-15T06:12:27.000Z
from django.db import models from django.utils.encoding import python_2_unicode_compatible from django.utils.translation import ugettext_lazy as _ from projects.models import Project # @python_2_unicode_compatible # class LineFollowerStage(models.Model): # order = models.PositiveSmallIntegerField(verbose_name=_("...
34.692308
78
0.685778
325
3,157
6.375385
0.181538
0.138031
0.096525
0.111969
0.766409
0.728764
0.676158
0.605695
0.583977
0.531853
0
0.001584
0.199873
3,157
90
79
35.077778
0.818686
0.37694
0
0.255814
0
0
0.162707
0
0
0
0
0
0
1
0.046512
false
0
0.093023
0.046512
0.581395
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
19589a29d197e9e71824ddabed52b71b9b749a41
4,682
py
Python
clusterking/data/test/test_dwe.py
celis/B_decays_clustering-
d73739edaf7fa82a0041d9567d27cd490232b75c
[ "MIT" ]
9
2019-03-27T12:32:24.000Z
2021-10-19T10:18:33.000Z
clusterking/data/test/test_dwe.py
celis/B_decays_clustering-
d73739edaf7fa82a0041d9567d27cd490232b75c
[ "MIT" ]
30
2019-03-26T18:32:39.000Z
2019-09-24T06:54:28.000Z
clusterking/data/test/test_dwe.py
celis/B_decays_clustering-
d73739edaf7fa82a0041d9567d27cd490232b75c
[ "MIT" ]
2
2019-08-08T09:42:38.000Z
2019-12-29T22:47:05.000Z
#!/usr/bin/env python3 # std from pathlib import Path import unittest # 3rd import numpy as np # ours from clusterking.util.testing import MyTestCase from clusterking.data.dwe import DataWithErrors class TestDataWithErrors(MyTestCase): def setUp(self): dpath = Path(__file__).parent / "data" / "test.sql...
32.513889
80
0.569842
636
4,682
4.037736
0.183962
0.203271
0.228972
0.116822
0.571651
0.400312
0.301402
0.228972
0.167445
0.135514
0
0.03844
0.24434
4,682
143
81
32.741259
0.687394
0.088637
0
0.386792
0
0
0.004699
0
0
0
0
0.006993
0.339623
1
0.113208
false
0
0.04717
0.009434
0.179245
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
19a130b9e62c34d626dfe90636b9876812b627fd
636
py
Python
alteia/core/resources/projectmngt/flights.py
alteia-ai/alteia-python-sdk
27ec7458334334ed6a1edae52cb25d5ce8734177
[ "MIT" ]
11
2020-12-22T14:39:21.000Z
2022-02-18T16:34:34.000Z
alteia/core/resources/projectmngt/flights.py
alteia-ai/alteia-python-sdk
27ec7458334334ed6a1edae52cb25d5ce8734177
[ "MIT" ]
1
2021-08-05T14:21:12.000Z
2021-08-09T13:22:55.000Z
alteia/core/resources/projectmngt/flights.py
alteia-ai/alteia-python-sdk
27ec7458334334ed6a1edae52cb25d5ce8734177
[ "MIT" ]
null
null
null
from alteia.core.resources.resource import Resource class Flight(Resource): def __init__(self, **kwargs): """Flight resource. Args: id: Flight identifier. name: Flight name. survey_date: Survey date (format: ``YYYY-MM-DDTHH:MM:SS.sssZ``). project...
21.931034
76
0.572327
65
636
5.430769
0.584615
0.11898
0
0
0
0
0
0
0
0
0
0
0.336478
636
28
77
22.714286
0.836493
0.592767
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
19b270ae96c2b8a9bd8326659e70d943af6c326e
406
py
Python
application/commonApp/settings.py
Marcelotsvaz/vaz-projects
8ccc0bf8d25f9276714e1e5ecb0a4e80f07442b4
[ "Unlicense" ]
null
null
null
application/commonApp/settings.py
Marcelotsvaz/vaz-projects
8ccc0bf8d25f9276714e1e5ecb0a4e80f07442b4
[ "Unlicense" ]
null
null
null
application/commonApp/settings.py
Marcelotsvaz/vaz-projects
8ccc0bf8d25f9276714e1e5ecb0a4e80f07442b4
[ "Unlicense" ]
null
null
null
# # VAZ Projects # # # Author: Marcelo Tellier Sartori Vaz <marcelotsvaz@gmail.com> from django.conf import settings MARKDOWN_FEATURES = getattr( settings, 'MARKDOWN_FEATURES', [ # Block. 'heading', 'html_block', 'list', # Inline. 'emphasis', 'html_inline', 'image', 'link', 'newline', ]) MARKDOWN_...
13.533333
62
0.667488
43
406
6.162791
0.674419
0.181132
0.271698
0.233962
0
0
0
0
0
0
0
0
0.172414
406
30
63
13.533333
0.78869
0.221675
0
0
0
0
0.324675
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2