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
d8f6320961042b4fe8fcb9a52540204acad97ec1
1,046
py
Python
tests/test_handledeadlocks.py
TheDigitalPhoenixX/Bankers_Algorithm_ASU19
9409dbf6f27b3f42c8a7e21d48894ef547343e80
[ "MIT" ]
null
null
null
tests/test_handledeadlocks.py
TheDigitalPhoenixX/Bankers_Algorithm_ASU19
9409dbf6f27b3f42c8a7e21d48894ef547343e80
[ "MIT" ]
null
null
null
tests/test_handledeadlocks.py
TheDigitalPhoenixX/Bankers_Algorithm_ASU19
9409dbf6f27b3f42c8a7e21d48894ef547343e80
[ "MIT" ]
null
null
null
import unittest from Bankers_Algorithm_ASU19.main import handleDeadlock class testHandleDeadlocks(unittest.TestCase): def test_normalCase1(self): reply = handleDeadlock( 5, 3, [0, 0, 0], [[0, 1, 0], [4, 0, 2], [3, 0, 3], [3, 1, 1], [0, 0, 4]], [[5...
29.885714
72
0.392925
150
1,046
2.706667
0.2
0.068966
0.036946
0.049261
0.460591
0.399015
0.384236
0.364532
0.364532
0.364532
0
0.185938
0.388145
1,046
34
73
30.764706
0.448438
0
0
0.433333
0
0
0
0
0
0
0
0
0.1
1
0.1
false
0
0.066667
0
0.2
0
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
0
0
0
0
0
0
0
0
0
1
d8f6550872dd6dbdb50c84d7da9accc797ba08fd
861
py
Python
orion.algo.{{cookiecutter.plugin_name}}/src/orion/algo/{{cookiecutter.plugin_name}}/__init__.py
Epistimio/cookiecutter-orion.algo
73cc433ea8959c41ef5a13188cea796bafded4c5
[ "BSD-3-Clause" ]
2
2021-06-30T16:46:09.000Z
2022-02-11T16:12:16.000Z
orion.algo.{{cookiecutter.plugin_name}}/src/orion/algo/{{cookiecutter.plugin_name}}/__init__.py
Epistimio/cookiecutter-orion.algo
73cc433ea8959c41ef5a13188cea796bafded4c5
[ "BSD-3-Clause" ]
null
null
null
orion.algo.{{cookiecutter.plugin_name}}/src/orion/algo/{{cookiecutter.plugin_name}}/__init__.py
Epistimio/cookiecutter-orion.algo
73cc433ea8959c41ef5a13188cea796bafded4c5
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ :mod:`orion.algo.{{ cookiecutter.plugin_name }} -- {{ cookiecutter.short_description }} ======================{{ '=' * cookiecutter.plugin_name|length }}===={{ '=' * cookiecutter.short_description|length }} .. module:: {{ cookiecutter.plugin_name }} :platform: Unix :synopsis: {{ coo...
34.44
118
0.691057
85
861
6.423529
0.458824
0.131868
0.161172
0.098901
0.113553
0
0
0
0
0
0
0.002614
0.111498
861
24
119
35.875
0.711111
0.425087
0
0
0
0
0.554415
0.365503
0
0
0
0.041667
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d8f923cef57f6143c71362179a092be1d73f2eea
702
py
Python
bettings/tournaments/constants.py
tuannv562/bettings
b2bfe00c99d07d9fa0d6bb30d89206090197bbe3
[ "MIT" ]
1
2021-07-05T11:03:27.000Z
2021-07-05T11:03:27.000Z
bettings/tournaments/constants.py
tuannv562/bettings
b2bfe00c99d07d9fa0d6bb30d89206090197bbe3
[ "MIT" ]
null
null
null
bettings/tournaments/constants.py
tuannv562/bettings
b2bfe00c99d07d9fa0d6bb30d89206090197bbe3
[ "MIT" ]
1
2021-03-19T01:51:28.000Z
2021-03-19T01:51:28.000Z
from enum import Enum class ErrorResponse(Enum): TOURNAMENT_START_DATE_AFTER_END_DATE = (1, "Start date cannot after end date") MATCH_START_TIME_BEFORE_START_DATE = (2, "Start time of match cannot before start date of tournament") MATCH_START_TIME_AFTER_END_DATE = (3, "Start time of match cannot after end...
46.8
106
0.735043
111
702
4.378378
0.423423
0.074074
0.098765
0.074074
0.090535
0
0
0
0
0
0
0.012367
0.193732
702
14
107
50.142857
0.84629
0
0
0
0
0
0.39886
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d8fd935abf184beaa1922e2c835253999437f94f
6,213
py
Python
tests/integration/machine_test.py
midvik/docker-machine-py
219aea1fdf76bb2f3b77d2b372f04aa565b993e3
[ "Apache-2.0" ]
4
2016-06-01T15:37:58.000Z
2016-08-07T04:00:05.000Z
tests/integration/machine_test.py
jgrowl/docker-machine-py
4aa78cdc768d46d64f993f46c278aa799552ac83
[ "Apache-2.0" ]
2
2016-06-22T02:57:48.000Z
2017-04-11T07:40:13.000Z
tests/integration/machine_test.py
midvik/docker-machine-py
219aea1fdf76bb2f3b77d2b372f04aa565b993e3
[ "Apache-2.0" ]
2
2017-02-02T18:34:23.000Z
2019-09-08T13:14:14.000Z
import os import unittest from docker.machine.cli.machine import Machine from docker.machine.errors import CLIError from docker.machine.cli.client import Status from docker.machine.constants import LOCALHOST digitalocean_access_token = os.environ.get('DOCKERMACHINEPY_DIGITALOCEAN_ACCESS_TOKEN') class BaseTestCases:...
34.709497
119
0.642041
649
6,213
5.969183
0.174114
0.141972
0.058854
0.080537
0.454311
0.282654
0.214249
0.052142
0.052142
0.027878
0
0.000428
0.247063
6,213
178
120
34.904494
0.827704
0.151779
0
0.233645
0
0
0.03553
0.024451
0
0
0
0
0.299065
1
0.299065
false
0.018692
0.056075
0
0.401869
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
0
0
0
1
2b030c31d43422f7a76ad5ca10a19befd1a9db27
5,629
py
Python
pysnmp-with-texts/Wellfleet-5000-CHASSIS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/Wellfleet-5000-CHASSIS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/Wellfleet-5000-CHASSIS-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 Wellfleet-5000-CHASSIS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Wellfleet-5000-CHASSIS-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:39:18 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version ...
117.270833
560
0.790371
617
5,629
7.210697
0.257699
0.053945
0.094403
0.010789
0.42886
0.259834
0.203641
0.180265
0.180265
0.180265
0
0.097736
0.082075
5,629
47
561
119.765957
0.763306
0.061467
0
0
0
0.025
0.229238
0.018203
0
0
0
0
0
1
0
false
0
0.175
0
0.175
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b0df4da133bb2ad33a641c849326aba85ccf08f
384
py
Python
quick_search/migrations/0005_auto_20181117_2127.py
naman1901/django-quick-search
7b93554ed9fa4721e52372f9fd1a395d94cc04a7
[ "MIT" ]
null
null
null
quick_search/migrations/0005_auto_20181117_2127.py
naman1901/django-quick-search
7b93554ed9fa4721e52372f9fd1a395d94cc04a7
[ "MIT" ]
2
2020-02-11T23:28:22.000Z
2020-06-05T19:27:40.000Z
quick_search/migrations/0005_auto_20181117_2127.py
HereWithoutPermission/django-quick-search
7b93554ed9fa4721e52372f9fd1a395d94cc04a7
[ "MIT" ]
null
null
null
# Generated by Django 2.1.3 on 2018-11-17 15:57 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('quick_search', '0004_searchresult_time_created'), ] operations = [ migrations.RenameField( model_name='searchresult', old_na...
20.210526
59
0.606771
41
384
5.487805
0.804878
0
0
0
0
0
0
0
0
0
0
0.069343
0.286458
384
18
60
21.333333
0.751825
0.117188
0
0
1
0
0.204748
0.089021
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
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
0
0
0
0
0
0
1
2b114ea3dd311045977023dff4ea787fa62c5f24
701
py
Python
Task2F.py
J-uliette/Warning-System
77f69e7bab2b97ab0ed3e4c563338aefd7b15da6
[ "MIT" ]
null
null
null
Task2F.py
J-uliette/Warning-System
77f69e7bab2b97ab0ed3e4c563338aefd7b15da6
[ "MIT" ]
null
null
null
Task2F.py
J-uliette/Warning-System
77f69e7bab2b97ab0ed3e4c563338aefd7b15da6
[ "MIT" ]
null
null
null
from floodsystem.flood import stations_highest_rel_level from floodsystem.stationdata import build_station_list, update_water_levels from floodsystem.plot import plot_water_level_with_fit from floodsystem.datafetcher import fetch_measure_levels import datetime N=5 p=4 dt = 2 #parameters stations = build_station_list()...
46.733333
126
0.827389
107
701
5.168224
0.439252
0.108499
0.065099
0.083183
0.075949
0
0
0
0
0
0
0.009539
0.10271
701
15
127
46.733333
0.869634
0.151213
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
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
0
0
0
1
2b130bbf6afba788186ee92678d2c5a3d59e2601
1,284
py
Python
attacks/pgd.py
ml-research/PyTorch-BayesianCNN
7933d6d6523be7d54e2347ba1497f63317f04af6
[ "MIT" ]
1
2021-11-28T10:09:03.000Z
2021-11-28T10:09:03.000Z
attacks/pgd.py
ml-research/PyTorch-BayesianCNN
7933d6d6523be7d54e2347ba1497f63317f04af6
[ "MIT" ]
null
null
null
attacks/pgd.py
ml-research/PyTorch-BayesianCNN
7933d6d6523be7d54e2347ba1497f63317f04af6
[ "MIT" ]
null
null
null
import torch from torch.nn import functional as F class PGD: """ """ @staticmethod def attack(image, label, device, model, epsilon=0.3, steps=50, step_size = 2/255, no_kl=True): model.zero_grad() # random start perturbation = torch.zeros_like(image).uniform_(-epsilon, epsilon)...
41.419355
104
0.639408
155
1,284
5.090323
0.406452
0.230672
0.057034
0.060837
0
0
0
0
0
0
0
0.015856
0.26324
1,284
31
105
41.419355
0.818182
0.103583
0
0
0
0
0
0
0
0
0
0
0
1
0.047619
false
0
0.095238
0
0.238095
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b18f5b6f16fe4abbe2fc3f1a1b4fb925f1c527f
2,554
py
Python
scripts/migrations/versions/200e7ea0e64b_create_base_schema.py
hqhs/gosupport
b05bab519ce2f8f6e1841e2f5c1fd677617a0c40
[ "Apache-2.0" ]
null
null
null
scripts/migrations/versions/200e7ea0e64b_create_base_schema.py
hqhs/gosupport
b05bab519ce2f8f6e1841e2f5c1fd677617a0c40
[ "Apache-2.0" ]
null
null
null
scripts/migrations/versions/200e7ea0e64b_create_base_schema.py
hqhs/gosupport
b05bab519ce2f8f6e1841e2f5c1fd677617a0c40
[ "Apache-2.0" ]
1
2021-01-15T08:13:07.000Z
2021-01-15T08:13:07.000Z
"""Create base schema Revision ID: 200e7ea0e64b Revises: Create Date: 2019-02-16 12:15:59.212678 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '200e7ea0e64b' down_revision = None branch_labels = None depends_on = None def upgrade(): op.create_table( ...
35.971831
121
0.649178
339
2,554
4.766962
0.274336
0.153465
0.08354
0.116955
0.516089
0.412748
0.210396
0.210396
0.169554
0.126238
0
0.029028
0.190681
2,554
70
122
36.485714
0.752782
0.074002
0
0.207547
0
0
0.16893
0
0
0
0
0.014286
0
1
0.037736
false
0.037736
0.037736
0
0.075472
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
0
0
0
1
2b1c9b7c6ebb288c819d92deed33e38279b9a3d0
529
py
Python
2 Code/1.2 Python/Stock/count_AShares.py
ssh352/Apollo
e72e013dea948d34526307018f22447948250fdc
[ "Apache-2.0" ]
null
null
null
2 Code/1.2 Python/Stock/count_AShares.py
ssh352/Apollo
e72e013dea948d34526307018f22447948250fdc
[ "Apache-2.0" ]
null
null
null
2 Code/1.2 Python/Stock/count_AShares.py
ssh352/Apollo
e72e013dea948d34526307018f22447948250fdc
[ "Apache-2.0" ]
2
2021-04-26T02:29:02.000Z
2021-06-19T16:24:12.000Z
#!/usr/bin/env python # encoding: utf-8 """ @version: v1.0 @author: xiaxianba @license: Apache Licence @contact: scuxia@gmail.com @site: http://weibo.com/xiaxianba @software: PyCharm @file: count_AShares.py @time: 2018/5/31 17:42 @describe: """ import csv if __name__ == "__main__": ...
17.633333
52
0.565217
70
529
4.114286
0.742857
0.09375
0
0
0
0
0
0
0
0
0
0.050398
0.287335
529
29
53
18.241379
0.713528
0.071834
0
0
0
0
0.09465
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.222222
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
0
0
0
0
0
1
2b26399e428043d00451e2d1100be7e15fbd33d2
628
py
Python
setup.py
TheMerryMango/Morse-Encryptor
66a3995ebbaca85f38b518501f0cca932c1aab2f
[ "MIT" ]
null
null
null
setup.py
TheMerryMango/Morse-Encryptor
66a3995ebbaca85f38b518501f0cca932c1aab2f
[ "MIT" ]
null
null
null
setup.py
TheMerryMango/Morse-Encryptor
66a3995ebbaca85f38b518501f0cca932c1aab2f
[ "MIT" ]
null
null
null
import setuptools setuptools.setup( name='morse-encode-example', version='1.0.3', author="Jonny Parker", author_email="jonny.yatesfield@gmail.com", packages=["morse-encode-example"], license='MIT License', description='A very bad Morse translator.' , url="https://github.com/TheMerryMang...
31.4
63
0.656051
70
628
5.814286
0.757143
0.054054
0.088452
0
0
0
0
0
0
0
0
0.011765
0.187898
628
19
64
33.052632
0.786275
0
0
0
0
0
0.488854
0.041401
0
0
0
0
0
1
0
true
0
0.055556
0
0.055556
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
0
0
0
1
2b26bed819e7fd1679f18f5a6b22799be1093221
850
py
Python
heidelberg_metadata_gui/__init__.py
lkeegan/heidelberg-metadata-gui
4584cf4fd0253a8578ecf2d00656fb511aa55914
[ "MIT" ]
5
2020-12-10T08:38:48.000Z
2021-05-17T13:23:47.000Z
heidelberg_metadata_gui/__init__.py
lkeegan/heidelberg-metadata-gui
4584cf4fd0253a8578ecf2d00656fb511aa55914
[ "MIT" ]
5
2020-10-29T18:03:01.000Z
2021-05-18T13:36:50.000Z
heidelberg_metadata_gui/__init__.py
lkeegan/heidelberg-metadata-gui
4584cf4fd0253a8578ecf2d00656fb511aa55914
[ "MIT" ]
2
2021-01-25T02:59:04.000Z
2021-05-18T12:33:18.000Z
from flask import Flask import os from pathlib import Path def init_app(): """Construct core Flask application with embedded Dash app.""" app = Flask(__name__, instance_relative_config=False) if os.environ.get('FLASK_ENV') == 'development': app.config.from_object('heidelberg_metadata_gui.config.C...
30.357143
88
0.697647
112
850
5.071429
0.428571
0.06338
0.06338
0.066901
0.161972
0.161972
0.161972
0.161972
0
0
0
0
0.201176
850
27
89
31.481481
0.836524
0.164706
0
0
0
0
0.226496
0.123932
0
0
0
0
0
1
0.0625
false
0
0.3125
0
0.4375
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
0
0
0
1
2b311e8b69a7a54c81b4295228c4d333ef89a7a5
9,639
py
Python
examples/GhostClient/kuka_box_model/gym_test_joint.py
mohammad200h/bullet3
959836a0a914621a858fa77ca8f5ba3cc57fa62f
[ "Zlib" ]
null
null
null
examples/GhostClient/kuka_box_model/gym_test_joint.py
mohammad200h/bullet3
959836a0a914621a858fa77ca8f5ba3cc57fa62f
[ "Zlib" ]
null
null
null
examples/GhostClient/kuka_box_model/gym_test_joint.py
mohammad200h/bullet3
959836a0a914621a858fa77ca8f5ba3cc57fa62f
[ "Zlib" ]
null
null
null
#!/usr/bin/env python import random import math import gym from gym import spaces from gym.utils import seeding import numpy as np import time import pybullet as p import random import pybullet_data from modelInfo_util import ModelInfo from pkg_resources import parse_version import os, inspect currentdir = os.path.dirn...
35.050909
151
0.727254
1,526
9,639
4.355832
0.163172
0.014142
0.016248
0.019859
0.405296
0.356853
0.289003
0.224763
0.179028
0.171807
0
0.058878
0.110177
9,639
275
152
35.050909
0.716101
0.217969
0
0.136364
0
0
0.061087
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.019481
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
0
0
0
0
0
1
2b315df0d0c415e1db625aec009ef628443d0b7a
1,729
py
Python
passport_api/api/serializers.py
JCoffeeYP/passport_api
fb432bf0c3f758e49cd69c77cfdcf0a34925be8b
[ "MIT" ]
null
null
null
passport_api/api/serializers.py
JCoffeeYP/passport_api
fb432bf0c3f758e49cd69c77cfdcf0a34925be8b
[ "MIT" ]
null
null
null
passport_api/api/serializers.py
JCoffeeYP/passport_api
fb432bf0c3f758e49cd69c77cfdcf0a34925be8b
[ "MIT" ]
null
null
null
from drf_extra_fields.fields import Base64ImageField from rest_framework import serializers from api.models import Account, Passport from passport_api.settings import DATE_FORMAT, DATE_INPUT_FORMATS class PassportSerializer(serializers.ModelSerializer): date_of_issue = serializers.DateField(format=DATE_FORMAT, ...
35.285714
77
0.666281
174
1,729
6.425287
0.390805
0.053667
0.042934
0.037567
0.227191
0.178891
0.178891
0.11449
0.11449
0.11449
0
0.003067
0.245807
1,729
48
78
36.020833
0.854294
0
0
0.194444
0
0
0.132447
0
0
0
0
0
0
1
0.055556
false
0.305556
0.111111
0
0.527778
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
0
0
0
1
2b3af585696da1834ad6f5deda109ef7ba26bf53
540
py
Python
administration/migrations/0022_variable_rules.py
Revibe-Music/core-services
6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2
[ "MIT" ]
2
2022-01-24T23:30:18.000Z
2022-01-26T00:21:22.000Z
administration/migrations/0022_variable_rules.py
Revibe-Music/core-services
6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2
[ "MIT" ]
null
null
null
administration/migrations/0022_variable_rules.py
Revibe-Music/core-services
6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2
[ "MIT" ]
null
null
null
# Generated by Django 3.0 on 2020-03-16 21:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('administration', '0021_variable'), ] operations = [ migrations.AddField( model_name='variable', name='rules', ...
28.421053
210
0.653704
64
540
5.40625
0.8125
0.069364
0
0
0
0
0
0
0
0
0
0.043796
0.238889
540
18
211
30
0.798054
0.07963
0
0
1
0
0.325253
0.048485
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
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
0
0
0
0
0
0
1
2b3edd2b9df42da117998cd3dd3b41bf88e15885
3,843
py
Python
rlcard3/envs/mocsar.py
cogitoergoread/muszi-macrohard.hu
e9bbd36b789e670f96622a3a2ba8327f0d897561
[ "MIT" ]
1
2021-05-27T03:40:37.000Z
2021-05-27T03:40:37.000Z
rlcard3/envs/mocsar.py
cogitoergoread/muszi-macrohard.hu
e9bbd36b789e670f96622a3a2ba8327f0d897561
[ "MIT" ]
null
null
null
rlcard3/envs/mocsar.py
cogitoergoread/muszi-macrohard.hu
e9bbd36b789e670f96622a3a2ba8327f0d897561
[ "MIT" ]
1
2022-02-24T11:25:22.000Z
2022-02-24T11:25:22.000Z
""" Mocsár Environment File name: envs/gmocsar.py Author: József Varga Date created: 3/27/2020 """ from rlcard3 import models from rlcard3.envs.env import Env from rlcard3.games.mocsar.game import MocsarGame as Game from rlcard3.games.mocsar.utils import action_to_string, \ string_to_action, payof...
34.3125
119
0.612022
524
3,843
4.341603
0.322519
0.024615
0.018462
0.019341
0.069451
0.069451
0.028132
0
0
0
0
0.017324
0.294041
3,843
111
120
34.621622
0.821231
0.386677
0
0
0
0
0.081067
0.030211
0
0
0
0
0
1
0.214286
false
0
0.119048
0
0.5
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
2b46d553bf0ce67f1bd1e4de8686f904e56e6f93
5,885
py
Python
taskwiki/store.py
wolass/taskwiki
1bfcc3d6f77aac65f4d5f1da80a9b47b65b05120
[ "MIT" ]
465
2015-03-27T09:42:18.000Z
2020-07-18T20:35:19.000Z
taskwiki/store.py
wolass/taskwiki
1bfcc3d6f77aac65f4d5f1da80a9b47b65b05120
[ "MIT" ]
272
2015-01-10T20:38:02.000Z
2020-07-16T12:55:15.000Z
taskwiki/store.py
wolass/taskwiki
1bfcc3d6f77aac65f4d5f1da80a9b47b65b05120
[ "MIT" ]
66
2015-03-21T16:33:39.000Z
2020-07-12T09:20:29.000Z
from tasklib import TaskWarrior from taskwiki import errors class WarriorStore(object): """ Stores all instances of TaskWarrior objects. """ def __init__(self, default_rc, default_data, extra_warrior_defs): default_kwargs = dict( data_location=default_data, taskrc_loc...
27.759434
75
0.60085
702
5,885
4.92735
0.185185
0.083261
0.025441
0.018213
0.420642
0.34403
0.261925
0.220295
0.213935
0.157271
0
0.008948
0.297366
5,885
211
76
27.890995
0.82757
0.060493
0
0.266187
0
0
0.013982
0
0
0
0
0
0
1
0.201439
false
0
0.043165
0.05036
0.417266
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
0
0
0
1
2b588816e6c651d5f271f5483c9a6c5554f36c64
803
py
Python
examples/helloworldsplash/Hello2.py
takipsizad/pyjs
54db0ba6747aca744f9f3c3e985a17e913dfb951
[ "ECL-2.0", "Apache-2.0" ]
739
2015-01-01T02:05:11.000Z
2022-03-30T15:26:16.000Z
examples/helloworldsplash/Hello2.py
takipsizad/pyjs
54db0ba6747aca744f9f3c3e985a17e913dfb951
[ "ECL-2.0", "Apache-2.0" ]
33
2015-03-25T23:17:04.000Z
2021-08-19T08:25:22.000Z
examples/helloworldsplash/Hello2.py
takipsizad/pyjs
54db0ba6747aca744f9f3c3e985a17e913dfb951
[ "ECL-2.0", "Apache-2.0" ]
167
2015-01-01T22:27:47.000Z
2022-03-17T13:29:19.000Z
import pyjd # this is dummy in pyjs. from pyjamas.ui.RootPanel import RootPanel from pyjamas.ui.Button import Button from pyjamas.ui.HTML import HTML from pyjamas.ui.Label import Label from pyjamas import Window import pygwt def greet(fred): fred.setText("No, really click me!") Window.alert("Hello, AJAX!") i...
30.884615
64
0.657534
107
803
4.859813
0.411215
0.105769
0.1
0
0
0
0
0
0
0
0
0
0.198007
803
25
65
32.12
0.807453
0.027397
0
0
0
0
0.218229
0.037227
0
0
0
0
0
1
0.045455
false
0
0.318182
0
0.363636
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
0
0
0
1
2b623868ac85343a0e6cae756f325b5723aefb7b
538
py
Python
home/views.py
gab98fra/curriculo.page-project
15d2cde96ae726c12e12b574992b8ce74671ad40
[ "Apache-2.0" ]
1
2021-09-18T03:11:02.000Z
2021-09-18T03:11:02.000Z
home/views.py
gab98fra/curriculo.page-project
15d2cde96ae726c12e12b574992b8ce74671ad40
[ "Apache-2.0" ]
null
null
null
home/views.py
gab98fra/curriculo.page-project
15d2cde96ae726c12e12b574992b8ce74671ad40
[ "Apache-2.0" ]
1
2021-09-18T22:11:51.000Z
2021-09-18T22:11:51.000Z
from django.shortcuts import render from django.views.generic import TemplateView class HomeView(TemplateView): "Home page" template_name="home/home.html" class Error404View(TemplateView): "Error 404" template_name="home/404.html" class Error500View(TemplateView): "Error 500" ...
17.933333
45
0.630112
63
538
5.285714
0.460317
0.108108
0.144144
0
0
0
0
0
0
0
0
0.046272
0.276952
538
29
46
18.551724
0.809769
0.053903
0
0
0
0
0.124535
0
0
0
0
0
0
1
0.105263
false
0
0.105263
0
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2b6455405f00f2479f54ccb8620289208db211a3
318
py
Python
dwzhaopt/script.py
betterzdw/dwzhaopt
e45341541ae189c2130462c374c20bcd58ecc4b1
[ "MIT" ]
null
null
null
dwzhaopt/script.py
betterzdw/dwzhaopt
e45341541ae189c2130462c374c20bcd58ecc4b1
[ "MIT" ]
null
null
null
dwzhaopt/script.py
betterzdw/dwzhaopt
e45341541ae189c2130462c374c20bcd58ecc4b1
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- # 安装pip包后的工具脚本 import sys def echo(): """ 消息回声,无论怎样的请求都使用print输出 :return: None """ if len(sys.argv) < 2: print 'Usage: {} msg'.format(__file__) sys.exit(1) msg = sys.argv[1] print msg if __name__ == '__main__': echo()
13.25
46
0.544025
39
318
4.128205
0.74359
0.086957
0
0
0
0
0
0
0
0
0
0.017621
0.286164
318
23
47
13.826087
0.69163
0.169811
0
0
0
0
0.102941
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.222222
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
0
0
0
0
0
1
2b64ff77d343ef7f9f53fa59e4e05109d1670dbf
1,712
py
Python
bokeh/server/websocket/handler.py
rothnic/bokeh
8da5e16b260a75caa8e7ef4caf215bb93dd784db
[ "BSD-3-Clause" ]
1
2017-08-02T23:12:03.000Z
2017-08-02T23:12:03.000Z
bokeh/server/websocket/handler.py
evidation-health/bokeh
2c580d93419033b962d36e3c46d7606cc2f24606
[ "BSD-3-Clause" ]
null
null
null
bokeh/server/websocket/handler.py
evidation-health/bokeh
2c580d93419033b962d36e3c46d7606cc2f24606
[ "BSD-3-Clause" ]
null
null
null
#----------------------------------------------------------------------------- # Copyright (c) 2012 - 2015, Continuum Analytics, Inc. All rights reserved. # # Powered by the Bokeh Development Team. # # The full license is in the file LICENSE.txt, distributed with this software. #----------------------------------------...
32.923077
83
0.581192
176
1,712
5.534091
0.517045
0.061602
0.030801
0.034908
0.049281
0
0
0
0
0
0
0.006939
0.242407
1,712
51
84
33.568627
0.744025
0.258178
0
0.0625
0
0
0.043685
0
0
0
0
0.019608
0
1
0.15625
false
0
0.15625
0.0625
0.40625
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
0
0
0
1
2b6a9608b5882a3f6c7001d940569fc0237e9f98
1,062
py
Python
laia/data/fixed_size_sampler.py
basbeu/PyLaia
d14458484b56622204b1730a7d53220c5d0f1bc1
[ "MIT" ]
2
2020-09-10T13:31:17.000Z
2021-07-31T09:44:17.000Z
laia/data/fixed_size_sampler.py
basbeu/PyLaia
d14458484b56622204b1730a7d53220c5d0f1bc1
[ "MIT" ]
1
2020-12-06T18:11:52.000Z
2020-12-06T18:19:38.000Z
laia/data/fixed_size_sampler.py
basbeu/PyLaia
d14458484b56622204b1730a7d53220c5d0f1bc1
[ "MIT" ]
2
2020-04-20T13:40:56.000Z
2020-10-17T11:59:55.000Z
from __future__ import absolute_import import torch from torch.utils.data.sampler import Sampler class FixedSizeSampler(Sampler): """Randomly resample elements from a data source up to a fixed number of samples. In each iterator, the samples are randomly sorted. If `num_samples` is greater than the ...
32.181818
79
0.700565
142
1,062
4.943662
0.394366
0.11396
0.079772
0.048433
0
0
0
0
0
0
0
0
0.225989
1,062
32
80
33.1875
0.854015
0.403955
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0.066667
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9917ca395b737b2b4244323c65701bb860cc3c70
1,372
py
Python
webapp/Watcher/app/migrations/0003_exercisetrack_workoutplandetails.py
srasool2/SWDV-691-FitnessWatcherServiceLayer
df907e0f5064f9b2c0e44c342b1a9e84178faf94
[ "MIT" ]
null
null
null
webapp/Watcher/app/migrations/0003_exercisetrack_workoutplandetails.py
srasool2/SWDV-691-FitnessWatcherServiceLayer
df907e0f5064f9b2c0e44c342b1a9e84178faf94
[ "MIT" ]
7
2019-03-30T14:53:23.000Z
2021-06-10T21:19:13.000Z
webapp/Watcher/app/migrations/0003_exercisetrack_workoutplandetails.py
srasool2/SWDV-691-FitnessWatcherServiceLayer
df907e0f5064f9b2c0e44c342b1a9e84178faf94
[ "MIT" ]
null
null
null
# Generated by Django 2.1.7 on 2019-03-22 06:40 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app', '0002_workoutplan'), ] operations = [ migrations.CreateModel( name='ExerciseTrack', ...
34.3
120
0.559038
129
1,372
5.782946
0.503876
0.042895
0.0563
0.088472
0.230563
0.155496
0.155496
0.155496
0.155496
0.155496
0
0.02537
0.310496
1,372
39
121
35.179487
0.763214
0.032799
0
0.363636
1
0
0.170566
0.015849
0
0
0
0
0
1
0
false
0
0.060606
0
0.151515
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
0
0
0
0
0
0
1
9919be6692eb1f1d1b0bbc712b14ff8abfc68bf3
1,872
py
Python
dns.py
P0desta/pnode
c748fe5f327f62a7055eb921b3113ac473dc23b9
[ "Apache-2.0" ]
27
2019-01-19T07:57:59.000Z
2020-07-06T08:07:57.000Z
dns.py
p0desta/pnode
c748fe5f327f62a7055eb921b3113ac473dc23b9
[ "Apache-2.0" ]
null
null
null
dns.py
p0desta/pnode
c748fe5f327f62a7055eb921b3113ac473dc23b9
[ "Apache-2.0" ]
2
2019-01-19T10:32:09.000Z
2019-02-14T09:08:06.000Z
#coding=utf-8 import MySQLdb from twisted.internet import reactor, defer from twisted.names import client, dns, error, server record = {} class DynamicResolver(object): def _doDynamicResponse(self, query): name = query.name.name dns_rebind = '' ttl = 10 if ".xnode.ga" in name: ...
28.8
130
0.564103
207
1,872
5.019324
0.507246
0.051973
0.023099
0.036574
0
0
0
0
0
0
0
0.035047
0.314103
1,872
64
131
29.25
0.774143
0.00641
0
0.038462
0
0
0.103337
0.017223
0
0
0
0
0
0
null
null
0.019231
0.057692
null
null
0.038462
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
0
0
0
0
0
1
9924cacfecd6b2e9b8269fa44dd221fc800b641b
1,280
py
Python
app/common/migrations/0001_initial.py
hupili/legco-watch
06253a65d299564827972a38dc7d7dee5c1f6120
[ "MIT" ]
null
null
null
app/common/migrations/0001_initial.py
hupili/legco-watch
06253a65d299564827972a38dc7d7dee5c1f6120
[ "MIT" ]
null
null
null
app/common/migrations/0001_initial.py
hupili/legco-watch
06253a65d299564827972a38dc7d7dee5c1f6120
[ "MIT" ]
1
2020-05-24T17:08:57.000Z
2020-05-24T17:08:57.000Z
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'ErrorReport' db.create_table(u'common_errorreport', ( ...
35.555556
86
0.6
141
1,280
5.368794
0.35461
0.095112
0.147952
0.211361
0.438573
0.400264
0.2893
0.134742
0.134742
0
0
0.002006
0.221094
1,280
36
87
35.555556
0.757272
0.060156
0
0
0
0
0.365833
0.226667
0
0
0
0
0
1
0.08
false
0
0.16
0
0.36
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
99309f775a949f6075752d276be7e226d2ed4a95
1,646
py
Python
scripts/sources/S_ToeplitzMatrix.py
dpopadic/arpmRes
ddcc4de713b46e3e9dcb77cc08c502ce4df54f76
[ "MIT" ]
6
2021-04-10T13:24:30.000Z
2022-03-26T08:20:42.000Z
scripts/sources/S_ToeplitzMatrix.py
dpopadic/arpmRes
ddcc4de713b46e3e9dcb77cc08c502ce4df54f76
[ "MIT" ]
null
null
null
scripts/sources/S_ToeplitzMatrix.py
dpopadic/arpmRes
ddcc4de713b46e3e9dcb77cc08c502ce4df54f76
[ "MIT" ]
6
2019-08-13T22:02:17.000Z
2022-02-09T17:49:12.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # --- # jupyter: # jupytext: # text_representation: # extension: .py # format_name: light # format_version: '1.4' # jupytext_version: 1.1.4 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- # # S_To...
25.71875
203
0.658566
247
1,646
4.307692
0.506073
0.022556
0.033835
0.039474
0.099624
0.083647
0.083647
0
0
0
0
0.051449
0.161604
1,646
63
204
26.126984
0.719565
0.50486
0
0
0
0
0.037227
0.028241
0
0
0
0
0
1
0
false
0
0.347826
0
0.347826
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
0
0
0
1
9937c0cc1f326ad671fa27bedd39d7b1e450577b
641
py
Python
app_user/migrations/0007_auto_20210903_1632.py
Dekatron322/blockchain-Invest
d07ffa9cf7d2f44d8cf76c65cdaafd5862d2b488
[ "Apache-2.0" ]
1
2021-11-20T14:09:58.000Z
2021-11-20T14:09:58.000Z
app_user/migrations/0007_auto_20210903_1632.py
Dekatron322/blockchain-Invest
d07ffa9cf7d2f44d8cf76c65cdaafd5862d2b488
[ "Apache-2.0" ]
null
null
null
app_user/migrations/0007_auto_20210903_1632.py
Dekatron322/blockchain-Invest
d07ffa9cf7d2f44d8cf76c65cdaafd5862d2b488
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.7 on 2021-09-03 16:32 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('app_user', '0006_investment_harvest_amount'), ] operations = [ migrations.AddField( model_name='inv...
25.64
74
0.625585
66
641
5.954545
0.590909
0.083969
0.145038
0.137405
0.508906
0.508906
0.508906
0.26972
0
0
0
0.046709
0.265211
641
24
75
26.708333
0.787686
0.070203
0
0.444444
1
0
0.139731
0.050505
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
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
0
0
0
0
0
0
1
99399b28e360ba494cb70f8fdf2092aa09e597e1
3,662
py
Python
cieloApi3/sale.py
ballke-dev/API-3.0-Python
ac97e684a9a25f99fb0cf7fae2454073761f7915
[ "MIT" ]
null
null
null
cieloApi3/sale.py
ballke-dev/API-3.0-Python
ac97e684a9a25f99fb0cf7fae2454073761f7915
[ "MIT" ]
null
null
null
cieloApi3/sale.py
ballke-dev/API-3.0-Python
ac97e684a9a25f99fb0cf7fae2454073761f7915
[ "MIT" ]
null
null
null
from .objectJSON import ObjectJSON class Sale(ObjectJSON): def __init__(self, merchant_order_id): # Order self.merchant_order_id = merchant_order_id # Dados do Comprador self.customer = None # Dados do Pagamento self.payment = None def update_return(self, r...
49.486486
110
0.653195
407
3,662
5.633907
0.206388
0.13345
0.115133
0.167466
0.221108
0.203663
0.065416
0
0
0
0
0
0.237029
3,662
73
111
50.164384
0.820687
0.011742
0
0
0
0
0.150802
0
0
0
0
0
0
1
0.034483
false
0
0.017241
0
0.068966
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
993f0ed8d01587cc75d5c80afc87f819cc21fc1f
234
py
Python
app/datasci/scripts/pot.py
sappachok/django-anaconda
1ffd33ded759f622b6db23a3550a898b62350403
[ "MIT" ]
null
null
null
app/datasci/scripts/pot.py
sappachok/django-anaconda
1ffd33ded759f622b6db23a3550a898b62350403
[ "MIT" ]
7
2019-12-06T05:34:28.000Z
2021-06-10T18:25:17.000Z
app/datasci/scripts/pot.py
sappachok/django-datasci
1ffd33ded759f622b6db23a3550a898b62350403
[ "MIT" ]
null
null
null
# Import necessary libraries import matplotlib.pyplot as plt import seaborn as sns # Reset default params sns.set() # Set context to `"paper"` sns.set_context("paper") # print("xxx") # Load iris data iris = sns.load_dataset("iris")
18
31
0.735043
35
234
4.857143
0.628571
0.070588
0
0
0
0
0
0
0
0
0
0
0.145299
234
13
32
18
0.85
0.42735
0
0
0
0
0.069767
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
0
0
0
1
9941e8c0fcf8a607f3228e4519fad4f010a21ac1
992
py
Python
winter/http/exception_handlers.py
EvgenySmekalin/winter
24b6a02f958478547a4a120324823743a1f7e1a1
[ "MIT" ]
1
2020-03-28T14:54:28.000Z
2020-03-28T14:54:28.000Z
winter/http/exception_handlers.py
EvgenySmekalin/winter
24b6a02f958478547a4a120324823743a1f7e1a1
[ "MIT" ]
null
null
null
winter/http/exception_handlers.py
EvgenySmekalin/winter
24b6a02f958478547a4a120324823743a1f7e1a1
[ "MIT" ]
null
null
null
import typing from http import HTTPStatus from .response_header_annotation import ResponseHeader from .response_header_annotation import response_header from .response_status_annotation import response_status from .. import ExceptionHandler from ..converters import ConvertException class ConvertExceptionHandler(Exce...
35.428571
87
0.798387
102
992
7.588235
0.372549
0.090439
0.116279
0.155039
0.325581
0.186047
0.186047
0.186047
0.186047
0.186047
0
0.001155
0.127016
992
27
88
36.740741
0.89261
0.046371
0
0.1
0
0
0.024364
0
0
0
0
0
0
1
0.15
false
0
0.35
0.1
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
0
0
0
1
99482ffb75fd17322f90834ec73a928a76184c56
799
py
Python
test/tests/im_caching.py
kevinxucs/pyston
bdb87c1706ac74a0d15d9bc2bae53798678a5f14
[ "Apache-2.0" ]
1
2020-02-06T14:28:45.000Z
2020-02-06T14:28:45.000Z
test/tests/im_caching.py
kevinxucs/pyston
bdb87c1706ac74a0d15d9bc2bae53798678a5f14
[ "Apache-2.0" ]
null
null
null
test/tests/im_caching.py
kevinxucs/pyston
bdb87c1706ac74a0d15d9bc2bae53798678a5f14
[ "Apache-2.0" ]
1
2020-02-06T14:29:00.000Z
2020-02-06T14:29:00.000Z
# run_args: -n # Tests to make sure that we guard on enough things for instance methods: class C(object): def foo(self): print "C.foo()" def bar(self): print "C.bar()" def baz(self, a, b, c, d, e, f, g, h, i): print "C.baz()" def faz(self, a, b, c, d, e, f, g, h, i): pri...
22.194444
73
0.468085
163
799
2.288344
0.276074
0.02681
0.064343
0.075067
0.552279
0.300268
0.300268
0.300268
0.300268
0.300268
0
0.016636
0.322904
799
35
74
22.828571
0.672828
0.105131
0
0.357143
0
0
0.078762
0
0
0
0
0
0
0
null
null
0
0
null
null
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9953c10917bc6ae74164ad995eb8b079420f2860
2,288
py
Python
setup.py
0zAND1z/zamia-ai
d9e9c6123fdadca3fae55e87ea2b2b32d82bc210
[ "Apache-2.0" ]
129
2017-03-23T14:20:33.000Z
2022-01-03T01:52:22.000Z
setup.py
0zAND1z/zamia-ai
d9e9c6123fdadca3fae55e87ea2b2b32d82bc210
[ "Apache-2.0" ]
6
2017-03-09T22:32:55.000Z
2021-05-13T19:07:48.000Z
setup.py
gooofy/voxforge
da21be38e976aae67214537a27a30541afd3b5aa
[ "Apache-2.0" ]
22
2017-04-07T15:44:05.000Z
2022-03-13T02:41:08.000Z
from setuptools import setup import os # df = [] # for m in os.listdir('modules'): # for f in os.listdir('modules/%s' % m): # if f.endswith('.py') or f.endswith('.pl'): # df.append(('share/zamia-ai/modules/%s' % m, ['modules/%s/%s' % (m, f)])) # print repr(df) setup( name ...
49.73913
205
0.486451
200
2,288
5.525
0.6
0.068778
0.090498
0.032579
0
0
0
0
0
0
0
0.006378
0.383304
2,288
45
206
50.844444
0.776754
0.113199
0
0.058824
0
0.029412
0.454951
0.035644
0
0
0
0
0
1
0
true
0
0.058824
0
0.058824
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
0
0
0
1
995925ac7455428ccc802b601b8b404f977aea7b
260
py
Python
Codeforces/C_Drazil_and_Factorial.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
Codeforces/C_Drazil_and_Factorial.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
Codeforces/C_Drazil_and_Factorial.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
n = int(input()) s = input() d = {'4': '322', '6': '53', '8': '7222', '9': '7332'} ans = '' for i in s: if i=='1' or i=='0': continue a = i if i in d: a = d[i] ans += a ans = list(ans) ans = sorted(ans)[::-1] print(''.join(ans))
18.571429
53
0.419231
47
260
2.319149
0.574468
0.055046
0
0
0
0
0
0
0
0
0
0.110497
0.303846
260
14
54
18.571429
0.491713
0
0
0
0
0
0.072797
0
0
0
0
0
0
1
0
false
0
0
0
0
0.071429
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
0
0
0
0
0
0
0
0
0
1
995d0a5bf12ef04cac09504e42889adbc2c4b7a1
4,522
py
Python
custom_crawler/work_utils/creat_gsxt_table.py
who0sy/custom_crawler
8493be3d77ddda727832236e856177538aee9668
[ "Apache-2.0" ]
12
2020-07-20T15:38:38.000Z
2022-03-31T06:44:39.000Z
custom_crawler/work_utils/creat_gsxt_table.py
who0sy/custom_crawler
8493be3d77ddda727832236e856177538aee9668
[ "Apache-2.0" ]
1
2022-03-02T15:03:53.000Z
2022-03-02T15:03:53.000Z
custom_crawler/work_utils/creat_gsxt_table.py
who0sy/custom_crawler
8493be3d77ddda727832236e856177538aee9668
[ "Apache-2.0" ]
3
2020-08-06T02:49:07.000Z
2022-03-14T17:49:11.000Z
# -*- coding: utf-8 -*- from datetime import datetime import warnings from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from custom_crawler.settings import DB_HOST, DB_PORT, DB_USER, DB_PASSWORD, DB_NAME, DB_CHARSET from sqlalchemy.dialects.mysql import LONGTEXT from sqlalche...
51.977011
188
0.725564
574
4,522
5.566202
0.273519
0.131455
0.160563
0.062598
0.64507
0.628169
0.580595
0.482942
0.397496
0.397496
0
0.019368
0.132242
4,522
86
189
52.581395
0.794852
0.057497
0
0.349206
0
0
0.084534
0.02928
0
0
0
0
0
1
0.031746
false
0.031746
0.111111
0.031746
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
0
0
1
0
0
1
995d46a4b17999aba6d55c7d37a97284a850da99
3,250
py
Python
src/wired_components/component/register_component.py
pauleveritt/wired_components
a9072d5fc48680d5ff895887842ffd0f06bc0081
[ "MIT" ]
1
2019-09-15T12:30:44.000Z
2019-09-15T12:30:44.000Z
src/wired_components/component/register_component.py
pauleveritt/wired_components
a9072d5fc48680d5ff895887842ffd0f06bc0081
[ "MIT" ]
null
null
null
src/wired_components/component/register_component.py
pauleveritt/wired_components
a9072d5fc48680d5ff895887842ffd0f06bc0081
[ "MIT" ]
null
null
null
from typing import Callable, Type, get_type_hints from wired import ServiceContainer, ServiceRegistry from zope.interface.adapter import AdapterRegistry from wired_components.component import IComponent from wired_components.request import Request from wired_components.resource import Resource, IResource from wired_c...
36.931818
76
0.676308
352
3,250
6.107955
0.295455
0.025116
0.044186
0.034419
0.56186
0.56186
0.56186
0.56186
0.56186
0.51814
0
0.000831
0.259077
3,250
87
77
37.356322
0.892027
0.261231
0
0.444444
0
0
0.015235
0
0
0
0
0.011494
0
1
0.111111
false
0
0.148148
0
0.333333
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
0
0
0
1
99679b1f9532e2620fb68c308e403f9d245cf749
9,190
py
Python
tests/db_tests/browser_tests/test_sport_page.py
polyvertex/workoutizer
01f9691583548b83c51f72ff0d224ffa964ea6da
[ "MIT" ]
45
2020-10-23T13:01:34.000Z
2022-03-07T08:48:16.000Z
tests/db_tests/browser_tests/test_sport_page.py
polyvertex/workoutizer
01f9691583548b83c51f72ff0d224ffa964ea6da
[ "MIT" ]
62
2020-10-06T19:18:12.000Z
2022-01-13T19:25:34.000Z
tests/db_tests/browser_tests/test_sport_page.py
polyvertex/workoutizer
01f9691583548b83c51f72ff0d224ffa964ea6da
[ "MIT" ]
12
2020-10-07T12:44:00.000Z
2021-09-13T06:36:24.000Z
import datetime import pytz from django.urls import reverse from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.support.wait import WebDriverWait from wkz import configuration, models def test_all_sports_page_accessible(live_server, we...
42.35023
112
0.732862
1,340
9,190
4.815672
0.198507
0.060437
0.06834
0.074849
0.457307
0.439176
0.39625
0.370835
0.351464
0.309159
0
0.005552
0.176823
9,190
216
113
42.546296
0.847059
0.162242
0
0.180556
0
0.013889
0.171622
0.025691
0
0
0
0.00463
0.451389
1
0.034722
false
0
0.055556
0
0.090278
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
996a6c6d16ecabd26befa10d8ccbdebc55588d0b
2,206
py
Python
core/apps/storage/api.py
r4b3rt/KubeOperator
1fef19816ada64d8b25f87a5e3356ea5f161d7e5
[ "Apache-2.0" ]
3
2020-04-05T04:53:24.000Z
2020-04-05T04:53:34.000Z
core/apps/storage/api.py
r4b3rt/KubeOperator
1fef19816ada64d8b25f87a5e3356ea5f161d7e5
[ "Apache-2.0" ]
1
2022-03-02T09:29:37.000Z
2022-03-02T09:29:37.000Z
core/apps/storage/api.py
r4b3rt/KubeOperator
1fef19816ada64d8b25f87a5e3356ea5f161d7e5
[ "Apache-2.0" ]
1
2020-07-06T04:53:51.000Z
2020-07-06T04:53:51.000Z
from ansible_api.permissions import IsSuperUser from storage import serializers from storage.models import NfsStorage, CephStorage, ClusterCephStorage from rest_framework.response import Response from rest_framework import viewsets, status from kubeops_api.models.item import Item from kubeops_api.models.item_resource i...
41.622642
98
0.697643
253
2,206
5.909091
0.268775
0.058863
0.080268
0.112375
0.578595
0.46087
0.46087
0.46087
0.414716
0.414716
0
0.002254
0.195376
2,206
53
99
41.622642
0.84
0
0
0.5
0
0
0.040326
0
0
0
0
0
0
1
0.071429
false
0
0.166667
0
0.619048
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
0
1
0
0
1
996d748c90fe89f3c42b4f0b7952dc718e48a167
696
py
Python
tests/unit/test_datasets.py
dkucsc/mavas
db3f7bd35944b7d0f510c62760eaa071bf53d7d8
[ "Apache-2.0" ]
1
2016-12-14T21:05:47.000Z
2016-12-14T21:05:47.000Z
tests/unit/test_datasets.py
dkucsc/mavas
db3f7bd35944b7d0f510c62760eaa071bf53d7d8
[ "Apache-2.0" ]
null
null
null
tests/unit/test_datasets.py
dkucsc/mavas
db3f7bd35944b7d0f510c62760eaa071bf53d7d8
[ "Apache-2.0" ]
null
null
null
""" Tests the datasets module """ from __future__ import division from __future__ import print_function from __future__ import unicode_literals import unittest import ga4gh.datamodel.datasets as datasets class TestDatasets(unittest.TestCase): """ Tests the datasets class """ def testToProtocolElemen...
27.84
79
0.70546
75
696
6.346667
0.586667
0.063025
0.10084
0
0
0
0
0
0
0
0
0.014159
0.188218
696
24
80
29
0.828319
0.071839
0
0
0
0
0.030498
0
0
0
0
0
0.214286
1
0.071429
false
0
0.357143
0
0.5
0.071429
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
0
0
0
1
996f7f43b1067a6047aa3b7792b101c53b5169fb
87,029
py
Python
openbatlib/model.py
fastrockstar/openBatLib
965e08c97eadfaecfccb8bc423f826a140349b3d
[ "MIT" ]
4
2021-01-14T13:39:07.000Z
2021-12-13T09:32:38.000Z
openbatlib/model.py
fastrockstar/openBatLib
965e08c97eadfaecfccb8bc423f826a140349b3d
[ "MIT" ]
3
2021-01-14T13:36:23.000Z
2022-01-17T21:37:19.000Z
openbatlib/model.py
fastrockstar/openBatLib
965e08c97eadfaecfccb8bc423f826a140349b3d
[ "MIT" ]
3
2021-01-14T13:32:43.000Z
2021-12-13T09:29:41.000Z
import numpy as np import numba as nb from dataclasses import dataclass from numba import types from numba.typed import Dict from numba import njit import pandas as pd import time import datetime import csv from openpyxl import load_workbook from pyModbusTCP.client import ModbusClient from pyModbusTCP impor...
38.696754
295
0.591366
12,266
87,029
3.984184
0.048508
0.030284
0.028443
0.013096
0.787866
0.725455
0.681686
0.625517
0.575834
0.53096
0
0.035054
0.321134
87,029
2,248
296
38.713968
0.792116
0.347758
0
0.412256
0
0
0.058562
0
0
0
0.000115
0.00089
0
1
0.041783
false
0
0.013928
0.001857
0.100279
0.004643
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
0
0
0
1
997298b002748cd8e8096c6c5893ba447c06d647
8,803
py
Python
Oscar/Helpers/MinionDataHandler.py
onderogluserdar/boardInstrumentFramework
00f4dc5f3e6993ce372ee12067da43720d1ae175
[ "Apache-2.0" ]
16
2018-02-19T11:07:33.000Z
2022-01-02T10:32:00.000Z
Oscar/Helpers/MinionDataHandler.py
mosfa/Board-Instrumentation-Framework
5689bde340f0d28cceef6474f795267df724b5fe
[ "Apache-2.0" ]
11
2018-04-10T23:38:15.000Z
2021-02-17T17:38:05.000Z
Oscar/Helpers/MinionDataHandler.py
mosfa/Board-Instrumentation-Framework
5689bde340f0d28cceef6474f795267df724b5fe
[ "Apache-2.0" ]
11
2017-12-31T06:22:47.000Z
2021-11-12T21:08:41.000Z
############################################################################## # Copyright (c) 2016 Intel Corporation # # 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...
42.52657
139
0.638532
797
8,803
7.026349
0.271016
0.049286
0.094286
0.033929
0.335714
0.329821
0.322321
0.310357
0.241607
0.227143
0
0.011288
0.245257
8,803
206
140
42.73301
0.831427
0.23333
0
0.353448
0
0
0.100962
0.00977
0
0
0
0
0
0
null
null
0.017241
0.12069
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
0
0
0
0
0
0
1
99742a91f7035d47b047730f0ab66329e32ba4fb
6,558
py
Python
glycan_profiling/database/glycan_composition_filter.py
mstim/glycresoft
1d305c42c7e6cba60326d8246e4a485596a53513
[ "Apache-2.0" ]
4
2019-04-26T15:47:57.000Z
2021-04-20T22:53:58.000Z
glycan_profiling/database/glycan_composition_filter.py
mstim/glycresoft
1d305c42c7e6cba60326d8246e4a485596a53513
[ "Apache-2.0" ]
8
2017-11-22T19:20:20.000Z
2022-02-14T01:49:58.000Z
glycan_profiling/database/glycan_composition_filter.py
mstim/glycresoft
1d305c42c7e6cba60326d8246e4a485596a53513
[ "Apache-2.0" ]
3
2017-11-21T18:05:28.000Z
2021-09-23T18:38:33.000Z
''' Usage: list_of_db_glycans = get_db_glycans() gcf = GlycanCompositionFilter(list_of_db_glycans) index = InclusionFilter(gcf.query("Fuc", 1, 3).add("HexNAc", 4, 6).add("Neu5Ac", 0, 2)) id_of_interest = 5 print(5 in index) ''' from collections import defaultdict, Counter class FilterTreeNode(obje...
28.38961
92
0.57975
791
6,558
4.596713
0.160556
0.019802
0.021452
0.028053
0.160341
0.101485
0.048955
0.048955
0
0
0
0.006901
0.315035
6,558
230
93
28.513043
0.802538
0.036444
0
0.252809
0
0
0.014419
0
0
0
0
0
0
1
0.207865
false
0
0.005618
0.05618
0.398876
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
0
0
0
1
997bb9ef3710fe2e74efc3b5474cf762dbecc11c
1,221
py
Python
py-src/p01_lanelines_02_video.py
gabeoh/CarND-P01-LaneLines
5a35a7698f5a2efeff70d5537fedae366c1e51a0
[ "MIT" ]
null
null
null
py-src/p01_lanelines_02_video.py
gabeoh/CarND-P01-LaneLines
5a35a7698f5a2efeff70d5537fedae366c1e51a0
[ "MIT" ]
null
null
null
py-src/p01_lanelines_02_video.py
gabeoh/CarND-P01-LaneLines
5a35a7698f5a2efeff70d5537fedae366c1e51a0
[ "MIT" ]
null
null
null
# Import everything needed to edit/save/watch video clips from moviepy.editor import VideoFileClip from IPython.display import HTML import matplotlib.pyplot as plt import os import helper.lane_detect as ld # Process videos under '../test_videos/' video_src_dir = '../test_videos/' video_dst_dir = '../test_videos_outpu...
43.607143
106
0.760033
189
1,221
4.724868
0.513228
0.044793
0.036954
0
0
0
0
0
0
0
0
0.004907
0.165438
1,221
27
107
45.222222
0.871443
0.488124
0
0
0
0
0.085246
0.036066
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.066667
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
0
0
0
1
997dd1801e634a1717f6a1dd4b47ec4a6d85b3d7
2,649
py
Python
WebApp/resources/dashTemplates/navbar.py
JoulesCH/Automated-Trading-System
ca6afb5fac6fc3046aa61893f8f85354a8a3ddeb
[ "MIT" ]
null
null
null
WebApp/resources/dashTemplates/navbar.py
JoulesCH/Automated-Trading-System
ca6afb5fac6fc3046aa61893f8f85354a8a3ddeb
[ "MIT" ]
null
null
null
WebApp/resources/dashTemplates/navbar.py
JoulesCH/Automated-Trading-System
ca6afb5fac6fc3046aa61893f8f85354a8a3ddeb
[ "MIT" ]
null
null
null
import dash_bootstrap_components as dbc from dash import html navbar = dbc.Navbar( [ html.A( dbc.Row( [ html.H1('Automated Trading System', style = {'c...
66.225
212
0.330691
185
2,649
4.756757
0.383784
0.1375
0.073864
0.113636
0.448864
0.448864
0.448864
0.448864
0.448864
0.448864
0
0.008723
0.523971
2,649
40
213
66.225
0.683584
0.051718
0
0.181818
0
0
0.205751
0
0
0
0
0
0
1
0
false
0
0.060606
0
0.060606
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
997df8e801384edda0a7c4eb1df2c72f921fa061
264
py
Python
pyweb/util.py
mckev/pyweb
9f2824b0c2f67230be327e089e6b024dc0c9965f
[ "MIT" ]
null
null
null
pyweb/util.py
mckev/pyweb
9f2824b0c2f67230be327e089e6b024dc0c9965f
[ "MIT" ]
null
null
null
pyweb/util.py
mckev/pyweb
9f2824b0c2f67230be327e089e6b024dc0c9965f
[ "MIT" ]
null
null
null
def get_int(val, default=None): assert default is None or type(default) is int try: return int(val) except ValueError: return default except TypeError: # When val is None, list, tuple, set, dict, etc. return default
26.4
56
0.625
36
264
4.555556
0.583333
0.073171
0
0
0
0
0
0
0
0
0
0
0.30303
264
9
57
29.333333
0.891304
0.174242
0
0.25
0
0
0
0
0
0
0
0
0.125
1
0.125
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9983efa37472a3e86fa4ac72ae3b8496d807b25f
699
py
Python
unit_tests/testXMLdata.py
gilleshenrard/Scriptipy
93300b81e3723520e56fa652e374adc66ac704d7
[ "MIT" ]
null
null
null
unit_tests/testXMLdata.py
gilleshenrard/Scriptipy
93300b81e3723520e56fa652e374adc66ac704d7
[ "MIT" ]
3
2016-09-23T14:22:41.000Z
2016-09-24T13:41:57.000Z
unit_tests/testXMLdata.py
gilleshenrard/Scriptipy
93300b81e3723520e56fa652e374adc66ac704d7
[ "MIT" ]
null
null
null
from data.XMLdata import * import unittest class testXMLData(unittest.TestCase): """Test Case to test out XMLdata""" # # TEST INITIALISATION # def setUp(self): """Declare a XMLData test object with correct values (should not fail). Test each given values.""" self.x=XMLdata("unit_tests/test_files/xmltestdat...
25.888889
74
0.739628
92
699
5.521739
0.48913
0.029528
0.051181
0.070866
0.141732
0.141732
0.141732
0
0
0
0
0
0.147353
699
27
75
25.888889
0.852349
0.412017
0
0
0
0
0.194226
0.194226
0
0
0
0
0.111111
1
0.333333
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
998487f15edb60085d7cfcd5d44231bd7c1f85cd
734
py
Python
affinity_search/populatedefaults.py
RMeli/gninascripts
ff108ee9cabb8ac5a56defde676890ffa26d71ec
[ "BSD-3-Clause" ]
18
2018-08-30T03:05:38.000Z
2022-02-21T13:50:11.000Z
affinity_search/populatedefaults.py
RMeli/gninascripts
ff108ee9cabb8ac5a56defde676890ffa26d71ec
[ "BSD-3-Clause" ]
9
2017-06-21T21:10:38.000Z
2022-01-24T13:18:29.000Z
affinity_search/populatedefaults.py
ahmadcahyana/scripts
7b91c02a2ce873d1d22716a31db8d8637ad81e17
[ "BSD-3-Clause" ]
73
2017-01-27T05:02:46.000Z
2022-03-27T04:57:17.000Z
#!/usr/bin/env python '''Given a results.csv file and password for db, put the contents into google sql''' import sys, re, MySQLdb import pandas as pd import makemodel import numpy as np conn = MySQLdb.connect (host = "35.196.158.205",user = "opter",passwd=sys.argv[1],db="opt2") cursor = conn.cursor() opts...
24.466667
100
0.655313
107
734
4.495327
0.672897
0
0
0
0
0
0
0
0
0
0
0.037829
0.171662
734
29
101
25.310345
0.753289
0.155313
0
0
0
0
0.133768
0
0
0
0
0
0
1
0
false
0.058824
0.235294
0
0.235294
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
0
0
0
1
998a3d9dc7fadd4dcaa64fa7c1d71bb69de64353
2,778
py
Python
apps/operation/models.py
codelieche/moocweb
0e25efa597a79a38066ec41559334be604388f30
[ "MIT" ]
null
null
null
apps/operation/models.py
codelieche/moocweb
0e25efa597a79a38066ec41559334be604388f30
[ "MIT" ]
null
null
null
apps/operation/models.py
codelieche/moocweb
0e25efa597a79a38066ec41559334be604388f30
[ "MIT" ]
null
null
null
# _*_ coding:utf-8 _*_ from __future__ import unicode_literals from django.db import models from django.utils.encoding import python_2_unicode_compatible from account.models import UserProfile from courses.models import Course # Create your models here. @python_2_unicode_compatible class UserAsk(models.Model): ...
30.527473
78
0.697984
347
2,778
5.26513
0.276657
0.174603
0.045977
0.078818
0.530378
0.442255
0.401752
0.377668
0.377668
0.377668
0
0.012037
0.192585
2,778
90
79
30.866667
0.802497
0.031677
0
0.461538
0
0
0.031859
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0.076923
0.692308
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
0
1
0
0
1
998a7d9ecbec905fe1f7fc67dba8d4479dd46860
7,569
py
Python
tuf/tests/test_pyca_crypto_keys.py
vladimir-v-diaz/demo
f1daa995d3154587318b7382b74bbe200f10c4e3
[ "MIT" ]
1
2016-09-30T16:04:10.000Z
2016-09-30T16:04:10.000Z
tuf/tests/test_pyca_crypto_keys.py
vladimir-v-diaz/demo
f1daa995d3154587318b7382b74bbe200f10c4e3
[ "MIT" ]
null
null
null
tuf/tests/test_pyca_crypto_keys.py
vladimir-v-diaz/demo
f1daa995d3154587318b7382b74bbe200f10c4e3
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ <Program Name> test_pyca_crypto_keys.py <Author> Vladimir Diaz <vladimir.v.diaz@gmail.com> <Started> June 3, 2015. <Copyright> See LICENSE for licensing information. <Purpose> Test cases for 'pyca_crypto_keys.py'. """ # Help with Python 3 compatibility, where the print statem...
34.880184
94
0.679218
816
7,569
5.993873
0.214461
0.081783
0.073809
0.054386
0.59313
0.543243
0.514619
0.439583
0.384175
0.308321
0
0.057451
0.241115
7,569
216
95
35.041667
0.794046
0.131457
0
0.318966
0
0
0.125973
0.062452
0
0
0
0
0.258621
1
0.077586
false
0.112069
0.086207
0
0.172414
0.008621
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
0
0
0
1
998aa03754e71b0156f88d69fdad393813fdc4f4
523
py
Python
tests/snapshots/snap_test_trace.py
simonsobs/nextline
94741b85002008cd84b7094a622ff03d18ecef5c
[ "MIT" ]
null
null
null
tests/snapshots/snap_test_trace.py
simonsobs/nextline
94741b85002008cd84b7094a622ff03d18ecef5c
[ "MIT" ]
10
2021-05-05T14:51:04.000Z
2022-03-03T19:42:37.000Z
tests/snapshots/snap_test_trace.py
simonsobs/nextline
94741b85002008cd84b7094a622ff03d18ecef5c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # snapshottest: v1 - https://goo.gl/zC4yUc from __future__ import unicode_literals from snapshottest import GenericRepr, Snapshot snapshots = Snapshot() snapshots['test_args 1'] = [ ( 'trace_func', ( GenericRepr('sentinel.frame'), 'call', ...
16.34375
46
0.453155
39
523
5.871795
0.692308
0.148472
0.174672
0.244541
0.28821
0
0
0
0
0
0
0.013158
0.418738
523
31
47
16.870968
0.740132
0.118547
0
0.36
0
0
0.146288
0
0
0
0
0
0
1
0
false
0
0.08
0
0.08
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
998ec8c43d8707b05a32e82909a8a04ad2d0136f
1,553
py
Python
experiments/ashvin/icra2021/data_utils/dump_offpolicy.py
Asap7772/railrl_evalsawyer
baba8ce634d32a48c7dfe4dc03b123e18e96e0a3
[ "MIT" ]
null
null
null
experiments/ashvin/icra2021/data_utils/dump_offpolicy.py
Asap7772/railrl_evalsawyer
baba8ce634d32a48c7dfe4dc03b123e18e96e0a3
[ "MIT" ]
null
null
null
experiments/ashvin/icra2021/data_utils/dump_offpolicy.py
Asap7772/railrl_evalsawyer
baba8ce634d32a48c7dfe4dc03b123e18e96e0a3
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import time import glob from rlkit.misc.asset_loader import load_local_or_remote_file from skimage import data, color from skimage.transform import rescale, resize, downscale_local_mean import pickle import skvideo.io import sys from pathlib import Path import jso...
30.45098
85
0.681906
232
1,553
4.422414
0.413793
0.024366
0.049708
0.073099
0.243665
0.155945
0.103314
0.103314
0.103314
0.103314
0
0.02558
0.194462
1,553
50
86
31.06
0.794564
0.065035
0
0
0
0
0.136646
0.086266
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.078947
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
0
0
0
1
999991f8475ba23576010c08b303f5dfe6a05cfa
7,073
py
Python
fine-tune/common/options.py
muyeby/AMRBART
8f52f9d6a23dcf4132d2cc1272d6605ebc78a16f
[ "MIT" ]
14
2022-03-16T02:36:30.000Z
2022-03-26T07:46:18.000Z
fine-tune/common/options.py
muyeby/AMRBART
8f52f9d6a23dcf4132d2cc1272d6605ebc78a16f
[ "MIT" ]
2
2022-03-24T12:45:27.000Z
2022-03-30T03:25:15.000Z
fine-tune/common/options.py
muyeby/AMRBART
8f52f9d6a23dcf4132d2cc1272d6605ebc78a16f
[ "MIT" ]
2
2022-03-24T06:12:19.000Z
2022-03-31T10:44:57.000Z
def add_model_specific_args(parser, root_dir): parser.add_argument( "--train_data_file", default=None, type=str, required=True, help="The input training data file (a text file).", ) parser.add_argument( "--output_dir", type=str, required=True, ...
31.29646
143
0.600735
852
7,073
4.83216
0.257042
0.098373
0.185815
0.041535
0.433082
0.400049
0.340539
0.289774
0.274229
0.274229
0
0.009844
0.281917
7,073
225
144
31.435556
0.800748
0.002262
0
0.468468
0
0.013514
0.420269
0.023955
0
0
0
0
0
1
0.004505
false
0
0
0
0.009009
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
0
0
0
0
1
99a0842464d8be67d7f80cc47184e0c9805f7d3f
2,697
py
Python
demos/models.py
khalooei/adversarial-attacks-pytorch
ccda440b1d8b04c297d2f0812e384b60ef0d8f79
[ "MIT" ]
15
2021-10-13T07:12:43.000Z
2022-03-09T04:13:08.000Z
demos/models.py
khalooei/adversarial-attacks-pytorch
ccda440b1d8b04c297d2f0812e384b60ef0d8f79
[ "MIT" ]
null
null
null
demos/models.py
khalooei/adversarial-attacks-pytorch
ccda440b1d8b04c297d2f0812e384b60ef0d8f79
[ "MIT" ]
2
2021-03-12T12:59:21.000Z
2021-10-10T11:49:48.000Z
import torch import torch.nn as nn class CNN(nn.Module): def __init__(self): super(CNN, self).__init__() self.layer = nn.Sequential( nn.Conv2d(1,16,5), nn.ReLU(), nn.Conv2d(16,32,5), nn.ReLU(), nn.MaxPool2d(2,2), nn.Co...
25.205607
47
0.416018
330
2,697
3.30303
0.151515
0.095413
0.051376
0.087156
0.788991
0.754128
0.662385
0.580734
0.491743
0.433028
0
0.15835
0.442714
2,697
107
48
25.205607
0.566866
0.030404
0
0.60241
0
0
0
0
0
0
0
0
0
1
0.072289
false
0
0.024096
0
0.168675
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
0
0
0
1
99a406c2a498685fa09ee7b41ebc68dfedd7eb3f
402
py
Python
output/models/nist_data/list_pkg/unsigned_long/schema_instance/nistschema_sv_iv_list_unsigned_long_enumeration_5_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/nist_data/list_pkg/unsigned_long/schema_instance/nistschema_sv_iv_list_unsigned_long_enumeration_5_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/nist_data/list_pkg/unsigned_long/schema_instance/nistschema_sv_iv_list_unsigned_long_enumeration_5_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.nist_data.list_pkg.unsigned_long.schema_instance.nistschema_sv_iv_list_unsigned_long_enumeration_5_xsd.nistschema_sv_iv_list_unsigned_long_enumeration_5 import ( NistschemaSvIvListUnsignedLongEnumeration5, NistschemaSvIvListUnsignedLongEnumeration5Type, ) __all__ = [ "NistschemaSvIvListU...
40.2
180
0.875622
34
402
9.676471
0.617647
0.109422
0.085106
0.109422
0.255319
0.255319
0.255319
0.255319
0
0
0
0.016129
0.074627
402
9
181
44.666667
0.86828
0
0
0
0
0
0.218905
0.218905
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
99a84ebd2ebc30b3e269f0beebd94848ec5262cb
595
py
Python
Backend/bookapp/migrations/0016_alter_opinion_rating.py
AntoniLason/io_app
418f837c4385e9366a3d43be8c8250ac0c4c01ee
[ "BSD-3-Clause" ]
null
null
null
Backend/bookapp/migrations/0016_alter_opinion_rating.py
AntoniLason/io_app
418f837c4385e9366a3d43be8c8250ac0c4c01ee
[ "BSD-3-Clause" ]
2
2022-01-17T22:19:10.000Z
2022-01-17T22:22:17.000Z
Backend/bookapp/migrations/0016_alter_opinion_rating.py
AntoniLason/io_app
418f837c4385e9366a3d43be8c8250ac0c4c01ee
[ "BSD-3-Clause" ]
2
2022-01-17T22:08:40.000Z
2022-01-17T22:32:01.000Z
# Generated by Django 4.0 on 2022-01-09 12:31 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bookapp', '0015_opinion_date_opinion_rating_alter_book_description_and_more'), ] operations = [ migrations.Alter...
29.75
189
0.692437
69
595
5.797101
0.681159
0.075
0.15
0
0
0
0
0
0
0
0
0.052301
0.196639
595
19
190
31.315789
0.784519
0.072269
0
0
1
0
0.152727
0.116364
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
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
0
0
0
0
0
0
1
41da738eb7e9c4b67d3d02b3f458fdee3f820b65
1,344
py
Python
sb_backend/app/models/setup/vat.py
DmitriyGrigoriev/sb-fastapi
1aef3db6ce26ea054e048e5927552d48c2eccbfb
[ "MIT" ]
null
null
null
sb_backend/app/models/setup/vat.py
DmitriyGrigoriev/sb-fastapi
1aef3db6ce26ea054e048e5927552d48c2eccbfb
[ "MIT" ]
null
null
null
sb_backend/app/models/setup/vat.py
DmitriyGrigoriev/sb-fastapi
1aef3db6ce26ea054e048e5927552d48c2eccbfb
[ "MIT" ]
null
null
null
from typing import Optional from decimal import Decimal from pydantic import condecimal from sqlmodel import Field, SQLModel from sqlalchemy import UniqueConstraint from sb_backend.app.utils import constants from sb_backend.app.models.base.base_model import TimeStampMixin class VatPostingGroupBase(SQLModel): """...
35.368421
117
0.738095
176
1,344
5.619318
0.335227
0.060667
0.091001
0.08089
0.252781
0.252781
0.252781
0.252781
0.252781
0.252781
0
0.007011
0.151042
1,344
37
118
36.324324
0.842244
0.162946
0
0.08
0
0
0.019108
0
0
0
0
0
0
1
0
false
0
0.28
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
0
0
1
0
0
1
41e047892fcefa05461ff62f3581e724eb6c9aa2
2,505
py
Python
testPrograms/arrangeWords.py
iculus/brainDisplay
04f26c86fde2776c7de0c41e77b27a4cd8922445
[ "MIT" ]
null
null
null
testPrograms/arrangeWords.py
iculus/brainDisplay
04f26c86fde2776c7de0c41e77b27a4cd8922445
[ "MIT" ]
null
null
null
testPrograms/arrangeWords.py
iculus/brainDisplay
04f26c86fde2776c7de0c41e77b27a4cd8922445
[ "MIT" ]
null
null
null
def splitUpParagraph(fileLocation, start, lineLength): workingInstruction = prepareInstructionFile(fileLocation) Working = True signature = '^' #first break up the instruction at line breaks defined by the user firstPassList = [] tempParagraph = [] #since the prgram uses a signature character, check that this c...
28.793103
84
0.721756
281
2,505
6.405694
0.362989
0.013889
0.012222
0.032222
0.083333
0.041111
0
0
0
0
0
0.007866
0.188024
2,505
86
85
29.127907
0.877089
0.155289
0
0.059701
0
0
0.067837
0.012334
0
0
0
0
0
0
null
null
0.044776
0
null
null
0.044776
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
0
0
0
0
0
1
41e35a77e7e8a5bc0fa0b500389352d0b977402a
444
py
Python
curso_em_video/defiance011.py
valdsonmota/python-studies
1abf5ba4337006f77b2a162b37f341b116414f59
[ "MIT" ]
null
null
null
curso_em_video/defiance011.py
valdsonmota/python-studies
1abf5ba4337006f77b2a162b37f341b116414f59
[ "MIT" ]
null
null
null
curso_em_video/defiance011.py
valdsonmota/python-studies
1abf5ba4337006f77b2a162b37f341b116414f59
[ "MIT" ]
null
null
null
#Program that reads the width and height of a wall in meters, calculates the area and amount of paint you need, knowing that each liter of paint paints an area of 2m². print('=' * 10, 'DEFIANCE 011', '=' * 10) hei = float(input('Enter the height of the wall in meters: ')) wid = float(input('Enter the width of the wall ...
55.5
167
0.689189
80
444
3.825
0.525
0.058824
0.117647
0.117647
0.111111
0
0
0
0
0
0
0.033333
0.189189
444
7
168
63.428571
0.816667
0.373874
0
0
0
0
0.534296
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
41e4fe7835ef15abf0a71968f3f9106af5ff9672
3,529
py
Python
FlaskWebApp/flask_server/models/users.py
ClaudioRizzo/JniFuzzerFramework
520a85fe7c4fe348a0b62c32993bf3ae6e503598
[ "MIT" ]
null
null
null
FlaskWebApp/flask_server/models/users.py
ClaudioRizzo/JniFuzzerFramework
520a85fe7c4fe348a0b62c32993bf3ae6e503598
[ "MIT" ]
null
null
null
FlaskWebApp/flask_server/models/users.py
ClaudioRizzo/JniFuzzerFramework
520a85fe7c4fe348a0b62c32993bf3ae6e503598
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ tsbackend.models.users ~~~~~~~~~~~~~~~~~~~~~~ This module contains helper functions for performing user management tasks on the database to support the routes defined in `tsbackend.views.users`. """ from functools import wraps from typing import Union from flask import current_app, sessi...
27.787402
77
0.644942
445
3,529
5.024719
0.357303
0.022361
0.020125
0.02415
0.135063
0.135063
0.12254
0.034884
0
0
0
0.007291
0.261547
3,529
127
78
27.787402
0.850729
0.365826
0
0.232143
0
0
0.044592
0
0
0
0
0
0
1
0.142857
false
0.107143
0.107143
0
0.553571
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
0
0
0
1
41e5569fe08e7f810001d764d36962377fa4f6f8
23,095
py
Python
code/aesmc/random_variable.py
jatucker4/DVRL
6cf0708e417540672ceb8ac470ecc6b3b477387e
[ "Apache-2.0" ]
115
2018-09-10T15:18:10.000Z
2021-12-31T13:00:21.000Z
code/aesmc/random_variable.py
jatucker4/DVRL
6cf0708e417540672ceb8ac470ecc6b3b477387e
[ "Apache-2.0" ]
4
2020-07-20T07:39:28.000Z
2021-04-22T18:42:02.000Z
code/aesmc/random_variable.py
jatucker4/DVRL
6cf0708e417540672ceb8ac470ecc6b3b477387e
[ "Apache-2.0" ]
22
2018-09-25T08:41:36.000Z
2022-03-28T16:48:09.000Z
import collections import numpy as np import torch from . import state as st from torch.autograd import Variable import logging import warnings class RandomVariable(): """Base class for random variables. Supported methods: - sample(batch_size, num_particles) - sample_reparameterized(batch_size, nu...
35.530769
103
0.623208
2,518
23,095
5.451152
0.090548
0.076716
0.097042
0.169824
0.61205
0.550488
0.512312
0.480256
0.416509
0.373088
0
0.007821
0.274778
23,095
649
104
35.585516
0.81169
0.163412
0
0.39312
0
0
0.02612
0.00118
0
0
0
0.001541
0.07371
1
0.159705
false
0
0.017199
0.039312
0.334152
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
41eeadc0e277c70abe435559c1b845bd49e00a72
3,339
py
Python
DataManager.py
Poom1997/AI-SmartParking
272d2cdd8ef2324f74edf2f5766db6b6ead40552
[ "MIT" ]
null
null
null
DataManager.py
Poom1997/AI-SmartParking
272d2cdd8ef2324f74edf2f5766db6b6ead40552
[ "MIT" ]
null
null
null
DataManager.py
Poom1997/AI-SmartParking
272d2cdd8ef2324f74edf2f5766db6b6ead40552
[ "MIT" ]
1
2017-12-09T11:20:14.000Z
2017-12-09T11:20:14.000Z
from GraphManager import * import time row = 25 col = 25 class InvalidDataFormat(Exception): pass class DataManager: def __init__(self, row, column, inputData = []): self.connector = GraphManager() self.inputData = inputData self.outputData = [] self.row = row self.col ...
39.75
149
0.504942
385
3,339
4.368831
0.158442
0.185493
0.191439
0.133769
0.496433
0.444114
0.419738
0.419738
0.419738
0.419738
0
0.028999
0.359689
3,339
83
150
40.228916
0.757717
0.036837
0
0.09375
0
0
0
0
0
0
0
0
0
1
0.109375
false
0.015625
0.03125
0.015625
0.28125
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
0
0
0
0
1
41f9b409f4fb303cf6cffd82975480f851890f49
1,239
py
Python
zusha/registrations/migrations/0004_auto_20200621_0910.py
samsonmuoki/zusha_web_app
5ea788402e48855e8d77a92e379730ad646aad27
[ "MIT" ]
1
2020-02-24T08:06:26.000Z
2020-02-24T08:06:26.000Z
zusha/registrations/migrations/0004_auto_20200621_0910.py
samsonmuoki/zusha_web_app
5ea788402e48855e8d77a92e379730ad646aad27
[ "MIT" ]
6
2021-02-08T20:41:46.000Z
2021-09-22T18:34:32.000Z
zusha/registrations/migrations/0004_auto_20200621_0910.py
samsonmuoki/zusha_web_app
5ea788402e48855e8d77a92e379730ad646aad27
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-06-21 09:10 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('registrations', '0003_auto_20200615_0714'), ] operations = [ migrations.AddField( model_name='sacco...
33.486486
211
0.616626
124
1,239
6.024194
0.524194
0.096386
0.123159
0.144578
0.356091
0.356091
0.243641
0.243641
0.243641
0.243641
0
0.039517
0.26473
1,239
36
212
34.416667
0.780461
0.03632
0
0.466667
1
0
0.204698
0.038591
0
0
0
0
0
1
0
false
0
0.066667
0
0.166667
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
0
0
0
0
0
0
1
5109e3c320c237d03e1e28c06bac32993d34dbf1
1,267
py
Python
graphs/graph.py
ebisLab/codingchallenges
97b3436447a9eb44dc38a2cc2bbbe9f8f9616f0d
[ "MIT" ]
null
null
null
graphs/graph.py
ebisLab/codingchallenges
97b3436447a9eb44dc38a2cc2bbbe9f8f9616f0d
[ "MIT" ]
null
null
null
graphs/graph.py
ebisLab/codingchallenges
97b3436447a9eb44dc38a2cc2bbbe9f8f9616f0d
[ "MIT" ]
null
null
null
class Graph(): def __init__(self): self.numnodes = 0 self.adjacentList = {} def addVertex(self, data): # lets us peek at the top of element without removing it from the stack if data not in self.adjacentList: self.adjacentList[data] = [] # add key [data] to the empty obje...
25.34
103
0.567482
159
1,267
4.427673
0.396226
0.204545
0.042614
0.059659
0.076705
0.076705
0
0
0
0
0
0.021277
0.295185
1,267
49
104
25.857143
0.767077
0.231255
0
0.068966
0
0
0.076042
0.023958
0
0
0
0
0
1
0.137931
false
0
0
0
0.241379
0.068966
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
510b3a418d961fbba0457d137e0e0f405720eca1
1,023
py
Python
spacy/lang/tl/stop_words.py
cedar101/spaCy
66e22098a8bb77cbe527b1a4a3c69ec1cfb56f95
[ "MIT" ]
12
2019-03-20T20:43:47.000Z
2020-04-13T11:10:52.000Z
spacy/lang/tl/stop_words.py
cedar101/spaCy
66e22098a8bb77cbe527b1a4a3c69ec1cfb56f95
[ "MIT" ]
13
2018-06-05T11:54:40.000Z
2019-07-02T11:33:14.000Z
spacy/lang/tl/stop_words.py
cedar101/spaCy
66e22098a8bb77cbe527b1a4a3c69ec1cfb56f95
[ "MIT" ]
2
2020-02-15T18:33:35.000Z
2022-02-13T14:11:41.000Z
# encoding: utf8 from __future__ import unicode_literals STOP_WORDS = set( """ akin aking ako alin am amin aming ang ano anumang apat at atin ating ay bababa bago bakit bawat bilang dahil dalawa dapat din dito doon gagawin gayunman ginagawa ginawa ginawang gumawa gusto habang hanggang hindi huwag iba ibaba ibabaw ...
6.6
39
0.825024
158
1,023
5.303797
1
0
0
0
0
0
0
0
0
0
0
0.001166
0.16129
1,023
154
40
6.642857
0.975524
0.013685
0
0
0
0
0
0
0
1
0
0
0
1
0
false
0
0.25
0
0.25
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
1
0
0
0
0
0
0
0
0
0
0
0
0
1
510d8601ef05261f1ee771687c3086ba3d5818fa
1,820
py
Python
goodadmin/migrations/0001_initial.py
waynezh86/tango_with_django_project
8e55de6de5384e950d5d76e5a7573abccdc9b672
[ "MIT" ]
null
null
null
goodadmin/migrations/0001_initial.py
waynezh86/tango_with_django_project
8e55de6de5384e950d5d76e5a7573abccdc9b672
[ "MIT" ]
null
null
null
goodadmin/migrations/0001_initial.py
waynezh86/tango_with_django_project
8e55de6de5384e950d5d76e5a7573abccdc9b672
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2018-05-20 17:19 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migratio...
37.916667
121
0.596154
176
1,820
6.034091
0.426136
0.037665
0.052731
0.082863
0.354991
0.328625
0.328625
0.328625
0.328625
0.328625
0
0.018072
0.27033
1,820
47
122
38.723404
0.781627
0.037363
0
0.358974
1
0
0.085192
0.012007
0
0
0
0
0
1
0
false
0
0.102564
0
0.205128
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
0
0
0
0
0
0
1
511611ccae58672f6044c079114412b31ebdd111
606
py
Python
events.py
dondish/Python-Music-Bot
8672fcb851ffae6ce51880b91d05d747868a39bf
[ "Apache-2.0" ]
2
2018-04-21T20:03:10.000Z
2018-06-07T21:49:43.000Z
events.py
dondish/Soko
8672fcb851ffae6ce51880b91d05d747868a39bf
[ "Apache-2.0" ]
null
null
null
events.py
dondish/Soko
8672fcb851ffae6ce51880b91d05d747868a39bf
[ "Apache-2.0" ]
null
null
null
from config import Bot import discord def setup(bot): """ Setup here bot events of your choice. """ @bot.event async def on_command_error(ctx, error): if isinstance(error, TimeoutError): return print(error) @bot.event async def on_ready(): print('Logged...
27.545455
75
0.623762
80
606
4.625
0.575
0.075676
0.172973
0.216216
0.097297
0
0
0
0
0
0
0.004367
0.244224
606
22
75
27.545455
0.803493
0.061056
0
0.125
0
0
0.138989
0
0
0
0
0
0
1
0.0625
false
0
0.125
0
0.25
0.125
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5124cd9bea423c67cf03e1f44a13b838fdba792d
3,860
py
Python
tests/unit/test_rule_model.py
radish-bdd/radish2
4ea71291aac8700ec2b284b7f2bbf79bf2970324
[ "MIT" ]
182
2015-06-27T16:17:17.000Z
2022-03-19T11:49:10.000Z
tests/unit/test_rule_model.py
radish-bdd/radish2
4ea71291aac8700ec2b284b7f2bbf79bf2970324
[ "MIT" ]
357
2015-11-06T19:30:19.000Z
2022-03-28T19:49:04.000Z
tests/unit/test_rule_model.py
radish-bdd/radish2
4ea71291aac8700ec2b284b7f2bbf79bf2970324
[ "MIT" ]
52
2015-08-22T08:36:37.000Z
2022-03-01T06:04:06.000Z
""" radish ~~~~~~ The root from red to green. BDD tooling for Python. :copyright: (c) 2019 by Timo Furrer <tuxtimo@gmail.com> :license: MIT, see LICENSE for more details. """ import pytest from radish.models import Rule, State def test_rule_should_forward_set_feature_to_its_scenarios(mocker): """A Rule should...
32.436975
81
0.689896
496
3,860
5.120968
0.175403
0.086614
0.125984
0.069291
0.63189
0.595276
0.565748
0.547638
0.462992
0.381102
0
0.001288
0.195596
3,860
118
82
32.711864
0.816747
0.120984
0
0.243243
0
0
0.190221
0.013119
0
0
0
0
0.094595
1
0.054054
false
0.162162
0.027027
0
0.081081
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
0
0
0
1
51264f643a398cadd37234a636b230a7ce275dfc
3,744
py
Python
6310545566_Phawit_ex6/ex6_files/data_plotting_run.py
HelloYeew/helloyeew-computer-programming-i
cf8315bdc4b8e20ba410e0745778595805f51afb
[ "MIT" ]
null
null
null
6310545566_Phawit_ex6/ex6_files/data_plotting_run.py
HelloYeew/helloyeew-computer-programming-i
cf8315bdc4b8e20ba410e0745778595805f51afb
[ "MIT" ]
null
null
null
6310545566_Phawit_ex6/ex6_files/data_plotting_run.py
HelloYeew/helloyeew-computer-programming-i
cf8315bdc4b8e20ba410e0745778595805f51afb
[ "MIT" ]
1
2020-12-07T10:05:44.000Z
2020-12-07T10:05:44.000Z
import data_processing as dp import matplotlib.pyplot as plt # Scatter plot of cities showing latitudes versus temperatures x = [] y = [] for city in dp.cities_data: x.append(float(city['latitude'])) y.append(float(city['temperature'])) plt.xlabel('latitude') plt.ylabel('temperature') plt.scatter(x, y) plt.sho...
32
122
0.703793
552
3,744
4.673913
0.233696
0.024419
0.025194
0.023256
0.163953
0.093023
0.049612
0.024806
0
0
0
0.007183
0.144765
3,744
116
123
32.275862
0.798563
0.240118
0
0.172043
0
0
0.129021
0
0
0
0
0
0
1
0
false
0.064516
0.021505
0
0.021505
0.021505
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
0
0
0
1
5128503146b4620a500a294d132b0bde49f660dc
433
py
Python
processo_seletivo/migrations/0003_auto_20180925_1431.py
CoticEaDIFRN/ege_prematricula
116b67ed82568c3cea236255468cfe07d841edc7
[ "MIT" ]
null
null
null
processo_seletivo/migrations/0003_auto_20180925_1431.py
CoticEaDIFRN/ege_prematricula
116b67ed82568c3cea236255468cfe07d841edc7
[ "MIT" ]
18
2018-09-21T15:15:27.000Z
2018-09-25T16:29:37.000Z
processo_seletivo/migrations/0003_auto_20180925_1431.py
CoticEaDIFRN/ege_prematricula
116b67ed82568c3cea236255468cfe07d841edc7
[ "MIT" ]
1
2018-09-24T12:49:11.000Z
2018-09-24T12:49:11.000Z
# Generated by Django 2.1.1 on 2018-09-25 17:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('processo_seletivo', '0002_auto_20180925_1430'), ] operations = [ migrations.AlterField( model_name='processoseletivo', ...
22.789474
73
0.635104
45
433
5.955556
0.777778
0.052239
0.097015
0
0
0
0
0
0
0
0
0.096573
0.258661
433
18
74
24.055556
0.738318
0.103926
0
0
1
0
0.196891
0.059585
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
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
0
0
0
0
0
0
1
512a60ffd4822284c5b1ad687bb46b0cbf3c08a4
905
py
Python
CH10/CH10c_Faster_Transformer_model_serving_using_Tensorflow_Extended/main.py
sharif618/Mastering-Transformers
b29f29a83ed182156ec47bf4a4de78d0328b3208
[ "MIT" ]
155
2021-07-11T10:45:16.000Z
2022-03-23T03:10:16.000Z
CH10/CH10c_Faster_Transformer_model_serving_using_Tensorflow_Extended/main.py
sharif618/Mastering-Transformers
b29f29a83ed182156ec47bf4a4de78d0328b3208
[ "MIT" ]
null
null
null
CH10/CH10c_Faster_Transformer_model_serving_using_Tensorflow_Extended/main.py
sharif618/Mastering-Transformers
b29f29a83ed182156ec47bf4a4de78d0328b3208
[ "MIT" ]
52
2021-08-03T15:03:13.000Z
2022-03-23T01:53:32.000Z
import uvicorn from fastapi import FastAPI from pydantic import BaseModel from transformers import BertTokenizerFast, BertConfig import requests import json import numpy as np tokenizer = BertTokenizerFast.from_pretrained("nateraw/bert-base-uncased-imdb") config = BertConfig.from_pretrained("nateraw/bert-base-uncased-...
30.166667
104
0.756906
114
905
5.850877
0.54386
0.04048
0.062969
0.074963
0.11994
0.11994
0.11994
0
0
0
0
0.010025
0.118232
905
29
105
31.206897
0.825815
0
0
0
0
0
0.175691
0.066298
0
0
0
0
0
1
0
false
0
0.318182
0
0.454545
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
0
0
0
1
0
0
0
0
1
5137f4d4c195e2e769d9ed7fabb02f524a2c4b95
647
py
Python
tests/chem/test_tensorise_molecules.py
iamchetry/DataChallenge-Fall2021
fa7748c9ea2f3c0f6bde8d0b094fc75463e28f33
[ "BSD-3-Clause" ]
108
2018-03-23T20:06:03.000Z
2022-01-06T19:32:46.000Z
tests/chem/test_tensorise_molecules.py
hachmannlab/ChemML
42b152579872a57c834884596f700c76b9320280
[ "BSD-3-Clause" ]
18
2019-08-09T21:16:14.000Z
2022-02-14T21:52:06.000Z
tests/chem/test_tensorise_molecules.py
hachmannlab/ChemML
42b152579872a57c834884596f700c76b9320280
[ "BSD-3-Clause" ]
28
2018-04-28T17:07:33.000Z
2022-02-28T07:22:56.000Z
import pytest from chemml.chem import tensorise_molecules from chemml.chem import Molecule @pytest.fixture() def mols(): m1 = Molecule('c1ccc1', 'smiles') m2 = Molecule('CNC', 'smiles') molecules = [m1, m2] return molecules def test_exception(): # not a molecule with pytest.raises(ValueEr...
18.485714
51
0.658423
85
647
4.917647
0.470588
0.215311
0.066986
0.095694
0
0
0
0
0
0
0
0.029644
0.217929
647
34
52
19.029412
0.796443
0.058733
0
0
0
0
0.052893
0
0
0
0
0
0.157895
1
0.157895
false
0
0.157895
0
0.368421
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
51395fb8731b88e7f275a8a91ceb9efbd8ec7eb4
654
py
Python
test/ResultsAndPrizes/matchball/test_matchball_results_of_the_draw_date_current_date.py
FearFactor1/SPA
a05aaa924c5bebb52cd508ebdf7fd3b81c49fac7
[ "Apache-2.0" ]
1
2019-12-05T06:50:54.000Z
2019-12-05T06:50:54.000Z
test/ResultsAndPrizes/matchball/test_matchball_results_of_the_draw_date_current_date.py
FearFactor1/SPA
a05aaa924c5bebb52cd508ebdf7fd3b81c49fac7
[ "Apache-2.0" ]
null
null
null
test/ResultsAndPrizes/matchball/test_matchball_results_of_the_draw_date_current_date.py
FearFactor1/SPA
a05aaa924c5bebb52cd508ebdf7fd3b81c49fac7
[ "Apache-2.0" ]
null
null
null
# matchball + Результаты тиража по дате + текущая дата def test_matchball_results_draw_date_current_date(app): app.ResultAndPrizes.open_page_results_and_prizes() app.ResultAndPrizes.click_game_matchball() app.ResultAndPrizes.click_the_results_of_the_draw_date() app.ResultAndPrizes.click_ok_in_modal_w...
46.714286
82
0.836391
84
654
6
0.464286
0.321429
0.083333
0.095238
0.313492
0.313492
0.150794
0
0
0
0
0.003384
0.09633
654
14
83
46.714286
0.849408
0.079511
0
0
0
0
0.028286
0
0
0
0
0
0.1
1
0.1
false
0
0
0
0.1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
513c27eaffa82cff2b2c8f6f371dbbb7868d9e3b
418
py
Python
api_basebone/migrations/0015_parameter_is_array.py
git-men/bsm-django
46d1fcbd8ca379d20a3396fd7ea529ccf998f59d
[ "MIT" ]
90
2020-12-07T04:49:43.000Z
2022-03-31T08:24:35.000Z
api_basebone/migrations/0015_parameter_is_array.py
flyowl/lightning
946c98986c1c42bf8c28f203cdf8512262283c25
[ "MIT" ]
4
2021-01-11T16:10:55.000Z
2022-02-18T12:13:23.000Z
api_basebone/migrations/0015_parameter_is_array.py
flyowl/lightning
946c98986c1c42bf8c28f203cdf8512262283c25
[ "MIT" ]
16
2020-12-07T12:32:05.000Z
2022-01-30T05:36:51.000Z
# Generated by Django 2.1.3 on 2019-10-18 08:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api_basebone', '0014_auto_20191014_1518'), ] operations = [ migrations.AddField( model_name='parameter', name='is_ar...
22
74
0.617225
46
418
5.456522
0.847826
0
0
0
0
0
0
0
0
0
0
0.101307
0.267943
418
18
75
23.222222
0.718954
0.107656
0
0
1
0
0.150943
0.061995
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
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
0
0
0
0
0
0
1
513ecf27c9ee928b2bb959df1d80827cba5743f2
631
py
Python
scrapi/harvesters/spdataverse.py
wearpants/scrapi
b1619a1212d9fc7e1f2247336fc2e4a3d453a4bb
[ "Apache-2.0" ]
34
2015-10-06T20:08:43.000Z
2022-03-16T12:46:24.000Z
scrapi/harvesters/spdataverse.py
jgw4sq/twilio
796e97dc6a8fdb8983fd736b328ad907bb1ff73e
[ "Apache-2.0" ]
100
2015-09-10T19:57:32.000Z
2016-06-22T03:09:51.000Z
scrapi/harvesters/spdataverse.py
jgw4sq/twilio
796e97dc6a8fdb8983fd736b328ad907bb1ff73e
[ "Apache-2.0" ]
32
2015-09-09T21:28:54.000Z
2019-05-09T03:18:02.000Z
""" Harvester for the Scholars Portal dataverse. More information here: https://github.com/CenterForOpenScience/SHARE/blob/master/providers/info.scholarsportal.dataverse.md """ from __future__ import unicode_literals from scrapi.base import OAIHarvester class SPDataverse(OAIHarvester): short_name = 'spdataver...
27.434783
123
0.721078
67
631
6.656716
0.716418
0.06278
0.103139
0.134529
0.165919
0.165919
0
0
0
0
0
0
0.152139
631
22
124
28.681818
0.833645
0.267829
0
0
0
0
0.414097
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
51418b0e21ca729f546564a2ac4b35bbbb2c5c8f
594
py
Python
test/ResultsAndPrizes/joker/test_joker_winning_numbers_for_several_draws.py
FearFactor1/SPA
a05aaa924c5bebb52cd508ebdf7fd3b81c49fac7
[ "Apache-2.0" ]
1
2019-12-05T06:50:54.000Z
2019-12-05T06:50:54.000Z
test/ResultsAndPrizes/joker/test_joker_winning_numbers_for_several_draws.py
FearFactor1/SPA
a05aaa924c5bebb52cd508ebdf7fd3b81c49fac7
[ "Apache-2.0" ]
null
null
null
test/ResultsAndPrizes/joker/test_joker_winning_numbers_for_several_draws.py
FearFactor1/SPA
a05aaa924c5bebb52cd508ebdf7fd3b81c49fac7
[ "Apache-2.0" ]
null
null
null
# Джокер + Выигрышные номера нескольких тиражей def test_joker_winning_numbers_for_several_draws(app): app.ResultAndPrizes.open_page_results_and_prizes() app.ResultAndPrizes.click_game_joker() app.ResultAndPrizes.click_the_winning_numbers_for_several_draws() app.ResultAndPrizes.click_ok_for_several_d...
45.692308
82
0.841751
76
594
6.052632
0.5
0.313043
0.11087
0.095652
0.317391
0.317391
0
0
0
0
0
0.005566
0.092593
594
13
83
45.692308
0.847866
0.075758
0
0
0
0
0.031022
0
0
0
0
0
0.111111
1
0.111111
false
0
0
0
0.111111
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
51447418b0fe630cd142925d7ba857c7681b690c
632
py
Python
django_kurs/src/wordbook/admin.py
viktarbodr/course_python
b8836df6b6a0e79f5542f3ee1fe93b54e35f0298
[ "Apache-2.0" ]
null
null
null
django_kurs/src/wordbook/admin.py
viktarbodr/course_python
b8836df6b6a0e79f5542f3ee1fe93b54e35f0298
[ "Apache-2.0" ]
null
null
null
django_kurs/src/wordbook/admin.py
viktarbodr/course_python
b8836df6b6a0e79f5542f3ee1fe93b54e35f0298
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin # Register your models here. from .models import Authors, Series, Genres, Publishers class AuthorsAdmin(admin.ModelAdmin): #search_fields = ['name'] list_display = ['pk', 'name', 'description'] class SeriesAdmin(admin.ModelAdmin): list_display = ['pk', 'name'] class GenresA...
28.727273
55
0.743671
72
632
6.458333
0.375
0.129032
0.111828
0.146237
0.227957
0.227957
0.15914
0
0
0
0
0
0.121835
632
22
56
28.727273
0.837838
0.079114
0
0.142857
0
0
0.060345
0
0
0
0
0
0
1
0
false
0
0.142857
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
0
0
1
0
0
1
514865ac551796ebab391ecc4bd7c9147bf3ab10
531
py
Python
offboard/model_converter.py
kkollipara/LaneNavigation
079280cdedd7ae41ac1462f1f934ecd0fe8a7850
[ "MIT" ]
null
null
null
offboard/model_converter.py
kkollipara/LaneNavigation
079280cdedd7ae41ac1462f1f934ecd0fe8a7850
[ "MIT" ]
null
null
null
offboard/model_converter.py
kkollipara/LaneNavigation
079280cdedd7ae41ac1462f1f934ecd0fe8a7850
[ "MIT" ]
null
null
null
# Converts base model to TFlite model import os import tensorflow as tf from tensorflow import keras from util import constants model_dir = os.path.join(constants.ROOT_FOLDER, constants.MODEL_FOLDER) model_path = os.path.join(model_dir, constants.MODEL_FINAL_NAME) model = keras.models.load_model(model_path) convert...
27.947368
77
0.79661
82
531
4.963415
0.439024
0.081081
0.07371
0.07371
0.088452
0
0
0
0
0
0
0
0.109228
531
18
78
29.5
0.860465
0.096045
0
0
0
0
0.060797
0.056604
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
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
0
0
0
1
514feb8272f86f3a4760f5e9d45574403074d45d
4,554
py
Python
src/attrbench/suite/plot/lib.py
zoeparman/benchmark
96331b7fa0db84f5f422b52cae2211b41bbd15ce
[ "MIT" ]
null
null
null
src/attrbench/suite/plot/lib.py
zoeparman/benchmark
96331b7fa0db84f5f422b52cae2211b41bbd15ce
[ "MIT" ]
7
2020-03-02T13:03:50.000Z
2022-03-12T00:16:20.000Z
src/attrbench/suite/plot/lib.py
zoeparman/benchmark
96331b7fa0db84f5f422b52cae2211b41bbd15ce
[ "MIT" ]
null
null
null
# Sources: # https://towardsdatascience.com/better-heatmaps-and-correlation-matrix-plots-in-python-41445d0f2bec # https://seaborn.pydata.org/generated/seaborn.heatmap.html import seaborn as sns from matplotlib import pyplot as plt import numpy as np import math def effect_size_barplot(effect_sizes, pvalues, labels, a...
42.166667
115
0.647563
717
4,554
3.966527
0.316597
0.022855
0.009845
0.022504
0.132208
0.09564
0.053446
0.053446
0.024613
0
0
0.026629
0.224857
4,554
107
116
42.560748
0.779037
0.20729
0
0.02381
1
0
0.031538
0
0
0
0
0
0
1
0.035714
false
0
0.047619
0
0.119048
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
0
0
0
0
0
0
1
5151987b227e8dcba10155a98e70b98dc9376bfb
612
py
Python
egs/biendata/s5/local/parse.py
zhangshuaiCasia/kaldi
e298736da4e6fb3bf5d70a7b520eb742c4744500
[ "Apache-2.0" ]
1
2021-06-30T07:29:48.000Z
2021-06-30T07:29:48.000Z
egs/biendata/s5/local/parse.py
zhangshuaiCasia/kaldi
e298736da4e6fb3bf5d70a7b520eb742c4744500
[ "Apache-2.0" ]
null
null
null
egs/biendata/s5/local/parse.py
zhangshuaiCasia/kaldi
e298736da4e6fb3bf5d70a7b520eb742c4744500
[ "Apache-2.0" ]
null
null
null
# -*- coding=utf-8 -*- import jieba jieba.load_userdict('/home/zhangshuai/kaldi-master/egs/biendata/s5/data/local/dict/lexicon_parse.txt') with open('/home/zhangshuai/kaldi-master/egs/biendata/s5/data/train_dev_sp/text_parse3','w') as w: with open('/home/zhangshuai/kaldi-master/egs/biendata/s5/data/train_dev_sp/...
38.25
102
0.594771
88
612
4.034091
0.534091
0.11831
0.160563
0.211268
0.478873
0.478873
0.478873
0.478873
0.360563
0.360563
0
0.014706
0.222222
612
16
103
38.25
0.731092
0.070261
0
0
0
0.111111
0.409894
0.399293
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5157ff61ceac9c43f133f2ff8ba2447550b17ed9
344
py
Python
Array/287. Find the Duplicate Number/Solution.py
vini-2002/LeetCode-Solutions
16831593e3cf70780ef0ec4d76769ca720ddc70d
[ "Unlicense" ]
9
2021-03-24T11:21:03.000Z
2022-02-14T05:05:48.000Z
Array/287. Find the Duplicate Number/Solution.py
vini-2002/LeetCode-Solutions
16831593e3cf70780ef0ec4d76769ca720ddc70d
[ "Unlicense" ]
38
2021-10-07T18:04:12.000Z
2021-12-05T05:53:27.000Z
Array/287. Find the Duplicate Number/Solution.py
vini-2002/LeetCode-Solutions
16831593e3cf70780ef0ec4d76769ca720ddc70d
[ "Unlicense" ]
27
2021-10-06T19:55:48.000Z
2021-11-18T16:53:20.000Z
class Solution(object): def findDuplicate(self, nums): count={} for i in nums: if i not in count: count[i]=1 else: count[i]+=1 for i in range(0,len(nums)): if count[nums[i]]>1: return nums[i...
22.933333
36
0.398256
40
344
3.425
0.5
0.043796
0.087591
0
0
0
0
0
0
0
0
0.023392
0.502907
344
14
37
24.571429
0.777778
0
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
515d3a74f3b1fb3d001c4e486b6abaa5ff859154
2,728
py
Python
View/Task/NoInteraction.py
parente/clique
e0a36e592d194a822f0078781d08a2d1aa63c9e4
[ "BSD-3-Clause" ]
3
2015-05-02T10:00:50.000Z
2018-10-26T02:42:13.000Z
View/Task/NoInteraction.py
parente/clique
e0a36e592d194a822f0078781d08a2d1aa63c9e4
[ "BSD-3-Clause" ]
null
null
null
View/Task/NoInteraction.py
parente/clique
e0a36e592d194a822f0078781d08a2d1aa63c9e4
[ "BSD-3-Clause" ]
1
2018-10-26T02:42:14.000Z
2018-10-26T02:42:14.000Z
''' Defines classes for no interaction patterns. @author: Peter Parente <parente@cs.unc.edu> @copyright: Copyright (c) 2008 Peter Parente @license: BSD License All rights reserved. This program and the accompanying materials are made available under the terms of The BSD License which accompanies this distribution, an...
36.864865
79
0.71371
378
2,728
5.12963
0.399471
0.025271
0.018566
0.030944
0.391439
0.345539
0.345539
0.345539
0.345539
0.345539
0
0.004653
0.212243
2,728
73
80
37.369863
0.897627
0.019795
0
0.181818
0
0
0.031863
0
0
0
0
0
0
0
null
null
0
0.045455
null
null
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
1
0
0
0
0
0
0
0
0
1
5165c53d12a681178e953f6fc145a1ff86f3a34f
11,212
py
Python
src/generate_pot_quads.py
nlpsoc/STEL
572ff12efad83ba3e106165218091aef7ccf6ce1
[ "MIT" ]
2
2021-12-05T08:43:32.000Z
2021-12-17T14:08:01.000Z
src/generate_pot_quads.py
nlpsoc/STEL
572ff12efad83ba3e106165218091aef7ccf6ce1
[ "MIT" ]
null
null
null
src/generate_pot_quads.py
nlpsoc/STEL
572ff12efad83ba3e106165218091aef7ccf6ce1
[ "MIT" ]
null
null
null
""" Generate the potential task instances for formal/informal dimension complex/simple dimension Generate the task instances for number substitution characteristic contraction characteristic Take Subsample of potential tasks """ import logging import sys import os import p...
48.536797
122
0.620853
1,334
11,212
4.935532
0.189655
0.023694
0.01777
0.012758
0.48466
0.430893
0.418287
0.396112
0.396112
0.396112
0
0.0184
0.292276
11,212
230
123
48.747826
0.811342
0.179897
0
0.385621
1
0
0.088332
0.002637
0
0
0
0
0.013072
1
0.013072
false
0
0.098039
0.006536
0.130719
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
0
0
0
0
0
0
1
5166ee55a4ff2730f1868a94c862bdbc5882f3dd
1,600
py
Python
fancylog/tools/git.py
stephenlenzi/fancylog
f29c64ad3874bf2664e3c86f1d73d8d09dfc5e7d
[ "MIT" ]
3
2020-09-30T09:02:08.000Z
2021-06-12T20:43:43.000Z
fancylog/tools/git.py
stephenlenzi/fancylog
f29c64ad3874bf2664e3c86f1d73d8d09dfc5e7d
[ "MIT" ]
8
2020-01-07T11:27:05.000Z
2021-07-13T11:07:11.000Z
fancylog/tools/git.py
stephenlenzi/fancylog
f29c64ad3874bf2664e3c86f1d73d8d09dfc5e7d
[ "MIT" ]
2
2020-02-05T19:03:04.000Z
2021-07-07T09:42:24.000Z
""" git =============== Wrappers around gitpython to return information about the git repository for debugging """ class GitPythonError(Exception): """ Exception if gitpython cannot be found (Typical in production environments). """ pass class GitEnvironmentError(Exception): """ Excep...
21.052632
76
0.649375
182
1,600
5.593407
0.456044
0.078585
0.037328
0.043222
0.300589
0.204322
0.125737
0.125737
0.125737
0.125737
0
0
0.261875
1,600
75
77
21.333333
0.861981
0.375
0
0.214286
0
0
0.033632
0
0
0
0
0
0
1
0.107143
false
0.071429
0.071429
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
0
1
0
0
0
0
0
1
5169e1583ea734a590402582dc0b1e2a0ee2b8e9
1,559
py
Python
quiz/models.py
neeraj1909/Quiz_app
1c6a3ff94a31391e833e3686f55f623de68cae1f
[ "MIT" ]
null
null
null
quiz/models.py
neeraj1909/Quiz_app
1c6a3ff94a31391e833e3686f55f623de68cae1f
[ "MIT" ]
1
2018-02-11T13:37:33.000Z
2018-02-12T04:36:53.000Z
quiz/models.py
neeraj1909/Quiz_app
1c6a3ff94a31391e833e3686f55f623de68cae1f
[ "MIT" ]
3
2017-11-14T20:01:15.000Z
2017-11-17T18:01:02.000Z
# Create your models here. from django.db import models from django.contrib import auth from django.utils import timezone class Answer(models.Model): """ Answer's Model, which is used as the answer in Question Model """ text = models.CharField(max_length=128, verbose_name=u'Answer\'s text') is_val...
29.980769
104
0.692752
198
1,559
5.282828
0.358586
0.042065
0.068834
0.091778
0.110899
0
0
0
0
0
0
0.008772
0.195638
1,559
52
105
29.980769
0.825359
0.358563
0
0.142857
0
0
0.064651
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
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
0
0
0
1
5a8ef51b9aed0308d23a46fafeb561ce27c4faa1
1,657
py
Python
src/utgardtests/filewriter/kafka.py
ess-dmsc/utgard-test-utils
27e244d06a681e09a10584dc6b93e5eaf767a8be
[ "BSD-2-Clause" ]
null
null
null
src/utgardtests/filewriter/kafka.py
ess-dmsc/utgard-test-utils
27e244d06a681e09a10584dc6b93e5eaf767a8be
[ "BSD-2-Clause" ]
null
null
null
src/utgardtests/filewriter/kafka.py
ess-dmsc/utgard-test-utils
27e244d06a681e09a10584dc6b93e5eaf767a8be
[ "BSD-2-Clause" ]
null
null
null
import json class CommandProducer: def __init__(self, kafka_producer, topic): self._producer = kafka_producer self._topic = topic def produce(self, cmd): """Serialise and send a message to the Kafka cluster. Keyword arguments: cmd -- a dict to be sent as JSON ...
29.589286
78
0.616777
196
1,657
5.005102
0.408163
0.061162
0.06422
0.03262
0
0
0
0
0
0
0
0
0.296319
1,657
55
79
30.127273
0.841338
0.282438
0
0.074074
0
0
0.009285
0
0
0
0
0
0
1
0.222222
false
0
0.037037
0
0.37037
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
5a94a20ab1d668a13beef847c1f49d9ab173729a
771
py
Python
birgitta/notebook/__init__.py
telia-oss/birgitta
e4d27465f54a1d4789741e19e15aec726149a735
[ "MIT" ]
8
2019-11-25T16:39:33.000Z
2022-03-31T12:48:54.000Z
birgitta/notebook/__init__.py
telia-oss/birgitta
e4d27465f54a1d4789741e19e15aec726149a735
[ "MIT" ]
218
2019-09-09T11:11:59.000Z
2022-03-08T05:16:40.000Z
birgitta/notebook/__init__.py
telia-oss/birgitta
e4d27465f54a1d4789741e19e15aec726149a735
[ "MIT" ]
4
2020-07-21T15:33:40.000Z
2021-12-22T11:32:45.000Z
"""Functions like `pause()`, `show()` and `die()` to enable debugging libs from within a notebooks, thus also enabling lib sharing in notebook work flows, helping to build production quality code. """ import pyspark def die(): """Manual breakpoint in notebook""" assert False def pause(): raw_input("Pres...
20.289474
74
0.66537
102
771
4.901961
0.598039
0.12
0.072
0.084
0.196
0.196
0.196
0.196
0.196
0
0
0.006678
0.223087
771
37
75
20.837838
0.828047
0.304799
0
0.15
0
0
0.068702
0
0
0
0
0
0.05
1
0.3
false
0
0.05
0
0.45
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
5a97bcdd2fed7114265fcf99ec82ba975adf3654
2,102
py
Python
scripts/som/csv2som.py
pebbie/BIBINT
c00d11c228c8da2ae2a88cd616147da54309ebaa
[ "MIT" ]
1
2022-02-06T17:09:44.000Z
2022-02-06T17:09:44.000Z
scripts/som/csv2som.py
pebbie/BIBINT
c00d11c228c8da2ae2a88cd616147da54309ebaa
[ "MIT" ]
null
null
null
scripts/som/csv2som.py
pebbie/BIBINT
c00d11c228c8da2ae2a88cd616147da54309ebaa
[ "MIT" ]
null
null
null
import os import sys def filter_quote(s): ieee_ns = "http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=" if ieee_ns in s: s = s.replace(ieee_ns, "ieeedoc:") if s.startswith('"'): return s[1:] elif s.endswith('"'): return s[:-1] else: return s def p...
31.373134
98
0.461465
299
2,102
3.143813
0.274247
0.06383
0.051064
0.025532
0.180851
0.180851
0.134043
0.095745
0.048936
0
0
0.017451
0.372978
2,102
67
99
31.373134
0.695751
0
0
0.035714
0
0
0.104612
0
0
0
0
0
0
0
null
null
0
0.035714
null
null
0.053571
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
0
0
0
0
0
1
5ab242108ed5e602b6f11f666d28d10ea644f35e
474
py
Python
demo/serializers.py
kishorehariram/django-logic
955f18211443b30ce39a845495e136d7590183a6
[ "MIT" ]
47
2019-11-23T11:51:04.000Z
2022-03-16T15:37:24.000Z
demo/serializers.py
kishorehariram/django-logic
955f18211443b30ce39a845495e136d7590183a6
[ "MIT" ]
29
2019-11-25T12:16:25.000Z
2021-05-10T13:17:46.000Z
demo/serializers.py
kishorehariram/django-logic
955f18211443b30ce39a845495e136d7590183a6
[ "MIT" ]
6
2019-12-25T11:17:05.000Z
2021-11-23T07:33:33.000Z
from rest_framework import serializers from demo.models import Lock class LockerSerializer(serializers.ModelSerializer): actions = serializers.SerializerMethodField() class Meta: model = Lock fields = ('id', 'actions', 'status') readonly = ('id', 'status') def get_actions(self, ...
27.882353
74
0.668776
47
474
6.638298
0.723404
0
0
0
0
0
0
0
0
0
0
0
0.236287
474
16
75
29.625
0.861878
0
0
0
0
0
0.048523
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0.090909
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5ac439bcba9338642754c97acd8c9081d0475e58
1,582
py
Python
pibrew/__init__.py
MrLeeh/pibrew
a2dc764e1ebfc5945d542e8f3e3b18251223974b
[ "MIT" ]
null
null
null
pibrew/__init__.py
MrLeeh/pibrew
a2dc764e1ebfc5945d542e8f3e3b18251223974b
[ "MIT" ]
null
null
null
pibrew/__init__.py
MrLeeh/pibrew
a2dc764e1ebfc5945d542e8f3e3b18251223974b
[ "MIT" ]
null
null
null
import os import time import threading import logging import arrow from flask import Flask from flask_bootstrap import Bootstrap from flask_socketio import SocketIO from flask_sqlalchemy import SQLAlchemy from flaskext.lesscss import lesscss from config import config logger = logging.getLogger('pibrew') process_data...
25.111111
78
0.731353
197
1,582
5.675127
0.390863
0.0322
0.035778
0.035778
0.055456
0.055456
0
0
0
0
0
0
0.167509
1,582
62
79
25.516129
0.848899
0.060683
0
0
0
0
0.08728
0
0
0
0
0
0
1
0.047619
false
0
0.333333
0
0.404762
0.047619
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
0
0
0
1
5ad72d3f479d6e39a07c54d01833c8ce3e3cfb25
6,106
py
Python
django_backbone/users/viewsets.py
Jordan-Kowal/django-backbone
19d123adf00b3f7d22e6ef75ba6da0fe7b5e00b0
[ "MIT" ]
1
2020-10-05T21:44:18.000Z
2020-10-05T21:44:18.000Z
django_backbone/users/viewsets.py
Jordan-Kowal/django-backbone
19d123adf00b3f7d22e6ef75ba6da0fe7b5e00b0
[ "MIT" ]
null
null
null
django_backbone/users/viewsets.py
Jordan-Kowal/django-backbone
19d123adf00b3f7d22e6ef75ba6da0fe7b5e00b0
[ "MIT" ]
null
null
null
"""Viewsets for the 'users' app""" # Django from rest_framework import mixins from rest_framework.decorators import action from rest_framework.response import Response from rest_framework.status import ( HTTP_201_CREATED, HTTP_202_ACCEPTED, HTTP_204_NO_CONTENT, HTTP_422_UNPROCESSABLE_ENTITY, ) # Perso...
37.691358
94
0.686702
644
6,106
6.27795
0.218944
0.015582
0.035617
0.043532
0.407618
0.393272
0.350482
0.339352
0.339352
0.309671
0
0.007982
0.199803
6,106
161
95
37.925466
0.819484
0.104979
0
0.365079
0
0
0.053624
0.016272
0
0
0
0
0
1
0.055556
false
0.111111
0.095238
0
0.301587
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
0
0
0
1
5ada7badf2343da40a75ac06bf6d1f0277194cb7
1,021
py
Python
volebni_kalkulacka/psp_data/migrations/0012_auto_20210228_0041.py
tmajerech/volebni_kalkulacka
dfe0533d4359806ff8f90bd7aa1c679b4a016d09
[ "MIT" ]
null
null
null
volebni_kalkulacka/psp_data/migrations/0012_auto_20210228_0041.py
tmajerech/volebni_kalkulacka
dfe0533d4359806ff8f90bd7aa1c679b4a016d09
[ "MIT" ]
1
2021-02-12T10:03:31.000Z
2021-02-12T10:03:31.000Z
volebni_kalkulacka/psp_data/migrations/0012_auto_20210228_0041.py
tmajerech/volebni_kalkulacka
dfe0533d4359806ff8f90bd7aa1c679b4a016d09
[ "MIT" ]
null
null
null
# Generated by Django 3.0.12 on 2021-02-27 23:41 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('psp_data', '0011_auto_20210228_0040'), ] operations = [ migrations.AlterField( model_name='tis...
34.033333
159
0.63761
127
1,021
4.897638
0.401575
0.064309
0.090032
0.141479
0.598071
0.598071
0.448553
0.255627
0.255627
0.255627
0
0.040816
0.232125
1,021
29
160
35.206897
0.752551
0.045054
0
0.391304
1
0
0.150051
0.023638
0.043478
0
0
0
0
1
0
false
0
0.086957
0
0.217391
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
0
0
0
0
0
0
1
5adfb69d92a8d6698acc8f586282c6f51acd56f7
1,380
py
Python
root/transitscore_israel.py
transitanalystisarel/TransitAnalystIsrael
341de9272b352c18333ff136a00de0b97cd82216
[ "MIT" ]
null
null
null
root/transitscore_israel.py
transitanalystisarel/TransitAnalystIsrael
341de9272b352c18333ff136a00de0b97cd82216
[ "MIT" ]
null
null
null
root/transitscore_israel.py
transitanalystisarel/TransitAnalystIsrael
341de9272b352c18333ff136a00de0b97cd82216
[ "MIT" ]
3
2019-05-08T04:36:03.000Z
2020-11-23T19:46:52.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # calculate transitscore for every 100m x 100m square in israel. # output raster heatmap for display on map and # output lookup table of results for score display popup on click on map # import transitanalystisrael_config as cfg import process_date import GTFS_transitsc...
36.315789
180
0.805072
204
1,380
5.205882
0.416667
0.112994
0.072505
0.048023
0.388889
0.329567
0.190207
0.190207
0.099812
0.099812
0
0.01371
0.101449
1,380
38
181
36.315789
0.842742
0.274638
0
0.095238
0
0
0.117172
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.238095
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
0
0
0
1
5ae0d5859a07cbebbef9fdb1d02c157430e2908e
2,357
py
Python
tests/test_users.py
martinm82/quickbuild
8b9bc495bb0e6df71044b585df482afdb3c878f7
[ "MIT" ]
null
null
null
tests/test_users.py
martinm82/quickbuild
8b9bc495bb0e6df71044b585df482afdb3c878f7
[ "MIT" ]
null
null
null
tests/test_users.py
martinm82/quickbuild
8b9bc495bb0e6df71044b585df482afdb3c878f7
[ "MIT" ]
null
null
null
import re import responses from quickbuild import QBClient USERS_XML = r"""<?xml version="1.0" encoding="UTF-8"?> <list> <com.pmease.quickbuild.model.User> <id>1</id> <favoriteDashboardIds> <long>1</long> </favoriteDashboardIds> <name>admin</name> <password secret="hash">0DPiKuNIrrVmD8IU...
21.623853
68
0.633008
273
2,357
5.369963
0.190476
0.069577
0.081855
0.098226
0.787858
0.636426
0.613233
0.530014
0.530014
0.500682
0
0.015368
0.199406
2,357
108
69
21.824074
0.761526
0
1
0.559524
0
0
0.375902
0.153585
0
0
0
0
0.083333
1
0.071429
false
0.02381
0.035714
0
0.107143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5ae2dea5471b6aa7c40a36214cee1010d248d3f6
356
py
Python
torabot/mods/gist/test/test_spy.py
Answeror/torabot
b6260190ec1f0dc8bf3f7ba3512c0522668c59ed
[ "MIT" ]
42
2015-01-20T10:45:08.000Z
2021-04-17T05:10:27.000Z
torabot/mods/gist/test/test_spy.py
Answeror/torabot
b6260190ec1f0dc8bf3f7ba3512c0522668c59ed
[ "MIT" ]
4
2015-01-23T05:40:44.000Z
2016-12-19T03:52:20.000Z
torabot/mods/gist/test/test_spy.py
Answeror/torabot
b6260190ec1f0dc8bf3f7ba3512c0522668c59ed
[ "MIT" ]
8
2015-05-07T03:51:05.000Z
2019-03-20T05:40:47.000Z
import json from nose.tools import assert_greater from .... import make from ...ut import need_scrapyd from .. import Gist @need_scrapyd def test_spy_id(): app = make() with app.app_context(): d = Gist.instance.spy(json.dumps(dict(method='id', id='5566446')), 60) assert_greater(len(d.files), 0...
23.733333
78
0.668539
54
356
4.277778
0.555556
0.112554
0.060606
0
0
0
0
0
0
0
0
0.038328
0.19382
356
14
79
25.428571
0.766551
0
0
0
0
0
0.025281
0
0
0
0
0
0.25
1
0.083333
false
0
0.416667
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
0
0
1
0
0
0
0
1
5ae461acab5050a54d387c2697a12d0a2b2aace7
2,278
py
Python
boxpython/auth.py
wesleyfr/boxpython
f00a8ada6dff2c7ffc88bf89d4e15965c5adb422
[ "MIT" ]
10
2015-01-20T23:46:14.000Z
2021-01-21T10:08:19.000Z
boxpython/auth.py
wesleyfr/boxpython
f00a8ada6dff2c7ffc88bf89d4e15965c5adb422
[ "MIT" ]
null
null
null
boxpython/auth.py
wesleyfr/boxpython
f00a8ada6dff2c7ffc88bf89d4e15965c5adb422
[ "MIT" ]
7
2015-01-10T02:16:41.000Z
2021-01-21T10:08:24.000Z
from .request import BoxRestRequest from .exceptions import BoxError, BoxHttpResponseError class BoxAuthenticateFlow(object): """From the Client ID and Client Secret from Box, get the Access Token and the Refresh Token. Usage: >>> flow = BoxAuthenticateFlow('my_id', 'my_secret') >>> url = flo...
34.515152
193
0.654522
270
2,278
5.337037
0.311111
0.038862
0.052741
0.023595
0.091603
0.091603
0.091603
0.048577
0
0
0
0.003595
0.26734
2,278
65
194
35.046154
0.859796
0
0
0
0
0
0.028377
0
0
0
0
0
0
0
null
null
0
0.111111
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
0
0
0
0
0
0
1
5ae509046bb02507bc60fd99494fd9a3c4b3164c
662
py
Python
Examples/PagesOperations/RotatePages.py
groupdocs-merger-cloud/groupdocs-merger-cloud-python-samples
af736c94240eeefef28bd81012c96ab2ea779088
[ "MIT" ]
null
null
null
Examples/PagesOperations/RotatePages.py
groupdocs-merger-cloud/groupdocs-merger-cloud-python-samples
af736c94240eeefef28bd81012c96ab2ea779088
[ "MIT" ]
null
null
null
Examples/PagesOperations/RotatePages.py
groupdocs-merger-cloud/groupdocs-merger-cloud-python-samples
af736c94240eeefef28bd81012c96ab2ea779088
[ "MIT" ]
null
null
null
# Import modules import groupdocs_merger_cloud from Common import Common # This example demonstrates how to rotate document pages class RotatePages: @classmethod def Run(cls): pagesApi = groupdocs_merger_cloud.PagesApi.from_config(Common.GetConfig()) options = groupdocs_merger_cloud.RotateOp...
34.842105
82
0.716012
77
662
5.987013
0.519481
0.16269
0.21692
0
0
0
0
0
0
0
0
0.007505
0.194864
662
19
83
34.842105
0.857411
0.10423
0
0
0
0
0.113367
0.038917
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.307692
0.076923
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
0
0
1
5ae7331f0fbc5dc797e5819cc285104e4eae0ba1
6,476
py
Python
migrations/0001_initial.py
BartoszMakowski/MZK_Manager
266bc816539611721c0e9cfacb461f5483e9b0f1
[ "MIT" ]
null
null
null
migrations/0001_initial.py
BartoszMakowski/MZK_Manager
266bc816539611721c0e9cfacb461f5483e9b0f1
[ "MIT" ]
null
null
null
migrations/0001_initial.py
BartoszMakowski/MZK_Manager
266bc816539611721c0e9cfacb461f5483e9b0f1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2016-12-18 21:26 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Autobu...
38.778443
114
0.503552
517
6,476
6.158607
0.232108
0.122487
0.118719
0.158291
0.613065
0.489008
0.438756
0.41206
0.41206
0.38505
0
0.017349
0.359172
6,476
166
115
39.012048
0.74988
0.0105
0
0.588608
1
0
0.125215
0
0
0
0
0
0
1
0
false
0
0.012658
0
0.037975
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
0
0
0
0
0
0
1
5ae9212e596d7fe571759246e00df2bf7953ad4e
1,000
py
Python
vendor/views/sign_up_views.py
hossainchisty/Multi-Vendor-eCommerce
42c5f62b8b098255cc9ea57858d3cc7de94bd76a
[ "MIT" ]
16
2021-09-22T19:08:28.000Z
2022-03-18T18:57:02.000Z
vendor/views/sign_up_views.py
hossainchisty/Multi-Vendor-eCommerce
42c5f62b8b098255cc9ea57858d3cc7de94bd76a
[ "MIT" ]
6
2021-09-30T12:36:02.000Z
2022-03-18T22:18:00.000Z
vendor/views/sign_up_views.py
hossainchisty/Multi-Vendor-eCommerce
42c5f62b8b098255cc9ea57858d3cc7de94bd76a
[ "MIT" ]
6
2021-12-06T02:04:51.000Z
2022-03-13T14:38:14.000Z
from django.contrib import messages from django.contrib.auth import authenticate, login from django.shortcuts import redirect, render from vendor.forms import VendorSignUpForm from vendor.utils import service def VendorSignUpView(request): ''' Sign up a new vendor ''' if request.method == 'POST': ...
40
112
0.647
113
1,000
5.663717
0.495575
0.046875
0.053125
0.06875
0
0
0
0
0
0
0
0.001337
0.252
1,000
24
113
41.666667
0.854278
0.02
0
0
0
0
0.141573
0.030337
0
0
0
0
0
1
0.055556
false
0.055556
0.277778
0
0.444444
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
0
0
0
1
5afbfa7abdd306d91cf84c49ac7098735381944f
3,358
py
Python
sdk/python/pulumi_aws/cloudwatch/log_metric_filter.py
pulumi-bot/pulumi-aws
756c60135851e015232043c8206567101b8ebd85
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/cloudwatch/log_metric_filter.py
pulumi-bot/pulumi-aws
756c60135851e015232043c8206567101b8ebd85
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/cloudwatch/log_metric_filter.py
pulumi-bot/pulumi-aws
756c60135851e015232043c8206567101b8ebd85
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import pulumi import pulumi.runtime class LogMetricFilter(pulumi.CustomResource): """ Provides a CloudWatch Log Metric Filter ...
43.051282
144
0.662597
373
3,358
5.654156
0.319035
0.037933
0.051209
0.060692
0.188715
0.092935
0.046468
0
0
0
0
0.000402
0.259083
3,358
77
145
43.61039
0.847267
0.092317
0
0
1
0
0.256127
0.035948
0
0
0
0
0
1
0.042553
false
0
0.042553
0
0.106383
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
0
0
0
0
0
0
1
850fce29466c2db40b4b4ee8ea73ff34e47e423f
3,112
py
Python
test.py
hydrargyrum/mdsaw
89552627bbf3c1a88e5bc1c3a91821514427649c
[ "Unlicense" ]
2
2021-06-04T21:31:39.000Z
2021-11-14T21:37:27.000Z
test.py
hydrargyrum/mdsaw
89552627bbf3c1a88e5bc1c3a91821514427649c
[ "Unlicense" ]
null
null
null
test.py
hydrargyrum/mdsaw
89552627bbf3c1a88e5bc1c3a91821514427649c
[ "Unlicense" ]
null
null
null
#!/usr/bin/env -S python3 -m pytest from subprocess import check_call, CalledProcessError from tempfile import mkdtemp from textwrap import dedent from pathlib import Path import pytest def literal(text): return dedent(text).lstrip() @pytest.fixture def indir(tmp_path): ret = tmp_path / 'in' ret.mkdir() retur...
14.018018
68
0.595758
444
3,112
4.027027
0.168919
0.08557
0.027964
0.022371
0.59396
0.512864
0.48434
0.456376
0.371365
0.362416
0
0.020562
0.234255
3,112
221
69
14.081448
0.729752
0.010925
0
0.784431
0
0
0.254144
0
0
0
0
0
0.011976
1
0.08982
false
0
0.02994
0.005988
0.137725
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8510a86509402e01756a2e4d907c4c03c55ea5dc
3,554
py
Python
tests/unit_tests/test_custom_shorty/test_custom.py
andrewpap22/URL-Shortener_Rest-API
7c3d8aec65b80624367c45b60a0be47b6a986f21
[ "MIT" ]
null
null
null
tests/unit_tests/test_custom_shorty/test_custom.py
andrewpap22/URL-Shortener_Rest-API
7c3d8aec65b80624367c45b60a0be47b6a986f21
[ "MIT" ]
null
null
null
tests/unit_tests/test_custom_shorty/test_custom.py
andrewpap22/URL-Shortener_Rest-API
7c3d8aec65b80624367c45b60a0be47b6a986f21
[ "MIT" ]
null
null
null
from shorty.custom_shorty.custom import * VALID_URL = "https://www.google.com/" LONG_LONG_URL = "https://www.google.com/search?sxsrf=ALeKk01JjGA_6Q04PsNvryb_0l9huxt0sA%3A1606314212324&source=hp&ei=5Gi-X4yaEJKTjLsPrvSQmAE&q=qewrty&oq=qewrty&gs_lcp=CgZwc3ktYWIQAzIHCAAQyQMQCjIECAAQCjIECAAQCjIECAAQCjIECAAQCjIECAAQCjIECAA...
27.984252
561
0.570625
361
3,554
5.437673
0.285319
0.032094
0.040754
0.065206
0.338767
0.249109
0.235354
0.160469
0.078451
0
0
0.015097
0.142656
3,554
127
562
27.984252
0.629143
0.323016
0
0.257143
0
0.028571
0.37931
0.014269
0
0
0
0
0.257143
1
0.257143
false
0
0.028571
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
0
0
0
1
0
0
0
0
0
0
0
1