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
59377f19b3e41effaf36fec1b4bf97b9e7546ab8
2,084
py
Python
finance/serializers.py
mwinamijr/school-management-system-backend
7ec0ab674f524964214fc0abc39cef752eff4f9b
[ "MIT" ]
null
null
null
finance/serializers.py
mwinamijr/school-management-system-backend
7ec0ab674f524964214fc0abc39cef752eff4f9b
[ "MIT" ]
4
2021-06-05T00:11:13.000Z
2022-01-13T03:47:17.000Z
finance/serializers.py
mwinamijr/school-management-system-backend
7ec0ab674f524964214fc0abc39cef752eff4f9b
[ "MIT" ]
1
2021-04-20T18:05:56.000Z
2021-04-20T18:05:56.000Z
from rest_framework import serializers from .models import * from sis.serializers import StudentSerializer from users.serializers import AccountantSerializer class AllocationSerializer(serializers.ModelSerializer): class Meta: model = Allocation fields = "__all__" class PaymentAllocationSeri...
30.202899
75
0.698656
214
2,084
6.546729
0.21028
0.06995
0.12848
0.142755
0.628123
0.539615
0.539615
0.539615
0.539615
0.539615
0
0
0.225048
2,084
68
76
30.647059
0.867492
0
0
0.64
0
0
0.026417
0
0
0
0
0
0
1
0.1
false
0
0.08
0
0.54
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
5938f4b1f9d76972ff03f6d5a921a4388eb9516c
644
py
Python
addons/restfulapi/routes.py
rdm-dev12/RDM-osf.io
14d9a924b8c6bc7d79fd34b87830ffa29acafed1
[ "Apache-2.0" ]
null
null
null
addons/restfulapi/routes.py
rdm-dev12/RDM-osf.io
14d9a924b8c6bc7d79fd34b87830ffa29acafed1
[ "Apache-2.0" ]
20
2020-03-24T16:48:03.000Z
2022-03-08T22:38:38.000Z
addons/restfulapi/routes.py
rdm-dev12/RDM-osf.io
14d9a924b8c6bc7d79fd34b87830ffa29acafed1
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Routes for the restfulapi addon. """ from framework.routing import Rule, json_renderer from . import views widget_routes = { 'rules': [ Rule( [ '/project/<pid>/restfulapi/download/' ], 'post', views.restfulapi_dow...
17.888889
53
0.453416
52
644
5.480769
0.5
0.126316
0.098246
0.168421
0
0
0
0
0
0
0
0.007853
0.406832
644
35
54
18.4
0.73822
0.085404
0
0.407407
0
0
0.192771
0.11704
0
0
0
0
0
1
0
false
0
0.074074
0
0.074074
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
593e58f222d4d09472523a185655ae10c5c007ef
943
py
Python
codes/poop/strategy/mini_duck_simulator.py
cassiobotaro/go_slides
1e9bedff22acc78a39cc054c0de432ef80c2df7b
[ "MIT" ]
2
2019-02-27T14:45:39.000Z
2021-09-27T03:46:20.000Z
codes/poop/strategy/mini_duck_simulator.py
cassiobotaro/go_slides
1e9bedff22acc78a39cc054c0de432ef80c2df7b
[ "MIT" ]
null
null
null
codes/poop/strategy/mini_duck_simulator.py
cassiobotaro/go_slides
1e9bedff22acc78a39cc054c0de432ef80c2df7b
[ "MIT" ]
2
2017-04-13T14:42:31.000Z
2021-09-27T03:46:22.000Z
from duck import DecoyDuck, MallardDuck, ModelDuck, RubberDuck from fly_behavior import FlyRocketPowered if __name__ == "__main__": # Cria instâncias de patos print("Mallard duck") mallard = MallardDuck() mallard.perform_quack() mallard.perform_fly() print("Rubber duck") rubber = RubberDuc...
25.486486
62
0.670201
111
943
5.513514
0.459459
0.081699
0.073529
0
0
0
0
0
0
0
0
0
0.231177
943
36
63
26.194444
0.844138
0.178155
0
0.08
0
0
0.088542
0
0
0
0
0.027778
0
1
0
false
0
0.08
0
0.08
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5940ab45cc4453f6b9eab1f66744f23145c2ac9d
665
py
Python
Real_Estate/Configs/app_config.py
Divya-Madhuri/ppty_mgmnt
c57c2dbdb5ecc224b825e8e084c228085d6ff5e7
[ "MIT" ]
null
null
null
Real_Estate/Configs/app_config.py
Divya-Madhuri/ppty_mgmnt
c57c2dbdb5ecc224b825e8e084c228085d6ff5e7
[ "MIT" ]
10
2018-07-11T08:59:26.000Z
2018-11-11T07:47:07.000Z
Real_Estate/Configs/app_config.py
Divya-Madhuri/ppty_mgmnt
c57c2dbdb5ecc224b825e8e084c228085d6ff5e7
[ "MIT" ]
null
null
null
from flask import Flask from flask_sqlalchemy import SQLAlchemy from sqlalchemy import event from sqlalchemy.engine import Engine from sqlite3 import Connection as SQLite3Connection app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////Users/divyamadhuri/Documents/Python/ppty_mgmnt/Real_Estate/RES...
31.666667
120
0.780451
82
665
6.097561
0.560976
0.09
0
0
0
0
0
0
0
0
0
0.005146
0.123308
665
21
121
31.666667
0.852487
0
0
0
0
0
0.231231
0.151652
0
0
0
0
0
1
0.066667
false
0
0.333333
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
594747cf430ecccecbf495a098973725806200f2
3,607
py
Python
standalone/markdownPostgresArchive/MDArchive.py
ronnieHoover/CSC440WikiWiki
749006427ce6f38060bb2ebbd24c061b37a2a9e8
[ "BSD-3-Clause" ]
null
null
null
standalone/markdownPostgresArchive/MDArchive.py
ronnieHoover/CSC440WikiWiki
749006427ce6f38060bb2ebbd24c061b37a2a9e8
[ "BSD-3-Clause" ]
null
null
null
standalone/markdownPostgresArchive/MDArchive.py
ronnieHoover/CSC440WikiWiki
749006427ce6f38060bb2ebbd24c061b37a2a9e8
[ "BSD-3-Clause" ]
null
null
null
import argparse from ArchivePage import ArchivePage from DisplayHistory import displayHistoryConsole, displayHistoryContents from RestorePage import RestorePage from ArchiveDatabaseConnection import ArchiveDatabaseConnection """ Dev: Ryan Guard (Guardr2) Takes user input for either storing markdown files into a data...
55.492308
181
0.612143
421
3,607
5.178147
0.315914
0.024771
0.046789
0.014679
0.214679
0.177064
0.125688
0.089908
0.089908
0.089908
0
0.000406
0.316884
3,607
65
182
55.492308
0.884334
0
0
0.277778
0
0.018519
0.442753
0
0
0
0
0
0
0
null
null
0
0.092593
null
null
0.185185
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
5950de67d0031a1bce816ad4b37b150148af9ae0
36,742
py
Python
neptune/new/exceptions.py
jpauwels/neptune-client
9b177fe53fdcd5c30b6f2e90cef8b05c79af5c5b
[ "Apache-2.0" ]
1
2022-02-16T08:16:28.000Z
2022-02-16T08:16:28.000Z
neptune/new/exceptions.py
jpauwels/neptune-client
9b177fe53fdcd5c30b6f2e90cef8b05c79af5c5b
[ "Apache-2.0" ]
null
null
null
neptune/new/exceptions.py
jpauwels/neptune-client
9b177fe53fdcd5c30b6f2e90cef8b05c79af5c5b
[ "Apache-2.0" ]
null
null
null
# # Copyright (c) 2020, Neptune Labs Sp. z o.o. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
35.951076
183
0.677372
4,337
36,742
5.571824
0.134655
0.029423
0.043037
0.048417
0.541196
0.514629
0.462818
0.449576
0.439644
0.429588
0
0.001934
0.169642
36,742
1,021
184
35.986288
0.790128
0.019025
0
0.513444
0
0.081946
0.623036
0.143107
0
0
0
0
0
1
0.069142
false
0.010243
0.015365
0.002561
0.165173
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3cb9492072f9e40d84f0bc03bade4018c5526e3e
9,639
py
Python
libs/android.py
Igorxp5/whatsapp-insights
cd53fa9cc29f3defef6f6cf66d7d8fb93cf82db0
[ "MIT" ]
2
2021-09-27T22:09:44.000Z
2021-12-17T06:23:31.000Z
libs/android.py
Igorxp5/whatsapp-insights
cd53fa9cc29f3defef6f6cf66d7d8fb93cf82db0
[ "MIT" ]
1
2022-03-18T09:38:31.000Z
2022-03-20T04:30:14.000Z
libs/android.py
Igorxp5/whatsapp-insights
cd53fa9cc29f3defef6f6cf66d7d8fb93cf82db0
[ "MIT" ]
3
2021-09-16T16:36:10.000Z
2021-09-27T22:09:22.000Z
import re import os import io import time import shlex import logging import tempfile import subprocess from PIL import Image from lxml import etree class WaitforTimeout(RuntimeError): pass class CouldNotDumpScreen(RuntimeError): pass class NotReachedToActivityError(RuntimeError): def __init__(self, ...
33.585366
125
0.579002
1,144
9,639
4.766608
0.213287
0.026407
0.023107
0.018339
0.162663
0.103613
0.078856
0.033009
0.033009
0.033009
0
0.011894
0.284781
9,639
286
126
33.702797
0.779083
0.001764
0
0.13964
0
0
0.112266
0.019647
0
0
0
0
0
1
0.216216
false
0.009009
0.045045
0.045045
0.405405
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
3cb9a2ba5e6e2a278ac23508e4494e4b1ae4bf20
260
py
Python
Numbers/from e to the nth digit/e.py
Shetty073/Solutions-for-Mega-Project-List
03325b05d35c3cd507816536b906f5351af97477
[ "MIT" ]
null
null
null
Numbers/from e to the nth digit/e.py
Shetty073/Solutions-for-Mega-Project-List
03325b05d35c3cd507816536b906f5351af97477
[ "MIT" ]
null
null
null
Numbers/from e to the nth digit/e.py
Shetty073/Solutions-for-Mega-Project-List
03325b05d35c3cd507816536b906f5351af97477
[ "MIT" ]
null
null
null
from math import e def pi_dec(n): if n > 15 or n < 1: print("\nPlease provide a valid number in range of 1 to 15...") else: print(f"E = {str(e)[0:n+2]}") pi_dec(n=int(input("\nUp to how many decimal places do you want the value of 'e'? \n> ")))
28.888889
90
0.607692
54
260
2.888889
0.722222
0.064103
0.076923
0
0
0
0
0
0
0
0
0.039801
0.226923
260
9
90
28.888889
0.736318
0
0
0
0
0
0.549407
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0.285714
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
3cbdb88c6734daf3094804657b0823d3167e4d63
819
py
Python
soluciones/df_concatenar.py
carlosviveros/Soluciones
115f4fa929c7854ca497e4c994352adc64565456
[ "MIT" ]
1
2022-02-02T04:44:56.000Z
2022-02-02T04:44:56.000Z
soluciones/df_concatenar.py
leugimkm/Soluciones
d71601c8d9b5e86e926f48d9e49462af8a956b6d
[ "MIT" ]
null
null
null
soluciones/df_concatenar.py
leugimkm/Soluciones
d71601c8d9b5e86e926f48d9e49462af8a956b6d
[ "MIT" ]
null
null
null
"""AyudaEnPython: https://www.facebook.com/groups/ayudapython TODO: add docstring and tests. """ import pandas as pd from prototools import retrieve_argname, tabulate, red HEADERS = ["Source", "A", "B", "C"] source_1 = pd.DataFrame( { "A": [1, 2, 3], "B": [4, 5, 6], "C": [7, 8, 9] } )...
19.5
61
0.57265
111
819
4.144144
0.603604
0.017391
0.052174
0
0
0
0
0
0
0
0
0.050162
0.245421
819
42
62
19.5
0.694175
0.10989
0
0
0
0
0.055325
0
0
0
0
0.02381
0
1
0.03125
false
0
0.0625
0
0.125
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
3cd475b4308fc7165bba223740ada04c5002498f
562
py
Python
usaspending_api/awards/migrations/0059_award_potential_total_value_of_award.py
toolness/usaspending-api
ed9a396e20a52749f01f43494763903cc371f9c2
[ "CC0-1.0" ]
1
2021-06-17T05:09:00.000Z
2021-06-17T05:09:00.000Z
usaspending_api/awards/migrations/0059_award_potential_total_value_of_award.py
toolness/usaspending-api
ed9a396e20a52749f01f43494763903cc371f9c2
[ "CC0-1.0" ]
null
null
null
usaspending_api/awards/migrations/0059_award_potential_total_value_of_award.py
toolness/usaspending-api
ed9a396e20a52749f01f43494763903cc371f9c2
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2017-02-06 20:53 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('awards', '0058_auto_20170206_2032'), ] operations = [ migrations.AddField( ...
26.761905
141
0.660142
68
562
5.220588
0.735294
0.073239
0.101408
0.129577
0.169014
0.169014
0
0
0
0
0
0.082949
0.227758
562
20
142
28.1
0.735023
0.120996
0
0
1
0
0.191446
0.107943
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
3cd59d6a84b4400d7ee79b46826c4937d0e07a7c
3,936
py
Python
checkallupdates.py
zjibben/checkallupdates
cb74f890267d3772bd030d6d82a8adefcef950c1
[ "0BSD" ]
null
null
null
checkallupdates.py
zjibben/checkallupdates
cb74f890267d3772bd030d6d82a8adefcef950c1
[ "0BSD" ]
null
null
null
checkallupdates.py
zjibben/checkallupdates
cb74f890267d3772bd030d6d82a8adefcef950c1
[ "0BSD" ]
null
null
null
#!/usr/bin/env python3 # checkallupdates # Returns a nice formatted list of available Arch updates similar to the one provided by yaourt, # but without the need for admin rights. # # TODO: * netup size doesn't work without updating the repos with pacman -Sy. how to get the # size of the new version? # # depend...
41.431579
98
0.70122
558
3,936
4.870968
0.374552
0.033113
0.036792
0.038263
0.165563
0.133922
0.109639
0.109639
0.069904
0.036792
0
0.00559
0.181911
3,936
94
99
41.87234
0.838509
0.382622
0
0.125
0
0
0.104671
0
0
0
0
0.010638
0
1
0.083333
false
0
0.020833
0.041667
0.166667
0.0625
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
3cda3257552a9771675b2f7068dc893925240c3f
437
py
Python
cloudshell/huawei/wdm/cli/huawei_command_modes.py
QualiSystems/cloudshell-huawei-wdm
be359a6bc81fd1644e3cb2a619b7c296a17a2e68
[ "Apache-2.0" ]
null
null
null
cloudshell/huawei/wdm/cli/huawei_command_modes.py
QualiSystems/cloudshell-huawei-wdm
be359a6bc81fd1644e3cb2a619b7c296a17a2e68
[ "Apache-2.0" ]
1
2021-04-11T18:57:18.000Z
2021-04-11T18:57:18.000Z
cloudshell/huawei/wdm/cli/huawei_command_modes.py
QualiSystems/cloudshell-huawei-wdm
be359a6bc81fd1644e3cb2a619b7c296a17a2e68
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- from cloudshell.cli.service.command_mode import CommandMode from cloudshell.huawei.cli.huawei_command_modes import ( ConfigCommandMode, EnableCommandMode, ) class WDMEnableCommandMode(EnableCommandMode): pass class WDMConfigCommandMode(ConfigCommandMode): E...
21.85
73
0.775744
41
437
8.146341
0.682927
0.083832
0
0
0
0
0
0
0
0
0
0.002611
0.12357
437
19
74
23
0.869452
0.086957
0
0
0
0
0.057935
0
0
0
0
0
0
1
0
false
0.1
0.2
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
1
0
0
0
0
0
1
3cdbaf981e49b404a5dbb180882ca32b9c724ccb
4,138
py
Python
Tic-Tac-Toe.py
HrithikMehdiratta/Introduction-to-Python-
500ae8fd21968f87b461797d26b82492d7a4e614
[ "MIT" ]
null
null
null
Tic-Tac-Toe.py
HrithikMehdiratta/Introduction-to-Python-
500ae8fd21968f87b461797d26b82492d7a4e614
[ "MIT" ]
null
null
null
Tic-Tac-Toe.py
HrithikMehdiratta/Introduction-to-Python-
500ae8fd21968f87b461797d26b82492d7a4e614
[ "MIT" ]
null
null
null
#Milestone Project- 1 #Tic-Tac-Toe from IPython.display import clear_output def display_board(board): clear_output() print(board[1]+' | '+board[2]+' | '+board[3]) print('-----------------') print(board[4]+' | '+board[5]+' | '+board[6]) print('-----------------') print...
22.988889
312
0.406477
403
4,138
4.101737
0.235732
0.033878
0.046582
0.021779
0.273442
0.249244
0.187538
0.116152
0.073805
0.073805
0
0.028959
0.465926
4,138
179
313
23.117318
0.719005
0.007733
0
0.268817
0
0
0.117767
0
0
0
0
0
0
0
null
null
0
0.021505
null
null
0.139785
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
3cdeff722b2e76bba79397409fd90d3ae0fb7abc
1,671
py
Python
applications/bestbukpl/controllers/proby.py
lechu87/bbuk
34934040f70a6d3e6d15d7659411c6398732fb58
[ "BSD-3-Clause" ]
null
null
null
applications/bestbukpl/controllers/proby.py
lechu87/bbuk
34934040f70a6d3e6d15d7659411c6398732fb58
[ "BSD-3-Clause" ]
null
null
null
applications/bestbukpl/controllers/proby.py
lechu87/bbuk
34934040f70a6d3e6d15d7659411c6398732fb58
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # spróbój czegos takiego jak def index(): return dict() def kupon(): if not session.ids: session.ids=[] else: session.ids.append(2) return request.vars.text_value def testFunction(a): if not request.vars.a: request.vars.a=123 session.id=request.vars....
22.581081
66
0.617594
240
1,671
4.233333
0.275
0.205709
0.124016
0.137795
0.208661
0.208661
0.208661
0.208661
0.141732
0.141732
0
0.017309
0.239378
1,671
73
67
22.890411
0.782061
0.059844
0
0.237288
0
0
0.052363
0.034483
0
0
0
0
0
1
0.186441
false
0
0
0.067797
0.355932
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
3ce8e60c659d056907c36fae6a378e2bc1a1124a
433
py
Python
app/__init__.py
Bloomca/weather-cli
34390aacb91fc41ca2e6a76fbe1925fb62859efd
[ "MIT" ]
2
2018-05-26T12:03:49.000Z
2018-05-26T20:57:49.000Z
app/__init__.py
Bloomca/weather-cli
34390aacb91fc41ca2e6a76fbe1925fb62859efd
[ "MIT" ]
null
null
null
app/__init__.py
Bloomca/weather-cli
34390aacb91fc41ca2e6a76fbe1925fb62859efd
[ "MIT" ]
2
2018-05-26T12:03:34.000Z
2018-12-24T01:07:33.000Z
from .settings import check_keys from .geo import load_geocodes from .input import get_city, choose_resource from .forecast import load_forecast from .render import print_current_weather def get_city_data(): city = get_city() geocodes = load_geocodes(city) resources = geocodes['resourceSets'][0]['resources'] c...
33.307692
54
0.803695
58
433
5.706897
0.413793
0.063444
0.114804
0
0
0
0
0
0
0
0
0.002618
0.117783
433
13
55
33.307692
0.863874
0
0
0
0
0
0.048387
0
0
0
0
0
0
1
0.083333
false
0
0.416667
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
0
0
0
1
0
0
0
0
1
3ced7e22fff00d5e36e7b2cc407c632780607285
7,448
py
Python
src/isle/random.py
chelseajohn/isle
f610b55a1e8b6d2584896eb649092b0524cc1f8c
[ "MIT" ]
2
2021-01-14T17:47:01.000Z
2021-07-16T22:31:25.000Z
src/isle/random.py
chelseajohn/isle
f610b55a1e8b6d2584896eb649092b0524cc1f8c
[ "MIT" ]
21
2018-06-04T07:09:02.000Z
2020-12-11T09:37:08.000Z
src/isle/random.py
chelseajohn/isle
f610b55a1e8b6d2584896eb649092b0524cc1f8c
[ "MIT" ]
3
2021-01-18T19:18:29.000Z
2021-03-26T03:27:15.000Z
"""! Utilities for random number generators. See isle.random.RNGWrapper for the common interface of wrappers. """ from abc import ABC, abstractmethod import numpy as np class RNGWrapper(ABC): """! Base for all RNG wrappers. """ @property def NAME(self): """!Unique name of the RNG.""" ...
36.509804
99
0.594656
992
7,448
4.445565
0.219758
0.012472
0.013605
0.00907
0.643764
0.643764
0.62585
0.59093
0.576644
0.576644
0
0.010774
0.314581
7,448
203
100
36.689655
0.852693
0.52014
0
0.285714
0
0
0.06544
0
0
0
0
0
0.011905
1
0.190476
false
0.071429
0.02381
0
0.321429
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
3cf7ecfee51f56b8ca8a19f00cdabaee23501b1e
2,140
py
Python
Project/Backend/MainFlaskApp.py
iamczar/YourFinancialReportCard
6081384c093d7263637266db63194ab24d92806a
[ "BSD-2-Clause" ]
2
2021-01-12T15:01:35.000Z
2021-01-12T15:01:39.000Z
Project/Backend/MainFlaskApp.py
iamczar/YourFinancialReportCard
6081384c093d7263637266db63194ab24d92806a
[ "BSD-2-Clause" ]
null
null
null
Project/Backend/MainFlaskApp.py
iamczar/YourFinancialReportCard
6081384c093d7263637266db63194ab24d92806a
[ "BSD-2-Clause" ]
null
null
null
import os from werkzeug.utils import secure_filename from flask import Flask, flash, request, redirect, render_template app = Flask(__name__) app.secret_key = "secret key" #It will allow below 16MB contents only, you can change it app.config['MAX_CONTENT_LENGTH'] = 16 * 1024 * 1024 path_to_bankstatement = "../BankS...
28.157895
87
0.680841
280
2,140
5.053571
0.371429
0.039576
0.050883
0.029682
0.139929
0.055124
0.055124
0
0
0
0
0.013552
0.17243
2,140
75
88
28.533333
0.785432
0.200935
0
0.046512
0
0
0.180588
0.044118
0
0
0
0
0
1
0.162791
false
0
0.069767
0.139535
0.418605
0.023256
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
3cfc6b43f5ef7f3fe33585f292ba7c67441a7b73
2,882
py
Python
scrapydm/scrapydm/spiders/douban.py
gitduk/web_craw
0d3d5c3de91bb1a1c83845464b7279069d5a66f5
[ "MIT" ]
null
null
null
scrapydm/scrapydm/spiders/douban.py
gitduk/web_craw
0d3d5c3de91bb1a1c83845464b7279069d5a66f5
[ "MIT" ]
null
null
null
scrapydm/scrapydm/spiders/douban.py
gitduk/web_craw
0d3d5c3de91bb1a1c83845464b7279069d5a66f5
[ "MIT" ]
2
2021-04-30T06:14:59.000Z
2022-01-20T07:16:14.000Z
import scrapy headers = """ Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Encoding: gzip, deflate, br Accept-Language: zh-CN,zh;q=0.9,en;q=0.8 Cache-Control: max-age=0 Connection: keep-alive Host: movie.douban.com ...
45.03125
910
0.682859
412
2,882
4.669903
0.51699
0.005198
0.004678
0.018711
0.074844
0.057173
0.057173
0.057173
0.057173
0.057173
0
0.186601
0.155795
2,882
63
911
45.746032
0.604192
0.007981
0
0
0
0.130435
0.627581
0.362618
0
0
0
0
0
1
0.086957
false
0
0.021739
0
0.152174
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a705227215859b9eb720eef95e9470615fae58bc
3,871
py
Python
FictionTools/amitools/test/unit/astructs_astruct.py
polluks/Puddle-BuildTools
c1762d53a33002b62d8cffe3db129505a387bec3
[ "BSD-2-Clause" ]
38
2021-06-18T12:56:15.000Z
2022-03-12T20:38:40.000Z
FictionTools/amitools/test/unit/astructs_astruct.py
polluks/Puddle-BuildTools
c1762d53a33002b62d8cffe3db129505a387bec3
[ "BSD-2-Clause" ]
2
2021-06-20T16:28:12.000Z
2021-11-17T21:33:56.000Z
FictionTools/amitools/test/unit/astructs_astruct.py
polluks/Puddle-BuildTools
c1762d53a33002b62d8cffe3db129505a387bec3
[ "BSD-2-Clause" ]
6
2021-06-18T18:18:36.000Z
2021-12-22T08:01:32.000Z
from amitools.vamos.machine import MockMemory from amitools.vamos.astructs import AmigaStruct, AmigaStructDef, BAddr @AmigaStructDef class MyStruct(AmigaStruct): _format = [ ("WORD", "ms_Word"), ("UWORD", "ms_Pad"), ("BPTR", "ms_SegList"), ("LONG", "ms_StackSize"), ] @AmigaSt...
32.529412
82
0.665461
563
3,871
4.261101
0.165187
0.052522
0.029179
0.035015
0.404335
0.370988
0.259275
0.217591
0.186744
0.153397
0
0.040571
0.204082
3,871
118
83
32.805085
0.738072
0.073624
0
0.147727
0
0
0.107433
0.015428
0
0
0.014025
0
0.409091
1
0.034091
false
0
0.022727
0
0.102273
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
a70fd59f61c87049ceec984136eaff12df8d6e1e
427
py
Python
robotuniversity/python3professor.py
diegofps/robot_university
0d9b2bba6dd121f580db644be22cfad1ac7fffb3
[ "Apache-2.0" ]
null
null
null
robotuniversity/python3professor.py
diegofps/robot_university
0d9b2bba6dd121f580db644be22cfad1ac7fffb3
[ "Apache-2.0" ]
null
null
null
robotuniversity/python3professor.py
diegofps/robot_university
0d9b2bba6dd121f580db644be22cfad1ac7fffb3
[ "Apache-2.0" ]
null
null
null
from .baseprofessor import BaseProfessor class Python3Professor(BaseProfessor): def __init__(self, exercise): if exercise.image_name is None: exercise.image_name = "python3image:v0" super().__init__("Python3Professor", exercise) def run(self, ex, ch): ch.retur...
32.846154
122
0.660422
47
427
5.765957
0.617021
0.095941
0.125461
0
0
0
0
0
0
0
0
0.015152
0.227166
427
12
123
35.583333
0.806061
0
0
0
0
0
0.093677
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
a717b92edd122daac2a9743e7e31dd7ac80d38e5
795
py
Python
cec-chromecast.py
cape37/Cec-Chromecast
9653cfb411103ddda5368194b9ef1b9a2378c5e9
[ "MIT" ]
null
null
null
cec-chromecast.py
cape37/Cec-Chromecast
9653cfb411103ddda5368194b9ef1b9a2378c5e9
[ "MIT" ]
null
null
null
cec-chromecast.py
cape37/Cec-Chromecast
9653cfb411103ddda5368194b9ef1b9a2378c5e9
[ "MIT" ]
null
null
null
#!/usr/bin/python from __future__ import print_function import time import re import pychromecast # https://github.com/balloob/pychromecast import os #Get info from chromecast chromecasts = pychromecast.get_chromecasts() cast = next(cc for cc in chromecasts if cc.device.friendly_name == "ChromecastName") #Change Chro...
26.5
106
0.738365
125
795
4.616
0.632
0.025997
0.062392
0
0
0
0
0
0
0
0
0.020741
0.150943
795
29
107
27.413793
0.834074
0.384906
0
0
0
0
0.160752
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.133333
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
a71b8a934da3c6976ee0dd221146fa9e18cf823f
2,005
py
Python
sponsorsModule/migrations/0003_auto_20180605_2122.py
GeniALE/SiteWebGeniALE
39488a89887d6855590ab39a59dbc2b6dca21892
[ "MIT" ]
4
2018-03-17T15:38:17.000Z
2020-10-03T12:06:19.000Z
sponsorsModule/migrations/0003_auto_20180605_2122.py
GeniALE/SiteWebGeniALE
39488a89887d6855590ab39a59dbc2b6dca21892
[ "MIT" ]
80
2018-02-01T02:55:01.000Z
2022-03-11T23:17:17.000Z
sponsorsModule/migrations/0003_auto_20180605_2122.py
GeniALE/SiteWebGeniALE
39488a89887d6855590ab39a59dbc2b6dca21892
[ "MIT" ]
2
2018-01-30T09:27:31.000Z
2019-07-25T23:50:49.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-06-06 01:22 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('sponsorsModule', '0002_auto_20180527_2037'), ] operations = [ ...
32.868852
106
0.65586
182
2,005
7.043956
0.456044
0.024961
0.032761
0.051482
0.140406
0.140406
0.057722
0
0
0
0
0.024204
0.216958
2,005
60
107
33.416667
0.792357
0.032918
0
0.240741
1
0
0.274793
0.117252
0
0
0
0
0
1
0
false
0
0.055556
0
0.111111
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
a725160631e3fffc2ebff7fa6c999c1d751a9a8b
3,192
py
Python
python3/koans/about_scoring_project.py
JosephKiranBabu/python3-koans
26e5ac5ab3821d5a8e9d32776ac3d65150938d0f
[ "MIT" ]
1
2020-12-17T19:09:58.000Z
2020-12-17T19:09:58.000Z
python3/koans/about_scoring_project.py
JosephKiranBabu/python3-koans
26e5ac5ab3821d5a8e9d32776ac3d65150938d0f
[ "MIT" ]
null
null
null
python3/koans/about_scoring_project.py
JosephKiranBabu/python3-koans
26e5ac5ab3821d5a8e9d32776ac3d65150938d0f
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from runner.koan import * # Greed is a dice game where you roll up to five dice to accumulate # points. The following "score" function will be used calculate the # score of a single roll of the dice. # # A greed roll is scored as follows: # # * A set of three ones is 100...
29.284404
79
0.622807
537
3,192
3.534451
0.260708
0.126449
0.090095
0.059009
0.253952
0.169652
0.088514
0.063224
0.034773
0.034773
0
0.083815
0.241228
3,192
108
80
29.555556
0.699835
0.257519
0
0.133333
0
0
0
0
0
0
0
0
0.266667
1
0.266667
false
0
0.016667
0.033333
0.483333
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
a72601930598696a8d4a1b8fdeaf1bfc412277e1
291
py
Python
netbox/tenancy/migrations/0002_tenant_ordering.py
cybarox/netbox
ea197eff5f4fe925bb354d1375912decd81752bd
[ "Apache-2.0" ]
4,994
2019-07-01T13:15:44.000Z
2022-03-31T19:55:45.000Z
netbox/tenancy/migrations/0002_tenant_ordering.py
cybarox/netbox
ea197eff5f4fe925bb354d1375912decd81752bd
[ "Apache-2.0" ]
4,045
2019-07-01T14:24:09.000Z
2022-03-31T16:07:39.000Z
netbox/tenancy/migrations/0002_tenant_ordering.py
cybarox/netbox
ea197eff5f4fe925bb354d1375912decd81752bd
[ "Apache-2.0" ]
1,225
2019-07-01T15:34:03.000Z
2022-03-31T16:47:09.000Z
from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('tenancy', '0001_squashed_0012'), ] operations = [ migrations.AlterModelOptions( name='tenant', options={'ordering': ['name']}, ), ]
18.1875
43
0.563574
22
291
7.363636
0.818182
0
0
0
0
0
0
0
0
0
0
0.039604
0.305842
291
15
44
19.4
0.762376
0
0
0
0
0
0.147766
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a7262183b04e6d35b9aef26367ecce007a8bb4b2
3,253
py
Python
ui.py
JordanLeich/command-line-chess
99111f7f6b6d1ebb470f8a20fe1aee4dc3dfff8b
[ "MIT" ]
7
2021-07-01T06:45:50.000Z
2022-02-02T11:35:57.000Z
ui.py
JordanLeich/command-line-chess
99111f7f6b6d1ebb470f8a20fe1aee4dc3dfff8b
[ "MIT" ]
1
2021-07-03T04:15:22.000Z
2021-07-03T04:15:22.000Z
ui.py
JordanLeich/command-line-chess
99111f7f6b6d1ebb470f8a20fe1aee4dc3dfff8b
[ "MIT" ]
1
2021-07-03T01:41:08.000Z
2021-07-03T01:41:08.000Z
from os import name, system # for printing the board SYMBOLS = ".PNBRQKpnbrqk" if name == "nt" else \ " \u2659\u2658\u2657\u2656\u2655\u2654\u265F\u265E\u265D\u265C\u265B\u265A" # board index position => chess notation NOTATION = [ "-1", "-1", "-1", "-1", "-1", "-1", "-1", "-1", "-1", "-1", "-1", "-1", "-...
36.965909
83
0.433139
491
3,253
2.824847
0.423625
0.067772
0.082192
0.103821
0.222062
0.197549
0.14708
0.102379
0.102379
0.102379
0
0.177259
0.288964
3,253
87
84
37.390805
0.422395
0.079311
0
0.214286
0
0.014286
0.179169
0.024113
0
0
0
0
0
1
0.057143
false
0
0.014286
0
0.085714
0.214286
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
a726e2082f10c5765785d553270c00924856e03b
2,442
py
Python
ducobox.py
martenjacobs/py-duco-mqtt
6640015a8519a6936951c3f6b4f8cbd2c18ba820
[ "MIT" ]
7
2019-01-04T08:41:19.000Z
2021-04-24T20:35:23.000Z
ducobox.py
martenjacobs/py-duco-mqtt
6640015a8519a6936951c3f6b4f8cbd2c18ba820
[ "MIT" ]
1
2019-09-23T19:27:54.000Z
2019-09-23T19:40:58.000Z
ducobox.py
martenjacobs/py-duco-mqtt
6640015a8519a6936951c3f6b4f8cbd2c18ba820
[ "MIT" ]
2
2020-02-12T00:19:31.000Z
2020-07-27T21:37:18.000Z
from time import sleep import re import logging log = logging.getLogger(__name__) class DucoboxClient(object): def __init__(self, config): #TODO: something self.fail_retry_wait = 0.25 self.read_timeout = 0.1 def open(self): raise NotImplementedError("Abstract method") d...
28.395349
79
0.531941
280
2,442
4.503571
0.360714
0.031721
0.101507
0.120539
0.278351
0.215702
0.050753
0
0
0
0
0.013761
0.375102
2,442
85
80
28.729412
0.812582
0.127355
0
0.145455
0
0
0.075097
0
0
0
0
0.011765
0
1
0.145455
false
0
0.054545
0
0.290909
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
a7284e2c611bc202ebfcf5f8015ea6bc6b8c90af
711
py
Python
Tests/unittests/test_startup.py
globalvillagesoftware/startapp
e49f171113a5815b0497292e723b1f42afece199
[ "Apache-2.0" ]
null
null
null
Tests/unittests/test_startup.py
globalvillagesoftware/startapp
e49f171113a5815b0497292e723b1f42afece199
[ "Apache-2.0" ]
1
2020-05-03T11:40:52.000Z
2020-05-03T11:40:52.000Z
Tests/unittests/test_startup.py
globalvillagesoftware/startapp
e49f171113a5815b0497292e723b1f42afece199
[ "Apache-2.0" ]
null
null
null
""" Unit test driver for the application startup template Created on Jul. 6, 2020 @author: Jonathan Gossage """ import sys import unittest # Setup the PYTHONPATH for this run sys.path.insert(0, '/home/jgossage/GlobalVillage/EclipseWorkspaces/Library') sys.path.insert(1, '/home/jgossa...
21.545455
76
0.66948
82
711
5.682927
0.609756
0.045064
0.083691
0.270386
0.223176
0
0
0
0
0
0
0.014388
0.218003
711
33
77
21.545455
0.823741
0.257384
0
0
0
0
0.357692
0.303846
0
0
0
0
0
1
0.066667
false
0
0.2
0
0.333333
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
a72886b5f280a42fbf7247a3b2ac0a3306b765d1
4,418
py
Python
src/monitor_jobs_collect.py
Awallace3/Dyes
a74bc6b9bb1101a9da80e664efa3361ce5a75691
[ "MIT" ]
1
2021-06-02T21:00:07.000Z
2021-06-02T21:00:07.000Z
src/monitor_jobs_collect.py
Awallace3/Dyes
a74bc6b9bb1101a9da80e664efa3361ce5a75691
[ "MIT" ]
null
null
null
src/monitor_jobs_collect.py
Awallace3/Dyes
a74bc6b9bb1101a9da80e664efa3361ce5a75691
[ "MIT" ]
null
null
null
import glob import os import subprocess def acquire_half_results_dir(first=True): os.chdir("../results") lst = glob.glob('*') if first: print("monitor_jobs = ", lst[:len(lst)//2]) else: print("monitor_jobs = ", lst[len(lst)//2:]) def acquire_results_dir(path='../results'): os.chdir(path) lst = glob.glob...
48.549451
2,483
0.684473
804
4,418
3.283582
0.126866
0.03447
0.016667
0.016667
0.079167
0.05947
0.043561
0
0
0
0
0.150461
0.115437
4,418
91
2,484
48.549451
0.525077
0.618153
0
0.208955
0
0
0.129244
0
0
0
0
0
0
1
0.089552
false
0
0.044776
0
0.179104
0.089552
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a72b43abf1fec387067dbb8052ef0c9b458de6e8
2,963
py
Python
pokemon_go_hunter/watch_twitter.py
juharris/pokemon-go-hunter
b0191bfda72717642e3d77cd451e8c81bf1b698d
[ "MIT" ]
null
null
null
pokemon_go_hunter/watch_twitter.py
juharris/pokemon-go-hunter
b0191bfda72717642e3d77cd451e8c81bf1b698d
[ "MIT" ]
null
null
null
pokemon_go_hunter/watch_twitter.py
juharris/pokemon-go-hunter
b0191bfda72717642e3d77cd451e8c81bf1b698d
[ "MIT" ]
null
null
null
import logging import os import re import time import twitter import yaml from pushbullet import Pushbullet def get_config(): config_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../config.yaml') with open(config_path) as f: return yaml.load(f) def get_twitter_api(config): ap...
29.929293
111
0.60108
347
2,963
4.884726
0.317003
0.084956
0.066077
0.042478
0.136873
0.031858
0
0
0
0
0
0.001439
0.296321
2,963
98
112
30.234694
0.811511
0.010462
0
0.105263
0
0.013158
0.123933
0.016046
0
0
0
0.010204
0.013158
1
0.078947
false
0.013158
0.092105
0
0.223684
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
a72c85eb6825bbc2bdedb37fc9ded1b21b7d8d60
2,167
py
Python
tests/unit/test_table_parser.py
osomdev/pyshrimp
72f4425074a2f09a5f5630ca969472f4f5dcc85e
[ "MIT" ]
6
2021-11-28T12:12:02.000Z
2021-12-16T19:44:46.000Z
tests/unit/test_table_parser.py
osomdev/pyshrimp
72f4425074a2f09a5f5630ca969472f4f5dcc85e
[ "MIT" ]
null
null
null
tests/unit/test_table_parser.py
osomdev/pyshrimp
72f4425074a2f09a5f5630ca969472f4f5dcc85e
[ "MIT" ]
null
null
null
from unittest import TestCase from pyshrimp.utils.table_parser import parse_table table_data = ''' USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 171008 10724 ? Ss lis21 3:28 /sbin/init root 2 0.0 0.0 0 0 ? S lis21 0:00...
54.175
205
0.42455
291
2,167
3.113402
0.209622
0.09713
0.092715
0.0883
0.587196
0.587196
0.525386
0.511038
0.511038
0.511038
0
0.114997
0.313798
2,167
39
206
55.564103
0.494284
0
0
0.147059
0
0.029412
0.438394
0
0
0
0
0
0.088235
1
0.029412
false
0
0.058824
0
0.117647
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
a72dad1de939e31366ac6bd4c628b085ce138d44
1,998
py
Python
src/index.py
Korgie/NimbusStoreFinal
15ecf22e9d0379a20c2385a553c7f820a0ccf0d1
[ "MIT" ]
null
null
null
src/index.py
Korgie/NimbusStoreFinal
15ecf22e9d0379a20c2385a553c7f820a0ccf0d1
[ "MIT" ]
null
null
null
src/index.py
Korgie/NimbusStoreFinal
15ecf22e9d0379a20c2385a553c7f820a0ccf0d1
[ "MIT" ]
null
null
null
#LOreal Likourgos #IS640 Project __author__ = "LOreal Likourgos" import wsgiref.handlers from google.appengine.api import urlfetch import webapp2 urlfetch.set_default_fetch_deadline(60) ########## CHANGE THESE TO REFLECT YOUR PERSONAL SETTINGS ############## # Your Dropbox user-id and folder-name. # Your publi...
34.448276
115
0.682683
252
1,998
5.309524
0.468254
0.071749
0.067265
0.089686
0.09417
0
0
0
0
0
0
0.014569
0.141141
1,998
58
116
34.448276
0.764569
0.192192
0
0.060606
0
0.030303
0.196689
0.01457
0
0
0
0
0
0
null
null
0
0.090909
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
a7311693b6e7be8845862028f2e0ecbf52d99ca0
762
py
Python
setup.py
marekyggdrasil/mimblewimble-py
7b8e8a86b78b3e075f47cbdc6a3778b472c621ae
[ "MIT" ]
8
2021-06-20T12:24:44.000Z
2021-12-17T02:27:15.000Z
setup.py
marekyggdrasil/mimblewimble-py
7b8e8a86b78b3e075f47cbdc6a3778b472c621ae
[ "MIT" ]
1
2021-11-29T02:03:06.000Z
2021-11-29T02:03:06.000Z
setup.py
marekyggdrasil/mimblewimble-py
7b8e8a86b78b3e075f47cbdc6a3778b472c621ae
[ "MIT" ]
3
2021-07-27T13:19:36.000Z
2021-11-26T10:43:38.000Z
import setuptools setuptools.setup( name='mimblewimble', version='0.0.1', packages=['mimblewimble',], license='MIT', description = 'A toolset for processing Grin Mimblewimble data structures', long_description=open('README.md').read(), long_description_content_type="text/markdown", auth...
31.75
79
0.65748
79
762
6.227848
0.746835
0.060976
0.101626
0
0
0
0
0
0
0
0
0.008224
0.2021
762
23
80
33.130435
0.800987
0
0
0
0
0
0.463255
0.032808
0
0
0
0
0
1
0
true
0
0.045455
0
0.045455
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
a733eae6f574c0f30eecde3b7fc86315a84432ac
2,183
py
Python
conference/event/schema.py
pytexas/PyTexas
6ab364dee4f23de0b0fa78036a2428be7497fdf2
[ "MIT" ]
1
2017-09-11T19:00:18.000Z
2017-09-11T19:00:18.000Z
conference/event/schema.py
pytexas/PyTexas
6ab364dee4f23de0b0fa78036a2428be7497fdf2
[ "MIT" ]
2
2019-02-01T04:39:18.000Z
2019-02-12T23:16:08.000Z
conference/event/schema.py
pytexas/PyTexasBackend
6ab364dee4f23de0b0fa78036a2428be7497fdf2
[ "MIT" ]
1
2017-09-05T22:19:41.000Z
2017-09-05T22:19:41.000Z
from django.contrib.auth import get_user_model import graphene from graphene import relay, ObjectType, AbstractType from graphene_django import DjangoObjectType from graphene_django.filter import DjangoFilterConnectionField from graphene.types.datetime import DateTime from conference.event.models import Conference, S...
25.682353
88
0.733394
221
2,183
7.108597
0.289593
0.040102
0.062381
0.106938
0.113304
0.061108
0.061108
0.061108
0
0
0
0
0.163995
2,183
84
89
25.988095
0.860822
0
0
0.271186
0
0
0.072377
0
0
0
0
0
0
1
0
false
0
0.135593
0
0.59322
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
a735bd090c927a15399b6bd1d5cb08dfd6c7d51b
951
py
Python
problems/0589-n-ary-tree-preorder-traversal.py
tzxyz/leetcode
d599e223bed1b957a1283face7606cb651b28ec4
[ "MIT" ]
null
null
null
problems/0589-n-ary-tree-preorder-traversal.py
tzxyz/leetcode
d599e223bed1b957a1283face7606cb651b28ec4
[ "MIT" ]
null
null
null
problems/0589-n-ary-tree-preorder-traversal.py
tzxyz/leetcode
d599e223bed1b957a1283face7606cb651b28ec4
[ "MIT" ]
null
null
null
from typing import List class Node: def __init__(self, val, children): self.val = val self.children = children class Solution: """ 给定一个 N 叉树,返回其节点值的前序遍历。 例如,给定一个 3叉树 : {"$id":"1","children":[{"$id":"2","children":[{"$id":"5","children":[],"val":5},{"$id":"6","children":[],"val"...
23.775
206
0.522608
117
951
4.213675
0.495727
0.089249
0
0
0
0
0
0
0
0
0
0.030129
0.267087
951
39
207
24.384615
0.677188
0.487907
0
0
0
0
0.010309
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
595684590b2cb7d38e9b5a07bc91e5db016a4f89
4,072
py
Python
bauble/routes/auth.py
Bauble/bauble.api
183c97fda076ea870e21e70ecf89a2a94a7f5722
[ "BSD-3-Clause" ]
null
null
null
bauble/routes/auth.py
Bauble/bauble.api
183c97fda076ea870e21e70ecf89a2a94a7f5722
[ "BSD-3-Clause" ]
1
2015-02-05T13:15:00.000Z
2015-02-05T13:15:00.000Z
bauble/routes/auth.py
Bauble/bauble.api
183c97fda076ea870e21e70ecf89a2a94a7f5722
[ "BSD-3-Clause" ]
null
null
null
""" All routes in Bauble use HTTP basic auth. """ from datetime import datetime, timedelta import os import smtplib import bottle from bottle import request import sqlalchemy as sa import bauble import bauble.config as config import bauble.db as db import bauble.email as email from bauble import app, API_ROOT from b...
30.162963
122
0.649312
516
4,072
4.98062
0.22093
0.055642
0.070039
0.059922
0.416342
0.301946
0.301946
0.272374
0.203891
0.203891
0
0.007465
0.243369
4,072
134
123
30.38806
0.82668
0.079322
0
0.270833
0
0
0.107659
0
0
0
0
0.007463
0
1
0.0625
false
0.197917
0.145833
0.020833
0.25
0.020833
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
59568e4ee321fea8d7f6025dbc67582ed2772c19
619
py
Python
exercicios/ex078.py
RicardoAugusto-RCD/exercicios_python
8a803f9cbc8b2ad0b5a6d61f0e7b6c2bc615b5ff
[ "MIT" ]
null
null
null
exercicios/ex078.py
RicardoAugusto-RCD/exercicios_python
8a803f9cbc8b2ad0b5a6d61f0e7b6c2bc615b5ff
[ "MIT" ]
null
null
null
exercicios/ex078.py
RicardoAugusto-RCD/exercicios_python
8a803f9cbc8b2ad0b5a6d61f0e7b6c2bc615b5ff
[ "MIT" ]
null
null
null
# Faça um programa que leia 5 valores numéricos e guarde-os em uma lista. # No final, mostre qual foi o maior e o menor valor digitado e as suas respectivas posições na lista. print('—' * 60) lista = [] for contador in range(0, 5): lista.append(int(input(f'Digite um valor para a Posição {contador}: '))) maior ...
30.95
101
0.684976
112
619
3.883929
0.473214
0.089655
0.055172
0.087356
0.137931
0.137931
0.137931
0.137931
0
0
0
0.017682
0.177706
619
19
102
32.578947
0.815324
0.276252
0
0.272727
0
0.181818
0.556306
0
0
0
0
0
0
1
0
false
0
0
0
0
0.545455
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
0
1
0
1
5959b1be359f36cdbe9581925c6e9f4b5893f345
5,657
py
Python
openff/system/tests/test_typing.py
mattwthompson/openff-system
3cb43d3236304ebc0304c4e691d9101dc1773f22
[ "MIT" ]
null
null
null
openff/system/tests/test_typing.py
mattwthompson/openff-system
3cb43d3236304ebc0304c4e691d9101dc1773f22
[ "MIT" ]
11
2021-05-12T05:45:02.000Z
2022-03-01T09:07:56.000Z
openff/system/tests/test_typing.py
mattwthompson/openff-system
3cb43d3236304ebc0304c4e691d9101dc1773f22
[ "MIT" ]
null
null
null
from openff.system.tests.base_test import BaseTest class TestSMIRNOFFTyping(BaseTest): # There's probably a better way to this, but pytest doesn't let fixtures be passed to parametrize # TODO: check for proper conversion, not just completeness def test_reconstruct_toolkit_forcefield( self, ...
36.262821
105
0.646986
633
5,657
5.507109
0.263823
0.045898
0.043029
0.045898
0.237808
0.181583
0.162077
0.132817
0.132817
0.11704
0
0.016717
0.238642
5,657
155
106
36.496774
0.792663
0.812622
0
0
0
0
0.029221
0
0
0
0
0.006452
0.222222
1
0.055556
false
0
0.055556
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
59620473ce5e33d1494d76aa844c211ce1b84451
751
py
Python
python/decorators/plugins.py
imjoseangel/100DaysOfCode
bff90569033e2b02a56e893bd45727125962aeb3
[ "MIT" ]
1
2022-03-30T12:59:44.000Z
2022-03-30T12:59:44.000Z
python/decorators/plugins.py
imjoseangel/100DaysOfCode
bff90569033e2b02a56e893bd45727125962aeb3
[ "MIT" ]
null
null
null
python/decorators/plugins.py
imjoseangel/100DaysOfCode
bff90569033e2b02a56e893bd45727125962aeb3
[ "MIT" ]
3
2019-08-13T11:33:36.000Z
2022-03-08T22:00:09.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import (division, absolute_import, print_function, unicode_literals, annotations) import random PLUGINS = dict() def register(func): """Register a function as a plug-in""" PLUGINS[func.__name__] = func return func @...
17.880952
66
0.659121
96
751
4.895833
0.541667
0.051064
0.046809
0
0
0
0
0
0
0
0
0.001684
0.209055
751
41
67
18.317073
0.789562
0.099867
0
0.086957
0
0
0.124066
0
0
0
0
0
0
1
0.217391
false
0
0.086957
0.086957
0.478261
0.217391
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
59677094b57d05e11d367190cfc2d94a7e584c73
1,791
py
Python
backend/initiatives/management/commands/fill_zones.py
danesjenovdan/izboljsajmo-maribor
cd2f388ceb89d7989952ab05154fd8e7341c2b2b
[ "CC0-1.0" ]
null
null
null
backend/initiatives/management/commands/fill_zones.py
danesjenovdan/izboljsajmo-maribor
cd2f388ceb89d7989952ab05154fd8e7341c2b2b
[ "CC0-1.0" ]
null
null
null
backend/initiatives/management/commands/fill_zones.py
danesjenovdan/izboljsajmo-maribor
cd2f388ceb89d7989952ab05154fd8e7341c2b2b
[ "CC0-1.0" ]
null
null
null
from django.core.management.base import BaseCommand, CommandError from django.contrib.gis.geos import Polygon from initiatives.models import Zone import requests import ogr, osr class Command(BaseCommand): help = 'Setup data for development' def handle(self, *args, **options): url = 'https://prosto...
30.355932
158
0.60134
180
1,791
5.95
0.522222
0.044818
0
0
0
0
0
0
0
0
0
0.015962
0.300391
1,791
58
159
30.87931
0.838787
0.043551
0
0
0
0.025641
0.12478
0
0
0
0
0.017241
0
1
0.051282
false
0
0.179487
0
0.307692
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
5967ca42d955a541b80341c3abec8bbc0996c15e
2,593
py
Python
checkio/Dropbox/Ethernet ring dimensioning/ethernet_ring_dimensioning.py
KenMercusLai/checkio
c7702221e1bc0b0b30425859ffa6c09722949d65
[ "MIT" ]
39
2015-02-09T13:24:12.000Z
2019-05-16T17:51:19.000Z
checkio/Dropbox/Ethernet ring dimensioning/ethernet_ring_dimensioning.py
KenMercusLai/checkio
c7702221e1bc0b0b30425859ffa6c09722949d65
[ "MIT" ]
1
2019-10-21T16:18:14.000Z
2019-10-21T16:18:14.000Z
checkio/Dropbox/Ethernet ring dimensioning/ethernet_ring_dimensioning.py
KenMercusLai/checkio
c7702221e1bc0b0b30425859ffa6c09722949d65
[ "MIT" ]
22
2015-01-30T18:00:05.000Z
2021-05-22T02:57:23.000Z
from math import ceil ETHERNET = (100, 40, 10, 1, 0.1) # Ethernet bandwidth capacity in Gbps def generate_path(ring, start, end): # generate the shortest path from start to end. # according to the task, the preference path in order is: # 1. from start to end following the ring order if it's the shorte...
34.573333
82
0.556884
390
2,593
3.6
0.233333
0.01567
0.037037
0.051282
0.344729
0.277778
0.272792
0.214387
0.150285
0.110399
0
0.053562
0.301581
2,593
74
83
35.040541
0.721701
0.174701
0
0.075472
1
0
0.025364
0
0
0
0
0
0.075472
1
0.056604
false
0
0.018868
0
0.132075
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
59685c8e17fa6223f04f67dc804b450129a77bf4
651
py
Python
media.py
MinnieSmith/Movies-Trailer-Website
5919d8f9605f7fb169fc99cdcef05f7c6a9b273c
[ "MIT" ]
null
null
null
media.py
MinnieSmith/Movies-Trailer-Website
5919d8f9605f7fb169fc99cdcef05f7c6a9b273c
[ "MIT" ]
null
null
null
media.py
MinnieSmith/Movies-Trailer-Website
5919d8f9605f7fb169fc99cdcef05f7c6a9b273c
[ "MIT" ]
null
null
null
class Movie: """ The Movie class creates a data structure which will store information of movie objects and is used to create movie instances in the entertainment.py file. The class constructor creates space in memory to store information of instance variables.""" def __init__(self, movie_title, poster_image_url, ...
50.076923
75
0.745008
95
651
4.915789
0.431579
0.068522
0.089936
0.085653
0.098501
0.098501
0
0
0
0
0
0
0.207373
651
12
76
54.25
0.905039
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
596a66a6f8f615012b4616fac68d561c26c9475d
1,629
py
Python
receiver_module.py
samdotslash0212/ErrorDetection
7f23d24fbc758ad4bfff97b3cf55e6b20b839c06
[ "MIT" ]
null
null
null
receiver_module.py
samdotslash0212/ErrorDetection
7f23d24fbc758ad4bfff97b3cf55e6b20b839c06
[ "MIT" ]
null
null
null
receiver_module.py
samdotslash0212/ErrorDetection
7f23d24fbc758ad4bfff97b3cf55e6b20b839c06
[ "MIT" ]
1
2021-09-30T21:11:30.000Z
2021-09-30T21:11:30.000Z
def checklrc(s): lrcbits = "" a, b, c, d = 0, 8, 16, 24 for i in range(8): lrcbits = lrcbits + str(int(s[a+i]) ^ int(s[b+i]) ^ int(s[c+i]) ^ int(s[d+i])) return lrcbits == s[32:] def checkvrc(s): val=0 for c in s: if c != '0' and c != '1': return False val^=...
20.620253
95
0.486188
237
1,629
3.341772
0.240506
0.025253
0.022727
0.027778
0.103535
0.103535
0.058081
0.058081
0
0
0
0.052974
0.339472
1,629
78
96
20.884615
0.683086
0
0
0.109091
0
0
0.006753
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
596d8423f431a54e6605a45243141843c70243a6
914
py
Python
applications/enums.py
City-of-Helsinki/berth-reservations
a3b1a8c2176f132505527acdf6da3a62199401db
[ "MIT" ]
3
2020-10-13T07:58:48.000Z
2020-12-22T09:41:50.000Z
applications/enums.py
City-of-Helsinki/berth-reservations
a3b1a8c2176f132505527acdf6da3a62199401db
[ "MIT" ]
422
2018-10-25T10:57:05.000Z
2022-03-30T05:47:14.000Z
applications/enums.py
City-of-Helsinki/berth-reservations
a3b1a8c2176f132505527acdf6da3a62199401db
[ "MIT" ]
1
2020-04-03T07:38:03.000Z
2020-04-03T07:38:03.000Z
from django.db.models import IntegerChoices, TextChoices from django.utils.translation import gettext_lazy as _ class WinterStorageMethod(TextChoices): ON_TRESTLES = "on_trestles", _("On trestles") ON_TRAILER = "on_trailer", _("On a trailer") UNDER_TARP = "under_tarp", _("Under a tarp") class Applicatio...
30.466667
70
0.685996
95
914
6.273684
0.431579
0.050336
0.060403
0.067114
0.213087
0.080537
0
0
0
0
0
0.003958
0.170678
914
29
71
31.517241
0.782322
0
0
0
0
0
0.274617
0
0
0
0
0
0
1
0
false
0
0.095238
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
59705f7ba4e6a90588057c4841507652d4a41126
985
py
Python
SoftLayer/fixtures/SoftLayer_Network_CdnMarketplace_Configuration_Mapping_Path.py
dvzrv/softlayer-python
9a5f6c6981bcc370084537b4d1769383499ce90d
[ "MIT" ]
126
2015-01-05T05:09:22.000Z
2021-07-02T00:16:35.000Z
SoftLayer/fixtures/SoftLayer_Network_CdnMarketplace_Configuration_Mapping_Path.py
dvzrv/softlayer-python
9a5f6c6981bcc370084537b4d1769383499ce90d
[ "MIT" ]
969
2015-01-05T15:55:31.000Z
2022-03-31T19:55:20.000Z
SoftLayer/fixtures/SoftLayer_Network_CdnMarketplace_Configuration_Mapping_Path.py
dvzrv/softlayer-python
9a5f6c6981bcc370084537b4d1769383499ce90d
[ "MIT" ]
176
2015-01-22T11:23:40.000Z
2022-02-11T13:16:58.000Z
listOriginPath = [ { "header": "test.example.com", "httpPort": 80, "mappingUniqueId": "993419389425697", "origin": "10.10.10.1", "originType": "HOST_SERVER", "path": "/example", "status": "RUNNING" }, { "header": "test.example.com", "ht...
25.921053
72
0.527919
80
985
6.4625
0.425
0.046422
0.098646
0.116054
0.640232
0.640232
0.640232
0.640232
0.640232
0.640232
0
0.105187
0.295431
985
37
73
26.621622
0.639769
0
0
0.542857
0
0
0.506599
0.024365
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
59787d508e0327013d253f74e7bcec5cfd032c11
137
py
Python
python/python_work5/zidian3.py
lucycore/python
c1c49e52392615851c0efec886d0e947b609681c
[ "Apache-2.0" ]
null
null
null
python/python_work5/zidian3.py
lucycore/python
c1c49e52392615851c0efec886d0e947b609681c
[ "Apache-2.0" ]
null
null
null
python/python_work5/zidian3.py
lucycore/python
c1c49e52392615851c0efec886d0e947b609681c
[ "Apache-2.0" ]
null
null
null
# -- coding:utf-8-- my_games = { "pc":"GTA5", "mac_os":"final_cut_pro", "ipad":"皇室战争", "iphone":"皇权", } print(my_games) #中文编码不支持!
10.538462
26
0.576642
20
137
3.7
0.9
0.189189
0
0
0
0
0
0
0
0
0
0.017094
0.145985
137
12
27
11.416667
0.615385
0.182482
0
0
0
0
0.37963
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
597e88c6d65d71cb4dcfdc575f3564a3e37d17fe
763
py
Python
tests/functional/configs/test_get_default.py
tomasfarias/dbt-core
ed5df342ca5d99c5e6971ee6d11c8cf3e6e263b3
[ "Apache-2.0" ]
799
2021-10-13T21:40:33.000Z
2022-03-31T16:19:31.000Z
tests/functional/configs/test_get_default.py
tomasfarias/dbt-core
ed5df342ca5d99c5e6971ee6d11c8cf3e6e263b3
[ "Apache-2.0" ]
939
2021-10-13T17:45:24.000Z
2022-03-31T22:09:58.000Z
tests/functional/configs/test_get_default.py
tomasfarias/dbt-core
ed5df342ca5d99c5e6971ee6d11c8cf3e6e263b3
[ "Apache-2.0" ]
175
2021-10-14T18:59:06.000Z
2022-03-31T16:17:32.000Z
import pytest from dbt.tests.util import run_dbt models_get__any_model_sql = """ -- models/any_model.sql select {{ config.get('made_up_nonexistent_key', 'default_value') }} as col_value """ class TestConfigGetDefault: @pytest.fixture(scope="class") def models(self): return {"any_model.sql": models...
27.25
80
0.671035
105
763
4.628571
0.542857
0.065844
0.090535
0.069959
0.082305
0
0
0
0
0
0
0.005034
0.218873
763
27
81
28.259259
0.810403
0.145478
0
0
0
0
0.261941
0.057011
0
0
0
0
0.166667
1
0.111111
false
0.055556
0.111111
0.055556
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
0
0
0
0
0
1
0
0
0
0
0
1
5986a1f764aa99472467bec989ae2a4a4e6edc71
2,590
py
Python
src/tso/importer/transformer.py
elijah-ward/TSO
610565a32284cab23e9262c3431ce6d34116bfcf
[ "MIT" ]
4
2018-11-05T21:36:08.000Z
2019-04-15T13:05:39.000Z
src/tso/importer/transformer.py
elijah-ward/TSO
610565a32284cab23e9262c3431ce6d34116bfcf
[ "MIT" ]
2
2019-02-23T07:13:40.000Z
2019-04-07T17:50:44.000Z
src/tso/importer/transformer.py
elijah-ward/TSO
610565a32284cab23e9262c3431ce6d34116bfcf
[ "MIT" ]
2
2020-12-09T07:03:09.000Z
2021-07-17T02:32:46.000Z
""" Transformer Meant to transform external data to one that we will be using throughout the system """ from tso.observation.observation_request import ObservationRequest from tso.observation.cfht_observation_block import CFHTObservationBlock from astropy import units as u from astropy.coordinates import SkyCoord imp...
31.204819
102
0.708108
324
2,590
5.527778
0.401235
0.039084
0.029034
0.044668
0.088219
0.088219
0
0
0
0
0
0.004478
0.223938
2,590
82
103
31.585366
0.886567
0.424324
0
0
0
0
0.010989
0
0
0
0
0.012195
0
1
0.088235
false
0
0.147059
0
0.352941
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
5988e76e770c7d353f789fd82cd67918e5e7574c
804
py
Python
notebooks/numba/snippets/ppe_numba.py
barbagroup/Foundations_in_Scientific_Computing
f8228ad9f4ce4d89732472a1af9e7d4ec8322b58
[ "CC-BY-4.0" ]
39
2016-12-29T08:57:46.000Z
2022-02-15T00:08:28.000Z
notebooks/numba/snippets/ppe_numba.py
xiaoh/essential_skills_RRC
f8228ad9f4ce4d89732472a1af9e7d4ec8322b58
[ "CC-BY-4.0" ]
30
2016-12-09T23:43:39.000Z
2019-02-12T14:00:56.000Z
notebooks/numba/snippets/ppe_numba.py
xiaoh/essential_skills_RRC
f8228ad9f4ce4d89732472a1af9e7d4ec8322b58
[ "CC-BY-4.0" ]
13
2016-12-28T17:56:35.000Z
2021-12-01T03:22:15.000Z
@jit(nopython=True) def pressure_poisson(p, b, l2_target): J, I = b.shape iter_diff = l2_target + 1 n = 0 while iter_diff > l2_target and n <= 500: pn = p.copy() for i in range(1, I - 1): for j in range(1, J - 1): p[j, i] = (.25 * (pn[j, i + 1] + ...
25.125
75
0.334577
122
804
2.147541
0.278689
0.038168
0.034351
0.045802
0.080153
0.049618
0
0
0
0
0
0.081425
0.511194
804
31
76
25.935484
0.585242
0
0
0
0
0
0
0
0
0
0
0
0
1
0.041667
false
0
0
0
0.083333
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
5990d1f6c2b1139e66fe23293939ddc55d1e905b
982
py
Python
hwt/serializer/utils.py
ufo2011/hwt
2a32a3fc0c04cf3d6e78dce2dcd0d90dffc7eac1
[ "MIT" ]
134
2018-02-28T05:06:31.000Z
2022-03-25T23:50:13.000Z
hwt/serializer/utils.py
ufo2011/hwt
2a32a3fc0c04cf3d6e78dce2dcd0d90dffc7eac1
[ "MIT" ]
32
2018-03-15T19:01:02.000Z
2021-07-02T14:00:06.000Z
hwt/serializer/utils.py
ufo2011/hwt
2a32a3fc0c04cf3d6e78dce2dcd0d90dffc7eac1
[ "MIT" ]
17
2018-09-16T12:54:01.000Z
2022-01-20T03:16:52.000Z
from hwt.doc_markers import internal from hwt.hdl.statements.assignmentContainer import HdlAssignmentContainer from hwt.hdl.statements.codeBlockContainer import HdlStmCodeBlockContainer from hwt.hdl.statements.statement import HdlStatement from hwt.synthesizer.rtlLevel.mainBases import RtlSignalBase @internal def get...
30.6875
74
0.741344
112
982
6.392857
0.455357
0.048883
0.041899
0.083799
0
0
0
0
0
0
0
0.001248
0.184318
982
31
75
31.677419
0.892634
0.101833
0
0.095238
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.238095
0.047619
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
59ab0b5f79c2fcbc49809b2b9e6e4c84837616a8
856
py
Python
ionyweb/design/views.py
makinacorpus/ionyweb
2f18e3dc1fdc86c7e19bae3778e67e28a37567be
[ "BSD-3-Clause" ]
4
2015-09-28T10:07:39.000Z
2019-10-18T20:14:07.000Z
ionyweb/design/views.py
makinacorpus/ionyweb
2f18e3dc1fdc86c7e19bae3778e67e28a37567be
[ "BSD-3-Clause" ]
1
2021-03-19T21:41:33.000Z
2021-03-19T21:41:33.000Z
ionyweb/design/views.py
makinacorpus/ionyweb
2f18e3dc1fdc86c7e19bae3778e67e28a37567be
[ "BSD-3-Clause" ]
1
2017-10-12T09:25:19.000Z
2017-10-12T09:25:19.000Z
# -*- coding: utf-8 -*- from django.http import HttpResponse from django.template.loader import render_to_string from django.template import RequestContext from django.template.defaultfilters import slugify from django.conf import settings from django.utils.translation import ugettext as _ from ionyweb.loaders.manife...
30.571429
91
0.675234
106
856
5.349057
0.490566
0.10582
0.095238
0.056437
0.183422
0.126984
0
0
0
0
0
0.004431
0.209112
856
28
92
30.571429
0.833087
0.336449
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.538462
0
0.923077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
59ae232f00f0e4b66cd3adec3365cc81c5955ce8
876
py
Python
web/core/migrations/0177_admintransactioncomment.py
MTES-MCT/biocarburants
ff084916e18cdbdc41400f36fa6cc76a5e05900e
[ "MIT" ]
4
2020-03-22T18:13:12.000Z
2021-01-25T10:33:31.000Z
web/core/migrations/0177_admintransactioncomment.py
MTES-MCT/carbure
2876756b760ab4866fa783bb40e61a046eebb1ab
[ "MIT" ]
20
2020-07-06T14:33:14.000Z
2022-03-15T16:54:17.000Z
web/core/migrations/0177_admintransactioncomment.py
MTES-MCT/biocarburants
ff084916e18cdbdc41400f36fa6cc76a5e05900e
[ "MIT" ]
4
2020-04-03T12:19:12.000Z
2021-06-15T12:20:57.000Z
# Generated by Django 3.2.4 on 2021-07-27 07:05 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0176_auto_20210726_1338'), ] operations = [ migrations.CreateModel( name='AdminTransact...
31.285714
114
0.589041
82
876
6.134146
0.646341
0.047714
0.055666
0.087475
0
0
0
0
0
0
0
0.0496
0.28653
876
27
115
32.444444
0.7552
0.05137
0
0
1
0
0.22316
0.112183
0
0
0
0
0
1
0
false
0
0.095238
0
0.238095
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
59b156629965d8c5bbf9c1be732a856a1c171aa6
2,479
py
Python
microdevices/libs/mock.py
lmokto/microdevices
75a129d1c32f64afe9027338c4be304322ded857
[ "MIT" ]
null
null
null
microdevices/libs/mock.py
lmokto/microdevices
75a129d1c32f64afe9027338c4be304322ded857
[ "MIT" ]
1
2021-06-02T00:01:14.000Z
2021-06-02T00:01:14.000Z
microdevices/libs/mock.py
lmokto/microdevices
75a129d1c32f64afe9027338c4be304322ded857
[ "MIT" ]
null
null
null
import numpy as np import random from shapely.geometry import Point from shapely.geometry import Polygon class Mock(object): """ mock = Mock(**{'type':'int','low': 20, 'high': 40, 'size': 1}) mock.get() """ low = 0 size = 0 high = 0 polygon = None minx = None miny = N...
26.094737
99
0.517951
293
2,479
4.320819
0.249147
0.042654
0.028436
0.039494
0.041074
0.041074
0
0
0
0
0
0.050868
0.349738
2,479
94
100
26.37234
0.734491
0.127067
0
0.052632
0
0
0.020876
0
0
0
0
0
0
1
0.105263
false
0
0.070175
0
0.508772
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
59b4ae90c09fd064c64e2e56ae5279b9001aabec
210
py
Python
public/uploads/20180327/d8f599f81787c8c5611a9a4db31617f4.py
kudoxi/hanshoushou
24aa6066cebeb902313eda136a3d2d6034b3ded2
[ "Apache-2.0" ]
null
null
null
public/uploads/20180327/d8f599f81787c8c5611a9a4db31617f4.py
kudoxi/hanshoushou
24aa6066cebeb902313eda136a3d2d6034b3ded2
[ "Apache-2.0" ]
null
null
null
public/uploads/20180327/d8f599f81787c8c5611a9a4db31617f4.py
kudoxi/hanshoushou
24aa6066cebeb902313eda136a3d2d6034b3ded2
[ "Apache-2.0" ]
null
null
null
num = 11 while num <= 10: num += 1 if num == 3: continue if num == 4: print('4') break else: #不满足条件或程序报错 print('wrong') print() # 等价于print(end = "\n") 自动换行 print(end = "\n")
16.153846
38
0.495238
29
210
3.586207
0.62069
0.096154
0
0
0
0
0
0
0
0
0
0.056738
0.328571
210
13
39
16.153846
0.680851
0.171429
0
0
0
0
0.049689
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
59bb66c7e66bebfe3cbe394e130f8b2f065be6af
1,794
py
Python
src/injecta/service/class_/InspectedArgumentsResolver.py
DataSentics/injecta
090eeac6c76c43d40be71df678222a07b0a3c783
[ "MIT" ]
3
2021-09-27T12:55:00.000Z
2022-01-31T19:13:23.000Z
src/injecta/service/class_/InspectedArgumentsResolver.py
DataSentics/injecta
090eeac6c76c43d40be71df678222a07b0a3c783
[ "MIT" ]
null
null
null
src/injecta/service/class_/InspectedArgumentsResolver.py
DataSentics/injecta
090eeac6c76c43d40be71df678222a07b0a3c783
[ "MIT" ]
1
2021-03-04T09:12:05.000Z
2021-03-04T09:12:05.000Z
from typing import List from inspect import signature as create_inspect_signature from injecta.dtype.DType import DType from injecta.service.class_.InspectedArgument import InspectedArgument from injecta.service.class_.InspectedArgumentResolver import InspectedArgumentResolver from injecta.module import attribute_loade...
42.714286
132
0.749164
199
1,794
6.281407
0.301508
0.084
0.064
0.072
0.2312
0.204
0.204
0.204
0.1344
0.1344
0
0.002028
0.175585
1,794
41
133
43.756098
0.843137
0.025084
0
0.074074
0
0
0.019462
0
0
0
0
0
0
1
0.185185
false
0
0.222222
0
0.62963
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
59cab1458d089a7d4f148d98272c048fce1c8eff
488
py
Python
EPFlask/app/__init__.py
wushenchao/Python-Flask
eebe5be254cf4f1128555e741eadaaf53277a8f9
[ "MIT" ]
null
null
null
EPFlask/app/__init__.py
wushenchao/Python-Flask
eebe5be254cf4f1128555e741eadaaf53277a8f9
[ "MIT" ]
null
null
null
EPFlask/app/__init__.py
wushenchao/Python-Flask
eebe5be254cf4f1128555e741eadaaf53277a8f9
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_login import LoginManager from flask_openid import OpenID from config import basedir app = Flask(__name__) # 获取配置信息 app.config.setdefault( 'SQLALCHEMY_TRACK_MODIFICATIONS', True ) app.config.from_object('con...
21.217391
47
0.778689
71
488
5.183099
0.450704
0.097826
0
0
0
0
0
0
0
0
0
0
0.125
488
22
48
22.181818
0.861827
0.055328
0
0
0
0
0.095861
0.065359
0
0
0
0
0
1
0
false
0
0.411765
0
0.411765
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
59d4582fff6cb44a5b504de963b35a112f5e3151
526
py
Python
process_data/roi.py
lyzMaster/deepgta5
c86475e8792fed1bd296e4f455b5472009740720
[ "MIT" ]
25
2018-10-12T12:11:13.000Z
2020-12-21T15:13:42.000Z
process_data/roi.py
lyzMaster/deepgta5
c86475e8792fed1bd296e4f455b5472009740720
[ "MIT" ]
null
null
null
process_data/roi.py
lyzMaster/deepgta5
c86475e8792fed1bd296e4f455b5472009740720
[ "MIT" ]
4
2018-10-12T13:40:02.000Z
2019-09-01T11:42:16.000Z
import numpy as np import cv2 import osdesert import imgdesert vertex = np.array([[0, 391], [0, 250], [750, 0], [850, 0], [1596, 300], [1596, 391]], np.int32) def roi(img, vertex): image = cv2.imread(img) mask = np.zeros_like(image) cv2.fillPoly(mask, vertex, [255,255,255]) masked = cv2.bitwise_and(i...
27.684211
101
0.6673
80
526
4.35
0.525
0.068966
0.12931
0.126437
0
0
0
0
0
0
0
0.103139
0.152091
526
18
102
29.222222
0.67713
0
0
0
0
0
0.155894
0.15019
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.461538
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
59e3de37a205c42e59f29e09e30f8464c7b34119
340
py
Python
submissions/arc046/b.py
m-star18/atcoder
08e475810516602fa088f87daf1eba590b4e07cc
[ "Unlicense" ]
1
2021-05-10T01:16:28.000Z
2021-05-10T01:16:28.000Z
submissions/arc046/b.py
m-star18/atcoder
08e475810516602fa088f87daf1eba590b4e07cc
[ "Unlicense" ]
3
2021-05-11T06:14:15.000Z
2021-06-19T08:18:36.000Z
submissions/arc046/b.py
m-star18/atcoder
08e475810516602fa088f87daf1eba590b4e07cc
[ "Unlicense" ]
null
null
null
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines sys.setrecursionlimit(10 ** 7) n = int(readline()) a, b = map(int, readline().split()) if a == b: print('Aoki' if n % (a + 1) == 0 and n > a else 'Takahashi') else: print('Takahashi' if n <= a or...
26.153846
64
0.647059
56
340
3.928571
0.446429
0.109091
0.190909
0
0
0
0
0
0
0
0
0.017986
0.182353
340
12
65
28.333333
0.773381
0
0
0
0
0
0.076471
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.181818
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
59e7b1093975c753abb58ef3d1121017246e67c7
900
py
Python
watch/addcolumns.py
karlmcguire/hawk
077288fa94bcf44bad778a734dba10319eda32ee
[ "MIT" ]
null
null
null
watch/addcolumns.py
karlmcguire/hawk
077288fa94bcf44bad778a734dba10319eda32ee
[ "MIT" ]
null
null
null
watch/addcolumns.py
karlmcguire/hawk
077288fa94bcf44bad778a734dba10319eda32ee
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import os DMAXIND = 2 DMININD = 3 CLOSEIND = 4 MCAPIND = 6 DUMPIND = 7 for name in os.listdir("../data"): fin = open("../data/"+name) mat = [l.strip().split(',') + ["-", "-"] for l in fin.readlines()] passedrows = 1 passedsome = 0 for i, row in enumerate(mat): ...
18.75
109
0.508889
105
900
4.361905
0.561905
0.021834
0
0
0
0
0
0
0
0
0
0.016779
0.337778
900
47
110
19.148936
0.751678
0.085556
0
0
0
0
0.056166
0
0
0
0
0
0
1
0
false
0.259259
0.037037
0
0.037037
0.074074
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
ab66ec35a737182729c0254361b1b1c2f452efdd
9,814
py
Python
topicsketch/topic_sketch.py
zengjichuan/topicsketch
87583224a8f8a01f9f3075197e13380c3dffbf0c
[ "Apache-2.0" ]
null
null
null
topicsketch/topic_sketch.py
zengjichuan/topicsketch
87583224a8f8a01f9f3075197e13380c3dffbf0c
[ "Apache-2.0" ]
null
null
null
topicsketch/topic_sketch.py
zengjichuan/topicsketch
87583224a8f8a01f9f3075197e13380c3dffbf0c
[ "Apache-2.0" ]
1
2020-10-16T08:31:31.000Z
2020-10-16T08:31:31.000Z
__author__ = 'Wei Xie' __email__ = 'linegroup3@gmail.com' __affiliation__ = 'Living Analytics Research Centre, Singapore Management University' __website__ = 'http://mysmu.edu/phdis2012/wei.xie.2012' import math from collections import deque from datetime import datetime from scipy.sparse import dok_matrix from scip...
29.739394
111
0.562564
1,228
9,814
4.212541
0.17671
0.030157
0.030157
0.028417
0.248019
0.197951
0.181326
0.163541
0.131838
0.131838
0
0.021464
0.33065
9,814
329
112
29.829787
0.766022
0.016711
0
0.170306
0
0
0.04477
0.006648
0
0
0
0
0
0
null
null
0.004367
0.056769
null
null
0.021834
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
ab6a8bb4929b4d1de3277b67dfc560a65368dd09
371
py
Python
commodore/__init__.py
laserb/commodore
65dc21cf03f26ab103efe76fc63c3c4fbf757b3d
[ "BSD-3-Clause" ]
39
2019-12-17T13:40:19.000Z
2021-12-31T08:22:52.000Z
commodore/__init__.py
laserb/commodore
65dc21cf03f26ab103efe76fc63c3c4fbf757b3d
[ "BSD-3-Clause" ]
161
2020-02-14T18:32:49.000Z
2022-03-25T09:23:35.000Z
commodore/__init__.py
laserb/commodore
65dc21cf03f26ab103efe76fc63c3c4fbf757b3d
[ "BSD-3-Clause" ]
12
2019-12-18T15:43:09.000Z
2021-06-28T11:51:59.000Z
""" Commodore. Build dynamic inventories and compile catalogs with Kapitan """ from pathlib import Path as P from importlib_metadata import version __url__ = "https://github.com/projectsyn/commodore/" __git_version__ = "0" __version__ = version("syn-commodore") # provide Commodore installation dir as variable that ca...
28.538462
70
0.792453
48
371
5.645833
0.770833
0
0
0
0
0
0
0
0
0
0
0.003077
0.123989
371
12
71
30.916667
0.830769
0.374663
0
0
0
0
0.241071
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
ab6caad2c30fdcc802430cb9da70a57c05a304cd
1,340
py
Python
chi2plookup/cli.py
MoseleyBioinformaticsLab/chi2plookup
f89d2f103d56f5be3388186955dccf5784b102c6
[ "BSD-3-Clause-Clear" ]
null
null
null
chi2plookup/cli.py
MoseleyBioinformaticsLab/chi2plookup
f89d2f103d56f5be3388186955dccf5784b102c6
[ "BSD-3-Clause-Clear" ]
null
null
null
chi2plookup/cli.py
MoseleyBioinformaticsLab/chi2plookup
f89d2f103d56f5be3388186955dccf5784b102c6
[ "BSD-3-Clause-Clear" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ chi2plookup command-line interface Usage: chi2plookup -h | --help chi2plookup --version chi2plookup generate [--headerfile=<path>] [--precision=<precision>] [--df=<df>] [--start_chi=<start_chi>] [--verbose] Options: -h, --help Show...
40.606061
122
0.53806
125
1,340
5.696
0.528
0.067416
0.081461
0.044944
0
0
0
0
0
0
0
0.021348
0.335821
1,340
32
123
41.875
0.778652
0.598507
0
0
1
0
0.10397
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ab7a87752aa2546d84372bc4b9939da0c773c1ac
520
py
Python
ex019 - Sorteando um item na lista.py
marvincosmo/Python-Curso-em-Video
47ee3dd6423835e7bca159ffd7ee796423569176
[ "MIT" ]
null
null
null
ex019 - Sorteando um item na lista.py
marvincosmo/Python-Curso-em-Video
47ee3dd6423835e7bca159ffd7ee796423569176
[ "MIT" ]
null
null
null
ex019 - Sorteando um item na lista.py
marvincosmo/Python-Curso-em-Video
47ee3dd6423835e7bca159ffd7ee796423569176
[ "MIT" ]
null
null
null
""" 19 - Um professor quer sortear um dos seus quatro alunos para apagar o quadro. Faça um programa que ajude ele, lendo o nome dos alunos e escrevendo na tela o nome do escolhido.""" from random import choice n1 = str(input('Informe o nome do primeiro aluno: ')) n2 = str(input('Informe o nome do segundo aluno: ')) n3...
47.272727
183
0.715385
88
520
4.227273
0.522727
0.080645
0.094086
0.172043
0.236559
0.236559
0
0
0
0
0
0.023256
0.173077
520
10
184
52
0.84186
0.338462
0
0
0
0
0.495549
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
ab8afdb241bf90d8a7120f06f0aee30234191ccb
3,043
py
Python
tests/scaffolds/test_table/test_sample_size.py
filfreire/questions-three
1d1d621d5647407bf2d1b271e0b9c7c9f1afc5c8
[ "MIT" ]
5
2019-07-22T06:04:07.000Z
2021-07-23T06:01:51.000Z
tests/scaffolds/test_table/test_sample_size.py
filfreire/questions-three
1d1d621d5647407bf2d1b271e0b9c7c9f1afc5c8
[ "MIT" ]
15
2020-07-28T17:33:40.000Z
2021-08-23T17:30:05.000Z
tests/scaffolds/test_table/test_sample_size.py
filfreire/questions-three
1d1d621d5647407bf2d1b271e0b9c7c9f1afc5c8
[ "MIT" ]
4
2019-08-25T22:41:59.000Z
2020-10-21T14:28:15.000Z
from functools import partial from unittest import TestCase, main from expects import expect, equal from twin_sister.expects_matchers import complain from twin_sister.fakes import FunctionSpy from questions_three.constants import TestEvent from questions_three.exceptions import TestSkipped from questions_three.event_...
36.662651
103
0.708183
394
3,043
5.14467
0.269036
0.054267
0.047361
0.051801
0.442033
0.442033
0.406512
0.372965
0.25555
0.196349
0
0.006523
0.193888
3,043
82
104
37.109756
0.819812
0
0
0.12069
0
0
0.07164
0
0
0
0
0
0.034483
1
0.224138
false
0.017241
0.155172
0
0.396552
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
ab8f4d15b6ba9c9f1fcd01e578b99aca0b48dc72
3,701
py
Python
tests/components/halohome/test_config_flow.py
nayaverdier/core
7352602e47c2de0e54a20f427559c00bad2cd7b8
[ "Apache-2.0" ]
null
null
null
tests/components/halohome/test_config_flow.py
nayaverdier/core
7352602e47c2de0e54a20f427559c00bad2cd7b8
[ "Apache-2.0" ]
null
null
null
tests/components/halohome/test_config_flow.py
nayaverdier/core
7352602e47c2de0e54a20f427559c00bad2cd7b8
[ "Apache-2.0" ]
null
null
null
"""HALO Home integration config flow tests.""" from unittest.mock import patch import halohome from homeassistant import config_entries from homeassistant.components.halohome.const import CONF_LOCATIONS, DOMAIN from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME from homeassistant.core import Home...
30.089431
85
0.668738
442
3,701
5.341629
0.264706
0.066074
0.038119
0.053367
0.418467
0.357052
0.350275
0.350275
0.350275
0.350275
0
0.01037
0.218319
3,701
122
86
30.336066
0.805738
0.010808
0
0.247423
0
0
0.137283
0.022786
0
0
0
0
0.175258
1
0.010309
false
0.051546
0.082474
0
0.113402
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
ab9a1047cc85a888c11c5261c4de6cadfca30d3a
255
py
Python
examples/sessions/multi_sessions.py
admariner/aim
4c143ea40acf3531abfa69f66503428d73d9fedc
[ "Apache-2.0" ]
1
2021-07-19T19:21:30.000Z
2021-07-19T19:21:30.000Z
examples/sessions/multi_sessions.py
admariner/aim
4c143ea40acf3531abfa69f66503428d73d9fedc
[ "Apache-2.0" ]
2
2021-08-25T16:17:16.000Z
2022-02-10T05:49:55.000Z
examples/sessions/multi_sessions.py
admariner/aim
4c143ea40acf3531abfa69f66503428d73d9fedc
[ "Apache-2.0" ]
1
2021-01-29T02:10:14.000Z
2021-01-29T02:10:14.000Z
from aim import Session sess1 = Session(experiment='line') sess2 = Session(experiment='linex2') sess1.set_params({ 'k': '1', }) sess2.set_params({ 'k': '2', }) for i in range(10): sess1.track(i, name='val') sess2.track(i*2, name='val')
15.9375
36
0.619608
38
255
4.105263
0.578947
0.217949
0.128205
0
0
0
0
0
0
0
0
0.057143
0.176471
255
15
37
17
0.685714
0
0
0.166667
0
0
0.078431
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
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
ab9a35fd501974e86b24593f8ff2dcba34242c22
880
py
Python
setup.py
praekeltfoundation/ge-messaging-consent
60a50ebf89afaced6e3ceecde52d5cbe870df07e
[ "BSD-3-Clause" ]
1
2020-07-14T13:55:25.000Z
2020-07-14T13:55:25.000Z
setup.py
praekeltfoundation/messaging-consenter
60a50ebf89afaced6e3ceecde52d5cbe870df07e
[ "BSD-3-Clause" ]
10
2020-04-09T14:29:46.000Z
2020-09-15T11:23:01.000Z
setup.py
praekeltfoundation/ge-messaging-consent
60a50ebf89afaced6e3ceecde52d5cbe870df07e
[ "BSD-3-Clause" ]
1
2020-07-14T13:55:28.000Z
2020-07-14T13:55:28.000Z
from setuptools import find_packages, setup setup( name="messaging-consenter", version="1.0.0", url="http://github.com/praekeltfoundation/messaging-consenter", license="BSD", author="Praekelt Foundation", author_email="dev@praekeltfoundation.org", packages=find_packages(), include_packa...
29.333333
71
0.590909
96
880
5.354167
0.635417
0.046693
0.097276
0
0
0
0
0
0
0
0
0.040602
0.244318
880
29
72
30.344828
0.732331
0
0
0.071429
0
0
0.523864
0.089773
0
0
0
0
0
1
0
true
0
0.035714
0
0.035714
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
abb31efff7d21cdf0898dd79e8e3953b902599b1
69,035
py
Python
streamdeckfs/commands/api.py
twidi/streamdeckify
5795b0610f950aab67543f47e2e5d20e99fc88d7
[ "MIT" ]
9
2021-07-29T18:35:28.000Z
2022-01-25T10:10:22.000Z
streamdeckfs/commands/api.py
twidi/streamdeckify
5795b0610f950aab67543f47e2e5d20e99fc88d7
[ "MIT" ]
31
2021-05-25T15:33:08.000Z
2021-06-06T19:16:12.000Z
streamdeckfs/commands/api.py
twidi/streamdeckify
5795b0610f950aab67543f47e2e5d20e99fc88d7
[ "MIT" ]
1
2022-02-16T05:27:41.000Z
2022-02-16T05:27:41.000Z
# # Copyright (C) 2021 Stephane "Twidi" Angel <s.angel@twidi.com> # # This file is part of StreamDeckFS # (see https://github.com/twidi/streamdeckfs). # # License: MIT, see https://opensource.org/licenses/MIT # import json import re import shutil from pathlib import Path from random import randint import click import ...
35.843718
153
0.63278
9,405
69,035
4.378628
0.043275
0.0271
0.043515
0.036449
0.752313
0.701998
0.668706
0.638474
0.589859
0.548044
0
0.001799
0.251264
69,035
1,925
154
35.862338
0.794908
0.049308
0
0.591047
0
0.010284
0.162314
0.021476
0.000605
0
0
0
0.000605
1
0.061101
false
0.00363
0.007864
0.011494
0.105263
0.028433
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
abbcd25866c26d7c141f8b20b17bb0769b986ee1
733
py
Python
tests/type_maps/test_method_type_map.py
jbpratt78/mypy_boto3
c1cfc39aa5643ca149dd6a4b16124826fcc28fa0
[ "MIT" ]
null
null
null
tests/type_maps/test_method_type_map.py
jbpratt78/mypy_boto3
c1cfc39aa5643ca149dd6a4b16124826fcc28fa0
[ "MIT" ]
null
null
null
tests/type_maps/test_method_type_map.py
jbpratt78/mypy_boto3
c1cfc39aa5643ca149dd6a4b16124826fcc28fa0
[ "MIT" ]
null
null
null
import unittest from mypy_boto3_builder.service_name import ServiceNameCatalog from mypy_boto3_builder.type_maps.method_type_map import get_method_type_stub class MethodTypeMapTestCase(unittest.TestCase): def test_get_method_type_stub(self) -> None: self.assertTrue( get_method_type_stub( ...
30.541667
77
0.628922
72
733
6.027778
0.486111
0.138249
0.14977
0.195853
0.389401
0.389401
0.389401
0.24424
0.24424
0
0
0.009653
0.293315
733
23
78
31.869565
0.828185
0
0
0.25
0
0
0.100955
0
0
0
0
0
0.15
1
0.05
false
0
0.15
0
0.25
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
abc0a29e736d0e8f810194a1534c56b28958dd28
1,886
py
Python
src/util/video_output.py
moritzschaefer/GazeML
7c24d3a3d3a1b3cc7cbce6c94375f3c846108fc6
[ "MIT" ]
null
null
null
src/util/video_output.py
moritzschaefer/GazeML
7c24d3a3d3a1b3cc7cbce6c94375f3c846108fc6
[ "MIT" ]
null
null
null
src/util/video_output.py
moritzschaefer/GazeML
7c24d3a3d3a1b3cc7cbce6c94375f3c846108fc6
[ "MIT" ]
null
null
null
import queue import threading import time import cv2 as cv class RecordVideoThread(threading.Thread): def __init__(self, group=None, target=None, name=None, args=(), kwargs={}, daemon=None): super(RecordVideoThread, self).__init__(group, target=self._record_frame, ...
37.72
99
0.589608
234
1,886
4.410256
0.299145
0.148256
0.197674
0.077519
0.172481
0.120155
0.069767
0.069767
0.069767
0
0
0.006344
0.331389
1,886
49
100
38.489796
0.812054
0
0
0.045455
0
0
0.003712
0
0
0
0
0
0.022727
1
0.068182
false
0
0.090909
0
0.181818
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
abc13a2e16d0f2811ebd2f7e937049f5ec19dd48
11,161
py
Python
backend/api/migrations/0001_initial.py
cerob/bounswe2018group6
6f18bfa629a7422862151050a4e187163baddb68
[ "MIT" ]
12
2018-02-06T06:52:07.000Z
2021-04-11T15:19:15.000Z
backend/api/migrations/0001_initial.py
ozgursolak/bounswe2018group6
6f18bfa629a7422862151050a4e187163baddb68
[ "MIT" ]
151
2018-02-11T20:53:48.000Z
2019-01-08T08:35:46.000Z
backend/api/migrations/0001_initial.py
ozgursolak/bounswe2018group6
6f18bfa629a7422862151050a4e187163baddb68
[ "MIT" ]
7
2018-02-06T20:27:25.000Z
2019-02-23T10:10:01.000Z
# Generated by Django 2.1.2 on 2018-10-28 10:37 from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True ...
54.179612
329
0.604605
1,117
11,161
5.863921
0.189794
0.036947
0.032061
0.050382
0.611603
0.590229
0.56
0.474809
0.468855
0.453282
0
0.006974
0.254816
11,161
205
330
54.443902
0.78057
0.004032
0
0.580808
1
0
0.180493
0.018805
0
0
0
0
0
1
0
false
0.005051
0.030303
0
0.050505
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
abc1a5f7c7855f22f1189c9b78a7eaab6c7ed961
469
py
Python
experiments/speaker_verification/encoder/params_model.py
onucharles/tensorized-rnn
69fc031f1efe169ee88327d10bdf5e5bc24f03cf
[ "MIT" ]
16
2020-11-19T16:10:17.000Z
2021-12-02T13:31:30.000Z
experiments/speaker_verification/encoder/params_model.py
kritostudent/tensorized-rnn
69fc031f1efe169ee88327d10bdf5e5bc24f03cf
[ "MIT" ]
2
2021-02-26T08:45:16.000Z
2021-08-11T13:47:43.000Z
experiments/speaker_verification/encoder/params_model.py
kritostudent/tensorized-rnn
69fc031f1efe169ee88327d10bdf5e5bc24f03cf
[ "MIT" ]
7
2021-01-21T11:24:31.000Z
2022-03-21T08:59:08.000Z
# Model parameters model_hidden_size = 768 model_embedding_size = 256 model_num_layers = 1 # Training parameters n_steps = 2e4 learning_rate_init = 1e-3 speakers_per_batch = 16 utterances_per_speaker = 32 ## Tensor-train parameters for last linear layer. compression = 'tt' n_cores = 2 rank = 2 # Evaluation and Test...
18.76
49
0.797441
72
469
4.833333
0.611111
0.094828
0.137931
0.189655
0
0
0
0
0
0
0
0.0625
0.147122
469
24
50
19.541667
0.8075
0.268657
0
0
0
0
0.00597
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
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
abd26f0846ec7a76eeef59829094fe912af60c2f
2,523
py
Python
test_vectores.py
euribates/Jupyter
a199655436cc4ccd41ec22398a1c5212c541f24b
[ "MIT" ]
null
null
null
test_vectores.py
euribates/Jupyter
a199655436cc4ccd41ec22398a1c5212c541f24b
[ "MIT" ]
null
null
null
test_vectores.py
euribates/Jupyter
a199655436cc4ccd41ec22398a1c5212c541f24b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from math import pi, cos, isclose import pytest from vectores import Vector2 def test_create_from_x_and_y(): v = Vector2(3, 4) assert v.x == 3 assert v.y == 4 def test_create_from_tuple(): t = (3, 7) v = Vector2(t) assert v.x == 3 assert v.y...
18.282609
61
0.580262
415
2,523
3.337349
0.190361
0.116245
0.065704
0.036101
0.455596
0.432491
0.351625
0.327076
0.285199
0.285199
0
0.09056
0.277844
2,523
137
62
18.416058
0.669594
0.017043
0
0.236559
0
0
0.003228
0
0
0
0
0
0.344086
1
0.247312
false
0
0.032258
0
0.27957
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
abd863eb8e04e2dcf021f9bf69c70940ab78f2f4
1,262
py
Python
Restconf/Restconf_IOS-XE_GetIntstats.py
Jrkosse/Netops
399aa9c27a9aeb5d5cd50f9812b31e6450ea2fc5
[ "MIT" ]
null
null
null
Restconf/Restconf_IOS-XE_GetIntstats.py
Jrkosse/Netops
399aa9c27a9aeb5d5cd50f9812b31e6450ea2fc5
[ "MIT" ]
null
null
null
Restconf/Restconf_IOS-XE_GetIntstats.py
Jrkosse/Netops
399aa9c27a9aeb5d5cd50f9812b31e6450ea2fc5
[ "MIT" ]
null
null
null
#!/usr/bin/python # Jeremy Kosse 10/30/2020 # # # # - Gets interface stats from an IOS-XE device # import requests import json # Welcome print("Welcome to the Netconf_IOS-XE_BGP.py Script!") print("*" * 80) # Variable collection host_value = input("Host: ") port_value = input("Port: ") username = input("Username: ")...
26.851064
133
0.706815
174
1,262
5.091954
0.436782
0.022573
0.038375
0.051919
0.221219
0.221219
0.1693
0.1693
0.1693
0.1693
0
0.01106
0.140254
1,262
47
134
26.851064
0.80553
0.413629
0
0
0
0.045455
0.390345
0.10069
0
0
0
0
0
1
0
false
0.136364
0.090909
0
0.090909
0.136364
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
abd903ddda0ef39e3299dbb1a126a5fcff285817
2,115
py
Python
src/config/settings.py
d3dmenu/crypto-master
4dc123fd967fabfad407ea19af09a2fd0fba56e3
[ "MIT" ]
null
null
null
src/config/settings.py
d3dmenu/crypto-master
4dc123fd967fabfad407ea19af09a2fd0fba56e3
[ "MIT" ]
1
2021-12-05T15:41:08.000Z
2021-12-05T15:41:08.000Z
src/config/settings.py
d3dmenu/crypto-master
4dc123fd967fabfad407ea19af09a2fd0fba56e3
[ "MIT" ]
null
null
null
import os import sys import environ env = environ.Env() # API Coin market cap API_KEY = env.str('API_KEY', '6cf06008-f1d3-45b2-9555-3ff76eec016e') # Base url path data forex realtime scraping urls = { 'forex-market': 'https://scanner.tradingview.com/forex/scan', 'coin-market-all': 'https://pro-api.coinmarke...
42.3
206
0.713002
354
2,115
4.440678
0.5
0.022901
0.022901
0.017176
0.178753
0.178753
0.169847
0.083333
0.052799
0.031807
0
0.045872
0.123877
2,115
49
207
43.163265
0.75877
0.156974
0
0
0
0.103448
0.652739
0.22699
0
0
0
0
0
1
0
false
0
0.103448
0
0.103448
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
abe3551f2f768ae630e862ad786654231dbfe258
987
py
Python
trainer/craft/config/load_config.py
ishine/EasyOCR
ab7cebb64482e5e50ee7a37fa50398b8cb7481c7
[ "Apache-2.0" ]
56
2020-03-15T01:43:40.000Z
2020-04-15T01:42:53.000Z
trainer/craft/config/load_config.py
ishine/EasyOCR
ab7cebb64482e5e50ee7a37fa50398b8cb7481c7
[ "Apache-2.0" ]
3
2020-03-19T02:45:17.000Z
2020-03-29T23:19:11.000Z
trainer/craft/config/load_config.py
ishine/EasyOCR
ab7cebb64482e5e50ee7a37fa50398b8cb7481c7
[ "Apache-2.0" ]
13
2020-03-16T09:35:03.000Z
2020-04-11T07:45:37.000Z
import os import yaml from functools import reduce CONFIG_PATH = os.path.dirname(__file__) def load_yaml(config_name): with open(os.path.join(CONFIG_PATH, config_name)+ '.yaml') as file: config = yaml.safe_load(file) return config class DotDict(dict): def __getattr__(self, k): ...
26.675676
72
0.536981
122
987
4.131148
0.368852
0.049603
0.077381
0.063492
0.087302
0.087302
0.087302
0
0
0
0
0
0.352584
987
37
73
26.675676
0.788732
0
0
0.133333
0
0
0.008403
0
0
0
0
0
0
1
0.133333
false
0
0.1
0
0.566667
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
abe744c07c381f58d400ac2a5bbf9d1c5c0c3958
1,505
py
Python
IMP Simplepolator/Simplepolator 7 steps.py
andrestelex/Impallari-Fontlab-Macros
ed9f57715dd376b513ce1a7ddb4d683e893a849b
[ "Apache-2.0" ]
10
2015-02-25T11:38:56.000Z
2020-11-19T22:47:08.000Z
IMP Simplepolator/Simplepolator 7 steps.py
andrestelex/Impallari-Fontlab-Macros
ed9f57715dd376b513ce1a7ddb4d683e893a849b
[ "Apache-2.0" ]
3
2015-06-24T05:03:06.000Z
2016-07-28T00:37:31.000Z
IMP Simplepolator/Simplepolator 7 steps.py
andrestelex/Impallari-Fontlab-Macros
ed9f57715dd376b513ce1a7ddb4d683e893a849b
[ "Apache-2.0" ]
5
2017-04-20T11:09:47.000Z
2021-05-19T22:17:53.000Z
#FLM: Simplepolator 7 steps # Simplepolator v1.1 # Description: # A simple macro to interpolate compatible glyphs inside FontLab. # To easily apply the Gunnlaugur SE Briem's method # http://66.147.242.192/~operinan/2/2.3.3a/2.3.3.02.tests.htm # Credits: # Pablo Impallari # http://www.impallari.com/projects/overview/...
24.274194
67
0.69103
215
1,505
4.832558
0.376744
0.256015
0.047161
0.115496
0.14437
0.14437
0
0
0
0
0
0.079109
0.134884
1,505
61
68
24.672131
0.718894
0.208638
0
0.064516
0
0
0.287648
0
0
0
0
0
0
1
0
false
0
0.064516
0
0.064516
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
abea29fb40a820d2dd16fb56611ad1e84caac4d6
2,090
py
Python
analyze.py
theAeon/xe-guest-utilities
322620c76d98b90445c5f07d907c9f042c799ba6
[ "BSD-2-Clause" ]
5
2019-06-07T19:34:55.000Z
2022-02-04T19:08:40.000Z
analyze.py
theAeon/xe-guest-utilities
322620c76d98b90445c5f07d907c9f042c799ba6
[ "BSD-2-Clause" ]
11
2020-09-25T10:40:55.000Z
2022-01-25T09:24:21.000Z
analyze.py
theAeon/xe-guest-utilities
322620c76d98b90445c5f07d907c9f042c799ba6
[ "BSD-2-Clause" ]
13
2020-06-16T16:28:57.000Z
2022-01-19T07:21:23.000Z
import sys import argparse import json def cnt_on_rule_id(issues, rule_id): return len([issue for issue in issues if issue['rule_id'] == rule_id]) def write_issue(f, issue, idx): f.write('Issue %d\\n' % idx) for k, v in issue.iteritems(): f.write('|%s|%s|\\n' % (k, v)) def analyze(js, formatte...
25.802469
81
0.577033
282
2,090
4.12766
0.29078
0.066151
0.042955
0.041237
0.308419
0.195876
0.156357
0.156357
0.089347
0.089347
0
0.006662
0.281818
2,090
80
82
26.125
0.768821
0
0
0.20339
0
0
0.19043
0
0
0
0
0
0
0
null
null
0
0.050847
null
null
0.084746
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
abec6b08d519b8d3dfe8555f54560ebbc8cb8fa9
338
py
Python
mongoladdu/cli.py
dataladdu/mongoladdu
984a025de760cd2e425d4020bab4e922f1b8268d
[ "MIT" ]
null
null
null
mongoladdu/cli.py
dataladdu/mongoladdu
984a025de760cd2e425d4020bab4e922f1b8268d
[ "MIT" ]
null
null
null
mongoladdu/cli.py
dataladdu/mongoladdu
984a025de760cd2e425d4020bab4e922f1b8268d
[ "MIT" ]
null
null
null
import click from mongoladdu import logger from mongoladdu.migrations import MongoLaddu @click.group() @click.argument('env') @click.pass_context def cli(ctx, env): logger.init("mongoladdu.migrations") ctx.obj = MongoLaddu(env) @cli.command() @click.pass_obj def run(ctx): ctx.run() if __name__ == '__...
15.363636
44
0.710059
45
338
5.111111
0.466667
0.121739
0
0
0
0
0
0
0
0
0
0
0.153846
338
22
45
15.363636
0.804196
0
0
0
0
0
0.094395
0.061947
0
0
0
0
0
1
0.133333
false
0.133333
0.2
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
0
0
0
0
0
1
0
0
0
0
0
1
abf70340b9a50951958fad0f311db47ae5e6fb22
379
py
Python
manage.py
Alison67/NewsWebsite
16fc24ac33cf52032f78aecd4631d1c43cd0d42b
[ "MIT" ]
null
null
null
manage.py
Alison67/NewsWebsite
16fc24ac33cf52032f78aecd4631d1c43cd0d42b
[ "MIT" ]
null
null
null
manage.py
Alison67/NewsWebsite
16fc24ac33cf52032f78aecd4631d1c43cd0d42b
[ "MIT" ]
null
null
null
from flask_migrate import Migrate, MigrateCommand from flask_script import Manager from info import create_app,db # 通过指定的配置名字创建对应配置的app # create_app类似于工厂方法 app = create_app("development") # 创建一个flask_script对象托管app,使其支持命令行运行 manager = Manager(app) # 数据库迁移 migrate = Migrate(app,db) # 添加迁移命令 manager.add_command("db",Mig...
21.055556
49
0.791557
46
379
6.195652
0.543478
0.063158
0
0
0
0
0
0
0
0
0
0
0.118734
379
18
50
21.055556
0.853293
0.221636
0
0
0
0
0.072414
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
abfa1ac6ea3611bc1b08fabc990dcf73f5ee5610
4,620
py
Python
tools/ssa_decompose.py
UnIcOrn7618/MonthlyRunoffForecastByAutoReg
2d66c628141f001e4ffb3dc3b7520a0f0f0ff239
[ "MIT" ]
2
2020-09-24T13:31:06.000Z
2020-11-11T09:08:16.000Z
tools/ssa_decompose.py
UnIcOrn7618/MonthlyRunoffForecastByAutoReg
2d66c628141f001e4ffb3dc3b7520a0f0f0ff239
[ "MIT" ]
null
null
null
tools/ssa_decompose.py
UnIcOrn7618/MonthlyRunoffForecastByAutoReg
2d66c628141f001e4ffb3dc3b7520a0f0f0ff239
[ "MIT" ]
1
2020-12-16T07:29:32.000Z
2020-12-16T07:29:32.000Z
#%% import numpy as np from numpy import pi import pandas as pd import matplotlib.pyplot as plt import os root_path = os.path.dirname(os.path.abspath('__file__')) import sys sys.path.append(root_path+'/config/') from variables import train_len, dev_len,test_len from ssa import SSA station = 'Huaxian' # 'Huaxian', ...
32.083333
149
0.730519
724
4,620
4.495856
0.191989
0.175115
0.309677
0.03318
0.660215
0.636559
0.616897
0.579416
0.554839
0.554839
0
0.073224
0.113203
4,620
143
150
32.307692
0.721259
0.085714
0
0.508475
0
0
0.143402
0.065507
0
0
0
0
0
1
0
false
0
0.067797
0
0.067797
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
f9ef9548e0946e966744d54fe19b7d6dd2b702ac
2,194
py
Python
main/migrations/0001_initial.py
apfnomina/app-nomina
cb66e04ae5f1113eec2235746bd420a674a4fd91
[ "CC0-1.0" ]
null
null
null
main/migrations/0001_initial.py
apfnomina/app-nomina
cb66e04ae5f1113eec2235746bd420a674a4fd91
[ "CC0-1.0" ]
null
null
null
main/migrations/0001_initial.py
apfnomina/app-nomina
cb66e04ae5f1113eec2235746bd420a674a4fd91
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-05-24 00:43 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Ispt',...
49.863636
124
0.614859
252
2,194
5.210317
0.313492
0.102818
0.12262
0.143945
0.706017
0.654227
0.623762
0.623762
0.623762
0.559787
0
0.027594
0.240201
2,194
43
125
51.023256
0.760048
0.030994
0
0.4
1
0
0.082431
0
0
0
0
0
0
1
0
false
0
0.057143
0
0.171429
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
f9f0d0dba3df83b55aff4f16f74981910c5f5cc6
1,306
py
Python
tests/datatypes/test-date.py
thorstenb/pyxb
634e86f61dfb73a2900f32fc3d819e9c25365a49
[ "Apache-2.0" ]
null
null
null
tests/datatypes/test-date.py
thorstenb/pyxb
634e86f61dfb73a2900f32fc3d819e9c25365a49
[ "Apache-2.0" ]
null
null
null
tests/datatypes/test-date.py
thorstenb/pyxb
634e86f61dfb73a2900f32fc3d819e9c25365a49
[ "Apache-2.0" ]
null
null
null
import pyxb import unittest import pyxb.binding.datatypes as xsd import datetime class Test_date (unittest.TestCase): def verifyTime (self, dt, with_usec=True, with_adj=(0,0), with_tzinfo=True): self.assertEqual(2002, dt.year) self.assertEqual(10, dt.month) self.assertEqual(27, dt.day)...
34.368421
85
0.668453
173
1,306
4.942197
0.317919
0.081871
0.102924
0.106433
0.476023
0.421053
0.233918
0.2
0.2
0.2
0
0.08046
0.200613
1,306
37
86
35.297297
0.738506
0.053599
0
0.111111
0
0
0.068071
0
0
0
0
0
0.333333
1
0.222222
false
0
0.148148
0
0.407407
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
f9f2f1070795acaab477582f6346dd81232df4ad
3,398
py
Python
tests/pytests/unit/modules/test_monit.py
eiginn/salt
fae5bc757ad0f1716483ce7ae180b451545c2058
[ "Apache-2.0" ]
9,425
2015-01-01T05:59:24.000Z
2022-03-31T20:44:05.000Z
tests/pytests/unit/modules/test_monit.py
eiginn/salt
fae5bc757ad0f1716483ce7ae180b451545c2058
[ "Apache-2.0" ]
33,507
2015-01-01T00:19:56.000Z
2022-03-31T23:48:20.000Z
tests/pytests/unit/modules/test_monit.py
eiginn/salt
fae5bc757ad0f1716483ce7ae180b451545c2058
[ "Apache-2.0" ]
5,810
2015-01-01T19:11:45.000Z
2022-03-31T02:37:20.000Z
""" :codeauthor: Rupesh Tare <rupesht@saltstack.com> """ import pytest import salt.modules.monit as monit from tests.support.mock import MagicMock, patch @pytest.fixture def configure_loader_modules(): return {monit: {}} def test_start(): """ Test for start """ with patch.dict(monit.__salt...
26.138462
85
0.643908
407
3,398
5.164619
0.226044
0.078497
0.0804
0.111323
0.379638
0.379638
0.379638
0.363939
0.363939
0.363939
0
0.03161
0.208652
3,398
129
86
26.341085
0.750093
0.144791
0
0.25
0
0
0.185995
0.047425
0
0
0
0
0.267857
1
0.25
false
0
0.053571
0.017857
0.321429
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
f9f3b3de98d4352bbf8b44de80e51f40ed8f15f7
2,074
py
Python
fitters/poissonian.py
zzpwahaha/DataCrylsis
b4436435d6ead3322ce54d22e048077732e39e57
[ "MIT" ]
null
null
null
fitters/poissonian.py
zzpwahaha/DataCrylsis
b4436435d6ead3322ce54d22e048077732e39e57
[ "MIT" ]
null
null
null
fitters/poissonian.py
zzpwahaha/DataCrylsis
b4436435d6ead3322ce54d22e048077732e39e57
[ "MIT" ]
null
null
null
import numpy as np import uncertainties.unumpy as unp def center(): return None # or the arg-number of the center. def f(x, k, weight): """ The normal function call for this function. Performs checks on valid arguments, then calls the "raw" function. This function calculates p_k{x} = weight * e^(-k...
33.451613
117
0.652363
326
2,074
4.134969
0.288344
0.011869
0.097923
0.071217
0.621662
0.603858
0.603858
0.603858
0.563798
0.563798
0
0.003218
0.250723
2,074
61
118
34
0.864221
0.681774
0
0.315789
0
0
0
0
0
0
0
0
0
1
0.263158
false
0
0.105263
0.052632
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
1
0
0
0
0
0
0
0
1
f9f4f887a259b19e25425a08b285422d93df0bb3
373
py
Python
tests/assets/execute_post_action_entity_script_test/script.py
ysuarez/islandora_workbench
d363250c7cfa3722b81ef7a963ba9d0a44daba13
[ "Unlicense" ]
16
2019-06-26T17:24:43.000Z
2022-01-27T16:18:33.000Z
tests/assets/execute_post_action_entity_script_test/script.py
ysuarez/islandora_workbench
d363250c7cfa3722b81ef7a963ba9d0a44daba13
[ "Unlicense" ]
388
2019-06-26T18:14:53.000Z
2022-03-28T19:06:24.000Z
tests/assets/execute_post_action_entity_script_test/script.py
ysuarez/islandora_workbench
d363250c7cfa3722b81ef7a963ba9d0a44daba13
[ "Unlicense" ]
20
2019-08-13T19:56:23.000Z
2022-03-22T14:05:53.000Z
#!/usr/bin/env python3 import os import sys import json import tempfile temp_dir = tempfile.gettempdir() output_file_path = os.path.join(temp_dir, 'execute_post_action_entity_script.dat') http_response_body = sys.argv[3] entity = json.loads(http_response_body) with open(output_file_path, "a+") as file_object: f...
23.3125
82
0.761394
59
373
4.542373
0.644068
0.052239
0.104478
0
0
0
0
0
0
0
0
0.008982
0.104558
373
15
83
24.866667
0.793413
0.0563
0
0
0
0
0.145299
0.105413
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
e60d4953f5165a8b639a0aa26e33f0908566aaa0
479
py
Python
torchserve/download_model.py
BasCR-hub/batch9_sciencefeedback
52fe26430a5167b894e28567b771afbae36a5975
[ "MIT" ]
null
null
null
torchserve/download_model.py
BasCR-hub/batch9_sciencefeedback
52fe26430a5167b894e28567b771afbae36a5975
[ "MIT" ]
null
null
null
torchserve/download_model.py
BasCR-hub/batch9_sciencefeedback
52fe26430a5167b894e28567b771afbae36a5975
[ "MIT" ]
null
null
null
import transformers from pathlib import Path import os import json import torch from sentence_transformers import SentenceTransformer print(f'PyTorch version: {torch.__version__}') NEW_DIR = "./sentence_model" try: os.mkdir(NEW_DIR) except OSError: print ("Creation of directory %s failed" % NEW_DIR) xformer = ...
19.958333
53
0.787056
64
479
5.703125
0.53125
0.082192
0.060274
0.087671
0.09863
0
0
0
0
0
0
0
0.118998
479
23
54
20.826087
0.864929
0
0
0
0
0
0.269311
0
0
0
0
0
0
1
0
false
0
0.352941
0
0.352941
0.235294
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e61ef4d549c5d997f86f85a8d5b52cd10818cfca
1,077
py
Python
inspectCSV.py
StewSchrieff/riddlerRugs
33f13f71f0f8fde9c9cbc7c7f64ec1680f54410f
[ "MIT" ]
null
null
null
inspectCSV.py
StewSchrieff/riddlerRugs
33f13f71f0f8fde9c9cbc7c7f64ec1680f54410f
[ "MIT" ]
null
null
null
inspectCSV.py
StewSchrieff/riddlerRugs
33f13f71f0f8fde9c9cbc7c7f64ec1680f54410f
[ "MIT" ]
null
null
null
import seaborn as sns # sns.set() import matplotlib.pyplot as plt import pandas as pd import warnings from scipy import stats warnings.filterwarnings("ignore", message="numpy.dtype size changed") warnings.filterwarnings("ignore", message="numpy.ufunc size changed") df = pd.read_csv('rugs.csv', header=None, names=['ru...
27.615385
124
0.665738
174
1,077
4.04023
0.373563
0.035562
0.085349
0.073969
0.401138
0.221906
0.167852
0.167852
0.136558
0.136558
0
0.031546
0.116992
1,077
38
125
28.342105
0.707676
0.342618
0
0
0
0
0.184173
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e62034dd0cc499408fa1aaaf6173afe33a4a16b0
305
py
Python
Tests.old/test_xyvsy.py
scottwittenburg/vcs
5b9f17fb78f7ab186fc0132ab81ada043a7ba348
[ "BSD-3-Clause" ]
11
2018-10-10T03:14:33.000Z
2022-01-05T14:18:15.000Z
Tests.old/test_xyvsy.py
scottwittenburg/vcs
5b9f17fb78f7ab186fc0132ab81ada043a7ba348
[ "BSD-3-Clause" ]
196
2018-03-21T19:44:56.000Z
2021-12-21T21:56:24.000Z
Tests.old/test_xyvsy.py
scottwittenburg/vcs
5b9f17fb78f7ab186fc0132ab81ada043a7ba348
[ "BSD-3-Clause" ]
5
2019-12-09T21:54:45.000Z
2022-03-20T04:22:14.000Z
# Adapted for numpy/ma/cdms2 by convertcdms.py import cdms2 as cdms import vcs import os import support bg = support.bg fnm = os.path.join(vcs.sample_data, 'clt.nc') f = cdms.open(fnm) s = f('clt', slice(0, 1), slice(3, 4), squeeze=1) x = vcs.init() x.plot(s, 'ASD', 'xyvsy', bg=bg) support.check_plot(x)
23.461538
49
0.688525
59
305
3.525424
0.627119
0.086538
0
0
0
0
0
0
0
0
0
0.026616
0.137705
305
12
50
25.416667
0.764259
0.144262
0
0
0
0
0.065637
0
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
e6278fce74a4be59ecb207b687a68dd1f289ad4b
14,442
py
Python
teacher/explanation/tests/test_factual.py
Kaysera/fuzzy-lore
128131e0f41f480d509b63c5e75d0ce58f07bae4
[ "MIT" ]
null
null
null
teacher/explanation/tests/test_factual.py
Kaysera/fuzzy-lore
128131e0f41f480d509b63c5e75d0ce58f07bae4
[ "MIT" ]
null
null
null
teacher/explanation/tests/test_factual.py
Kaysera/fuzzy-lore
128131e0f41f480d509b63c5e75d0ce58f07bae4
[ "MIT" ]
null
null
null
from functools import reduce from teacher.tree import ID3, FDT from teacher.tree.tests.fdt_legacy_tree import FDT_Legacy from teacher.tree.tests.id3_legacy_tree import ID3_Legacy from pytest import fixture from sklearn import datasets from sklearn.model_selection import train_test_split from teacher.fuzzy import get_...
36.562025
119
0.706135
2,106
14,442
4.453941
0.097341
0.057569
0.039872
0.021748
0.682409
0.664606
0.650107
0.642857
0.641791
0.636567
0
0.011822
0.203434
14,442
394
120
36.654822
0.803547
0.01641
0
0.547368
0
0
0.009016
0
0
0
0
0
0.045614
1
0.059649
false
0
0.045614
0
0.14386
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e6287375d4deff9d72f527b6d705a64a12944a7a
2,865
py
Python
djangobmf/contrib/task/bmf_module.py
caputomarcos/django-bmf
0d07a7d3f6a3ecfaca6c9376e764add1715cfd33
[ "BSD-3-Clause" ]
null
null
null
djangobmf/contrib/task/bmf_module.py
caputomarcos/django-bmf
0d07a7d3f6a3ecfaca6c9376e764add1715cfd33
[ "BSD-3-Clause" ]
null
null
null
djangobmf/contrib/task/bmf_module.py
caputomarcos/django-bmf
0d07a7d3f6a3ecfaca6c9376e764add1715cfd33
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # ex:set fileencoding=utf-8: from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from djangobmf.dashboards import ProjectManagement from djangobmf.sites import Module from djangobmf.sites import ViewMixin from djangobmf.sites import register from .catego...
22.738095
55
0.678534
292
2,865
6.578767
0.287671
0.066632
0.053097
0.065591
0.381572
0.381572
0.325351
0.325351
0.325351
0.253514
0
0.000452
0.227574
2,865
125
56
22.92
0.867601
0.042932
0
0.527473
0
0
0.048941
0
0
0
0
0
0
1
0.065934
false
0
0.131868
0.065934
0.703297
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
e62a31a160a075340f2fb98141e913a9e1be6ccc
481
py
Python
forsta_auth/oidc/views.py
forsta-iam/forsta-auth
9bc8c7c1033d95404c46fa351c7b689cc546a4d4
[ "MIT" ]
null
null
null
forsta_auth/oidc/views.py
forsta-iam/forsta-auth
9bc8c7c1033d95404c46fa351c7b689cc546a4d4
[ "MIT" ]
16
2019-07-10T13:40:12.000Z
2022-02-10T07:32:53.000Z
forsta_auth/oidc/views.py
forsta-iam/forsta-auth
9bc8c7c1033d95404c46fa351c7b689cc546a4d4
[ "MIT" ]
null
null
null
from rest_framework import viewsets from oidc_provider import models from rest_framework.permissions import DjangoModelPermissions from . import renderers, serializers class ClientViewSet(viewsets.ModelViewSet): serializer_class = serializers.ClientSerializer queryset = models.Client.objects.all() render...
32.066667
61
0.802495
45
481
8.422222
0.577778
0.042216
0.08971
0
0
0
0
0
0
0
0
0
0.137214
481
14
62
34.357143
0.913253
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e62f02412799524e3bc88ce67c04ac5950185d57
3,288
py
Python
scripts/wordfilter.py
BigFatSpider/Aleator
ceec342982541f5eb7ca2591eec4c36fff703a14
[ "MIT" ]
null
null
null
scripts/wordfilter.py
BigFatSpider/Aleator
ceec342982541f5eb7ca2591eec4c36fff703a14
[ "MIT" ]
1
2019-01-28T07:56:27.000Z
2019-01-28T07:56:27.000Z
scripts/wordfilter.py
BigFatSpider/Aleator
ceec342982541f5eb7ca2591eec4c36fff703a14
[ "MIT" ]
null
null
null
def longest_possible_word_length(): return 189819 class iterlines(object): def __init__(self, filehandle): self._filehandle = filehandle def __iter__(self): self._filehandle.seek(0) return self def __next__(self): line = self._filehandle.readline() if line == '...
31.018868
81
0.657238
430
3,288
4.825581
0.227907
0.084819
0.034699
0.032771
0.220723
0.161928
0.073253
0.055422
0
0
0
0.006395
0.239051
3,288
105
82
31.314286
0.822942
0
0
0.057471
0
0
0.027381
0.006389
0
0
0
0
0.022989
1
0.252874
false
0
0
0.091954
0.494253
0.08046
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
e62fb932d954e65f6cec2536e759550138243db7
2,702
py
Python
appaloosa/rayleigh.py
jradavenport/appaloosa
a0c869c9c922d825dbcb55777fa603995c115d3e
[ "MIT" ]
6
2017-04-06T10:22:42.000Z
2021-09-18T18:15:39.000Z
appaloosa/rayleigh.py
jradavenport/appaloosa
a0c869c9c922d825dbcb55777fa603995c115d3e
[ "MIT" ]
13
2016-06-21T18:34:23.000Z
2018-09-20T17:35:39.000Z
appaloosa/rayleigh.py
jradavenport/appaloosa
a0c869c9c922d825dbcb55777fa603995c115d3e
[ "MIT" ]
8
2016-09-08T18:02:44.000Z
2021-12-10T05:48:36.000Z
''' Methods related to the Rayleigh test (e.g. Mardia 1972) Code originally from here: https://github.com/jradavenport/rayleigh ''' import numpy as np import matplotlib.pyplot as plt def RayleighTest(t, v): ''' Evaluate the normalized Rayleigh test for a series of event times (t) at a single given frequ...
29.053763
77
0.595115
417
2,702
3.856115
0.616307
0.014925
0.022388
0.028607
0
0
0
0
0
0
0
0.251874
0.259437
2,702
93
78
29.053763
0.551724
0.296077
0
0.05
0
0
0.020868
0
0
0
0
0
0
1
0.075
false
0
0.05
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e6452e225de5676c96043ba399061b42fe0227a3
3,854
py
Python
tools/st_tracer.py
imandr/pythreader
33e3334c5df3a6487897d6f9db57b702351b4f69
[ "BSD-3-Clause" ]
null
null
null
tools/st_tracer.py
imandr/pythreader
33e3334c5df3a6487897d6f9db57b702351b4f69
[ "BSD-3-Clause" ]
null
null
null
tools/st_tracer.py
imandr/pythreader
33e3334c5df3a6487897d6f9db57b702351b4f69
[ "BSD-3-Clause" ]
null
null
null
# # Tracer for single thread applicatuons # import time class Context: def __init__(self, tracer, path): self.Tracer = tracer self.Path = path self.N = 0 self.T = 0.0 self.T0 = time.time() def __enter__(self): self.T0 = time.time() def __exit_...
28.761194
65
0.42138
441
3,854
3.566893
0.229025
0.028608
0.031786
0.038144
0.139224
0.059123
0
0
0
0
0
0.028365
0.460301
3,854
134
66
28.761194
0.727885
0.033212
0
0.190476
0
0
0.028787
0
0
0
0
0
0.009524
0
null
null
0.028571
0.009524
null
null
0.028571
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
e64b9ca38fc1e3bf2a82d6d9781adad6a862af10
466
py
Python
Some-Examples-of-Simple-Python-Script-master/Django/redirect/views.py
Aarif1430/Python-Awesome-notes-and-exercises-list
c8ad7f90ebd973025f37d4e79c2f1229a8a2915c
[ "MIT" ]
2
2021-01-13T21:20:57.000Z
2021-08-18T17:53:53.000Z
Some-Examples-of-Simple-Python-Script-master/Django/redirect/views.py
Aarif1430/Python-Awesome-notes-and-exercises-list
c8ad7f90ebd973025f37d4e79c2f1229a8a2915c
[ "MIT" ]
null
null
null
Some-Examples-of-Simple-Python-Script-master/Django/redirect/views.py
Aarif1430/Python-Awesome-notes-and-exercises-list
c8ad7f90ebd973025f37d4e79c2f1229a8a2915c
[ "MIT" ]
1
2020-11-05T09:56:55.000Z
2020-11-05T09:56:55.000Z
from django.http import HttpResponse from django.views.generic.base import RedirectView from django.core.urlresolvers import reverse def pool_fix(request, pk): return HttpResponse("You're looking at question %s." % pk) #Ref: http://stackoverflow.com/a/16627830/3445802 class UserRedirectView(RedirectView): per...
33.285714
62
0.72103
62
466
5.354839
0.677419
0.090361
0
0
0
0
0
0
0
0
0
0.037879
0.150215
466
13
63
35.846154
0.800505
0.103004
0
0
0
0
0.098321
0
0
0
0
0
0
1
0.2
false
0
0.3
0.1
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e65412f86148723326a8a9f1595d7d17ea6d45a6
515
py
Python
aque/exceptions.py
mikeboers/aque
4215fd01ab2a0fd88aeac7f2d69b4c888caa7aa1
[ "BSD-3-Clause" ]
1
2019-05-01T15:26:54.000Z
2019-05-01T15:26:54.000Z
aque/exceptions.py
mikeboers/aque
4215fd01ab2a0fd88aeac7f2d69b4c888caa7aa1
[ "BSD-3-Clause" ]
null
null
null
aque/exceptions.py
mikeboers/aque
4215fd01ab2a0fd88aeac7f2d69b4c888caa7aa1
[ "BSD-3-Clause" ]
null
null
null
class DependencyResolutionError(RuntimeError): """Raised when task dependencies cannot be resolved. This may be raised by :meth:`.Queue.submit` (if it is possible to detect at that time), or by :meth:`.Task.result` later. """ class PatternMissingError(RuntimeError): """Raised by :meth:`.Task...
32.1875
79
0.699029
65
515
5.538462
0.646154
0.066667
0.083333
0.133333
0.111111
0
0
0
0
0
0
0
0.174757
515
15
80
34.333333
0.847059
0.636893
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
e662e302eef3d6847945463ce1a521bf14369ad0
350
py
Python
main.py
sohunpatel/Python-Google-Tasks
31c8cbe5985450289063aa98db2bbae1ee60f0d1
[ "MIT" ]
null
null
null
main.py
sohunpatel/Python-Google-Tasks
31c8cbe5985450289063aa98db2bbae1ee60f0d1
[ "MIT" ]
null
null
null
main.py
sohunpatel/Python-Google-Tasks
31c8cbe5985450289063aa98db2bbae1ee60f0d1
[ "MIT" ]
null
null
null
from __future__ import print_function import TasksWindow import gi gi.require_version("Gtk", "3.0") from gi.repository import Gtk SCOPES = ['https://www.googleapis.com/auth/tasks'] def main(): win = TasksWindow.TasksWindow() win.connect("destroy", Gtk.main_quit) win.show_all() Gtk.main() if __nam...
16.666667
50
0.694286
47
350
4.829787
0.638298
0.061674
0
0
0
0
0
0
0
0
0
0.006849
0.165714
350
20
51
17.5
0.770548
0
0
0
0
0
0.165714
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.384615
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c6fe1da0c9b7070fad10cd8efe0fdfd53146b5e7
418
py
Python
MovaCLI.py
fgtorres/MOVA
6f2b713c1540937e804b61ec181427836621aa35
[ "MIT" ]
null
null
null
MovaCLI.py
fgtorres/MOVA
6f2b713c1540937e804b61ec181427836621aa35
[ "MIT" ]
null
null
null
MovaCLI.py
fgtorres/MOVA
6f2b713c1540937e804b61ec181427836621aa35
[ "MIT" ]
null
null
null
from code.sources import TMDBSource, WatchModeSource, OMDBSource #Get a query of content query = input("Enter the content name: ") contentOMDB = OMDBSource.search(query) print("Title: ", contentOMDB.title) print("Score OMDB:", contentOMDB.score) data = WatchModeSource.search(contentOMDB.id) print("Score WatchMode:...
24.588235
64
0.767943
51
418
6.294118
0.529412
0.093458
0.11838
0.149533
0.180685
0
0
0
0
0
0
0
0.107656
418
17
65
24.588235
0.86059
0.052632
0
0
0
0
0.174242
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
05002f0cd63bcf558913e32064c1c839fbcf9df5
55,635
py
Python
atoms.py
ianbakst/atomisticdomains
c0c3b9bc5aa5e425e043ec25da91357cc4d9b308
[ "MIT" ]
null
null
null
atoms.py
ianbakst/atomisticdomains
c0c3b9bc5aa5e425e043ec25da91357cc4d9b308
[ "MIT" ]
null
null
null
atoms.py
ianbakst/atomisticdomains
c0c3b9bc5aa5e425e043ec25da91357cc4d9b308
[ "MIT" ]
null
null
null
#!/usr/bin/python """ Notes on the CW Group python library: When specifying dimensions (to make periodic or center points around, etc.) the convention is: 1 = x, 2 = y, 4 = z. Combinations of those dimensions are the sums of their component dimensions (e.g. x and y = 3). Unless otherwise specified, elastic consta...
23.887935
209
0.607226
12,621
55,635
2.633389
0.056572
0.014502
0.009478
0.007221
0.575942
0.513931
0.450114
0.415092
0.383169
0.359821
0
0.077677
0.15794
55,635
2,328
210
23.898196
0.631767
0.019053
0
0.537262
0
0.001155
0.076982
0
0
0
0
0
0
0
null
null
0.017331
0.002311
null
null
0.034662
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
0503c34fbbc0e62586119fc00abba308ed4070df
5,551
py
Python
shop/migrations/0009_auto_20191225_1637.py
majestylink/majestyAccencis
41bdde6f9982980609f93a8b44bcaf06cc5f6ea6
[ "MIT" ]
null
null
null
shop/migrations/0009_auto_20191225_1637.py
majestylink/majestyAccencis
41bdde6f9982980609f93a8b44bcaf06cc5f6ea6
[ "MIT" ]
null
null
null
shop/migrations/0009_auto_20191225_1637.py
majestylink/majestyAccencis
41bdde6f9982980609f93a8b44bcaf06cc5f6ea6
[ "MIT" ]
null
null
null
# Generated by Django 2.2.7 on 2019-12-25 15:37 import core.helpers from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0003_auto_20191224_2048'), ('shop', '0008_auto_20191224_2121'), ] operations = ...
50.463636
194
0.604756
586
5,551
5.59215
0.242321
0.071407
0.071407
0.093378
0.597498
0.597498
0.508392
0.440647
0.241684
0.177601
0
0.018375
0.254909
5,551
109
195
50.926606
0.773694
0.008107
0
0.349515
1
0
0.165516
0.008358
0
0
0
0
0
1
0
false
0
0.029126
0
0.058252
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